All-electronic computer interlocking system, communication method and electronic equipment
Through the centralized deployment and the all-electronic computer interlocking system with redundant communication bus, the problems of high operation and maintenance costs and large space occupation under the distributed architecture are solved, and efficient and real-time communication and reduced operation and maintenance costs are achieved.
Patent Information
- Application Number
- CN202510432356.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-08
- Publication Date
- 2025-07-08
AI Technical Summary
The existing all-electronic computer interlocking system adopts a distributed architecture, resulting in high operating and maintenance costs and large space occupancy.
The centrally deployed all-electronic computer interlocking system is adopted to send control logic data to multiple stations through the main control module, and a redundant time-sensitive network (TSN) and heterogeneous redundant communication bus ensure efficient and real-time communication. The main control module, as the control center, can handle it in time when a failure is made.
It reduces operation and maintenance costs, reduces system space, improves communication reliability and real-time performance, and reduces operation and maintenance costs.
Smart Images

Figure CN120270303A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of rail transit, and particularly to a full-electronic computer interlocking system, a communication method and an electronic device. Background Art
[0002] A full-electronic computer interlocking system is an electronic railway signal control computer interlocking system. In related technologies, as Figure 1 shown, the full-electronic computer interlocking system includes an interlocking main control (such as Figure 1 the interlocking logic unit of Series I and the interlocking logic unit of Series II in Figure 1 ), an I / O execution unit (such as
[0003] the turnout module of Series I, the turnout module of Series II, the signal module of Series I, the signal module of Series II, the input / output module of Series I, the input / output module of Series II, etc. in Figure 2 ), a control display computer, and a monitoring computer. At the same time, the network of the full-electronic computer interlocking system adopts a common Ethernet redundant network to ensure the continuity and reliability of communication. Figure 2 not shown in Figure 2 ), and in non-equipment centralized stations, an I / O execution unit is arranged. The overall architecture adopted is a distributed architecture. In this case, relevant equipment needs to be deployed at each station, which not only occupies a large space but also consumes a large amount of cost in terms of operation and maintenance, causing many inconveniences to the operation and maintenance of the station. Summary of the Invention
[0004] The present invention provides a full-electronic computer interlocking system, a communication method and an electronic device, so as to solve the defect that in the prior art, the full-electronic computer interlocking system consumes a high cost in operation and maintenance and occupies a large space due to the adoption of a distributed architecture in design, and achieve the purpose of reducing the cost of the full-electronic computer interlocking system in operation and maintenance and reducing the occupied space of the full-electronic computer interlocking system.
[0005] The present invention provides a fully electronic computer interlocking system, including a main control module and a plurality of execution modules corresponding to multiple stations one by one; the main control module includes a main control sub-module, a first TSN unit, and a second TSN unit redundant to the first TSN unit; each of the plurality of execution modules includes an execution sub-module, multiple redundant communication buses, a third TSN unit coupled to the first TSN unit, and a fourth TSN unit coupled to the second TSN unit; the main control sub-module is used to obtain the logical control data of each station among the multiple stations, and the logical control data of each station includes: among the multiple station devices included in each station device category of the multiple station device categories, multiple to-be-voted data of each station device, and the main control sub-module is further used to: vote on the multiple to-be-voted data and output the voting result to the first TSN unit and the second TSN unit; the first TSN unit is used to output the voting result to the third TSN unit, and the second TSN unit is used to output the voting result to the fourth TSN unit; the execution sub-module includes an execution unit set corresponding to each station device category, and the execution unit set receives the voting results from the third TSN unit and the fourth TSN unit through the multiple communication buses and controls the corresponding station devices to execute the corresponding control logic according to the voting results; the third TSN unit and the fourth TSN unit are redundant to each other.
[0006] According to the present invention, a fully electronic computer interlocking system is provided, and the main control sub-module includes: two main control units and two safety logic control units; wherein, the two main control units correspond to the two safety logic control units one by one, the two main control units are redundant to each other, and each of the two safety logic control units in the two main control sub-modules is coupled to the first TSN unit and the second TSN unit; the multiple to-be-voted data includes two to-be-voted data corresponding to the two main control units one by one; each of the two main control units is used to obtain the to-be-voted data of each station based on the interlocking control logic and output the to-be-voted data to the corresponding safety logic control unit; each of the two safety logic control units is used to periodically vote on the two to-be-voted data and output the voting result to the first TSN unit and the second TSN unit.
[0007] According to the present invention, a fully electronic computer interlocking system is provided, and the logical control data further includes the timing information of each of the two to-be-voted data; each of the two main control units is further used to: after obtaining the to-be-voted data of each station based on the interlocking control logic, obtain the timing information of the to-be-voted data and output the timing information to the corresponding safety logic control unit; the safety logic control unit is further used to synchronize the two to-be-voted data based on the timing information of the two to-be-voted data before the two to-be-voted data are periodically voted.
[0008] According to a full - electronic computer interlocking system provided by the present invention, multiple station equipment categories include: turnouts, signal machines, safety input devices, and safety output devices; the execution unit set corresponding to each station equipment category among the multiple station equipment categories includes multiple execution units, and each execution unit among the multiple execution units is set with a 2 - out - of - 2 architecture.
[0009] According to a full - electronic computer interlocking system provided by the present invention, the execution unit set corresponding to the target station equipment category among the multiple station equipment categories includes multiple execution unit groups, each execution unit group among the multiple execution unit groups corresponds to at least one station equipment, each execution unit group includes 2 execution units, and the 2 execution units are set with a 2 - by architecture; the target station equipment category includes: turnouts or signal machines.
[0010] According to a full - electronic computer interlocking system provided by the present invention, the execution unit set corresponding to each station equipment category is further configured to: obtain communication data of multiple station equipment under the corresponding station equipment category; send the communication data to a third TSN unit and a fourth TSN unit through multiple communication buses; the third TSN unit is further configured to: send the received communication data to a first TSN unit to instruct the first TSN unit to send the communication data to the master control sub - module, so as to instruct the master control sub - module to obtain and output the logical control data of each station in the current multiple stations in real - time based on the interlocking control logic and the communication data; the fourth TSN unit is further configured to: send the received communication data to a second TSN unit to instruct the second TSN unit to send the communication data to the master control sub - module, so as to instruct the master control sub - module to obtain and output the logical control data of each station in the current multiple stations in real - time based on the interlocking control logic and the communication data.
[0011] According to a full - electronic computer interlocking system provided by the present invention, it further includes: a sending - side TSN unit receives data to be sent; wherein, the sending - side TSN unit is the first TSN unit, the second TSN unit, the third TSN unit, or the fourth TSN unit; the sending - side TSN unit distributes the data to be sent to a target transmission queue corresponding to the data type according to the data type of the data to be sent, and transmits the communication data based on the target transmission queue; wherein, the target transmission queue is one of multiple preset queues, the multiple preset queues include an absolute - priority queue and multiple non - absolute - priority queues, the priority of the absolute - priority queue is higher than the priorities of the queues in the multiple non - absolute - priority queues, and the priorities of the queues in the multiple non - absolute - priority queues are adjusted in real - time based on multiple transmission factors in each queue.
[0012] According to the present invention, a full - electronic computer interlocking system is provided. The data types include: control command type, status alarm type, and data maintenance type; multiple preset queues include: a first queue corresponding to the control command type, a second queue corresponding to the status alarm type, and a third queue corresponding to the data maintenance type; wherein, the first queue is an absolute priority queue, and the second queue and the third queue are non - absolute priority queues.
[0013] According to the present invention, a full - electronic computer interlocking system is provided. When the TSN units on the sending side are the first TSN unit and the second TSN unit, the data type is the control command type.
[0014] According to the present invention, a full - electronic computer interlocking system is provided. Multiple transmission factors include: total cumulative transmission data volume, total cumulative number of transmission data packets, delay time, transmission data period, transmission data volume within the i - th period, and weight vector within the i - th period; where i is greater than or equal to 1.
[0015] The present invention also provides a communication method applied to the above - mentioned full - electronic computer interlocking system, including: the main control sub - module obtains the logical control data of each station among multiple stations; the logical control data of each station includes: among multiple station devices included in each station device category of multiple station device categories, multiple pending voting data of each station device; the main control sub - module votes on the multiple pending voting data; the main control sub - module outputs the voting result to the first TSN unit and the second TSN unit; the first TSN unit outputs the voting result to the third TSN unit, and the second TSN unit outputs the voting result to the fourth TSN unit; the execution unit set corresponding to each station device category in the execution sub - module receives the voting result from the third TSN unit and the fourth TSN unit through multiple communication buses; the execution unit set controls the corresponding station device to execute the corresponding control logic according to the voting result.
[0016] According to a communication method provided by the present invention, it further includes: the execution unit set obtains the communication data of multiple station devices under the corresponding station device category; the execution unit set sends the communication data to the third TSN unit and the fourth TSN unit through multiple communication buses; the third TSN unit sends the received communication data to the first TSN unit to instruct the first TSN unit to send the communication data to the main control sub - module, to instruct the main control sub - module to obtain and output the logical control data of each station among the current multiple stations in real - time based on the interlocking control logic and the communication data; the fourth TSN unit sends the received communication data to the second TSN unit to instruct the second TSN unit to send the communication data to the main control sub - module, to instruct the main control sub - module to obtain and output the logical control data of each station among the current multiple stations in real - time based on the interlocking control logic and the communication data.
[0017] A communication method provided by the present invention further includes: a sending-side TSN unit receives data to be sent; wherein, the sending-side TSN unit is the first TSN unit, the second TSN unit, the third TSN unit or the fourth TSN unit; the sending-side TSN unit distributes the data to be sent to a target transmission queue corresponding to the data type according to the data type of the data to be sent, and transmits communication data based on the target transmission queue; wherein, the target transmission queue is one of a plurality of preset queues, and the plurality of preset queues include an absolute priority queue and a plurality of non-absolute priority queues, the priority of the absolute priority queue is higher than the priority of each queue in the plurality of non-absolute priority queues, and the load data volume of each queue in the plurality of non-absolute priority queues is adjusted in real time based on a plurality of transmission factors in each queue.
[0018] A communication method provided by the present invention, the data type includes: control command type, status alarm type, and data maintenance type; the plurality of preset queues include: a first queue corresponding to the control command type, a second queue corresponding to the status alarm type, and a third queue corresponding to the data maintenance type; wherein, the first queue is an absolute priority queue, and the second queue and the third queue are non-absolute priority queues.
[0019] A communication method provided by the present invention, in the case that the sending-side TSN unit is the first TSN unit and the second TSN unit, the data type is the control command type.
[0020] A communication method provided by the present invention, the plurality of transmission factors include: total cumulative transmission data volume, total cumulative transmission data packet quantity, delay time, transmission data period, transmission data volume within the i-th period, and weight vector within the i-th period; wherein, i is greater than or equal to 1.
[0021] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor includes a main control sub-module, an execution sub-module, a set of execution units, a first TSN unit, a second TSN unit, a third TSN unit, and a fourth TSN unit; when the processor executes the computer program, it implements any one of the above communication methods.
[0022] The present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements any one of the above communication methods.
[0023] The present invention also provides a computer program product, including a computer program, and when the computer program is executed by a processor, it implements any one of the above communication methods.
[0024] The full - electronic computer interlocking system, communication method and electronic device provided by the present invention include: a main control module, and a plurality of execution modules corresponding to a plurality of stations one by one; the main control module includes a main control sub - module, a first Time - Sensitive Networking (TSN) unit, and a second TSN unit redundant with the first TSN unit; each of the plurality of execution modules includes an execution sub - module, a plurality of redundant communication buses, a third TSN unit coupled to the first TSN unit, and a fourth TSN unit coupled to the second TSN unit; the main control sub - module is used to obtain the logical control data of each station among the plurality of stations, and the logical control data of each station includes: for each of the plurality of station devices included in each station device category among the plurality of station device categories, a plurality of data to be voted on for each station device, and the main control sub - module is further used to: vote on the plurality of data to be voted on, and output the voting result to the first TSN unit and the second TSN unit; the first TSN unit is used to output the voting result to the third TSN unit, and the second TSN unit is used to output the voting result to the fourth TSN unit; the execution sub - module includes a set of execution units corresponding to each station device category, and the set of execution units receives the voting results from the third TSN unit and the fourth TSN unit through the plurality of communication buses, and controls the corresponding station devices to execute the corresponding control logic according to the voting results; the third TSN unit and the fourth TSN unit are redundant with each other. Compared with the traditional method of simultaneously distributing the full - electronic interlocking main control unit and the execution unit, the embodiment of the present invention adopts a central centralized deployment. The main control sub - module centrally sends the data corresponding to the control logic to the station devices of each station among the plurality of stations. The main control sub - module serves as the control center. When the main control sub - module fails, the control center can be processed in time, reducing the operation and maintenance cost of the operation and maintenance personnel, and solving the problems in the prior art that the full - electronic computer interlocking system consumes a high cost in operation and maintenance and occupies a large space, achieving the purpose of reducing the operation and maintenance cost of the full - electronic computer interlocking system and reducing the occupied space of the full - electronic computer interlocking system. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the following drawings are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0026] Figure 1 is a schematic structural diagram of a computer interlocking system in the related art.
[0027] Figure 2 is a schematic application scenario diagram of a computer interlocking system in the related art.
[0028] Figure 3 It is a schematic structural diagram of the all - electronic computer interlocking system provided by an embodiment of the present invention.
[0029] Figure 4 It is a schematic structural diagram of the main control module in the all - electronic computer interlocking system provided by an embodiment of the present invention.
[0030] Figure 5 It is a schematic structural diagram of the hierarchical architecture of the line control center security cloud platform provided by an embodiment of the present invention.
[0031] Figure 6 It is a schematic structural diagram of the execution module in the all - electronic computer interlocking system provided by an embodiment of the present invention.
[0032] Figure 7 It is one of the method flowcharts of the communication method applied to the all - electronic computer interlocking system in an embodiment of the present invention.
[0033] Figure 8 It is the second of the method flowcharts of the communication method applied to the all - electronic computer interlocking system in an embodiment of the present invention.
[0034] Figure 9 It is the third of the method flowcharts of the communication method applied to the all - electronic computer interlocking system in an embodiment of the present invention.
[0035] Figure 10 It is a schematic structural diagram of the electronic device provided by an embodiment of the present invention. Detailed implementation manners
[0036] To make the objectives, technical solutions and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below with reference to the accompanying drawings in the present invention. Apparently, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present invention without creative efforts shall fall within the protection scope of the present invention.
[0037] The following Figures 3 - 6 describes the all - electronic computer interlocking system of the present invention.
[0038] Figure 3 It is one of the schematic structural diagrams of the all - electronic computer interlocking system provided by the present invention. As Figure 3 shown, the all - electronic computer interlocking system 30 includes: a main control module 31 and a plurality of execution modules 32 corresponding to a plurality of stations one by one.
[0039] The main control module 31 includes a main control submodule 311 , a first time-sensitive networking (TSN) unit 312 and a second TSN unit 313 .
[0040] See also Figure 3 , Figure 3 The line control center safety cloud platform is the operating platform of the line control center of all stations (i.e., the above-mentioned multiple stations) lines. The main control submodule 311 runs on this platform to control the operation of station equipment (such as gates, signal machines, safety input devices, and safety output devices) in all stations.
[0041] The first TSN unit 312 and the second TSN unit 313 are redundant with each other to ensure efficient, real-time, and stable communication between the main control submodule and the execution submodule.
[0042] Please continue to see Figure 3 Each of the plurality of execution modules 32 includes an execution submodule 321, a plurality of redundant communication buses 322 ( Figure 3 Only two communication buses are shown as an example), a third TSN unit 323 and a fourth TSN unit 324.
[0043] For example, the execution submodule 321 may include a set of execution units corresponding to each of the multiple station equipment categories. The multiple station equipment categories may include, for example, turnouts, signal machines, safety input devices, and safety output devices. In this case, see Figure 3 , the execution submodule 321 may include a turnout control unit set, a signal control unit set, a safety input control unit set, and a safety output control unit set. Among them, the turnout control unit set is a set of execution units corresponding to the turnout, the signal control unit set is a set of execution units corresponding to the signal, the safety input control unit set is a set of execution units corresponding to the safety input device, and the safety output control unit set is a set of execution units corresponding to the safety output device.
[0044] Understandably, Figure 3 Only four types of station equipment, namely, turnouts, signal machines, safety input devices and safety output devices, are shown as examples. In a specific implementation, the multiple types of station equipment in the implementation of the present invention may include but are not limited to the above four types of station equipment.
[0045] See also Figure 3 , the execution unit set is coupled to the third TSN unit 323 and the fourth TSN unit 324 via multiple communication buses 322 .
[0046] Similar to the first TSN unit 312 and the second TSN unit 313, the third TSN unit 323 and the fourth TSN unit 324 are redundant to each other to ensure efficient, real-time, and stable communication between the main control sub-module and the execution sub-module.
[0047] The multiple communication buses 322 may include two communication buses. For example, one of the two communication buses may be a Controller Area Network with Flexible Data rate (CANFD) bus ( Figure 3 the CANFD bus in Figure 3 ), and the other of the two communication buses may be an Ether Control Automation Technology (EtherCAT) bus (
[0048] the EtherCAT bus in
[0049] It can be understood that the number of the multiple communication buses 322 includes but is not limited to two. For example, it may be three, four, etc., as long as redundant communication can be achieved. The multiple communication buses 322 are not limited to having both a CANFD bus and an EtherCAT bus at the same time. For example, the multiple communication buses 322 may all be CANFD buses, or the multiple communication buses 322 may all be EtherCAT buses.
[0049] The functions of the above-mentioned sub-modules and units will be introduced below.
[0050] See Figure 3 , the main control sub-module 311 is used to obtain the logical control data of each station among multiple stations. Among them, the logical control data of each station includes: among the multiple station devices included in each station device category of multiple station device categories, the multiple to-be-voted data of each station device.
[0051] Multiple station equipment categories include, for example, turnouts, signal machines, safety input devices, and safety output devices. Taking the station equipment category being a turnout as an example, the multiple station equipment included in the turnout are specifically multiple turnout devices. For example, the multiple station equipment included in the turnout in Station A specifically include 3 turnout devices, namely turnout device 1, turnout device 2, and turnout device 3. The multiple data to be voted on for each station equipment can be, for example, the data corresponding to the control logic for controlling the station equipment at the same moment. Each of the multiple data to be voted on may or may not have the same control logic for controlling the station equipment. In actual situations, there can only be one control logic for controlling the station equipment at the same moment. Therefore, the main control sub-module 311 is further configured to: vote on the above multiple data to be voted on to obtain a voting result, thereby determining the control logic for the station equipment. After that, the main control sub-module can output the voting result to the first TSN unit 312 and the second TSN unit 313, so as to send the voting result to the third TSN unit 323 of the corresponding station through the first TSN unit 312, and send the voting result to the fourth TSN unit 324 of the corresponding station through the second TSN unit 313. The execution unit set receives the voting results from the third TSN unit 323 and the fourth TSN unit 324 through multiple communication buses. Based on this, the execution unit set can control the corresponding station equipment to execute the control logic corresponding to the voting result.
[0052] In some embodiments, the main control module 31 is as Figure 4 shown, where the main control sub-module 311 may include: 2 main control units and 2 safety logic control units. The 2 main control units are like Figure 4 the main control unit 3111A and the main control unit 3111B in Figure 4 , and the 2 safety logic control units are like Figure 4 the safety logic control unit 3112A and Figure 4 the safety logic control unit 3112B in
[0053] In the main control sub-module 311 as Figure 4 shown, the 2 main control units correspond one-to-one with the 2 safety logic control units. For example, Figure 4 the main control unit 3111A corresponds to the safety logic control unit 3112A, and the main control unit 3111B corresponds to the safety logic control unit 3112B in
[0054] In the main control sub-module 311 as Figure 4 shown, the 2 main control units are redundant with each other. For example, Figure 4 the same program is deployed on the main control unit 3111A and the main control unit 3111B in Figure 4The safety logic control unit 3112A is coupled to both the first TSN unit 312 and the second TSN unit 313, and the safety logic control unit 3112B is coupled to both the first TSN unit 312 and the second TSN unit 313.
[0055] In the master control sub-module 311 as Figure 4 shown, each of the two master control units in the master control sub-module 311 is used to obtain the data to be voted on for each station through the interlocking control logic and output the data to be voted on to the corresponding safety logic control unit. For example, the interlocking control logic of the master control unit 3111A obtains the first data to be voted on for each station and outputs the first data to be voted on to the corresponding safety logic control unit 3112A; the interlocking control logic of the master control unit 3111B obtains the second data to be voted on for each station and outputs the second data to be voted on to the corresponding safety logic control unit 3112B.
[0056] It should be noted that when the master control sub-module 311 includes two master control units, the multiple data to be voted on include two data to be voted on corresponding one-to-one to the two master control units, such as the above-mentioned first data to be voted on and the second data to be voted on.
[0057] Each of the two safety logic control units is used to periodically vote on the above two data to be voted on and output the voting result to the first TSN unit and the second TSN unit.
[0058] As Figure 4 shown, the two safety logic control units, namely the safety logic control unit 3112A and the safety logic control unit 3112B, can communicate through Ethernet to periodically vote on each other for the above two data to be voted on and obtain the voting result for the two data to be voted on. The safety logic control unit 3112A and the safety logic control unit 3112B output the voting result to the first TSN unit 312 and the second TSN unit 313.
[0059] It can be understood that Figure 4 the master control sub-module 311 shown is only exemplary. In specific implementation, the number of master control units and safety logic control units in the master control sub-module 311 includes but is not limited to two, and can also be four, etc.
[0060] Combined with Figure 3 and Figure 4 , it can be understood that the safety logic control unit can also vote on other operation data on the line control center safety cloud platform other than the above data to be voted on to implement the voting process for the relevant data that needs to be voted on.
[0061] In some embodiments, refer to Figure 4, the logic control data output by the main control sub-module 311 further includes the timing information of each of the two data to be voted. In this case, each of the two main control units is further configured to: after obtaining the data to be voted for each station based on the interlocking control logic, obtain the timing information of the data to be voted, and output the timing information to the corresponding safety logic control unit. In this case, the safety logic control unit is further configured to: before the two data to be voted are periodically voted, synchronize the two data to be voted based on the timing information of the two data to be voted.
[0062] Of course, it can be understood that the safety logic control unit can also obtain the timing information of other operation data on the safety cloud platform of the line control center except the above data to be voted through the first TSN unit 312 and the second TSN unit 313, so as to synchronize other operation data to ensure the operation timing of the main control sub-module 311 and the safety cloud platform of the line control center.
[0063] Such as Figure 4 shown, the main control unit 3111A can simultaneously receive the data output on the first TSN unit 312 and the second TSN unit 313, and the main control unit 3111B can simultaneously receive the data output on the first TSN unit 312 and the second TSN unit 313, realizing redundancy of service communication, thereby ensuring the efficiency, real-time performance, stability and reliability of communication.
[0064] See Figure 3 shown, the main control sub-module 311 in the main control module 31 runs on the safety cloud platform of the line control center, and the safety cloud platform of the line control center provides computing resources and storage resources for the main control module 31. Figure 5 shows the hierarchical architecture of the safety cloud platform of the line control center (excluding Figure 5 the main control module 31 in), where the central processing unit (CPU) resources (such as Figure 5 CPU1, CPU2... CPUn in, n is a positive integer) provide computing resources for the operation logic of the upper-layer main control module, the read-only memory (ROM) and the random access memory (RAM) provide storage resources for the operation logic in the upper-layer main control module, and the Hypervisor undertakes the virtualization management of the safety cloud platform of the line control center to realize the scheduling of CPU resources and storage resources.
[0065] Next, the execution sub-module 321 will be introduced.
[0066] The execution sub-module 321 includes an execution unit set for each station device category among multiple station device categories, and specifically may include such asFigure 3 The set of turnout control units, the set of signal control units, the set of safety input control units, and the set of safety output control units shown.
[0067] As Figure 6 shown, the set of execution units corresponding to each station equipment category of multiple station equipment categories includes multiple execution units, and each execution unit is set in a 2-out-of-2 architecture.
[0068] See Figure 6 , the set of execution units corresponding to the turnout is the turnout control unit 321-1, and the turnout control unit 321-1 includes multiple turnout control units. The multiple turnout control units include, as Figure 6 shown, turnout control unit 1-A, turnout control unit 1-B, turnout control unit 2-A, turnout control unit 2-B... turnout control unit m-A, turnout control unit m-B, where m is a positive integer. Figure 6 Each turnout control unit in
[0069] See Figure 6 , the set of execution units corresponding to the signal is the signal control unit set 321-2, and the signal control unit set 321-2 includes multiple signal control units. The multiple signal control units include, as Figure 6 shown, signal control unit 1-A, signal control unit 1-B, signal control unit 2-A, signal control unit 2-B... signal control unit m-A, signal control unit m-B. Figure 6 Each signal control unit in
[0070] See Figure 6 , the set of execution units corresponding to the safety input device is the safety input control unit set 321-3, and the safety input control unit set 321-3 includes multiple safety input control units. The multiple safety input control units include, as Figure 6 shown, safety input control unit 1, safety input control unit 2, safety input control unit 3, safety input control unit 4... safety input control unit k-1, safety input control unit k, where k is a natural number and k is greater than or equal to 1. Figure 6 Each safety input control unit in
[0071] See Figure 6 , the set of execution units corresponding to the safety output device is the safety output control unit set 321-4, and the safety output control unit set 321-4 includes multiple safety output control units. The multiple safety output control units include, as Figure 6The safety output control units shown, namely safety output control unit 1, safety output control unit 2, safety output control unit 3, safety output control unit 4... safety output control unit k-1, and safety output control unit k. Figure 6 Each of the safety output control units in Figure 6 is set up using a 2-out-of-2 architecture.
[0072] In some embodiments, the set of execution units corresponding to the target station equipment category among multiple station equipment categories includes multiple execution unit groups. Each execution unit group in the multiple execution unit groups corresponds to at least one station equipment. Each execution unit group includes 2 execution units, and the 2 execution units are set up using a 2-by architecture; the target station equipment category includes: turnout or signal.
[0073] See Figure 6 , switch control unit 1-A and switch control unit 1-B are the 2 execution units in an execution unit group. Switch control unit 2-A and switch control unit 2-B are the 2 execution units in an execution unit group. Switch control unit 3-A and switch control unit 3-B are the 2 execution units in an execution unit group, and so on. By analogy, switch control unit 1-A and switch control unit 1-B are set up using a 2-by architecture. Switch control unit 2-A and switch control unit 2-B are set up using a 2-by architecture. Switch control unit 3-A and switch control unit 3-B are set up using a 2-by architecture, and so on. By analogy.
[0074] Switch control unit 1-A and switch control unit 1-B can, for example, jointly control one or more turnout devices.
[0075] Similarly, Figure 6 in Figure 6 , signal control unit 1-A and signal control unit 1-B are the 2 execution units in an execution unit group. Signal control unit 2-A and signal control unit 2-B are the 2 execution units in an execution unit group. Signal control unit 3-A and signal control unit 3-B are the 2 execution units in an execution unit group, and so on. By analogy, signal control unit 1-A and signal control unit 1-B are set up using a 2-by architecture. Signal control unit 2-A and signal control unit 2-B are set up using a 2-by architecture. Signal control unit 3-A and signal control unit 3-B are set up using a 2-by architecture, and so on. By analogy.
[0076] Signal control unit 1-A and signal control unit 1-B can, for example, jointly control one or more signal devices.
[0077] Of course, it can be understood that the execution unit group may not be set in the execution unit set of the target station equipment category, that is, the multiple execution units in the execution unit set of the target station equipment category are not set in a 2-by-2 architecture in pairs, but only a 2-out-of-2 architecture is set for each execution unit in the execution unit set of the target station equipment category.
[0078] It should be noted that in the case where the execution unit group is not set, each execution unit corresponds to a station equipment, and each execution unit is used to control its corresponding station equipment. In the case where the execution unit group is set, each execution unit group corresponds to a station equipment, and the two execution units in each execution unit group are used to control a station equipment.
[0079] Each execution unit in each station equipment category communicates externally through a redundant communication link method. As Figure 6 shown, multiple communication buses include CANFD buses and EtherCAT buses. Each execution unit in each station equipment category is coupled to the third TSN unit 323 and the fourth TSN unit 324 through the CANFD bus to communicate with external units through the CANFD bus; at the same time, each execution unit in each station equipment category is coupled to the third TSN unit 323 and the fourth TSN unit 324 through the EtherCAT bus to communicate with external units through the EtherCAT bus; the CANFD bus and the EtherCAT bus are redundant with each other, so that each execution unit in all the execution unit sets communicates externally through a redundant communication link method.
[0080] Based on the execution unit set introduced above, the execution unit set can also implement the following process. The execution unit set obtains the communication data of multiple station equipments under the corresponding station equipment category and sends the communication data to the third TSN unit 323 and the fourth TSN unit 324 through multiple communication buses. In this case, referring to Figure 3 , the third TSN unit 323 is further used to: send the received communication data to the first TSN unit 312 to instruct the first TSN unit 312 to send the communication data to the main control sub-module 311 to instruct the main control sub-module 311 to obtain the logical control data of each station in the current multiple stations in real time based on the interlocking control logic and the communication data and output it; the fourth TSN unit 324 is further used to: send the received communication data to the second TSN unit 313 to instruct the second TSN unit 313 to send the communication data to the main control sub-module 311 to instruct the main control sub-module 311 to obtain the logical control data of each station in the current multiple stations in real time based on the interlocking control logic and the communication data and output it.
[0081] Next, the data transmission methods of the above-mentioned first TSN unit 312, the second TSN unit 313, the third TSN unit 323, and the fourth TSN unit 324 will be introduced.
[0082] First, the sending-side TSN unit receives the data to be sent from an external device coupled thereto. The sending-side TSN unit can be the above-mentioned first TSN unit 312, the second TSN unit 313, the third TSN unit 323, or the fourth TSN unit 324.
[0083] For example, referring to Figure 3 , if the sending-side TSN unit is the first TSN unit 312, the external device coupled to the sending-side TSN unit is the main control sub-module 311 or the third TSN unit 323.
[0084] For example, referring to Figure 3 , if the sending-side TSN unit is the second TSN unit 313, the external device coupled to the sending-side TSN unit is the main control sub-module 311 or the fourth TSN unit 324.
[0085] For example, referring to Figure 3 , if the sending-side TSN unit is the third TSN unit 323, the external device coupled to the sending-side TSN unit is a set of multiple execution units or the first TSN unit 312.
[0086] For example, referring to Figure 3 , if the sending-side TSN unit is the fourth TSN unit 324, the external device coupled to the sending-side TSN unit is a set of multiple execution units or the second TSN unit 313.
[0087] It should be noted that when the external device is the main control sub-module 311, the data to be sent is, for example, the logical control data output on the main control sub-module 311; when the external device is the third TSN unit 323, the data to be sent is, for example, the communication data in the third TSN unit 323, and this communication data comes from the set of execution units in the execution sub-module. When the external device is the fourth TSN unit 324, the data to be sent is, for example, the communication data in the fourth TSN unit 324, and this communication data comes from the set of execution units in the execution sub-module. When the external device is a set of multiple execution units, the data to be sent is the communication data of multiple station devices under the corresponding station device category obtained by each set of execution units; when the external device is the first TSN unit 312, the data to be sent is, for example, the logical control data in the first TSN unit 312, and this logical control data comes from the main control sub-module 311; when the external device is the second TSN unit 313, the data to be sent is, for example, the logical control data in the second TSN unit 313, and this logical control data comes from the main control sub-module 311.
[0088] After receiving the data to be sent, the sending - side TSN unit distributes the data to be sent to the target transmission queue corresponding to the data type according to the data type of the data to be sent, and transmits the communication data based on the target transmission queue.
[0089] The above - mentioned target transmission queue is one of multiple preset queues. In a specific implementation, the multiple preset queues include an absolute - priority queue and multiple non - absolute - priority queues. The priority of the absolute - priority queue is higher than the priorities of the queues in the multiple non - absolute - priority queues. The load data volume in each of the multiple non - absolute - priority queues is adjusted in real - time based on multiple transmission factors in each queue.
[0090] In some embodiments, the data types of the data to be sent may include: control - command type, status - alarm type, and data - maintenance type. In this case, the multiple preset queues may include: a first queue corresponding to the control - command type, a second queue corresponding to the status - alarm type, and a third queue corresponding to the data - maintenance type; among them, the first queue is an absolute - priority queue, and the second queue and the third queue are non - absolute - priority queues.
[0091] Exemplarily, the first queue corresponding to the control - command type is denoted as Q1, the second queue corresponding to the status - alarm type is denoted as Q2, and the third queue corresponding to the data - maintenance type is denoted as Q3. In some embodiments, it can be set that the priority of Q1 is greater than the priority of Q2, and the priority of Q2 is greater than the priority of Q3. The priority of Q2 and the load data volume of Q3 can be adjusted in real - time according to multiple transmission factors in the queue.
[0092] In some embodiments, when the data to be sent received by the sending - side TSN unit is the data sent by the main - control sub - module to each execution unit in the execution - unit set (for example, the main - control sub - module sends data to the turnout - control unit set, the signal - machine control unit set, the safety - input unit set, and the safety - output unit set), the data type of the data to be sent is determined to be the control - command type.
[0093] For example, when Q1 receives the data to be sent, it occupies the communication channel of TSN in absolute - priority order to ensure the timeliness of communication data during transmission.
[0094] In a specific implementation, when the main - control sub - module 311 sends data to the execution - unit set, the TSN unit directly configures Qbv as a strict - priority (SP) scheduling to achieve real - time communication of data.
[0095] In some embodiments, the total cumulative transmission data volume, the total cumulative number of transmitted data packets, the latency time, the transmission data period, the amount of transmitted data within the i-th period, and the weight vector within the i-th period; where i is greater than or equal to 1. In this case, when the priorities of the queues in multiple non-absolute priority queues are adjusted in real time based on multiple transmission factors, the adjustment can be performed in the following manner.
[0096] First, based on multiple transmission factors, the weighted factors of each queue in multiple non-absolute priority queues can be calculated, and the load data volume of each queue can be adjusted according to the weighted factor of each queue.
[0097] In specific implementation, the weighted factors of each queue in multiple non-absolute priority queues can be calculated through the following formula.
[0098] 。
[0099] is the total amount of transmitted data within N periods of a preset queue corresponding to a non-absolute priority data type, is the total number of transmitted data packets within N periods of this preset queue, is the latency time of this preset queue, and N is the number of periods, is the data type of the data transmitted in the queue, is the weight vector within the i-th period, [0, 1], is the total amount of transmitted data of this preset queue within the i-th period, is the total number of transmitted data packets of this preset queue within the i-th period, and n represents the total number of queues. In the case of having three queues, n = 3.
[0100] Of course, it can be understood that the above-listed ways of adjusting the load data volume are merely exemplary. In specific implementation, the load data volume of each queue in multiple non-absolute priority queues can also be adjusted through other means. For example, a maximum data volume threshold and a minimum data volume threshold can be set. When the load data volume in a certain queue among multiple non-absolute priority queues exceeds the maximum data volume threshold, the load data volume in this queue is reduced. When the load data volume in a certain queue among multiple non-absolute priority queues is lower than the minimum data volume threshold, the load data volume in this queue is increased.
[0101] In specific implementation, the Qbv protocol in the TSN unit (i.e., the above-mentioned first TSN unit 312, the above-mentioned second TSN unit 313, the third TSN unit 323, or the above-mentioned fourth TSN unit 324) can be set to implement the communication process of the TSN unit introduced above.
[0102] In the embodiments of the present invention, each functional module in the main control module 31 and the execution module 32 can be integrated on a very small chip device. Based on this, the architecture of the all-electronic computer interlocking system in the embodiments of the present invention does not occupy much space and does not have the problem that a large space needs to be vacated in the station to deploy related devices as in the related art; in terms of operation and maintenance, the centralized design can repair faults in the line control center in a timely manner when a fault occurs, saving manpower and material resources and reducing the operation and maintenance costs.
[0103] The architecture of the all-electronic computer interlocking system in the embodiments of the present invention is designed based on a redundant network architecture, which can effectively ensure the efficiency, real-time performance, accuracy, stability and reliability of communication data.
[0104] It should be noted that TSN is a mature Ethernet standard defined by IEEE and widely used in industry. It provides deterministic message forwarding on the basis of standard Ethernet. It has the characteristics of time synchronization, time scheduling and deterministic transmission, and can meet the application requirements of high-precision time synchronization and high real-time performance. In the TSN unit (including the above-mentioned first TSN unit and second TSN unit, and the third TSN unit and fourth TSN unit in the following embodiments), data synchronization in time sequence can be realized. By introducing an accurate clock synchronization protocol, the TSN unit can ensure that all devices in the network communicate at the same time, thus realizing more efficient data transmission and cooperative operation. In addition, the TSN unit can also adopt scheduling strategies and transmission mechanisms to ensure that high-priority data packets can be transmitted preferentially to meet the real-time requirements. The TSN unit is, for example, a network device such as a TSN switch or gateway operating based on the TSN standard.
[0105] The all - electronic computer interlocking system in the embodiments of the present invention is different from the distributed setting of the all - electronic interlocking main control unit and the execution unit in the related art. The all - electronic computer interlocking system in the embodiments of the present invention is set up in a centralized deployment manner. In the embodiments of the present invention, the processing of the control logic of all stations is concentrated on the main control sub - module 311, which reduces the operation and maintenance costs of the operation and maintenance personnel. When the main control sub - module 311 fails, it can be processed in the control center in a timely manner. Moreover, the traditional all - electronic interlocking main control unit and execution unit are set up using the communication method of ordinary Ethernet, which cannot achieve hierarchical control of the communication data between the all - electronic interlocking main control unit and the execution unit, and cannot guarantee the timeliness of the control command - type data during the communication process. The embodiments of the present invention adopt TSN communication. Through data priority setting and data scheduling strategies (such as the process of adjusting the load data volume of each queue according to the weighting factor of each queue as described above), hierarchical control of data transmission is guaranteed, more precise safety system control is achieved, and the overall safety of the system is improved. Finally, the communication of the traditional all - electronic interlocking execution unit mostly adopts a single - bus or redundant homogeneous bus method, which does not have advantages in terms of redundancy and independence. In the embodiments of the present invention, a heterogeneous redundancy method of CANFD bus and EtherCAT bus is adopted, which has been greatly improved both in terms of economy and reliability.
[0106] The all - electronic computer interlocking system provided by the present invention includes: a main control module, and a plurality of execution modules corresponding to a plurality of stations one by one; the main control module includes a main control sub - module, a first time - sensitive network (TSN) unit, and a second TSN unit redundant to the first TSN unit; each of the plurality of execution modules includes an execution sub - module, a plurality of redundant communication buses, a third TSN unit coupled to the first TSN unit, and a fourth TSN unit coupled to the second TSN unit; the main control sub - module is used to obtain the logical control data of each station among the plurality of stations, and the logical control data of each station includes: among the multiple station devices included in each station device category of the multiple station device categories, multiple to - be - voted data of each station device, and the main control sub - module is further used to: vote on the multiple to - be - voted data, and output the voting result to the first TSN unit and the second TSN unit; the first TSN unit is used to output the voting result to the third TSN unit, and the second TSN unit is used to output the voting result to the fourth TSN unit; the execution sub - module includes an execution unit set corresponding to each station device category, and the execution unit set receives the voting results from the third TSN unit and the fourth TSN unit through the plurality of communication buses, and controls the corresponding station devices to execute the corresponding control logic according to the voting results; the third TSN unit and the fourth TSN unit are redundant to each other. Compared with the traditional method of simultaneously distributing the main control unit and the execution unit of the all - electronic interlocking, the embodiment of the present invention adopts a central centralized deployment, and the main control sub - module centrally sends the data corresponding to the control logic to the station devices of each station among the plurality of stations. The main control sub - module serves as the control center. When the main control sub - module fails, the control center can be processed in time, reducing the operation and maintenance cost of the operation and maintenance personnel, solving the problems that the all - electronic computer interlocking system in the prior art consumes a high cost in operation and maintenance and occupies a large space, and achieving the purpose of reducing the operation and maintenance cost of the all - electronic computer interlocking system and reducing the occupied space of the all - electronic computer interlocking system.
[0107] Based on Figures 3 to 6 the all - electronic computer interlocking system shown above, the embodiment of the present invention further provides a communication method applied to the all - electronic computer interlocking system as above.
[0108] The communication method provided by the present invention will be described below. The communication method described below can be mutually referred to the all - electronic computer interlocking system described above.
[0109] As Figure 7 shown, the method includes the following S710 - S760.
[0110] S710: The main control sub-module obtains the logical control data of each station among multiple stations; the logical control data of each station includes: for each of the multiple station devices included in each station device category among the multiple station device categories, multiple data to be voted on for each station device.
[0111] S720: The main control sub-module votes on multiple data to be voted on.
[0112] S730: The main control sub-module outputs the voting result to the first TSN unit and the second TSN unit.
[0113] S740: The first TSN unit outputs the voting result to the third TSN unit, and the second TSN unit outputs the voting result to the fourth TSN unit.
[0114] S750: The execution unit set corresponding to each station device category in the execution sub-module receives the voting results from the third TSN unit and the fourth TSN unit through multiple communication buses.
[0115] S760: The execution unit set controls the corresponding station devices to execute the corresponding control logic according to the voting results.
[0116] In some embodiments, as Figure 8 shown, the method further includes the following S810 - S830.
[0117] S810: The execution unit set obtains the communication data of multiple station devices under the corresponding station device category.
[0118] S820: The execution unit set sends the communication data to the third TSN unit and the fourth TSN unit through multiple communication buses.
[0119] S830: The third TSN unit sends the received communication data to the first TSN unit, and the fourth TSN unit sends the received communication data to the second TSN unit.
[0120] The third TSN unit sends the received communication data to the first TSN unit to instruct the first TSN unit to send the communication data to the main control sub-module to instruct the main control sub-module to obtain and output the logical control data of each station among the current multiple stations in real time based on the interlocking control logic and the communication data.
[0121] The fourth TSN unit sends the received communication data to the second TSN unit to instruct the second TSN unit to send the communication data to the main control sub-module to instruct the main control sub-module to obtain and output the logical control data of each station among the current multiple stations in real time based on the interlocking control logic and the communication data.
[0122] In some embodiments, asFigure 9 As shown, the method further includes the following S910 to S920.
[0123] S910: The sending-side TSN unit receives the data to be sent; wherein, the sending-side TSN unit is the first TSN unit, the second TSN unit, the third TSN unit, or the fourth TSN unit.
[0124] S920: The sending-side TSN unit distributes the data to be sent to the target transmission queue corresponding to the data type according to the data type of the data to be sent, and transmits the communication data based on the target transmission queue; wherein, the target transmission queue is one of multiple preset queues, and the multiple preset queues include an absolute priority queue and multiple non-absolute priority queues. The priority of the absolute priority queue is higher than the priority of each queue in the multiple non-absolute priority queues, and the priority of each queue in the multiple non-absolute priority queues is adjusted in real time based on multiple transmission factors in each queue.
[0125] The data type may include: control command type, status alarm type, and data maintenance type; the multiple preset queues include: the first queue corresponding to the control command type, the second queue corresponding to the status alarm type, and the third queue corresponding to the data maintenance type; wherein, the first queue is the absolute priority queue, and the second queue and the third queue are non-absolute priority queues.
[0126] When the sending-side TSN unit is the first TSN unit and the second TSN unit, the data type is the control command type.
[0127] The multiple transmission factors may include: the total cumulative transmission data volume, the total cumulative number of transmission data packets, the delay time, the transmission data period, the amount of transmission data in the i-th period, and the weight vector in the i-th period; wherein, i is greater than or equal to 1.
[0128] In the communication method applied to the above-mentioned all-electronic computer interlocking system provided by the present invention, the master control sub-module acquires the logical control data of each station among multiple stations; the logical control data of each station includes: for each of the multiple station devices included in each station device category of multiple station device categories, multiple data to be voted on for each station device. The master control sub-module votes on the multiple data to be voted on, and the master control sub-module outputs the voting result to the first TSN unit and the second TSN unit. The first TSN unit outputs the voting result to the third TSN unit, and the second TSN unit outputs the voting result to the fourth TSN unit. The execution unit set corresponding to each station device category in the execution sub-module receives the voting results from the third TSN unit and the fourth TSN unit through multiple communication buses, and the execution unit set controls the corresponding station device to execute the corresponding control logic according to the voting result. Compared with the traditional method of simultaneously distributing the all-electronic interlocking master control unit and the execution unit, the embodiment of the present invention adopts a centralized deployment in the center. The master control sub-module centrally sends the data corresponding to the control logic to the station devices of each station among multiple stations. The master control sub-module serves as the control center. When the master control sub-module fails, the control center can be processed in a timely manner, reducing the operation and maintenance costs of the operation and maintenance personnel, and solving the problems in the prior art that the all-electronic computer interlocking system consumes high costs in operation and maintenance and occupies a large space, achieving the purpose of reducing the operation and maintenance costs of the all-electronic computer interlocking system and reducing the occupied space of the all-electronic computer interlocking system.
[0129] Figure 10 An entity structure diagram of an electronic device is exemplified, as Figure 10As shown in the figure, the electronic device may include: a processor 1010, a communications interface 1020, a memory 1030, and a communication bus 1040. Among them, the processor 1010, the communications interface 1020, and the memory 1030 complete communication with each other through the communication bus 1040. The processor 1010 includes a main control sub-module, an execution sub-module, an execution unit set, a first TSN unit, a second TSN unit, a third TSN unit, and a fourth TSN unit; the processor 1010 can call the logical instructions in the memory 1030 to execute the communication method in the embodiments of the present invention. The method includes: the main control sub-module obtains the logical control data of each station among multiple stations; the logical control data of each station includes: among the multiple station devices included in each station device category of multiple station device categories, multiple to-be-voted data of each station device. The main control sub-module votes on the multiple to-be-voted data, and the main control sub-module outputs the voting result to the first TSN unit and the second TSN unit. The first TSN unit outputs the voting result to the third TSN unit, and the second TSN unit outputs the voting result to the fourth TSN unit. The execution unit set corresponding to each station device category in the execution sub-module receives the voting results from the third TSN unit and the fourth TSN unit through multiple communication buses, and the execution unit set controls the corresponding station device to execute the corresponding control logic according to the voting result.
[0130] In addition, when the logical instructions in the above-mentioned memory 1030 can be implemented in the form of software functional units and sold or used as an independent product, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods in the various embodiments of the present invention. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs that can store program codes.
[0131] On the other hand, the present invention also provides a computer program product. The computer program product includes a computer program, which can be stored on a computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the communication method provided by each of the above methods. The method includes: the master control sub-module obtains the logical control data of each station among multiple stations; the logical control data of each station includes: among multiple station devices included in each station device category of multiple station device categories, multiple to-be-voted data of each station device. The master control sub-module votes on the multiple to-be-voted data, and the master control sub-module outputs the voting result to the first TSN unit and the second TSN unit. The first TSN unit outputs the voting result to the third TSN unit, and the second TSN unit outputs the voting result to the fourth TSN unit. The execution unit set corresponding to each station device category in the execution sub-module receives the voting results from the third TSN unit and the fourth TSN unit through multiple communication buses, and the execution unit set controls the corresponding station device to execute the corresponding control logic according to the voting result.
[0132] In another aspect, the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it is implemented to execute the communication method provided by each of the above methods. The method includes: the master control sub-module obtains the logical control data of each station among multiple stations; the logical control data of each station includes: among multiple station devices included in each station device category of multiple station device categories, multiple to-be-voted data of each station device. The master control sub-module votes on the multiple to-be-voted data, and the master control sub-module outputs the voting result to the first TSN unit and the second TSN unit. The first TSN unit outputs the voting result to the third TSN unit, and the second TSN unit outputs the voting result to the fourth TSN unit. The execution unit set corresponding to each station device category in the execution sub-module receives the voting results from the third TSN unit and the fourth TSN unit through multiple communication buses, and the execution unit set controls the corresponding station device to execute the corresponding control logic according to the voting result.
[0133] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art can understand and implement it without creative labor.
[0134] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the essence of the above technical solution, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of each embodiment or some parts of the embodiments.
[0135] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. An all - electronic computer interlocking system, characterized in that, Including: A main control module and multiple execution modules corresponding to multiple stations one by one; The main control module includes a main control sub-module, a first Time-Sensitive Networking (TSN) unit, and a second TSN unit redundant to the first TSN unit; Each of the multiple execution modules includes an execution sub-module, multiple redundant communication buses, a third TSN unit coupled to the first TSN unit, and a fourth TSN unit coupled to the second TSN unit; The main control sub-module is used to obtain the logical control data of each station among the multiple stations. The logical control data of each station includes: for each of the multiple station devices included in each station device category among the multiple station device categories, multiple to-be-voted data of each station device. The main control sub-module is further used to: vote on the multiple to-be-voted data and output the voting result to the first TSN unit and the second TSN unit; The first TSN unit is used to output the voting result to the third TSN unit, and the second TSN unit is used to output the voting result to the fourth TSN unit; The execution sub-module includes a set of execution units corresponding to each station device category. The set of execution units receives the voting result from the third TSN unit and the fourth TSN unit through the multiple communication buses, and controls the corresponding station device to execute the corresponding control logic according to the voting result; the third TSN unit and the fourth TSN unit are redundant to each other.
2. The all-electronic computer interlocking system according to claim 1, wherein The main control sub-module includes: 2 main control units and 2 safety logic control units; wherein, the 2 main control units correspond to the 2 safety logic control units one by one, the 2 main control units are redundant to each other, and each safety logic control unit in the 2 main control sub-modules is coupled to the first TSN unit and is also coupled to the second TSN unit; the multiple to-be-voted data includes 2 to-be-voted data corresponding to the 2 main control units one by one; Each of the 2 main control units is used to obtain the to-be-voted data of each station based on the interlocking control logic and output the to-be-voted data to the corresponding safety logic control unit; Each of the 2 safety logic control units is used to periodically vote on the 2 to-be-voted data and output the voting result to the first TSN unit and the second TSN unit.
3. The all-electronic computer interlocking system according to claim 2, wherein The logical control data further includes the timing information of each of the 2 to-be-voted data; Each of the 2 main control units is further used to: after obtaining the to-be-voted data of each station based on the interlocking control logic, obtain the timing information of the to-be-voted data and output the timing information to the corresponding safety logic control unit; The safety logic control unit is further used to synchronize the 2 to-be-voted data based on the timing information of the 2 to-be-voted data before the 2 to-be-voted data are periodically voted.
4. The all-electronic computer interlocking system according to any one of claims 1-3, characterized in that, The multiple station equipment categories include: turnouts, signal machines, safety input devices, and safety output devices; the set of execution units corresponding to each station equipment category among the multiple station equipment categories includes multiple execution units, and each execution unit among the multiple execution units is set in a 2-out-of-2 architecture.
5. The all-electronic computer interlocking system according to claim 4, wherein The set of execution units corresponding to the target station equipment category among the multiple station equipment categories includes multiple execution unit groups, each execution unit group among the multiple execution unit groups corresponds to at least one station equipment, each of the execution unit groups includes 2 execution units, and the 2 execution units are set in a 2-by architecture; the target station equipment category includes: the turnout or the signal machine.
6. The all-electronic computer interlocking system according to claim 1, wherein The set of execution units corresponding to each of the station equipment categories is further configured to: Obtain the communication data of the multiple station equipment under the corresponding station equipment category; Send the communication data to the third TSN unit and the fourth TSN unit through the multiple communication buses; The third TSN unit is further configured to: send the received communication data to the first TSN unit, so as to instruct the first TSN unit to send the communication data to the main control sub-module, so as to instruct the main control sub-module to obtain the logical control data of each station among the current multiple stations in real time based on the interlocking control logic and the communication data and output it; The fourth TSN unit is further configured to: send the received communication data to the second TSN unit, so as to instruct the second TSN unit to send the communication data to the main control sub-module, so as to instruct the main control sub-module to obtain the logical control data of each station among the current multiple stations in real time based on the interlocking control logic and the communication data and output it.
7. The all-electronic computer interlocking system according to claim 6, wherein It further includes: The sending-side TSN unit receives the data to be sent; wherein, the sending-side TSN unit is the first TSN unit, the second TSN unit, the third TSN unit, or the fourth TSN unit; The sending-side TSN unit distributes the data to be sent to the target transmission queue corresponding to the data type according to the data type of the data to be sent, and transmits the communication data based on the target transmission queue; wherein, the target transmission queue is one of the multiple preset queues, the multiple preset queues include an absolute priority queue and multiple non-absolute priority queues, the priority of the absolute priority queue is higher than the priorities of the queues in the multiple non-absolute priority queues, and the load data volume of each queue in the multiple non-absolute priority queues is adjusted in real time based on multiple transmission factors in each queue.
8. The all-electronic computer interlocking system according to claim 7, characterized in that, The data types include: control command type, status alarm type, and data maintenance type; the multiple preset queues include: the first queue corresponding to the control command type, the second queue corresponding to the status alarm type, and the third queue corresponding to the data maintenance type; wherein, the first queue is the absolute priority queue, and the second queue and the third queue are the non-absolute priority queues.
9. The all-electronic computer interlocking system according to claim 8, wherein, When the data to be transmitted received by the TSN unit on the sending side is the data sent by the master control sub-module to the set of execution units, the data type of the data to be transmitted is determined as the control command type.
10. The all-electronic computer interlocking system according to any one of claims 7-9, characterized in that, The multiple transmission factors include: the total cumulative transmitted data volume, the total cumulative number of transmitted data packets, the delay time, the transmission data period, the amount of transmitted data in the i-th period, and the weight vector in the i-th period; where i is greater than or equal to 1.
11. A communication method applied to the all-electronic computer interlocking system according to any one of claims 1-10, characterized in that, Including: The master control sub-module acquires the logical control data of each station among multiple stations; The logical control data of each station includes: among the multiple station devices included in each station device category of the multiple station device categories, the multiple to-be-voted data of each station device; The master control sub-module votes on the multiple to-be-voted data; The master control sub-module outputs the voting result to the first TSN unit and the second TSN unit; The first TSN unit outputs the voting result to the third TSN unit, and the second TSN unit outputs the voting result to the fourth TSN unit; The set of execution units corresponding to each station device category in the execution sub-module receives the voting result from the third TSN unit and the fourth TSN unit through multiple communication buses; The set of execution units controls the corresponding station devices to execute the corresponding control logic according to the voting result.
12. The communication method according to claim 11, wherein Also included: The set of execution units acquires the communication data of the multiple station devices under the corresponding station device category; The set of execution units sends the communication data to the third TSN unit and the fourth TSN unit through the multiple communication buses; The third TSN unit sends the received communication data to the first TSN unit, to instruct the first TSN unit to send the communication data to the master control sub-module, to instruct the master control sub-module to obtain and output in real time the logical control data of each station among the current multiple stations based on the interlocking control logic and the communication data; The fourth TSN unit sends the received communication data to the second TSN unit, to instruct the second TSN unit to send the communication data to the master control sub-module, to instruct the master control sub-module to obtain and output in real time the logical control data of each station among the current multiple stations based on the interlocking control logic and the communication data.
13. The communication method according to claim 12, wherein Also included: The TSN unit on the sending side receives the data to be transmitted; where the TSN unit on the sending side is the first TSN unit, the second TSN unit, the third TSN unit, or the fourth TSN unit; The sending - side TSN unit allocates the data to be sent to the target transmission queue corresponding to the data type according to the data type of the data to be sent, and transmits the communication data based on the target transmission queue; wherein, the target transmission queue is one of a plurality of preset queues, the plurality of preset queues includes an absolute - priority queue and a plurality of non - absolute - priority queues, the priority of the absolute - priority queue is higher than the priorities of each queue in the plurality of non - absolute - priority queues, and the load data volume of each queue in the plurality of non - absolute - priority queues is adjusted in real - time based on a plurality of transmission factors in each queue.
14. The communication method according to claim 13, wherein The data types include: control - command type, status - alarm type, and data - maintenance type; the plurality of preset queues include: a first queue corresponding to the control - command type, a second queue corresponding to the status - alarm type, and a third queue corresponding to the data - maintenance type; wherein, the first queue is the absolute - priority queue, and the second queue and the third queue are the non - absolute - priority queues.
15. The communication method according to claim 14, wherein When the data to be sent received by the sending - side TSN unit is the data sent by the main - control sub - module to the execution - unit set, the data type of the data to be sent is determined to be the control - command type.
16. The communication method according to any one of claims 13-15, characterized in that, The plurality of transmission factors include: total cumulative transmission data volume, total cumulative number of transmission data packets, delay time, transmission data period, transmission data volume in the i - th period, and weight vector in the i - th period; wherein, i is greater than or equal to 1.
17. An electronic device, comprising a memory, a processor, and a computer program stored on the memory and running on the processor, characterized in that, The processor includes a main - control sub - module, an execution sub - module, an execution - unit set, a first TSN unit, a second TSN unit, a third TSN unit, and a fourth TSN unit; when the processor executes the computer program, it implements the communication method according to any one of claims 11 to 16.
18. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the communication method according to any one of claims 11 to 16.
19. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the communication method according to any one of claims 11 to 16.
Citation Information
Cited By
Safety system based on train autonomous perception and train safety protection method
CN121106404A