A mobile terminal for determining whether to execute a task of an electronic device in the electronic device or in the mobile terminal, the mobile terminal comprising: a communication interface configured to receive first state information associated with the electronic device from the electronic device; and a processor configured to: identify the first state information associated with the electronic device and second state information associated with the mobile terminal, wherein the first state information includes information indicating the state of the electronic device with respect to a plurality of comparison items and the second state information includes information indicating the state of the mobile terminal with respect to the plurality of comparison items; identify whether a user-defined policy is predetermined, wherein the user-defined policy indicates which comparison item among the plurality of comparison items is considered first; if the user-defined policy is predetermined, determine whether to execute a specific task in the electronic device or the mobile terminal by considering the user-defined policy based on the first state information and the second state information; if the user-defined policy is not predetermined, determine whether to execute the specific task in the electronic device or the mobile terminal by considering a network state-based policy; and indicate a result of the determination to the electronic device through the communication interface, wherein the network state-based policy is determined by using a weight assigned to the electronic device or the mobile terminal, the weight being assigned based on at least one of the number of electronic devices connected to the mobile terminal or a distance between each connected electronic device and the mobile terminal. a communication interface configured to receive first state information associated with the electronic device from the electronic device; and a processor configured to: identify the first state information associated with the electronic device and second state information associated with the mobile terminal, wherein the first state information includes information indicating the state of the electronic device with respect to a plurality of comparison items and the second state information includes information indicating the state of the mobile terminal with respect to the plurality of comparison items; identify whether a user-defined policy is predetermined, wherein the user-defined policy indicates which comparison item among the plurality of comparison items is considered first; if the user-defined policy is predetermined, determine whether to execute a specific task in the electronic device or the mobile terminal by considering the user-defined policy based on the first state information and the second state information; if the user-defined policy is not predetermined, determine whether to execute the specific task in the electronic device or the mobile terminal by considering a network state-based policy; and indicate a result of the determination to the electronic device through the communication interface, identify the first state information associated with the electronic device and second state information associated with the mobile terminal, wherein the first state information includes information indicating the state of the electronic device with respect to a plurality of comparison items and the second state information includes information indicating the state of the mobile terminal with respect to the plurality of comparison items; identify whether a user-defined policy is predetermined, wherein the user-defined policy indicates which comparison item among the plurality of comparison items is considered first; if the user-defined policy is predetermined, determine whether to execute a specific task in the electronic device or the mobile terminal by considering the user-defined policy based on the first state information and the second state information; if the user-defined policy is not predetermined, determine whether to execute the specific task in the electronic device or the mobile terminal by considering a network state-based policy; and indicate a result of the determination to the electronic device through the communication interface, wherein the network state-based policy is determined by using a weight assigned to the electronic device or the mobile terminal, the weight being assigned based on at least one of the number of electronic devices connected to the mobile terminal or a distance between each connected electronic device and the mobile terminal.