摘要 |
Provided are a method for transmitting and receiving data and a device for transmitting and receiving data, which enable a notice of reception of corresponding data to be output when a plurality of pieces of data are received from an external device. An embodiment of the present invention discloses a method for transmitting and receiving data in a device for transmitting and receiving data to and from one or more external devices, the method comprising the steps of: receiving, by a communication unit, one or more pieces of data from some of the one or more external devices; measuring, by a control unit, an interval between times at which some pieces of data among the one or more pieces of data have been received; and outputting, by the control unit, a notice of reception of the some pieces of data a number of times smaller than the number of the some pieces of data when the interval between the times is shorter than a first reference period. The step of outputting comprises a step of distinguishing the first case in which the some pieces of data are categorized as a first category and the second case in which the some pieces of data are categorized as a second category, so as to determine the first reference period to be periods having different durations in the first and second cases, respectively. |