Railway crossing control method, device and equipment and storage medium
By obtaining the shunting entry instruction set and judging the occupancy of the roadway, unnecessary crossing alarms are disabled, which solves the problem of unnecessary crossing occupation when trains are turned back in the railway shunting yard and improves transportation efficiency.
Patent Information
- Application Number
- CN202510147203.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-11
- Publication Date
- 2025-03-14
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the railway shunting lot, the train stops near the intersection and triggers the alarm device, but it does not actually turn back through the intersection, resulting in unnecessary occupation of the intersection and affecting the efficiency of road transportation.
By obtaining the shunting and access instructions set, determine the turn-back route, and determine whether to occupy the road crossing section based on the shunting and access instructions set, train length and return route. Without occupying the road entrance, a notification of disabling the alarm device is sent to the road entrance entrance equipment.
It effectively avoids unnecessary occupancy of road crossings, reduces the triggering of alarm devices, and improves transportation efficiency on the road side.
Smart Images

Figure CN119611478A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of railway marshaling yards, and in particular to a control method, device, equipment and storage medium for a railway crossing. Background Art
[0002] A crossing is the intersection of a railway track and a road. Usually, alarm facilities, railings, and personnel guarding are used to ensure the safety of pedestrians and motor vehicles when a train passes through the crossing. In some industrial and mining enterprises, the railways and roads are intricately intertwined, with many crossings. At the same time, railway shunting operations are complex and frequent, which often cause crossing alarms and reduce the transportation capacity of the road.
[0003] When a train is turning back, sometimes the train stops near a crossing and triggers the crossing alarm device without actually passing through the crossing and turning back. In this case, the train does not actually occupy the crossing, but triggers the crossing alarm, affecting the passage of pedestrians and motor vehicles and reducing the transportation capacity of the road. Therefore, how to reduce unnecessary crossing occupation during shunting operations is very important for improving the transportation efficiency on the road side of the railway shunting yard. Summary of the invention
[0004] The present invention provides a control method, device, equipment and storage medium for a railway crossing, so as to reduce unnecessary crossing occupancy and improve the transportation efficiency on the highway side.
[0005] According to one aspect of the present invention, there is provided a method for controlling a railway crossing, comprising:
[0006] Obtaining a shunting route instruction set; the shunting route instruction set includes a plurality of route instructions, wherein a single route is formed by a source section and a destination section in the route instruction; the shunting route instruction set includes a section where a crossing is located;
[0007] Determine the return route according to the source section and destination section associated with the route instructions in the shunting route instruction set;
[0008] Determine whether the train will occupy the section where the crossing is located according to the shunting route instruction set, the train length and the return route;
[0009] When the train does not occupy the section where the crossing is located, a notification to disable the alarm device is sent to the crossing equipment in the section where the crossing is located.
[0010] According to another aspect of the present invention, there is provided a control device for a railway crossing, comprising:
[0011] A route instruction acquisition module is used to acquire a shunting route instruction set; the shunting route instruction set includes multiple route instructions, and a single route is formed by a source section and a destination section in the route instruction; the shunting route instruction set includes a section where a crossing is located;
[0012] A reversing route determination module is used to determine the reversing route according to the source section and the destination section associated with the route instruction in the shunting route instruction set;
[0013] A crossing occupancy judgment module is used to determine whether a train will occupy the section where the crossing is located according to the shunting route instruction set, the train length and the return route;
[0014] The alarm disabling module is used to send a notification to disable the alarm device to the crossing equipment in the section where the crossing is located when the train is not occupying the section where the crossing is located.
[0015] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0016] at least one processor; and
[0017] a memory communicatively connected to the at least one processor; wherein,
[0018] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the railway crossing control method described in any embodiment of the present invention.
[0019] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the railway crossing control method described in any embodiment of the present invention when executed.
[0020] According to another aspect of the present invention, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the method for controlling a railway crossing according to any embodiment of the present disclosure is implemented.
[0021] The technical solution of the embodiment of the present invention searches for the turning route that the train needs to travel in the shunting route instruction set, and determines whether the train will occupy the section where the crossing is located based on the shunting route instruction set, the train length and the turning route. When the train does not occupy the section where the crossing is located, a notification to disable the alarm device is sent to the crossing equipment in the section where the crossing is located. This can avoid the triggering of the alarm device when the train turns back at the crossing and does not occupy the crossing, thereby improving the transportation efficiency on the highway side.
[0022] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0024] Figure 1 is a flow chart of a railway crossing control method provided according to Embodiment 1 of the present invention;
[0025] Figure 2a is a flow chart of a railway crossing control method provided according to Embodiment 2 of the present invention;
[0026] Figure 2b is a flow chart of the control of a railway crossing provided according to the second embodiment of the present invention;
[0027] Figure 2c is a schematic diagram of a railway crossing control scenario provided according to Embodiment 2 of the present invention;
[0028] Figure 3 is a schematic diagram of the structure of a railway crossing control device provided according to Embodiment 3 of the present invention;
[0029] Figure 4 A schematic diagram of the structure of an electronic device for implementing the railway crossing control method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0030] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only 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.
[0031] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0032] Embodiment 1
[0033] Figure 1 A flow chart of a method for controlling a railway crossing is provided for the first embodiment of the present invention. This embodiment is applicable to the case where a train performs a turnaround operation in a section including a crossing. The method can be executed by a control device for a railway crossing. The control device for a railway crossing can be implemented in the form of hardware and / or software. The control device for a railway crossing can be configured in various general-purpose computing devices. Figure 1 As shown, the method includes:
[0034] S110, obtaining a shunting route instruction set; the shunting route instruction set includes multiple route instructions, and the route instruction comprises a single route composed of a source section and a destination section; the shunting route instruction set includes a section where a crossing is located.
[0035] The shunting route instruction set is sent by the route instruction generation program, and contains instructions for multiple routes arranged in sequence. It is used to issue route control commands to the interlocking system to arrange the corresponding routes. The shunting route instruction set contains multiple route instructions arranged in sequence. Each route includes a source section, a destination section, a source port, and a destination port. Each route instruction consists of a single route composed of a source section and a destination section. The direction in which the train leaves the source section is the source port, and the direction in which the train enters the destination section is the destination port.
[0036] In a railway shunting yard, the railways and roads are complex and there are many crossings. When a train turns back, sometimes the train stops near a crossing and triggers the crossing alarm device without actually passing through the crossing. In order to reduce unnecessary crossing occupation and improve the transportation efficiency on the road side, the embodiment of the present invention focuses on the crossing control method when the shunting route instruction set includes the section where the crossing is located.
[0037] In a specific example, the shunting route instruction set includes 4 route instructions, namely route instruction 1: G3 to T2; route instruction 2: T2 to T1; route instruction 3: T1 to T2; route instruction 4: T2 to G2. Among them, G3, T2, T1 and T2 are sections in the railway, and T1 is the section where the crossing is located. Taking route instruction 1 as an example, it is used to guide the train from section G3 to section T2, that is, in route instruction 1, G3 is the source section, T2 is the destination section, and the single route of the train is composed of section G3 to section T2.
[0038] S120. Determine the return route according to the source section and the destination section associated with the route instructions in the shunting route instruction set.
[0039] The technical goal to be achieved in the embodiments of the present invention is to reduce unnecessary occupation of the crossing when the train turns back. For example, the train stops at the crossing and turns back without entering the crossing, that is, the train will not occupy the crossing, but the crossing equipment alarm will be triggered when the train approaches the crossing, thereby causing unnecessary occupation of the crossing. Therefore, in the embodiments of the present invention, after obtaining the shunting route instruction set, it is necessary to determine the turning route included in the shunting route instruction set according to the source section and destination section associated with the route instruction in the shunting route instruction set.
[0040] Specifically, the route instructions in the shunting route instruction set can be traversed. For the i-th route instruction in the shunting route instruction set, if the train enters the destination section from one side (south / north), and the i+1-th route instruction leaves this section from the same side, then it is determined that the route arranged by the i-th route instruction and the i+1-th route instruction constitutes a reversing route.
[0041] S130. Determine whether the train will occupy the section where the crossing is located based on the shunting route instruction set, the train length, and the return route.
[0042] In the embodiment of the present invention, when it is determined that the shunting route instruction set includes a reversing route, it can be first determined whether the reversing route includes the section where the crossing is located. If the reversing route includes the section where the crossing is located, it indicates that the train may turn around at the crossing without passing through the crossing, but the crossing alarm is triggered, causing unnecessary occupation of the crossing. At this time, it can be further determined whether the train will occupy the section where the crossing is located based on the shunting route instruction set, the train length, and the reversing route; if the reversing route does not include the section where the crossing is located, it indicates that the train will not turn around at the crossing, that is, the train will pass through and occupy the crossing, and no subsequent operations need to be performed.
[0043] Among them, according to the shunting route instruction set, the length of the train and the reversing route, the specific method of determining whether the train will occupy the section where the crossing is located can be: according to the shunting route instruction set and the reversing route, determine the train forward path (before reversing) and the train return path (after reversing) that the train travels under the guidance of the shunting route instruction set. Then, according to the train forward path and the train return path, determine the nearest reversing point of the train, that is, the earliest switch where the train can reversal without considering the length of the train. Finally, determine whether the distance from the crossing to the nearest reversing point can accommodate the length of the train, that is, whether the distance from the crossing to the nearest reversing point can be greater than the length of the train. If so, it is determined that the train will not occupy the section where the crossing is located. Otherwise, it is determined that the train will occupy the section where the crossing is located.
[0044] In addition to the above-mentioned situation where a reversing route is searched in the shunting route instruction set, if the shunting route instruction set does not include a reversing route, the train will not turn around at the crossing, that is, the train will pass through and occupy the crossing, and no subsequent operations are required.
[0045] S140. When the train does not occupy the section where the crossing is located, a notification to disable the alarm device is sent to the crossing equipment in the section where the crossing is located.
[0046] In the embodiment of the present invention, when it is determined that the train does not occupy the section where the crossing is located, a notification of disabling the alarm device is sent to the crossing equipment in the section where the crossing is located. At this time, the crossing equipment will not alarm due to the train approaching the crossing, and unnecessary occupation of the crossing will not be caused.
[0047] The technical solution of the embodiment of the present invention searches for the turning route that the train needs to travel in the shunting route instruction set, and determines whether the train will occupy the section where the crossing is located based on the shunting route instruction set, the train length and the turning route. When the train does not occupy the section where the crossing is located, a notification to disable the alarm device is sent to the crossing equipment in the section where the crossing is located. This can avoid the triggering of the alarm device when the train turns back at the crossing and does not occupy the crossing, thereby improving the transportation efficiency on the highway side.
[0048] Embodiment 2
[0049] Figure 2a This is a flow chart of a railway crossing control method provided in the second embodiment of the present invention. This embodiment further refines the above embodiment and provides specific steps for determining the return route according to the source section and destination section associated with the route instruction in the shunting route instruction set, and specific steps for determining whether the train will occupy the section where the crossing is located according to the shunting route instruction set, the train length and the return route. Figure 2a As shown, the method includes:
[0050] S210, obtaining a shunting route instruction set; the shunting route instruction set includes multiple route instructions, and the route instruction comprises a single route composed of a source section and a destination section; the shunting route instruction set includes the section where the crossing is located.
[0051] The specific railway crossing control process in the embodiment of the present invention is as follows Figure 2b As shown, after obtaining the shunting route instruction set, the instruction status can be checked. If the instruction status is successful, it means that the sorting instruction has been issued to the interlocking, the track section in the route has become locked and the signal state corresponding to the route is an open permission signal, and the subsequent steps of the embodiment of the present invention can be executed. If the instruction status is ended, it means that the route is cleared with a red light belt and the track section is unlocked, that is, the train has passed through this route, and the subsequent operations of the embodiment of the present invention are not executed.
[0052] S220. Extract two adjacent route instructions from the shunting route instruction set in turn as the current instruction pair; in the current instruction pair, the destination segment of the preceding route instruction and the source segment of the succeeding route instruction are the same.
[0053] In the embodiment of the present invention, in order to determine the return route in the shunting route instruction set, two adjacent route instructions are sequentially extracted from the shunting route instruction set as the current instruction pair to locate and guide the two adjacent route instructions of the return route. Among them, in the current instruction pair, the destination section of the preceding route instruction and the source section of the succeeding route instruction are the same. Among them, the preceding route instruction and the succeeding route instruction are determined based on the arrangement order of the route instructions in the shunting route instruction set.
[0054] In a specific example, the shunting route instruction set includes route instruction 1, route instruction 2, route instruction 3 and route instruction 4, then route instruction 1 and route instruction 2, route instruction 2 and route instruction 3, ... are sequentially extracted as the current instruction pair until the return route is found or the traversal of all route instructions in the shunting route instruction set is completed. Taking the current instruction pair consisting of route instruction 2 and route instruction 3 as an example, route instruction 2 is the preceding route instruction, and route instruction 3 is the succeeding route instruction.
[0055] S230, determining whether the direction in which the preceding route instruction in the current instruction pair enters the target segment is the same as the direction in which the succeeding route instruction leaves the source segment.
[0056] In the embodiment of the present invention, after extracting the current instruction pair, it is determined whether the direction of the current route instruction entering the target segment is the same as the direction of the subsequent route instruction leaving the source segment. Since in the current instruction pair, the target segment of the preceding route instruction and the source segment of the subsequent route instruction are the same. The above determination can also be understood as determining whether the direction of entering the target segment (segment A) in the i-th route instruction and the direction of leaving the source segment (segment A) in the i+1-th route instruction are the same.
[0057] S240. When the direction in which the preceding route instruction enters the target segment is the same as the direction in which the succeeding route instruction leaves the source segment, determine that the arranged routes of the current instruction constitute a reentry route.
[0058] In an embodiment of the present invention, when the direction in which the preceding route instruction enters the target segment is the same as the direction in which the succeeding route instruction leaves the source segment, it is determined that the arranged routes of the current instruction constitute a reentry route, and the segment equipment associated with the reentry route is added to the segment equipment list.
[0059] In a specific example, Figure 2c As shown in the figure, when the train performs shunting operations from G3 to G2, it needs to turn back in the direction of the T1 section where the crossing is located. Specifically, the shunting route instruction set includes 4 route instructions, namely route instruction 1: G3 to T2; route instruction 2: T2 to T1; route instruction 3: T1 to T2; route instruction 4: T2 to G2. Among them, G3, T2, T1 and T2 are sections in the railway, and T1 is the section where the crossing is located. The circular annotations represent the signal machines of the source port and destination port of each section.
[0060] Route instruction 2 enters the target section from the north side of the target section (T1 section), and route instruction 3 leaves the source section from the north side of the source section (T1 section), then it is determined that the route arranged by the current instruction pair (route instruction 2 and route instruction 3) constitutes a return route. At this time, T2, turnout 1 (positioning) and T1 can be added to the section equipment list.
[0061] S250. Determine the continuation routes of the forward route and the return route in the turnaround route in the shunting route instruction set.
[0062] The continuation route is the opposite of the return route. The route in which the train does not turn back in a certain section but continues to move in the current direction to the next section is called the continuation route.
[0063] In the embodiment of the present invention, in order to determine the entire path of the train, it is necessary to further determine the continuation routes of the forward route and the return route in the return route in the shunting route instruction set. Among them, the route corresponding to the preceding route instruction is called the forward route in the return route, and the route corresponding to the subsequent route instruction is called the return route in the return route, and the section equipment associated with the continuation route is added to the section equipment list.
[0064] Specifically, the i-th route instruction and the i+1-th route instruction constitute the return route. Starting from the i-th route instruction, search for its predecessor route instruction in reverse order in the shunting route instruction set, and determine in turn whether the routes arranged by the two adjacent route instructions constitute a continuous route.
[0065] Taking the i+1th route instruction as the starting point, search for its subsequent route instruction in the shunting route instruction set in positive order, and determine in turn whether the routes arranged by the two adjacent route instructions constitute a continuous route.
[0066] The method for determining whether the routes arranged by two route instructions constitute a continuous route is that for the i-th instruction, it enters the destination section from one side. If the i+1-th instruction leaves this section from the opposite side, then the routes arranged by the two route instructions constitute a continuous route.
[0067] Optionally, the continuation routes of the forward route and the return route in the turnaround route are determined in the shunting route instruction set, including:
[0068] Taking the preceding route instruction associated with the forward route in the return route as the starting point, search the route instruction in reverse order in the shunting route instruction set to determine the continuation route of the forward route;
[0069] Taking the subsequent route instruction associated with the return route in the reversing route as the starting point, search for the route instruction in the positive sequence in the shunting route instruction set to determine the continuation route of the return route.
[0070] In this optional embodiment, a specific method for determining the continuation routes of the forward route and the return route in the turnaround route in the shunting route instruction set is provided: starting from the preceding route instruction associated with the forward route in the turnaround route, the route instruction is searched in reverse order in the shunting route instruction set to determine the continuation route of the forward route. Starting from the succeeding route instruction associated with the return route in the turnaround route, the route instruction is searched in forward order in the shunting route instruction set to determine the continuation route of the return route.
[0071] Still Figure 2c For example, starting from the previous route instruction 2 associated with the forward route, search for route instruction 1 in reverse order in the shunting route instruction set to determine the continued route associated with the forward route. Starting from the previous route instruction 3 associated with the return route, search for route instruction 4 in the shunting route instruction set to determine the continued route associated with the return route.
[0072] Optionally, starting from the previous route instruction associated with the forward route in the return route, the route instruction is searched in reverse order in the shunting route instruction set to determine the continuation route of the forward route, including:
[0073] Taking the preceding route instruction associated with the forward route in the return route as the starting point, two adjacent route instructions are sequentially extracted from the shunting route instruction set in reverse order as the current instruction pair; in the current instruction pair, the destination section of the preceding route instruction and the source section of the succeeding route instruction are the same;
[0074] Determine whether the direction in which the preceding route instruction in the current instruction pair enters the target section is opposite to the direction in which the succeeding route instruction leaves the source section;
[0075] When the direction in which the preceding route instruction enters the target segment is opposite to the direction in which the succeeding route instruction leaves the source segment, it is determined that the current instruction constitutes a continuation of the forward route for the arranged routes.
[0076] In this optional embodiment, a specific method is provided for determining the continuation of the forward route by using the preceding route instruction associated with the forward route in the return route as the starting point, searching for route instructions in reverse order in the shunting route instruction set, and determining the continuation of the forward route: first, using the preceding route instruction associated with the forward route in the return route as the starting point, successively extracting two adjacent route instructions in reverse order from the shunting route instruction set as the current instruction pair; in the current instruction pair, the destination segment of the preceding route instruction and the source segment of the subsequent route instruction are the same. Further, determine whether the direction in which the preceding route instruction in the current instruction pair enters the target segment and the direction in which the subsequent route instruction leaves the source segment are opposite. In the case that the direction in which the preceding route instruction enters the target segment and the direction in which the subsequent route instruction leaves the source segment are opposite, determine that the route arranged by the current instruction pair constitutes the continuation of the forward route.
[0077] Optionally, starting from the subsequent route instruction associated with the return route in the turnaround route, the route instruction is searched in the forward sequence in the shunting route instruction set to determine the continuation route of the return route, including:
[0078] Taking the subsequent route instruction associated with the return route in the reversing route as the starting point, two adjacent route instructions are sequentially extracted from the shunting route instruction set as the current instruction pair; in the current instruction pair, the destination section of the preceding route instruction is the same as the source section of the subsequent route instruction;
[0079] Determine whether the direction in which the preceding route instruction in the current instruction pair enters the target section is opposite to the direction in which the succeeding route instruction leaves the source section;
[0080] When the direction in which the preceding route instruction enters the target segment is opposite to the direction in which the succeeding route instruction leaves the source segment, it is determined that the current instruction constitutes a continuation of the return route for the arranged routes.
[0081] Still Figure 2cFor example, route instruction 1: G3 to T2; route instruction 2: T2 to T1; route instruction 3: T1 to T2; route instruction 4: T2 to G2. Among them, route instruction 2 and route instruction 3 constitute a return route. For route instruction 2, find its predecessor instruction. Since route instruction 1 enters T2 from the north side of the destination section T2, and route instruction 2 leaves T2 from the south side of the source section T2, the directions are opposite, so the route arranged by route instruction 2 constitutes the continuation of the route arranged by route instruction 1. Similarly, since route instruction 3 enters T2 from the south side of the destination section T2, and route instruction 4 leaves T2 from the north side of the source section T2, the directions are opposite, so the route arranged by route instruction 4 constitutes the continuation of the route arranged by route instruction 3. At this time, G3, turnout No. 3 and G2 can be added to the section equipment list.
[0082] S260. The forward route in the reversing route and the continued route associated with the forward route constitute the train's forward path, and the return route in the reversing route and the continued route associated with the return route constitute the train's return path.
[0083] In the embodiment of the present invention, after determining the reversing route included in the shunting route instruction set and the continued route associated with the reversing route, the forward route in the reversing route and the continued route associated with the forward route constitute the train forward path, and obtain the equipment chain on the train forward path. The return route in the reversing route and the continued route associated with the return route constitute the train return path, and obtain the equipment chain on the train return path.
[0084] S270. Determine the nearest turning point of the train based on the section equipment on the train's forward path and the train's return path.
[0085] In the embodiment of the present invention, the nearest turning point of the train is determined according to the section equipment on the train forward path and the train return path. Specifically, the section equipment on the train forward path and the train return path are compared, and the first turnout with a different direction found along the return path starting from the section passing through the crossing is the nearest turning point.
[0086] Optionally, the nearest turning point of the train is determined based on the section equipment on the train forward path and the train return path, including:
[0087] In the section equipment on the train forward path and the train return path associated with the shunting route instruction set, the turnout direction is determined respectively;
[0088] Among the same turnouts included in the train's forward path and return path, the first turnout that opens in different directions in the train's forward path and the train's return path is determined as the train's nearest turning point.
[0089] In this optional embodiment, a specific method is provided for determining the nearest turning point of the train based on the section equipment on the train's forward path and the train's return path: in the section equipment on the train's forward path and the train's return path associated with the shunting route instruction set, the direction of the turnout is determined respectively, and among the same turnouts included in the train's forward path and the train's return path, the first turnout that opens in different directions in the train's forward path and the train's return path is determined as the train's nearest turning point.
[0090] Still Figure 2c For example, route instruction 1: G3 to T2; route instruction 2: T2 to T1; route instruction 3: T1 to T2; route instruction 4: T2 to G2. Among them, route instruction 2 and route instruction 3 constitute a reversing route. The route arranged by route instruction 2 constitutes a continuation of the route arranged by route instruction 1, and the equipment chain on the train's forward path can be obtained: turnout No. 3 (reverse position), T2, turnout No. 1 (positioning) and T1. The route arranged by route instruction 4 constitutes a continuation of the route arranged by route instruction 3, and the equipment chain on the train's return path can be obtained: T1, turnout No. 1 (positioning), T2, turnout No. 3 (positioning). It can be seen that among the same turnouts included in the train's forward path and return path, the first turnout that opens to different directions in the train's forward path and the train's return path is turnout No. 3, which means that turnout No. 3 can be determined as the train's nearest turning point.
[0091] S280, calculating the cumulative length of the section from the section where the crossing is located to the nearest turning point, and when the train length is less than the cumulative length, determining that the train does not occupy the section where the crossing is located.
[0092] In the embodiment of the present invention, the cumulative length of the section from the section where the crossing is located to the nearest turning point is calculated, and when the length of the train is less than the cumulative length, it is determined that the train does not occupy the section where the crossing is located. Specifically, the section length is read according to the static data configuration, and the total length of the section from the crossing to the nearest turning point is calculated. If the total length is greater than the length of the train, the train does not need to occupy the crossing during operation, otherwise it needs to occupy the crossing.
[0093] In a specific example, as shown in Figure 2, route instruction 1: G3 to T2; route instruction 2: T2 to T1; route instruction 3: T1 to T2; route instruction 4: T2 to G2. Among them, route instruction 2 and route instruction 3 constitute a reversing route. The route arranged by route instruction 2 constitutes a continuation of the route arranged by route instruction 1, and the route arranged by route instruction 4 constitutes a continuation of the route arranged by route instruction 3. Turnout No. 3 is the nearest turning point for the train. Calculate the cumulative length of the section from the section where the crossing is located to the nearest turning point, that is, calculate the cumulative length of the section where turnout No. 1 is located and the T2 section. When the train length is less than the cumulative length, it is determined that the train does not occupy the section where the crossing is located.
[0094] S290. When the train does not occupy the section where the crossing is located, a notification to disable the alarm device is sent to the crossing equipment in the section where the crossing is located.
[0095] S291. After the return route on the train return path is cleared, a notification to activate the alarm device is sent to the crossing equipment in the section where the crossing is located.
[0096] In the embodiment of the present invention, after the return route on the train return path is cleared, a notification to activate the alarm device is sent to the crossing equipment in the section where the crossing is located. Still taking Figure 2 as an example, when it is detected that the route of route instruction 3 (T1 to T2) has been cleared, it means that the train has left the T2 section and started to enter G2, then a notification is sent to the crossing equipment to activate the alarm device.
[0097] The technical solution of the embodiment of the present invention searches for the return route that the train needs to travel in the shunting route instruction set, and then determines the continuation routes of the forward route and the return route in the return route in the shunting route instruction set respectively, the forward route in the return route and the continuation route associated with the forward route constitute the forward path of the train, and the return route in the return route and the continuation route associated with the return route constitute the return path of the train, and according to the section equipment on the forward path of the train and the return path of the train, the nearest turning point of the train is determined, and the cumulative length of the section from the section where the crossing is located to the nearest turning point is calculated. When the train length is less than the cumulative length, it is determined that the train does not occupy the section where the crossing is located, and the train can turn back at the crossing. When the crossing is not occupied, the triggering of the alarm device is avoided, thereby improving the transportation efficiency on the highway side.
[0098] Embodiment 3
[0099] Figure 3 This is a schematic diagram of the structure of a railway crossing control device provided in Embodiment 3 of the present invention. Figure 3 As shown, the device comprises:
[0100] The route instruction acquisition module 310 is used to acquire a shunting route instruction set; the shunting route instruction set includes multiple route instructions, and the route instruction comprises a single route consisting of a source section and a destination section; the shunting route instruction set includes a section where a road crossing is located;
[0101] The reversing route determination module 320 is used to determine the reversing route according to the source section and the destination section associated with the route instruction in the shunting route instruction set;
[0102] A crossing occupancy determination module 330 is used to determine whether a train will occupy the section where the crossing is located according to the shunting route instruction set, the train length and the return route;
[0103] The alarm disabling module 340 is used to send a notification to disable the alarm device to the crossing equipment in the section where the crossing is located when the train does not occupy the section where the crossing is located.
[0104] The technical solution of the embodiment of the present invention searches for the turning route that the train needs to travel in the shunting route instruction set, and determines whether the train will occupy the section where the crossing is located based on the shunting route instruction set, the train length and the turning route. When the train does not occupy the section where the crossing is located, a notification to disable the alarm device is sent to the crossing equipment in the section where the crossing is located. This can avoid the triggering of the alarm device when the train turns back at the crossing and does not occupy the crossing, thereby improving the transportation efficiency on the highway side.
[0105] Optionally, the crossing occupancy determination module 330 includes:
[0106] A continuation route determination unit, used to determine the continuation routes of the forward route and the return route in the turnaround route in the shunting route instruction set;
[0107] A train path determination unit, configured to form a train forward path from the forward path in the return path and a continued path associated with the forward path, and to form a train return path from the return path in the return path and a continued path associated with the return path;
[0108] A nearest turning point determination unit, used to determine the nearest turning point of the train according to the section equipment on the forward path of the train and the return path of the train;
[0109] The crossing occupancy judgment unit is used to calculate the cumulative length of the section from the crossing section to the nearest turning point. When the train length is less than the cumulative length, it is determined that the train does not occupy the crossing section.
[0110] Optionally, the return route determination module 320 is specifically configured to:
[0111] Sequentially extracting two adjacent route instructions from the shunting route instruction set as a current instruction pair; in the current instruction pair, the destination section of the preceding route instruction and the source section of the succeeding route instruction are the same;
[0112] Determine whether the direction in which the preceding route instruction in the current instruction pair enters the target section is the same as the direction in which the succeeding route instruction leaves the source section;
[0113] When the direction in which the preceding route instruction enters the target segment is the same as the direction in which the succeeding route instruction leaves the source segment, it is determined that the current instruction constitutes a reentry route for the arranged routes.
[0114] Optionally, the continuation route determination unit includes:
[0115] The first continuation route determination subunit is used to take the preceding route instruction associated with the forward route in the return route as the starting point, search the route instruction in reverse order in the shunting route instruction set, and determine the continuation route of the forward route;
[0116] The second continuation route determination subunit is used to take the subsequent route instruction associated with the return route in the reversing route as the starting point, search for the route instruction in the positive sequence in the shunting route instruction set, and determine the continuation route of the return route.
[0117] Optionally, the nearest return point determination unit is specifically used to:
[0118] In the section equipment on the train forward path and the train return path associated with the shunting route instruction set, the turnout direction is determined respectively;
[0119] Among the same turnouts included in the train forward path and the train return path, the first turnout that opens to different directions in the train forward path and the train return path is determined as the nearest turning point of the train.
[0120] Optionally, the first continuation route determination subunit is specifically configured to:
[0121] Taking the preceding route instruction associated with the forward route in the return route as the starting point, two adjacent route instructions are sequentially extracted in reverse order from the shunting route instruction set as the current instruction pair; in the current instruction pair, the destination section of the preceding route instruction is the same as the source section of the succeeding route instruction;
[0122] Determine whether the direction in which the preceding route instruction in the current instruction pair enters the target section is opposite to the direction in which the succeeding route instruction leaves the source section;
[0123] When the direction in which the preceding route instruction enters the target segment is opposite to the direction in which the succeeding route instruction leaves the source segment, it is determined that the arranged route of the current instruction constitutes a continuation route of the forward route.
[0124] Optionally, the control device for the railway crossing further comprises:
[0125] The alarm activation module is used to send a notification to disable the alarm device to the crossing equipment in the section where the crossing is located, and after the return route on the return path of the train is cleared, send a notification to enable the alarm device to the crossing equipment in the section where the crossing is located.
[0126] The control device for a railway crossing provided in an embodiment of the present invention can execute the control method for a railway crossing provided in any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.
[0127] In the technical solution of the present invention, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0128] Embodiment 4
[0129] According to an embodiment of the present invention, the present invention also provides an electronic device, a readable storage medium and a computer program product.
[0130] Figure 4 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, applicators, blade applicators, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0131] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. The input / output (I / O) interface 15 is also connected to the bus 14.
[0132] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0133] The processor 11 may be a variety of general and / or dedicated processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a control method for a railway crossing.
[0134] In some embodiments, the control method of the railway crossing may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the control method of the railway crossing described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the control method of the railway crossing in any other appropriate manner (e.g., by means of firmware).
[0135] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0136] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or application.
[0137] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment. A computer-readable storage 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. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. 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.
[0138] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0139] The systems and techniques described herein may be implemented in a computing system that includes a backend component (e.g., as a data applier), or a computing system that includes a middleware component (e.g., an application applier), or a computing system that includes a frontend component (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0140] A computing system may include a client and an application server. The client and the application server are generally remote from each other and usually interact through a communication network. The relationship between the client and the application server is generated by computer programs running on corresponding computers and having a client-application server relationship with each other. The application server may be a cloud application server, also known as a cloud computing application server or a cloud host, which is a host product in a cloud computing application system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS applications.
[0141] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0142] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A railway crossing control method, characterized in that: include: Obtaining a shunting route instruction set; the shunting route instruction set includes a plurality of route instructions, wherein a single route is formed by a source section and a destination section in the route instruction; the shunting route instruction set includes a section where a crossing is located; Determine the return route according to the source section and destination section associated with the route instructions in the shunting route instruction set; Determine whether the train will occupy the section where the crossing is located according to the shunting route instruction set, the train length and the return route; When the train does not occupy the section where the crossing is located, a notification to disable the alarm device is sent to the crossing equipment in the section where the crossing is located.
2. The method according to claim 1, characterized in that According to the shunting route instruction set, the train length and the turnaround route, determining whether the train will occupy the section where the crossing is located includes: Determine the continuation routes of the forward route and the return route in the return route in the shunting route instruction set; The forward route in the reversing route and the continued route associated with the forward route constitute the train forward path, and the return route in the reversing route and the continued route associated with the return route constitute the train return path; Determine the nearest turning point of the train according to the section equipment on the forward path of the train and the return path of the train; The cumulative length of the section from the section where the crossing is located to the nearest turning point is calculated. When the length of the train is less than the cumulative length, it is determined that the train does not occupy the section where the crossing is located.
3. The method according to claim 1, characterized in that Determine the return route according to the source section and destination section associated with the route instruction in the shunting route instruction set, including: Sequentially extracting two adjacent route instructions from the shunting route instruction set as a current instruction pair; in the current instruction pair, the destination section of the preceding route instruction and the source section of the succeeding route instruction are the same; Determine whether the direction in which the preceding route instruction in the current instruction pair enters the target section is the same as the direction in which the succeeding route instruction leaves the source section; When the direction in which the preceding route instruction enters the target segment is the same as the direction in which the succeeding route instruction leaves the source segment, it is determined that the current instruction constitutes a reentry route for the arranged routes.
4. The method according to claim 2, characterized in that: The continuation routes of the forward route and the return route in the return route are respectively determined in the shunting route instruction set, including: Taking the preceding route instruction associated with the forward route in the return route as the starting point, searching the route instruction in the shunting route instruction set in reverse order to determine the continuation route of the forward route; Taking the subsequent route instruction associated with the return route in the reversing route as the starting point, the route instruction is searched in the positive sequence in the shunting route instruction set to determine the continuation route of the return route.
5. The method according to claim 2, characterized in that: Determining the nearest turning point of the train according to the section equipment on the forward path of the train and the return path of the train includes: In the section equipment on the train forward path and the train return path associated with the shunting route instruction set, the turnout direction is determined respectively; Among the same turnouts included in the train forward path and the train return path, the first turnout that opens to different directions in the train forward path and the train return path is determined as the nearest turning point of the train.
6. The method according to claim 4, characterized in that Taking the preceding route instruction associated with the forward route in the return route as the starting point, searching the route instruction in reverse order in the shunting route instruction set to determine the continuation route of the forward route includes: Taking the preceding route instruction associated with the forward route in the return route as the starting point, two adjacent route instructions are sequentially extracted in reverse order from the shunting route instruction set as the current instruction pair; in the current instruction pair, the destination section of the preceding route instruction is the same as the source section of the succeeding route instruction; Determine whether the direction in which the preceding route instruction in the current instruction pair enters the target section is opposite to the direction in which the succeeding route instruction leaves the source section; When the direction in which the preceding route instruction enters the target segment is opposite to the direction in which the succeeding route instruction leaves the source segment, it is determined that the arranged route of the current instruction constitutes a continuation route of the forward route.
7. The method according to claim 2, characterized in that After sending a notification of disabling the alarm device to the crossing equipment in the section where the crossing is located, it also includes: After the return route on the train's return path is cleared, a notification to activate the alarm device is sent to the crossing equipment in the section where the crossing is located.
8. A control device for a railway crossing, characterized in that: include: A route instruction acquisition module is used to acquire a shunting route instruction set; the shunting route instruction set includes multiple route instructions, and a single route is formed by a source section and a destination section in the route instruction; the shunting route instruction set includes a section where a crossing is located; A reversing route determination module is used to determine the reversing route according to the source section and the destination section associated with the route instruction in the shunting route instruction set; A crossing occupancy judgment module is used to determine whether a train will occupy the section where the crossing is located according to the shunting route instruction set, the train length and the return route; The alarm disabling module is used to send a notification to disable the alarm device to the crossing equipment in the section where the crossing is located when the train is not occupying the section where the crossing is located.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the railway crossing control method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the railway crossing control method according to any one of claims 1 to 7 when executed.
Citation Information
Patent Citations
Industrial and mining factory railway level crossing control system
CN112026849A
Shunting route method and device, train control system and readable storage medium
CN112693503A
Crossing signal automatic control method and system
CN116373962A
Railway crossing control system and control method
CN117125118A
Shunting midway turn-back route control method and device based on full-electronic interlocking
CN117644893A