Locomotive network test system, method and equipment and storage medium

By setting up multiple network cards on the test host and connecting it with the locomotive network control unit, support for multiple network protocols is achieved, solving the problem that traditional test platforms cannot meet the needs of multiple protocols of modern locomotive systems, and improving testing efficiency and applicability.

CN120075101APending Publication Date: 2025-05-30DATONG ELECTRIC LOCOMOTIVE OF NCR
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510219593.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-26
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

The traditional semi-physical simulation test platform only supports MVB network protocols and cannot meet the testing needs of multiple network protocols of modern locomotive systems.

Method used

A locomotive network testing system is designed, using the test host to be equipped with multiple network cards, each network card is connected to the locomotive network control unit one by one, and the network card selection request and the identification information of the target network card are achieved to support multiple network protocols.

Benefits of technology

It improves the testing efficiency of locomotive control function verification, realizes rapid switching and testing of multiple network protocols, reduces costs and improves the applicability of the test platform.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120075101A_ABST
    Figure CN120075101A_ABST
Patent Text Reader

Abstract

The invention provides a locomotive network testing system, method and device and a storage medium, and relates to the technical field of testing. The system comprises a test host which is provided with a plurality of network cards; a plurality of locomotive network control units, wherein each locomotive network control unit is connected with the network card one by one; and the test host is used for determining a target network card from the plurality of network cards in response to a network card selection request, and establishing communication connection with the corresponding locomotive network control unit through the target network card, so that the test host tests the locomotive network through the target network card, and the network card selection request comprises identification information of the target network card. A plurality of network protocols are supported through a test host equipped with a plurality of network cards and a locomotive network control unit corresponding to the test host. Therefore, a user can select the specific network card for testing by sending the request containing the target network card identification information, so that only simple configuration switching is needed when different network protocols are verified, the cost is reduced, and the testing efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] With the continuous development of the railway transportation system, the locomotive microcomputer network, as the core component of the modern train control system, has become increasingly important. The traditional locomotive microcomputer network mainly uses the Multifunction Vehicle Bus (MVB) protocol for data communication and control. The semi-physical simulation test platform based on the MVB protocol has played an important role in the research, development, testing, and maintenance of existing locomotives.

[0003] In recent years, with the emergence of new network protocols, the complexity and diversity of the locomotive microcomputer network system have increased significantly. Since the traditional semi-physical simulation test platform only supports the MVB network protocol, it can no longer meet the test requirements of modern locomotive systems. Therefore, building a semi-physical simulation test platform that can be applied to different network protocols has become a technical problem that needs to be solved urgently.

[0004] It should be noted that the information disclosed in the above background art section is only used to enhance the understanding of the background of the present disclosure, and thus may include information that does not constitute the prior art known to those of ordinary skill in the art. Summary of the Invention

[0005] The present disclosure provides a locomotive network test system, method, device, and storage medium, which are adapted to the locomotive network test requirements of multiple network protocols and improve the test efficiency of locomotive control function verification.

[0006] Other features and advantages of the present disclosure will become apparent through the following detailed description, or will be partially learned through the practice of the present disclosure.

[0007] According to one aspect of the present disclosure, a locomotive network test system is provided, including: a test host, on which multiple network cards are provided; multiple locomotive network control units, each locomotive network control unit is connected to a network card one by one; the test host is configured to, in response to a network card selection request, determine a target network card from multiple network cards, and establish a communication connection with the corresponding locomotive network control unit through the target network card, so that the test host tests the locomotive network through the target network card, where the network card selection request includes identification information of the target network card.

[0008] In some embodiments, the test host includes a software system and hardware resources, and the test host is further configured to: determine a target network card from multiple network cards according to the identification information of the target network card; configure a target protocol stack and network parameters corresponding to the target network card based on the software system of the test host; configure network interface card parameters and a driver program corresponding to the target network card based on the hardware resources of the test host, so as to establish a communication connection between the target network card and the corresponding locomotive network control unit.

[0009] In some embodiments, the locomotive network test system further includes: an operation module; the test host further includes: an input / output acquisition module; the operation module is connected to the input / output acquisition module and is configured to receive an instruction input by a user, convert the instruction into an analog electrical signal, and transmit the analog electrical signal to the input / output acquisition module; the input / output acquisition module is configured to convert the analog electrical signal output by the operation module into a digital signal.

[0010] In some embodiments, the test host further includes a simulation data generation module and a network driver module. The simulation data generation module is connected to the network driver module, and the network driver module is connected to the locomotive network control unit; a simulation model is provided in the simulation data generation module, and simulation data is generated according to the simulation model and sent to the network driver module; the network driver module is configured to send the simulation data to the locomotive network control unit.

[0011] In some embodiments, the multiple network cards include at least two of the following: MVB network card, CAN network card, Ethernet network card, LIN network card, FlexRay network card, and MOST network card.

[0012] In some embodiments, the simulation model includes at least one of the following: axle control unit simulation model, brake unit simulation model, traction system simulation model, control system simulation model, auxiliary system simulation model, communication system simulation model, power supply system simulation model, bogie system simulation model, and environment simulation model.

[0013] In some embodiments, the locomotive network control unit includes at least one of the following: locomotive logic control unit, human-machine interaction display screen, driver's cab data input / output unit, mechanical room data input / output unit, transmission control unit, auxiliary converter control unit, and brake control unit.

[0014] According to another aspect of the present disclosure, there is also provided a locomotive network test method, which is applied to a test host. A plurality of network cards are provided on the test host, and each network card is correspondingly connected to a locomotive network control unit; the method includes: in response to a network card selection request, determining a target network card from the plurality of network cards, and establishing a communication connection with the corresponding locomotive network control unit through the target network card; wherein, the network card selection request includes identification information of the target network card; in response to a user operation, obtaining a locomotive network test instruction, and sending the corresponding locomotive network test instruction to the locomotive network control unit through the target network card, so that the locomotive network control unit performs a locomotive network test according to the locomotive network test instruction.

[0015] According to another aspect of the present disclosure, there is also provided an electronic device, which includes: a processor; and a memory for storing executable instructions of the processor; wherein, the processor is configured to execute the locomotive network testing method described in any one of the above via executing the executable instructions.

[0016] According to another aspect of the present disclosure, there is also provided a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the locomotive network testing method described in any one of the above.

[0017] According to another aspect of the present disclosure, there is also provided a computer program product, including: a computer program or instruction, and when the computer program or instruction is executed by a processor, it implements the locomotive network testing method described in any one of the above.

[0018] A locomotive network testing system provided in an embodiment of the present disclosure includes: a test host, on which a plurality of network cards are provided; a plurality of locomotive network control units, each locomotive network control unit is connected to a network card one by one; the test host is configured to, in response to a network card selection request, determine a target network card from the plurality of network cards, and establish a communication connection with the corresponding locomotive network control unit through the target network card, so that the test host tests the locomotive network through the target network card, wherein the network card selection request includes identification information of the target network card. Through a test host equipped with multiple network cards and the corresponding locomotive network control units, support for multiple network protocols is achieved. The user can select a specific network card for testing by sending a request containing the identification information of the target network card, so as to achieve a quick connection and testability with the corresponding network protocol, such that when verifying different network protocols, only a simple configuration switch is required without rebuilding the test platform, reducing costs and improving test efficiency.

[0019] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The accompanying drawings herein are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with the present disclosure, and are used together with the specification to explain the principles of the present disclosure. Obviously, the accompanying drawings in the following description are only some embodiments of the present disclosure, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0021] Figure 1 A schematic diagram of the system architecture of a locomotive network testing method in an embodiment of the present disclosure is shown;

[0022] Figure 2Shows the schematic architecture diagram of a locomotive network test system in an embodiment of the present disclosure;

[0023] Figure 3 Shows the schematic architecture diagram of another locomotive network test system in an embodiment of the present disclosure;

[0024] Figure 4 Shows the schematic architecture diagram of another locomotive network test system in an embodiment of the present disclosure;

[0025] Figure 5 Shows the schematic specific implementation architecture diagram of a locomotive network test system in an embodiment of the present disclosure;

[0026] Figure 6 Shows the flowchart of a locomotive network test method in an embodiment of the present disclosure;

[0027] Figure 7 Shows the schematic diagram of a locomotive network test device in an embodiment of the present disclosure;

[0028] Figure 8 Shows the structural block diagram of an electronic device in an embodiment of the present disclosure. Detailed implementation manners

[0029] Now, example embodiments will be described more fully with reference to the accompanying drawings. However, the example embodiments can be implemented in various forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be more complete and comprehensive, and will fully convey the concept of the example embodiments to those skilled in the art. The features, structures, or characteristics described may be combined in any suitable manner in one or more embodiments.

[0030] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus repeated descriptions thereof will be omitted. Some of the block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0031] For ease of understanding, before introducing the embodiments of the present disclosure, several terms involved in the embodiments of the present disclosure are explained as follows:

[0032] Before introducing the embodiments of the present disclosure, for ease of understanding, the term "locomotive network hardware-in-the-loop simulation test" involved is first explained:

[0033] The hardware-in-the-loop simulation test of locomotive network refers to a technical method that combines actual hardware devices and a virtual simulation environment, mainly used to test and verify the functions, performance, and reliability of the locomotive microcomputer network system. This method combines real locomotive control units (such as locomotive network control units) with simulation software to simulate various situations under real operating conditions on a controllable test platform.

[0034] Hardware-in-the-loop (HIL) means that the test process includes actual hardware components (such as the network control unit of the locomotive), and these hardware components are connected to the simulation system through interfaces. This setup allows directly testing the performance of software algorithms or control systems on actual hardware without the need for a complete physical system.

[0035] Simulation refers to a model running on a computer used to imitate the behavior of a system in the real world. For the locomotive network, simulation can include the simulation of processes such as signal transmission and data processing to evaluate the system's response under different operating conditions.

[0036] The test platform refers to a system that integrates the above-mentioned hardware and simulation software and is used to perform specific test tasks. It can support multiple network protocols and can adjust the configuration according to needs to facilitate effective testing for different locomotive network protocols.

[0037] The following will describe in detail the specific implementation manners of the embodiments of the present disclosure with reference to the accompanying drawings.

[0038] Figure 1 The exemplary application system architecture diagram to which the locomotive network test method in the embodiments of the present disclosure can be applied is shown. As Figure 1 shown, the system architecture may include a terminal device 101, a network 102, and a server 103.

[0039] The network 102 is used to provide a medium for the communication link between the terminal device 101 and the server 103, which can be a wired network or a wireless network.

[0040] Optionally, the above-mentioned wireless network or wired network uses standard communication technologies and / or protocols. The network is usually the Internet, but can also be any network, including but not limited to any combination of a local area network (LAN), a metropolitan area network (MAN), a wide area network (WAN), a mobile, wired or wireless network, a private network or a virtual private network. In some embodiments, technologies and / or formats including Hyper Text Mark-up Language (HTML), Extensible Markup Language (XML), etc. are used to represent the data exchanged through the network. In addition, conventional encryption technologies such as Secure Socket Layer (SSL), Transport Layer Security (TLS), Virtual Private Network (VPN), Internet Protocol Security (IPSec), etc. can be used to encrypt all or some of the links. In other embodiments, customized and / or dedicated data communication technologies can also be used to replace or supplement the above data communication technologies.

[0041] The terminal device 101 can be various electronic devices, including but not limited to smartphones, tablets, laptop computers, desktop computers, smart speakers, smart watches, wearable devices, augmented reality devices, virtual reality devices, etc.

[0042] Optionally, the clients of the application programs installed in different terminal devices 101 are the same, or are clients of the same type of application programs based on different operating systems. Depending on the different terminal platforms, the specific form of the client of the application program can also be different. For example, the client of the application program can be a mobile client, a PC client, etc.

[0043] The server 103 can be a server that provides various services, such as a background management server that supports the operations performed by the user using the terminal device 101. The background management server can analyze and process data such as requests received, and feedback the processing results to the terminal device.

[0044] Optionally, the server can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.

[0045] Those skilled in the art can understand that Figure 1 the numbers of the terminal devices, networks, and servers in

[0046] are merely illustrative. According to actual needs, there can be any number of terminal devices, networks, and servers. The embodiments of the present disclosure do not limit this.

[0047] In some embodiments, the locomotive network testing method provided in the embodiments of the present disclosure can be executed by the terminal device of the above system architecture; in other embodiments, the locomotive network testing method provided in the embodiments of the present disclosure can be executed by the server in the above system architecture; in other embodiments, the locomotive network testing method provided in the embodiments of the present disclosure can be implemented by the terminal device and the server in the above system architecture through interaction.

[0048] Figure 2 shows a schematic architecture diagram of a locomotive network testing system in the embodiments of the present disclosure. In combination with Figure 2 as shown, a locomotive network testing system provided in the embodiments of the present disclosure includes: a test host 1, on which multiple network cards 2 are provided; multiple locomotive network control units 3, each of which is connected to a network card one by one. It should be noted that Figure 2 the numbers of the test host, network cards, and locomotive network control units in

[0049] are merely illustrative. According to actual needs, there can be any number of test hosts, network cards, and locomotive network control units. The embodiments of the present disclosure do not limit this.

[0050] In this embodiment, the test host is the core component of the entire test system, usually a high-performance computer. It is responsible for running simulation software, processing data, and communicating with the locomotive network control unit. Multiple network cards are installed on the test host to support different types of network protocols. A network card, namely a Network Interface Card (NIC), is a hardware component on the test host that is responsible for data exchange with the locomotive network control unit through a physical connection (such as a cable or optical fiber). Each network card can be configured with different network protocols to meet diverse test requirements. The locomotive network control unit is part of the simulated actual locomotive control system. Different locomotive network control units may support different types of network protocols, and the interfaces on the locomotive network control unit respectively correspond to the network cards on the test host. The function of the locomotive network control unit is to receive data from the test host, process it according to the selected network protocol, and at the same time, it can also send data feedback to the test host. The network card selection request is an instruction initiated by a user or an automated system, which contains the identification information of the target network card. The purpose of this request is to select a specific network card from multiple network cards on the test host in order to establish a communication connection with the corresponding interface on the locomotive network control unit, and then carry out specific test tasks. The identification information of the target network card refers to the information used to uniquely identify a specific network card on the test host, such as the MAC address or a preset number. When issuing a network card selection request, this identification information must be provided to accurately determine the network card to be used.

[0051] In some embodiments, the multiple network cards include at least two of the following: MVB network card, CAN network card, Ethernet network card, LIN network card, FlexRay network card, and MOST network card.

[0052] Among them, the MVB network card (Multifunction Vehicle Bus Network Interface Card) is a network interface card specifically designed to support the Multifunction Vehicle Bus (MVB) protocol. MVB is a communication standard widely used in railway locomotives and multiple units, mainly for data exchange between carriages and internal equipment within carriages. The CAN network card (Controller Area Network Interface Card) is a network interface card designed to support the CAN protocol. CAN is a serial communication protocol widely used in the automotive and industrial control fields, especially suitable for real-time data exchange in high-noise environments. The Ethernet network card (Ethernet Network Interface Card) is a network interface card that supports the Ethernet protocol and is used to achieve high-speed data transmission between a computer and a network in a local area network (LAN). The LIN network card (Local Interconnect Network Interface Card) is a network interface card designed to support the LIN protocol. LIN is a low-cost serial communication network mainly used in distributed electronic systems in automobiles, such as window control and seat adjustment. The FlexRay network card is a network interface card specifically designed to support the FlexRay protocol. FlexRay is a high-speed and deterministic in-vehicle network communication standard suitable for applications that require high reliability and real-time performance, such as powertrain systems and active safety systems. The MOST network card (Media Oriented Systems Transport Interface Card) is a network interface card specifically designed for the MOST protocol. MOST is an in-vehicle network technology optimized for multimedia applications, aiming to efficiently process data transmission of audio, video, and infotainment systems.

[0053] In this embodiment, these different types of network cards each support a specific communication protocol, enabling them to adapt to different application scenarios and technical requirements. In the locomotive network test system, using these different types of network cards can achieve support for multiple network protocols, thus meeting diverse test requirements.

[0054] In some embodiments, the locomotive network control unit includes at least one of the following: a locomotive logic control unit, a human-machine interaction display screen, a driver's cab data input / output unit, a mechanical room data input / output unit, a transmission control unit, an auxiliary converter control unit, and a braking control unit.

[0055] In this embodiment, the locomotive network control unit includes multiple key components that work together to ensure the normal operation and efficient management of the locomotive. Among them, the Central Control Unit (CCU) of the locomotive is the core part of the locomotive control system, responsible for processing data from various sensors, input devices, and other control units, and making decisions based on preset logic. It executes basic operation instructions such as starting, accelerating, and decelerating. The Driver Display Unit (DDU) provides an interface for the driver or maintenance personnel to monitor the locomotive status and make necessary operation inputs. The display screen can show various data such as speed, temperature, and fault information, and allows users to interact with the system by touch or other means. The Driver's Cab Data Input / Output Unit is located in the driver's cab and is used to collect the driver's operation commands (such as accelerating and braking) and send signals to other systems. At the same time, it also receives and displays feedback information from other systems to support the driver's effective control of the locomotive. The Mechanical Room Data Input / Output Unit is installed in the mechanical room of the locomotive and is mainly responsible for collecting the status information of mechanical components (such as engine speed, oil pressure, etc.) and transmitting this information to the control system for analysis and processing. The Transmission Control Unit is specifically used to control the power transmission system of the locomotive to ensure that power can be effectively transmitted from the engine to the drive wheels. It adjusts the transmission ratio and other parameters according to the current driving conditions to optimize performance and fuel efficiency. The Auxiliary Converter Control Unit manages all non-traction power demands on the locomotive, such as air conditioning and lighting. It converts the electrical energy generated by the main generator into voltage and current forms suitable for different devices. The Brake Control Unit is responsible for controlling the entire locomotive braking system, including types such as air braking and electric braking. It adjusts the braking force according to the received instructions to ensure the train stops or decelerates safely and smoothly.

[0056] The above are some of the locomotive network control units shown in this embodiment. In the actual application process, the locomotive network control unit may also include other possible components, and the present disclosure does not limit this.

[0057] In some embodiments, the test host includes a software system and hardware resources. The test host is further configured to: determine a target network card from multiple network cards according to the identification information of the target network card; configure a target protocol stack and network parameters corresponding to the target network card based on the software system of the test host; configure network interface card parameters and a driver corresponding to the target network card based on the hardware resources of the test host, so as to establish a communication connection between the target network card and the corresponding locomotive network control unit.

[0058] In this embodiment, the software system refers to a set of programs running on the test host, including an operating system, simulation software, protocol stacks, etc. The software system is responsible for processing data, executing algorithms, managing user interfaces, and interacting with hardware resources. For the locomotive network test system, the software system is mainly used to configure and manage different network protocol stacks and network parameters. The hardware resources refer to the physical components of the test host, such as a processor (CPU), memory (RAM), storage devices, network cards, etc. These hardware resources provide the necessary computing power and data storage space for the operation of the software system, and realize data exchange with other devices through the network card. The target protocol stack refers to a series of software layers configured according to the network protocols supported by the selected target network card. Each protocol stack contains a series of rules and standards for defining how to transmit data over the network. Network parameters are settings configured on the network interface, which determine how it operates and communicates. Network parameters may include an IP address, subnet mask, default gateway, port number, etc. Network interface card parameters and driver The network interface card parameters refer to the technical details set for a specific network card, such as speed, duplex mode, etc. The driver is software that allows the operating system to communicate with the network card hardware. The driver enables the operating system to recognize and control the network card to complete data sending and receiving.

[0059] Specifically, when it is necessary to test a specific locomotive microcomputer network protocol, the user or the automation system will send a selection request containing the target network card identification information (such as MAC address or number) to the test host. Based on this identification information, the test host can accurately identify and determine the target network card from the multiple network cards installed on it. Once the target network card is determined, the software system of the test host will automatically load or manually select the corresponding target protocol stack according to the network protocol supported by the selected network card (such as MVB, CAN, etc.). At the same time, necessary network parameters are configured according to actual requirements, such as IP address, subnet mask, port number, etc. This ensures that the network card can correctly parse and process the data packets encapsulated in a specific protocol format, thus realizing effective data transmission. Next, the hardware resources of the test host are used to perform a more in-depth setting on the selected network card. This includes adjusting the working parameters of the network interface card (such as speed, duplex mode, etc.) and updating or configuring the corresponding driver program, so that the operating system can efficiently manage and control this network card. After completing the above configuration, the test host attempts to establish a communication connection with the corresponding interface on the locomotive network control unit through the set target network card. In this flexible way, the test host in the model locomotive can switch different locomotive microcomputer network protocols for communication testing. The whole process utilizes the software system and hardware resources of the test host to achieve support for multiple network protocols. This method not only improves the test efficiency and reduces the cost, but also provides a convenient tool for developers to evaluate and optimize the design of the locomotive control system.

[0060] In this embodiment, the test host not only relies on the multiple network cards on it to realize communication with the locomotive network control unit, but also needs to utilize its own software system and hardware resources to determine the target network card according to the identification information of the target network card, and accordingly configure the target protocol stack, network parameters, as well as network interface card parameters and driver programs. This process ensures that the test host can efficiently and accurately establish a communication connection with the locomotive network control unit, thereby realizing effective testing of the locomotive network.

[0061] In some embodiments, Figure 3 shows a schematic diagram of the architecture of another locomotive network test system in the embodiments of the present disclosure; in combination with Figure 3 as shown, the locomotive network test system further includes: an operation module 4; the test host further includes: an input / output acquisition module 11; the operation module 4 is connected to the input / output acquisition module 11 and is used to receive the instructions input by the user, convert the instructions into analog electrical signals, and transmit them to the input / output acquisition module; the input / output acquisition module is used to convert the analog electrical signals output by the operation module into digital signals.

[0062] In this embodiment, the operation module is part of the locomotive network test system, mainly used to receive physical inputs from users (such as button presses, knob rotations, etc.) and convert these physical actions into analog electrical signals. It is usually located on a simulator or test bench that mimics the real locomotive operation environment for more realistic testing. The input / output acquisition module (11) is a component of the test host, responsible for converting the analog electrical signals received from the operation module into digital signals so that the computer can process this information. In addition, it may also be tasked with sending control signals to external devices to achieve two-way data transmission. The analog electrical signal is a continuously varying voltage or current signal generated by the operation module, representing the specific instructions of the user input. This type of signal is commonly used to represent changes in physical quantities such as temperature, pressure, etc. The digital signal is a discrete value signal after being converted by the input / output acquisition module, facilitating computer processing and analysis.

[0063] In the embodiments of the present disclosure, by introducing the operation module and the input / output acquisition module, the locomotive network test system can more accurately simulate the operation environment of the actual locomotive, thereby improving the authenticity and effectiveness of the test.

[0064] Specifically, in this embodiment, the operation module is used to receive physical inputs from users and convert them into analog electrical signals, which can highly restore the actual operation experience of locomotive drivers. By using a set of input / output acquisition units to collect signals from the operation module or other hardwired signals, the test system can adapt to different hardware configurations and interface standards, increasing the versatility and flexibility of the system. Since the input / output acquisition module can convert analog electrical signals into digital signals, this greatly simplifies the integration process with existing computer systems, reducing development time and costs. Through the accurate acquisition and analysis of analog electrical signals, it helps to improve the reliability and safety of the system.

[0065] In this embodiment, the design combining the operation module and the input / output acquisition module not only enhances the functions of the locomotive network test system, but also improves its efficiency and accuracy, which is of great significance for ensuring the safe operation of locomotives. At the same time, this design also supports various different types of locomotive microcomputer network protocols, further expanding the application scope of the system.

[0066] In some embodiments, Figure 4 shows a schematic diagram of the architecture of another locomotive network test system in the embodiments of the present disclosure, combined with Figure 4As shown in the figure, the test host further includes a simulation data generation module 12 and a network driver module 13. The simulation data generation module 12 is connected to the network driver module 13, and the network driver module 13 is connected to the locomotive network control unit 3. The simulation data generation module is provided with a simulation model, generates simulation data according to the simulation model, and sends the simulation data to the network driver module. The network driver module is used to send the simulation data to the locomotive network control unit.

[0067] In this embodiment, the simulation data generation module 12 is a key component in the test host, responsible for generating simulation data based on the built-in simulation model. The simulation data is a data simulation of various situations that may occur during the actual operation of the locomotive, such as changes in parameters such as speed, acceleration, and temperature. These data are used to test and verify the responsiveness and reliability of the locomotive network system. The simulation model is designed to simulate the working states of the locomotive and its network control unit under various operating conditions in order to generate corresponding simulation data. The network driver module 13 serves as a bridge between the simulation data generation module and the locomotive network control unit, responsible for forwarding the simulation data generated by the simulation data generation module to the locomotive network control unit. In addition, it may also be responsible for processing data from the locomotive network control unit to ensure that information can be transmitted efficiently and accurately between different components.

[0068] In some embodiments, the simulation model includes at least one of the following: an axle control unit simulation model, a braking unit simulation model, a traction system simulation model, a control system simulation model, an auxiliary system simulation model, a communication system simulation model, a power supply system simulation model, a bogie system simulation model, and an environment simulation model.

[0069] It should be noted that the above simulation models are only examples. In the actual application process, other network device simulation models can also run in the test host, and the simulation models can also run on another test host and communicate with the test system through multiple network cards.

[0070] In this embodiment, through the collaborative work of the above-mentioned modules, the locomotive network test system can effectively test and verify the locomotive network control unit to ensure that it can make correct responses in the face of various simulated working conditions. This setting not only improves the comprehensiveness and accuracy of the test, but also enhances the ability to discover potential problems, which is crucial for improving the reliability and safety of the locomotive system.

[0071] The locomotive network test system provided by the embodiments of the present disclosure utilizes the test host and multiple network cards set thereon, combined with the interface designs of different locomotive network control units, to achieve support for multiple network protocols. By simply changing the configuration, the switching test between different network protocols can be realized, greatly improving the test efficiency and reducing the cost.

[0072] Figure 5 Shows a schematic diagram of the specific implementation architecture of a locomotive network test system in an embodiment of the present disclosure. In combination with Figure 5 As shown, the locomotive network test system includes a console 10, a console 20, a model machine 30, an input / output acquisition unit 301, an Ethernet network card 302, an MVB network card 303, a CAN network card 304, a CCU, and a DDU. Among them, a simulation model is also running on the model machine.

[0073] Figure 6 Shows a flowchart of a locomotive network test method in an embodiment of the present disclosure, which is applied to a test host. Multiple network cards are set on the test host, and each network card is correspondingly connected to a locomotive network control unit. As Figure 6 shown, the locomotive network test method provided in the embodiment of the present disclosure includes the following steps:

[0074] S602, in response to a network card selection request, determine a target network card from multiple network cards, and establish a communication connection with the corresponding locomotive network control unit through the target network card.

[0075] In this embodiment, the network card selection request is sent by a user or the system, aiming to select one from multiple available network cards on the test host as the target network card for subsequent data communication. This request contains information about the target network card, that is, the network card selection request includes the identification information of the target network card, so as to accurately identify and select. The identification information of the target network card is used to uniquely identify the data of a specific network card on the test host. This may include MAC address, IP address or other forms of identifiers, ensuring that which network card can be precisely specified to establish a communication connection with the locomotive network control unit.

[0076] S604, in response to a user operation, obtain a locomotive network test instruction, and send the locomotive network test instruction to the locomotive network control unit through the target network card, so that the locomotive network control unit performs a locomotive network test according to the locomotive network test instruction.

[0077] In this embodiment, the locomotive network test instruction is a specific operation instruction generated by the test host and sent to the locomotive network control unit. These instructions may include starting a specific test program, adjusting certain parameters, or simulating different operating environment conditions, etc., aiming to evaluate the working state and response ability of the locomotive network control unit.

[0078] In some embodiments, the network connection can also be used to obtain, display, and analyze the data transmitted between the test host and the locomotive network control unit in real time. This monitoring method allows users or system administrators to view the current communication status and content at any time point, without the need to directly connect to the physical device for inspection.

[0079] Specifically, the network connection can be any form of network connection such as a local area network (LAN), a wide area network (WAN), or the Internet, etc., which provides a data transmission channel between the test host and the remote monitoring computer. Communication data includes all information transmitted over the network, such as instructions, responses, status reports, etc. For locomotive network testing, this data may involve locomotive operation parameters, fault diagnosis information, and test results, etc. An online monitoring tool can also be constructed, which usually includes a user interface for presenting the data collected from the network. Specifically, it can include dedicated software or web-based applications that provide various forms of data views such as charts and log files.

[0080] In this embodiment, the user can remotely access the test host through the network connection and perform debugging tasks or update configurations without having to be on-site. This method improves work efficiency and reduces downtime and travel costs. When executing specific locomotive network test instructions, online monitoring allows the operator to immediately see the test results and the system's response, which helps to quickly determine whether it is necessary to adjust the test strategy or parameter settings. The continuously collected communication data can be used for subsequent detailed analysis to help identify trends or patterns of potential problems. In addition, the saved historical data also provides reference materials for future fault troubleshooting.

[0081] In this embodiment, realizing online monitoring of communication data by the computer through the network enhances the control ability of the locomotive network system and also provides strong support for optimizing the test process and improving system reliability.

[0082] In some embodiments, the method includes: determining a target network card from multiple network cards according to the identification information of the target network card; configuring a target protocol stack and network parameters corresponding to the target network card based on the software system of the test host; configuring network interface card parameters and driver programs corresponding to the target network card based on the hardware resources of the test host, so that the target network card establishes a communication connection with the corresponding locomotive network control unit.

[0083] In some embodiments, the method further includes: determining a target network card from multiple network cards according to the identification information of the target network card; configuring a target protocol stack and network parameters corresponding to the target network card based on the software system of the test host; configuring network interface card parameters and driver programs corresponding to the target network card based on the hardware resources of the test host, so that the target network card establishes a communication connection with the corresponding locomotive network control unit.

[0084] In some embodiments, the method further includes: receiving an instruction input by the user, converting the instruction into an analog electrical signal, and transmitting it to the input / output acquisition module; converting the analog electrical signal output by the operation module into a digital signal.

[0085] In some embodiments, the method includes: generating simulation data according to a simulation model, and sending the simulation data to a network driver module; sending the simulation data to the locomotive network control unit.

[0086] In some embodiments, at least two of the multiple network cards include: an MVB network card, a CAN network card, an Ethernet network card, a LIN network card, a FlexRay network card, and a MOST network card.

[0087] In some embodiments, the simulation model includes at least one of the following: an axle control unit simulation model, a braking unit simulation model, a traction system simulation model, a control system simulation model, an auxiliary system simulation model, a communication system simulation model, a power supply system simulation model, a bogie system simulation model, and an environment simulation model.

[0088] In some embodiments, the locomotive network control unit includes at least one of the following: a locomotive logic control unit, a human-machine interaction display screen, a driver's cab data input / output unit, a mechanical room data input / output unit, a transmission control unit, an auxiliary converter control unit, and a braking control unit.

[0089] In this embodiment, the locomotive network control unit is effectively tested and verified by using the test host and its network card resources, so as to ensure the reliability and security of the locomotive network system.

[0090] Based on the same inventive concept, an embodiment of the present disclosure also provides a locomotive network test device as described in the following embodiments. Since the principle of solving problems in this device embodiment is similar to that in the above method embodiment, the implementation of this device embodiment can refer to the implementation of the above method embodiment, and the repeated parts will not be described again.

[0091] Figure 7 The schematic diagram of a locomotive network test device in an embodiment of the present disclosure is shown, which is applied to a test host. A plurality of network cards are arranged on the test host, and each network card is correspondingly connected to a locomotive network control unit. As Figure 7 shown, the device includes: a communication establishment module 71 and a test module 72;

[0092] The communication establishment module 71 is configured to: in response to a network card selection request, determine a target network card from the multiple network cards, and establish a communication connection with the corresponding locomotive network control unit through the target network card; wherein, the network card selection request includes the identification information of the target network card; the test module 72 is configured to: in response to a user operation, obtain a locomotive network test instruction, and send the locomotive network test instruction to the locomotive network control unit through the target network card, so that the locomotive network control unit performs a locomotive network test according to the locomotive network test instruction.

[0093] It should be noted here that the examples and application scenarios implemented by each module in the above device embodiments are the same as the corresponding steps in the method embodiments, but are not limited to the content disclosed in the above method embodiments. It should be noted that the above modules, as part of the device, can be executed in a computer system such as a set of computer-executable instructions.

[0094] Those skilled in the art of the present disclosure can understand that various aspects of the present disclosure can be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or an implementation combining hardware and software aspects, which can be collectively referred to as "circuit", "module" or "system" here.

[0095] Based on the same inventive concept, an electronic device is also provided in the embodiments of the present disclosure. The electronic device includes: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the locomotive network test method of any one of the above via executing the executable instructions. Since the principle of solving problems in this electronic device embodiment is similar to that of the above method embodiment, the implementation of this electronic device embodiment can refer to the implementation of the above method embodiment, and the repeated parts will not be described again.

[0096] Next, refer to Figure 8 to describe the electronic device 800 according to this embodiment of the present disclosure. Figure 8 The electronic device 800 shown is only an example and should not impose any limitation on the functions and usage scope of the embodiments of the present disclosure.

[0097] As Figure 8 shown, the electronic device 800 is presented in the form of a general computing device. The components of the electronic device 800 may include but are not limited to: the above at least one processing unit 810, the above at least one storage unit 820, and a bus 830 connecting different system components (including the storage unit 820 and the processing unit 810).

[0098] Among them, the storage unit stores program code, and the program code can be executed by the processing unit 810, so that the processing unit 810 executes the steps according to various exemplary embodiments of the present disclosure described in the above "Exemplary Method" section of this specification. For example, the processing unit 810 may execute the following steps of the above method embodiment: obtaining locomotive network test requirement information of the business system; generating a business process of the business system according to the locomotive network test requirement information; and obtaining at least one functional component from the low-code environment platform according to the business process and the locomotive network test requirement information to obtain a locomotive network test, so that the low-code environment platform executes the locomotive network test.

[0099] The storage unit 820 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 8201 and / or a cache storage unit 8202, and may further include a read-only storage unit (ROM) 8203.

[0100] The storage unit 820 may also include a program / utilities 8204 having a set (at least one) of program modules 8205. Such program modules 8205 include, but are not limited to: an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment.

[0101] The bus 830 may represent one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus structures.

[0102] The electronic device 800 may also communicate with one or more external devices 840 (such as a keyboard, a pointing device, a Bluetooth device, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 800, and / or may communicate with any device that enables the electronic device 800 to communicate with one or more other computing devices (such as a router, a modem, etc.). Such communication may be through an input / output (I / O) interface 850. And, the electronic device 800 may also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 860. As shown in the figure, the network adapter 860 communicates with other modules of the electronic device 800 through the bus 830. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 800, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.

[0103] Through the description of the above embodiments, those skilled in the art can easily understand that the exemplary embodiments described herein can be implemented by software, or can be implemented by a combination of software and necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.

[0104] Based on the same inventive concept, embodiments of the present disclosure also provide a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the locomotive network testing method according to any one of the above is implemented. Since the principle of solving problems in the embodiment of the computer-readable storage medium is similar to that in the above method embodiment, the implementation of the embodiment of the computer-readable storage medium can refer to the implementation of the above method embodiment, and the repeated parts will not be described again.

[0105] More specific examples of the computer-readable storage medium in the present disclosure may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above.

[0106] In the present disclosure, the computer-readable storage medium may include a data signal propagated in a baseband or as part of a carrier wave, in which the readable program code is carried. Such a propagated data signal may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The readable signal medium may also be any readable medium other than the readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device.

[0107] Optionally, the program code included on the computer-readable storage medium may be transmitted by any suitable medium, including but not limited to wireless, wired, optical fiber, RF, etc., or any suitable combination of the above.

[0108] In specific implementation, the program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages. The programming languages include object-oriented programming languages such as Java, C++, etc., and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, executed as an independent software package, partially on the user computing device and partially on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (for example, by using an Internet service provider to connect through the Internet).

[0109] Based on the same inventive concept, embodiments of the present disclosure also provide a computer program product, including: a computer program or instruction, which when executed by a processor implements the locomotive network test method of any one of the above method embodiments. Since the principle of solving problems in this computer program product embodiment is similar to that of the above method embodiments, the implementation of this computer program product embodiment can refer to the implementation of the above method embodiments, and the repeated parts will not be elaborated.

[0110] It should be noted that although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more of the above-mentioned modules or units can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.

[0111] In addition, although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that these steps must be executed in this specific order, or that all the steps shown must be executed to achieve the desired result. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step for execution, and / or one step may be decomposed into multiple steps for execution, etc.

[0112] From the description of the above embodiments, those skilled in the art can easily understand that the example embodiments described herein can be implemented by software, or by a combination of software and necessary hardware. Therefore, the technical solutions according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, mobile hard disk, etc.) or on the network, including several instructions to enable a computing device (such as a personal computer, server, mobile terminal, or network device, etc.) to execute the method according to the embodiments of the present disclosure.

[0113] After considering the specification and practicing the invention disclosed herein, those skilled in the art will readily conceive of other embodiments of the present disclosure. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure, which follow the general principles of the present disclosure and include known common knowledge or conventional technical means in the technical field not disclosed by the present disclosure. The specification and embodiments are only regarded as exemplary, and the true scope and spirit of the present disclosure are pointed out by the appended claims.

Claims

1. A locomotive network testing system, characterized in that: include: A test host, on which multiple network cards are configured; A plurality of locomotive network control units, each locomotive network control unit is connected to the network card one by one; The test host is used to respond to a network card selection request, determine a target network card from multiple network cards, and establish a communication connection with a corresponding locomotive network control unit through the target network card, so that the test host tests the locomotive network through the target network card, wherein the network card selection request includes identification information of the target network card.

2. The locomotive network testing system according to claim 1, characterized in that: The test host includes a software system and hardware resources, and is also used for: Determine the target network card from multiple network cards according to the identification information of the target network card; Based on the software system of the test host, configure the target protocol stack and network parameters corresponding to the target network card; Based on the hardware resources of the test host, the network interface card parameters and the driver corresponding to the target network card are configured so that the target network card establishes a communication connection with the corresponding locomotive network control unit.

3. The locomotive network testing system according to claim 1, characterized in that: The locomotive network test system further includes: an operation module; the test host further includes: an input and output acquisition module; The operation module is connected to the input and output acquisition module, and is used to receive instructions input by the user, convert the instructions into analog electrical signals, and transmit them to the input and output acquisition module; The input and output acquisition module is used to convert the analog electrical signal output by the operation module into a digital signal.

4. The locomotive network testing system according to claim 3, characterized in that: The test host further comprises a simulation data generation module and a network drive module, wherein the simulation data generation module is connected to the network drive module, and the network drive module is connected to the locomotive network control unit; The simulation data generation module has a simulation model built in it, generates simulation data according to the simulation model, and sends the simulation data to the network driving module; The network driving module is used to send the simulation data to the locomotive network control unit.

5. The locomotive network testing system according to claim 1, characterized in that: The multiple network cards include at least two of the following: an MVB network card, a CAN network card, an Ethernet network card, a LIN network card, a FlexRay network card and a MOST network card.

6. The locomotive network testing system according to claim 4, characterized in that: The simulation model includes at least one of the following: an axle control unit simulation model, a brake unit simulation model, a traction system simulation model, a control system simulation model, an auxiliary system simulation model, a communication system simulation model, a power supply system simulation model, a bogie system simulation model and an environment simulation model.

7. The locomotive network testing system according to claim 1, characterized in that: The locomotive network control unit includes at least one of the following: a locomotive logic control unit, a human-machine interaction display screen, a driver's cab data input and output unit, a machine room data input and output unit, a transmission control unit, an auxiliary converter control unit and a brake control unit.

8. A locomotive network testing method, characterized in that: Applied to a test host, the test host is provided with a plurality of network cards, each network card is connected to a corresponding locomotive network control unit; the method comprises: In response to a network card selection request, a target network card is determined from a plurality of network cards, and a communication connection is established with a corresponding locomotive network control unit through the target network card; wherein the network card selection request includes identification information of the target network card; In response to user operation, a locomotive network test instruction is obtained, and the locomotive network test instruction is sent to the corresponding locomotive network control unit through the target network card, so that the locomotive network control unit performs the locomotive network test according to the locomotive network test instruction.

9. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; Wherein, the processor is configured to perform the locomotive network testing method described in claim 8 by executing the executable instructions.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the locomotive network testing method described in claim 8 is implemented.