Access testing methods, systems, devices, media, and program products
By obtaining the route number and direction, determining the section for adding trains, and setting up simulated test vehicles, the system can be started directly in target mode. Combined with hidden vehicle detection, this solves the problem of time-consuming upgrades of the rail transit train control system layer by layer, and achieves an efficient testing process.
Patent Information
- Application Number
- CN202311863469.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-29
- Publication Date
- 2026-02-10
- Estimated Expiration
- 2043-12-29
AI Technical Summary
In existing technologies, when rail transit train control systems are upgraded to higher-level modes, the testing process is time-consuming, resulting in low measurement efficiency.
By obtaining the route number and direction, the vehicle addition section is determined, and a simulated test vehicle is set up in the vehicle addition section. It is then started directly in the target mode. Combined with hidden vehicle detection, this avoids upgrading layer by layer and saves test time.
This significantly improves the efficiency of testing rail transit train control systems, reduces testing time, and enhances measurement efficiency.
Smart Images

Figure CN118220294B_ABST
Abstract
Description
Technical Field
[0001] This disclosure generally relates to the field of computer technology, and more particularly to a path testing method, system, device, medium, and program product. Background Technology
[0002] Rail transit (such as trains, subways, high-speed rail, etc.) generally uses a communication-based train control (CBTC) system for train control.
[0003] Before a train control system is implemented in practice, extensive testing is conducted on the rail transit system to ensure its safe and reliable operation. The train control system includes various train operation modes. In related technologies, testing higher-level modes requires a step-by-step switching process. For example, switching from Restricted Manual Mode (RM) (with train positioning information) to Full Automatic Driverless Mode (FAM) requires first switching to Coded Mode (CM) before transitioning to FAM.
[0004] However, the testing process of upgrading to higher-level modes in the above-mentioned step-by-step testing may take a long time, ultimately resulting in low measurement efficiency. Summary of the Invention
[0005] In view of the above-mentioned defects or deficiencies in the prior art, it is desirable to provide a path testing method, system, device, medium and program product that can solve the problem that the existing testing process for higher-level modes may take a long time and ultimately lead to low measurement efficiency, thereby saving testing time and significantly improving testing efficiency.
[0006] Firstly, a route testing method is provided, the method comprising:
[0007] Obtain the route number and route direction of the route to be tested;
[0008] Based on the route number and the route direction, the vehicle addition section corresponding to the route to be tested is determined. The vehicle addition section is the starting section of the simulated test vehicle for the route to be tested. The vehicle addition section is a logical section. The vehicle addition section is the section along the route direction before the route to be tested.
[0009] Input the first command to control the physical section corresponding to the vehicle addition section to change from an idle state to a locked state. The physical section includes N logical sections, where N is a positive integer.
[0010] The simulated test vehicle is set up in the vehicle addition section, the simulated test vehicle is started in the first mode, and the end to be activated of the simulated test vehicle is confirmed according to the route direction. The preset initial mode of the simulated test vehicle is the first mode, and the first mode is separated from the initial mode of the simulated test measurement by at least one mode level.
[0011] Input a second instruction to perform hidden vehicle detection on the simulated test vehicle. The second instruction is used to instruct that when the next vehicle of the simulated test vehicle leaves the physical section corresponding to the vehicle addition section, the physical section corresponding to the vehicle addition section is adjusted from a locked state to an idle state.
[0012] In this application, the route number and direction of the route to be tested (i.e., the route to be tested) are first obtained. Then, based on the route number and direction, the starting section (i.e., the vehicle addition section, which is a logical section) of the simulated test vehicle to be tested on the route to be tested is determined. Then, an instruction is input to the physical section corresponding to the vehicle addition section to control it to switch to a locked state, so that the vehicle addition section is adjusted from an idle state to a locked state. A simulated test vehicle in the first mode is set in the vehicle addition section in the locked state, and the simulated test vehicle is started in the first mode. The activation end of the simulated test vehicle is confirmed according to the route direction (the first mode and the initial mode of the simulated test vehicle are separated by at least one mode level). Finally, a second instruction is input to the physical section corresponding to the vehicle addition section to control it to switch the physical section from the aforementioned locked state back to an idle state when the next vehicle of the simulated test vehicle leaves the physical section corresponding to the vehicle addition section. Then, hidden vehicle detection is performed on the simulated test vehicle. Thus, when there is at least one mode level between the mode to be tested (i.e., the first mode) and the initial mode of the simulated test vehicle, the state of the vehicle addition section can be switched to the locked state by inputting commands. This allows the simulated test vehicle to start directly in the first mode to be tested without having to upgrade layer by layer, saving test time and greatly improving test efficiency.
[0013] Secondly, a route testing system is provided, the system comprising: an automated testing platform, an automated testing environment, an on-board controller, a zone controller, and a computer interlocking system.
[0014] The automated testing platform is used to obtain the route number and route direction of the route under test;
[0015] The automated testing platform is also used to determine the vehicle addition section corresponding to the route to be tested based on the route number and the route direction. The vehicle addition section is the starting section of the simulated test vehicle for the route to be tested. The vehicle addition section is a logical section. The vehicle addition section is the section along the route direction before the route to be tested.
[0016] The computer interlocking is used to input a first instruction based on the added vehicle section to control the physical section corresponding to the added vehicle section to change from an idle state to a locked state. The physical section includes N logical sections, where N is a positive integer.
[0017] An automated testing environment is used to set up the simulated test vehicle in the vehicle addition section and to determine the activation end of the simulated test vehicle according to the route direction. The preset initial mode of the simulated test vehicle is the first mode, and the first mode is separated from the initial mode of the simulated test measurement by at least one mode level.
[0018] An onboard controller is used to start the simulated test vehicle in the first mode.
[0019] The area controller is also used to perform hidden vehicle detection on the simulated test vehicle;
[0020] The computer interlock is used to input a second command; the second command is used to instruct that when the next vehicle of the simulated test vehicle leaves the physical section corresponding to the vehicle addition section, the physical section corresponding to the vehicle addition section is adjusted from a locked state to an idle state.
[0021] Thirdly, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, it implements the method described in the first aspect.
[0022] Fourthly, a computer-readable storage medium is provided having a computer program stored thereon, characterized in that the program, when executed by a processor, implements the method described in the first aspect above.
[0023] Fifthly, a computer program product is provided, which includes instructions that, when executed by a processor, implement the method described in the first aspect above.
[0024] Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description
[0025] Other features, objects, and advantages of this application will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings:
[0026] Figure 1 A schematic flowchart of a route testing method provided in an embodiment of this application;
[0027] Figure 2 This is a schematic diagram of the structure of a route testing system provided in an embodiment of this application;
[0028] Figure 3 A schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation
[0029] The present application will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and not intended to limit it. Furthermore, it should be noted that, for ease of description, only the parts relevant to the invention are shown in the accompanying drawings.
[0030] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.
[0031] The application scenarios of this application are described below:
[0032] Rail transit (such as trains, subways, and high-speed trains) typically uses a communication-based train control system (CBTC) for train control. Before a CBTC system is put into operation, extensive data and functional testing is required to ensure that the train control system can ultimately control the train to operate normally and safely on the track.
[0033] The train control system includes multiple train operation modes, with FAM mode being the highest level. In related technologies, measuring the FAM mode in the train control system requires upgrading the train layer by layer until it reaches FAM mode, thus measuring the safety of the rail transit. Specifically, the train upgrade method in related technologies includes the following steps: 1) Manually adding a train to Restricted Manual Mode (RM) (without train positioning information); 2) Controlling the train to complete positioning upgrade to RM mode (with train positioning information) after passing two transponders; 3) Initiating registration with the Zone Controller (ZC). After successful ZC registration, determining whether the conditions for upgrading to CBTC control level are met; 4) If the CBTC control level conditions are met, upgrading to Coded Mode (CM); otherwise, continuing operation in RM mode (with positioning); 5) After upgrading to CM mode, determining whether the conditions for upgrading to FAM mode are met; 6) If the conditions for upgrading to FAM mode are met, upgrading to FAM mode can proceed.
[0034] The above upgrade method to FAM mode has the following problems:
[0035] 1. The route for the logic section where the additional train is located must be processed. The processing time for the route is relatively long. If there are switches in the route and the switches are not in the expected position, it will take a long time to move the switches to the expected position before the route can be processed.
[0036] 2. If there are signals that must be opened simultaneously in the route where the logic section of the vehicle is added, the signals that must be opened simultaneously need to be opened first. However, if the route involved in opening the signals that must be opened simultaneously happens to be the route under test, it will affect the subsequent testing.
[0037] 3. Some logical segments do not have a previous route in the same direction as the route to be tested, making it impossible to process the previous route and thus preventing the addition of vehicles, which can easily restrict vehicle addition.
[0038] Overall, the process of upgrading layer by layer to finally reach FAM mode may take a long time, resulting in low measurement efficiency.
[0039] The following is an explanation of the terms used in the embodiments of this application:
[0040] 1. Train route
[0041] The path a train travels is called a route, which generally includes train routes and shunting routes (shunting routes are further divided into lead-out routes and turnaround routes).
[0042] A route is the path taken by a train, shunting locomotive, or trainset from one location to another within a station.
[0043] 2. Physical Section
[0044] The physical sections are divided by axle counting sensors installed next to the train tracks, also known as axle counting sections.
[0045] 3. Logical Section:
[0046] A logical segment is a long physical segment divided into several virtual segments, serving as the smallest unit for detecting train occupancy clearing in the CBTC system.
[0047] Based on this, this application proposes a route testing method, system, device, medium, and program product that can solve the problem of excessive space occupied by resource addresses in JWT, thereby greatly saving transmission resources between service nodes and improving the transmission efficiency between service nodes to a certain extent.
[0048] Figure 1 This is a flowchart illustrating a path testing method provided in an embodiment of this application. The subject executing this method can be a path testing system or include path testing equipment. Figure 1 As shown, the method includes the following steps:
[0049] Step 301: Obtain the route number and route direction of the route to be tested.
[0050] In this embodiment of the application, the path to be tested is the path waiting to be measured.
[0051] It is understandable that:
[0052] First, regarding train routes, before actual operation, it is necessary to test whether they can actually operate in various train running modes. The route to be tested is called the test route. Generally, this can be achieved by using software (e.g., simulation software) to simulate adding trains, that is, by selecting a section of the route before the direction of the test route (i.e., the subsequent train addition section), and then using the software to execute the simulated test train to run in a certain running mode on the test route, thereby conducting the test.
[0053] Secondly, since train routes are often quite long, each section of a train route is typically assigned a route number to facilitate route testing and other operations. Correspondingly, the route under test also has its own route number.
[0054] For example, the route direction of the route to be tested is used to indicate the subsequent running direction of the simulated test vehicle.
[0055] It is understandable that trains typically travel in two opposite directions along a route. For example, if the route is from east to west, the train can travel in either direction (east to west or west to east). During the testing of the route, the simulated test vehicle is not directly loaded onto the route, but rather, as mentioned earlier, it is loaded onto an additional section. The additional section corresponds to different travel directions; therefore, it is necessary to clearly define the train's direction on the route. For example, if the route is from east to west, and the train is traveling in the direction from east to west, the additional section is located east of the route under test; if the train is traveling in the direction from west to east, the additional section is located west of the route under test.
[0056] Step 302: Based on the above route number and route direction, determine the additional vehicle section corresponding to the above-mentioned route to be tested.
[0057] In this embodiment of the application, the above-mentioned vehicle addition section is the starting section of the simulated test vehicle for the above-mentioned route to be tested.
[0058] In this embodiment of the application, the above-mentioned vehicle addition section is a logical section.
[0059] Understandably, for the sake of easy labeling, long train routes are divided into several physical segments based on axle counting, and managed according to each physical segment. However, in actual testing, physical segments are often too long for the test, and the route to be tested is often only a part of a certain physical segment. In this case, to facilitate testing and save testing time, physical segments are further divided into several logical segments, that is, several logical segments constitute one physical segment, and several logical segments belong to one physical segment.
[0060] In this embodiment of the application, the additional vehicle section is the section along the route direction preceding the aforementioned route to be tested.
[0061] As can be understood, as mentioned above, the simulated test vehicle is not directly located on the route to be tested, but rather enters the route from the vehicle addition section. That is, the simulated test vehicle used to test the route to be tested starts driving from the vehicle addition section into the route to be tested. Therefore, the vehicle addition section is related to the route direction and is located along the aforementioned route direction before the aforementioned route to be tested, which is the section that is about to enter the route to be tested.
[0062] Step 303: Input the first command to control the physical section corresponding to the above-mentioned vehicle addition section to change from an idle state to a locked state.
[0063] In this embodiment of the application, the physical segment includes N logical segments, where N is a positive integer.
[0064] In this embodiment, the locking direction is the same as the first direction. The first direction is the direction of the route to be tested relative to the vehicle addition section.
[0065] For example, the first instruction mentioned above may include: a fault injection instruction.
[0066] Understandably, as mentioned above, in existing technologies, adding a simulated test vehicle to a vehicle addition zone requires processing the route for that simulated test vehicle, which is time-consuming. By inputting a first command, the physical section corresponding to the vehicle addition zone is directly changed from an idle state to a locked state, making the locking direction the same as the direction of the route to be tested relative to the vehicle addition zone. Therefore, it eliminates the need to process the route for the vehicle addition zone, allowing the physical section to be locked directly, thus saving time.
[0067] Step 304: Set up the simulated test vehicle in the above-mentioned vehicle addition section, start the simulated test vehicle in the above-mentioned first mode, and confirm the terminal to be activated of the simulated test vehicle according to the above-mentioned route direction.
[0068] In this embodiment of the application, the preset initial mode of the simulated test vehicle is the first mode, and the first mode is separated from the initial mode of the simulated test vehicle by at least one mode level.
[0069] Understandably, since the physical section corresponding to the vehicle addition zone is already locked, setting up a simulated test vehicle on this addition zone allows the simulated test vehicle's driving mode to be directly set to the first mode after startup, and this can be set on the addition zone via software (such as simulation software).
[0070] For example, the first mode mentioned above can be FAM mode or other driving modes, and this application embodiment does not limit this.
[0071] It is understandable that the initial mode of the aforementioned simulated test vehicle is its own preset mode. As mentioned above, trains often have multiple operating modes, which can be adjusted progressively from low to high. Therefore, the lowest level mode in the simulated test vehicle is its initial mode. For example, the initial mode could be RM (no train positioning information mode).
[0072] For example, the path direction and the terminal to be activated are matched.
[0073] Understandably, the aforementioned simulated test vehicle needs to completely and realistically simulate the scenario of an actual train running on the route. During actual train operation, the position of the train's locomotive needs to be determined first according to the route direction. In practical applications, due to the train's considerable length, the two locomotives at either end can lead the vehicle in different directions. Specifically, when one locomotive is activated, that locomotive will lead the vehicle in the route direction corresponding to that locomotive. Therefore, before the train begins to move, the end of the simulated test vehicle to be activated needs to be confirmed according to the aforementioned route direction.
[0074] Step 305: Input the second command to perform hidden vehicle detection on the above simulated test vehicle.
[0075] In this embodiment of the application, the second instruction is used to instruct that when the next vehicle of the simulated test vehicle leaves the physical section corresponding to the vehicle addition section, the physical section corresponding to the vehicle addition section is adjusted from a locked state to an idle state.
[0076] Understandably, by adjusting the physical segment corresponding to the logical segment of the vehicle addition section to a locked state, the simulated test vehicle can be directly set to the first mode and added to the vehicle addition section. After that, the goal of keeping the physical segment corresponding to the vehicle addition section in a locked state has been achieved, and it can be adjusted back to an idle state.
[0077] In this embodiment of the application, a hidden vehicle refers to other vehicles besides the simulated test vehicle that may exist around the vehicle addition section.
[0078] Understandably, to ensure the safety of adding vehicles, it is necessary to perform hidden vehicle detection on the simulated test vehicles before officially starting the journey in the first mode.
[0079] In the method provided in this application embodiment, the method first obtains the route number and route direction of the route to be tested (i.e., the route to be tested). Then, based on the route number and route direction, the starting section (i.e., the vehicle addition section, which belongs to the logical section) of the simulated test vehicle to be tested on the route to be tested is determined. After that, an instruction is input to the physical section corresponding to the vehicle addition section to control it to switch to a locked state, so that the vehicle addition section is adjusted from an idle state to a locked state. A simulated test vehicle in the first mode is set in the vehicle addition section in the locked state, and the simulated test vehicle is started directly in the first mode. The activation end of the simulated test vehicle is confirmed according to the route direction (the first mode and the initial mode of the simulated test vehicle are separated by at least one mode level). Finally, a second instruction is input to the physical section corresponding to the vehicle addition section to control it to switch the physical section from the aforementioned locked state back to an idle state when the next vehicle of the simulated test vehicle leaves the physical section corresponding to the vehicle addition section. Thus, when there is at least one mode level between the mode to be tested (i.e., the first mode) and the initial mode of the simulated test vehicle, the state of the vehicle addition section can be switched to the locked state by inputting commands. This allows the simulated test vehicle to start directly in the first mode to be tested without having to upgrade layer by layer, saving test time and greatly improving test efficiency.
[0080] In another embodiment of this application, a specific implementation method for determining the vehicle addition section is also provided. For example, the specific implementation of "determining the vehicle addition section corresponding to the route to be tested based on the route number and the route direction" mentioned above includes: determining, based on the route number and the route direction, that the vehicle addition section corresponding to the route to be tested is located in the logical segment preceding the route to be tested along the route direction.
[0081] Understandably, in existing technologies, when testing a route to be tested, as mentioned above, route registration is required. This means that the vehicle addition section along the route direction preceding the route to be tested needs to be registered. However, some vehicle addition sections for the test route do not have routes, meaning registration is impossible. Consequently, the vehicle addition section is effectively invalid, leading to obstacles in adding subsequent simulated test vehicles. In this embodiment, however, registration of routes for the vehicle addition section of the route to be tested is not required; that is, the existence of a route is not mandatory. Only a physical section along the route direction preceding the route to be tested is needed.
[0082] Furthermore, as mentioned above, physical segments are often very long. In order to save time in testing the route under test, a logical segment that is close to the route under test is often selected as the vehicle addition segment, which is then used as the starting segment for simulating the test vehicle.
[0083] For example, the preceding logical segment of the route under test along the route direction is the segment closest to the route under test. Therefore, the preceding logical segment of the route under test along the route direction is used as the default vehicle addition segment.
[0084] This significantly reduces the distance between the vehicle addition section and the route under test. When it is necessary to test the simulated test vehicle running in the first mode on the route under test, the test can be completed in the shortest time, and the situation of vehicle addition being obstructed is greatly reduced, thus improving test efficiency.
[0085] In another embodiment of this application, a specific implementation method for train operation after determining the terminal to be activated is also provided. For example, the specific implementation of "setting up the above-mentioned simulated test vehicle in the above-mentioned additional train section, starting the simulated test vehicle in the first mode, and confirming the terminal to be activated of the above-mentioned simulated test vehicle according to the above-mentioned route direction" includes: activating the terminal to be activated of the above-mentioned simulated test vehicle.
[0086] Understandably, once the simulated test vehicle is started and the end to be activated is determined, the corresponding driver's cab for the direction of travel is also determined. Therefore, the driver's cab at the driver's cab position can be activated based on the location of the end to be activated.
[0087] In another embodiment of this application, a specific implementation method for adjusting and determining the vehicle addition section is also provided. For example, the specific implementation of "setting the aforementioned simulated test vehicle" includes: comparing the vehicle length of the simulated test vehicle with the length of the vehicle addition section to determine the length difference between the vehicle length and the length of the vehicle addition section; if the vehicle length of the simulated test vehicle is greater than the length of the vehicle addition section, determining an updated section of the vehicle addition section; and updating the vehicle addition section according to the updated section.
[0088] For example, the updated segment is determined based on the length difference.
[0089] The above-mentioned simulated test vehicle is an example. The above-mentioned update segment and the above-mentioned length difference are corresponding, and the update segment can be determined based on the length difference.
[0090] It is understandable that the logical segments are pre-defined, not arbitrarily divided. Therefore, it cannot be guaranteed that the logical segments are the same length as the vehicle. In addition, the logical segments should be greater than or equal to the length of the vehicle in order to accommodate the simulated test vehicle.
[0091] Furthermore, the aforementioned updated section is used to indicate the section corresponding to the adjustment of the vehicle addition section when the length of the simulated test vehicle is greater than the length of the vehicle addition section.
[0092] Generally, the updated segment is the segment that is adjusted from one logical segment to another.
[0093] In this way, it can be ensured that the added vehicle section will eventually enable the simulated test vehicle in the first mode to test the route under test, thus ensuring the feasibility and reliability of the test process for the route under test.
[0094] For example, the logical segment and the update segment have different size relationships, and the way to update the vehicle addition segment is different. Specifically, there are the following two methods.
[0095] The first method for updating the added vehicle section:
[0096] Optionally, in this embodiment of the application, when the lengths of the above N logical segments are all less than the length of the vehicle, the method of updating the vehicle addition segment corresponding to the route to be tested according to the above updated segment includes: updating the vehicle addition segment to a logical segment that is larger than the above updated segment in the nearest physical segment opposite to the route direction.
[0097] It is understandable that if all logical segments in the physical segment corresponding to the vehicle addition section are smaller than the vehicle length mentioned above, that is, if there is no segment in the physical segment that can provide a vehicle addition for the simulated test vehicle, the simulated test vehicle cannot be placed. Therefore, it is necessary to move forward in the opposite direction of the route and find the nearest logical segment in the physical segment that is larger than the vehicle length mentioned above as the vehicle addition section.
[0098] For example,
[0099] It should be noted that, in the process of using the logical segment longer than the vehicle in the nearest physical segment as the updated electric vehicle addition segment in the opposite direction of the route, the first command needs to be input to all physical segments between the physical segment where the vehicle addition segment is located and the route to be tested, so that all physical segments between the physical segment where the vehicle addition segment is located and the route to be tested are in a locked state. After adding the simulated test vehicle in the first mode to the updated vehicle addition segment, the second command is input to make all physical segments between the physical segment where the vehicle addition segment is located and the route to be tested in an idle state.
[0100] The second method for updating the vehicle section:
[0101] Optionally, in this embodiment of the application, when the length of the target logical segment among the above N logical segments is greater than the length of the vehicle, the method of updating the vehicle addition segment corresponding to the route to be tested according to the above updated segment includes updating the vehicle addition segment corresponding to the route to be tested to the target logical segment.
[0102] For example, the target logical segment mentioned above is the first logical segment in the physical segment whose length is greater than the length of the vehicle in the direction opposite to the direction of the route.
[0103] It is understandable that, as mentioned above, the logical segments are compared with the vehicle length one by one in the opposite direction of the route, and the first logical segment encountered that is longer than the vehicle length is the target logical segment.
[0104] Furthermore, the target logical segment is the logical segment closest to the route to be tested, provided that the logical segment is longer than the vehicle length mentioned above.
[0105] In another embodiment of this application, a specific implementation method is provided for updating the added vehicle section after the platform section is included between the added vehicle section and the section to be tested. For example, when the added vehicle section is a platform section, before "starting the simulated test vehicle in the first mode" as mentioned above, the specific implementation includes: determining the driving state of the simulated test vehicle at the corresponding parking point in the platform section; and adjusting the offset of the added vehicle section according to the driving state and the platform section.
[0106] For example, the above driving states include: the above simulated test vehicle stopping at the above parking point, or the above simulated test vehicle not stopping at the above parking point.
[0107] It is understandable that, assuming that the section between the added vehicle section and the section to be tested includes a platform section (the platform section usually includes a parking spot), the simulated test vehicle may need to stop or not stop during the test of the section to be tested. Whether to stop or not needs to be determined according to the test requirements. For different requirements of stopping or not stopping, the stopping or not stopping can be achieved by adjusting the offset of the added vehicle section in different directions.
[0108] For example, if there is a stop between the added section of the simulated test vehicle and the route under test, the simulated test vehicle needs to stop at the platform section; if there is no stop between the added section of the simulated test vehicle and the route under test, the simulated test vehicle does not need to stop at the platform section. That is, the stopping status of the simulated test vehicle at the platform can be controlled by the stop points included between the added section and the route under test.
[0109] In one example, when the above driving state is that the above-mentioned simulated test vehicle stops at the above-mentioned parking point, the above-mentioned parking point, including the above-mentioned platform section, is between the above-mentioned added vehicle section and the above-mentioned test route after adjusting the offset.
[0110] In another example, when the above driving state is that the above-mentioned simulated test vehicle does not stop at the above-mentioned parking point, the above-mentioned vehicle addition section after adjusting the offset is the parking point between the above-mentioned test route and the above-mentioned platform section.
[0111] For example, if the route under test is in the downhill direction from east to west, and the test requires simulating a test vehicle entering the station, the offset of the add-on section can be updated to slightly eastward, so that the add-on position of the simulated test vehicle is east of the stopping point. If the test of the route under test does not require the simulated test vehicle to enter the station and stop, then the train control can update the offset of the add-on section to slightly westward, so that the add-on position of the simulated test vehicle is west of the stopping point.
[0112] In another embodiment of this application, a specific implementation method for ensuring the safe operation of the simulated test vehicle is also provided. For example, the specific implementation of "performing hidden vehicle detection on the simulated test vehicle" mentioned above includes: detecting hidden vehicles other than the simulated test vehicle within a preset section corresponding to the vehicle addition section.
[0113] For example, the aforementioned preset range can be preset or user-defined, and this application embodiment does not limit this.
[0114] It is understood that the preset section range includes: the section range where accidents are likely to occur during vehicle addition.
[0115] For example, when the preset range supports the hidden vehicle detection mode, the above-mentioned detection of hidden vehicles other than the simulated test vehicle within the preset range includes: inputting a detection command within the preset range; and detecting hidden vehicles other than the simulated test vehicle within the preset range according to the detection command.
[0116] For example, when the vehicle addition section does not support the hidden vehicle detection mode, the above-mentioned detection of hidden vehicles other than the simulated test vehicles within the preset section range corresponding to the vehicle addition section includes: inputting a third instruction for the preset section range, the third instruction being used to detect hidden vehicles other than the simulated test vehicles within the preset section range.
[0117] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the training rule determination method described in this application. For example, it can execute... Figure 1 The steps of the method shown.
[0118] This application provides a computer program product containing instructions that are implemented by a processor at runtime. Figure 1 The steps of the method shown.
[0119] It should be noted that although the operation of the method of the present invention is described in a specific order in the accompanying drawings, this does not require or imply that the operations must be performed in that specific order, or that all the operations shown must be performed in order to achieve the desired result.
[0120] Figure 2 This is a block diagram of a route testing system according to an embodiment of this application. The device can be deployed on an authorized node (e.g., the first node described above). Reference Figure 2 The device includes an automated test platform 601, a computer interlocking (CI) 602, an automatic test environment (ATE) 603, a vehicle on-board controller (VOBC) 604, and an area controller 605.
[0121] An automated testing platform 601 is used to obtain the route number and route direction of the route under test;
[0122] The automated testing platform 601 is further configured to determine the vehicle addition section corresponding to the route to be tested based on the route number and the route direction. The vehicle addition section is the starting section of the simulated test vehicle for the route to be tested. The vehicle addition section is a logical section. The vehicle addition section is the section along the route direction before the route to be tested.
[0123] Computer interlock 602 is used to input a first instruction according to the vehicle addition section to control the physical section corresponding to the vehicle addition section to change from an idle state to a locked state. The physical section includes N logical sections, where N is a positive integer.
[0124] An automatic testing environment 603 is used to set up the simulated test vehicle in the vehicle addition section and to determine the activation end of the simulated test vehicle according to the route direction. The preset initial mode of the simulated test vehicle is the first mode, and the first mode is separated from the initial mode of the simulated test measurement by at least one mode level.
[0125] The computer interlock 602 is used to input a second command; the second command is used to instruct that when the vehicle following the simulated test vehicle leaves the physical section corresponding to the vehicle addition section, the physical section corresponding to the vehicle addition section is adjusted from a locked state to an idle state.
[0126] The area controller 605 is also used to perform hidden vehicle detection on the simulated test vehicle;
[0127] The vehicle controller 604 is also used to start the simulated test vehicle in the first mode.
[0128] In one embodiment, the automated testing platform is specifically used for:
[0129] Based on the route number and the route direction, the vehicle addition section corresponding to the route to be tested is determined to be located in the preceding logical section of the route to be tested along the route direction.
[0130] In one embodiment, the automated testing environment 603 is specifically used for:
[0131] Based on the route direction, determine the terminal to be activated for the simulated test vehicle;
[0132] Activate the terminal to be activated in the simulated test vehicle.
[0133] In one embodiment, the automated testing platform 601 is specifically used for:
[0134] By comparing the length of the simulated test vehicle with the length of the vehicle addition section, the length difference between the vehicle length and the length of the vehicle addition section is determined.
[0135] If the length of the simulated test vehicle is greater than the length of the vehicle addition section, an updated section of the vehicle addition section is determined, and the updated section is determined based on the length difference.
[0136] Update the vehicle addition section according to the update section.
[0137] In one embodiment, when the lengths of all N logical segments are less than the vehicle length, the automated testing platform 601 is specifically used for:
[0138] The vehicle addition section is updated to a logical section that is longer than the vehicle length in the nearest physical section opposite to the route direction.
[0139] In one embodiment, when the length of the target logical segment among the N logical segments is greater than the length of the vehicle, the automated testing platform 601 is specifically used for:
[0140] Update the vehicle addition section corresponding to the route to be tested to the target logical section;
[0141] The target logical segment is the first logical segment in the physical segment whose length is greater than the length of the vehicle in the direction opposite to the route direction.
[0142] In one embodiment, when the added train section is a platform section, the automated testing platform 601 is specifically used for:
[0143] The driving status of the simulated test vehicle at the corresponding parking point in the platform section is determined, and the driving status includes: the simulated test vehicle stops at the parking point, or the simulated test vehicle does not stop at the parking point.
[0144] Adjust the offset of the additional train section according to the driving status and the platform section;
[0145] Specifically, when the simulated test vehicle is stopped at the parking point in the driving state, the parking point between the added vehicle section and the route to be tested after adjusting the offset includes the parking point of the platform section; when the simulated test vehicle is not stopped at the parking point in the driving state, the parking point between the added vehicle section and the route to be tested after adjusting the offset does not include the parking point of the platform section.
[0146] In one embodiment, the area controller 605 is specifically used for:
[0147] Within the preset section range corresponding to the added vehicle section, hidden vehicles other than the simulated test vehicle are detected.
[0148] The following is Example 1 corresponding to the above-described route testing system embodiment of this application:
[0149] Example 1: The automated test platform 601 first obtains the route number and route direction of the route to be tested; then, based on the route number and route direction, it determines the vehicle addition section corresponding to the route to be tested; subsequently, the automated test platform 601 sends the vehicle addition section information to the computer interlock 602. After receiving the vehicle addition section information, the computer interlock 602 can input a first command based on the vehicle addition section to control the physical section corresponding to the vehicle addition section to change from an idle state to a locked state; simultaneously, the automated test platform 601 sends the received vehicle addition section information to the automated test environment 603. The automated test environment 603 can set up a simulated test vehicle of FAM in the vehicle addition section, and the on-board controller 604... The FAM (Fulfilled Auxiliary Vehicle) activates the simulated test vehicle. The automatic test environment 603 confirms the activation target of the simulated test vehicle based on the route direction, and then sends the configuration information of the simulated test vehicle with FAM set in the vehicle addition section to the computer interlocking 602. Subsequently, after receiving the configuration information, the computer interlocking 602 inputs a second instruction indicating that when the vehicle following the simulated test vehicle leaves the physical section corresponding to the vehicle addition section, the physical section corresponding to the vehicle addition section is adjusted from a locked state to an idle state. Afterwards, the area controller 602 performs hidden vehicle detection on the simulated test vehicle, and after confirming that there are no hidden vehicles, sends information to the vehicle controller 604. At this time, the vehicle controller VOBC obtains the Movement Authority (MA).
[0150] Prior to Example 1 above, the route testing system of this application embodiment includes the following preparatory work:
[0151] The automated testing platform communicates with the Automatic Train Supervision System (ATS) server via the WebSocket protocol, issuing commands to achieve operational objectives and simulating operations on the ATS-HMI interface. The server for automated equipment operation involves subsystems such as the ATS server, computer interlocks, area controllers, and onboard controllers, encompassing various operations including equipment encapsulation, connection, operation, retrieval, return, and judgment. Automated testing utilizes scripts to perform test cases on the equipment operations. The process of creating test case scripts is equivalent to the process of manually operating the test cases, using pre-written assertions to make final result judgments, thus achieving automated testing.
[0152] Before implementing the simulation test measurement and vehicle direct upgrade to FAM mode, it is necessary to set up an automated test environment in advance, prepare engineering data such as electronic maps, interlocking tables, and code position sequence tables, and convert them into JSON format.
[0153] First, check if the car controller subsystem software, area controller subsystem software, computer interlocking subsystem software, and automatic test environment (simulation environment) are running. If they are, shut them down. Next, open and connect the automatic test environment, connect to the ATS server, start and connect the area controller and computer interlocking subsystem software, and then check if there are any remaining train number windows on the ATS. If so, delete them. The above preparatory work for adding cars is now complete.
[0154] In the route testing system provided in this application embodiment, the system first obtains the route number and route direction of the route to be tested (i.e., the route to be tested). Then, based on the route number and route direction, it determines the starting section (i.e., the vehicle addition section, which is a logical section) of the simulated test vehicle to be tested on the route to be tested. After that, it inputs an instruction to control the physical section corresponding to the vehicle addition section to switch to a locked state, so that the vehicle addition section is adjusted from an idle state to a locked state. A simulated test vehicle in a first mode is set in the vehicle addition section in the locked state, and the simulated test vehicle is started directly in the first mode. The system also confirms the activation end of the simulated test vehicle based on the route direction (there is at least one mode level between the first mode and the initial mode of the simulated test vehicle). Finally, it inputs a second instruction to control the physical section corresponding to the vehicle addition section to switch the physical section from the aforementioned locked state back to an idle state when the next vehicle of the simulated test vehicle leaves the physical section corresponding to the vehicle addition section. Thus, when there is at least one mode level between the mode to be tested (i.e., the first mode) and the initial mode of the simulated test vehicle, the state of the vehicle addition section can be switched to the locked state by inputting commands. This allows the simulated test vehicle to start directly in the first mode to be tested without having to upgrade layer by layer, saving test time and greatly improving test efficiency.
[0155] The division of modules or units mentioned in the detailed description above is not mandatory. In fact, according to the embodiments of this disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.
[0156] It should be noted that for details not disclosed in the route testing system and resource access device of this application embodiments, please refer to the details disclosed in the above embodiments of this application, which will not be repeated here.
[0157] The following is for reference. Figure 3 , Figure 3 A schematic diagram of a computer device suitable for implementing embodiments of this application is shown. For example... Figure 3As shown, the computer system 1700 includes a central processing unit (CPU) 1701, which can perform various appropriate actions and processes based on programs stored in read-only memory (ROM) 1702 or programs loaded from storage section 1708 into random access memory (RAM) 1703. RAM 1703 also stores various programs and data required for the system's operating instructions. CPU 1701, ROM 1702, and RAM 1703 are interconnected via bus 1704. Input / output (I / O) interface 1705 is also connected to bus 1704.
[0158] The following components are connected to I / O interface 1705: an input section 1706 including a keyboard, mouse, etc.; an output section 1707 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 1708 including a hard disk, etc.; and a communication section 1709 including a network interface card such as a LAN card, modem, etc. The communication section 1709 performs communication processing via a network such as the Internet. A drive 1710 is also connected to I / O interface 1705 as needed. Removable media 1711, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., are installed on drive 1710 as needed so that computer programs read from them can be installed into storage section 1708 as needed.
[0159] Specifically, according to embodiments of this application, the flowchart above refers to... Figure 1 The described process can be implemented as a computer software program. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowchart. In such an embodiment, the computer program contains program code for performing the methods shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via communication section 1709, and / or installed from removable medium 1711. When the computer program is executed by central processing unit (CPU) 1701, it performs the functions defined in the system of this application.
[0160] It should be noted that the computer-readable medium shown in this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.
[0161] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operational instructions of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two connected blocks may actually be executed substantially in parallel, or they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified functions or operational instructions, or using a combination of dedicated hardware and computer instructions.
[0162] The units or modules described in the embodiments of this application can be implemented in software or hardware. The described units or modules can also be housed in a processor; for example, a processor can be described as including a first receiving module, a second receiving module, and a transmitting module. The names of these units or modules do not, in certain circumstances, constitute a limitation on the unit or module itself.
[0163] In another aspect, this application also provides a computer-readable storage medium, which may be included in the electronic device described in the above embodiments, or may exist independently and not assembled into the electronic device. The aforementioned computer-readable storage medium stores one or more programs that, when used by one or more processors, execute the path testing method described in this application.
[0164] The above description is merely a preferred embodiment of this application and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of disclosure in this application is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the foregoing disclosed concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features with similar functions disclosed in this application.
Claims
1. A route testing method, characterized in that, include: Obtain the route number and route direction of the route to be tested; Based on the route number and the route direction, the vehicle addition section corresponding to the route to be tested is determined. The vehicle addition section is the starting section of the simulated test vehicle for the route to be tested. The vehicle addition section is a logical section. The vehicle addition section is the section along the route direction before the route to be tested. The first instruction is input to control the physical segment corresponding to the vehicle addition section to change from an idle state to a locked state. The physical segment includes N logical segments, where N is a positive integer. The first instruction includes a fault injection instruction. The simulated test vehicle is set up in the vehicle addition section, the simulated test vehicle is started in the first mode, and the end to be activated of the simulated test vehicle is confirmed according to the route direction. The preset initial mode of the simulated test vehicle is the first mode. The first mode and the initial mode of the simulated test vehicle are separated by at least one mode level. The initial mode is the lowest level mode in the simulated test vehicle. A second instruction is input, and a hidden vehicle detection is performed on the simulated test vehicle. The second instruction is used to instruct that when the vehicle following the simulated test vehicle leaves the physical section corresponding to the vehicle addition section, the physical section corresponding to the vehicle addition section is adjusted from a locked state to an idle state. The hidden vehicle refers to other vehicles besides the simulated test vehicle that may exist around the vehicle addition section. The hidden vehicle detection is performed on the simulated test vehicle before the official start of the first mode. Based on the route number and the route direction, the additional vehicle section corresponding to the route to be tested is determined, including: Based on the route number and the route direction, it is determined that the vehicle addition section corresponding to the route to be tested is located in the preceding logical section of the route to be tested along the route direction; After setting up the simulated test vehicle in the added vehicle section, starting the simulated test vehicle in the first mode, and confirming the end of the simulated test vehicle to be activated according to the route direction, the method further includes: Activate the terminal to be activated for the simulated test vehicle.
2. The method according to claim 1, characterized in that, Before setting up the simulated test vehicle, the method further includes: By comparing the length of the simulated test vehicle with the length of the vehicle addition section, the length difference between the vehicle length and the length of the vehicle addition section is determined. If the length of the simulated test vehicle is greater than the length of the vehicle addition section, an updated section of the vehicle addition section is determined, and the updated section is determined based on the length difference. Update the vehicle addition section according to the update section.
3. The method according to claim 2, characterized in that, When the lengths of all N logical segments are less than the vehicle length, updating the vehicle addition segment based on the update segment includes: The vehicle addition section is updated to a logical section that is longer than the vehicle length in the nearest physical section opposite to the route direction.
4. The method according to claim 2, characterized in that, When the length of the target logical segment among the N logical segments is greater than the vehicle length, updating the vehicle addition segment according to the update segment includes: Update the vehicle addition section corresponding to the route to be tested to the target logical section; The target logical segment is the first logical segment in the physical segment whose length is greater than the length of the vehicle in the direction opposite to the route direction.
5. The method according to claim 1, characterized in that, When the added vehicle section is a platform section, before setting up the simulated test vehicle, the method further includes: The driving status of the simulated test vehicle at the corresponding parking point in the platform section is determined, and the driving status includes: the simulated test vehicle stops at the parking point, or the simulated test vehicle does not stop at the parking point. Adjust the offset of the additional train section according to the driving status and the platform section; Specifically, when the simulated test vehicle is stopped at the parking point in the driving state, the parking point between the added vehicle section and the route to be tested after adjusting the offset includes the parking point of the platform section; when the simulated test vehicle is not stopped at the parking point in the driving state, the parking point between the added vehicle section and the route to be tested after adjusting the offset does not include the parking point of the platform section.
6. The method according to claim 1, characterized in that, The process of performing hidden vehicle detection on the simulated test vehicle includes: Within the preset section range corresponding to the added vehicle section, hidden vehicles other than the simulated test vehicle are detected.
7. A route testing system, characterized in that, The system includes: an automated testing platform, an automated testing environment, an on-board controller, a zone controller, and a computer interlocking system. An automated testing platform is used to obtain the route number and route direction of the route under test; The automated testing platform is also used to determine the vehicle addition section corresponding to the route to be tested based on the route number and the route direction. The vehicle addition section is the starting section of the simulated test vehicle for the route to be tested. The vehicle addition section is a logical section. The vehicle addition section is the section along the route direction before the route to be tested. The computer interlocking is used to control the physical section corresponding to the added vehicle section to change from an idle state to a locked state by inputting a first instruction based on the added vehicle section. The physical section includes N logical sections, where N is a positive integer. The first instruction includes a fault injection instruction. An automated testing environment is used to set up the simulated test vehicle in the vehicle addition section and to determine the activation end of the simulated test vehicle according to the route direction. The preset initial mode of the simulated test vehicle is a first mode. The first mode is separated from the initial mode of the simulated test measurement by at least one mode level. The initial mode is the lowest level mode in the simulated test vehicle. The computer interlock is used to input a second command; the second command is used to instruct that when the vehicle following the simulated test vehicle leaves the physical section corresponding to the vehicle addition section, the physical section corresponding to the vehicle addition section is adjusted from a locked state to an idle state; wherein a hidden vehicle refers to other vehicles besides the simulated test vehicle that may exist around the vehicle addition section, and the hidden vehicle detection is a detection performed on the simulated test vehicle before officially starting the first mode of travel; The area controller is also used to perform hidden vehicle detection on the simulated test vehicle; An on-board controller for starting the simulated test vehicle in the first mode; Based on the route number and the route direction, the additional vehicle section corresponding to the route to be tested is determined, including: Based on the route number and the route direction, it is determined that the vehicle addition section corresponding to the route to be tested is located in the preceding logical section of the route to be tested along the route direction; The simulated test vehicle is set up in the vehicle addition section, started in the first mode, and after confirming the end of the simulated test vehicle to be activated according to the route direction, the end of the simulated test vehicle to be activated is activated.
8. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the method as described in any one of claims 1-6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1-6.
10. A computer program product, the computer program product comprising instructions, characterized in that, The instructions are executed by the processor to implement the method as described in any one of claims 1-6.
Citation Information
Patent Citations
Train test method and system, storage medium and electronic equipment
CN116714645A