The invention discloses a double-control method and
system for a
set top box and a television based on star flash, and the method comprises the steps: enabling a star flash remote controller to serve as a
server to be connected and paired with a first adapter and a second adapter, enabling the first adapter and the second adapter to serve as clients to be connected to the
set top box and the television respectively, and generating a
pairing connection relation; based on the
pairing connection relationship, the second adapter obtains an information source state and a floating window state of the television through a preset protocol, and transmits state information to the remote controller to generate a
control mode judgment basis; based on a
control mode judgment basis, the remote controller adaptively determines that the current
control mode is a
set top box mode and / or a television mode, and sends key data or
voice data to the corresponding first adapter and / or second adapter through a star flash communication protocol, and the key data or
voice data is transmitted to the set top box and / or the television through the first adapter and / or the second adapter. And double control is realized. The user operation is simplified, and it is ensured that the user can directly control the currently moving device.