A method carried out by a second node in a wireless communication system including a first node and the second node, the method comprising: receiving (510, 1611, 1621, 1711, 1705, 1811, 1911), from the first node, first discovery information including awareness information for requesting a registration of the first node, hop information indicating a hop limit corresponding to a number of available relays of the first discovery information, and indication information indicating whether to allow a relay of the first discovery information to other neighbor nodes; displaying (520, 1612, 1622) a first user interface, UI, for determining whether to register the first node according to the awareness information; in response to detecting a first user input for registering the first node on the first UI, transmitting (530, 1614, 1624), to the first node, a response message for indicating that the second node registers the first node; determining (1615, 1625, 1713, 1715) whether the indication information indicates allowance of the relay; if the indication information indicates the allowance of the relay, displaying (1540, 1616, 1626 1714, 2024) a second UI for determining whether to transmit the first discovery information to a third node neighboring the second node; in response to detecting a second user input (1616, 1714) for relaying the first discovery information as second discovery information on the displayed second UI and the hop limit being greater than or equal to one (1617, 1715), generating the second discovery information based on the first discovery information; broadcasting (550, 1619, 1717, 1817) the generated second discovery information to the third node; if the indication information does not indicate the allowance of the relay, discarding the received first discovery information. receiving (510, 1611, 1621, 1711, 1705, 1811, 1911), from the first node, first discovery information including awareness information for requesting a registration of the first node, hop information indicating a hop limit corresponding to a number of available relays of the first discovery information, and indication information indicating whether to allow a relay of the first discovery information to other neighbor nodes; displaying (520, 1612, 1622) a first user interface, UI, for determining whether to register the first node according to the awareness information; in response to detecting a first user input for registering the first node on the first UI, transmitting (530, 1614, 1624), to the first node, a response message for indicating that the second node registers the first node; determining (1615, 1625, 1713, 1715) whether the indication information indicates allowance of the relay; if the indication information indicates the allowance of the relay, displaying (1540, 1616, 1626 1714, 2024) a second UI for determining whether to transmit the first discovery information to a third node neighboring the second node; in response to detecting a second user input (1616, 1714) for relaying the first discovery information as second discovery information on the displayed second UI and the hop limit being greater than or equal to one (1617, 1715), generating the second discovery information based on the first discovery information; broadcasting (550, 1619, 1717, 1817) the generated second discovery information to the third node; if the indication information does not indicate the allowance of the relay, discarding the received first discovery information.