Rail section takeover area controller information calculation method and device and medium
By reverse path search method, the direction conversion point is processed in the calculation of the information of the rail section takeover area controller, which solves the problem of low computing efficiency in the prior art, and realizes accurate calculation of the information of the takeover area controller and improves the operation control of the train System efficiency.
Patent Information
- Application Number
- CN202411226001.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-03
- Publication Date
- 2024-12-06
AI Technical Summary
The existing track section takeover area controller information calculation method fails to effectively handle the direction conversion point in the overlapping area, resulting in inefficient calculation efficiency of train operation control software and increasing unnecessary computing burden.
Through the reverse path search method, the area controller boundary in each overlapping area can be calculated by statically connected by all track segments and directions, and the results are converted into takeover area controller information to ensure accurate correlation of statically connected track segments , avoid searching for invalid paths.
The operation efficiency of the train operation control system is improved, ensuring the correct calculation of the direction of the takeover area controller in the overlapping area, reducing the calculation burden of offline data preparation tools, and improving the overall operation efficiency.
Smart Images

Figure CN119078932A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a rail transit signal system, and in particular to a method, device and medium for calculating information of a track section takeover area controller based on reverse path search. Background Art
[0002] When a train enters the overlapping area of the regional controller boundary, it means that the train is about to leave the current regional controller range and enter the adjacent regional controller range, which tells the train operation control software to prepare for switching regional controllers. Each track section provided by the offline data preparation tool contains the takeover regional controller information, which can know the regional controller it may switch to after obtaining the positioning information and running direction of the track section where the train is located.
[0003] In the previous method of calculating the information of the regional controller when the track segment takes over, the regional controller is added to all the track segments on the other side of the boundary overlapping area. Although this is simple to implement, it does not take into account the problem that the associated direction will be changed due to the direction change points in the overlapping area, and the track segments that are not statically connected to the boundary do not need to be associated with the regional controller. Adding the association may cause the train operation control software to add unnecessary calculations, affecting operation efficiency.
[0004] Whether a track segment is statically connected to a boundary depends on whether there is a one-way path between the track segment and the boundary of the regional controller. Searching from the track segment will find many invalid paths due to switches, but there may be only one path that can actually connect to the boundary. The calculation in the middle will cause the offline data preparation tool to run inefficiently.
[0005] After searching, Chinese patent publication number CN111874044A discloses a method for transferring vehicles across overlapping areas. Specifically, after the target vehicle completely leaves the first axle counter and enters the second axle counter, if the transfer area controller receives the second axle counter occupancy status signal sent by the takeover area controller, the first axle counter is set to an idle state, and the first axle counter idle state signal is sent to the takeover area controller, so that the takeover area controller updates the state of the second axle counter according to the idle state of the first axle counter, and controls the target vehicle to pass through the overlapping area according to the states of the first axle counter and the second axle counter. This patent solves the problem of inconsistent delays in the axle counter section occupancy status sent by the first computer interlocking received by the transfer area controller and the axle counter section occupancy status sent by the takeover area controller, resulting in discontinuity in the axle counter section occupancy status inside the transfer area controller and the takeover area controller, and provides a guarantee for the train to smoothly complete the switching between different overlapping areas. However, this patent does not involve how to correctly calculate the direction of the takeover area controller when there is a direction conversion point in the overlapping area. Summary of the invention
[0006] The purpose of the present invention is to overcome the defects of the above-mentioned prior art and to provide a method, device and medium for calculating the information of a track segment takeover area controller, which can accurately associate the track segment statically connected to the boundary of the area controller to the takeover area controller, and can correctly calculate the direction when there is a direction change point.
[0007] The purpose of the present invention can be achieved by the following technical solutions:
[0008] According to a first aspect of the present invention, a method for calculating track section takeover area controller information is provided, the method comprising the following steps:
[0009] Step S1, input line data;
[0010] Step S2, obtaining all the area controller boundary overlap area information that needs to be calculated according to the line data;
[0011] Step S3, calculating all track segments and directions of the zone controller boundary in each overlapping area that can be reached through static connection in the current overlapping area;
[0012] Step S4, converting the result of step S3 into the takeover area controller information of each reachable track section;
[0013] Step S5, outputting the result converted in step S4.
[0014] As a preferred technical solution, the line data in step S1 includes track section information, area controller information and area controller boundary overlap area information.
[0015] As a preferred technical solution, the area controller boundary overlap area information in step S2 includes area controller information on both sides, track segment information contained in the overlap area by the area controllers on both sides, and track segment information of the area controllers on both sides closest to the overlap area boundary.
[0016] As a preferred technical solution, step S3 specifically includes the following steps:
[0017] Step S301, traverse all the overlapping areas of the regional controller boundaries to obtain the current overlapping area that needs to be calculated;
[0018] Step S302, taking the area controller on one side of the current overlapping area as a reference, taking the track segment of the area controller on the other side of the current overlapping area closest to the boundary of the overlapping area as a search starting point;
[0019] Step S303, finding the starting search direction, and recording the starting search direction as the direction of the starting track segment;
[0020] Step S304, searching from the search starting point along the initial search direction, and recording each track segment in the path and the search direction at that time during the search process;
[0021] Step S305, taking the other side area controller in step S302 as a reference, execute steps S302 to S304 again.
[0022] As a preferred technical solution, the initial search direction in step S303 is specifically:
[0023] Find the track segment of the current area controller that is closest to the overlap area boundary in the direction of the starting track segment, and use the opposite direction of this direction as the starting search direction.
[0024] As a preferred technical solution, the search process in step S304 is specifically as follows:
[0025] Along the search direction, all paths are searched according to the connection relationship displayed by the track section information in the line data. When a direction change point is encountered, the search direction is changed and the search continues.
[0026] As a preferred technical solution, each of the paths only includes the track segment within the current overlapping area.
[0027] As a preferred technical solution, step S4 specifically includes the following steps:
[0028] Step S401, initializing the track segment and its uplink and downlink direction takeover area controller table;
[0029] Step S402, traverse all calculated overlapping areas to obtain all regional controllers and all track segments they searched and corresponding search direction information;
[0030] Step S403, for each track segment, add the current zone controller to the takeover zone controller table in the opposite direction of the current track segment search direction.
[0031] As a preferred technical solution, in step S5, the result converted in step S4 is output to the template.
[0032] As a preferred technical solution, the template is a file in csv format.
[0033] According to a second aspect of the present invention, there is provided an electronic device, comprising a memory and a processor, wherein a computer program is stored in the memory, and the method described above is implemented when the processor executes the program.
[0034] According to a third aspect of the present invention, there is provided a computer-readable storage medium having a computer program stored thereon, wherein the program implements the method described above when executed by a processor.
[0035] Compared with the prior art, the present invention has the following advantages:
[0036] 1) The present invention provides an efficient judgment and calculation method for the track section takeover area controller calculation;
[0037] 2) The present invention can correctly calculate the direction of the takeover area controller when there is a direction conversion point in the overlapping area;
[0038] 3) The present invention can accurately associate the track section statically connected to the boundary of the regional controller to the takeover regional controller, thereby improving the operating efficiency of the train operation control system software;
[0039] 4) The present invention searches from the boundary in reverse to the track segment, and will not search for invalid paths that are not statically connected. At the same time, one search can include all track segments that can be statically connected to the current boundary, which can greatly improve the operating efficiency of the offline data preparation tool. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 It is a specific flow chart of the present invention;
[0041] Figure 2 A flow chart for calculating all track segments and directions of the zone controller boundaries in each overlap region of the present invention that can be reached through static connections within the current overlap region;
[0042] Figure 3 A flow chart for calculating the takeover area controller information for each reachable track section of the present invention;
[0043] Figure 4 It is a partial diagram of an actual circuit of an embodiment of the present invention. DETAILED DESCRIPTION
[0044] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0045] like Figure 1 As shown, the present invention provides a method for calculating the information of the track section takeover area controller, the method comprising the following steps:
[0046] Step S1, input line data;
[0047] Step S2, obtaining all the area controller boundary overlap area information that needs to be calculated according to the line data;
[0048] Step S3, calculating all track segments and directions of the zone controller boundary in each overlapping area that can be reached through static connection in the current overlapping area;
[0049] Step S4, converting the result of step S3 into the takeover area controller information of each reachable track section. Step S5, outputting the converted result of step S4.
[0050] The line data in step S1 includes track section information, area controller information and area controller boundary overlap area information.
[0051] The area controller boundary overlap area information in step S2 includes area controller information on both sides, track segment information contained in the overlap area by the area controllers on both sides, and track segment information of the area controllers on both sides that is closest to the overlap area boundary.
[0052] like Figure 2 As shown, step S3 specifically includes the following steps:
[0053] Step S301, traverse all the overlapping areas of the regional controller boundaries to obtain the current overlapping area that needs to be calculated;
[0054] Step S302, taking the area controller on one side of the current overlapping area as a reference, taking the track segment of the area controller on the other side of the current overlapping area closest to the boundary of the overlapping area as a search starting point;
[0055] Step S303, finding the direction of the track segment of the current area controller closest to the overlap area boundary in the starting track segment, and taking the opposite direction of the direction as the starting search direction, and recording the starting search direction as the direction of the starting track segment;
[0056] Step S304, along the search direction, all paths are searched according to the connection relationship shown by the track segment information in the line data, each of the paths only includes the track segments in the current overlapping area, and the search direction is changed when a direction change point is encountered to continue the search, and each track segment in the path and the search direction at that time are recorded during the search process;
[0057] Step S305, taking the other side area controller in step S302 as a reference, execute steps S302 to S304 again.
[0058] like Figure 3 As shown, step S4 specifically includes the following steps:
[0059] Step S401, initializing the track segment and its uplink and downlink direction takeover area controller table;
[0060] Step S402, traverse all calculated overlapping areas to obtain all regional controllers and all track segments they searched and corresponding search direction information;
[0061] Step S403, for each track segment, add the current zone controller to the takeover zone controller table in the opposite direction of the current track segment search direction.
[0062] In the step S5, the result converted in the step S4 is output to a template, and the template is a file in csv format. Specific embodiments
[0064] The track section line connection of this embodiment is shown in Figure 4 shown.
[0065] Step A: Input line data;
[0066] The input line data, except for the zone controller boundary overlap information, can be found in Figure 4 shown.
[0067] Step B: Obtain all the area controller boundary overlap areas that need to be calculated;
[0068] The regional controller boundary overlap area information is shown in Table 1 below;
[0069] Table 1
[0070]
[0071]
[0072] Step C: Calculate all track segments and directions that can be reached by static connection within the current overlap region at the region controller boundary in each overlap region;
[0073] according to Figure 3 The method shown first obtains the upstream ZC1 of BOA1, and uses the downstream B3 as the starting track segment. Since B2 is in the downstream direction of B3, the upstream direction is used as the search direction, and B3-upstream information can be obtained. Then, the overlapping area boundary is encountered and the search is terminated.
[0074] Then obtain the downstream ZC2 of BOA1, and take the upstream B2 as the starting track segment. Since B3 is in the upward direction of B2, the downward direction is used as the search direction, and the B2-downward information can be obtained; then B2 searches in the downward direction, and at this time encounters a direction change point, and changes the search direction to the upward direction, and obtains the B1-upward information; then encounters the boundary of the overlapping area and ends the search.
[0075] The calculation of BOA2 and BOA3 is the same as that of BOA1.
[0076] The information after calculation is shown in Table 2.
[0077] Table 2
[0078] Overlap Area Name Region Controller Name Track section name direction BOA1 ZC1 B3 Up BOA1 ZC2 B2 Downside BOA1 ZC2 B1 Up BOA2 ZC2 B6 Up BOA2 ZC3 B4 Downside BOA2 ZC3 B5 Downside BOA3 ZC2 B8 Up BOA3 ZC4 B4 Downside BOA3 ZC4 B7 Downside
[0079] For BOA2, although B7 is included, it is not included in the calculation because it cannot be statically connected to B5; for BOA3, although B5 is included, it is not included in the calculation because it cannot be statically connected to B7.
[0080] Step D: Convert the result of step C into the takeover area controller information of each reachable track segment:
[0081] Traverse the information in Table 2, reverse the direction, and put it into the takeover area controller table of the corresponding direction of the corresponding track segment. Take B4 as an example, it exists in the track segments related to ZC3 and ZC4 at the same time, and the direction is the downlink direction. Therefore, after the direction is reversed, B4's uplink direction takeover area controller table contains ZC3 and ZC4.
[0082] The final information is shown in Table 3.
[0083] Table 3
[0084] Track section name Upstream direction takeover area controller table Downstream direction takeover area controller table B1 ZC2 B2 ZC2 B3 ZC1 B4 ZC3; ZC4 B5 ZC3 B6 ZC2 B7 ZC4 B8 ZC2
[0085] Step E: Output the result to a template, where the template is a file in csv format.
[0086] The above is an introduction to the method embodiment. The following is a further explanation of the scheme of the present invention through electronic equipment and storage medium embodiments.
[0087] The embodiment of the present invention also provides an electronic device including a central processing unit (CPU), which can perform various appropriate actions and processes according to computer program instructions stored in a read-only memory (ROM) or computer program instructions loaded from a storage unit into a random access memory (RAM). In the RAM, various programs and data required for device operation can also be stored. The CPU, ROM, and RAM are connected to each other via a bus. An input / output (I / O) interface is also connected to the bus.
[0088] Multiple components in the device are connected to the I / O interface, including: input units, such as keyboards, mice, etc.; output units, such as various types of displays, speakers, etc.; storage units, such as disks, optical disks, etc.; and communication units, such as network cards, modems, wireless communication transceivers, etc. The communication unit allows the device to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunication networks.
[0089] The processing unit performs the various methods and processes described above, such as methods S1 to S5. For example, in some embodiments, methods S1 to S5 may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit. In some embodiments, part or all of the computer program may be loaded and / or installed on the device via a ROM and / or a communication unit. When the computer program is loaded into the RAM and executed by the CPU, one or more steps of methods S1 to S5 described above may be performed. Alternatively, in other embodiments, the CPU may be configured to execute methods S1 to S5 in any other appropriate manner (e.g., by means of firmware).
[0090] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0091] The program code for implementing the method of the present invention can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code can be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.
[0092] In the context of the present invention, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0093] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A method for calculating the information of a track section takeover area controller, It is characterized in that The method comprises the following steps: Step S1, input line data; Step S2, obtaining all the area controller boundary overlap area information that needs to be calculated according to the line data; Step S3, calculating all track segments and directions of the zone controller boundary in each overlapping area that can be reached through static connection in the current overlapping area; Step S4, converting the result of step S3 into the takeover area controller information of each reachable track section; Step S5, outputting the result converted in step S4.
2. According to the method for calculating the track section takeover area controller information of claim 1, It is characterized in that The line data in step S1 includes track section information, area controller information and area controller boundary overlap area information.
3. According to the method for calculating the track section takeover area controller information of claim 1, It is characterized in that The area controller boundary overlap area information in step S2 includes area controller information on both sides, track segment information contained in the overlap area by the area controllers on both sides, and track segment information of the area controllers on both sides that is closest to the overlap area boundary.
4. According to the method for calculating the track section takeover area controller information of claim 1, It is characterized in that The step S3 specifically comprises the following steps: Step S301, traverse all the overlapping areas of the regional controller boundaries to obtain the current overlapping area that needs to be calculated; Step S302, taking the area controller on one side of the current overlapping area as a reference, taking the track segment of the area controller on the other side of the current overlapping area closest to the boundary of the overlapping area as a search starting point; Step S303, finding the starting search direction, and recording the starting search direction as the direction of the starting track segment; Step S304, searching from the search starting point along the initial search direction, and recording each track segment in the path and the search direction at that time during the search process; Step S305, taking the other side area controller in step S302 as a reference, execute steps S302 to S304 again.
5. A method for calculating the track section takeover area controller information according to claim 4, It is characterized in that The initial search direction in step S303 is specifically: Find the track segment of the current area controller that is closest to the overlap area boundary in the direction of the starting track segment, and use the opposite direction of this direction as the starting search direction.
6. A method for calculating track section takeover area controller information according to claim 4, It is characterized in that The search process in step S304 is specifically as follows: Along the search direction, all paths are searched according to the connection relationship displayed by the track section information in the line data. When a direction change point is encountered, the search direction is changed and the search continues.
7. A method for calculating track section takeover area controller information according to claim 6, It is characterized in that Each of the paths contains only the track segments within the current overlap region.
8. A method for calculating track section takeover area controller information according to claim 1, It is characterized in that The step S4 specifically comprises the following steps: Step S401, initializing the track segment and its uplink and downlink direction takeover area controller table; Step S402, traverse all calculated overlapping areas to obtain all regional controllers and all track segments they searched and corresponding search direction information; Step S403, for each track segment, add the current zone controller to the takeover zone controller table in the opposite direction of the current track segment search direction.
9. A method for calculating track section takeover area controller information according to claim 1, It is characterized in that In step S5, the result converted in step S4 is output to the template.
10. A method for calculating track section takeover area controller information according to claim 9, It is characterized in that The template is a file in csv format.
11. An electronic device comprising a memory and a processor, wherein a computer program is stored in the memory. It is characterized in that When the processor executes the program, the method according to any one of claims 1 to 10 is implemented.
12. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the method according to any one of claims 1 to 10 is implemented.
Citation Information
Patent Citations
A method of vehicle handing over across region overlap
CN111874044A
