5. An apparatus for generating a task-based user interface (UI), the apparatus comprising: a task ontology unit configured to maintain task information with respect to the task; a device ontology unit configured to maintain device information with respect to a device; a UI description generator configured to read at least one of the task information and the device information using the task ontology unit or the device ontology unit, respectively, generate UI description information from at least one of the read task information and the read device information, the UI description information being made by a task-based language, and analyze similarity between the devices based on at least one of task semantic information and device semantic information to automatically map the at least one of the task semantic information and the device semantic information; and a UI description parser configured to parse the UI description information to output the task-based UI, wherein at least one of the task ontology unit, the device ontology unit, the UI description generator and the UI description parser is implemented by a processor of the apparatus, and wherein the task-based language includes a device description section configured to describe a relationship with the device, an internal state of the device, and a variable for controlling a function of the device, a task description section configured to describe the task information being the processor configured to provide services to a user, and an interface description section configured to describe the task-based UI corresponding to the device information and the task information.
6. The apparatus of claim 5 , wherein the UI description generator performs a mapping process with respect to the task semantic information being analyzed using the task information, and with respect to the device semantic information being analyzed using the device information, respectively.