Simulation method and device based on high-speed simulation platform and train

Through the simulation method based on the high-speed simulation platform, the directed driving graph is generated and the turntable calculation logic is optimized, which solves the problems of low simulation accuracy and efficiency in the existing technology, and realizes efficient simulation of the train operating status, ensuring the accuracy of the simulation results. Sex and safety.

CN119106526APending Publication Date: 2024-12-10CRSC URBAN RAIL TRANSIT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410975890.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-19
Publication Date
2024-12-10

AI Technical Summary

Technical Problem

The manual running method based on the ZC simulation module in the existing rail transit simulation system leads to low simulation accuracy and efficiency, and it is impossible to effectively deduce the future operating status of the train in emergency failure situations.

Method used

Using a simulation method based on a high-speed simulation platform, by obtaining the target equipment information of the current driving section of the train, generating a directed driving diagram, judging the target equipment information of the next driving section, and performing a stop action when an obstacle is identified, optimizing Turntable computing logic, using internal cache strategies, ensures simulation accuracy and efficiency.

Benefits of technology

It improves simulation accuracy and efficiency, can quickly obtain the MA information of the train, effectively ensuring the accuracy and safety of the simulation results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119106526A_ABST
    Figure CN119106526A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of rail transit, in particular to a simulation method and device based on a high-speed simulation platform and a train, and the method comprises the steps: obtaining first target equipment information in a current driving section of the train; generating a driving directed graph of the train according to the first target equipment information, and judging second target equipment information in the next driving section according to the driving directed graph; and if the target obstacle point is not identified based on the second target equipment information, taking the next driving section as the current driving section, and executing the step of acquiring the first target equipment information in the current driving section of the train until the train drives to the final section, thereby solving the problems of low simulation technical precision, low simulation efficiency and the like in the related technology, and improving the simulation efficiency of the train. By optimizing turnout computational logic and using an internal cache strategy, the MA information of the train can be quickly obtained, and the simulation precision is effectively ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of rail transit technology, and in particular to a simulation method, device and train based on a high-speed simulation platform. Background Art

[0002] With the continuous development of rail transit technology, detecting the running status of trains is an important part of the rail transportation process. The running status of trains can not only reflect the actual running problems of trains, but also directly affect the life safety of users. Therefore, it is very necessary to test the running status of trains.

[0003] In the related technology, most simulation systems in the rail transit industry are generally based on the ZC (Zone Controller) simulation module according to a 1:1 time simulation. The functions of the ZC simulation module are mainly to calculate the train MA (Movement Authority) information, publish speed limit / temporary speed limit information, train position tracking, train registration / deregistration, train screening, send logical section status to CI (Control Interface), protect section unlocking judgment, etc. Its most important basic driving functions are "calculating train MA information" and "publishing speed limit / temporary speed limit information".

[0004] However, when simulating the operation process of a train based on the ZC simulation module in the relevant technology, manual actual running is mostly used. If an emergency failure occurs in the train, it will not be able to help the dispatching personnel deduce the future operation status of the train, thereby reducing the simulation accuracy and efficiency of the train operation status, which urgently needs to be solved. Summary of the invention

[0005] The present application provides a simulation method, device and train based on a high-speed simulation platform to solve the problems of low simulation technology accuracy and low simulation efficiency in related technologies.

[0006] The first embodiment of the present application provides a simulation method based on a high-speed simulation platform, comprising the following steps:

[0007] Obtaining the first target device information within the current travel section of the train;

[0008] generating a driving directed graph of the train according to the first target device information, and determining second target device information in a next driving section according to the driving directed graph;

[0009] If the target obstacle point is not identified based on the second target device information, the next driving section is used as the current driving section, and the step of obtaining the first target device information in the current driving section of the train is performed until the train reaches the final section.

[0010] According to one embodiment of the present application, the obtaining of first target device information in the current travel section of the train includes:

[0011] Searching the current travel section of the train based on a preset deep search strategy to obtain a first target device in the current travel section of the train, and an ID (Identity Document) and a target state corresponding to the first target device;

[0012] The first target device information within the current traveling section of the train is determined according to the ID and target state of the first target device.

[0013] According to one embodiment of the present application, the first target device and the second target device include at least one of a switch, a signal, a target section, and a target train.

[0014] According to an embodiment of the present application, generating a driving directed graph of the train according to the first target device information, and determining the second target device information in the next driving section according to the driving directed graph includes:

[0015] Constructing an operation route node based on the first target device information;

[0016] Generate a travel directed graph of the train according to the running route nodes;

[0017] The second target device information in the next section of the current traveling section of the train is updated according to the traveling directed graph, and the second target device information in the next section of the traveling section is determined by the traveling directed graph.

[0018] According to an embodiment of the present application, after determining the second target device information in the next driving section according to the driving directed graph, the method further includes:

[0019] If a target obstacle point is identified based on the second target device information, the train is controlled to stop when traveling to the target obstacle point.

[0020] According to an embodiment of the present application, if the target obstacle point is identified based on the second target device information, it includes:

[0021] It is determined whether the second target device information is in an abnormal state, and if the second target device information is in an abnormal state, the target obstacle point is determined based on an abnormal point of the second target device information.

[0022] According to an embodiment of the present application, if the second target device information is in an abnormal state, it includes:

[0023] If the second target device in the next section is a turnout, when the turnout position in the train travel section is abnormally connected to the turnout position in the next section, determining that the current state of the turnout in the next section is an abnormal state;

[0024] If the second target device in the next section is a signal, when the signal is in a closed state, determining that the current state of the signal in the next section is an abnormal state;

[0025] If the second target device in the next section is a target train, then when the target train is in the next section, determining that the current state of the signal in the next section is an abnormal state;

[0026] If the second target device in the next section is the target section, then when the target section is in an unlocked state, it is determined that the current state of the target section in the next section is an abnormal state.

[0027] According to an embodiment of the present application, after determining the target obstacle point based on the abnormal point of the second target device information, the method further includes:

[0028] Acquire ATS (Automatic Train Supervision) section information, and construct an ATS-ATP (Automatic Train Protection) conversion relationship table based on the ATS section information;

[0029] Converting the target obstacle point of the train according to the conversion relationship table, and updating the target obstacle point if the conversion relationship table contains conversion information of the target obstacle point;

[0030] If the conversion relationship table does not contain the conversion information of the target obstacle point, an error is reported for the target obstacle point.

[0031] According to the simulation method based on the high-speed simulation platform of the embodiment of the present application, the first target device information in the current traveling section of the train is obtained; the traveling directed graph of the train is generated according to the first target device information, and the second target device information in the next traveling section is determined according to the traveling directed graph; if the target obstacle point is not identified based on the second target device information, the next traveling section is used as the current traveling section, and the step of obtaining the first target device information in the current traveling section of the train is executed until the train travels to the final section. Thus, the problems of low simulation technology precision and low simulation efficiency in the related technology are solved. By optimizing the turnout calculation logic and using the internal high-speed cache strategy, the MA information of the train can be quickly obtained, and the simulation accuracy is effectively guaranteed.

[0032] A second aspect of the present application provides a simulation device based on a high-speed simulation platform, including:

[0033] An acquisition module, used to acquire the first target device information in the current travel section of the train;

[0034] A judgment module, used for generating a driving directed graph of the train according to the first target device information, and judging the second target device information in the next driving section according to the driving directed graph;

[0035] An execution module is used to, if the target obstacle point is not identified based on the second target device information, use the next driving section as the current driving section and execute the step of obtaining the first target device information in the current driving section of the train until the train travels to the final section.

[0036] According to one embodiment of the present application, the acquisition module includes:

[0037] A search unit, configured to search the current traveling section of the train based on a preset deep search strategy, and obtain a first target device in the current traveling section of the train, and an ID and a target state corresponding to the first target device;

[0038] A determination unit is used to determine the first target device information in the current travel section of the train according to the ID and target state of the first target device.

[0039] According to one embodiment of the present application, the first target device and the second target device include at least one of a switch, a signal, a target section, and a target train.

[0040] According to an embodiment of the present application, the judgment module includes:

[0041] A construction unit, configured to construct an operation route node based on the first target device information;

[0042] A generating unit, configured to generate a travel directed graph of the train according to the running route nodes;

[0043] An updating unit is used to update the second target device information in the next section of the current traveling section of the train according to the traveling directed graph, and obtain the second target device information in the next section of the traveling section determined by the traveling directed graph.

[0044] According to an embodiment of the present application, after determining the second target device information in the next driving section according to the driving directed graph, the determination module further includes:

[0045] A control unit is used to control the train to stop when it reaches the target obstacle point if a target obstacle point is identified based on the second target device information.

[0046] According to one embodiment of the present application, the control unit includes:

[0047] The determination subunit is used to determine whether the second target device information is in an abnormal state, and if the second target device information is in an abnormal state, determine the target obstacle point based on the abnormal point of the second target device information.

[0048] According to one embodiment of the present application, the determining subunit includes:

[0049] A first determination sub-component, for determining that the current state of the turnout in the next section is an abnormal state when the turnout position in the train travel section and the turnout position in the next section are abnormally connected if the second target device in the next section is a turnout;

[0050] a second determination sub-component, for determining that the current state of the signal in the next section is an abnormal state when the signal is in a closed state if the second target device in the next section is a signal;

[0051] a third determination sub-component, for determining that the current state of the signal in the next section is an abnormal state when the target train exists in the next section if the second target device in the next section is a target train;

[0052] The fourth determination component is used for determining that the current state of the target section in the next section is an abnormal state if the second target device in the next section is the target section and the target section is in an unlocked state.

[0053] According to an embodiment of the present application, after determining the target obstacle point based on the abnormal point of the second target device information, the determining subunit further includes:

[0054] An acquisition sub-component is used to acquire ATS segment information and construct an ATS-ATP conversion relationship table based on the ATS segment information;

[0055] An updating subcomponent, used for converting the target obstacle point of the train according to the conversion relationship table, and updating the target obstacle point if the conversion relationship table contains conversion information of the target obstacle point;

[0056] The error reporting sub-component is used to report an error to the target obstacle point if the conversion relationship table does not contain the conversion information of the target obstacle point.

[0057] According to the simulation device based on the high-speed simulation platform of the embodiment of the present application, the first target device information in the current traveling section of the train is obtained; the traveling directed graph of the train is generated according to the first target device information, and the second target device information in the next traveling section is determined according to the traveling directed graph; if the target obstacle point is not identified based on the second target device information, the next traveling section is used as the current traveling section, and the step of obtaining the first target device information in the current traveling section of the train is executed until the train travels to the final section. As a result, the problems of low simulation technology precision and low simulation efficiency in related technologies are solved. By optimizing the turnout calculation logic and using an internal high-speed cache strategy, the MA information of the train can be quickly obtained, and the simulation accuracy is effectively guaranteed.

[0058] A third aspect of the present application provides a train, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement a simulation method based on a high-speed simulation platform as described in the above embodiment.

[0059] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0061] Figure 1 A flowchart of a simulation method based on a high-speed simulation platform provided according to an embodiment of the present application;

[0062] Figure 2 It is a schematic diagram of the overall solution architecture according to an embodiment of the present application;

[0063] Figure 3 generating a schematic diagram for a target device according to an embodiment of the present application;

[0064] Figure 4 A schematic diagram of a target device node according to an embodiment of the present application;

[0065] Figure 5 It is a logical schematic diagram of an overall solution according to an embodiment of the present application;

[0066] Figure 6 is a block diagram of an example of a simulation device based on a high-speed simulation platform according to an embodiment of the present application;

[0067] Figure 7 It is a schematic diagram of the structure of a train according to an embodiment of the present application. DETAILED DESCRIPTION

[0068] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0069] The following describes the simulation method, device and train based on the high-speed simulation platform of the embodiment of the present application with reference to the accompanying drawings. In view of the problems of low simulation technology precision and low simulation efficiency in the related technology mentioned in the above background technology, the present application provides a simulation method based on a high-speed simulation platform, in which the first target device information in the current driving section of the train is obtained; the driving directed graph of the train is generated according to the first target device information, and the second target device information in the next driving section is determined according to the driving directed graph; if the target obstacle point is not identified based on the second target device information, the next driving section is used as the current driving section, and the step of obtaining the first target device information in the current driving section of the train is executed until the train travels to the final section. Thus, the problems of low simulation technology precision and low simulation efficiency in the related technology are solved. By optimizing the turnout calculation logic and using the internal high-speed cache strategy, the MA information of the train can be quickly obtained, and the simulation accuracy is effectively guaranteed.

[0070] Specifically, Figure 1 A flowchart of a simulation method based on a high-speed simulation platform provided in an embodiment of the present application.

[0071] like Figure 1 As shown, the simulation method based on the high-speed simulation platform includes the following steps:

[0072] In step S101, the first target device information in the current travel section of the train is obtained.

[0073] According to one embodiment of the present application, the first target device information within the current traveling section of the train is obtained, including: searching the current traveling section of the train based on a preset deep search strategy to obtain the first target device within the current traveling section of the train, and the ID and target state corresponding to the first target device; determining the first target device information within the current traveling section of the train according to the ID and target state of the first target device.

[0074] Among them, the preset depth search strategy can be selected by technical personnel in this field according to actual simulation requirements and is not specifically limited here.

[0075] Specifically, Figure 2As shown, in order to improve the rapid calculation of target obstacle points during train operation and their calculation accuracy, the embodiment of the present application realizes efficient and accurate simulation of the ZC area controller function through a high-speed simulation platform, wherein the high-speed simulation platform of the embodiment of the present application mainly includes a train simulation module, an ATS simulation module, a CT (Computed Tomography) simulation module and a ZC simulation module, wherein the ZC simulation module extracts the basic driving functions in the original ZC function, such as "calculating train MA information" and "publishing speed limit / temporary speed limit information", and first introduces the "calculating train MA information" function in the design of the ZC simulation module, and then introduces the "publishing speed limit / temporary speed limit information" function, which can be sent directly to the train by the ATS system. Therefore, the embodiment of the present application can be based on the ZC simulation module, by optimizing the turnout calculation logic, using the internal high-speed cache, and designing a simplified external information frame format, so as to realize rapid calculation of MA and ensure the stability of the calculation results, which will be discussed in detail with specific embodiments below.

[0076] Specifically, when the train is running, it needs to obtain the status information of the target equipment in the driving section based on the running direction, so as to determine the train's form strategy according to the status information of the target equipment. First, Figure 3 As shown, when the train runs to the current travel section, it is necessary to search the current travel section of the train based on the preset deep search strategy, that is, the preset deep search strategy of the embodiment of the present application needs to perform a deep search from the initial node of the train, and loop to search each train each time the MA function is called, so as to obtain the first target device in the current travel section of the train, wherein the first target device may include at least one of a turnout, a signal, a target section and a target train, which needs to be determined according to the actual search situation; secondly, according to the obtained first target device in the current travel section of the train, the ID and target state corresponding to the first target device can be obtained, for example, the turnout ID and its connection state, the signal ID and its opening and closing state of the current travel section, and the state result of the first target device is returned; finally, according to the ID and target state of the first target device, such as the turnout ID and its connection state, the signal ID and its opening and closing state obtained above, the first target device information in the current travel section of the train is determined.

[0077] It should be noted that when performing a deep search on the current travel section of the train, a linked list or a directed graph can usually be used to describe the front and back relationship of the track equipment. In order to realize the complex connection relationship between the first target equipment, the embodiment of the present application selects a directed graph to search, traverse, modify nodes, etc. for the first target equipment in the current travel section.

[0078] In step S102, a driving directed graph of the train is generated according to the first target device information, and second target device information in the next driving section is determined according to the driving directed graph.

[0079] According to one embodiment of the present application, a travel directed graph of a train is generated according to first target device information, and second target device information in a next travel section is determined according to the travel directed graph, including: constructing an operation route node based on the first target device information; generating a travel directed graph of the train according to the operation route node; updating the second target device information in a next section of the current travel section of the train according to the travel directed graph, and obtaining the travel directed graph to determine the second target device information in the next section of the travel section.

[0080] Specifically, Figure 4 As shown, after obtaining the first target device information in the current traveling section of the train, the embodiment of the present application obtains the connection nodes of the first target device information in the current traveling section through the adjacency list / reverse adjacency list, and constructs the operation route node based on the first target device information, thereby obtaining the driving directed graph of the current traveling section of the train, and updates the second target device information in the next section of the current traveling section of the train according to the driving directed graph, so as to obtain the ID and target state corresponding to the second target device, for example, the train ID of the current traveling section and its connection state, the signal ID and its opening and closing state, etc.; finally, according to the ID and target state of the second target device, for example, the train ID and its connection state, the signal ID and its opening and closing state, etc. obtained above, determine the second target device information in the next section of the current traveling section of the train, for example, whether there is a train in the next section, the turnout ID and the connection relationship, etc.

[0081] Specifically, in the embodiment of the present application, the second target device information in the next section of the current travel section of the train can mainly be at least one of its turnout, signal, target section and target train, wherein the second target device information can be divided into the following categories, for example, (1) platform category, whose attributes can mainly include the unique identifier track_name of the platform section, the ID of the platform section, the alias of the platform section, the identifier front of the previous path, the identifier back of the next path, the signal identifier signal on the platform section, and the status status of the platform section (the default is 1); (2) track section category, whose attributes can mainly include the unique identifier block_name of the section, the ID of the section, the alias of the section, the identifier front of the previous path, the identifier back of the next path, the signal identifier signal on the section, and the status status of the section (the default is 1); (3) turnout category, whose attributes can mainly include the unique identifier s witch_name, the ID of the switch, the alias of the switch, the identifier of the previous path front, the identifier of the next path (forward switch) back_normal and (reverse switch) back_reverse, the signal identifier signal on the platform section, the status of the switch position switch_status, the status of the switch status (default is 1), and the number of the switch switch_no; (4) Signal machine class, whose attributes can mainly include the unique identifier of the signal machine signal_name, the ID of the signal machine, the alias of the signal machine alias, the identifier of the previous path front, the identifier of the next path back, the direction of the signal machine (up / down) dir, the type of the signal machine type, the virtual signal machine identifier IsVirtualSignal, and the status of the signal machine status (0 green, 1 red); (5) Train class, the unique identifier of the train train_id, the ID of the section where the current front end of the train is located front_section_id, the offset of the train in the front section front_offset, the ID of the section where the current rear end of the train is located back_section_id, the offset of the train in the rear section back_offset, the status of the train status, and the direction of the train dir.

[0082] Furthermore, the embodiment of the present application determines whether there is a train in the next section within the current traveling section of the train, or whether the signal is operating normally, or whether the position status of the switch is correct, etc. based on the acquired second target device information, thereby obtaining the corresponding target obstacle point, i.e., the MA obstacle point, according to the above-mentioned judgment conditions.

[0083] It should be noted that the embodiment of the present application updates the target device status according to the information transmitted by external systems such as interlocking, trains, simulations, etc., jointly determines the device status in the MA judgment through the status in the target device, pre-processes the device status and updates the status of the nodes in the track equipment diagram.

[0084] According to one embodiment of the present application, after determining the second target device information in the next driving section according to the driving directed graph, it also includes: if a target obstacle point is identified based on the second target device information, the train is controlled to stop when it reaches the target obstacle point.

[0085] According to one embodiment of the present application, if a target obstacle point is identified based on the second target device information, it includes: determining whether the second target device information is in an abnormal state; if the second target device information is in an abnormal state, determining the target obstacle point based on the abnormal point of the second target device information.

[0086] According to one embodiment of the present application, if the second target device information is in an abnormal state, including: if the second target device in the next section is a turnout, then when the turnout position in the train running section is abnormally connected with the turnout position in the next section, the current state of the turnout in the next section is determined to be an abnormal state; if the second target device in the next section is a signal, then when the signal is in a closed state, the current state of the signal in the next section is determined to be an abnormal state; if the second target device in the next section is a target train, then when there is a target train in the next section, the current state of the signal in the next section is determined to be an abnormal state; if the second target device in the next section is a target section, then when the target section is in an unlocked state, the current state of the target section in the next section is determined to be an abnormal state.

[0087] According to one embodiment of the present application, after determining the target obstacle point based on the abnormal point of the second target equipment information, it also includes: obtaining ATS section information, and constructing an ATS-ATP conversion relationship table based on the ATS section information; converting the target obstacle point of the train according to the conversion relationship table, if the conversion relationship table contains conversion information of the target obstacle point, updating the target obstacle point; if the conversion relationship table does not contain conversion information of the target obstacle point, reporting an error for the target obstacle point.

[0088] Specifically, if the second target device information in the next travel section of the train is a turnout, the turnout position status in the next section is judged based on the turnout position status in the train travel section, and when the turnout position in the train travel section is abnormally connected to the turnout position in the next section, the current state of the turnout in the next section is judged to be an abnormal state, and the target obstacle point of the train is determined according to the abnormal point of the turnout. Since the turnout has two states of forward installation and reverse installation in the track, and the turnout equipment itself has states such as positioning, reverse position, and four-open, it is very complicated to judge the turnout. The embodiment of the present application simplifies the judgment logic. The turnout is a node in a directed graph. In the directed graph retrieval, the next device is quickly retrieved according to the previous device and the turnout position; if the second target device information in the next travel section of the train is a signal, based on the signal in the train travel section The current state of the signal in the next section is judged by the current state of the signal machine, and when the signal machine is in a closed state, the current state of the signal machine in the next section is judged to be an abnormal state, and the target obstacle point of the train is determined according to the abnormal point of the signal machine; if the second target equipment information in the next travel section of the train is a target train, then based on the current state of the train in the train travel section, it is judged whether there is a target train in the next section, and when there is a target train in the next section, the current state of the target train in the next section is judged to be an abnormal state, and the target obstacle point of the train is determined according to the abnormal point of the target train; if the second target equipment information in the next travel section of the train is a target section, then when the target section is in an unlocked state, the current state of the target section in the next section is judged to be an abnormal state, and the target obstacle point of the train is determined according to the abnormal point of the target section.

[0089] For example, if the second target device information in the next travel section of the train is a turnout, the position status of the turnout is detected through the diagram, that is, whether it is connected correctly. The main steps are to find the previous travel section of the train according to the direction of the train. If the previous travel section is connected to the front of the turnout, the next section is judged according to the turnout status to be the post-turnout positioning or post-turnout reverse connection section. If the previous travel section is connected to the post-turnout positioning or post-turnout reverse position, then it is judged whether the turnout state is in the post-turnout positioning or post-turnout reverse position, so as to judge whether the turnout connection is correct. If correct, it passes the judgment. If abnormal, it returns to the MA obstacle point. Among them, the normal turnout judgment is judged by the turnout state (positioning, reverse position) and the connection method of the turnout. It is necessary to consider the direction of the train entering the turnout, involving multi-level judgment, low code efficiency, and high time complexity. The simplified turnout judgment model used in the embodiment of the present application regards the turnout as a target device as a whole, and judges the relationship between the previous device and the turnout before the train enters the turnout, and judges whether the train can enter by the state of the turnout. Next section, thereby improving code efficiency and having the lowest time complexity. For example, if the switch status is 1 (status error), print the prompt message "Switch status error", remove the wrong switch from the path, update the station_attribute attribute (set to "Switch"), record the obstacle point and offset, and return station_attribute; wherein, the path can be updated according to the start_state of the switch. When the start_state is '1', if the switch_status is 1 (switch forward), add the internal path information ('2') to the path, obtain the next section information, and recursively call find_path_device to update the path; if the switch_status is 2 (switch reverse), add the internal path information ('3') to the path, obtain the next section information, and recursively call find_path_device to update the path. Otherwise, print "switch status error"; when start_state is '2', if switch_status is 1 (turnout forward), add the internal path information ('1') to the path, get the next section information, recursively call find_path_device to update the path, otherwise, print "switch status error"; when start_state is '3', if switch_status is 2 (turnout reverse), add the internal path information ('1') to the path, get the next section information, recursively call find_path_device to update the path, otherwise, print "switch statuserror".

[0090] If the second target device information in the next travel section of the train is a signal, check the current status of the signal. If the current status of the signal is green, it means that there is no abnormality in the signal and perform the next search. If the status of the signal is red, if the status of the signal is caused by the train (for example, the location of the signal is a train cross-pressure, the train head is in front of the signal or the parking space is behind the signal), perform the next search. If the red status of the signal is not related to the train, the MA obstacle point is the signal position.

[0091] If the second target device information in the next travel section of the train is the target train, then check whether there is a target train in the next section. If there is a target train ahead (such as an error train), the MA obstacle point is the end of the route where the tail end of the target train is located. If the target train is normal, the MA obstacle point is the tail end of the target train.

[0092] If the second target device information in the next travel section of the train is the target section, it is determined whether the target section is in a locked state. If the target section is in a locked state, the search continues; otherwise, the MA obstacle point is the end of the unlocked section.

[0093] Furthermore, after the embodiment of the present application determines the target obstacle point based on the abnormal point of the second target device information, it is also necessary to verify the target obstacle point and the road section information. The embodiment of the present application mainly verifies through train dictionary conversion. First, the process of train obstacle point verification is mainly: (1) Verify the direction of the obstacle point: check the direction of the obstacle point, if it is 'up' or 'down', set the obstacle_index to '1'; (2) Create two mapping tables (ATS section name + offset: ATP section name + offset) according to the ATS section configuration information read in the XML file; (3) Convert the obstacle point information from the dictionary, and use the get_train_id function to convert the corresponding obstacle point from the ATS-ATP dictionary; (4) If the dictionary has no corresponding information, it returns that the target obstacle point cannot be matched and reports an error. If the dictionary has the conversion information of the target obstacle point, the target obstacle point is updated; (5) Update the obstacle point offset.

[0094] For example, the embodiment of the present application sends information updates from the interlocking device. First, read and parse the CI system message CI_msg with reference to the protocol, traverse all devices in CI_msg, and update the status of the corresponding nodes in the directed graph structure according to the target device type (dev_type). For example, the track or section updates the status according to lock_state and occupy_state; the switch updates the status according to lock_state, block_state and position; the signal updates the status according to block_state and color; secondly, update the status attribute of the device node. If the function returns True, it means the update is successful, and False means there is no message.

[0095] Therefore, after the target obstacle point is identified based on the second target device information, the embodiment of the present application saves the current driving path and controls the train to stop when it reaches the target obstacle point to ensure driving safety.

[0096] In step S103, if the target obstacle point is not identified based on the second target device information, the next driving section is used as the current driving section, and the step of obtaining the first target device information in the current driving section of the train is executed until the train reaches the final section.

[0097] Specifically, since the MA calculation module adopted in the embodiment of the present application performs logical calculations on the target obstacle points in the next section where the train is traveling, the simulation efficiency of the ZC area controller is improved. As a result, when the train is running in the current section, the target obstacle points in the next section will be continuously updated. At this time, if the train fails to identify the target obstacle point based on the second target device information, that is, the target obstacle point has been updated, the next driving section will continue to be used as the current driving section, and the second target device information in the next section will continue to be searched according to the first target device information in the current section. Therefore, when the search exceeds the set number of recursive iterations (for example, 10 times), the search stops and the path that has been searched is returned.

[0098] In order to enable those skilled in the art to understand the present application more specifically, a specific embodiment will be described in detail below.

[0099] like Figure 5As shown, first, based on the running direction of the train and the preset deep search strategy, the current running section of the train is searched, and the first target device in the current running section of the train is obtained, which mainly includes the platform, the signal, the turnout and the target train. The state of the searched first target device is judged to determine the first target device information in the current running section of the train, thereby obtaining the train's running directed graph, and the second target device information in the next running section is obtained according to the running directed graph. If the second target device in the next running section is a turnout, the position state of the turnout is detected, and when the position connection of the turnout is correct, it means that the second target device is not in an abnormal state at this time, and the train can continue to travel into the next section without identifying the obstacle point, and continue to search the subsequent running sections, so that when the search exceeds the set recursive iteration number (for example, 10 times), the search stops and returns the searched path; if the position connection of the turnout is incorrect, it means that the second target device is in an abnormal state at this time, then the target obstacle point is obtained according to the abnormal point of the second target device at this time, and after the verification is successful, the farthest running distance of the train is obtained, so as to control the train to stop before the train travels to the target obstacle point.

[0100] In summary, the embodiments of the present application exchange data through shared memory to achieve the characteristics of fast data reading speed and high real-time performance; use the track directed graph to store and retrieve node information, be responsible for retrieving the connection relationship of the target device, and adopt a high-speed MA calculation module, simplify the MA judgment logic, and quickly return the MA information. The MA information is verified through verification judgment to ensure the accuracy of the calculation.

[0101] Therefore, through the discussion of the above embodiments, the embodiments of the present application can achieve the following beneficial effects:

[0102] (1) Use shared memory for high-speed data exchange to improve data reading speed and real-time performance.

[0103] (2) Use directed graphs to store and retrieve node information and optimize the retrieval efficiency of target device connection relationships.

[0104] (3) Use a high-speed MA calculation module to simplify the MA judgment logic and speed up the calculation of MA information.

[0105] (4) Verify the MA information to ensure the accuracy of the simulation results.

[0106] According to the simulation method based on the high-speed simulation platform of the embodiment of the present application, the first target device information in the current traveling section of the train is obtained; the traveling directed graph of the train is generated according to the first target device information, and the second target device information in the next traveling section is determined according to the traveling directed graph; if the target obstacle point is not identified based on the second target device information, the next traveling section is used as the current traveling section, and the step of obtaining the first target device information in the current traveling section of the train is executed until the train travels to the final section. Thus, the problems of low simulation technology precision and low simulation efficiency in the related technology are solved. By optimizing the turnout calculation logic and using the internal high-speed cache strategy, the MA information of the train can be quickly obtained, and the simulation accuracy is effectively guaranteed.

[0107] Next, a simulation device based on a high-speed simulation platform according to an embodiment of the present application is described with reference to the accompanying drawings.

[0108] Figure 6 It is a block diagram of a simulation device based on a high-speed simulation platform according to an embodiment of the present application.

[0109] like Figure 6 As shown, the simulation device 10 based on the high-speed simulation platform includes: an acquisition module 100 , a judgment module 200 and an execution module 300 .

[0110] The acquisition module 100 is used to acquire the first target device information in the current travel section of the train;

[0111] The judgment module 200 is used to generate a driving directed graph of the train according to the first target device information, and to judge the second target device information in the next driving section according to the driving directed graph;

[0112] The execution module 300 is used to take the next driving section as the current driving section if the target obstacle point is not identified based on the second target device information, and execute the step of obtaining the first target device information in the current driving section of the train until the train reaches the final section.

[0113] According to one embodiment of the present application, the acquisition module 100 includes:

[0114] A search unit, configured to search the current travel section of the train based on a preset deep search strategy, and obtain a first target device in the current travel section of the train, as well as an ID and a target state corresponding to the first target device;

[0115] The determination unit is used to determine the first target device information in the current travel section of the train according to the ID and target state of the first target device.

[0116] According to one embodiment of the present application, the first target device and the second target device include at least one of a switch, a signal, a target section, and a target train.

[0117] According to an embodiment of the present application, the determination module 200 includes:

[0118] A construction unit, configured to construct an operation route node based on the first target device information;

[0119] A generating unit, used for generating a travel directed graph of the train according to the running route nodes;

[0120] The updating unit is used to update the second target device information in the next section of the current traveling section of the train according to the traveling directed graph, and obtain the second target device information in the next section of the traveling section determined by the traveling directed graph.

[0121] According to an embodiment of the present application, after determining the second target device information in the next driving section according to the driving directed graph, the determination module 200 further includes:

[0122] The control unit is used to control the train to stop when it reaches the target obstacle point if the target obstacle point is identified based on the second target device information.

[0123] According to one embodiment of the present application, a control unit includes:

[0124] The determination subunit is used to determine whether the second target device information is in an abnormal state, and if the second target device information is in an abnormal state, determine the target obstacle point based on the abnormal point of the second target device information.

[0125] According to one embodiment of the present application, determining a subunit includes:

[0126] The first determination sub-component is used for determining that the current state of the turnout in the next section is an abnormal state when the turnout position in the train running section is abnormally connected with the turnout position in the next section if the second target device in the next section is a turnout;

[0127] The second determination sub-component is used for determining that the current state of the signal in the next section is an abnormal state when the signal is in a closed state if the second target device in the next section is a signal;

[0128] The third determination sub-component is used for determining that the current state of the signal in the next section is an abnormal state if the second target device in the next section is a target train and the target train exists in the next section;

[0129] The fourth determination component is used to determine that the current state of the target segment in the next segment is an abnormal state if the second target device in the next segment is the target segment and the target segment is in an unlocked state.

[0130] According to an embodiment of the present application, after determining the target obstacle point based on the abnormal point of the second target device information, the determination subunit further includes:

[0131] Get sub-items, which are used to obtain ATS segment information and build an ATS-ATP conversion relationship table based on the ATS segment information;

[0132] The update sub-component is used to convert the target obstacle point of the train according to the conversion relationship table. If the conversion relationship table contains conversion information of the target obstacle point, the target obstacle point is updated;

[0133] The error reporting sub-component is used to report an error for the target obstacle point if the conversion relationship table does not contain the conversion information of the target obstacle point.

[0134] According to the simulation device based on the high-speed simulation platform of the embodiment of the present application, the first target device information in the current traveling section of the train is obtained; the traveling directed graph of the train is generated according to the first target device information, and the second target device information in the next traveling section is determined according to the traveling directed graph; if the target obstacle point is not identified based on the second target device information, the next traveling section is used as the current traveling section, and the step of obtaining the first target device information in the current traveling section of the train is executed until the train travels to the final section. As a result, the problems of low simulation technology precision and low simulation efficiency in related technologies are solved. By optimizing the turnout calculation logic and using an internal high-speed cache strategy, the MA information of the train can be quickly obtained, and the simulation accuracy is effectively guaranteed.

[0135] Figure 7 A schematic diagram of the structure of a train provided in an embodiment of the present application. The train may include:

[0136] A memory 701 , a processor 702 , and a computer program stored in the memory 701 and executable on the processor 702 .

[0137] When the processor 702 executes the program, the simulation method based on the high-speed simulation platform provided in the above embodiment is implemented.

[0138] Furthermore, the train also includes:

[0139] The communication interface 703 is used for communication between the memory 701 and the processor 702 .

[0140] The memory 701 is used to store computer programs that can be executed on the processor 702 .

[0141] The memory 701 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0142] If the memory 701, the processor 702 and the communication interface 703 are implemented independently, the communication interface 703, the memory 701 and the processor 702 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0143] Optionally, in a specific implementation, if the memory 701, the processor 702 and the communication interface 703 are integrated on a chip, the memory 701, the processor 702 and the communication interface 703 can communicate with each other through an internal interface.

[0144] The processor 702 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.

[0145] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0146] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0147] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0148] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or N wirings (electronic devices), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or otherwise processing in a suitable manner if necessary, and then stored in a computer memory.

[0149] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0150] A person skilled in the art may understand that all or part of the steps in the above-mentioned embodiment method may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0151] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0152] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A simulation method based on a high-speed simulation platform, characterized in that: The following steps are involved: Obtaining the first target device information within the current travel section of the train; generating a driving directed graph of the train according to the first target device information, and determining second target device information in a next driving section according to the driving directed graph; If the target obstacle point is not identified based on the second target device information, the next driving section is used as the current driving section, and the step of obtaining the first target device information in the current driving section of the train is performed until the train reaches the final section.

2. The method according to claim 1, characterized in that The obtaining of the first target device information in the current traveling section of the train includes: Search the current travel section of the train based on a preset deep search strategy to obtain a first target device in the current travel section of the train, and an identity ID and a target state corresponding to the first target device; The first target device information within the current traveling section of the train is determined according to the ID and target state of the first target device.

3. The method according to claim 2, characterized in that The first target device and the second target device include at least one of a turnout, a signal, a target section, and a target train.

4. The method according to claim 1, characterized in that: The step of generating a driving directed graph of the train according to the first target device information, and determining the second target device information in the next driving section according to the driving directed graph includes: Constructing an operation route node based on the first target device information; Generate a travel directed graph of the train according to the running route nodes; The second target device information in the next section of the current traveling section of the train is updated according to the traveling directed graph, and the second target device information in the next section of the traveling section is determined by the traveling directed graph.

5. The method according to claim 1, characterized in that After determining the second target device information in the next driving section according to the driving directed graph, the method further includes: If a target obstacle point is identified based on the second target device information, the train is controlled to stop when traveling to the target obstacle point.

6. The method according to claim 5, characterized in that The step of identifying the target obstacle point based on the second target device information includes: It is determined whether the second target device information is in an abnormal state, and if the second target device information is in an abnormal state, the target obstacle point is determined based on an abnormal point of the second target device information.

7. The method according to claim 6, characterized in that If the second target device information is in an abnormal state, including: If the second target device in the next section is a turnout, when the turnout position in the train travel section is abnormally connected to the turnout position in the next section, determining that the current state of the turnout in the next section is an abnormal state; If the second target device in the next section is a signal, when the signal is in a closed state, determining that the current state of the signal in the next section is an abnormal state; If the second target device in the next section is a target train, then when the target train is in the next section, determining that the current state of the signal in the next section is an abnormal state; If the second target device in the next section is the target section, then when the target section is in an unlocked state, it is determined that the current state of the target section in the next section is an abnormal state.

8. The method according to claim 6, characterized in that After determining the target obstacle point based on the abnormal point of the second target device information, the method further includes: Acquire the ATS section information of the automatic train monitoring system, and construct an ATS-ATP conversion relationship table based on the ATS section information; Converting the target obstacle point of the train according to the conversion relationship table, and if the conversion relationship table contains conversion information of the target obstacle point, updating the target obstacle point; If the conversion relationship table does not contain the conversion information of the target obstacle point, an error is reported for the target obstacle point.

9. A simulation device based on a high-speed simulation platform, characterized in that: include: An acquisition module, used to acquire the first target device information in the current travel section of the train; A judgment module, used for generating a driving directed graph of the train according to the first target device information, and judging the second target device information in the next driving section according to the driving directed graph; An execution module is used to, if the target obstacle point is not identified based on the second target device information, use the next driving section as the current driving section and execute the step of obtaining the first target device information in the current driving section of the train until the train travels to the final section.

10. A train, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the simulation method based on the high-speed simulation platform as described in any one of claims 1 to 8.