TTE network-based multi-node simulation test method and test equipment

By using multi-node simulation test method in the TTE network to generate and send simulated data tables, the problem of difficult to judge the synchronization function of traditional TTE end node devices is solved, and the efficient completion of multi-node synchronization simulation and data verification is achieved.

CN119603165APending Publication Date: 2025-03-11BEIJING DONGFANG MEASUREMENT & TEST INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411712522.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-27
Publication Date
2025-03-11

AI Technical Summary

Technical Problem

In a multi-node networking environment, the synchronization function of traditional TTE end node devices is difficult to judge, and the synchronization efficiency is low, and it cannot meet the multi-node synchronization simulation needs.

Method used

Using a multi-node simulation test method based on TTE network, an analog data table is generated through simulation nodes and sent to the device controller. A message queue is generated based on the business planning table and time schedule table, and a simulated transmission of periodic and playback data is realized, and the received data is captured and parsed synchronously through the device controller.

Benefits of technology

It realizes the effective completion of multi-node simulation tests, improves synchronization efficiency, can meet the needs of multi-node synchronization simulation, and verifies the system's data continuity and protocol correctness through periodic and playback data simulation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119603165A_ABST
    Figure CN119603165A_ABST
Patent Text Reader

Abstract

The invention relates to a TTE network-based multi-node simulation test method. The method comprises the following steps of S1, generating a simulation data table by each simulation node according to a simulation demand; s2, a plurality of simulation nodes send the simulation data table to an equipment controller through a bus; s3, the equipment controller obtains service key parameters according to the simulation data table and the service planning table, a time scheduling scheme of each simulation node is planned, and a time scheduling table is obtained; s4, the device controller generates a message queue according to the time scheduling table; the simulation node sends simulation data of the service to the outside according to the sending window and the message queue; and step S5, the device controller synchronously captures receiving data received by the plurality of simulation nodes from the outside through the bus. According to the invention, periodic data simulation and playback data simulation can be realized, and effective and comprehensive completion of a test task is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of avionics technology, and in particular to a multi-node simulation test method and test equipment based on a TTE network. Background Art

[0002] Time-triggered Ethernet (TTE) is a new type of real-time network that has both the high precision and high fault tolerance of time triggering and the flexibility and high bandwidth of traditional Ethernet, effectively separating real-time communication from non-real-time communication.

[0003] Traditional TTE end node equipment is a single-machine single-channel device. When it is used in multi-node networking, it is necessary to perform network synchronization testing. The synchronization function of the end node is tested in the system, and the synchronization function is judged based on the phenomenon. There are problems such as high difficulty in synchronization judgment and low synchronization efficiency. Therefore, it is difficult to meet the needs of multi-node synchronization simulation. Summary of the invention

[0004] In order to solve the technical problems existing in the above-mentioned prior art, the purpose of the present invention is to provide a multi-node simulation test method and test equipment based on TTE network, which can realize periodic data simulation and playback data simulation, and realize the effective and comprehensive completion of test tasks.

[0005] To achieve the above-mentioned object of the invention, the present invention provides a multi-node simulation test method based on a TTE network, comprising the following steps:

[0006] Step S1, each simulation node generates a simulation data table according to simulation requirements, wherein the simulation data table includes a periodic data table and a playback data table;

[0007] Step S2, the plurality of simulation nodes send the simulation data table to the device controller via a bus;

[0008] Step S3, the device controller obtains business key parameters according to the simulation data table and the business planning table, plans a time scheduling scheme for each simulation node, and obtains a time scheduling table; the business key parameters include the business node and source node of the business, the data transmission cycle and data transmission time of the business;

[0009] Step S4, the device controller generates a message queue according to the time schedule; the simulation node reaches the sending window planned by the time schedule according to its local clock, and sends the simulation data of the service to the outside according to the message queue, wherein the simulation data is periodic data or playback data;

[0010] Step S5: The device controller synchronously captures the received data received from the outside by the plurality of simulation nodes through the bus, and completes the parsing, time stamping and local storage of the received data.

[0011] According to a technical solution of the present invention, the periodic data table and the playback data table both include serial numbers, project information and their corresponding functions; the project information in the periodic data table includes VLID, serial number within VLID, data content and node identification number;

[0012] The item information in the playback data table includes VLID, time interval, data content and node identification number;

[0013] The VLID is a unique identifier of the service;

[0014] The sequence number in the VLID is used to identify the message sending order of the service whose simulated data is periodic data; the simulation node sends the data packets in sequence according to the sequence of the sequence numbers in the VLID and the data transmission period of the service;

[0015] The data content is a data source packet in TTE frame format; for services where the analog data is periodic data, the fields of the data content are filled in an incrementing manner with the data transmission cycle;

[0016] The time interval refers to the time interval between the service frame of the current service and the service frame of the previous service for the service whose simulation data is playback data;

[0017] The node identification number is used to distinguish the simulation node.

[0018] According to a technical solution of the present invention, in step S4, it specifically includes:

[0019] Step S41, the simulation data is periodic data. When the local clock of the simulation node reaches the sending window planned by the time schedule table, a data sending control signal is triggered, and the device controller generates periodic data according to the periodic data table rules and sends the periodic data through the simulation node;

[0020] Step S42, the simulation data is playback data. When the local clock of the simulation node reaches the sending window planned by the time schedule, a data sending control signal is triggered, and the device controller reads the playback data one by one and sends the playback data through the simulation node.

[0021] According to a technical solution of the present invention, in the step S41, it specifically includes:

[0022] Step S411, the device controller reads the periodic data table;

[0023] Step S412, the device controller generates a periodic data sequence according to the item information in the periodic data table;

[0024] Step S413: the device controller sends the periodic data sequence to a service sending queue;

[0025] Step S414, the device controller determines whether the data transmission within the period is completed according to the data transmission period of the service, and if so, ends the transmission; otherwise, executes step S215;

[0026] Step S415, the device controller sends the simulation data of multiple services to the simulation node through the bus according to the data transmission cycle of the service;

[0027] Step S416: The simulation node sends periodic data to the outside and executes step S414.

[0028] According to a technical solution of the present invention, in the step S42, it specifically includes:

[0029] Step S421, the device controller reads the playback data table;

[0030] Step S422, the device controller calculates the sending interval according to the item information in the playback data table;

[0031] Step S423: the device controller generates a playback data sequence;

[0032] Step S424: the device controller sends the playback data sequence to a service sending queue;

[0033] Step S425, the device controller determines whether the playback data transmission is completed according to the data transmission time of the service, and if so, ends the transmission, otherwise executes step S426;

[0034] Step S426: The simulation node sends the playback data to the outside and executes the step S425.

[0035] According to one aspect of the present invention, a multi-node simulation test device based on a TTE network is provided, which is used to implement the above method, including a bus, and further comprising:

[0036] A TTE simulation node module, including a plurality of simulation nodes, electrically connected to the bus, and used to complete the sending and receiving of simulation data;

[0037] The device controller comprises:

[0038] A table entry loading module, used to complete the reception, storage and reading analysis of the periodic data table and the data playback table;

[0039] A message generation module, used for performing protocol encapsulation on the data sent uplink according to the periodic data table, the data playback table and the TTE data packet protocol;

[0040] The queue management module is used to organize different services into different service sending queues according to different service types;

[0041] A sending control module, used to control the data sending of the service sending queue;

[0042] The receiving and parsing module is used to capture and process the receiving message received by the simulation node.

[0043] According to a technical solution of the present invention, the types of services include TT services, RC services, and BE services.

[0044] According to a technical solution of the present invention, the device controller has a built-in Linux operating system.

[0045] According to a technical solution of the present invention, the TTE simulation node module is a plurality of TTE simulation boards, and each of the TTE simulation boards simulates one TTE simulation node.

[0046] Compared with the prior art, the present invention has the following beneficial effects:

[0047] The method and device provided by the present invention can realize multi-node simulation in two ways: periodic data simulation and playback data simulation. By designing a simulation test method and developing TTE simulation test equipment, the synchronous simulation function of multiple TTE end nodes can be realized, including the reception and transmission of TT / RC / BE services. The periodic data feature is that the test data changes periodically according to a regular pattern, which can well complete the data continuity test and verify whether the system has a data loss problem; the simulated playback data will record the real satellite operation data for sorting and playback, which can well verify the protocol and interface correctness of the satellite's real data. By simulating data and performing simulation tests in the above two ways, the test task can be completed effectively and comprehensively.

[0048] The present invention designs multiple simulation node simulation test processes, cooperates with spacecraft to realize multi-node simulation test functions, realizes centralized control of multiple TTE simulation nodes through bus architecture, selects real-time operating system, ensures real-time data processing and transmission control, and ensures that playback data transmission is completed according to the real data timing. Data analysis function and parsing storage function can be realized through device controller, and information interaction is realized by communicating device controller and front-end simulation device through bus network. Data classification, transmission time scheduling, start-stop control, etc. are realized in front-end simulation device, which not only meets the needs of multi-node synchronous simulation, but also realizes the decoupling between data analysis and underlying devices, and has strong scalability and versatility, laying a foundation for subsequent project development. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0050] Figure 1 A flowchart schematically shows a multi-node simulation test method based on a TTE network according to an embodiment of the present invention;

[0051] Figure 2 A schematic diagram schematically shows a logic diagram of periodic data transmission according to an embodiment of the present invention;

[0052] Figure 3 Schematically showing a flow chart of periodic data transmission according to one embodiment of the present invention;

[0053] Figure 4 A schematic diagram schematically shows a logic diagram of playback data transmission according to one embodiment of the present invention;

[0054] Figure 5 Schematically showing a flow chart of sending return data according to one embodiment of the present invention;

[0055] Figure 6 The structure diagram of a multi-node simulation test device based on a TTE network according to an embodiment of the present invention is schematically shown. DETAILED DESCRIPTION

[0056] The description of the embodiments of this specification should be combined with the corresponding drawings, which should be considered as part of the complete specification. In the drawings, the shape or thickness of the embodiments may be enlarged and indicated for simplification or convenience. Furthermore, the parts of each structure in the drawings will be described separately. It is worth noting that the elements not shown in the drawings or not described in words are in a form known to ordinary technicians in the relevant technical field.

[0057] The description of the embodiments herein and any reference to directions and orientations are only for the convenience of description and are not to be construed as any limitation on the scope of protection of the present invention. The following description of the preferred embodiments may involve combinations of features, which may exist independently or in combination, and the present invention is not particularly limited to the preferred embodiments. The scope of the present invention is defined by the claims.

[0058] like Figures 1 to 6 As shown, the present invention provides a multi-node simulation test device and method based on a TTE network, the method comprising the following steps:

[0059] Step S1, each simulation node generates a simulation data table according to simulation requirements, and the simulation data table includes a periodic data table and a playback data table;

[0060] Step S2, multiple simulation nodes send the simulation data table to the device controller through the bus;

[0061] Step S3, the device controller obtains the key business parameters according to the simulation data table and the business planning table, plans the time scheduling scheme for each simulation node, and obtains the time scheduling table; the key business parameters include the business node and source node of the business, the data transmission cycle and data transmission time of the business;

[0062] Step S4, the device controller generates a message queue according to the time schedule; the simulation node sends the simulated data of the service to the outside according to the message queue according to the sending window planned by the time schedule table according to its local clock arrival time; the simulated data is periodic data or playback data;

[0063] In step S4, it specifically includes:

[0064] Step S41, the simulation data is periodic data. When the local clock of the simulation node reaches the sending window planned by the time schedule table, the data sending control signal is triggered, and the device controller generates periodic data according to the periodic data table rules and sends the periodic data through the simulation node;

[0065] Step S42, the simulated data is playback data. When the local clock of the simulation node reaches the sending window planned by the time schedule, the data sending control signal is triggered, the device controller reads the playback data one by one, and sends the playback data through the simulation node.

[0066] Step S5: The device controller synchronously captures the received data received from the outside by multiple simulation nodes through the bus, and completes the parsing, time stamping and local storage of the received data.

[0067] Since all scheduling actions in the TTE network are planned in advance and carried out in an orderly manner, strict time management is used to ensure that business processes do not affect each other. The simulation test equipment must ensure that the simulation process matches the time period of TTE business planning and ensure that the simulation data is sent in the correct time period.

[0068] The characteristic of periodic data is that the test data changes periodically according to a regular pattern, which can complete the data continuity test well and verify whether the system has a data loss problem; the simulated playback data will record the real satellite operation data for sorting and playback, which can well verify the correctness of the protocol and interface of the real satellite data. Through the above two methods of simulating data for simulation testing, the test task can be completed effectively and comprehensively.

[0069] The periodic data transmission is in accordance with the requirements of the simulation test. Eight simulation nodes simultaneously transmit periodic simulation data. The present invention designs a periodic data table, through which the periodic data transmission rules are described. The test equipment implements the periodic data simulation test function according to the periodic data table. At the same time, the system has standard table items including a service planning table and an IP configuration table. The service planning table describes the collection of all services in the network and specifies the specific service planning, cycle, bandwidth, VLID allocation and other information in the network; the IP configuration table is used to describe the hardware management information of the TTE simulation board, and bind the underlying hardware identification number with the board IP, MAC address and other information.

[0070] The information of the periodic data table is shown in Table 1.

[0071] Table 1 Periodic data table

[0072] Serial number name Function 1 VLID Current business VLID 2 Data content Data source packet in TTE frame format 3 VLID internal number Periodic changes of the same VLID 4 Node ID Distinguish boards by node identification number

[0073] VLID (Virtual LAN ID) is a unique identifier for the service. The sequence number in the VLID is used to identify the message sending order of the service whose simulated data is periodic data. For example: for the service with VLID 0x1021, the period of the current service in the service planning table is 200ms, and there are 5 messages in the current sequence, and board 1 is designated to send it. When the periodic data table docking is enabled, the current service sends the first message in the first cycle, followed by the second message in the second 200ms cycle, and so on. When the sixth cycle, the first message is sent, and the cycle continues. The data content field is filled in a periodic increment manner, so the data sent to the network is a continuous data packet. If the receiver correctly receives the continuous data packets, it proves that there is no data loss problem in the system data sending and receiving. When the device is initialized, it reads the service rules in the periodic data table, searches the data transmission cycle in the service planning table according to the VLID, and establishes timers for different VLID services according to the data transmission cycle for cyclic transmission. After the service data is sent to the board, it is sent to the outside through the TTE network. See the logic block diagram of periodic data transmission. Figure 2 , see the periodic data transmission process Figure 3 .

[0074] In an embodiment of the present invention, in step S41, periodic data sending specifically includes:

[0075] Step S411, the device controller reads the periodic data table;

[0076] Step S412: The device controller generates a periodic data sequence according to the item information in the periodic data table;

[0077] Step S413: the device controller sends the periodic data sequence to the service sending queue;

[0078] Step S414: The device controller determines whether the data transmission within the period is completed according to the data transmission period of the service. If so, the transmission is terminated; otherwise, step S215 is executed;

[0079] Step S415: the device controller sends the simulated data of the multiple services to the simulation node through the bus according to the data transmission cycle of the services;

[0080] Step S416: The simulation node sends periodic data to the outside, and executes step S414.

[0081] Replay data transmission is to replay the data flow in the TTE network at a specific time, and send real playback data in 8 simulation nodes at the same time. The playback data table is composed of the real received data in a certain format. The main contents of the playback data table are shown in Table 2 below:

[0082] Table 2 Playback data table

[0083] Serial number name Function 1 VLID Current business VLID 2 Data content Data source packet in TTE frame format 3 Time interval The time interval between the previous transaction 4 Node ID Distinguish boards by node identification number

[0084] In order to ensure that the timing of the simulation data is consistent with the actual business timing, a time interval is designed in the playback data table to represent the sending interval between the current business frame and the previous business frame. The front-end service program reads the time interval to control the sending logic to send the business one by one. For example, the time interval Δt of the nth data represents the sending time interval between the nth business and the n-1th business. After reading the nth data, the sending control logic controls the timer to wait for Δt time and then calls the sending function to send data to the TTE simulation board. Playback data sending logic block diagram Figure 3 , playback data sending process see Figure 4 .

[0085] In an embodiment of the present invention, in step S42, sending the playback data specifically includes:

[0086] Step S421, the device controller reads the playback data table;

[0087] Step S422, the device controller calculates the sending interval according to the item information in the playback data table;

[0088] Step S423, the device controller generates a playback data sequence;

[0089] Step S424: the device controller sends the playback data sequence to the service sending queue;

[0090] Step S425: The device controller determines whether the playback data transmission is completed according to the data transmission time of the service. If so, the transmission is terminated. Otherwise, step S426 is executed.

[0091] Step S426: The simulation node sends the playback data to the outside, and executes step S425.

[0092] like Figure 6 As shown, the present invention provides a multi-node simulation test device based on a TTE network, a Linux operating system and a CPCI plug-in card architecture, including a bus, a TTE simulation node module and a device controller.

[0093] The TTE simulation node module is a number of TTE simulation boards, each of which simulates a TTE simulation node. The several simulation nodes are electrically connected to the bus to complete the sending and receiving of simulation data.

[0094] The device controller includes:

[0095] Table entry loading module, used to complete the reception, storage and reading analysis of periodic data table and data playback table;

[0096] A message generation module, used for performing protocol encapsulation on the data sent uplink according to the periodic data table, the data playback table and the TTE data packet protocol;

[0097] The queue management module is used to organize different services into different service sending queues according to different service types; the service types include TT service, RC service, and BE service;

[0098] A sending control module is used to control the data sending of the service sending queue;

[0099] The receiving and parsing module is used to capture and process the receiving messages received by the simulation node. The setting of the receiving and parsing module can effectively ensure the efficiency, integrity and timing of data reception. The module has a built-in receiving queue, which puts all the received TTE network data into the queue and then reads them out in sequence.

[0100] The hardware consists of TTE simulation boards (8 pieces), CPCI chassis (backplane), and CPCI controller. In TTE network communication, the sending and receiving of different services need to be completed according to the integration cycle (generally at the ms level) of the business plan, so it is necessary to select an operating system with higher real-time performance to complete the drive control. The Windows operating system cannot be used because its kernel is not preemptible and cannot provide a definite time response. The present invention selects the Linux operating system and installs it in the CPCI controller. The Linux operating system supports scheduling tasks according to priority. The kernel scheduling strategy can realize that the Linux system becomes a hard real-time operating system to ensure the real-time requirements of the TTE business.

[0101] Finally, it should be noted that the above is a preferred embodiment of the present invention. It should be pointed out that although the preferred embodiment of the present invention has been described, for those skilled in the art, once the basic creative concept of the present invention is known, several improvements and modifications can be made without departing from the principles of the present invention, and these improvements and modifications should also be regarded as the protection scope of the present invention. Therefore, the attached claims are intended to be interpreted as including the preferred embodiment and all changes and modifications that fall within the scope of the embodiments of the present invention.

Claims

1. A multi-node simulation test method based on TTE network, characterized in that: The following steps are involved: Step S1, each simulation node generates a simulation data table according to simulation requirements, wherein the simulation data table includes a periodic data table and a playback data table; Step S2, the plurality of simulation nodes send the simulation data table to the device controller via a bus; Step S3, the device controller obtains business key parameters according to the simulation data table and the business planning table, plans a time scheduling scheme for each simulation node, and obtains a time scheduling table; the business key parameters include the business node and source node of the business, the data transmission cycle and data transmission time of the business; Step S4, the device controller generates a message queue according to the time schedule; the simulation node reaches the sending window planned by the time schedule according to its local clock, and sends the simulation data of the service to the outside according to the message queue, wherein the simulation data is periodic data or playback data; Step S5: The device controller synchronously captures the received data received from the outside by the plurality of simulation nodes through the bus, and completes the parsing, time stamping and local storage of the received data.

2. The multi-node simulation test method based on TTE network according to claim 1 is characterized in that: The periodic data table and the playback data table both include serial numbers, item information and their corresponding functions; the item information in the periodic data table includes VLID, serial number within VLID, data content and node identification number; The item information in the playback data table includes VLID, time interval, data content and node identification number; The VLID is a unique identifier of the service; The sequence number in the VLID is used to identify the message sending order of the service whose simulated data is periodic data; the simulation node sends the data packets in sequence according to the sequence of the sequence numbers in the VLID and the data transmission period of the service; The data content is a data source packet in TTE frame format; for services where the analog data is periodic data, the fields of the data content are filled in an incrementing manner with the data transmission cycle; The time interval refers to the time interval between the service frame of the current service and the service frame of the previous service for the service whose simulation data is playback data; The node identification number is used to distinguish the simulation node.

3. The multi-node simulation test method based on TTE network according to claim 2 is characterized in that: In the step S4, it specifically includes: Step S41, the simulation data is periodic data, when the local clock of the simulation node reaches the sending window planned by the time schedule table, a data sending control signal is triggered, the device controller generates periodic data according to the periodic data table rules, and sends the periodic data through the simulation node; Step S42, the simulation data is playback data. When the local clock of the simulation node reaches the sending window planned by the time schedule, a data sending control signal is triggered, and the device controller reads the playback data one by one and sends the playback data through the simulation node.

4. The multi-node simulation test method based on TTE network according to claim 2 is characterized in that: In the step S41, it specifically includes: Step S411, the device controller reads the periodic data table; Step S412, the device controller generates a periodic data sequence according to the item information in the periodic data table; Step S413: the device controller sends the periodic data sequence to a service sending queue; Step S414, the device controller determines whether the data transmission within the period is completed according to the data transmission period of the service, and if so, ends the transmission; otherwise, executes step S215; Step S415, the device controller sends the simulation data of multiple services to the simulation node through the bus according to the data transmission cycle of the service; Step S416: The simulation node sends periodic data to the outside and executes step S414.

5. The multi-node simulation test method based on TTE network according to claim 1, characterized in that: In the step S42, it specifically includes: Step S421, the device controller reads the playback data table; Step S422, the device controller calculates the sending interval according to the item information in the playback data table; Step S423: the device controller generates a playback data sequence; Step S424: the device controller sends the playback data sequence to a service sending queue; Step S425, the device controller determines whether the playback data transmission is completed according to the data transmission time of the service, and if so, ends the transmission, otherwise executes step S426; Step S426: The simulation node sends the playback data to the outside and executes the step S425.

6. A multi-node simulation test device based on TTE network, characterized in that: Used to implement the method according to any one of claims 1 to 5, comprising a bus, and further comprising: A TTE simulation node module, including a plurality of simulation nodes, electrically connected to the bus, and used to complete the sending and receiving of simulation data; The device controller comprises: A table entry loading module, used to complete the reception, storage and reading analysis of the periodic data table and the data playback table; A message generation module, used for performing protocol encapsulation on the data sent uplink according to the periodic data table, the data playback table and the TTE data packet protocol; The queue management module is used to organize different services into different service sending queues according to different service types; A sending control module, used to control the data sending of the service sending queue; The receiving and parsing module is used to capture and process the receiving message received by the simulation node.

7. The testing device according to claim 6, characterized in that The types of services include TT services, RC services, and BE services.

8. The testing device according to claim 6, characterized in that The device controller has a built-in Linux operating system.

9. The testing device according to claim 6, characterized in that The TTE simulation node module is a plurality of TTE simulation boards, and each of the TTE simulation boards simulates a TTE simulation node.