1. A method for generating an integrated user interface (UI) by a terminal, the method comprising: receiving, by the terminal, first information on a first application UI including at least one UI element of the first application UI from a first device; receiving, by the terminal, second information on a second application UI including at least one UI element of the second application UI from a second device; determining, by the terminal, whether the first application UI and the second application UI are connectable as an integrated UI based on a predefined connectivity relation list that correlates UI identifiers (IDs) of UIs that are connectable, the predefined connectivity relation list comprising at least one of an application UI ID and a connectable application UI ID corresponding to the application UI ID; selecting, if the first application UI and the second application UI are connectable based on the result of the determination, a first UI element from the at least one UI element of the first application UI and a second UI element from the at least one UI element of the second application UI based on the predefined connectivity relation list; generating, by the terminal, the integrated UI using the selected first UI element and the selected second UI element; displaying, by the terminal, the generated integrated UI; if data related to the second device is received from the first device, transmitting, by the terminal, the data to the second device using the integrated UI; and transmitting, by the terminal, a signal to control at least one of the first device and the second device using the integrated UI, wherein the first UI element is correlated with the second application UI and the second UI element is correlated with the first application UI.