CROSS-REFERENCE TO RELATED APPLICATION(S)

This application is based on and claims priority under 35 U.S.C. § 119(a) of a Korean patent application number 10-2019-0020761, filed on Feb. 21, 2019, in the Korean Intellectual Property Office, the disclosure of which is incorporated by reference herein in its entirety.

BACKGROUND

1. Field

The disclosure relates to a method of managing multi tasks and an electronic device therefor.

2. Description of Related Art

With the development of the technologies associated with an electronic device, various smart devices are being widely used to satisfy the needs of users. Unlike an electronic device simply performing the specified operation in response to a user input, smart devices may analyze various types of user inputs and then may provide intelligent services based on the analyzed input.

As the example of a smart device, various robots have been studied. For example, a robot may operate as a home hub capable of controlling other smart devices, as a smart device. The robot includes various drive units for movement and may be configured to perform various operations using the drive units. For example, the robot may be configured to receive an input from a user, to analyze the input, and to perform the specified task.

The above information is presented as background information only to assist with an understanding of the disclosure. No determination has been made, and no assertion is made, as to whether any of the above might be applicable as prior art with regard to the disclosure.

SUMMARY

When an electronic device such as a robot is used in an environment such as a home, the electronic device may socially interact with a user. For example, the electronic device may be a social robot. In this case, In addition to routine tasks, the electronic device may perform various types of tasks to satisfy the needs of various users. To perform various types of tasks, the electronic device may support multi-modality.

Aspects of the disclosure are to address at least the above-mentioned problems and/or disadvantages and to provide at least the advantages described below. Accordingly, an aspect of the disclosure is to provide a method of managing multi tasks and an electronic device therefor.

Additional aspects will be set forth in part in the description which follows and, in part, will be apparent from the description, or may be learned by practice of the presented embodiments.

In accordance with an aspect of the disclosure, an electronic device is provided. The electronic device includes a housing, a user interface, a battery positioned inside the housing, a driving unit disposed at the housing or connected to the housing to move the housing, at least one sensor positioned at the housing or inside the housing, a wireless communication circuit positioned inside the housing, a processor operatively connected to the user interface, the driving unit, the at least one sensor, and the wireless communication circuit, and a memory operatively connected to the processor. The memory may store instructions that, when executed, cause the processor to receive a first request of a user for performing a first task, to receive a second request of the user for performing a second task different from the first task within a selected time and/or a place in a selected range after receiving the first request, to determine one sequence performed by connecting or merging the first task and the second task, based at least partly on at least one of a type, execution target, execution time, or execution location of the first task and at least one of a type, execution target, execution time, or execution location of the second task, and to perform the first task and the second task based at least partly on the sequence.

In accordance with another aspect of the disclosure, a method for performing a task of an electronic device is provided. The method includes receiving a first request associated with a first task and a second request associated with a second task different from the first task, determining one sequence performed by connecting or merging the first task and the second task, based on at least one of a type, execution target, execution time, or execution location of the first task and at least one of a type, execution target, execution time, or execution location of the second task, and performing the first task and the second task based at least partly on the sequence.

In accordance with another aspect of the disclosure, a system for performing a task is provided. The system includes a housing, a user interface, a battery positioned inside the housing, a driving unit disposed at the housing or connected to the housing to move the housing, at least one sensor positioned at the housing or inside the housing, at least one communication circuit, at least one processor operatively connected to the user interface, the driving unit, the sensor, and the communication circuit, and at least one memory operatively connected to the at least one processor. The memory may store instructions that, when executed, cause the at least one processor to receive a first request of a user for performing a first task, to receive a second request of the user for performing a second task different from the first task after receiving the first request, to determine one sequence performed by connecting or merging the first task and the second task, based at least partly on a type, execution target, execution time, and/or execution location of the first task or a type, execution target, execution time, and/or execution location of the second task, and to perform the first task and the second task based at least partly on the sequence.

Other aspects, advantages, and salient features of the disclosure will become apparent to those skilled in the art from the following detailed description, which, taken in conjunction with the annexed drawings, discloses various embodiments of the disclosure.

