Signal machine CTC proximity calculation method, device, equipment, storage medium and product
Patent Information
- Application Number
- CN202511331326.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-17
- Publication Date
- 2026-10-09
- Estimated Expiration
- 2045-09-17
AI Technical Summary
[0007]本发明提供一种信号机CTC接近计算方法、装置、设备、存储介质及产品,用以解决现有技术中计算CTC接近的耗时较长,系统运行效率较差的缺陷,实现在大量信号机的站场中,能够大幅度减少计算CTC接近的耗时,提高了系统运行效率
[0018]The present invention provides a signal CTC proximity calculation method, apparatus, device, storage medium, and product. It acquires the signal's position information and protection direction; starting from the signal's position information, it searches sequentially along the opposite direction of the protection direction, based on the connection relationships of each segment, to determine if any segments are occupied by CTCs; when a segment occupied by CTCs is found, the information of all CTC-occupied trains in that segment is stored in a train cache table; and the CTC proximity status of the signal is determined based on the train cache table. It is understood that in this application, for each signal, it is not necessary to traverse all movement authorization segments of all trains. Instead, it starts from the signal and searches segment by segment along the opposite direction of the protection direction. The search stops once a segment occupied by CTCs is found or the maximum number of segments searched is reached, thus excluding trains and segments unrelated to the current signal and significantly reducing invalid calculations. Furthermore, by adding all CTC-occupied trains in the searched occupied segments to the train cache table, subsequent movement authorization checks are performed only on a small number of trains in the train cache table, rather than checking all trains one by one, further compressing the calculation scope. Therefore, the solution proposed in this application can reduce the calculation time for CTC approach, and is especially suitable for scenarios with a large number of signals and a large number of trains running in large stations. It can significantly reduce the calculation time for CTC approach, improve system operating efficiency, and meet the needs of complex operation scenarios.
Smart Images

Figure CN121106422B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of train control technology, and in particular to a signal CTC proximity calculation method, apparatus, equipment, storage medium, and product. Background Technology
[0002] In a Communication-Based Train Control (CBTC) system, trains need to periodically report their location information to the Zone Controller (ZC) on the ground. The ZC calculates the movement authorization for each train based on the location information reported by each train, which is the spatial range within which the train is allowed to operate.
[0003] In practice, complex station yards contain a large number of signals. During system operation, the Train Control Center (ZC) must calculate the approach status of all signals within the station yard in each communication cycle and transmit the approach status of each signal to the interlocking system. The approach status of a signal is categorized as CTC (Continuous Train Control) approach, non-CTC approach, and no approach. CTC and non-CTC approaches each have independent calculation methods. For CTC approach, where all trains approaching the signal are CTC cars, the calculation result for each signal is either CTC approach or no approach.
[0004] The current technical solution for calculating CTC approach is as follows: for each signal, iterate through the movement authorization information of all trains in the station yard, and determine one by one whether the movement authorization of each train has reached or exceeded the signal, and then determine whether the signal is approaching or not.
[0005] In large station yards with numerous signals and a high volume of trains, when the number of CTC trains is large (dozens), the method of calculating CTC approach for each signal by traversing all sections of the movement authorization for all trains within the station yard is only suitable for scenarios with a small number of signals and trains. When the number of signals and trains in the station yard is large, the time required for the ZC to calculate CTC approach for each signal is significant, sometimes even exceeding the ZC's communication cycle, thus affecting the normal operation of the system.
[0006] Therefore, in stations with a large number of signals, the existing technology takes a long time to calculate the CTC proximity, resulting in poor system operating efficiency. Summary of the Invention
[0007] This invention provides a method, apparatus, device, storage medium, and product for calculating the proximity of a signal rectifier (CTC), which solves the problems of long calculation time and poor system operating efficiency in the prior art. It can significantly reduce the calculation time of CTC proximity in stations with a large number of signals and improve the system operating efficiency.
[0008] This invention provides a method for calculating the CTC (Critical Tolerance) of a signal ignition system, comprising the following steps: Obtain the position information and protection direction of the signal; Starting with the position information of the signal, and moving in the opposite direction of the protection direction, search sequentially for any sections occupied by the CTC according to the connection relationship of each section. When a section occupied by CTC is found, the information of all CTC trains in the section occupied by CTC is stored in the train cache table. Based on the train buffer table, the CTC approach status of the signal is determined, wherein the CTC approach status is either CTC approaching or CTC not approaching.
[0009] According to the present invention, a signal CTC proximity calculation method is provided, wherein the method starts from the signal's position information and searches sequentially along the opposite direction of the protection direction to determine whether there are any sections occupied by CTCs, based on the connection relationships of each section. Starting from the position information of the signal, an initial search segment is determined in the opposite direction of the protection direction, wherein the initial search segment is the segment where the signal is located in the opposite direction of the protection direction; Determine if the current search segment is a CTC-occupied segment; If the current search segment is occupied by CTC, then stop the search; If the current search segment is not a CTC-occupied segment, then determine whether the number of searched segments has reached the maximum number of searched segments; If the number of searched segments has not reached the maximum number of searched segments, then determine the next search segment and return to the step of determining whether the current search segment is a CTC occupied segment; If the maximum number of segments searched has been reached, the search will stop.
[0010] According to the present invention, a signal CTC proximity calculation method is provided, wherein determining the next search segment includes: Determine if the next adjacent segment in the opposite direction of the current search segment exists; If the next adjacent segment does not exist, the search stops and the CTC approach status of the signal is set to CTC no approach. If the next adjacent section exists, determine whether the next adjacent section is a turnout; If the next adjacent section is not a turnout, then the next adjacent section is taken as the next search section; If the next adjacent section is a turnout, then determine whether the next adjacent section is a turnout with four openings; If the next adjacent section is a turnout with four openings, then stop the search and set the CTC approach status of the signal to CTC no approach. If the next adjacent section is not a turnout with four openings, then the next search section is determined according to the opening direction of the turnout.
[0011] According to the present invention, a method for calculating the CTC proximity of a signal is provided, wherein determining the CTC proximity state of the signal based on the train buffer table includes: Determine whether a first train exists in the train cache table, wherein the first train is a train whose movement authorization reaches or passes the signal; If the first train is not in the train cache table, then the CTC approach status of the signal is set to CTC no approach. If the first train exists in the train buffer table, then calculate the distance between the maximum safe front end of the first train and the signal. Determine whether the distance between the maximum safe front end of the first train and the signal is greater than the configured distance; If the distance between the maximum safe front end of the first train and the signal is greater than the configured distance, then the CTC approach status of the signal is set to CTC no approach. If the distance between the maximum safe front end of the first train and the signal is not greater than the configured distance, then determine whether the signal is being strangled; If the signal is crossed, then determine whether the train crossing the signal is the same train as the first train; If the train crossing the signal is the same train as the first train, then the CTC approach state of the signal is set to CTC approach. If the train crossing the signal is not the same train as the first train, then the CTC approach status of the signal is set to CTC no approach.
[0012] According to a signal CTC proximity calculation method provided by the present invention, before determining whether a first train exists in the train buffer table, the method further includes: Check if the train cache table is empty; If the train buffer table is empty, then the CTC approach status of the signal is set to CTC no approach. The step of determining whether the first train exists in the train cache table specifically includes: If the train cache table is not empty, then determine whether the first train exists in the train cache table.
[0013] According to the present invention, a signal CTC proximity calculation method is provided, wherein the position information includes the segment number of the track segment outside the signal and the offset of the track segment.
[0014] The present invention also provides a signal CTC proximity calculation device, comprising the following modules: The acquisition module is used to acquire the position information and protection direction of the signal. The search module is used to search for whether there are any sections occupied by CTC, starting from the position information of the signal and moving in the opposite direction of the protection direction, according to the connection relationship of each section. The caching module is used to store the information of all CTC trains in the CTC-occupied section into the train cache table when a section occupied by CTC is found. The determination module is used to determine the CTC approach status of the signal based on the train buffer table, wherein the CTC approach status is CTC approach or CTC not approaching.
[0015] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the signal CTC proximity calculation method as described above.
[0016] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the signal CTC proximity calculation method as described above.
[0017] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the signal CTC proximity calculation method as described above.
[0018] The present invention provides a signal CTC proximity calculation method, apparatus, device, storage medium, and product. It acquires the signal's position information and protection direction; starting from the signal's position information, it searches sequentially along the opposite direction of the protection direction, based on the connection relationships of each segment, to determine if any segments are occupied by CTCs; when a segment occupied by CTCs is found, the information of all CTC-occupied trains in that segment is stored in a train cache table; and the CTC proximity status of the signal is determined based on the train cache table. It is understood that in this application, for each signal, it is not necessary to traverse all movement authorization segments of all trains. Instead, it starts from the signal and searches segment by segment along the opposite direction of the protection direction. The search stops once a segment occupied by CTCs is found or the maximum number of segments searched is reached, thus excluding trains and segments unrelated to the current signal and significantly reducing invalid calculations. Furthermore, by adding all CTC-occupied trains in the searched occupied segments to the train cache table, subsequent movement authorization checks are performed only on a small number of trains in the train cache table, rather than checking all trains one by one, further compressing the calculation scope. Therefore, the solution proposed in this application can reduce the calculation time for CTC approach, and is especially suitable for scenarios with a large number of signals and a large number of trains running in large stations. It can significantly reduce the calculation time for CTC approach, improve system operating efficiency, and meet the needs of complex operation scenarios. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0020] Figure 1 This is one of the flowcharts illustrating the CTC proximity calculation method for signal controllers provided by this invention.
[0021] Figure 2 This is a schematic diagram of the position of the signal provided by the present invention.
[0022] Figure 3 This is the second flowchart of the signal CTC proximity calculation method provided by the present invention.
[0023] Figure 4 This is the third flowchart of the signal CTC proximity calculation method provided by the present invention.
[0024] Figure 5 This is a schematic diagram of the CTC proximity computing device for signal controllers provided by the present invention.
[0025] Figure 6This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation
[0026] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0027] It should be noted that the brief descriptions of terms in this application are only for the convenience of understanding the embodiments described below, and are not intended to limit the embodiments of this application. Unless otherwise stated, these terms should be understood in their ordinary and common meaning.
[0028] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar or related objects or entities and do not necessarily imply a specific order or sequence, unless otherwise indicated. It should be understood that such terms can be used interchangeably where appropriate, for example, in situations where implementation can proceed in an order other than those given in the embodiments illustrated or described in this application.
[0029] Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover but not exclude inclusion. For example, a product or device that includes a series of components is not necessarily limited to those explicitly listed, but may include other components not explicitly listed or inherent to such product or device. As used in this application, the term "module" means any known or subsequently developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and / or software code capable of performing the functions associated with that element.
[0030] The technical solution of this application and how it solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The following is a combination of... Figures 1 to 3 The present invention describes the signal CTC proximity calculation method.
[0031] Figure 1 This is one of the flowcharts illustrating the CTC proximity calculation method for signal controllers provided by this invention, such as... Figure 1 As shown, the method includes the following: Step 101: Obtain the position information and protection direction of the signal; Step 102: Starting from the position information of the signal, search in the opposite direction of the protection direction for whether there are any sections occupied by CTC according to the connection relationship of each section. Step 103: When a section occupied by CTC is found, the information of all CTC trains in the section occupied by CTC is stored in the train cache table. Step 104: Determine the CTC approach status of the signal according to the train buffer table. The CTC approach status is either CTC approach or CTC not approaching.
[0032] In practical applications, the executing entity of this signal CTC proximity calculation method can be a signal CTC proximity calculation device. There are various ways to implement a signal CTC proximity calculation device. For example, it can be implemented through a computer program, such as application software; or, for example, a chip. It can also be implemented as a medium storing the relevant computer program, such as a USB flash drive or cloud storage; or, it can be implemented through a physical device that integrates or installs the relevant computer program, such as a server or smart device.
[0033] The following section uses the signal CTC proximity calculation device as the execution subject to specifically describe the signal CTC proximity calculation method provided in this application.
[0034] Specifically, step 101 includes: obtaining the position information and protection direction of the signal.
[0035] The signal's position information represents the location of the signal. For example, the signal's position information includes: the section number of the track section outside the signal and the offset of the track section it is located on.
[0036] The protection direction of a signal refers to the direction of the track section protected by the signal, that is, the positive direction of the track area that the signal restricts trains from entering.
[0037] The following is combined with Figure 2 The location information and protection direction of the signal shall be explained. Figure 2 This is a schematic diagram of the position of the signal provided by the present invention.
[0038] like Figure 2 As shown, signal X1 is placed at the boundary between the handover zone (ZC) and the takeover zone (ZC), and is a boundary signal. Signal X2 is placed inside the takeover zone (ZC), and is a regular signal. Signal X3 serves as the dividing point between uphill and downhill traffic. Trains travel from left to right; to the left of signal X3 is uphill, and to the right is downhill. Signal X3 is called a turning point signal. For signal X2, section S4 is the outer section, and section S5 is the inner section.
[0039] For example, for signal X1, assuming the length of section S2 is 200m, the position information of signal X1 relative to the handover ZC is (S2, 200m), and the position information relative to the takeover ZC is (S3, 0m). The protection direction of signal X1 is upward. As another example, for signal X3, assuming the length of S6 is 180 meters, the position information of signal X3 is (S6, 180m), and its protection direction is downward.
[0040] In this embodiment, after the signal CTC proximity computing device obtains the position information and protection direction of the signal, for each signal, starting from the position information of the signal, it searches in the opposite direction of the protection direction, according to the connection relationship of each segment, to find whether there is a segment occupied by the CTC.
[0041] Further, step 102 includes: starting from the position information of the signal, searching sequentially along the opposite direction of the protection direction for whether there are any sections occupied by CTC according to the connection relationship of each section.
[0042] The section occupied by CTC refers to the track section currently occupied by one or more trains under CTC control.
[0043] In this context, the opposite direction of protection refers to the direction opposite to the extension of the track section protected by the signal. In practical applications, searching in the opposite direction of protection can help locate trains approaching the signal; that is, searching for the train in the direction it came from.
[0044] In practice, there are three situations in which the search stops. The first is when a segment already occupied by CTC is found, at which point the search stops. The second is when the maximum number of segments searched has been reached, and no segment already occupied by CTC has been found, at which point the search stops. The third is when the maximum number of segments searched has been reached, and a segment already occupied by CTC is found, at which point the search stops.
[0045] The maximum number of search segments can be dynamically set according to the actual application scenario and actual computing needs. Understandably, setting the maximum number of search segments can control the search within a certain range, avoiding the waste of computing resources when CTC approaches its limit.
[0046] In practical applications, the signal CTC proximity computing device starts with the signal's position information and searches in the opposite direction of the protection direction for whether there are any sections occupied by the CTC, based on the connection relationship of each section (without considering the section locking situation).
[0047] Understandably, for each signal, it is not necessary to traverse all movement authorization sections of all trains. Instead, starting from the signal, the system searches section by section in the opposite direction of the protection direction to see if there are any sections occupied by the CTC. Once a section occupied by the CTC is found or the maximum number of sections to be searched is reached, the search stops. Trains and sections that are not related to the current signal can be excluded, greatly reducing invalid calculations.
[0048] Alternatively, in one implementation, Figure 3 This is the second flowchart of the signal CTC proximity calculation method provided by the present invention. Step 102 includes: Step 1021: Starting from the position information of the signal, determine the initial search section in the opposite direction of the protection direction. The initial search section is the section where the signal is located in the opposite direction of the protection direction. Step 1022: Determine whether the current search segment is a CTC-occupied segment; Step 1023: If the current search segment is a CTC-occupied segment, then stop the search; Step 1024: If the current search segment is not a CTC-occupied segment, determine whether the number of searched segments has reached the maximum number of searched segments; Step 1025: If the number of searched segments has not reached the maximum number of searched segments, determine the next search segment and return to execute step 1022 above; Step 1026: If the number of searched segments has reached the maximum number of searched segments, then stop searching.
[0049] In practical applications, starting with the position information of the signal, the search proceeds in the opposite direction of the protection direction, sequentially searching for sections occupied by the CTC (Controlled Traffic Control) based on the connection relationships of each section. The search stops when a section occupied by the CTC is found or the maximum number of sections to search is reached.
[0050] Specifically, starting from the position information of the signal, the initial search section is determined based on the position information of the signal and the protection direction. The initial search section is the section where the signal is located.
[0051] Combination Figure 2 Signal X2 is located at the intersection of section S4 and section S5. For signal X2, section S4 is the outer section and section S5 is the inner section. Therefore, for signal X2, section S4 is set as the initial search section.
[0052] Further, steps 1022 to 1026 are executed repeatedly until a segment occupied by CTC is found or the maximum number of segments to be searched is reached, at which point the search stops.
[0053] Combination Figure 2For signal controller X2, segment S4 is set as the initial search segment. It is then determined whether segment S4 is occupied by a CTC, based on... Figure 2 It can be seen that segment S4 is occupied by CTC, so the search stops.
[0054] Combination Figure 2 For signal X3, which is a turning point signal, when a train passes through signal X3 from left to right, its running direction changes from uphill to downhill. The search is performed in the opposite direction of its protection direction, i.e., from right to left. When calculating the CTC approach situation for signal X3, section S6 is set as the initial search section. First, it is determined whether section S6 is a CTC-occupied section. Since S6 is idle, it is not a CTC-occupied section, and the number of searched sections has not reached the maximum search section number. The next search section is determined to be section S5. Further, it is determined whether section S5 is a CTC-occupied section. Since S5 is idle, it is not a CTC-occupied section, and the number of searched sections has not reached the maximum search section number. The next search section is determined to be section S4. Further, it is determined whether section S4 is a CTC-occupied section. Since section S4 is a CTC-occupied section, the search ends.
[0055] Combination Figure 2 Signal X1 is special because during its search from right to left, all sections are under the jurisdiction of the Zone Control Center (ZC). Therefore, the approach information of signal X1 is calculated by the Zone Control Center. The position information of signal X1 is (S2, 200m), its occupancy status is idle, and the search to the left finds that section S1 is occupied by the Central Traffic Control Center (CTC), ending the search.
[0056] Understandably, for each signal, it is not necessary to traverse all movement authorization sections of all trains. Instead, starting from the signal, the search proceeds segment by segment in the opposite direction of the protection direction. Once a segment occupied by the CTC is found or the maximum number of segments to be searched is reached, the search stops. Trains and segments unrelated to the current signal can be excluded, which can significantly reduce invalid calculations.
[0057] In practical applications, to further reduce the time spent calculating CTC approach and improve the efficiency of signal CTC approach calculation, it is necessary to consider the actual road conditions. Specifically, when determining the next search section, it is necessary to consider information such as the state of the turnout, whether the search distance is exceeded, and the cross-pressure status of the signal.
[0058] Optionally, in one example, determining the next search segment in step 1025 above includes: Determine if the next adjacent segment in the opposite direction of the current search segment exists; If the next adjacent segment does not exist, the search stops and the CTC approach status of the signal is set to CTC no approach. If the next adjacent section exists, determine whether the next adjacent section is a turnout; If the next adjacent section is not a turnout, then the next adjacent section will be used as the next search section. If the next adjacent section is a turnout, then determine whether the next adjacent section is a turnout with four openings; If the next adjacent section is a turnout with four openings, the search will stop and the CTC approach status of the signal will be set to CTC no approach. If the next adjacent section is not a turnout with four openings, then the next search section is determined according to the opening direction of the turnout.
[0059] A turnout is a switching device on a railway track that allows a train to switch from one track to another. It usually has two normal operating positions, allowing trains to pass. A four-way turnout means that neither of the two switch rails is in close contact with any of the stock rails, and the switch rails are suspended in the air, presenting a "four-way intersection" state, which does not allow trains to pass.
[0060] Specifically, if a turnout is encountered during the search, the search continues according to the turnout's direction; if a turnout with four turns is encountered, the search stops and the signal is set to have no CTC approach; if the next adjacent section does not exist (i.e., the end of the line), the search stops and the signal is set to have no CTC approach; if the number of searched sections reaches the maximum number of searched sections and no section occupied by a CTC is found, the search stops.
[0061] In this embodiment, if there is no CTC in the next adjacent section or the turnout is open, the search is stopped in time, and the CTC approach status of the signal is set to CTC no approach. This enables the CTC approach calculation to be completed in real time and with low power consumption, reducing the time spent calculating CTC approach and improving the efficiency of the signal's CTC approach calculation.
[0062] Further, step 103 includes: when a section occupied by a CTC is found, storing the information of all CTC trains on the section occupied by the CTC into the train cache table.
[0063] Based on the above explanation, there are three situations in which the search will stop. The first is when a segment already occupied by CTC is found, at which point the search stops. The second is when the maximum number of segments searched has been reached, but no segment occupied by CTC has been found, at which point the search stops. The third is when the maximum number of segments searched has been reached, and a segment occupied by CTC is found, at which point the search stops.
[0064] In practical applications, for the first and third scenarios, information on all CTC trains on the CTC-occupied segments is stored in the train cache table. For the second scenario, where the maximum number of segments searched has been reached and no CTC-occupied segment has been found, the train cache table is empty.
[0065] In this application, when a section occupied by a CTC is found, the information of all CTC trains in the section occupied by the CTC is stored in the train cache, so as to facilitate the determination of the CTC approach status of the signal according to the train cache table later.
[0066] Further, step 104 includes: determining the CTC approach status of the signal according to the train buffer table, wherein the CTC approach status is CTC approach or CTC not approaching.
[0067] Based on the above description, the train buffer table stores information on all CTC trains on the section occupied by the CTC. Optionally, the CTC train information includes the CTC train's movement authorization information. Specifically, for each signal, the movement authorization information of all CTC trains on the section occupied by the CTC is retrieved from the train buffer table, and it is determined one by one whether the movement authorization of each train has reached or exceeded the signal, thereby determining whether the CTC approach status of the signal is CTC approach or CTC not approaching.
[0068] For example, the movement authorization information includes, but is not limited to: the direction in which the train is allowed to run, the starting point and ending point of the allowed run, and the track section and turnout section numbers between the starting point and the ending point.
[0069] Alternatively, in one possible implementation, Figure 4 This is the third flowchart of the signal CTC proximity calculation method provided by the present invention. Step 104 above includes: Step 1041: Determine if the first train exists in the train cache table; The first train is the train whose movement authorization reaches or crosses the signal. Step 1042: If the first train is not in the train buffer table, then set the CTC approach status of the signal to CTC no approach. Step 1043: If the first train exists in the train buffer table, calculate the distance between the maximum safe front end of the first train and the signal. Step 1044: Determine whether the distance between the maximum safe front end of the first train and the signal is greater than the configured distance; Step 1045: If the distance between the maximum safe front end of the first train and the signal is greater than the configured distance, then set the CTC approach status of the signal to CTC no approach. Step 1046: If the distance between the maximum safe front end of the first train and the signal is not greater than the configured distance, then determine whether the signal is being crossed. Step 1047: If the signal is blocked, determine whether the train blocking the signal is the same train as the first train. Step 1048: If the train at the cross-voltage signal is the same train as the first train, then set the CTC approach state of the signal to CTC approach. Step 1049: If the train of the cross-voltage signal is not the same train as the first train, then set the CTC approach status of the signal to CTC no approach.
[0070] In this context, the first train refers to any train in the train cache table whose movement authorization has reached or passed the signal. In practical applications, each train in the train cache table is traversed to determine if its movement authorization has reached or passed the signal. If no train has a movement authorization to reach or pass the signal, the signal is set to "no approach." If a train has a movement authorization to reach or pass the signal, that train is designated as the first train, its ID is obtained, and the distance from the first train's maximum safe leading edge to the signal is calculated. Further, it is determined whether this distance is greater than the configured distance.
[0071] Further, determine whether the distance between the maximum safe front end of the first train and the signal is greater than the configured distance; if the distance between the maximum safe front end of the first train and the signal is greater than the configured distance, then set the CTC approach status of the signal to CTC no approach.
[0072] Furthermore, if the distance between the maximum safe leading edge of the first train and the signal is not greater than the configured distance, it is determined whether the signal is being blocked. If the signal is being blocked, it is determined whether the train blocking the signal is the same train as the first train; if the train blocking the signal is the same train as the first train, the ID of the first train is recorded, and the CTC approach status of the signal is set to CTC approach; if the train blocking the signal is not the same train as the first train, the CTC approach status of the signal is set to CTC no approach.
[0073] Understandably, all CTC trains found in the occupied section are added to the train cache table. Subsequently, only a small number of trains in the cache table are checked for movement authorization, rather than checking all trains one by one, further reducing the calculation scope. Therefore, the solution in this application can reduce the calculation time for CTC approach, especially suitable for scenarios with a large number of signals and many trains operating in large stations. It can significantly reduce the time spent calculating CTC approach, improve system operating efficiency, and meet the needs of complex operational scenarios.
[0074] Optionally, in one possible implementation, prior to step 1041 above, the method further includes: Check if the train cache table is empty; If the train buffer table is empty, then set the CTC approach status of the signal to CTC no approach. Step 1041 above specifically includes: If the train cache table is not empty, then determine whether the first train exists in the train cache table. The first train is the train whose movement authorization reaches or passes the signal.
[0075] Based on the above explanation, the train cache table may be empty. Therefore, before determining whether the train cache table is empty, you can check whether the train cache table is empty.
[0076] Specifically, if the train buffer table is empty, the CTC approach status of the signal is set to CTC no approach; if the train buffer table is not empty, each train in the train buffer table is traversed to determine whether its movement authorization has reached or passed the signal.
[0077] It should be noted that in the traditional CTC approach calculation method, calculating the CTC approach for each signal requires traversing all movement authorizations for all trains within the station yard. Assume a station yard has n signals and m trains, with each train's movement authorization containing q track sections. The traditional CTC approach calculation method has a maximum of [number of calculations needed]. Typically, each track section is 60-250 meters long, while a 6-car B-type car is approximately 120 meters long. Considering safety margins, there can be a maximum of 3 cars on a single track section. Therefore, the calculation method provided by this invention has a maximum of [number] calculations. .
[0078] When the value of m is large, such as m=60, the time consumed by this method to calculate CTC approach is reduced by 76 milliseconds compared with the traditional method (experimental data), while the communication cycle of ZC is generally no more than 300 milliseconds. This method greatly improves the vehicle control performance of ZC.
[0079] The signal CTC approach calculation method provided in this application obtains the signal's position information and protection direction; starting from the signal's position information, it searches sequentially along the opposite direction of the protection direction, based on the connection relationship of each section, to determine if there are any sections occupied by CTCs; when a section occupied by CTCs is found, the information of all CTC trains on the occupied section is stored in a train cache table; based on the train cache table, the CTC approach status of the signal is determined. It is understood that in this application, for each signal, it is not necessary to traverse all movement authorization sections of all trains; instead, it searches section by section along the opposite direction of the protection direction, starting from the signal. The search stops once a section occupied by CTCs is found or the maximum number of searched sections is reached, thus excluding trains and sections unrelated to the current signal and significantly reducing invalid calculations. Furthermore, by adding all CTC trains on the searched occupied sections to the train cache table, subsequent movement authorization checks are performed only on a small number of trains in the train cache table, rather than checking all trains one by one, further compressing the calculation scope. Therefore, the solution proposed in this application can reduce the calculation time for CTC approach, and is especially suitable for scenarios with a large number of signals and a large number of trains running in large stations. It can significantly reduce the calculation time for CTC approach, improve system operating efficiency, and meet the needs of complex operation scenarios.
[0080] The signal CTC proximity calculation device provided by the present invention is described below. The signal CTC proximity calculation device described below and the signal CTC proximity calculation method described above can be referred to in correspondence.
[0081] Figure 5 This is a schematic diagram of the CTC proximity computing device for signal controllers provided by the present invention, as shown below. Figure 5 As shown, the signal CTC proximity calculation device includes: Acquisition module 51 is used to acquire the position information and protection direction of the signal; The search module 52 is used to search sequentially for whether there are any sections occupied by CTC, starting from the position information of the signal and moving in the opposite direction of the protection direction, according to the connection relationship of each section. The cache module 53 is used to store the information of all CTC trains in the CTC-occupied section into the train cache table when a section occupied by CTC is found. The determination module 54 is used to determine the CTC approach status of the signal based on the train buffer table. The CTC approach status is either CTC approach or CTC not approaching.
[0082] The signal's position information represents the location of the signal. For example, the signal's position information includes: the section number of the track section outside the signal and the offset of the track section it is located on.
[0083] Optionally, in one embodiment, when the search module 52 is used to search sequentially for whether there is a section occupied by CTC, starting from the position information of the signal and moving in the opposite direction of the protection direction, according to the connection relationship of each section, the specific function is: Starting from the position information of the signal, determine the initial search section in the opposite direction of the protection direction. The initial search section is the section where the signal is located in the opposite direction of the protection direction. Determine if the current search segment is a CTC-occupied segment; If the current search segment is occupied by CTC, then stop the search; If the current search segment is not a CTC-occupied segment, then determine whether the number of searched segments has reached the maximum number of searched segments; If the number of searched segments has not reached the maximum number of searched segments, then determine the next search segment and return to the above steps to determine whether the current search segment is occupied by CTC; If the maximum number of segments searched has been reached, the search will stop.
[0084] Optionally, in one example, when the search module 52 is used to determine the next search segment, it is specifically used for: Determine if the next adjacent segment in the opposite direction of the current search segment exists; If the next adjacent segment does not exist, the search stops and the CTC approach status of the signal is set to CTC no approach. If the next adjacent section exists, determine whether the next adjacent section is a turnout; If the next adjacent section is not a turnout, then the next adjacent section will be used as the next search section. If the next adjacent section is a turnout, then determine whether the next adjacent section is a turnout with four openings; If the next adjacent section is a turnout with four openings, the search will stop and the CTC approach status of the signal will be set to CTC no approach. If the next adjacent section is not a turnout with four openings, then the next search section is determined according to the opening direction of the turnout.
[0085] Optionally, the aforementioned determining module 54 is specifically used for: Determine if the first train exists in the train cache table. The first train is the train whose movement authorization has reached or passed the signal. If the first train is not in the train cache table, the CTC approach status of the signal is set to CTC no approach. If the first train exists in the train buffer table, calculate the distance between the maximum safe front end of the first train and the signal. Determine whether the distance between the maximum safe front end of the first train and the signal is greater than the configured distance; If the distance between the maximum safe front end of the first train and the signal is greater than the configured distance, then the CTC approach status of the signal is set to CTC no approach. If the distance between the maximum safe front end of the first train and the signal is not greater than the configured distance, then determine whether the signal is being crossed. If a signal is blocked, determine whether the train blocking the signal is the same train as the first train. If the train at the cross-voltage signal is the same train as the first train, then set the CTC approach status of the signal to CTC approach. If the train at the cross-voltage signal is not the same train as the first train, then the CTC approach status of the signal is set to CTC no approach.
[0086] Optionally, in one possible implementation, the determining module 54 is further configured to: Check if the train cache table is empty; If the train buffer table is empty, then set the CTC approach status of the signal to CTC no approach. Step 1051 above specifically includes: If the train cache table is not empty, then determine whether the first train exists in the train cache table. The first train is the train whose movement authorization reaches or passes the signal.
[0087] In the signal CTC approach calculation device provided by this invention, the acquisition module acquires the signal's position information and protection direction; the search module, starting from the signal's position information, searches sequentially along the opposite direction of the protection direction to determine if any sections are occupied by CTCs, based on the connection relationships of each section; the caching module, upon finding a section occupied by CTCs, stores the information of all CTC trains on that section in a train cache table; and the determination module determines the signal's CTC approach status based on the train cache table. It is understood that in this application, for each signal, it is not necessary to traverse all movement authorization sections of all trains. Instead, starting from the signal, the search proceeds segment by segment along the opposite direction of the protection direction. The search stops once a section occupied by CTCs is found or the maximum number of searched sections is reached, thus excluding trains and sections unrelated to the current signal and significantly reducing invalid calculations. Furthermore, by adding all CTC trains on the searched occupied sections to the train cache table, subsequent movement authorization checks are performed only on a small number of trains in the train cache table, rather than checking all trains one by one, further compressing the calculation scope. Therefore, the solution proposed in this application can reduce the calculation time for CTC approach, and is especially suitable for scenarios with a large number of signals and a large number of trains running in large stations. It can significantly reduce the calculation time for CTC approach, improve system operating efficiency, and meet the needs of complex operation scenarios.
[0088] Figure 6 This is a schematic diagram of the structure of the electronic device provided by the present invention, such as... Figure 6 As shown, the electronic device may include a processor 610, a communications interface 620, a memory 630, and a communication bus 640. The processor 610, communications interface 620, and memory 630 communicate with each other via the communication bus 640. The processor 610 can call logical instructions in the memory 630 to execute a signal CTC approach calculation method. This method includes: acquiring the signal's position information and protection direction; starting from the signal's position information, searching sequentially along the opposite direction of the protection direction, based on the connection relationships of each section, for any sections occupied by CTCs; when a section occupied by CTCs is found, storing the information of all CTC trains on the occupied section into a train cache table; and determining the signal's CTC approach status based on the train cache table, wherein the CTC approach status is either CTC approach or CTC not approaching.
[0089] Furthermore, the logical instructions in the aforementioned memory 630 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0090] On the other hand, the present invention also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the signal CTC approach calculation method provided by the above methods. The method includes: acquiring the position information and protection direction of the signal; starting from the position information of the signal, searching sequentially along the opposite direction of the protection direction according to the connection relationship of each section to see if there is a section occupied by CTC; when a section occupied by CTC is found, storing the information of all CTC trains on the section occupied by CTC into a train cache table; and determining the CTC approach status of the signal according to the train cache table, wherein the CTC approach status is CTC approach or CTC not approaching.
[0091] In another aspect, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon. When executed by a processor, the computer program implements the signal CTC proximity calculation method provided by the above methods. The method includes: acquiring the position information and protection direction of the signal; starting from the position information of the signal, searching sequentially along the opposite direction of the protection direction, according to the connection relationship of each section, whether there is a section occupied by CTC; when a section occupied by CTC is found, storing the information of all CTC trains on the section occupied by CTC into a train cache table; and determining the CTC proximity status of the signal according to the train cache table, wherein the CTC proximity status is CTC proximity or CTC no proximity.
[0092] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0093] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0094] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for calculating the CTC (Closer Tolerance) of a signal horn, characterized in that, include: Obtain the position information and protection direction of the signal; Starting with the position information of the signal, and moving in the opposite direction of the protection direction, search sequentially for any sections occupied by the CTC according to the connection relationship of each section. When a section occupied by CTC is found, the information of all CTC trains in the section occupied by CTC is stored in the train cache table. Based on the train buffer table, the CTC approach status of the signal is determined, wherein the CTC approach status is either CTC approaching or CTC not approaching; The step of determining the CTC approach state of the signal based on the train buffer table includes: Determine whether a first train exists in the train cache table, wherein the first train is a train whose movement authorization reaches or passes the signal; If the first train is not in the train cache table, then the CTC approach status of the signal is set to CTC no approach. If the first train exists in the train buffer table, then calculate the distance between the maximum safe front end of the first train and the signal. Determine whether the distance between the maximum safe front end of the first train and the signal is greater than the configured distance; If the distance between the maximum safe front end of the first train and the signal is greater than the configured distance, then the CTC approach status of the signal is set to CTC no approach. If the distance between the maximum safe front end of the first train and the signal is not greater than the configured distance, then determine whether the signal is being strangled; If the signal is crossed, then determine whether the train crossing the signal is the same train as the first train; If the train crossing the signal is the same train as the first train, then the CTC approach state of the signal is set to CTC approach. If the train crossing the signal is not the same train as the first train, then the CTC approach status of the signal is set to CTC no approach.
2. The signal CTC proximity calculation method according to claim 1, characterized in that, Starting from the signal position information, and moving in the opposite direction of the protection direction, the process sequentially searches for sections occupied by CTCs based on the connection relationships of each section, including: Starting from the position information of the signal, an initial search segment is determined in the opposite direction of the protection direction, wherein the initial search segment is the segment where the signal is located in the opposite direction of the protection direction; Determine if the current search segment is a CTC-occupied segment; If the current search segment is occupied by CTC, then stop the search; If the current search segment is not a CTC-occupied segment, then determine whether the number of searched segments has reached the maximum number of searched segments; If the number of searched segments has not reached the maximum number of searched segments, then determine the next search segment and return to the step of determining whether the current search segment is a CTC occupied segment; If the maximum number of segments searched has been reached, the search will stop.
3. The signal CTC proximity calculation method according to claim 2, characterized in that, Determining the next search segment includes: Determine if the next adjacent segment in the opposite direction of the current search segment exists; If the next adjacent segment does not exist, the search stops and the CTC approach status of the signal is set to CTC no approach. If the next adjacent section exists, determine whether the next adjacent section is a turnout; If the next adjacent section is not a turnout, then the next adjacent section is taken as the next search section; If the next adjacent section is a turnout, then determine whether the next adjacent section is a turnout with four openings; If the next adjacent section is a turnout with four openings, then stop the search and set the CTC approach status of the signal to CTC no approach. If the next adjacent section is not a turnout with four openings, then the next search section is determined according to the opening direction of the turnout.
4. The signal CTC proximity calculation method according to claim 1, characterized in that, Before determining whether the first train exists in the train cache table, the method further includes: Check if the train cache table is empty; If the train buffer table is empty, then the CTC approach status of the signal is set to CTC no approach. The step of determining whether the first train exists in the train cache table specifically includes: If the train cache table is not empty, then determine whether the first train exists in the train cache table.
5. The signal CTC proximity calculation method according to any one of claims 1-4, characterized in that, The location information includes the section number of the track section outside the signal and the offset of the track section.
6. A signal CTC proximity calculation device, characterized in that, include: The acquisition module is used to acquire the position information and protection direction of the signal. The search module is used to search for whether there are any sections occupied by CTC, starting from the position information of the signal and moving in the opposite direction of the protection direction, according to the connection relationship of each section. The caching module is used to store the information of all CTC trains in the CTC-occupied section into the train cache table when a section occupied by CTC is found. The determination module is used to determine the CTC approach status of the signal based on the train buffer table, wherein the CTC approach status is CTC approach or CTC not approaching; The determining module is specifically used for: Determine whether a first train exists in the train cache table, wherein the first train is a train whose movement authorization reaches or passes the signal; If the first train is not in the train cache table, then the CTC approach status of the signal is set to CTC no approach. If the first train exists in the train buffer table, then calculate the distance between the maximum safe front end of the first train and the signal. Determine whether the distance between the maximum safe front end of the first train and the signal is greater than the configured distance; If the distance between the maximum safe front end of the first train and the signal is greater than the configured distance, then the CTC approach status of the signal is set to CTC no approach. If the distance between the maximum safe front end of the first train and the signal is not greater than the configured distance, then determine whether the signal is being strangled; If the signal is crossed, then determine whether the train crossing the signal is the same train as the first train; If the train crossing the signal is the same train as the first train, then the CTC approach state of the signal is set to CTC approach. If the train crossing the signal is not the same train as the first train, then the CTC approach status of the signal is set to CTC no approach.
7. An electronic 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 computer program, it implements the signal CTC proximity calculation method as described in any one of claims 1 to 5.
8. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the signal CTC proximity calculation method as described in any one of claims 1 to 5.
9. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the signal CTC proximity calculation method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Method for computing signaler trans-voltage command
CN102951186A
CBTC system normal state lighting processing method and device
CN112213971A