Automatic switching method and system for display interface styles of set top box

The invention discloses an automatic switching method and system for display interface styles of a set top box. Different remote controllers have different remote controller type codes, and the one-to-one corresponding mapping relation is formed between the different remote controller type codes and the display interface styles of the set top box. After the set top box receives a control signal sent by one remote controller, the corresponding remote controller type code is demodulated and extracted from the control signal, and is compared with a remote controller type code corresponding to the current display interface of the set top box. If the remote controller type codes are not the same, a corresponding display interface style of the set top box is read from an interface style storage according to the corresponding mapping relation between the remote controller type codes and the display interface styles of the set top box, and is automatically switched. Compared with a traditional switching method, operation is easy, the system can conduct automatic identification, the process of human-computer interaction is simplified, and user experience is improved; meanwhile, the memory space for reserving an interface switching button in the system is eliminated, the memory space is saved, and favorable conditions can be created for adding other applications on the set top box.