ATO equipment function test method and device, equipment, storage medium and product
By determining vehicle location information, sending target route configuration information, and generating status information during ATO device functional testing, the problems of low flexibility in route scenario switching and low testing efficiency are solved, achieving more efficient functional testing.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- CRSC RESEARCH & DESIGN INSTITUTE GROUP CO LTD
- Filing Date
- 2026-01-09
- Publication Date
- 2026-04-28
AI Technical Summary
Existing vehicle-mounted ATO equipment functional testing systems suffer from poor flexibility in switching circuit scenarios, poor applicability to testing scenarios, and low testing efficiency.
By determining the vehicle location information of the simulated vehicle under test, the target line configuration information is sent to the on-board ATO device of the real vehicle under test, generating ATO status information, and controlling the simulated vehicle under test to generate simulation status information. Functional tests are then performed based on the simulation and ATO status information, improving the flexibility and efficiency of line scenario switching.
It improves the flexibility and efficiency of line scenario switching in functional testing of ATO equipment, has a certain degree of versatility, does not depend on other systems, simplifies the deployment process, and reduces reliance on peripheral equipment.
Smart Images

Figure CN121936142A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of simulation testing technology, and in particular to a method, apparatus, equipment, storage medium, and product for functional testing of ATO devices. Background Technology
[0002] For system or equipment testing, semi-physical simulation or semi-physical simulation techniques are often used to achieve more realistic test results. Current onboard ATO (Automatic Train Operation) testing systems mainly involve: using custom scripts, where simulation software reads the scripts and triggers certain scenarios under fixed positions or speeds, sending corresponding data to the onboard ATO device under test to simulate the test scenario; or building a test architecture or providing a proxy system to associate the necessary ground equipment, onboard ATP devices, or their software interfaces, with the test architecture injecting data into specific devices to drive the entire test environment.
[0003] However, the above-mentioned methods for switching between test circuit scenarios for vehicle-mounted ATO equipment have poor flexibility, poor applicability to test scenarios, and low efficiency in testing equipment functions. Summary of the Invention
[0004] This invention provides a method, apparatus, equipment, storage medium, and product for functional testing of ATO equipment, in order to improve the flexibility of line scenario switching and increase testing efficiency during the functional testing of ATO equipment.
[0005] According to one aspect of the present invention, an ATO device functional testing method is provided, the method comprising:
[0006] In response to the tester's vehicle addition operation on the line simulation interface, determine the vehicle location information of the added simulated test vehicle;
[0007] Based on the vehicle location information, target route configuration information is determined and sent to the on-board ATO device corresponding to the real test vehicle associated with the simulated test vehicle, so that the on-board ATO device can generate and feed back ATO status information based on the target route configuration information.
[0008] The simulated vehicle under test is controlled to generate simulation status information based on the target route configuration information;
[0009] Based on the simulation status information and the ATO status information, the on-board ATO device is functionally tested to obtain the device functional test results.
[0010] According to another aspect of the present invention, an ATO (Automatic Test Equipment) device functional testing apparatus is provided, the apparatus comprising:
[0011] The location information determination module is used to determine the vehicle location information of the added simulated vehicle in response to the vehicle addition operation of the tester on the line simulation interface.
[0012] The route information determination module is used to determine and send target route configuration information to the on-board ATO device corresponding to the real test vehicle associated with the simulated test vehicle based on the vehicle location information, so that the on-board ATO device can generate and feed back ATO status information based on the target route configuration information.
[0013] The status information determination module is used to control the simulated vehicle under test to generate simulation status information based on the target route configuration information;
[0014] The functional testing module is used to perform functional tests on the vehicle-mounted ATO device based on the simulation state information and the ATO state information, and obtain the device functional test results.
[0015] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0016] At least one processor; and
[0017] A memory communicatively connected to the at least one processor; wherein,
[0018] The memory stores a computer program that can be executed by the at least one processor, which enables the at least one processor to perform the ATO device functional testing method according to any embodiment of the present invention.
[0019] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement the ATO device functional testing method according to any embodiment of the present invention.
[0020] According to another aspect of the present invention, a computer program product is provided, comprising a computer program that, when executed by a processor, implements the ATO device functional testing method according to any embodiment of the present invention.
[0021] The technical solution of this invention determines the vehicle location information of the added simulated vehicle under test, and based on the vehicle location information, determines and sends target route configuration information to the on-board ATO device corresponding to the real vehicle under test associated with the simulated vehicle under test. The on-board ATO device then generates and feeds back ATO status information based on the target route configuration information, controls the simulated vehicle under test to generate simulation status information based on the target route configuration information, and performs functional testing on the on-board ATO device based on the simulation status information and ATO status information to obtain the device functional test results. This improves the flexibility of switching functional test route scenarios for the on-board ATO device, has a certain degree of versatility in different functional test scenarios, does not depend on other systems, has no complex architectural relationships, is easy to deploy, and does not require simulating the complex functions of peripheral devices, thus improving the efficiency of device functional testing to a certain extent.
[0022] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0023] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0024] Figure 1 This is a flowchart of an ATO device functional testing method provided in Embodiment 1 of the present invention;
[0025] Figure 2 This is a schematic diagram of the structure of an ATO device functional testing device according to Embodiment 3 of the present invention;
[0026] Figure 3 This is a schematic diagram of the structure of an electronic device that implements the ATO device functional testing method of this invention. Detailed Implementation
[0027] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0028] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0029] Example 1
[0030] Figure 1 This is a flowchart of an ATO (Automatic Train Operation) equipment functional testing method provided in Embodiment 1 of the present invention. This embodiment is applicable to the functional simulation and testing of ATO equipment based on track sections. The method can be executed by an ATO equipment functional testing device, which can be implemented in hardware and / or software and can be configured in an electronic device. Figure 1 As shown, the method includes:
[0031] S110, In response to the tester's vehicle addition operation on the line simulation interface, determine the vehicle location information of the added simulated vehicle under test.
[0032] S120. Based on the vehicle location information, determine and send the target line configuration information to the on-board ATO device corresponding to the real vehicle being tested, which is associated with the simulated vehicle being tested, so that the on-board ATO device can generate and feed back ATO status information based on the target line configuration information.
[0033] S130. The control simulation of the vehicle under test generates simulation state information based on the target route configuration information.
[0034] S140. Perform functional tests on the vehicle-mounted ATO device based on the simulation status information and ATO status information, and obtain the device functional test results.
[0035] It should be noted that in this embodiment, the main program of the simulation software can be used as the execution subject to perform the operation steps of this embodiment.
[0036] The simulation software's main program can be pre-configured with a route configuration file, which stores section-related information for at least one track segment. By reading the route configuration file, track segment simulations can be performed on the route simulation interface. Test personnel can then add simulated vehicles, or virtual vehicles, to the generated route simulation interface.
[0037] The line configuration file stores segment-related data for different track sections. Specifically, this may include: track section identifier, track section name, track section length, track section attributes, track section low frequency, and track section direction; the corresponding uplink and downlink sections; transponder identifiers, transponder offset positions, transponder attributes, and transponder messages on the track section; stop location and stop attributes on the track section; left and right platform identifiers, left and right platform names, stop times, door opening side, and door opening sequence; track section speed limits, speed limit start positions, and speed limit lengths; gradient values, gradient start positions, and gradient lengths; de-energized zone start positions and de-energized zone lengths; signal identifiers, signal positions, and signal directions.
[0038] Specifically, the track segments and related data in the above-mentioned route configuration file can be generated as code data in the form of tags. Through the tag data of the track segments, different track segments can be spliced together by modifying the link relationship of the track segments later, which has the characteristic of being reusable.
[0039] The vehicle location information can be the track section where the simulated vehicle under test is located. The actual vehicle under test is the same as the simulated vehicle under test. The target route configuration information can be the route configuration information related to the actual vehicle under test or the simulated vehicle under test.
[0040] In one optional embodiment, based on vehicle location information, determining and sending target route configuration information to the on-board ATO device corresponding to the real vehicle under test associated with the simulated vehicle under test includes: obtaining a communication interface configuration file and determining the communication interface information of the simulated vehicle under test based on the communication interface configuration file; obtaining a route configuration file and selecting target route configuration information associated with the simulated vehicle under test from the route configuration file based on vehicle location information; and sending the target route configuration information to the on-board ATO device corresponding to the real vehicle under test associated with the simulated vehicle under test based on the communication interface information.
[0041] The communication interface configuration file can be a file containing information about the external interfaces of the simulation software's main program. Specifically, it can include the addresses and port information of different train vehicles.
[0042] The communication interface configuration file contains the following information:
[0043] <train id="1">
[0044] <sim name="DstVobcSim">
[0045] <ip> 127.0.0.1< / ip>
[0046] <port> 15000< / port>
[0047] < / sim>
[0048] < / train>
[0049] <train id="10">
[0050] <sim name="DstVobcSim">
[0051] <ip> 127.0.0.1< / ip>
[0052] <port> 20000< / port>
[0053] < / sim>
[0054] < / train>
[0055] In this context, the "id" within the "train" tag represents the vehicle identifier. After the simulation software's main program loads the interface, testers can add vehicle IDs to the interface. When a vehicle ID added to the interface exists in this communication interface configuration file, the simulation software's main program will communicate with the corresponding external software or device according to the network configuration information in this file.
[0056] IP tag <ip> 127.0.0.1< / ip> This indicates the IP address of the vehicle-mounted ATO device with "id" set to "1". <port> 15000< / port> This indicates the port of the vehicle-mounted ATO device with "id" as "1".
[0057] For example, based on the communication interface configuration file, it is determined whether the vehicle-related communication interface information of the simulated vehicle under test added by the tester exists in the communication interface configuration file. If it does, the communication interface information of the simulated vehicle under test is obtained from the communication interface configuration file; if not, the tester is sent a message indicating that the added simulated vehicle under test does not exist or an error message is generated.
[0058] Based on the vehicle location information, the track segment associated with the simulated vehicle under test is determined, and the target track configuration information for the track segment associated with the simulated vehicle under test is selected from the track configuration file. Based on the communication interface information, a communication connection is established between the onboard ATO device corresponding to the real vehicle under test associated with the simulated vehicle under test, and the target track configuration information is periodically sent to the onboard ATO device corresponding to the real vehicle under test. The onboard ATO device operates based on the target track configuration information and generates ATO status information. The generated ATO status information is then fed back to the main program of the simulation software.
[0059] It should be noted that, in order to meet the protocol format of the vehicle-mounted ATO device, the data format of the target line configuration information needs to be converted before it is sent to the vehicle-mounted ATO.
[0060] In an optional embodiment, the target line configuration information is sent to the interface data adaptation module, and the data adaptation module performs protocol conversion on the target line configuration information to obtain the converted target line configuration information. The interface data adaptation module then sends the converted target line configuration information to the vehicle-mounted ATO device based on the communication interface information.
[0061] The interface data adaptation module can be an external, independent software or device. After receiving the target line configuration information sent by the simulation software main program, it converts this data into a format that conforms to the protocol of the vehicle-mounted ATO device under test, and sends it to the vehicle-mounted ATO device.
[0062] The interface data adaptation module is also used to: determine whether the converted target line configuration information needs to be converted using a hardware interface; if so, convert the converted target line configuration information using a hardware interface and send the converted target line configuration information to the vehicle-mounted ATO device.
[0063] Determine whether the target line configuration information after conversion needs to undergo hardware interface conversion. If so, drive the hardware interface conversion device to convert the data into other communication interface forms, relay interfaces, dry contacts, etc., and interact with the vehicle-mounted ATO device under test.
[0064] The simulation software's main program controls the simulated vehicle under test to simulate its operating state based on the target route configuration information, generating simulation state information. Based on the simulation state information and the ATO (Automatic Train Operation) state information, functional tests are performed on the onboard ATO equipment, yielding the equipment's functional test results.
[0065] In one optional embodiment, the vehicle-mounted ATO device is functionally tested based on simulation state information and ATO state information to obtain device functional test results, including: determining at least one function item to be tested, and determining the expected normal data corresponding to each function item to be tested; based on the simulation state information and ATO state information, and based on the expected normal data corresponding to each function item to be tested, the vehicle-mounted ATO device is functionally tested to obtain device functional test results.
[0066] The functions to be tested can be the items for which device functions need to be tested. The expected normal data for the functions to be tested can be the data that the testers expect to obtain when the functions are functioning normally.
[0067] In an optional embodiment, based on the simulation state information and the ATO state information, and based on the expected normal data corresponding to each function item to be tested, the vehicle-mounted ATO device is functionally tested to obtain the device functional test results. This includes: if the function item to be tested is the parking accuracy function test, then based on the speed information in the ATO state information, and based on the section occupancy status, parking point information and braking node status in the simulation state information, and based on the expected normal data corresponding to the parking accuracy function test, the vehicle-mounted ATO device is tested for parking accuracy to obtain the parking accuracy function test results.
[0068] The specific function to be tested is the parking accuracy test for a certain track section, including parking error testing and braking status testing. The expected normal data for the parking accuracy test can include reference standard parking error and standard braking status, which can be pre-set by relevant technical personnel.
[0069] The system retrieves parking error and speed information from the ATO status information, and section occupancy status, parking point information, and braking node status from the simulation status information. The retrieved parking error is compared with the reference parking error to determine if the error difference is within the normal threshold range. If yes, the error test passes; otherwise, it fails. The retrieved braking status is compared with the standard braking status to determine if they are consistent. If they are consistent, the braking status test passes; otherwise, it fails. The system checks if the speed information is 0 and if the parking point information is less than 30. If yes, the speed and parking point tests pass.
[0070] In one optional embodiment, based on the simulation status information and ATO status information, and based on the expected normal data corresponding to each function item to be tested, the on-board ATO device is functionally tested to obtain the device functional test results. This includes: if the function item to be tested is the signal red light stopping test, then based on the stopping error in the ATO status information, the track section offset, and the section occupancy status in the simulation status information, and based on the expected normal data corresponding to the stopping accuracy function test, the on-board ATO device is tested for the signal red light stopping to obtain the signal red light stopping test results.
[0071] The specific function to be tested is the accuracy of the ATO (Automatic Train Operation) in stopping the train at the reference stopping point before the signal when the section signal is red. The expected normal data that the test personnel need to configure includes: track section occupancy status, reference stopping point position, ATO speed, and reference standard stopping error. The required ATO status data includes ATO stopping error and the track section offset where the ATO is located.
[0072] Specifically, when the ATO speed is 0, if the simulation software confirms that the track section outside the red light signal is occupied, then it matches the expected data. When the ATO speed is 0, the stopping error in the acquired ATO status data is compared with the expected reference standard stopping error. If they match, the test passes; otherwise, the test fails. When the ATO speed is 0, the offset of the track section where the ATO is located in the acquired ATO status data is compared with the offset of the reference stopping point position in the track section. If the difference is less than the reference standard stopping error, the test passes; otherwise, the test fails.
[0073] Optionally, the specific function to be tested is that the ATO should be able to parse the phase-splitting zone location from the received transponder data, and when the ATO-controlled train passes through the phase-splitting zone, it should not output traction within the zone. The expected normal data corresponding to this function to be tested includes the train's location, the phase-splitting zone entrance location, and the traction node level status. The train's location and the phase-splitting zone entrance location can be obtained from the simulation state data. The required ATO state data includes the traction node level status.
[0074] Specifically, when the actual location of the vehicle under test is within the phase-separation zone, the traction node output obtained from the ATO status data is compared with the expected traction node level state to obtain the test result. If they match, the test passes; otherwise, the test fails. The train position when the ATO drives the traction node from high to low level is compared with the phase-separation zone entrance position. The difference should be less than the user-set preset value. If the difference is less than the user-set preset value, it indicates that the ATO device has resolved the correct phase-separation zone position from the transponder data, and the test for this function item has passed.
[0075] Optionally, the specific function to be tested is that when a planned skip stop is issued at the next station, the onboard ATO device should pass through the next station without stopping. For this test item, the expected normal data configured by the tester may include: track section occupancy status, which can be derived from simulation data, and ATO non-zero speed values. The required ATO status data for this test item includes ATO speed.
[0076] Specifically, when the track section to which the platform belongs is occupied, the ATO speed is compared with the expected normal speed. If the speed value obtained from the ATO status data is continuously not 0, the test of the function item to be tested is passed.
[0077] Optionally, the specific function to be tested is that the ATO should be able to parse the line gradient value from the received transponder data, and the ATO should apply traction in advance to prevent rollback when starting uphill. For this function to be tested, the expected data configured by the tester includes maintaining the braking node level later than the braking node level changing from active to inactive. The required ATO status data includes maintaining the braking node level status, braking node level status, and ATO speed.
[0078] Specifically, the onboard ATO device controls the sequence of events: after passing the transponder, the section signal is closed on the uphill section. After checking that the ATO speed is 0, the signal is opened. At this point, the ATO is stationary on the uphill section. After activating the ATO, the difference between the time the braking node level is pulled low and the time the braking node level remains low is subtracted. If the difference is positive and less than the user-preset value, the test for the function item under test is considered passed.
[0079] Optionally, the specific function to be tested is that the ATO should be able to parse the static speed limit value of the line from the received transponder data, and the speed should be controlled below the static speed limit during ATO operation. For this function, the expected normal data configured by the tester includes the ATO speed being within a threshold range below the user-set static speed limit value. The required ATO status data for this test includes the ATO speed.
[0080] Specifically, after the ATO passes the transponder, the ATO speed is periodically compared with the speed threshold under the user-preset static speed limit to obtain the test result. If it is greater than the speed threshold, the test of the function item under test fails; if it is not greater than the speed threshold, the test of the function item under test passes.
[0081] Optionally, the specific function to be tested is that after the ATO platform stops accurately, in automatic door opening and closing mode, the doors should open automatically and close automatically after the stop time. For this function, the expected normal data configured by the tester includes standard stopping error, the timing of the door opening node level rise, and the timing of the door closing node level rise. The required ATO status data for this test function includes the door opening node level status, the door closing node level status, ATO speed, ATO stopping error, and ATO departure countdown.
[0082] Specifically, upon receiving the ATO parking error, the ATO parking error is compared with the standard parking error to obtain the ATO parking accuracy status. After ATO parking is accurate, the time difference between the high-level signal of the door opening node obtained from ATO and the accurate parking moment is compared to obtain the ATO automatic door opening execution result. The ATO departure countdown is compared to see if it is 0 to obtain the expected door closing moment. The time difference between the expected door closing moment and the high-level signal of the door closing node obtained from ATO is compared to obtain the ATO automatic door closing execution result. If the time difference is greater than a preset threshold, the test of the function item under test fails; if the time difference is not greater than the preset threshold, the test of the function item under test passes.
[0083] The technical solution of this invention determines the vehicle location information of the added simulated vehicle under test, and based on the vehicle location information, determines and sends target route configuration information to the on-board ATO device corresponding to the real vehicle under test associated with the simulated vehicle under test. The on-board ATO device then generates and feeds back ATO status information based on the target route configuration information, controls the simulated vehicle under test to generate simulation status information based on the target route configuration information, and performs functional testing on the on-board ATO device based on the simulation status information and ATO status information to obtain the device functional test results. This improves the flexibility of switching functional test route scenarios for the on-board ATO device, has a certain degree of versatility in different functional test scenarios, does not depend on other systems, has no complex architectural relationships, is easy to deploy, and does not require simulating the complex functions of peripheral devices, thus improving the efficiency of device functional testing to a certain extent.
[0084] Example 2
[0085] Figure 2 This is a schematic diagram of an ATO equipment functional testing device provided in Embodiment 2 of the present invention. The ATO equipment functional testing device provided in this embodiment of the present invention is applicable to the simulation and testing of ATO equipment functions based on track sections. This ATO equipment functional testing device can be implemented in hardware and / or software, such as... Figure 2 As shown, the ATO device functional testing device can be configured in electronic equipment, specifically including: a location information determination module 201, a line information determination module 202, a status information determination module 203, and a functional testing module 204. Among them,
[0086] The location information determination module 201 is used to determine the vehicle location information of the added simulated vehicle in response to the vehicle addition operation of the tester on the line simulation interface.
[0087] The route information determination module 202 is used to determine and send target route configuration information to the on-board ATO device corresponding to the real test vehicle associated with the simulated test vehicle based on the vehicle location information, so that the on-board ATO device can generate and feed back ATO status information based on the target route configuration information.
[0088] The status information determination module 203 is used to control the simulated vehicle under test to generate simulation status information based on the target route configuration information;
[0089] The functional test module 204 is used to perform functional tests on the vehicle-mounted ATO device based on the simulation status information and the ATO status information, and obtain the device functional test results.
[0090] The technical solution of this invention determines the vehicle location information of the added simulated vehicle under test, and based on the vehicle location information, determines and sends target route configuration information to the on-board ATO device corresponding to the real vehicle under test associated with the simulated vehicle under test. The on-board ATO device then generates and feeds back ATO status information based on the target route configuration information, controls the simulated vehicle under test to generate simulation status information based on the target route configuration information, and performs functional testing on the on-board ATO device based on the simulation status information and ATO status information to obtain the device functional test results. This improves the flexibility of switching functional test route scenarios for the on-board ATO device, has a certain degree of versatility in different functional test scenarios, does not depend on other systems, has no complex architectural relationships, is easy to deploy, and does not require simulating the complex functions of peripheral devices, thus improving the efficiency of device functional testing to a certain extent.
[0091] Optionally, the route information determination module 202 includes:
[0092] The configuration file acquisition unit is used to acquire the communication interface configuration file and determine the communication interface information of the simulated vehicle under test based on the communication interface configuration file.
[0093] The target route information selection unit is used to obtain the route configuration file and select the target route configuration information associated with the simulated vehicle under test from the route configuration file according to the vehicle location information.
[0094] The target route information sending unit is used to send the target route configuration information to the on-board ATO device corresponding to the real vehicle under test associated with the simulated vehicle under test, based on the communication interface information.
[0095] Optionally, the target line information sending unit includes:
[0096] The line configuration information sending subunit is used to send the target line configuration information to the interface data adaptation module, and the data adaptation module performs protocol conversion on the target line configuration information to obtain the converted target line configuration information. The interface data adaptation module then sends the converted target line configuration information to the vehicle-mounted ATO device based on the communication interface information.
[0097] The interface data adaptation module is further used for:
[0098] Determine whether the converted target line configuration information needs to be converted using a hardware interface. If so, perform hardware interface conversion on the converted target line configuration information and send the converted target line configuration information to the vehicle-mounted ATO device.
[0099] Optionally, the functional test module 204 includes:
[0100] The test item determination unit is used to determine at least one test item and to determine the expected normal data corresponding to each test item.
[0101] The functional testing unit is used to perform functional tests on the vehicle-mounted ATO device based on the simulation state information and the ATO state information, and on the expected normal data corresponding to each of the functional items to be tested, to obtain the device functional test results.
[0102] Optional functional test units include:
[0103] The first functional testing subunit is used to perform a parking accuracy function test on the vehicle-mounted ATO device based on the speed information in the ATO status information, the section occupancy status, parking point information, and braking node status in the simulation status information, and the expected normal data corresponding to the parking accuracy function test, if the function to be tested is a parking accuracy function test, and to obtain the parking accuracy function test result.
[0104] Optional functional test units include:
[0105] The second functional testing subunit is used to perform a signal red light stop test on the on-board ATO device based on the expected normal data corresponding to the parking accuracy function test, according to the parking error, track section offset and section occupancy status in the ATO status information and the parking error, track section offset and simulation status information, if the function to be tested is a signal red light stop test.
[0106] The ATO device functional testing apparatus provided in this embodiment of the invention can execute the ATO device functional testing method provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects for executing the method.
[0107] Example 3
[0108] Figure 3 A schematic diagram of an electronic device 30 that can be used to implement embodiments 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 processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.
[0109] like Figure 3 As shown, the electronic device 30 includes at least one processor 31 and a memory, such as a read-only memory (ROM) 32 or a random access memory (RAM) 33, communicatively connected to the at least one processor 31. The memory stores computer programs executable by the at least one processor. The processor 31 can perform various appropriate actions and processes based on the computer program stored in the ROM 32 or loaded from storage unit 38 into the RAM 33. The RAM 33 can also store various programs and data required for the operation of the electronic device 30. The processor 31, ROM 32, and RAM 33 are interconnected via a bus 34. An input / output (I / O) interface 35 is also connected to the bus 34.
[0110] Multiple components in electronic device 30 are connected to I / O interface 35, including: input unit 36, such as keyboard, mouse, etc.; output unit 37, such as various types of monitors, speakers, etc.; storage unit 38, such as disk, optical disk, etc.; and communication unit 39, such as network card, modem, wireless transceiver, etc. Communication unit 39 allows electronic device 30 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0111] Processor 31 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 31 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 31 performs the various methods and processes described above, such as ATO device functional testing methods.
[0112] In some embodiments, the ATO device functional testing method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 38. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 30 via ROM 32 and / or communication unit 39. When the computer program is loaded into RAM 33 and executed by processor 31, one or more steps of the ATO device functional testing method described above may be performed. Alternatively, in other embodiments, processor 31 may be configured to perform the ATO device functional testing method by any other suitable means (e.g., by means of firmware).
[0113] Various embodiments 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-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0114] Computer programs used to implement 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, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0115] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on 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 thereof.
[0116] To provide interaction with a user, the systems and techniques described herein can 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 pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0117] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or middleware components (e.g., application servers), or frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0118] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.
[0119] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and no limitation is imposed herein.
[0120] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A method for functional testing of an ATO device, characterized in that, include: In response to the tester's vehicle addition operation on the line simulation interface, determine the vehicle location information of the added simulated test vehicle; Based on the vehicle location information, target route configuration information is determined and sent to the on-board ATO device corresponding to the real test vehicle associated with the simulated test vehicle, so that the on-board ATO device can generate and feed back ATO status information based on the target route configuration information. The simulated vehicle under test is controlled to generate simulation status information based on the target route configuration information; Based on the simulation status information and the ATO status information, the on-board ATO device is functionally tested to obtain the device functional test results.
2. The method according to claim 1, characterized in that, The step of determining and sending target route configuration information to the on-board ATO device corresponding to the real vehicle associated with the simulated vehicle based on the vehicle location information includes: Obtain the communication interface configuration file, and determine the communication interface information of the simulated vehicle under test based on the communication interface configuration file; Obtain the route configuration file, and select the target route configuration information associated with the simulated vehicle from the route configuration file based on the vehicle location information; Based on the communication interface information, the target route configuration information is sent to the on-board ATO device corresponding to the real vehicle under test associated with the simulated vehicle under test.
3. The method according to claim 2, characterized in that, The step of sending the target route configuration information to the on-board ATO device corresponding to the real vehicle under test associated with the simulated vehicle under test based on the communication interface information includes: The target line configuration information is sent to the interface data adaptation module, and the data adaptation module performs protocol conversion on the target line configuration information to obtain the converted target line configuration information. The interface data adaptation module then sends the converted target line configuration information to the vehicle-mounted ATO device based on the communication interface information. The interface data adaptation module is further used for: Determine whether the converted target line configuration information needs to be converted using a hardware interface. If so, perform hardware interface conversion on the converted target line configuration information and send the converted target line configuration information to the vehicle-mounted ATO device.
4. The method according to claim 1, characterized in that, The step of performing functional tests on the vehicle-mounted ATO device based on the simulation state information and the ATO state information to obtain device functional test results includes: Identify at least one functional item to be tested, and determine the expected normal data corresponding to each of the functional items to be tested; Based on the simulation status information and the ATO status information, and based on the expected normal data corresponding to each of the functional items to be tested, the vehicle-mounted ATO device is functionally tested to obtain the device functional test results.
5. The method according to claim 4, characterized in that, The step involves performing functional tests on the vehicle-mounted ATO device based on the simulation state information and the ATO state information, and on the expected normal data corresponding to each of the functional items to be tested, to obtain the device functional test results, including: If the function to be tested is parking accuracy function test, then based on the speed information in the ATO status information, and the section occupancy status, parking point information and braking node status in the simulation status information, and based on the expected normal data corresponding to the parking accuracy function test, the on-board ATO device is subjected to parking accuracy function test, and the parking accuracy function test result is obtained.
6. The method according to claim 4, characterized in that, The step involves performing functional tests on the vehicle-mounted ATO device based on the simulation state information and the ATO state information, and on the expected normal data corresponding to each of the functional items to be tested, to obtain the device functional test results, including: If the function to be tested is a red light stop test for a traffic signal, then based on the parking error, track section offset, and section occupancy status in the ATO status information and the expected normal data corresponding to the parking accuracy function test, the on-board ATO device is subjected to a red light stop test for a traffic signal, and the result of the red light stop test for a traffic signal is obtained.
7. A functional testing device for ATO equipment, characterized in that, include: The location information determination module is used to determine the vehicle location information of the added simulated vehicle in response to the vehicle addition operation of the tester on the line simulation interface. The route information determination module is used to determine and send target route configuration information to the on-board ATO device corresponding to the real test vehicle associated with the simulated test vehicle based on the vehicle location information, so that the on-board ATO device can generate and feed back ATO status information based on the target route configuration information. The status information determination module is used to control the simulated vehicle under test to generate simulation status information based on the target route configuration information; The functional testing module is used to perform functional tests on the vehicle-mounted ATO device based on the simulation state information and the ATO state information, and obtain the device functional test results.
8. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the ATO device functional test method according to any one of claims 1-6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that are used to cause a processor to execute the ATO device functional testing method according to any one of claims 1-6.
10. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the ATO device functional testing method according to any one of claims 1-6.