Compatible with 2x2 and 2x3 secure computer platforms and vehicle-mounted devices
By designing a secure computer platform that is compatible with two by two and three by two, and using dynamic reconfiguration and result comparison technology, we solve the problem of limited compatibility of existing platforms and achieve seamless switching between architectures and system stability. sexual enhancement.
Patent Information
- Application Number
- CN202010743845.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-07-29
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2040-07-29
AI Technical Summary
Existing secure computer platforms can only support 2 by 2 or 2 by 3 architectures, with limited compatibility and inability to achieve mutual switching and seamless compatibility.
Design a secure computer platform that is compatible with two times two and three times two, including a first board and a second board. Three computing units are installed in the first board, and at least two computing units are installed in the second board. The unit can switch between two-by-two and three-by-two architectures through a switch to realize dynamic reconfiguration of computing units and result comparison, ensuring the correctness of the output results and system stability.
It achieves seamless compatibility between the two-by-two and three-by-two architectures, improves the stability and reliability of the system, avoids the failure impact of a single processing result, prompts fault information in a timely manner, and ensures the normal operation of the safe computer platform run.
Smart Images

Figure CN111984585B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of rail transit control technology, and in particular to a safe computer platform and vehicle-mounted equipment compatible with two-by-two and three-by-two. Background Art
[0002] The safety computer platform is related to rail transit control. The use of fault-tolerant technology can significantly improve its reliability and availability. However, if the system fails to work properly, it may output dangerous control signals to the controlled equipment, causing casualties and property losses. Therefore, the safety computer platform is not only a highly reliable and highly available fault-tolerant system, but also a fail-safe system.
[0003] Mainstream security computer platforms can only support either a 2x2-out-of-2 architecture or a 3x2-out-of-2 architecture. Their compatibility is very limited. Different platform designs cannot switch between each other, nor can they be seamlessly compatible. Summary of the invention
[0004] The embodiments of the present invention provide a secure computer platform and vehicle-mounted device that are compatible with 2x2out-of-2 and 3x2out-of-2, so as to solve the problem that the mainstream secure computer platforms in the prior art can only support either a 2x2out-of-2 architecture or a 3x2 architecture, and the compatibility is very limited. Different platform designs cannot switch between each other, and cannot achieve seamless compatibility.
[0005] In view of the above technical problems, in a first aspect, an embodiment of the present invention provides a secure computer platform compatible with two-by-two and two-out-of-three, comprising a first board and a second board, wherein the first board is provided with three computing units, and the second board is provided with at least two computing units;
[0006] When the secure computer switches to a two-by-two-take-two architecture, the input data is processed by two computing units in the first board and two computing units in the second board;
[0007] When the secure computer switches to the three-out-of-two architecture, the three computing units in the first board process the input data.
[0008] Optionally, any two computing units in each board are connected to each other, and each computing unit is connected to a motherboard connector;
[0009] The motherboard connector is used to receive the processing result of the input data output by the computing unit, and input the received processing result as the output of the secure computer platform.
[0010] Optionally, a toggle switch is also included;
[0011] The switch is used to send first identification information to each computing unit in the first board and the second board when the security computer switches to the two-by-two-take-two architecture,
[0012] The switch is used to send second identification information to each computing unit in the first board and the second board when the security computer switches to a two-out-of-three architecture.
[0013] Optionally, when the secure computer switches to the two-by-two-take-two architecture, the two computing units in the first board and the two computing units in the second board process the input data, including:
[0014] When the security computer switches to the two-by-two-take-two architecture, the first computing unit in the motherboard card determines a first processing result of the input data by the first computing unit, and after receiving a second processing result of the input data by the second computing unit in the motherboard card, determines whether the first processing result is the same as the second processing result, and if so, outputs the first processing result or the second processing result to a motherboard connector connected to the first computing unit;
[0015] The mainboard card is the first board or the second board; the first computing unit and the second computing unit in the mainboard card are two computing units in the mainboard card that process input data when the security computer switches to a two-by-two-take-two architecture.
[0016] Optionally, it also includes:
[0017] When the security computer switches to the two-by-two-take-two architecture, the third computing unit in the standby board determines a third processing result of the input data by the third computing unit, and after receiving a fourth processing result of the input data by the fourth computing unit in the standby board, determines whether the third processing result is the same as the fourth processing result, and if so, stores the third processing result or the fourth processing result;
[0018] When it is detected that the standby board is upgraded to the main board and the main board is downgraded to the standby board, the third processing result or the fourth processing result is output to a motherboard connector connected to the third computing unit;
[0019] Wherein, when the standby board is the first board, the main board is the second board; when the standby board is the second board, the main board is the first board.
[0020] Optionally, the determining whether the first processing result is the same as the second processing result further includes:
[0021] If the first processing result is different from the second processing result, the current spare board is upgraded to the main board, the current main board is downgraded to the spare board, and a first prompt message is issued; the first prompt message is used to prompt that under the current two-by-two-take-two architecture, the processing results of the two computing units in the main board that process the input data are inconsistent.
[0022] Optionally, determining whether the third processing result is the same as the fourth processing result includes:
[0023] If the third processing result is different from the fourth processing result, a second prompt message is issued; the second prompt message is used to prompt that the processing results of the two computing units in the standby board that process the input data are inconsistent under the two-by-two-take-two architecture.
[0024] Optionally, when the secure computer switches to the three-out-of-two architecture, the three computing units in the first board process the input data, including:
[0025] When the secure computer switches to the three-out-of-two architecture, the fifth computing unit in the first board determines a fifth processing result of the input data by the fifth computing unit, and receives a sixth processing result of the input data by the sixth computing unit, and a seventh processing result of the input data by the seventh computing unit;
[0026] Determine whether there are at least two identical processing results among the fifth processing result, the sixth processing result and the seventh processing result, and if so, output the identical processing results to a motherboard connector connected to the fifth computing unit;
[0027] The fifth computing unit, the sixth computing unit and the seventh computing unit are three computing units in the first board.
[0028] Optionally, the determining whether there are at least two identical processing results among the fifth processing result, the sixth processing result, and the seventh processing result further includes:
[0029] If the fifth processing result, the sixth processing result and the seventh processing result are all different, a third prompt message is issued; the third prompt message is used to prompt that the processing results of the three computing units that process the input data are all inconsistent under the three-out-of-two architecture.
[0030] In a second aspect, an embodiment of the present invention provides a vehicle-mounted device, comprising a secure computer platform compatible with two-by-two and two-out-of-three as described in any one of the above items.
[0031] An embodiment of the present invention provides a secure computer platform and an in-vehicle device that are compatible with 2x2-out-of-2 and 3x2-out-of-2. The secure computer platform includes a first board and a second board, wherein the first board is provided with three computing units, and the second board is provided with at least two computing units. When the secure computer switches to a 2x2-out-of-2 architecture, the two computing units in the first board and the two computing units in the second board process the input data; when the secure computer switches to a 3x2-out-of-2 architecture, the three computing units in the first board process the input data. The 2x2-out-of-2 architecture and the 3x2-out-of-2 architecture can switch between each other to achieve seamless compatibility. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0033] Figure 1 2 is a schematic diagram of a secure computer platform compatible with two-by-two and two-out-of-three, provided in an embodiment of the present invention;
[0034] Figure 2 It is a circuit connection diagram of a calculation unit provided in another embodiment of the present invention. DETAILED DESCRIPTION
[0035] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are 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 are within the scope of protection of the present invention.
[0036] Figure 1 The schematic diagram of the structure of the secure computer platform compatible with 2x2 and 2x3 provided in this embodiment is shown in FIG. Figure 1 The secure computer platform compatible with two-by-two and two-out-of-three includes a first board and a second board, wherein the first board is provided with three computing units, and the second board is provided with at least two computing units;
[0037] When the secure computer switches to a two-by-two-take-two architecture, the input data is processed by two computing units in the first board and two computing units in the second board;
[0038] When the secure computer switches to the three-out-of-two architecture, the three computing units in the first board process the input data.
[0039] When the secure computer switches to the 2x2-out-of-2 architecture, the two computing units in the first board and the two computing units in the second board are used as the four computing units in the 2x2-out-of-2 architecture. When the secure computer switches to the 3x2-out-of-2 architecture, the three computing units in the first board are used as the three computing units in the 3x2-out-of-2 architecture.
[0040] The two computing units in the first board for processing input data and the two computing units in the second board for processing input data are pre-designated computing units that are put into use when the security computer switches to the two-by-two-out-of-two architecture. Each computing unit may include at least one CPU.
[0041] This embodiment provides a secure computer platform compatible with 2x2-out-of-2 and 3x2-out-of-2, including a first board and a second board, wherein the first board is provided with three computing units, and the second board is provided with at least two computing units. When the secure computer switches to the 2x2-out-of-2 architecture, the two computing units in the first board and the two computing units in the second board process the input data; when the secure computer switches to the 3x2 architecture, the three computing units in the first board process the input data. The 2x2-out-of-2 architecture and the 3x2 architecture can switch between each other to achieve seamless compatibility.
[0042] Further, based on the above embodiment, Figure 2 The circuit connection diagram of the computing unit in the board provided for this implementation is shown in Figure 2 , any two computing units in each board ( Figure 2 The CPU in the figure is a computing unit) are connected to each other, and each computing unit is connected to the motherboard connector;
[0043] The motherboard connector is used to receive the processing result of the input data output by the computing unit, and input the received processing result as the output of the secure computer platform.
[0044] Motherboard connectors are used to connect secure computer platforms and other devices.
[0045] The computing units in the same board are connected in pairs to transmit the processing results of the input data to each other.
[0046] In this embodiment, the computing units in the same board are connected in pairs, so that the computing units can transmit the processing results of the input data to each other to perform corresponding processing under the two-by-two-out-of-two architecture or the three-out-of-two architecture. At the same time, the output of the computing unit data is realized through the motherboard connector.
[0047] Furthermore, based on the above embodiments, it also includes a switching switch;
[0048] The switch is used to send first identification information to each computing unit in the first board and the second board when the security computer switches to the two-by-two-take-two architecture,
[0049] The switch is used to send second identification information to each computing unit in the first board and the second board when the security computer switches to a two-out-of-three architecture.
[0050] The first identification information is used to identify that the current architecture is 2x2-out-of-2, and the second identification information is used to identify that the current architecture is 3x2-out-of-2. The specific forms of the first identification information and the second identification information can be set as needed. For example, the first identification information is represented by "0" and the second identification information is represented by "1".
[0051] In this embodiment, the switching between the two-by-two-out-of-two architecture and the three-out-of-two architecture is achieved by setting a switch.
[0052] The two-by-two-take-two architecture is introduced as follows:
[0053] Further, based on the above embodiments, when the secure computer switches to the two-by-two-take-two architecture, the two computing units in the first board and the two computing units in the second board process the input data, including:
[0054] When the security computer switches to the two-by-two-take-two architecture, the first computing unit in the motherboard card determines a first processing result of the input data by the first computing unit, and after receiving a second processing result of the input data by the second computing unit in the motherboard card, determines whether the first processing result is the same as the second processing result, and if so, outputs the first processing result or the second processing result to a motherboard connector connected to the first computing unit;
[0055] The mainboard card is the first board or the second board; the first computing unit and the second computing unit in the mainboard card are two computing units in the mainboard card that process input data when the security computer switches to a two-by-two-take-two architecture.
[0056] In the two-by-two-take-two architecture, the computing unit in the mainboard card not only determines its own processing results on the input data, but also receives the processing results of the input data from another computing unit in the mainboard card and compares the two processing results. Only when the two processing results are the same, will the same processing result be input to the motherboard connector as input for subsequent related devices.
[0057] In this embodiment, the calculation unit itself compares the two processing results to achieve "two out of two", avoiding the defect that it is difficult to find a fault with a single processing result, improving the correctness of the output result of processing the input data, and helping to improve the stability of the system.
[0058] Furthermore, based on the above embodiments, it also includes:
[0059] When the security computer switches to the two-by-two-take-two architecture, the third computing unit in the standby board determines a third processing result of the input data by the third computing unit, and after receiving a fourth processing result of the input data by the fourth computing unit in the standby board, determines whether the third processing result is the same as the fourth processing result, and if so, stores the third processing result or the fourth processing result;
[0060] When it is detected that the standby board is upgraded to the main board and the main board is downgraded to the standby board, the third processing result or the fourth processing result is output to a motherboard connector connected to the third computing unit;
[0061] Wherein, when the standby board is the first board, the main board is the second board; when the standby board is the second board, the main board is the first board.
[0062] In the "two by two take two" architecture, although the standby board does not need to output the processing results of the input data to the motherboard connector, the standby board needs to process the input data and determine whether the processing results of the two computing units in the standby board are the same. In this way, when the main board fails, after the standby board is upgraded to the main board, the upgraded standby board does not need to reprocess the input data and can output the processing results of the input data in a timely manner, thereby improving the processing efficiency of the secure computer platform.
[0063] In this embodiment, the standby board also processes the processed data while the main board is processing the input data, but the standby board does not need to output the processing result of the input data to the motherboard connector. The standby board and the main board process the input data synchronously, so that after the standby board is upgraded to the main board, the processing result of the input data can be output in time, thereby improving the processing efficiency of the input data.
[0064] Further, based on the above embodiments, the determining whether the first processing result is the same as the second processing result further includes:
[0065] If the first processing result is different from the second processing result, the current standby board is upgraded to the main board, the current main board is downgraded to the standby board, and a first prompt message is issued; the first prompt message is used to prompt that the processing results of the two computing units in the main board that process the input data are inconsistent under the two-by-two-take-two architecture
[0066] In the "two times two take two" architecture, when the two computing units in the mainboard have inconsistent processing results for the input data, the main and standby boards are switched and a prompt message is issued. The switching of the main and standby boards ensures that the normal operation of the security computer is not affected by the mainboard failure, and a prompt message is issued to inform the staff so that the faulty mainboard can be promptly troubleshooted.
[0067] In this embodiment, when the first processing result is different from the second processing result, the main and standby boards are switched in time, and a first prompt message is issued to avoid the influence of the main board failure on the security computer, thereby ensuring the stability of the system. At the same time, the first prompt message can prompt the staff to check the main board failure in time.
[0068] Further, based on the above embodiments, the determining whether the third processing result is the same as the fourth processing result includes:
[0069] If the third processing result is different from the fourth processing result, a second prompt message is issued; the second prompt message is used to prompt that the processing results of the two computing units in the standby board that process the input data are inconsistent under the two-by-two-take-two architecture.
[0070] In the "two times two take two" architecture, when the output results of the two computing units in the standby board are inconsistent, a second prompt message is issued so that the standby board can be promptly troubleshooted and prepared for the switchover of the main and standby boards.
[0071] The three-out-of-two architecture is introduced as follows:
[0072] Further, based on the above embodiments, when the secure computer switches to the three-out-of-two architecture, the three computing units in the first board process the input data, including:
[0073] When the secure computer switches to the three-out-of-two architecture, the fifth computing unit in the first board determines a fifth processing result of the input data by the fifth computing unit, and receives a sixth processing result of the input data by the sixth computing unit, and a seventh processing result of the input data by the seventh computing unit;
[0074] Determine whether there are at least two identical processing results among the fifth processing result, the sixth processing result and the seventh processing result, and if so, output the identical processing results to a motherboard connector connected to the fifth computing unit;
[0075] The fifth computing unit, the sixth computing unit and the seventh computing unit are three computing units in the first board.
[0076] In the "three-out-of-two architecture", the three computing units are interconnected in pairs, and each computing unit can receive the processing results of the other two computing units on the input data, so as to compare the processing results of the three computing units and determine the correct output under the "three-out-of-two architecture". When the fifth processing result, the sixth processing result and the seventh processing result are all the same, or two of the processing results are the same, the same processing result can be used as the result of the "three-out-of-two architecture" output to the motherboard connector.
[0077] In this embodiment, by comparing the processing results of the three computing units in the three-out-of-two architecture, the correctness of the output results is guaranteed and the system stability is improved.
[0078] Further, based on the above embodiments, the determining whether there are at least two identical processing results among the fifth processing result, the sixth processing result and the seventh processing result further includes:
[0079] If the fifth processing result, the sixth processing result and the seventh processing result are all different, a third prompt message is issued; the third prompt message is used to prompt that the processing results of the three computing units that process the input data are all inconsistent under the three-out-of-two architecture.
[0080] In the "three out of two" architecture, when the output results of the three computing units are inconsistent, a third prompt message is issued so that the first board can be troubleshooted in time and the normal working state of the security computer platform can be restored as soon as possible.
[0081] In this embodiment, the third prompt message promptly reminds the staff that the output results of the three current computing units are inconsistent, so that the first board can be troubleshooted in time, the normal working state of the security computer platform can be restored as soon as possible, and the system stability can be ensured.
[0082] like Figure 2As shown in the figure, there is no direct coupling channel between the three computing units (i.e., CPU1, CPU2, and CPU3), and a dedicated communication channel is designed between the three computing units for data exchange between the three computing units, thereby completing functions such as synchronization and voting. At the same time, the external interface also needs to be independently designed on the external connector of the board as the external information transmission path of the three computing units.
[0083] When the host is used in a three-out-of-two architecture, the three computing units are put into use at the same time, information is exchanged with each other, synchronization is completed, the calculation results are compared, the correctness is judged according to the three-out-of-two logic, and then external information input and output are completed to ensure the functional security of the output information.
[0084] When the host is used in a two-by-two-take-two architecture, only two computing units (CPU1 and CPU2) are used at the same time, information is exchanged, synchronization is completed, comparison operations are performed, and correctness is determined according to the two-by-two logic, and then external information input and output are completed to ensure the functional security of the output information. Although the third computing unit (CPU3) also exists, it does not participate in the logical calculation.
[0085] The compatible design of the external interface is also the key to the feasibility of this solution. After this design, the host can be compatible with both the three-out-of-two platform and the two-by-two-out-of-two platform, making the host seamlessly compatible with different platforms and interchangeable.
[0086] This implementation provides a secure computer platform that can be used on both a three-out-of-two platform and a two-by-two-out-of-two platform, allowing the host to be applied to different platforms without the need for separate design and improvement, thereby achieving seamless compatibility and interchangeable use of different platforms.
[0087] This embodiment provides a vehicle-mounted device, including any of the above-mentioned secure computer platforms compatible with two-by-two-out-of-two and three-out-of-two.
[0088] An embodiment of the present invention provides a vehicle-mounted device, which includes a secure computer platform compatible with 2x2-out-of-2 and 3x2-out-of-2, and the secure computer platform includes a first board and a second board, wherein the first board is provided with three computing units, and the second board is provided with at least two computing units. When the secure computer switches to a 2x2-out-of-2 architecture, the two computing units in the first board and the two computing units in the second board process the input data; when the secure computer switches to a 3x2-out-of-2 architecture, the three computing units in the first board process the input data. The 2x2-out-of-2 architecture and the 3x2-out-of-2 architecture can switch between each other to achieve seamless compatible use.
[0089] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A secure computer platform compatible with 2x2-out-of-2 and 3x2-out-of-2, characterized in that: The system comprises a first board and a second board, wherein the first board is provided with three computing units, and the second board is provided with at least two computing units; When the secure computer switches to a two-by-two-take-two architecture, the input data is processed by two computing units in the first board and two computing units in the second board; When the secure computer switches to the three-out-of-two architecture, the three computing units in the first board process the input data.
2. The secure computer platform compatible with two-by-two and two-out-of-three according to claim 1, characterized in that: Any two computing units in each board are connected to each other, and each computing unit is connected to the motherboard connector; The motherboard connector is used to receive the processing result of the input data output by the computing unit, and input the received processing result as the output of the secure computer platform.
3. The secure computer platform compatible with two-by-two and two-out-of-three according to claim 2, characterized in that: Also includes a toggle switch; The switch is used to send first identification information to each computing unit in the first board and the second board when the security computer switches to the two-by-two-take-two architecture, The switch is used to send second identification information to each computing unit in the first board and the second board when the security computer switches to a two-out-of-three architecture.
4. The secure computer platform compatible with two-by-two and two-out-of-three according to claim 1, characterized in that: When the secure computer switches to the two-by-two-take-two architecture, the two computing units in the first board and the two computing units in the second board process the input data, including: When the security computer switches to the two-by-two-take-two architecture, the first computing unit in the motherboard card determines a first processing result of the input data by the first computing unit, and after receiving a second processing result of the input data by the second computing unit in the motherboard card, determines whether the first processing result is the same as the second processing result, and if so, outputs the first processing result or the second processing result to a motherboard connector connected to the first computing unit; The mainboard card is the first board or the second board; the first computing unit and the second computing unit in the mainboard card are two computing units in the mainboard card that process input data when the security computer switches to a two-by-two-take-two architecture.
5. The secure computer platform compatible with two-by-two and two-out-of-three as claimed in claim 4, characterized in that: Also includes: When the security computer switches to the two-by-two-take-two architecture, the third computing unit in the standby board determines a third processing result of the input data by the third computing unit, and after receiving a fourth processing result of the input data by the fourth computing unit in the standby board, determines whether the third processing result is the same as the fourth processing result, and if so, stores the third processing result or the fourth processing result; When it is detected that the standby board is upgraded to the main board and the main board is downgraded to the standby board, the third processing result or the fourth processing result is output to a motherboard connector connected to the third computing unit; Wherein, when the standby board is the first board, the main board is the second board; when the standby board is the second board, the main board is the first board.
6. The secure computer platform compatible with two-by-two and two-out-of-three according to claim 4, characterized in that: The determining whether the first processing result is the same as the second processing result further includes: If the first processing result is different from the second processing result, the current spare board is upgraded to the main board, the current main board is downgraded to the spare board, and a first prompt message is issued; the first prompt message is used to prompt that under the current two-by-two-take-two architecture, the processing results of the two computing units in the main board that process the input data are inconsistent.
7. The secure computer platform compatible with two-by-two and two-out-of-three according to claim 5, characterized in that: The determining whether the third processing result is the same as the fourth processing result includes: If the third processing result is different from the fourth processing result, a second prompt message is issued; the second prompt message is used to prompt that the processing results of the two computing units in the standby board that process the input data are inconsistent under the two-by-two-take-two architecture.
8. The secure computer platform compatible with two-by-two and two-out-of-three according to claim 1, characterized in that: When the secure computer switches to the three-out-of-two architecture, the three computing units in the first board process the input data, including: When the secure computer switches to the three-out-of-two architecture, the fifth computing unit in the first board determines a fifth processing result of the input data by the fifth computing unit, and receives a sixth processing result of the input data by the sixth computing unit, and a seventh processing result of the input data by the seventh computing unit; Determine whether there are at least two identical processing results among the fifth processing result, the sixth processing result and the seventh processing result, and if so, output the identical processing results to a motherboard connector connected to the fifth computing unit; The fifth computing unit, the sixth computing unit and the seventh computing unit are three computing units in the first board.
9. The secure computer platform compatible with two-by-two and two-out-of-three as claimed in claim 8, characterized in that: The determining whether there are at least two identical processing results among the fifth processing result, the sixth processing result and the seventh processing result further includes: If the fifth processing result, the sixth processing result and the seventh processing result are all different, a third prompt message is issued; the third prompt message is used to prompt that the processing results of the three computing units that process the input data are all inconsistent under the three-out-of-two architecture.
10. A vehicle-mounted device, characterized in that: A secure computer platform compatible with two-by-two-out-of-two and three-out-of-two as described in any one of claims 1-9.
