An electronic device comprising: a sensor that comprises a heat source , a pair of first temperature sensors horizontally spaced apart from each other at two opposing sides of the heat source, and a pair of second temperature sensors vertically spaced apart from the pair of first temperature sensors in a thickness direction of the electronic device; and at least one processor configured to: control the heat source to generate heat while the electronic device is in contact with a user, wherein the controlling of the heat source comprises controlling an on-time period and an off-time period of the heat source according to a predetermined cycle; and receive first temperature data measured by the pair of first temperature sensors and second temperature data measured by the pair of second temperature sensors for enabling estimation of a blood temperature difference between the two opposing sides of the heat source, based on the first temperature data and the second temperature data, and for enabling estimation of blood flow information of the user based on the blood temperature difference, wherein the first and second temperature data is measured during the off-time period of the heat source that follows the on-time period of the heat source. a sensor that comprises a heat source , a pair of first temperature sensors horizontally spaced apart from each other at two opposing sides of the heat source, and a pair of second temperature sensors vertically spaced apart from the pair of first temperature sensors in a thickness direction of the electronic device; and at least one processor configured to: control the heat source to generate heat while the electronic device is in contact with a user, wherein the controlling of the heat source comprises controlling an on-time period and an off-time period of the heat source according to a predetermined cycle; and receive first temperature data measured by the pair of first temperature sensors and second temperature data measured by the pair of second temperature sensors for enabling estimation of a blood temperature difference between the two opposing sides of the heat source, based on the first temperature data and the second temperature data, and for enabling estimation of blood flow information of the user based on the blood temperature difference, wherein the first and second temperature data is measured during the off-time period of the heat source that follows the on-time period of the heat source. control the heat source to generate heat while the electronic device is in contact with a user, wherein the controlling of the heat source comprises controlling an on-time period and an off-time period of the heat source according to a predetermined cycle; and receive first temperature data measured by the pair of first temperature sensors and second temperature data measured by the pair of second temperature sensors for enabling estimation of a blood temperature difference between the two opposing sides of the heat source, based on the first temperature data and the second temperature data, and for enabling estimation of blood flow information of the user based on the blood temperature difference, wherein the first and second temperature data is measured during the off-time period of the heat source that follows the on-time period of the heat source. <EOS>