Electronic device and method for configuring screen on basis of acquired information
At least one processor of an electronic device to: identify first information in memory, the first information including information about one or more objects included in each of a plurality of pieces of content, and information indicating the emotion type for each of the plurality of pieces of content; acquire second information indicating the illuminance of the external environment in which the electronic device is present; acquire third information about the location of a user; input the first information, the second information, and the third information to a first model to acquire fourth information including one or more pieces of content to be displayed on a display among the plurality of pieces of content, and one or more areas in which the one or more pieces of content are to be respectively arranged; and display the one or more pieces of content in the one or more areas, respectively.
1 . A method performed by an electronic device, the method comprising:
obtaining, via communication circuitry of the electronic device, a plurality of contents from an external electronic device,
based on obtaining the plurality of contents, identifying first information related to the plurality of contents, the first information including information indicating one or more objects included in each of a plurality of contents, information indicating an emotion type for each of the plurality of contents, and information indicating resolution for each of the plurality of contents and brightness for each of the plurality of contents,
obtaining, using an illuminance sensor, second information indicating illuminance of an external environment where the electronic device is located,
obtaining, using position identification circuitry of the electronic device, third information indicating a position of a user,
based on inputting the first information, the second information, and the third information to a first artificial intelligence (AI) model, determining at least one content to be displayed on a display of the electronic device among the plurality of contents and a layout for the at least one content including at least one area in which each of the at least one content is to be disposed, and
displaying the at least one content according to the determined layout.
2 . The method of claim 1 , wherein the method further comprises:
identifying that at least one of the second information and the third information is changed while the at least one content is displayed in the at least one area on the display, and
based on identifying that at least one of the second information and the third information is changed, changing the at least one content which is displayed to at least one other content among the plurality of contents.
3 . The method of claim 1 , wherein the method further comprises:
receiving the plurality of contents from the external electronic device connected to the electronic device, and
storing the received plurality of contents in memory of the electronic device.
4 . The method of claim 1 , wherein the method further comprises:
obtaining information indicating one or more objects included in each of the plurality of contents, by inputting a plurality of images to a second AI model distinct to the first AI model.
5 . The method of claim 4 , wherein the information indicating the one or more objects included in each of the plurality of contents includes information indicating a type of the one or more objects included in each of the plurality of contents and a number of the one or more objects included in each of the plurality of contents.
6 . The method of claim 4 , wherein the method further comprises:
obtaining the information indicating the emotion type for each of the plurality of contents, by inputting the plurality of images to a third AI model distinct to the first model and the second AI model.
7 . An electronic device comprising:
a display;
communication circuitry;
an illuminance sensor;
position identification circuitry for identifying a position of a user;
memory, including one or more storage media, storing instructions; and
at least one processor including processing circuitry,
wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to:
obtain, via the communication circuitry, a plurality of contents from an external electronic device,
based on obtaining the plurality of contents, identify first information related to the plurality of contents, the first information including information indicating one or more objects included in each of the plurality of contents, information indicating an emotion type for each of the plurality of contents, and information indicating resolution for each of the plurality of contents and brightness for each of the plurality of contents,
obtain, using the illuminance sensor, second information indicating illuminance of an external environment where the electronic device is located,
obtain, using the position identification circuitry, third information indicating the position of the user,
based on inputting the first information, the second information, and the third information to a first artificial intelligence (AI) model, determine at least one content to be displayed on the display among the plurality of contents and a layout for the at least one content including at least one area in which the at least one content is to be disposed, and
display, via the display, the at least one content according to the determined layout.
8 . The electronic device of claim 7 , wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to:
identify that at least one of the second information and the third information is changed while the at least one content is displayed in the at least one area on the display, and
based on identifying that at least one of the second information and the third information is changed, change the at least one content which is displayed to at least one other content among the plurality of contents.
9 . The electronic device of claim 7 , wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to:
receive the plurality of contents from the external electronic device connected to the electronic device, and
store the received plurality of contents in the memory.
10 . The electronic device of claim 7 , wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to:
obtain information indicating one or more objects included in each of the plurality of contents, by inputting a plurality of images to a second AI model distinct to the first AI model.
11 . The electronic device of claim 10 , wherein the information indicating the one or more objects included in each of the plurality of contents includes information indicating a type of the one or more objects included in each of the plurality of contents and a number of the one or more objects included in each of the plurality of contents.
12 . The electronic device of claim 10 , wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to:
obtain the information indicating the emotion type for each of the plurality of contents, by inputting the plurality of images to a third AI model distinct to the first AI model and the second AI model.
13 . The electronic device of claim 7 , wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to:
obtain fourth information indicating the at least one content and the layout by inputting, to the first AI model, fifth information indicating a size of the display and a size of at least one content displayed based on the size of the display, with the first information, the second information, and the third information.
14 . The electronic device of claim 7 , wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to:
receive, using the communication circuitry, at least one signal from an external device related to the user, and
based on the received at least one signal, obtain the third information including information indicating a distance between the electronic device and the user and information indicating a motion of the user.
15 . The electronic device of claim 7 , wherein
the position identification circuitry includes a radar sensor, and
the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to:
transmit at least one signal using the radar sensor,
receive, using the radar sensor, at least one reflection signal caused by the user, and
based on the at least one reflection signal, obtain the third information including information indicating a distance between the electronic device and the user and information indicating a motion of the user.
16 . The electronic device of claim 7 , wherein
the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to:
obtain the third information indicating azimuth of a location of the user relative to the electronic device, using the position identification circuitry,
a first area and a second area among the at least one area are divided based on the azimuth of the location of the user, and
a size of the first area, which is related to a direction formed based on the azimuth, is larger than a size of the second area.
17 . The electronic device of claim 7 , wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to:
train the first AI model by changing a plurality of parameters to reduce a number of the at least one area as a distance between the electronic device and the user increases.
18 . Non-transitory computer readable storage medium storing one or more programs, wherein the one or more programs which, when being executed by a processor of an electronic device with a display, communication circuitry, an illuminance sensor, and a position identification circuitry, include instructions causing the electronic device to:
obtain, via the communication circuitry, a plurality of contents from an external electronic device,
based on obtaining the plurality of contents, identify first information related to the plurality of contents, the first information including information indicating one or more objects included in each of the plurality of contents, information indicating an emotion type for each of the plurality of contents, and information indicating resolution for each of the plurality of contents and brightness for each of the plurality of contents,
obtain, using the illuminance sensor, second information indicating illuminance of an external environment where the electronic device is located,
obtain, using the position identification circuitry, third information on a position of a user,
based on inputting the first information, the second information, and the third information to a first artificial intelligence (AI) model, determine at least one content to be displayed on the display among the plurality of contents and a layout for the at least one content including at least one area in which each of the at least one content is to be disposed, and
display, via the display, the at least one content according to the determined layout.