The switching between master/backup main control boards is quickly completed when the main control board of the embedded system fails, and services can be reliably and timely recovered.
The invention discloses a main control board, which comprises a master/backup selection module and a master/backup switching management module. The master/backup selection module is used for acquiring states of the belonged main control board and another main control board in an embedded system, and determining that the belonged main control board is a master main control board or a backup main control board and whether master/backup switching is needed by comparing the priority level of the acquired states of the two main control boards when the state of the belonged main control board and/or the another main control board changes. The master/backup switching management module is used for finishing the operation of switching from the master main control board to the backup main control board or from the backup main control board to the master main control board when the master/backup selection module determines that the master/backup switching is needed. The invention also provides an embedded system which comprises the two main control boards and at least one expansion module, and a backup method for the embedded system. The switching between master/backup main control boards is quickly completed when the main control board of the embedded system fails. Therefore, services can be reliably and timely recovered.