Electronic apparatus and controlling method thereof
An electronic apparatus including: a display; a sensor; a memory; and a processor configured to: obtain first distance information regarding a distance between a user of the electronic apparatus and the electronic apparatus through the sensor; identify a space in which the user is located from among a plurality of spaces predefined according to a distance from the electronic apparatus based on the first distance information; and control at least one of a resolution or a brightness of content displayed through the display based on control information corresponding to the identified space from among predetermined control information for each of the plurality of spaces.
1 . An electronic apparatus comprising:
a display;
a sensor;
a memory; and
a processor configured to:
obtain first distance information regarding a distance between a user of the electronic apparatus and the electronic apparatus located at a first location through the sensor;
identify a space in which the user is located from among three or more predefined spaces at the first location according to a distance from the electronic apparatus based on the first distance information; and
control at least one of a resolution or a brightness of content displayed through the display based on control information corresponding to the identified space from among predetermined control information for each of the three or more predefined spaces at the first location.
2 . The electronic apparatus as claimed in claim 1 , further comprising:
a communication circuit,
wherein the processor is further configured to:
receive a first signal from a user terminal of the user connected to the electronic apparatus through the communication circuit;
obtain second distance information regarding a distance between the user and the electronic apparatus based on a strength of the received first signal; and
identify the space in which the user is located from among the predefined spaces based on the first distance information and the second distance information.
3 . The electronic apparatus as claimed in claim 2 , further comprising:
a microphone,
wherein the processor is further configured to:
receive a user voice of the user through the microphone;
obtain third distance information regarding a distance between the user and the electronic apparatus based on a size of the received user voice;
identify the space in which the user is located from among the predefined spaces based on the first distance information, the second distance information and the third distance information,
determine that one of the first distance information, the second distance information, and third distance information is not detected, and
wherein when one of the first distance information, the second distance information, and third information is not detected, the space identification is determined based on a combination of the first distance information, the second distance information, and the third distance information that is detected.
4 . The electronic apparatus as claimed in claim 3 , further comprising:
a camera,
wherein the processor is further configured to:
obtain an image regarding a front of the electronic apparatus through the camera;
obtain fourth distance information regarding a distance between the user and the electronic apparatus based on whether an object corresponding to the user is included in the obtained image and a size of the object corresponding to the user; and
identify the space in which the user is located from among the predefined spaces based on the first distance information, the second distance information, the third distance information, and the fourth distance information.
5 . The electronic apparatus as claimed in claim 4 , wherein the sensor comprises an illuminance sensor, and
wherein the processor is further configured to:
obtain illuminance information regarding a surrounding of the electronic apparatus through the illuminance sensor;
obtain fifth distance information regarding a distance between the user and the electronic apparatus based on the illuminance information; and
identify the space in which the user is located from among the predefined spaces based on the first distance information, the second distance information, the third distance information, the fourth distance information, and the fifth distance information.
6 . The electronic apparatus as claimed in claim 5 , wherein the processor is further configured to:
receive information regarding a strength of a second signal transmitted by the user terminal from each of a plurality of external devices connected to the electronic apparatus through the communication circuit; and
identify the space in which the user is located from among the predefined spaces based on the information regarding the strength of the first signal and the information regarding the strength of the second signal received from each of the plurality of external devices.
7 . The electronic apparatus as claimed in claim 1 , wherein the control information comprises information regarding the resolution of the content and information regarding the brightness of the content, and
wherein the information regarding the resolution of the content is based on information regarding an optimal viewing distance according to a size and a resolution of the display.
8 . The electronic apparatus as claimed in claim 7 , wherein the processor is configured to:
receive operation information regarding a movement of the user from a remote control device for controlling a user terminal or the electronic apparatus through a communication circuit, the movement being determined by one of a gyroscope, an inertia sensor, an accelerometer and a motion sensor; and
control at least one of the resolution or the brightness of the content based on control information corresponding to the identified space or the operation information.
9 . The electronic apparatus as claimed in claim 1 , wherein the predefined spaces are defined based on information regarding a location of the user received for a predetermined time period or more from a user terminal of the user.
10 . The electronic apparatus as claimed in claim 1 , wherein the processor is configured to, based on identifying that the space in which the user is located is maintained in the identified space for a predetermined time period, control the display to change the at least one of the resolution or the brightness of content displayed through the display.
11 . The electronic apparatus of claim 1 , wherein the three or more predefined spaces are defined based on map information partitioning spaces.
12 . A method controlling of an electronic apparatus, the method comprising:
obtaining distance information regarding a distance between a user of the electronic apparatus and the electronic apparatus at a first location;
identifying a space in which the user is located from among three or more predefined spaces at the first location according to a distance from the electronic apparatus based on the distance information; and
controlling at least one of a resolution or a brightness of content displayed through a display of the electronic apparatus based on control information corresponding to the identified space from among predetermined control information for each of the predefined spaces at the first location.
13 . The method as claimed in claim 12 , further comprising:
obtaining first distance information regarding a distance between the user of the electronic apparatus and the electronic apparatus through a sensor of the electronic apparatus;
receiving a first signal from a user terminal of the user connected to the electronic apparatus; and
obtaining second distance information regarding a distance between the user and the electronic apparatus based on a strength of the received first signal,
wherein the identifying the space in which the user is located comprises identifying the space in which the user is located from among the predefined spaces based on the first distance information and the second distance information.
14 . The method as claimed in claim 13 , further comprising:
receiving a user voice of the user through a microphone of the electronic apparatus; and
obtaining third distance information regarding a distance between the user and the electronic apparatus based on a size of the received user voice,
wherein the identifying the space in which the user is located comprises identifying a space in which the user is located from predefined spaces based on the first distance information, the second distance information and the third distance information.
15 . The method as claimed in claim 14 , further comprising:
obtaining an image regarding a front of the electronic apparatus through a camera of the electronic apparatus; and
obtaining fourth distance information regarding a distance between the user and the electronic apparatus based on whether an object corresponding to the user is included in the obtained image and a size of the object corresponding to the user,
wherein the identifying the space in which the user is located comprises identifying the space in which the user is located from among of the predefined spaces based on the first distance information, the second distance information, the third distance information, and the fourth distance information.
16 . The method as claimed in claim 15 , further comprising:
obtaining illuminance information regarding a surrounding of the electronic apparatus through an illuminance sensor of the electronic apparatus; and
obtaining fifth distance information regarding a distance between the user and the electronic apparatus based on the illuminance information,
wherein the identifying the space in which the user is located comprises identifying the space in which the user is located from among the predefined spaces based on the first distance information, the second distance information, the third distance information, the fourth distance information, and the fifth distance information.