A method comprising: recognizing, by an electronic device (101; 200; 300) comprising a sensor module configured to sense data, at least one external device (103, 105, 107; 202, 203, 204) communicating with the electronic device, each of said recognized devices and the electronic device being capable of providing a same type of data; determining whether a number of the at least one external device is greater than 1; when the number of the at least one external device is greater than 1, setting a priority of the electronic device and the at least one external device on the basis of at least one of a user's wearing state and authentication information corresponding to the at least one external device; determining as a data providing device (101; 200; 300) at least one device from a group including the electronic device and the at least one recognized external device (103, 105, 107; 202, 203, 204), said determination being performed on the basis of the set priority; and obtaining, by the electronic device (101; 200; 300), data for use by the electronic device through the at least one determined device (101; 200; 300; 103, 105, 107; 202, 203, 204), characterized by the method further comprising: while obtaining the data, obtaining situation information data of the at least one determined device (101; 200; 300; 103, 105, 107; 202, 203, 204); determining whether a wearing state of the at least one determined device (101; 200; 300; 103, 105, 107; 202, 203, 204) is changed according to the obtained situation information data; and when the wearing state of the at least one determined device (101; 200; 300; 103, 105, 107; 202, 203, 204) is changed, resetting the priority of the electronic device (101; 200; 300) and the at least one external device (103, 105, 107; 202, 203, 204), and wherein the wearing state comprises attachment-detachment information on the at least one external device (103, 105, 107; 202, 203, 204) for the user. recognizing, by an electronic device (101; 200; 300) comprising a sensor module configured to sense data, at least one external device (103, 105, 107; 202, 203, 204) communicating with the electronic device, each of said recognized devices and the electronic device being capable of providing a same type of data; determining whether a number of the at least one external device is greater than 1; when the number of the at least one external device is greater than 1, setting a priority of the electronic device and the at least one external device on the basis of at least one of a user's wearing state and authentication information corresponding to the at least one external device; determining as a data providing device (101; 200; 300) at least one device from a group including the electronic device and the at least one recognized external device (103, 105, 107; 202, 203, 204), said determination being performed on the basis of the set priority; and obtaining, by the electronic device (101; 200; 300), data for use by the electronic device through the at least one determined device (101; 200; 300; 103, 105, 107; 202, 203, 204), characterized by the method further comprising: while obtaining the data, obtaining situation information data of the at least one determined device (101; 200; 300; 103, 105, 107; 202, 203, 204); determining whether a wearing state of the at least one determined device (101; 200; 300; 103, 105, 107; 202, 203, 204) is changed according to the obtained situation information data; and when the wearing state of the at least one determined device (101; 200; 300; 103, 105, 107; 202, 203, 204) is changed, resetting the priority of the electronic device (101; 200; 300) and the at least one external device (103, 105, 107; 202, 203, 204), and while obtaining the data, obtaining situation information data of the at least one determined device (101; 200; 300; 103, 105, 107; 202, 203, 204); determining whether a wearing state of the at least one determined device (101; 200; 300; 103, 105, 107; 202, 203, 204) is changed according to the obtained situation information data; and when the wearing state of the at least one determined device (101; 200; 300; 103, 105, 107; 202, 203, 204) is changed, resetting the priority of the electronic device (101; 200; 300) and the at least one external device (103, 105, 107; 202, 203, 204), and wherein the wearing state comprises attachment-detachment information on the at least one external device (103, 105, 107; 202, 203, 204) for the user.