Simulation recorder interactive communication test method in Ethernet environment

By using a simulation logger in an Ethernet environment and conducting interactive communication tests using TCP and UDP protocols, the problem of difficulty in verifying device functions due to the lack of a logger was solved, and efficient device function testing was achieved.

CN120956644APending Publication Date: 2025-11-14SHAANXI QIANSHAN AVIONICS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510923052.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-04
Publication Date
2025-11-14

AI Technical Summary

Technical Problem

Without a logger in an Ethernet environment, the functionality of ground maintenance equipment cannot be fully verified.

Method used

Employing a simulation recorder, it possesses maintenance and real-time monitoring functions that simulate a real recorder. It interacts with data via TCP and UDP protocols to verify the functionality of ground maintenance equipment.

Benefits of technology

The functionality of various device models can be verified without the need for a physical recorder, saving labor costs and time, improving testing efficiency, and the testing method is simple and efficient.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120956644A_ABST
    Figure CN120956644A_ABST
Patent Text Reader

Abstract

The invention provides a simulation recorder interactive communication test method in an Ethernet environment, and belongs to the technical field of computer networks, and the method specifically comprises the following steps: building a simulation recorder which is provided with a maintenance function module and a real-time monitoring module for simulating a maintenance function of a real recorder and a real-time monitoring function; the model configuration of the simulation recorder is completed according to a configuration file provided by a machine; when the model of the simulation recorder is matched with the model of the ground maintenance equipment, the ground maintenance equipment detects that the recorder is connected and outputs the corresponding model of the recorder; establishing a link between the simulation recorder and the ground maintenance equipment through a specified port of the Ethernet; function testing: the simulation recorder performs data downloading, data resume reading and maintenance self-checking functions, and performs real-time monitoring function testing, and through the processing scheme of the application, the testing efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer network technology, and in particular to a method for testing interactive communication of a simulator in an Ethernet environment. Background Technology

[0002] As networks expand and application scenarios become more complex, communication between devices becomes increasingly intricate. To ensure accurate and efficient communication between devices in an Ethernet environment, comprehensive testing is necessary. Communication testing verifies whether communication protocols are executed correctly, data transmission is accurate, and adaptability to network topology changes. However, current testing methods, lacking data loggers, cannot fully verify the functionality of ground maintenance equipment. Summary of the Invention

[0003] In view of this, this application provides a method for testing interactive communication between a simulated recorder in an Ethernet environment, which solves the problems in the prior art and can fully verify the function of ground maintenance equipment even in the absence of a recorder.

[0004] This application provides a test method for interactive communication of a simulator recorder in an Ethernet environment, which adopts the following technical solution: A method for testing interactive communication of a simulated recorder in an Ethernet environment includes the following steps: A simulation recorder is established, which has a maintenance module and a real-time monitoring module that simulate the maintenance function and real-time monitoring function of a real recorder. Complete the model configuration of the simulation recorder according to the configuration file provided by the airborne system; When the model of the simulator recorder matches the model of the ground maintenance equipment, the ground maintenance equipment will detect the recorder connection and output the corresponding model of the recorder; Establish a link between the simulator and ground maintenance equipment via a designated Ethernet port; Functional testing included data downloading, data history reading, and maintenance self-checking functions of the simulator, as well as real-time monitoring function testing.

[0005] Optionally, during the functional testing process, the TCP protocol can be used for real-time command word interaction to verify the recorder's maintenance function.

[0006] Optionally, the functional testing steps include: verifying the 1394B bus heartbeat word detection of the real-time monitoring module. First, a command word request is made through the TCP protocol, and after receiving the command feedback from the maintenance software on the ground maintenance equipment, the TCP connection is requested to be disconnected. After the TCP connection is disconnected, data is transmitted in the background using the UDP protocol. At this time, the changes in the 1394B bus heartbeat word are observed through the real-time monitoring module of the maintenance software on the ground maintenance equipment. When the 1394B bus heartbeat word beats normally, the real-time monitoring function verification is complete, and real-time monitoring is exited. When the real-time monitoring module exits, the UDP protocol terminates, the TCP protocol is re-established, and the simulation recorder software is re-initialized.

[0007] Optionally, the steps for establishing a link between the simulator and ground maintenance equipment include: The simulation recorder establishes a corresponding listening thread to listen for communication request commands issued by the ground maintenance equipment; The emulation logger acts as a server, with a pre-defined IP address and port number written in the configuration file. When the listening thread starts, the background socket will bind to the corresponding port and listen for external client access requests.

[0008] Optionally, the onboard configuration file is a hexadecimal file.

[0009] Optionally, the onboard configuration file includes the aircraft model and serial number, configuration version, and fault word commands.

[0010] In summary, this application includes the following beneficial technical effects: During the design and development phase of recorder products, this test method, which simulates the interactive communication of recorders in an Ethernet environment, can be used to verify the functions of various recorder models without the need for physical devices, saving a lot of manpower and testing time, improving testing efficiency. Furthermore, by simulating different configurations and command word formats of recorders, the functions of various recorder models can be verified in an Ethernet environment. The test method is simple and efficient, and the test platform is easy and quick to set up. Attached Figure Description

[0011] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0012] Figure 1 This is a structural block diagram of the simulator and ground maintenance equipment used in this application; Figure 2 This is a flowchart of the testing process for this application. Detailed Implementation

[0013] The embodiments of this application will now be described in detail with reference to the accompanying drawings.

[0014] The following specific examples illustrate the implementation of this application. Those skilled in the art can easily understand other advantages and effects of this application from the content disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. This application can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of this application. It should be noted that, in the absence of conflict, the following embodiments and features in the embodiments can be combined with each other. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0015] It should be noted that various aspects of embodiments within the scope of the appended claims are described below. It will be apparent that the aspects described herein can be embodied in a wide variety of forms, and any particular structure and / or function described herein is merely illustrative. Based on this application, those skilled in the art will understand that one aspect described herein can be implemented independently of any other aspect, and two or more of these aspects can be combined in various ways. For example, any number of aspects set forth herein can be used to implement the device and / or practice the method. Additionally, this device and / or method can be implemented using structures and / or functionalities other than one or more of the aspects set forth herein.

[0016] It should also be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of this application. The illustrations only show the components related to this application and are not drawn according to the number, shape and size of the components in actual implementation. In actual implementation, the form, quantity and proportion of each component can be arbitrarily changed, and the layout of the components may also be more complex.

[0017] Furthermore, specific details are provided in the following description to facilitate a thorough understanding of the examples. However, those skilled in the art will understand that the described aspects can be practiced without these specific details.

[0018] This application provides a method for testing interactive communication between a simulator and a recorder in an Ethernet environment.

[0019] like Figure 1 and Figure 2 As shown, a method for testing interactive communication of a simulated recorder in an Ethernet environment includes the following steps: A simulation recorder is established, which has maintenance function modules and real-time monitoring modules that simulate the maintenance functions and real-time monitoring functions of a real recorder. The communication of the simulation recorder uses TCP+UDP to verify the maintenance functions and real-time monitoring functions.

[0020] Configure the simulator's model according to the onboard configuration file. The onboard configuration file is a hexadecimal file; it includes the model number, configuration version, and fault word commands. Follow the simulator's internal communication protocol to determine the port number, IP address, and command word format for communication.

[0021] When the model of the simulator recorder matches the model of the ground maintenance equipment, the ground maintenance equipment will detect the recorder connection and output the corresponding model of the recorder.

[0022] Establish a link between the emulator and ground maintenance equipment via a designated Ethernet port.

[0023] Functional testing employed TCP protocol for data download, data history reading, and maintenance self-check functions, while UDP protocol was used for real-time monitoring function testing.

[0024] The simulator acts as the server, and the ground maintenance equipment acts as the client. Data to be sent to the client is pre-prepared and stored in a designated file directory. Upon receiving a data transmission request from the client, the data is transmitted via Ethernet. During testing, it is first determined whether the communication protocol between the client and server is TCP or UDP, which determines whether the client sends commands via broadcast or point-to-point. The corresponding airborne and ground configurations are read to maximize the simulator's effectiveness. When the simulator model successfully matches the corresponding airborne configuration, a configuration read success statement and the simulator model are output on the test equipment's main interface. The server establishes a corresponding listening thread to listen for communication request commands from the client. Upon receiving a communication connection establishment command from the client, the server sends a successful response command and establishes a connection. After successful connection establishment, the client sends commands according to the user's needs, and the server responds with a reply command. The client and server communicate bidirectionally, providing different responses based on different commands. Depending on the logger model, the server establishes a listening thread to monitor the commands sent by the client and responds accordingly. After receiving the feedback from the server, the client executes the corresponding functional test operations and outputs the test results, completing the single-item functional test. This process is repeated until the functional verification is complete.

[0025] The steps for establishing a link between the simulator and ground maintenance equipment include: The simulation recorder establishes a corresponding listening thread to listen for communication request commands issued by the ground maintenance equipment.

[0026] The simulation recorder acts as the server, with a pre-defined IP address and port number written in the configuration file. When the listening thread starts, the background socket will bind to the corresponding port and listen for external client access requests, with the ground maintenance equipment acting as the client.

[0027] During functional testing, the TCP protocol was used for real-time command-line interaction to verify the recorder's maintenance functions.

[0028] The steps of functional testing include: To verify the 1394B bus heartbeat word detection of the real-time monitoring module, a command word request is first sent via TCP protocol. After receiving the command from the maintenance software on the ground maintenance equipment, the TCP connection is requested to be closed. After the TCP connection is closed, data transmission is performed in the background using UDP protocol. At this time, the changes in the 1394B bus heartbeat word are observed through the real-time monitoring module of the maintenance software on the ground maintenance equipment. When the 1394B bus heartbeat word beats normally, the real-time monitoring function verification is completed, and real-time monitoring is exited to continue testing other functions. When the real-time monitoring module exits, the UDP protocol terminates, the TCP protocol is re-established, the simulation recorder software is re-initialized, and other functions of the maintenance software can be verified again.

[0029] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for testing interactive communication of a simulated recorder in an Ethernet environment, characterized in that, Includes the following steps: A simulation recorder is established, which has a maintenance module and a real-time monitoring module that simulate the maintenance function and real-time monitoring function of a real recorder. Complete the model configuration of the simulation recorder according to the configuration file provided by the airborne system; When the model of the simulator recorder matches the model of the ground maintenance equipment, the ground maintenance equipment will detect the recorder connection and output the corresponding model of the recorder; Establish a link between the simulator and ground maintenance equipment via a designated Ethernet port; Functional testing included data downloading, data history reading, and maintenance self-checking functions of the simulator, as well as real-time monitoring function testing.

2. The method for testing interactive communication of a simulated recorder in an Ethernet environment according to claim 1, characterized in that, During functional testing, the TCP protocol was used for real-time command-line interaction to verify the recorder's maintenance functions.

3. The method for testing interactive communication of a simulator in an Ethernet environment according to claim 1, characterized in that, The functional test steps include: verifying the 1394B bus heartbeat word detection of the real-time monitoring module. First, a command word request is made through the TCP protocol and the command is received from the maintenance software on the ground maintenance equipment. Then, the TCP connection is requested to be disconnected. After the TCP connection is disconnected, data is transmitted in the background using the UDP protocol. At this time, the change of the 1394B bus heartbeat word is observed through the real-time monitoring module of the maintenance software on the ground maintenance equipment. When the 1394B bus heartbeat word beats normally, the real-time monitoring function verification is complete, and real-time monitoring is exited. When the real-time monitoring module exits, the UDP protocol terminates, the TCP protocol is re-established, and the simulation recorder software is re-initialized.

4. The method for testing interactive communication of a simulated recorder in an Ethernet environment according to claim 1, characterized in that, The steps for establishing a link between the simulator and ground maintenance equipment include: The simulation recorder establishes a corresponding listening thread to listen for communication request commands issued by the ground maintenance equipment; The emulation logger acts as a server, with a pre-defined IP address and port number written in the configuration file. When the listening thread starts, the background socket will bind to the corresponding port and listen for external client access requests.

5. The method for testing interactive communication of a simulator in an Ethernet environment according to claim 4, characterized in that, The configuration file provided by the aircraft is a hexadecimal file.

6. The method for testing interactive communication of a simulated recorder in an Ethernet environment according to claim 4, characterized in that, The onboard configuration file includes the aircraft model and serial number, configuration version, and fault word commands.