CPC G06F 16/532 (2019.01) [G06F 16/5846 (2019.01); G06F 16/5854 (2019.01); G06F 16/90332 (2019.01); G06F 16/951 (2019.01); G06F 16/9537 (2019.01); G06N 3/042 (2023.01); G06N 3/045 (2023.01); G06N 5/022 (2013.01); G06V 20/20 (2022.01); H04L 67/535 (2022.05); G06Q 30/0625 (2013.01)] | 14 Claims |
1. An electronic device comprising:
a camera;
a memory comprising at least one instruction; and
a processor configured to be connected to the memory to control the electronic device,
wherein the processor, by executing the at least one instruction, is configured to:
obtain an image based on an interaction of a user on the electronic device through the camera and analyze the image to acquire information of an object in the image by using an artificial intelligence algorithm;
obtain intent information of the user based on the acquired information of the object and context information during the interaction; and
obtain information related to the object from a knowledge base stored in the memory based on the intent information of the user and provide the information related to the object to the user,
wherein the memory stores a device mapping table in which pieces of first intent information are mapped to a plurality of electronic devices, and an object mapping table in which pieces of second intent information are mapped to a plurality of objects,
wherein the processor is further configured to:
based on a first activity of the user being performed on a first electronic device among the plurality of electronic devices, obtain at least one piece of first intent information corresponding to the first electronic device among the pieces of first intent information from the device mapping table, and obtain at least one piece of second intent information corresponding to a first object of the plurality of objects among the pieces of second intent information from the object mapping table,
determine common intent information among the at least one piece of first intent information corresponding to the first electronic device and the at least one piece of second intent information corresponding to the first object, and
generate the knowledge base based on device information on the first electronic device, object information on the first object, and the determined common intent information,
wherein the knowledge base comprises a plurality of pieces of device information on the plurality of electronic devices on which activities of the user are performed, a plurality of pieces of object information on the plurality of objects obtained based on the activities, and a plurality of pieces of intent information corresponding to the plurality of electronic devices and the plurality of objects,
wherein the plurality of pieces of intent information comprise first common intent information between the first electronic device of the plurality of electronic devices and the first object of the plurality of objects, and second common intent information between the first object of the plurality of objects and a second object of the plurality of objects,
wherein the processor is further configured to obtain the information related to the object based on at least one of the first common intent information and the second common intent information from the knowledge base,
wherein the processor is further configured to:
based on a second activity of the user being performed on a second electronic device different from the first electronic device among the plurality of electronic devices, newly obtain information including third common intent information between the second electronic device and the first object based on the device mapping table and the object mapping table, and
update the knowledge base based on the newly obtained information.
|