Vehicle-mounted ATP debugging method, device and equipment and storage medium

Through the combination of on-board script parsing and processing software and GSSAP platform simulation software, efficient debugging of ATP software is achieved, solving the problem of strong dependence on laboratory hardware in the existing technology, improving debugging efficiency and quality, and reducing costs.

CN119166519APending Publication Date: 2024-12-20CHINA SHENHUA ENERGY CO LTD +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411255354.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-09
Publication Date
2024-12-20

AI Technical Summary

Technical Problem

In the prior art, debugging and testing of ATP software requires a lot of laboratory hardware and manpower, resulting in low debugging efficiency, high cost, and strong dependence on the laboratory environment, which affects the rapid verification and iteration of software functions.

Method used

Get the test scripts through the on-board script parsing and processing software, and use the GSSAP platform simulation software to send control instructions to ATP application software, DMI application software, external interface simulation software and on-board external device simulation software to perform simulation debugging, and reduce dependence on laboratory hardware .

Benefits of technology

It significantly improves the debugging efficiency and quality of ATP software, reduces the complexity and cost of laboratory testing, and accelerates the verification and iteration of software functions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119166519A_ABST
    Figure CN119166519A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle-mounted ATP debugging method, device and equipment and a storage medium, and the method comprises the steps: obtaining a test script corresponding to ATP application software to be tested through vehicle-mounted script analysis processing software, and analyzing the test script; sending a control instruction to the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software and the vehicle-mounted external equipment simulation software through GSSAP platform simulation software according to the analyzed test script; and debugging the ATP application software to be tested according to simulation results of the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software and the vehicle-mounted external equipment simulation software. According to the technical scheme of the embodiment of the invention, the debugging efficiency and quality of ATP software can be remarkably improved, the dependence on a laboratory hardware environment is reduced, the complexity and cost of laboratory testing are reduced, and the verification and iteration of software functions are accelerated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a vehicle-mounted ATP debugging method, device, equipment and storage medium. Background Art

[0002] At present, the laboratory needs to build an Automatic Train Protection (ATP) equipment test environment, which requires a complete set of hardware on-board platforms, transponder information receiving units, universal locomotive signal units, human-machine interface units and other hardware devices. Hardwired or wireless connections are required for debugging between each hardware. If problems occur in any part, the entire system will become unavailable, thus affecting the debugging and testing progress of the ATP software.

[0003] There are many requirements for ATP software for onboard systems, and with the continuous development of the railway industry, the number of new functions required for ATP software is also increasing. In the existing technology, ATP software needs to be tested in the laboratory for new functions and requirements after simple module testing or unit testing is completed. The construction of the laboratory environment relies on a large number of peripheral hardware and systems. When ATP software is the main object to be tested, problems with the peripheral system will undoubtedly consume a lot of manpower and time. Summary of the invention

[0004] The present invention provides an on-vehicle ATP debugging method, device, equipment and storage medium, which can significantly improve the debugging efficiency and quality of ATP software, reduce the dependence on laboratory hardware environment, reduce the complexity and cost of laboratory testing, and accelerate the verification and iteration of software functions.

[0005] According to one aspect of the present invention, a vehicle-mounted ATP debugging method is provided, which is applied to a vehicle-mounted ATP development and debugging platform, and the method comprises:

[0006] Obtaining the test script corresponding to the ATP application software to be tested through the on-board script parsing and processing software, and parsing the test script;

[0007] Through the GSSAP platform simulation software, according to the parsed test script, control instructions are sent to the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software, and the vehicle-mounted external device simulation software;

[0008] The ATP application software to be tested is debugged according to the simulation results of the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software and the vehicle-mounted external device simulation software.

[0009] Optionally, before obtaining the test script corresponding to the ATP application software to be tested through the vehicle-mounted script parsing and processing software, the following is further included:

[0010] Configure the communication attribute information corresponding to the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software and the vehicle-mounted external device simulation software in the GSSAP platform simulation software;

[0011] According to the communication attribute information, establish attribute tables corresponding to the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software, and the vehicle-mounted external device simulation software respectively;

[0012] The communication attribute information includes address, name, execution cycle and server attribute information.

[0013] Optionally, the GSSAP platform simulation software sends control instructions to the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software, and the vehicle-mounted external device simulation software according to the parsed test script, including:

[0014] Through the GSSAP platform simulation software, control instructions are sent to the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software and the vehicle-mounted external device simulation software according to the parsed test script, the server attribute information in each attribute table and the execution cycle.

[0015] Optionally, after sending control instructions to the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software and the vehicle-mounted external device simulation software according to the parsed test script through the GSSAP platform simulation software, it also includes:

[0016] Communicate according to the control instructions and the corresponding attribute table through the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software and the vehicle-mounted external device simulation software;

[0017] Obtain the communication results between the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software and the vehicle-mounted external device simulation software, and determine the simulation result according to the communication result.

[0018] Optionally, the ATP external interface simulation software is used to display the train operation interface and the external interface corresponding to the ATP application software to be tested; the method further includes:

[0019] In response to an operation instruction triggered by a user on the ATP external interface simulation software, the train operation interface and the external interface are displayed to the user so that the user can operate the train operation interface or the external interface.

[0020] Optionally, the method further includes:

[0021] After detecting that a target test script is newly added to the vehicle-mounted ATP development and debugging platform, determining a simulator type corresponding to the target test script;

[0022] According to the simulator type corresponding to the target test script, a target simulator matching the simulator type is deployed in the vehicle-mounted external device simulation software.

[0023] According to another aspect of the present invention, there is provided an on-vehicle ATP debugging device, which is applied to an on-vehicle ATP development and debugging platform, and the device comprises:

[0024] A script parsing module, used to obtain the test script corresponding to the ATP application software to be tested through the vehicle-mounted script parsing processing software, and parse the test script;

[0025] The instruction sending module is used to send control instructions to the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software and the vehicle-mounted external device simulation software through the GSSAP platform simulation software according to the parsed test script;

[0026] The debugging module is used to debug the ATP application software to be tested according to the simulation results of the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software and the vehicle-mounted external device simulation software.

[0027] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0028] at least one processor; and

[0029] a memory communicatively connected to the at least one processor; wherein,

[0030] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the on-board ATP debugging method described in any embodiment of the present invention.

[0031] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the vehicle-mounted ATP debugging method described in any embodiment of the present invention when executed.

[0032] According to another aspect of the present invention, a computer program product is provided, including a computer program, wherein when the computer program is executed by a processor, the vehicle-mounted ATP debugging method described in any embodiment of the present invention is implemented.

[0033] The technical solution provided by the embodiment of the present invention obtains the test script corresponding to the ATP application software to be tested through the vehicle-mounted script parsing processing software, and parses the test script. Through the GSSAP platform simulation software, according to the parsed test script, control instructions are sent to the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software and the vehicle-mounted external device simulation software. According to the simulation results of the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software and the vehicle-mounted external device simulation software, the technical means for debugging the ATP application software to be tested can significantly improve the debugging efficiency and quality of the ATP software, reduce the dependence on the laboratory hardware environment, reduce the complexity and cost of laboratory testing, and accelerate the verification and iteration of software functions.

[0034] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0036] Figure 1a is a flow chart of a vehicle-mounted ATP debugging method provided according to an embodiment of the present invention;

[0037] Figure 1b It is a structural diagram of an on-vehicle ATP development and debugging platform provided according to an embodiment of the present invention;

[0038] Figure 2 is a flow chart of another vehicle-mounted ATP debugging method provided according to an embodiment of the present invention;

[0039] Figure 3 is a structural schematic diagram of a vehicle-mounted ATP debugging device provided according to an embodiment of the present invention;

[0040] Figure 4 It is a structural schematic diagram of an electronic device for implementing the vehicle-mounted ATP debugging method of an embodiment of the present invention. DETAILED DESCRIPTION

[0041] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0042] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0043] Figure 1a This is a flow chart of an on-board ATP debugging method provided by an embodiment of the present invention. This embodiment is applicable to the case where a user debugs ATP application software through an on-board ATP development and debugging platform. This method can be executed by an on-board ATP debugging device. The on-board ATP debugging device can be implemented in the form of hardware and / or software. The on-board ATP debugging device can be configured in the on-board ATP development and debugging platform. Figure 1a As shown, the method includes:

[0044] Step 110: Obtain the test script corresponding to the ATP application software to be tested through the vehicle-mounted script parsing and processing software, and parse the test script.

[0045] In this embodiment, Figure 1b A schematic diagram of the structure of a vehicle-mounted ATP development and debugging platform can be shown as follows: Figure 1bAs shown, the on-board ATP development and debugging platform is a highly integrated and expandable system, which consists of personal computer (PC) ATP application software, intelligent dual-mode (Dual Mode Intelligent, DMI) application software, Geosynchronous Space Situational Awareness Program (GSSAP) platform simulation software, on-board script parsing and processing software, ATP external interface simulation software, on-board external equipment simulation software and on-board test scripts.

[0046] The vehicle-mounted ATP development and debugging platform is used to design a unified PC software architecture and a unified test script format according to the characteristics of various types of ATP application software currently available, so as to realize the development and debugging of different ATP application software.

[0047] In a specific embodiment, Figure 1b The ATP application software and DMI application software in the can be the software to be tested, and the object to be tested as the platform is consistent with the target machine. The GSSAP platform simulation software is used to accurately simulate the main control board task scheduling and external interface behavior of the GSSAP platform to ensure that the simulation environment is highly consistent with the actual hardware environment. The on-board script parsing and processing software is used to parse and process the on-board external device scripts in a unified format, and execute external simulation functions according to the instructions of the script. The ATP external interface simulation software can achieve a realistic simulation of the train operation interface and the ATP external interface. The on-board external device simulation software simulates the ATP external device according to the real communication protocol based on the specific ATP external device. The on-board test script is an on-board script written in a unified format in order to test the ATP. It is used to drive the operation of the ATP application software and simulate the behavior of various external devices connected to the ATP.

[0048] In this embodiment, in order to verify the correctness of the logic of the ATP application software to be tested, the ATP external devices can be abstracted and summarized, and the ATP external devices can be simulated in a scripted manner. A general ATP external device simulation script language is designed to interact with ATP to drive the execution of the test ATP function. The vehicle-mounted external device simulation software can use the test script to drive the operation of the ATP application software and simulate various external devices connected to ATP, thereby realizing the specific functions of the ATP external device simulator.

[0049] Step 120: Send control instructions to the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software, and the vehicle-mounted external device simulation software through the GSSAP platform simulation software according to the parsed test script.

[0050] Step 130: Debug the ATP application software to be tested according to the simulation results of the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software and the vehicle-mounted external device simulation software.

[0051] In this embodiment, a universal and scalable on-board ATP formal development and debugging platform is provided. In view of the problems in the prior art such as complex laboratory environment construction, multiple reliance on external conditions, and peripheral system problems affecting the debugging and testing progress of ATP software, this embodiment can perform ATP software function verification without relying on external conditions through the development platform, thereby significantly improving the debugging efficiency and quality of ATP software, reducing dependence on laboratory hardware environment, reducing the complexity and cost of laboratory testing, accelerating the verification and iteration of software functions, and providing strong support for subsequent maintenance and upgrades of ATP software.

[0052] The technical solution provided by the embodiment of the present invention obtains the test script corresponding to the ATP application software to be tested through the vehicle-mounted script parsing processing software, and parses the test script. Through the GSSAP platform simulation software, according to the parsed test script, control instructions are sent to the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software and the vehicle-mounted external device simulation software. According to the simulation results of the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software and the vehicle-mounted external device simulation software, the technical means for debugging the ATP application software to be tested can significantly improve the debugging efficiency and quality of the ATP software, reduce the dependence on the laboratory hardware environment, reduce the complexity and cost of laboratory testing, and accelerate the verification and iteration of software functions.

[0053] Figure 2 A flowchart of another vehicle-mounted ATP debugging method provided by an embodiment of the present invention is shown in FIG. Figure 2 As shown, the method includes:

[0054] Step 210: configure the communication attribute information corresponding to the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software and the vehicle-mounted external device simulation software in the GSSAP platform simulation software.

[0055] In one implementation of this embodiment, the communication attribute information includes address, name, execution cycle and server attribute information.

[0056] In this embodiment, in order to be suitable for different vehicle-mounted application projects, before the vehicle-mounted ATP development and debugging platform is started, the communication attribute information of each unit on the platform can be pre-configured in the GSSAP platform simulation software, including the address of each unit, unit name, unit execution cycle, whether it is the server corresponding to the User Datagram Protocol (User Datagram Protocol, UDP), the Internet Protocol (Internet Protocol, IP) address of the UDP server, the port number of the UDP server and other information.

[0057] Step 220: According to the communication attribute information, establish attribute tables corresponding to the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software, and the vehicle-mounted external device simulation software, respectively.

[0058] Step 230: Obtain the test script corresponding to the ATP application software to be tested through the vehicle-mounted script parsing and processing software, and parse the test script.

[0059] Step 240: Send control instructions to the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software and the vehicle-mounted external device simulation software through the GSSAP platform simulation software according to the parsed test script, the server attribute information in each attribute table and the execution cycle.

[0060] In this step, optionally, the GSSAP platform simulation software can send control instructions to all simulation software according to the configured cycle based on the various simulation software ports and IPs defined in the above attribute table, and uniformly mobilize the simulation software to start, run and stop in cycles. At the same time, since the GSSAP platform simulation software is compiled together with the ATP application software to be tested, when debugging the ATP application software to be tested, the application software analysis can be stopped at any time and debugging can be started at any time.

[0061] In this embodiment, specifically, a unified general communication protocol for the on-board external device simulation software can also be formulated, the data format between the GSSAP platform simulation software and the external device simulation software can be specified, the meaning of each part of the transmitted data (including fixed fields and variable application data) can be specified, and the message format between each simulation software and the on-board script parsing and processing software can be defined according to different on-board projects to realize the transmission of different application data.

[0062] Step 250: communicate according to the control instructions and the corresponding attribute tables through the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software and the vehicle-mounted external device simulation software.

[0063] Step 260: Obtain the communication results among the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software and the vehicle-mounted external device simulation software, determine the simulation results according to the communication results, and debug the ATP application software to be tested according to the simulation results.

[0064] In one implementation of this embodiment, the ATP external interface simulation software is used to display the train operation interface and the external interface corresponding to the ATP application software to be tested; the method also includes: in response to an operation instruction triggered by the user to the ATP external interface simulation software, the train operation interface and the external interface are displayed to the user, so that the user can operate the train operation interface or the external interface.

[0065] In this embodiment, specifically, the ATP external interface simulation software draws on the real train cab layout to achieve a realistic and vivid display of the train operation interface and the external interface corresponding to the ATP application software to be tested. The train operation interface includes cab activation, driver's steering handle, traction brake handle, and train pressure, and supports configurable display: in automatic test mode, the signal of the test script is displayed; in manual test mode, the train operation interface can be manually operated.

[0066] The ATP external interface simulation software can also display the speed and position of the train in an image according to the external input, analyze the test script, and display the connection status of the transponder, signal, track code and external equipment (such as Radio Block Center (RBC) equipment, etc.). The ATP external interface simulation software can support the display of virtual trains according to the script of the test case, display and modify the transponder icon (including the position and adjustment of the transponder, support the display of the transponder message and modification function in the interface), display the name of the ground track section, display and modify the ground code sequence, display the signal position, display the signal light position according to the code sequence and update it to the script of the test case and the corresponding database after modification; support manual multi-vehicle tracking test; support real-time display of whether the working status of each module or board on the vehicle is normal; support the stop function of the ground equipment and transponder of the display interface; support the display and testing of the cabs at both ends of a train.

[0067] Among them, the ATP external interface includes the input and output of the digital IO (Input / Output) interface and the input and output of the analog IO interface. The input and output signals support configurable display: in automatic test mode, the signal of the test script is displayed; in manual test mode, the train interface can be operated manually.

[0068] In one implementation of this embodiment, the method further includes:

[0069] After detecting that a new target test script has been added to the on-board ATP development and debugging platform, determine the simulator type corresponding to the target test script; according to the simulator type corresponding to the target test script, deploy a target simulator matching the simulator type in the on-board external device simulation software.

[0070] In a specific embodiment, Figure 1b As shown, the on-board ATP development and debugging platform currently includes transponder message scripts and wireless data scripts. If it is detected that other extensible simulator scripts (i.e., target test scripts) are newly added to the on-board ATP development and debugging platform, a matching target simulator can be deployed in the on-board external device simulation software according to the simulator type corresponding to the target test script, thereby realizing different functional tests of the ATP application software to be tested.

[0071] The technical solution provided by the embodiment of the present invention configures the communication attribute information corresponding to the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software and the vehicle-mounted external device simulation software in the GSSAP platform simulation software, establishes the attribute tables corresponding to the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software and the vehicle-mounted external device simulation software, obtains the test script corresponding to the ATP application software to be tested and parses the test script through the vehicle-mounted script parsing processing software, and parses the test script through the GSSAP platform simulation software according to the parsed test script, the server attribute information in each attribute table and the execution The technical means of sending control instructions in a row cycle, communicating according to the control instructions and the corresponding attribute tables through the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software and the on-board external device simulation software, obtaining the communication results between the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software and the on-board external device simulation software, determining the simulation results according to the communication results, and debugging the ATP application software to be tested can significantly improve the debugging efficiency and quality of the ATP software, reduce the dependence on the laboratory hardware environment, reduce the complexity and cost of laboratory testing, and accelerate the verification and iteration of software functions.

[0072] Figure 3 A schematic diagram of the structure of an on-board ATP debugging device provided in an embodiment of the present invention, wherein the device is applied to an on-board ATP development and debugging platform, such as Figure 3 As shown, the device includes: a script parsing module 310, an instruction sending module 320 and a debugging module 330.

[0073] The script parsing module 310 is used to obtain the test script corresponding to the ATP application software to be tested through the vehicle-mounted script parsing processing software, and parse the test script;

[0074] The instruction sending module 320 is used to send control instructions to the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software and the vehicle-mounted external device simulation software through the GSSAP platform simulation software according to the parsed test script;

[0075] The debugging module 330 is used to debug the ATP application software to be tested according to the simulation results of the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software and the vehicle-mounted external device simulation software.

[0076] The technical solution provided by the embodiment of the present invention obtains the test script corresponding to the ATP application software to be tested through the vehicle-mounted script parsing processing software, and parses the test script. Through the GSSAP platform simulation software, according to the parsed test script, control instructions are sent to the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software and the vehicle-mounted external device simulation software. According to the simulation results of the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software and the vehicle-mounted external device simulation software, the technical means for debugging the ATP application software to be tested can significantly improve the debugging efficiency and quality of the ATP software, reduce the dependence on the laboratory hardware environment, reduce the complexity and cost of laboratory testing, and accelerate the verification and iteration of software functions.

[0077] On the basis of the above-mentioned embodiment, the ATP external interface simulation software is used to display the train operation interface and the external interface corresponding to the ATP application software to be tested.

[0078] The device also includes:

[0079] An attribute information configuration module, used to configure communication attribute information corresponding to the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software, and the vehicle-mounted external device simulation software in the GSSAP platform simulation software;

[0080] An attribute table establishment module is used to establish attribute tables corresponding to the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software, and the vehicle-mounted external device simulation software, respectively, according to the communication attribute information; the communication attribute information includes address, name, execution cycle, and server attribute information;

[0081] A display module, for displaying the train operation interface and the external interface to the user in response to an operation instruction triggered by the user on the ATP external interface simulation software, so that the user can operate the train operation interface or the external interface;

[0082] A type determination module, used to determine the simulator type corresponding to the target test script after detecting that a target test script is newly added to the vehicle-mounted ATP development and debugging platform;

[0083] The simulator deployment module is used to deploy a target simulator matching the simulator type in the vehicle-mounted external device simulation software according to the simulator type corresponding to the target test script.

[0084] The instruction sending module 320 includes:

[0085] A control instruction sending unit is used to send control instructions to the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software and the vehicle-mounted external device simulation software through the GSSAP platform simulation software according to the parsed test script, the server attribute information in each attribute table and the execution cycle;

[0086] A communication unit, used to communicate according to the control instructions and the corresponding attribute table through the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software and the vehicle-mounted external device simulation software;

[0087] The simulation result determination unit is used to obtain the communication results between the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software and the vehicle-mounted external device simulation software, and determine the simulation result according to the communication results.

[0088] The above device can execute the methods provided by all the above embodiments of the present invention, and has the corresponding functional modules and beneficial effects of executing the above methods. For technical details not fully described in the embodiments of the present invention, please refer to the methods provided by all the above embodiments of the present invention.

[0089] Figure 4 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0090] like Figure 4As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0091] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0092] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the vehicle-mounted ATP debugging method.

[0093] In some embodiments, the on-board ATP debugging method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the on-board ATP debugging method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the on-board ATP debugging method in any other appropriate manner (e.g., by means of firmware).

[0094] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0095] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0096] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0097] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0098] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0099] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0100] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0101] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A vehicle-mounted ATP debugging method, characterized in that: Applied to the vehicle-mounted ATP development and debugging platform, the method includes: Obtaining the test script corresponding to the ATP application software to be tested through the on-board script parsing and processing software, and parsing the test script; Through the GSSAP platform simulation software, according to the parsed test script, control instructions are sent to the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software, and the vehicle-mounted external device simulation software; The ATP application software to be tested is debugged according to the simulation results of the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software and the vehicle-mounted external device simulation software.

2. The method according to claim 1, characterized in that Before obtaining the test script corresponding to the ATP application software to be tested through the on-board script parsing and processing software, it also includes: Configure the communication attribute information corresponding to the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software and the vehicle-mounted external device simulation software in the GSSAP platform simulation software; According to the communication attribute information, establish attribute tables corresponding to the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software, and the vehicle-mounted external device simulation software respectively; The communication attribute information includes address, name, execution cycle and server attribute information.

3. The method according to claim 2, characterized in that Through the GSSAP platform simulation software, according to the parsed test script, control instructions are sent to the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software, and the vehicle-mounted external device simulation software, including: Through the GSSAP platform simulation software, control instructions are sent to the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software and the vehicle-mounted external device simulation software according to the parsed test script, the server attribute information in each attribute table and the execution cycle.

4. The method according to claim 2, characterized in that: After sending control instructions to the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software and the vehicle-mounted external device simulation software according to the parsed test script through the GSSAP platform simulation software, it also includes: Communicate according to the control instructions and the corresponding attribute table through the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software and the vehicle-mounted external device simulation software; Obtain the communication results between the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software and the vehicle-mounted external device simulation software, and determine the simulation result according to the communication result.

5. The method according to claim 1, characterized in that The ATP external interface simulation software is used to display the train operation interface and the external interface corresponding to the ATP application software to be tested; the method also includes: In response to an operation instruction triggered by a user on the ATP external interface simulation software, the train operation interface and the external interface are displayed to the user so that the user can operate the train operation interface or the external interface.

6. The method according to claim 1, characterized in that The method further comprises: After detecting that a target test script is newly added to the vehicle-mounted ATP development and debugging platform, determining a simulator type corresponding to the target test script; According to the simulator type corresponding to the target test script, a target simulator matching the simulator type is deployed in the vehicle-mounted external device simulation software.

7. A vehicle-mounted ATP debugging device, characterized in that: Applied to the vehicle-mounted ATP development and debugging platform, the device includes: A script parsing module, used to obtain the test script corresponding to the ATP application software to be tested through the vehicle-mounted script parsing processing software, and parse the test script; The instruction sending module is used to send control instructions to the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software and the vehicle-mounted external device simulation software through the GSSAP platform simulation software according to the parsed test script; The debugging module is used to debug the ATP application software to be tested according to the simulation results of the ATP application software to be tested, the DMI application software to be tested, the ATP external interface simulation software and the vehicle-mounted external device simulation software.

8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the in-vehicle ATP debugging method described in any one of claims 1-6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the vehicle-mounted ATP debugging method according to any one of claims 1 to 6 when executed.

10. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the in-vehicle ATP debugging method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • CTCS3 + ATO system vehicle-mounted equipment simulation test platform

    CN111649966A

  • Indoor and outdoor difference optimization method and system for rail transit signal system

    CN114154312A

  • Functional verification method for CTCS3-level train control system based on 5G-R

    CN117302319A

  • Train control simulation system and automatic turn-back function test method

    CN118348824A