Patent ID: 8649283

Claim:
A method executed by a packet analysis apparatus for analyzing packets including voice packets and non-voice packets, the method comprising: capturing packets in a specific session; storing the captured packets in a storage; screening the stored packets to count up a receipt count of voice packets in accordance with predefined characteristics of non-voice packets, wherein the non-voice packets are dual tone multiple frequency (DTMF) packets of a DTMF event, and the predefined characteristics of non-voice packets include at least one of a retransmission count of the DTMF event, a duration of each DTMF packet, and a transmission interval of the DTMF packets, the retransmission count representing how many times a terminal packet has been retransmitted, the terminal packet being a DTMF packet transmitted as a last packet of the DTMF event, the duration being represented by a time stamp since a start time of the DTMF event, the transmission interval being an interval of transmissions of packets; determining whether packet loss has occurred in the specific session; determining, by the packet analysis apparatus, by substantially eliminating an influence of the non-voice packets, whether loss packets are voice packets in accordance with received packets adjacent to the loss packets to count up a loss count of voice packets when the packet loss has occurred, determining whether the loss packets are succeeded by a retransmitted packet of the terminal packet or by DTMF packets including the retransmitted packet of the terminal packet; calculating a total count of packets from a lead packet to the terminal packet of the DTMF event including the retransmitted packet by dividing a duration included in the retransmitted packet by a transmission interval of the DTMF packets when the loss packets are succeeded by the retransmitted packet of the terminal packet or by DTMF packets including the retransmitted packet of the terminal packet; and determining whether the loss packets are voice packets or DTMF packets in accordance with an amount of DTMF packets succeeding the loss packets, the retransmission count of the terminal packet, and the total count of packets from the lead packet to the terminal packet of the DTMF event.