Interlocking condition configurability implementation method, interlocking system, and electronic device

By dynamically adjusting the interlocking check condition configuration table, the problems of low code reusability and difficulty in modification of the interlocking system in the existing technology are solved, a railway interlocking system suitable for different lines and regions is realized, and the stability of the system is improved. performance and maintainability.

WO2024178974A1PCT designated stage expired Publication Date: 2024-09-06CRSC RESEARCH & DESIGN INSTITUTE GROUP CO LTD

Patent Information

Application Number
PCT/CN2023/122177
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-01
Filing Date
2023-09-27
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

The existing interlocking system needs to modify the code according to the interlocking conditions of different lines, resulting in low code reusability, difficulty in modification, and the inability to dynamically adjust the inspection conditions, making it difficult to adapt to the railway interlocking needs of different countries and regions.

Method used

By setting the interlock condition configuration table, dynamically adjust the interlock check conditions according to the command type, check type and interlock condition array, realize the addition and deletion of interlock conditions, and associate the control display command with the configuration table to check the interlock conditions. Support flexible configuration according to user needs.

Benefits of technology

It improves the code stability, maintainability and compatibility and adaptability of the interlocking system, and can be applied to railways on different lines and regions. The structure is clear, the difficulty of modification is greatly reduced, and the flexibility of configuration is enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023122177_06092024_PF_FP
    Figure CN2023122177_06092024_PF_FP
Patent Text Reader

Abstract

An interlocking condition configurability implementation method, comprising: according to interlocking conditions, setting corresponding configuration information on the basis of command types, check types and interlocking condition arrays to obtain a first interlocking condition configuration table; according to user requirements, configuring the first interlocking condition configuration table to obtain a second interlocking condition configuration table; associating a control and display command with the second interlocking condition configuration table to obtain a command table; searching the command table according to an issued command, and determining the command type corresponding to the issued command; and searching the second interlocking condition configuration table according to the command type corresponding to the issued command to obtain corresponding configuration information, and performing interlocking condition check according to the corresponding configuration information.
Need to check novelty before this filing date? Find Prior Art

Description

Configurable interlocking condition implementation method, interlocking system, and electronic equipment Technical Field

[0001] The present invention relates to the technical field of rail transit management, and in particular to a method for implementing configurable interlocking conditions, an interlocking system, an electronic device, and a storage medium. Background Art

[0002] A train route refers to the passageway formed by station lines and other operating equipment occupied by trains, such as switches. During its journey, a train must ensure that the route ahead is safe and unobstructed. This requires that a route be processed for the train. Only after successful processing is the train allowed to enter. The core of the interlocking logic lies in route control. As shown in Figure 1, after receiving the route selection command from the operator and checking that the interlocking conditions related to the route selection are met, the interlocking system activates the relevant switches on the route and locks them in the specified position. It also locks the opposing route in an unestablished state. After further checking that the conditions for signal opening are met, the interlocking system controls the outdoor signal to open, thus completing the entire route establishment process.

[0003] Upon receiving the route processing order, the interlocking system must check the position of the switches and the occupancy of the sections within the route according to the interlocking table. It must then rotate the switches to the required position for the route. Once the switch is in place, indicating successful route selection, it must also check a series of interlocking conditions, including the selection of the opposing route, the position of the driving switches, the position of the protective switches, the occupancy of the side defense sections, the blockage of track sections and signals, and the status of the protected sections. Existing interlocking systems have all of these check conditions fixed in the interlocking logic code. Because railway interlocking conditions vary across lines and countries, the interlocking system code must be modified to accommodate different interlocking requirements for different lines. This makes the interlocking code less reusable, and because interlocking programs are generally large in scale, code modification is difficult.

[0004] Summary of the Invention

[0005] To solve the above problems, the present invention provides a method for implementing configurable interlocking conditions, an interlocking system, an electronic device, and a storage medium.

[0006] In a first aspect, an embodiment of the present invention provides a method for implementing configurable interlocking conditions, including:

[0007] According to the interlocking condition, corresponding configuration information is set according to the command type, check type and interlocking condition array to obtain a first interlocking condition configuration table;

[0008] According to user needs, the first interlocking condition configuration table is configured to obtain a second interlocking condition configuration table;

[0009] Associating the control and display command with the second interlocking condition configuration table to obtain a command table;

[0010] According to the issued command, searching the command table to determine the command type corresponding to the issued command;

[0011] According to the command type corresponding to the issued command, a search is performed in the second interlocking condition configuration table to obtain corresponding configuration information, and an interlocking condition check is performed according to the corresponding configuration information.

[0012] In some specific embodiments, according to the interlocking condition, corresponding configuration information is set according to the command type, the check type, and the interlocking condition array to obtain a first interlocking condition configuration table, including the following steps:

[0013] Determine the command type based on the interlocking conditions;

[0014] Under each command type, set the corresponding inspection type respectively;

[0015] In each inspection type, set the corresponding inspection node respectively;

[0016] Configure the corresponding interlocking condition in each check node to obtain the interlocking condition array;

[0017] A first interlock condition configuration table is established according to the command type, the check type corresponding to the command type, and the interlock condition array corresponding to the check type.

[0018] In some specific embodiments, configuring the first interlocking condition configuration table according to user needs to obtain the second interlocking condition configuration table includes the following steps:

[0019] According to user needs, select the corresponding command type in the first interlocking condition configuration table and configure it;

[0020] According to the configured command type, select a corresponding check type in the first interlocking condition configuration table for configuration, and in the corresponding check type, select a corresponding check node for configuration;

[0021] According to the configured check node, select the corresponding interlocking condition in the first interlocking condition configuration table for configuration;

[0022] After the above configuration, the second interlocking condition configuration table is obtained.

[0023] In some specific embodiments, associating the control display command with the second interlocking condition configuration table to obtain a command table includes the following steps:

[0024] Set the command code of the command type corresponding to the control display command;

[0025] Set the device code corresponding to the command code;

[0026] A command table is created according to the command code, the corresponding command type and the device code.

[0027] In some specific embodiments, searching the command table according to the issued command to determine the command type corresponding to the issued command includes the following steps:

[0028] According to the command code of the issued command, the command table is searched to obtain the command type and device code corresponding to the command code.

[0029] In some specific embodiments, searching the second interlocking condition configuration table according to the command type corresponding to the issued command to obtain corresponding configuration information includes the following steps:

[0030] Searching the second interlock condition configuration table according to the command type corresponding to the issued command to determine the corresponding inspection type;

[0031] When each of the inspection types is consistent with the command type, a corresponding interlock condition array is obtained from the second interlock condition configuration table.

[0032] In some specific embodiments, performing an interlock condition check according to the corresponding configuration information includes the following steps:

[0033] Checking each interlock condition in the interlock condition array in the corresponding configuration information, calling a corresponding check function according to the check condition, and obtaining a check result corresponding to the interlock condition;

[0034] When the check results of each of the interlocking conditions are passed, the check is returned as successful;

[0035] When the check result of any of the interlocking conditions fails, the check fails.

[0036] In some specific embodiments, the method further comprises the following steps:

[0037] When a command type corresponding to the issued command is not found in the command table during a search according to the issued command, corresponding configuration information is supplemented in the first interlock condition configuration table, the second interlock condition configuration table, and the command table, wherein the configuration information includes a command type, a check type corresponding to the command type, and an interlock condition array corresponding to the check type;

[0038] When the second interlocking condition configuration table is searched according to the command type corresponding to the issued command and no corresponding configuration information is found, the first interlocking condition configuration table and the second interlocking condition configuration table are supplemented with corresponding configuration information.

[0039] In some specific embodiments, the method further comprises the following steps:

[0040] According to user needs, reconfigure the first interlocking condition configuration table or the second interlocking condition configuration table to obtain a new second interlocking condition configuration table;

[0041] A corresponding command table is formed according to the new second interlocking condition configuration table.

[0042] In a second aspect, an embodiment of the present invention provides an interlocking system, comprising:

[0043] A basic table configuration module is used to set corresponding configuration information according to the interlocking condition, the command type, the check type and the interlocking condition array to obtain a first interlocking condition configuration table;

[0044] A user table configuration module is configured to configure the first interlocking condition configuration table according to user requirements to obtain a second interlocking condition configuration table; and associate a control and display command with the second interlocking condition configuration table to obtain a command table;

[0045] an interlock condition checking module, configured to search the command table according to the issued command to determine the command type corresponding to the issued command; search the second interlock condition configuration table according to the command type corresponding to the issued command to obtain corresponding configuration information, and perform an interlock condition check according to the corresponding configuration information;

[0046] a configuration table updating module configured to, when searching the command table according to an issued command and not finding a command type corresponding to the issued command, supplement the first interlock condition configuration table, the second interlock condition configuration table, and the command table with corresponding configuration information, the configuration information including a command type, a check type corresponding to the command type, and an array of interlock conditions corresponding to the check type; and, when searching the second interlock condition configuration table according to the command type corresponding to the issued command and not finding corresponding configuration information, supplement the first interlock condition configuration table and the second interlock condition configuration table with corresponding configuration information;

[0047] The user table update module is used to reconfigure the first interlocking condition configuration table or the second interlocking condition configuration table according to user needs to obtain a new second interlocking condition configuration table; and form a corresponding command table according to the new second interlocking condition configuration table.

[0048] In some specific embodiments, the basic table configuration module is specifically used to:

[0049] Determine the command type based on the interlocking conditions;

[0050] Under each command type, set the corresponding inspection type respectively;

[0051] In each inspection type, set the corresponding inspection node respectively;

[0052] Configure the corresponding interlocking condition in each check node to obtain the interlocking condition array;

[0053] A first interlock condition configuration table is established according to the command type, the check type corresponding to the command type, and the interlock condition array corresponding to the check type.

[0054] In some specific embodiments, the user table configuration module includes:

[0055] The second interlocking condition configuration table determining unit is configured to select a corresponding command type in the first interlocking condition configuration table for configuration according to user requirements; select a corresponding check type in the first interlocking condition configuration table for configuration according to the configured command type, and select a corresponding check node in the corresponding check type for configuration; select a corresponding interlocking condition in the first interlocking condition configuration table for configuration according to the configured check node; after the above configuration, a second interlocking condition configuration table is obtained;

[0056] The command table establishment unit is used to set a command code of a command type corresponding to a control display command; set a device code corresponding to the command code; and establish a command table according to the command code, the corresponding command type and the device code.

[0057] In some specific embodiments, the interlock condition checking module includes:

[0058] The command type determining unit is configured to search the command table according to the command code of the issued command to obtain the command type and device code corresponding to the command code.

[0059] In some specific embodiments, the interlock condition checking module further includes:

[0060] a configuration information determining unit, configured to search the second interlock condition configuration table according to the command type corresponding to the issued command to determine the corresponding check type; and when each of the check types and the command type are consistent, obtain the corresponding interlock condition array from the second interlock condition configuration table;

[0061] An interlock condition checking unit is used to check each interlock condition in the interlock condition array in the corresponding configuration information, call the corresponding checking function according to the checking condition, and obtain the checking result corresponding to the interlock condition; when the checking result of each of the interlock conditions passes, the checking is returned as successful; when the checking result of any of the interlock conditions fails, the checking is returned as failed.

[0062] Based on the same inventive concept, an embodiment of the present invention further provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor implements the aforementioned configurable interlocking condition implementation method when executing the computer program.

[0063] Based on the same inventive concept, an embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and when the computer executable instructions are executed, the aforementioned method for implementing configurable interlocking conditions is implemented.

[0064] The beneficial effects of the above technical solutions provided by the embodiments of the present invention include at least:

[0065] This solution can dynamically adjust the interlocking inspection conditions and add or delete interlocking conditions according to the requirements of different lines. The inspection condition array in the interlocking inspection condition configuration table is independent of the specific shape of the station. It can be widely applied to railways or tracks with different protection conditions at home and abroad or in different places. It has a clear structure, greatly reduces the difficulty of modification, and has higher configurability, effectively improving the stability, maintainability and compatibility of the interlocking system code.

[0066] Other features and advantages of the present invention will be described in the following description or understood through implementation of the embodiments of the present invention. The objectives and other advantages of the present invention can be realized and obtained through the structures specifically pointed out in the written description, claims, and drawings.

[0067] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0068] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the technical solutions of the present invention and do not constitute a limitation of the technical solutions of the present invention. In the accompanying drawings:

[0069] Figure 1 is a flow chart of the route handling process in the prior art;

[0070] FIG2 is a flow chart of checking interlocking conditions according to a configuration table in an embodiment of the present invention;

[0071] FIG3 is a flow chart of route handling according to a configuration table in an embodiment of the present invention;

[0072] FIG4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0073] The following describes exemplary embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the technical solutions of the present disclosure can be implemented in various forms and should not be limited by the embodiments described herein. Rather, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0074] In order to solve the problems existing in the prior art, embodiments of the present invention provide a method for implementing configurable interlocking conditions, an interlocking system, an electronic device, and a storage medium.

[0075] Example 1

[0076] A first embodiment of the present invention provides a method for implementing configurable interlocking conditions, comprising the following steps:

[0077] Step S1: According to the interlocking condition, the command type, the check type and the interlocking condition array, corresponding configuration information is set to obtain a first interlocking condition configuration table.

[0078] In some specific embodiments, according to the interlocking condition, corresponding configuration information is set according to the command type, the check type, and the interlocking condition array to obtain a first interlocking condition configuration table, including the following steps:

[0079] According to the interlocking conditions, the command type is determined; under each command type, the corresponding inspection type is set respectively; in each inspection type, the corresponding inspection node is set respectively; in each inspection node, the corresponding interlocking condition is configured to obtain an interlocking condition array; according to the command type, the inspection type corresponding to the command type, and the interlocking condition array corresponding to the inspection type, a first interlocking condition configuration table is established.

[0080] Step S2: According to user requirements, the first interlocking condition configuration table is configured to obtain a second interlocking condition configuration table.

[0081] The configuration of this embodiment is that the switch position needs to be checked when the non-approach route is not in operation, and the track relay conditions need to be checked when unlocking. If the non-approach route also needs to check the side protection conditions, section direction, signal display status, etc., it is also achieved through the configuration table of this embodiment. The inspection condition array in the interlocking inspection condition configuration table in this embodiment is not related to the specific shape of the station yard. It is mainly an inspection rule formulated in combination with user needs and computer interlocking technical conditions and other specifications. The station yard map of each station in a railway line is different, and the interlocking data is also different, but generally the interlocking inspection condition configuration table is the same.

[0082] In some specific embodiments, according to user needs, the corresponding command type is selected in the first interlocking condition configuration table for configuration; according to the configured command type, the corresponding inspection type is selected in the first interlocking condition configuration table for configuration, and in the corresponding inspection type, the corresponding inspection node is selected for configuration; according to the configured inspection node, the corresponding interlocking condition is selected in the first interlocking condition configuration table for configuration; after the above configuration, the second interlocking condition configuration table is obtained.

[0083] Step S3: Associating the control display command with the second interlocking condition configuration table to obtain a command table;

[0084] In some specific embodiments, the control display command is associated with the second interlocking condition configuration table to obtain a command table, including the following steps: setting a command code of the command type corresponding to the control display command; setting a device code corresponding to the command code; and establishing a command table based on the command code, the corresponding command type and the device code.

[0085] Step S4: searching the command table according to the issued command to determine the command type corresponding to the issued command;

[0086] In some specific embodiments, according to the command code of the issued command, the command table is searched to obtain the command type and device code corresponding to the command code.

[0087] Step S5: searching the second interlocking condition configuration table according to the command type corresponding to the issued command to obtain corresponding configuration information, and performing an interlocking condition check according to the corresponding configuration information.

[0088] In some specific embodiments, as shown in Figure 2, according to the command type corresponding to the issued command, searching in the second interlocking condition configuration table to obtain corresponding configuration information includes the following steps: according to the command type corresponding to the issued command, searching in the second interlocking condition configuration table to determine the corresponding check type; when each of the check types is consistent with the command type, obtaining the corresponding interlocking condition array from the second interlocking condition configuration table.

[0089] In some specific embodiments, performing an interlock condition check according to the corresponding configuration information includes the following steps:

[0090] Each interlock condition in the interlock condition array in the corresponding configuration information is checked, and the corresponding check function is called according to the check condition to obtain the check result corresponding to the interlock condition; when the check result of each interlock condition passes, the check is returned as successful; when the check result of any interlock condition fails, the check is returned as failed.

[0091] In some specific embodiments, a method for implementing configurable interlocking conditions further includes the following steps:

[0092] When a search is performed in the command table according to a issued command and the command type corresponding to the issued command is not found, the corresponding configuration information is supplemented in the first interlock condition configuration table, the second interlock condition configuration table and the command table, and the configuration information includes the command type, the inspection type corresponding to the command type, and the interlock condition array corresponding to the inspection type; when a search is performed in the second interlock condition configuration table according to the command type corresponding to the issued command and the corresponding configuration information is not found, the corresponding configuration information is supplemented in the first interlock condition configuration table and the second interlock condition configuration table.

[0093] In some specific embodiments, a method for implementing configurable interlocking conditions further includes the following steps:

[0094] According to user requirements, the first interlocking condition configuration table or the second interlocking condition configuration table is reconfigured to obtain a new second interlocking condition configuration table; and a corresponding command table is formed according to the new second interlocking condition configuration table.

[0095] For example, when opening a railway line, developers communicate with the owner to gather information on the current safety and protection requirements of the railway line. This information includes the interlocking conditions that need to be checked during route processing, switch operation, or signal opening, thereby forming user requirements. Common interlocking systems implement these interlocking condition checks in the form of logic code based on user requirements. However, when reopening another line, users may have different requirements for interlocking protection conditions. For example, some lines require shunting routes to check that the route section is idle, while others do not. Due to the differences in protection conditions across China, internationally, and across different regions, developers often develop different codes for different railway lines, resulting in low reusability and maintainability.

[0096] This solution can dynamically adjust the interlocking inspection conditions, and can add or delete interlocking conditions according to the requirements of different lines. It has a clear structure and greatly reduces the difficulty of modification, thereby improving the stability, maintainability and compatibility of the interlocking system code. This solution implements the dynamic configuration of the interlocking inspection conditions by setting up an interlocking inspection condition configuration table, and meets different interlocking protection requirements without changing the logic code. By setting up a command table, the control and display commands are associated with the interlocking inspection condition configuration table. After the command is issued, the command table is searched to find the corresponding command type, and then the interlocking inspection condition configuration table is searched to query the interlocking protection conditions corresponding to the current command. In order to meet the implementation of the interlocking condition configurable solution, all protection conditions in the interlocking inspection condition configuration table need to be implemented in the interlocking logic code, that is, the logic code is equivalent to a database. The more inspection elements contained in the logic code, the higher the configuration flexibility of the R&D personnel.

[0097] The interlock check condition configuration table includes command type, check type and check condition array.

[0098] Command type: Set different inspection conditions according to the command to be executed. The command type can be set as needed, such as train route selection, shunting route selection, guide route selection, turnout positioning operation, reverse operation, etc.

[0099] Inspection type: Set the nodes that need to be inspected, such as a series of conditions that need to be checked during route registration, set the "route registration" inspection type; after the train is successfully registered, a series of conditions that need to be checked for switch section selection, set the "route selection" inspection type.

[0100] Check condition array: Configure different check conditions as needed. For example, when registering a route, you may need to check for hostile routes, check whether all sections within the route are occupied by other routes, and check whether all switches within the route are occupied by other routes. Configure the relevant check conditions based on different inspection requirements and write them into the array for safety protection during subsequent route processing.

[0101] The interlock check condition configuration table requires R&D personnel to manually configure it according to specific user needs.

[0102] The command table includes command type, command code, and device code. For example, in one embodiment, the command table is represented by a control button table: command code, command type (train route selection, switch single operation, signal blocking, etc.), and device code (route code, switch code, signal code, etc.).

[0103] The command table associates specific operation commands with the interlocking inspection condition configuration table. For example, when the control display issues an approach selection command, the command type (train approach selection, shunting approach selection, turnout positioning operation, etc.) is queried using the command code issued by the control display. After traversing the command table to obtain the command type of train approach selection, the configuration table is searched for configuration information for the command type of train approach selection. This allows the inspection condition array corresponding to the train approach selection command to be found, and a series of checks are performed based on the train approach selection configuration information.

[0104] Check Condition Implementation: When a node in the route process requires a series of checks, the configuration table is searched for the relevant check array based on the route type and the current node. The check conditions are then executed based on the check condition identifiers in the array. If any of the conditions fail the check, a check failure flag is returned; if all conditions pass, a check success flag is returned. The check results determine whether to continue with the route processing process.

[0105] The route handling process is shown in Figure 3. After the control and display issues a command, the corresponding command type (train route selection) and the corresponding equipment code (route code) are obtained based on the command code. The following inspection types are executed sequentially: route registration, route selection, route pre-locking, route locking, signal release, signal waiting for release, signal open hold, and route complete locking. Inspection types can be added or deleted as needed. Based on the configured inspection type node, the corresponding inspection conditions are set and checked. As shown in Figure 3, if the route registration condition check passes, the route is registered in the route control table and the next step of route selection condition check proceeds. Otherwise, the route handling fails. If the route selection condition check passes, the next step of route locking condition check proceeds. Similarly, the lock flag setting and signal release condition check for all sections within the route are checked. If they pass, the next step is proceeded. If any condition fails, the route handling fails and the check returns to failure. These conditions constitute the interlocking condition array.

[0106] For example, two inspection types are now configured for train route selection: route registration - the inspection condition array is that the route starting signal is closed, the section is not blocked, the switch is not locked, and there is no single operation command for the switch, etc. (all configuration conditions can be added or deleted according to user needs); combined with the interlocking table data information, all the switch equipment codes, section equipment codes and starting signal codes in the route are obtained according to the route code, and checks are made in turn to see whether the signal is closed, and whether the switch status and section status meet the route registration conditions; if satisfied, subsequent inspections are continued, otherwise the route processing is stopped and returned if failed.

[0107] Signal open - the inspection condition array is that the red light filament of the signal machine is intact, the approach side defense section is idle, the section inside the approach is idle, the approach indicator is not open, the approach switch is locked, the section is not blocked, the section is not locked, the terminal signal machine is red, the section direction is correct, etc. (all configuration conditions can be added or deleted according to user needs); similarly, according to the lock table data information, all devices that need to be checked and their status are obtained. If they are met, the signal is opened, otherwise the signal fault is closed.

[0108] In the above method of this embodiment, the interlocking inspection conditions can be dynamically adjusted, and interlocking conditions can be added or deleted according to the requirements of different lines. The inspection condition array in the interlocking inspection condition configuration table is independent of the specific shape of the station field, and can be widely applied to railways or tracks with different protection conditions at home and abroad or in different places. The structure is clear, the difficulty of modification is greatly reduced, and the configurable flexibility is higher, which effectively improves the stability, maintainability and compatibility of the interlocking system code.

[0109] Those skilled in the art can change the above sequence without departing from the scope of protection of the present invention.

[0110] Example 2

[0111] A second embodiment of the present invention provides an interlocking system, comprising:

[0112] A basic table configuration module is used to set corresponding configuration information according to the interlocking condition, the command type, the check type and the interlocking condition array to obtain a first interlocking condition configuration table;

[0113] The user table configuration module is used to configure the first interlocking condition configuration table according to user needs to obtain the second interlocking condition configuration table; the control display command is associated with the second interlocking condition configuration table to obtain a command table; the configuration of this embodiment is that the switch position needs to be checked for non-approach routes, and the track relay conditions need to be checked when unlocking. If the non-approach route also needs to check the side defense conditions, section direction, signal display status, etc., it is also achieved through the configuration table of this embodiment. The inspection condition array in the interlocking inspection condition configuration table in this embodiment is not related to the specific shape of the station yard. It is mainly an inspection rule formulated in combination with user needs and computer interlocking technical conditions and other specifications. The station yard map of each station in a railway line is different, and the interlocking data is also different, but generally the interlocking inspection condition configuration table is the same.

[0114] an interlock condition checking module, configured to search the command table according to the issued command to determine the command type corresponding to the issued command; search the second interlock condition configuration table according to the command type corresponding to the issued command to obtain corresponding configuration information, and perform an interlock condition check according to the corresponding configuration information;

[0115] a configuration table updating module, configured to, when searching the command table according to an issued command and not finding the command type corresponding to the issued command, supplement the corresponding configuration information in the first interlock condition configuration table, the second interlock condition configuration table, and the command table, the configuration information including the command type, the check type corresponding to the command type, and the interlock condition array corresponding to the check type; and, when searching the second interlock condition configuration table according to the command type corresponding to the issued command and not finding the corresponding configuration information, supplement the corresponding configuration information in the first interlock condition configuration table and the second interlock condition configuration table;

[0116] The user table update module is used to reconfigure the first interlocking condition configuration table or the second interlocking condition configuration table according to user needs to obtain a new second interlocking condition configuration table; and form a corresponding command table according to the new second interlocking condition configuration table.

[0117] In some specific embodiments, the basic table configuration module is specifically used to:

[0118] Determine the command type based on the interlocking conditions;

[0119] Under each command type, set the corresponding inspection type respectively;

[0120] In each inspection type, set the corresponding inspection node respectively;

[0121] Configure the corresponding interlocking condition in each check node to obtain the interlocking condition array;

[0122] A first interlock condition configuration table is established according to the command type, the check type corresponding to the command type, and the interlock condition array corresponding to the check type.

[0123] In some specific embodiments, the user table configuration module includes:

[0124] The second interlocking condition configuration table determining unit is configured to select a corresponding command type in the first interlocking condition configuration table for configuration according to user requirements; select a corresponding check type in the first interlocking condition configuration table for configuration according to the configured command type, and select a corresponding check node in the corresponding check type for configuration; select a corresponding interlocking condition in the first interlocking condition configuration table for configuration according to the configured check node; after the above configuration, a second interlocking condition configuration table is obtained;

[0125] The command table establishment unit is used to set a command code of a command type corresponding to a control display command; set a device code corresponding to the command code; and establish a command table according to the command code, the corresponding command type and the device code.

[0126] In some specific embodiments, the interlock condition checking module includes:

[0127] The command type determining unit is configured to search the command table according to the command code of the issued command to obtain the command type and device code corresponding to the command code.

[0128] In some specific embodiments, the interlock condition checking module further includes:

[0129] a configuration information determining unit, configured to search the second interlock condition configuration table according to the command type corresponding to the issued command to determine the corresponding check type; and when each of the check types and the command type are consistent, obtain the corresponding interlock condition array from the second interlock condition configuration table;

[0130] An interlock condition checking unit is used to check each interlock condition in the interlock condition array in the corresponding configuration information, call the corresponding checking function according to the checking condition, and obtain the checking result corresponding to the interlock condition; when the checking result of each of the interlock conditions passes, the checking is returned as successful; when the checking result of any of the interlock conditions fails, the checking is returned as failed.

[0131] Based on the same inventive concept, an embodiment of the present invention further provides an electronic device, the structure of which is shown in FIG4 , comprising: a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor implements the aforementioned configurable interlocking condition implementation method when executing the computer program.

[0132] Based on the same inventive concept, an embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and when the computer executable instructions are executed, the aforementioned method for implementing configurable interlocking conditions is implemented.

[0133] In the above embodiment, the interlocking inspection conditions can be dynamically adjusted, and interlocking conditions can be added or deleted according to the requirements of different lines. The inspection condition array in the interlocking inspection condition configuration table is independent of the specific shape of the station field, and can be widely applied to railways or tracks with different protection conditions at home and abroad or in different places. The structure is clear, the difficulty of modification is greatly reduced, and the configurable flexibility is higher, which effectively improves the stability, maintainability and compatibility of the interlocking system code.

[0134] Regarding the above embodiment, its specific implementation has been described in detail in the embodiment of the method, and will not be elaborated here.

[0135] Any modifications, supplements and equivalent replacements made within the scope of the principles of the technical solution of the present invention shall still fall within the scope of the patent coverage of the technical solution of the present invention.

Claims

1. A method for implementing configurable interlocking conditions, It is characterized in that The following steps are involved: According to the interlocking condition, corresponding configuration information is set according to the command type, the check type and the interlocking condition array to obtain a first interlocking condition configuration table; According to user requirements, the first interlocking condition configuration table is configured to obtain a second interlocking condition configuration table; Associating the control display command with the second interlocking condition configuration table to obtain a command table; According to the issued command, searching in the command table to determine the command type corresponding to the issued command; According to the command type corresponding to the issued command, a search is performed in the second interlocking condition configuration table to obtain corresponding configuration information, and an interlocking condition check is performed according to the corresponding configuration information.

2. The method according to claim 1, It is characterized in that According to the interlocking condition, the corresponding configuration information is set according to the command type, the check type and the interlocking condition array to obtain the first interlocking condition configuration table, including the following steps: Determine the command type according to the interlocking conditions; Under each command type, set the corresponding inspection type respectively; In each inspection type, set the corresponding inspection nodes respectively; Configure the corresponding interlocking condition in each check node to obtain an interlocking condition array; A first interlocking condition configuration table is established according to the command type, the inspection type corresponding to the command type, and the interlocking condition array corresponding to the inspection type.

3. The method according to claim 1, It is characterized in that According to user requirements, the first interlocking condition configuration table is configured to obtain a second interlocking condition configuration table, including the following steps: According to user needs, select the corresponding command type in the first interlocking condition configuration table for configuration; According to the configured command type, in the first interlocking condition configuration table, a corresponding check type is selected for configuration, and in the corresponding check type, a corresponding check node is selected for configuration; According to the configured check node, select a corresponding interlocking condition in the first interlocking condition configuration table for configuration; After the above configuration, the second interlocking condition configuration table is obtained.

4. The method according to claim 1, It is characterized in that Associating the control display command with the second interlocking condition configuration table to obtain a command table includes the following steps: Set the command code of the command type corresponding to the control display command; Set the device code corresponding to the command code; A command table is established according to the command code, the corresponding command type and the device code.

5. The method according to claim 4, It is characterized in that According to the issued command, searching in the command table to determine the command type corresponding to the issued command includes the following steps: According to the command code of the issued command, the command table is searched to obtain the command type and device code corresponding to the command code.

6. The method according to claim 1, It is characterized in that According to the command type corresponding to the issued command, searching in the second interlocking condition configuration table to obtain corresponding configuration information includes the following steps: According to the command type corresponding to the issued command, searching in the second interlocking condition configuration table to determine the corresponding inspection type; When each of the inspection types is consistent with the command type, a corresponding interlock condition array is obtained from the second interlock condition configuration table.

7. The method according to claim 1, It is characterized in that Performing an interlocking condition check according to the corresponding configuration information includes the following steps: Check each interlock condition in the interlock condition array in the corresponding configuration information, call a corresponding check function according to the check condition, and obtain a check result corresponding to the interlock condition; When the check result of each interlock condition is passed, the check is returned as successful; When the check result of any of the interlocking conditions fails, the check fails.

8. The method according to any one of claims 1 to 7, It is characterized in that The method further comprises the following steps: When searching in the command table according to the issued command and the command type corresponding to the issued command is not found, the corresponding configuration information is supplemented in the first interlocking condition configuration table, the second interlocking condition configuration table and the command table, wherein the configuration information includes the command type, the check type corresponding to the command type, and the interlocking condition array corresponding to the check type; When the second interlocking condition configuration table is searched according to the command type corresponding to the issued command and no corresponding configuration information is found, the first interlocking condition configuration table and the second interlocking condition configuration table are supplemented with corresponding configuration information.

9. The method according to any one of claims 1 to 7, It is characterized in that The method further comprises the following steps: According to user requirements, reconfigure the first interlocking condition configuration table or the second interlocking condition configuration table to obtain a new second interlocking condition configuration table; According to the new second interlocking condition configuration table, a corresponding command table is formed.

10. An interlocking system, It is characterized in that include: A basic table configuration module is used to set corresponding configuration information according to the interlocking condition, the command type, the check type and the interlocking condition array to obtain a first interlocking condition configuration table; A user table configuration module is used to configure the first interlocking condition configuration table according to user requirements to obtain the first Second interlocking condition configuration table; associating the control display command with the second interlocking condition configuration table to obtain a command table; An interlocking condition checking module, used to search in the command table according to the issued command to determine the command type corresponding to the issued command; Searching the second interlocking condition configuration table according to the command type corresponding to the issued command to obtain corresponding configuration information, and performing an interlocking condition check according to the corresponding configuration information; A configuration table updating module, for, when searching in the command table according to a sent command and not finding the command type corresponding to the sent command, supplementing the corresponding configuration information in the first interlocking condition configuration table, the second interlocking condition configuration table and the command table, the configuration information including the command type, the inspection type corresponding to the command type, and the interlocking condition array corresponding to the inspection type; when searching in the second interlocking condition configuration table according to the command type corresponding to the sent command and not finding the corresponding configuration information, supplementing the corresponding configuration information in the first interlocking condition configuration table and the second interlocking condition configuration table; The user table update module is used to reconfigure the first interlocking condition configuration table or the second interlocking condition configuration table according to user needs to obtain a new second interlocking condition configuration table; and form a corresponding command table according to the new second interlocking condition configuration table.

11. The system of claim 10, It is characterized in that The basic table configuration module is specifically used for: Determine the command type according to the interlocking conditions; Under each command type, set the corresponding inspection type respectively; In each inspection type, set the corresponding inspection nodes respectively; Configure the corresponding interlocking condition in each check node to obtain an interlocking condition array; A first interlocking condition configuration table is established according to the command type, the inspection type corresponding to the command type, and the interlocking condition array corresponding to the inspection type.

12. The system according to claim 10, It is characterized in that The user table configuration module includes: The second interlocking condition configuration table determining unit is used to select a corresponding command type in the first interlocking condition configuration table for configuration according to user requirements; select a corresponding check type in the first interlocking condition configuration table for configuration according to the configured command type, and select a corresponding check node in the corresponding check type for configuration; select a corresponding interlocking condition in the first interlocking condition configuration table for configuration according to the configured check node; after the above configuration, a second interlocking condition configuration table is obtained; The command table establishment unit is used to set a command code of a command type corresponding to a display control command; set a device code corresponding to the command code; and establish a command table according to the command code, the corresponding command type and the device code.

13. The system of claim 12, It is characterized in that The interlocking condition checking module comprises: A command type determination unit is used to search in the command table according to the command code of the issued command to obtain the command type determination unit. The command code corresponds to the command type and device code.

14. The system of claim 13, It is characterized in that The interlocking condition checking module further includes: a configuration information determining unit, configured to search the second interlocking condition configuration table according to the command type corresponding to the issued command to determine the corresponding check type; and when each of the check types is consistent with the command type, obtain the corresponding interlocking condition array from the second interlocking condition configuration table; An interlock condition checking unit is used to check each interlock condition in the interlock condition array in the corresponding configuration information, call the corresponding checking function according to the checking condition, and obtain the checking result corresponding to the interlock condition; when the checking result of each of the interlock conditions passes, the checking is returned to be successful; when the checking result of any of the interlock conditions fails, the checking is returned to be failed.

15. An electronic device, It is characterized in that include: A memory, a processor, and a computer program stored in the memory and running on the processor, wherein when the processor executes the computer program, the method for implementing the configurable interlocking condition described in any one of claims 1 to 9 is implemented.

16. A computer storage medium, It is characterized in that The computer storage medium stores computer executable instructions, which, when executed, implement the method for implementing configurable interlocking conditions as described in any one of claims 1 to 9.

Citation Information

Patent Citations

  • Method for realizing software architecture for railway transportation interlock system

    CN102012819A

  • Interlocking data automatic processing method and apparatus

    CN108170727A

  • Double-cycle interactive real-time route searching and matched route trend modifying method

    CN111731351A

  • Automatic generation method and device of interlocking configuration file and electronic equipment

    CN111845866A

  • Method and system for automatically generating interlocking test table

    CN115593470A

Cited By

  • Interlocking system route searching method and device

    CN120986504A