Patent ID: 11904918
Assignee: BYD COMPANY LIMITED
Field: Computer technology (Electrical engineering)
Classification: CPC B  G | IPC B  G

Claim 9:
10. A switching control method for a computer interlocking system having a first sub-system and a second sub-system that are mutually redundant and that have a same structure and function, wherein the first sub-system and the second sub-system form a double 2-vote-2 architecture, respectively comprising a main control layer, a network layer, and a communication and execution layer, the method comprising:
determining, by the communication and execution layer in the first sub-system, first sub-data acquired by a first CPU and second sub-data acquired by a second CPU;
performing, by the communication and execution layer in the first sub-system, 2-out-of-2 comparison on the first sub-data and the second sub-data, to determine whether the communication and execution layer in the first sub-system meets an active/standby switching condition; and
controlling, when it is determined that the communication and execution layer in the first sub-system meets the active/standby switching condition, the communication and execution layer in the first sub-system to perform an active/standby switching operation,
wherein the method further comprises:
acquiring, by the communication and execution layer in the first sub-system through a communication interface connected to a communication and execution layer in a second sub-system, second data determined by the communication and execution layer in the second sub-system, wherein
the controlling, when it is determined that the communication and execution layer in the first sub-system meets the active/standby switching condition, the communication and execution layer in the first sub-system to perform an active/standby switching operation comprises:
controlling, when it is determined that the first sub-data is consistent with the second sub-data and the second data is fault processing data, the communication and execution layer in the first sub-system to be switched to be active; or
controlling, when it is determined that the first sub-data is inconsistent with the second sub-data and the second data is non-fault processing data, the communication and execution layer in the first sub-system to be switched to be standby.