Patent ID: 10659948

Abstract:
The present specification may provide a method for performing data exchange by NAN terminal in a wireless communication system. In this instance, the method in which the NAN terminal performs data exchange may comprises the steps of: discovering a first service by a first NAN terminal using at least one of a publish message and a subscribe message; transmitting a data request message associated with the discovered first service to a second NAN terminal by the first NAN terminal; receiving a data response message from the second NAN terminal by the first NAN terminal; and performing data exchange relating to the first service with the second NAN terminal by the first NAN terminal. In this case, the data request message may be transmitted on the basis of a data request method called by the first NAN terminal, and service protocol type information and port number information, which are returned as a return value, may be included in the data request message and may be transmitted on the basis of the data request method.