Master-slave channel redundancy management system and method for rail transit signal system

By adopting the master-slave channel redundancy management system in the rail transit signal system, including the safety middleware module and the redundant management unit, automatic fault recovery and status control are realized, and the problem of channel failures cannot be automatically restored in the prior art is solved. Improves the stability and security of the system.

CN119071293APending Publication Date: 2024-12-03CASCO SIGNAL LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411181488.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-27
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

The lack of effective master-slave channel redundancy management in the existing rail transit signal system, which leads to the inability to automatically recover when a certain channel fails, and there are problems of safety hazards and insufficient risk management.

Method used

Adopt the master-slave channel redundancy management system, including security middleware module, redundant management unit, security management module, cloud management platform module and security virtualization module. By real-time update of security data and clock synchronization, the master channel and slave channel can be realized. Automatic failure recovery and state control to avoid the use of virtualized resources with security risks.

Benefits of technology

It realizes automatic recovery when a certain channel fails, improves the stability and reliability of the system, avoids safety risks, and ensures the safety and real-timeness of the rail transit signal system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119071293A_ABST
    Figure CN119071293A_ABST
Patent Text Reader

Abstract

The invention relates to a master-slave channel redundancy management system and method for a rail transit signal system, and the system comprises a safety middleware module, a processing process for the rail transit signal system comprises a main channel and a slave channel, and forms a double-two-channel master-slave channel redundancy management architecture. The security middleware module comprises a security real-time library unit and a redundancy management unit; by updating the safety data in the safety real-time library unit in real time, the safety data are output to the rail transit signal system, clock synchronization between the main channel and the auxiliary channel is controlled according to the safety data, and judgment of the main channel and the auxiliary channel is achieved; the redundancy management unit guarantees that only one main channel outputs outwards and controls synchronization between the main channel and the slave channel in redundancy management of the main channel and the slave channel, and when a certain channel breaks down, a double-two-channel main-slave channel redundancy management framework can be automatically recovered, and redundancy management is achieved. According to the invention, the original architecture can be automatically recovered when a certain channel fails.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of rail transit signal systems, and in particular to a master-slave channel redundancy management system and method for rail transit signal systems. Background Art

[0002] As an important part of public transportation, rail transit has the advantages of high efficiency, large capacity, fast and convenient, safe and comfortable, and low energy consumption. It is of great significance to reduce resource and environmental pressure and alleviate traffic congestion. The signal system is the core system to ensure the safety of rail transit, provide information services, and improve transportation efficiency. The safety computer platform is a fault-oriented safety bottom-level platform. It is a general platform serving the signal system of the rail transit industry and a core component of the rail transit signal system.

[0003] Cloud computing has strong scalability and flexibility. Through the hybrid evolution of technologies such as virtualization, dynamic expansion, distributed computing, and redundant backup, it has achieved a high degree of flexibility, making computing resources no longer restricted by time and space, and providing the foundation and impetus for the technological development of the digitalization, integration, and intelligence of railway signal systems.

[0004] The invention patent application with publication number CN116962400A applies for a railway signal security cloud platform based on a five-out-of-three architecture, which is characterized by including an operation presentation layer, a logic processing layer and a security layer; after receiving application information from other railway signal systems, the security layer performs security protocol analysis on the application information to obtain a parsing result, and then sends the parsing result to all nodes of the logic processing layer; the logic processing layer performs logical operations on the parsing result to obtain output data and sends the output data to the security layer; the security layer performs a five-out-of-three consistency comparison and security protocol encapsulation on the output data of the logic processing layer within a specified period and then sends it to the corresponding other railway signal systems and the operation presentation layer; the operation table The display layer includes a first server cluster for running a human-computer interaction system and a second server cluster for running a maintenance system. The human-computer interaction system is used to provide operators with a human-computer interaction interface for station and train-related operations, and the maintenance system is used to record all operations of signalmen, the status of related station equipment and alarm information; the logic processing layer includes five third server clusters, all of which have the same hardware structure and function, and each third server cluster serves as a node of the five-out-of-three architecture; the security layer is composed of a comparison unit with a SIL4 safety integrity level based on a 2×2oo2 safety redundant architecture, which is used to achieve data consistency comparison and safety protocol analysis. The patent lacks risk management, and the platform may use virtualized resources with security risks, thereby affecting the platform security; when a 2oo2 unit in the 2×2oo2 safety redundant architecture has a problem, the original architecture cannot be automatically restored, and there is a safety hazard.

[0005] Providing a system with master-slave channel redundancy management and a method for automatically restoring the architecture when a channel fails has become the most urgent issue at present. Summary of the invention

[0006] The purpose of the present invention is to overcome the defects of the above-mentioned prior art and to provide a master-slave channel redundancy management system and method for a rail transit signal system.

[0007] The purpose of the present invention can be achieved by the following technical solutions:

[0008] A master-slave channel redundancy management system for a rail transit signal system, comprising a safety middleware module, wherein the processing process for the rail transit signal system comprises a master channel and a slave channel, forming a two-by-two channel master-slave channel redundancy management architecture, and the safety middleware module comprises a safety real-time library unit and a redundancy management unit;

[0009] By updating the safety data in the safety real-time library unit in real time, the safety data is output to the rail transit signal system, and the clock synchronization between the master channel and the slave channel is controlled and the judgment of the master channel and the slave channel is realized according to the safety data; the redundant management unit ensures that only one master channel outputs externally and controls the synchronization between the master and slave channels in the master-slave channel redundant management. When a channel fails, the two-by-two channel master-slave channel redundant management architecture can be automatically restored to realize redundant management.

[0010] The safety data includes data passed by safety voting, synchronization data and master-slave negotiation data; the data passed by safety voting is output to the rail transit signal system, the synchronization data controls the clock synchronization between the master channel and the slave channel, and the master-slave negotiation data realizes the judgment of the master channel and the slave channel between different channels.

[0011] It also includes a security management module, a cloud management platform module, and a security virtualization module;

[0012] Among them, the cloud management platform module realizes the management of virtualized resources and is responsible for the monitoring, diagnosis and maintenance functions of the entire system; the security virtualization module completes the management of basic hardware resources and realizes the virtualization of hardware resources; the security management module realizes the security interface between the security virtualization module and the cloud management platform module, so that the virtualized resources provided by the security computer platform are managed by the cloud management platform module, and controls the security middleware module to realize master-slave channel redundant management, output security data to the rail transit signal system and the security real-time library unit to update security data in real time.

[0013] It also includes a communication gateway module and a basic hardware module;

[0014] The communication gateway module provides a unified access portal to achieve flow control of the entire system and transmit information of the rail transit signal system to the security middleware module; the basic hardware module provides hardware resources to be virtualized by the security virtualization module.

[0015] The security middleware module also includes an application management unit, a security voting unit and a security clock unit;

[0016] Among them, the application management unit provides an API interface and task scheduling management functions for security applications; the security voting unit is an M-out-of-N architecture, which compares the output consistency and merges the security data; the security clock unit provides a secure cycle scheduling function for the entire system; after the master channel and the slave channel are synchronized by the security clock unit and the security voting unit performs a security vote, if the security vote fails, the application management unit allows the security application to enter a secure holding state.

[0017] The M-out-of-N architecture includes two-out-of-two or three-out-of-two.

[0018] According to any of the above methods for a master-slave channel redundant management system for a rail transit signal system, after the safety vote of the master channel is passed, the safety data is output to the rail transit signal system and the safety real-time library unit updates the safety data in real time; the slave channel obtains the safety data of the safety real-time library unit, and if the safety data verification is passed, it updates its own data and performs the next cycle after the safety vote is passed; when the master channel safety vote fails or the slave channel safety expression fails, the safety application enters a safety holding state; when a master channel or slave channel failure is found, a group of channels can be automatically selected to restore the two-by-two channel master-slave channel redundant management architecture.

[0019] The recovery process of restoring the two-by-two channel master-slave channel redundant management architecture comprises the following steps:

[0020] S11, a redundant hot standby two-by-two channel consisting of two channels A and B, enters a safe holding state when channel A fails;

[0021] S12, the redundant management unit finds that it is in a safe holding state;

[0022] S13, the redundancy management unit reselects a group of channels C;

[0023] S14, start the selected channel C;

[0024] S15. If channel A is the master channel, channel C is the master channel and channel B is the slave channel, or channel B is the master channel and channel C is the slave channel; if channel A is the slave channel, channel C is the slave channel;

[0025] S16, the redundancy management unit distributes corresponding application programs and configuration data to channel C;

[0026] S17, channel C loads the application and configuration data and enters the ready state;

[0027] S18, channel C sends a registration request to the security management module to complete pairing with the existing channel B into a two-by-two channel; after channel C undergoes clock synchronization by the security clock unit and security data update by the security real-time library unit, it enters the hot standby state and completes automatic repair.

[0028] The process of outputting the safety data to the rail transit signal system or the safety application into the safety holding state includes the following steps:

[0029] S21, the system is powered on, each subsystem is initialized, and the two channels enter the ready state;

[0030] S22, the two channels send a registration request to the security management module;

[0031] S23, after receiving the reply information from the security management module, the redundancy management unit performs master-slave judgment on the two channels;

[0032] S24, if it is the main channel, synchronize clock information to other channels;

[0033] S25, the main channel conducts a safety vote. If the main channel passes the safety vote, the main channel outputs the safety data obtained from the safety application to the rail transit signal system;

[0034] S26, updating the security data to the security real-time library unit and entering the next cycle.

[0035] If the S24 is a slave channel, it includes the following steps:

[0036] S241, synchronizing the clocks of the slave channel and the master channel;

[0037] S242, obtaining the security real-time library unit status data from the slave channel, and if the security data verification passes, synchronously updating the security data to the slave channel;

[0038] S243: Conduct a safety vote from the channel. If the safety vote passes, enter the next cycle.

[0039] If the S25 security vote fails or the S243 security vote fails, the application management unit allows the security application to enter a security hold state.

[0040] The process of security voting includes the following steps:

[0041] S31, the communication gateway module collects input from the external system;

[0042] S32, the communication gateway module forwards the external system input to the security protocol unit of the security middleware module, processes the data, and then forwards it to the security application through application attachment 1 and application attachment 2 respectively;

[0043] S33, the application management unit of the security middleware module triggers the application task, and the application attachment 1 and the application attachment 2 perform operations on their respective channels;

[0044] S34, application appendix 1 and application appendix 2 respectively transmit the calculation results to the security voting unit through the application management unit;

[0045] S35. The security voting unit performs a two-out-of-two output consistency vote on the data of Application Appendix 1 and Application Appendix 2; if the voting results are consistent, the security vote is passed; if the voting results are inconsistent, the security vote is not passed.

[0046] Compared with the prior art, the present invention has the following advantages:

[0047] 1. The present invention uses a redundant management unit to detect that a group of channels fails and can automatically select another group of channels to reconstruct the original architecture.

[0048] 2. The present invention sets up a security real-time library unit to store security data used for functions such as security voting and redundancy management, and controls the status of security applications by updating the security data in real time.

[0049] 3. The present invention sets up a security management module, which serves as a security interface between the security virtualization module and the cloud management platform module. The virtualized resources provided by the security virtualization module can be managed by the cloud management platform module, avoiding the use of virtualized resources with security risks.

[0050] 4. The state control of the security application of the present invention selects a two-by-two-out-of-two architecture, which improves the stability and reliability of the state control.

[0051] 5. The security voting unit structure of the present invention is 2 out of 2 or 2 out of 3. Only when two results are the same will the result of passing be outputted, and only when two results are not the same will the result of failing be outputted. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1 It is a schematic diagram of the platform structure of the present invention;

[0053] Figure 2 This is a schematic diagram of the structure of the security middleware module of the present invention;

[0054] Figure 3A schematic diagram of a channel fault repair structure of the present invention;

[0055] Figure 4 It is a workflow diagram of the two-by-two channels of the present invention;

[0056] Figure 5 It is a schematic diagram of the architecture of the two-out-of-two secure computing platform of the present invention. DETAILED DESCRIPTION

[0057] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0058] The traditional signal system has the following problems: 1) It uses fully independently developed boards and adopts a two-out-of-two comparison voting method to achieve safe communication output, with many types of hardware and high maintenance costs. 2) The subsystems are distributed at various sites, with poor flexibility and low equipment resource utilization. The subsystems are relatively closed and the communication links between the subsystems are relatively long, which increases the response time of the entire system. 3) Once the construction is completed and put into operation, it is difficult to add new interfaces or new equipment to expand the current system, and it is difficult to upgrade and transform it, which cannot meet the capacity expansion needs of the urban rail transit market. 4) The traditional rail transit train control system uses embedded boards to meet the requirements of high real-time performance, high security and low power consumption. Due to the limitations of CPU performance, it cannot meet the requirements of the ever-expanding computing power, especially the current development of multi-core chip technology and heterogeneous computing technology, which cannot make the chips with powerful computing power fully play their role.

[0059] The present invention realizes the virtualization of hardware resources based on cloud technology; avoids the use of virtualized resources with security risks by setting a security management module and a real-time security library unit; stores security data used for functions such as security voting and redundancy management in the real-time security library unit, facilitates the transmission of security data, and ensures the real-time and timeliness of data; when a group of two-out-of-two units fails, a group of two-out-of-two units can be automatically selected to re-form a master-slave two-out-of-two unit.

[0060] Example 1

[0061] The schematic diagram of the platform structure is as follows: Figure 1 , Figure 2As shown, a master-slave channel redundancy management system for a rail transit signal system includes a security middleware module, wherein the processing process for the rail transit signal system includes a master channel and a slave channel, forming a two-by-two channel master-slave channel redundancy management architecture, and the security middleware module includes a security real-time library unit and a redundancy management unit;

[0062] By updating the safety data in the safety real-time library unit in real time, the safety data is output to the rail transit signal system, and the clock synchronization between the master channel and the slave channel is controlled and the judgment of the master channel and the slave channel is realized according to the safety data; the redundant management unit ensures that only one master channel outputs externally and controls the synchronization between the master and slave channels in the master-slave channel redundant management. When a channel fails, the two-by-two channel master-slave channel redundant management architecture can be automatically restored to realize redundant management.

[0063] The safety data includes data passed by safety voting, synchronization data and master-slave negotiation data; the data passed by safety voting is output to the rail transit signal system, the synchronization data controls the clock synchronization between the master channel and the slave channel, and the master-slave negotiation data realizes the judgment of the master channel and the slave channel between different channels.

[0064] In this embodiment, the safety voting unit takes a two-out-of-two architecture as an example, and the safety data includes data that needs to be compared two-out-of-two and is output to the external system (that is, data for safety voting), and the redundant management data includes synchronized data and master-slave negotiation data; and the data that the system needs to detect includes self-test data, temperature, voltage, etc.

[0065] It also includes a security management module, a cloud management platform module, and a security virtualization module;

[0066] Among them, the cloud management platform module realizes the management of virtualized resources and is responsible for the monitoring, diagnosis and maintenance functions of the entire system; the security virtualization module completes the management of basic hardware resources and realizes the virtualization of hardware resources; the security management module realizes the security interface between the security virtualization module and the cloud management platform module, so that the virtualized resources provided by the security computer platform are managed by the cloud management platform module, and controls the security middleware module to realize master-slave channel redundant management, output security data to the rail transit signal system and the security real-time library unit to update security data in real time.

[0067] It also includes a communication gateway module and a basic hardware module;

[0068] The communication gateway module provides a unified access portal to achieve flow control of the entire system and transmit information of the rail transit signal system to the security middleware module; the basic hardware module provides hardware resources to be virtualized by the security virtualization module.

[0069] In this embodiment, the functions of the cloud management platform module also include but are not limited to the creation, start, stop, and destruction of virtual machines, and realize the management of images and services. The security management module can also ensure that virtualized resources with security risks are in a safe state and are not used before the risks are eliminated. The security middleware module implements functions such as control clock, CPU and memory inspection functions, security voting, security communication, hot standby redundancy management and off-site disaster recovery that meet SIL4 level; the security application software runs on the security platform, and the security middleware module provides interfaces to interact with the security platform. The security virtualization module completes the management of basic hardware resources, including CPU, memory, network, storage and other resources, realizes the virtualization of hardware resources, ensures the real-time performance of the entire system, and can realize the safe isolation of resources between virtual machines, and ensure the independence of the upper-level software during operation. Basic hardware modules, such as servers, include CPU, memory, network, storage and other resources.

[0070] The security middleware module also includes an application management unit, a security voting unit and a security clock unit;

[0071] Among them, the application management unit provides an API interface and task scheduling management functions for security applications; the security voting unit is an M-out-of-N architecture, which compares the output consistency and merges the security data; the security clock unit provides a secure cycle scheduling function for the entire system; after the master channel and the slave channel are synchronized by the security clock unit and the security voting unit performs a security vote, if the security vote fails, the application management unit allows the security application to enter a secure holding state.

[0072] In this embodiment, the security middleware module also includes a security protocol unit: implements a series of communication rules and standards required by the rail transit communication system, ensures the security, reliability and stability of information transmission in the rail transit system, and ensures the normal operation of key tasks such as train operation control, signal transmission, and safety monitoring. For example, RSSP-I, RSSP-II, FSFB2, SUBSET-037 and other security communication protocols required by the rail transit system.

[0073] The M-out-of-N architecture includes two-out-of-two or three-out-of-two.

[0074] Example 2

[0075] A method for a master-slave channel redundancy management system for a rail transit signal system, wherein after the safety vote of the master channel passes, the safety data is output to the rail transit signal system and the safety real-time library unit updates the safety data in real time; the slave channel obtains the safety data of the safety real-time library unit, and if the safety data verification passes, it updates its own data and performs the next cycle after the safety vote passes; when the master channel safety vote fails or the slave channel safety expression fails, the safety application enters a safety holding state; when a master channel or slave channel failure is found, a group of channels can be automatically selected to restore a two-by-two channel master-slave channel redundancy management architecture.

[0076] In this embodiment, in addition to adopting a two-by-two channel master-slave channel redundant management architecture, it is also possible to adopt an architecture of one master channel and multiple slave channels, a security expression architecture such as two-out-of-two or three-out-of-two, and management measures such as 2*2oo2, 2*2oo3, N*2oo2, N*2oo3 can be adopted to enhance the reliability and security of the system.

[0077] like Figure 3 As shown, the recovery process of restoring the two-by-two channel master-slave channel redundant management architecture includes the following steps:

[0078] S11, a redundant hot standby two-by-two channel consisting of two channels A and B, enters a safe holding state when channel A fails;

[0079] S12, the redundant management unit finds that it is in a safe holding state;

[0080] S13, the redundancy management unit reselects a group of channels C;

[0081] S14, start the selected channel C;

[0082] S15. If channel A is the master channel, channel C is the master channel and channel B is the slave channel, or channel B is the master channel and channel C is the slave channel; if channel A is the slave channel, channel C is the slave channel;

[0083] S16, the redundancy management unit distributes corresponding application programs and configuration data to channel C;

[0084] S17, channel C loads the application and configuration data and enters the ready state;

[0085] S18, channel C sends a registration request to the security management module to complete pairing with the existing channel B into a two-by-two channel; after channel C undergoes clock synchronization by the security clock unit and security data update by the security real-time library unit, it enters the hot standby state and completes automatic repair.

[0086] In this embodiment, the recovery of channel failure can be configured as a master channel or a slave channel.

[0087] like Figure 4 As shown, the process of outputting the safety data to the rail transit signal system or the safety application to enter the safety holding state includes the following steps:

[0088] S21, the system is powered on, each subsystem is initialized, and the two channels enter the ready state;

[0089] S22, the two channels send a registration request to the security management module;

[0090] S23, after receiving the reply information from the security management module, the redundancy management unit performs master-slave judgment on the two channels;

[0091] S24, if it is the main channel, synchronize clock information to other channels;

[0092] S25, the main channel conducts a safety vote. If the main channel passes the safety vote, the main channel outputs the safety data obtained from the safety application to the rail transit signal system;

[0093] S26, updating the security data to the security real-time library unit and entering the next cycle.

[0094] If the S24 is a slave channel, it includes the following steps:

[0095] S241, synchronizing the clocks of the slave channel and the master channel;

[0096] S242, obtaining the security real-time library unit status data from the slave channel, and if the security data verification passes, synchronously updating the security data to the slave channel;

[0097] S243: Conduct a safety vote from the channel. If the safety vote passes, enter the next cycle.

[0098] If the S25 security vote fails or the S243 security vote fails, the application management unit allows the security application to enter a security hold state.

[0099] like Figure 5 As shown, the process of security voting includes the following steps:

[0100] S31, the communication gateway module collects input from the external system;

[0101] S32, the communication gateway module forwards the external system input to the security protocol unit of the security middleware module, processes the data, and then forwards it to the security application through application attachment 1 and application attachment 2 respectively;

[0102] S33, the application management unit of the security middleware module triggers the application task, and the application attachment 1 and the application attachment 2 perform operations on their respective channels;

[0103] S34, application appendix 1 and application appendix 2 respectively transmit the calculation results to the security voting unit through the application management unit;

[0104] S35. The security voting unit performs a two-out-of-two output consistency vote on the data of Application Appendix 1 and Application Appendix 2; if the voting results are consistent, the security vote is passed; if the voting results are inconsistent, the security vote is not passed.

[0105] In this embodiment, the data of application attachment 1 and application attachment 2 are compared for consistency of output by the safety voting unit. If the voting results are consistent, the safety data can be output normally through voting; otherwise, the safety application is put into a safety holding state. In this embodiment, the architecture is a two-out-of-two architecture, with application attachment 1 and application attachment 2. If it is a three-out-of-two architecture, there will also be application attachment 3; the application attachment is the safety application it supports, such as ZC / LC / interlocking, etc.

[0106] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A master-slave channel redundancy management system for a rail transit signal system, comprising a safety middleware module, characterized in that: The processing process for the rail transit signal system includes a master channel and a slave channel, forming a two-by-two channel master-slave channel redundant management architecture, and the safety middleware module includes a safety real-time library unit and a redundancy management unit; By updating the safety data in the safety real-time library unit in real time, the safety data is output to the rail transit signal system, and the clock synchronization between the master channel and the slave channel is controlled and the judgment of the master channel and the slave channel is realized according to the safety data; the redundant management unit ensures that only one master channel outputs externally and controls the synchronization between the master and slave channels in the master-slave channel redundant management. When a channel fails, the two-by-two channel master-slave channel redundant management architecture can be automatically restored to realize redundant management.

2. A master-slave channel redundancy management system for a rail transit signal system according to claim 1, characterized in that: The safety data includes data passed by safety voting, synchronization data and master-slave negotiation data; the data passed by safety voting is output to the rail transit signal system, the synchronization data controls the clock synchronization between the master channel and the slave channel, and the master-slave negotiation data realizes the judgment of the master channel and the slave channel between different channels.

3. The master-slave channel redundancy management system for a rail transit signal system according to claim 1, characterized in that: It also includes a security management module, a cloud management platform module, and a security virtualization module; Among them, the cloud management platform module realizes the management of virtualized resources and is responsible for the monitoring, diagnosis and maintenance functions of the entire system; the security virtualization module completes the management of basic hardware resources and realizes the virtualization of hardware resources; the security management module realizes the security interface between the security virtualization module and the cloud management platform module, so that the virtualized resources provided by the security computer platform are managed by the cloud management platform module, and controls the security middleware module to realize master-slave channel redundant management, output security data to the rail transit signal system and the security real-time library unit to update security data in real time.

4. The master-slave channel redundancy management system for a rail transit signal system according to claim 1, characterized in that: It also includes a communication gateway module and a basic hardware module; The communication gateway module provides a unified access portal to achieve flow control of the entire system and transmit information of the rail transit signal system to the security middleware module; the basic hardware module provides hardware resources to be virtualized by the security virtualization module.

5. The master-slave channel redundancy management system for a rail transit signal system according to claim 1, characterized in that: The security middleware module also includes an application management unit, a security voting unit and a security clock unit; Among them, the application management unit provides an API interface and task scheduling management functions for security applications; the security voting unit is an M-out-of-N architecture, which compares the output consistency and merges the security data; the security clock unit provides a secure cycle scheduling function for the entire system; after the master channel and the slave channel are synchronized by the security clock unit and the security voting unit performs a security vote, if the security vote fails, the application management unit allows the security application to enter a secure holding state.

6. A master-slave channel redundancy management system for a rail transit signal system according to claim 4, characterized in that: The M-out-of-N architecture includes two-out-of-two or three-out-of-two.

7. A method for a master-slave channel redundancy management system for a rail transit signal system according to any one of claims 1 to 6, characterized in that: After the safety vote of the main channel is passed, the safety data is output to the rail transit signal system and the safety real-time library unit updates the safety data in real time; the slave channel obtains the safety data of the safety real-time library unit, and if the safety data verification is passed, it updates its own data and performs the next cycle after the safety vote is passed; When the master channel safety vote fails or the slave channel safety expression fails, the safety application enters a safety hold state; when a master channel or slave channel failure is detected, a group of channels can be automatically selected to restore the two-by-two channel master-slave channel redundant management architecture.

8. A method for a master-slave channel redundancy management system for a rail transit signal system according to claim 7, characterized in that: The recovery process of restoring the two-by-two channel master-slave channel redundant management architecture comprises the following steps: S11, a redundant hot standby two-by-two channel consisting of two channels A and B, enters a safe holding state when channel A fails; S12, the redundant management unit finds that it is in a safe holding state; S13, the redundancy management unit reselects a group of channels C; S14, start the selected channel C; S15. If channel A is the master channel, channel C is the master channel and channel B is the slave channel, or channel B is the master channel and channel C is the slave channel; if channel A is the slave channel, channel C is the slave channel; S16, the redundancy management unit distributes corresponding application programs and configuration data to channel C; S17, channel C loads the application and configuration data and enters the ready state; S18, channel C sends a registration request to the security management module to complete pairing with the existing channel B into a two-by-two channel; after channel C undergoes clock synchronization by the security clock unit and security data update by the security real-time library unit, it enters the hot standby state and completes automatic repair.

9. A method for a master-slave channel redundancy management system for a rail transit signal system according to claim 8, characterized in that: The process of outputting the safety data to the rail transit signal system or the safety application into the safety holding state includes the following steps: S21, the system is powered on, each subsystem is initialized, and the two channels enter the ready state; S22, the two channels send a registration request to the security management module; S23, after receiving the reply information from the security management module, the redundancy management unit performs master-slave judgment on the two channels; S24, if it is the main channel, synchronize clock information to other channels; S25, the main channel conducts a safety vote. If the main channel passes the safety vote, the main channel outputs the safety data obtained from the safety application to the rail transit signal system; S26, updating the security data to the security real-time library unit and entering the next cycle.

10. A method for a master-slave channel redundancy management system for a rail transit signal system according to claim 9, characterized in that: If the S24 is a slave channel, it includes the following steps: S241, synchronizing the clocks of the slave channel and the master channel; S242, obtaining the security real-time library unit status data from the slave channel, and if the security data verification passes, synchronously updating the security data to the slave channel; S243: Conduct a safety vote from the channel. If the safety vote passes, enter the next cycle.

11. A method for a master-slave channel redundancy management system for a rail transit signal system according to claim 10, characterized in that: If the S25 security vote fails or the S243 security vote fails, the application management unit allows the security application to enter a security hold state.

12. A method for a master-slave channel redundancy management system for a rail transit signal system according to claim 7, characterized in that: The process of security voting includes the following steps: S31, the communication gateway module collects input from the external system; S32, the communication gateway module forwards the external system input to the security protocol unit of the security middleware module, processes the data, and then forwards it to the security application through application attachment 1 and application attachment 2 respectively; S33, the application management unit of the security middleware module triggers the application task, and the application attachment 1 and the application attachment 2 perform operations on their respective channels; S34, application appendix 1 and application appendix 2 respectively transmit the calculation results to the security voting unit through the application management unit; S35. The security voting unit performs a two-out-of-two output consistency vote on the data of Application Appendix 1 and Application Appendix 2; if the voting results are consistent, the security vote is passed; if the voting results are inconsistent, the security vote is not passed.

Citation Information

Patent Citations

  • Railway signal safety cloud platform based on three-out-of-five architecture

    CN116962400A