A terminal device (100-1, 100-2, 100-3; 100-6,..., 100-10; 1000-1,..., 1000-9; 2000-1,..., 2000-7; 3000-1,..., 3000-4), comprising: an input unit configured to receive commands; a communication unit configured to transmit and receive information; and a controller configured to: recognize a received command; determine state information of the terminal device (100-1, 100-2, 100-3; 100-6,..., 100-10; 1000-1,..., 1000-9; 2000-1,..., 2000-7; 3000-1,..., 3000-4) including information for determining a priority for the recognized command and a command set related to the recognized command, wherein the command set includes a plurality of subcommands associated with the recognized command; control the communication unit to broadcast the determined state information; control the communication unit to receive state information of at least one other terminal device (100-1, 100-2, 100-3; 100-6,..., 100-10; 1000-1,..., 1000-9; 2000-1,..., 2000-7; 3000-1,..., 3000-4); compare the determined state information to the received state information; determine a priority of the terminal device (100-1, 100-2, 100-3; 100-6,..., 100-10; 1000-1,..., 1000-9; 2000-1,..., 2000-7; 3000-1,..., 3000-4) with regard to the recognized command based on a result of the comparison execute the recognized command if the determined priority is higher than a determined priority of the at least one other terminal device with regard to the recognized command; and execute a subcommand of the command set based on a priority of each subcommand included in the command set if the determined priority is not higher than the determined priority of the at least one other terminal device with regard to the recognized command. an input unit configured to receive commands; a communication unit configured to transmit and receive information; and a controller configured to: recognize a received command; determine state information of the terminal device (100-1, 100-2, 100-3; 100-6,..., 100-10; 1000-1,..., 1000-9; 2000-1,..., 2000-7; 3000-1,..., 3000-4) including information for determining a priority for the recognized command and a command set related to the recognized command, wherein the command set includes a plurality of subcommands associated with the recognized command; control the communication unit to broadcast the determined state information; control the communication unit to receive state information of at least one other terminal device (100-1, 100-2, 100-3; 100-6,..., 100-10; 1000-1,..., 1000-9; 2000-1,..., 2000-7; 3000-1,..., 3000-4); compare the determined state information to the received state information; determine a priority of the terminal device (100-1, 100-2, 100-3; 100-6,..., 100-10; 1000-1,..., 1000-9; 2000-1,..., 2000-7; 3000-1,..., 3000-4) with regard to the recognized command based on a result of the comparison execute the recognized command if the determined priority is higher than a determined priority of the at least one other terminal device with regard to the recognized command; and execute a subcommand of the command set based on a priority of each subcommand included in the command set if the determined priority is not higher than the determined priority of the at least one other terminal device with regard to the recognized command. recognize a received command; determine state information of the terminal device (100-1, 100-2, 100-3; 100-6,..., 100-10; 1000-1,..., 1000-9; 2000-1,..., 2000-7; 3000-1,..., 3000-4) including information for determining a priority for the recognized command and a command set related to the recognized command, wherein the command set includes a plurality of subcommands associated with the recognized command; control the communication unit to broadcast the determined state information; control the communication unit to receive state information of at least one other terminal device (100-1, 100-2, 100-3; 100-6,..., 100-10; 1000-1,..., 1000-9; 2000-1,..., 2000-7; 3000-1,..., 3000-4); compare the determined state information to the received state information; determine a priority of the terminal device (100-1, 100-2, 100-3; 100-6,..., 100-10; 1000-1,..., 1000-9; 2000-1,..., 2000-7; 3000-1,..., 3000-4) with regard to the recognized command based on a result of the comparison execute the recognized command if the determined priority is higher than a determined priority of the at least one other terminal device with regard to the recognized command; and execute a subcommand of the command set based on a priority of each subcommand included in the command set if the determined priority is not higher than the determined priority of the at least one other terminal device with regard to the recognized command.