# US 2012/0250554 A1 · Method and system for identifying degradation of a media service

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2012/0250554 A1
- Document ID: US20120250554A1
- Status: Published application
- Kind: A1
- Application number: 13/492,105
- Filed: 2012-06-08
- Published: 2012-10-04
- Earliest claimed: 2004-11-19
- Assignees: Research In Motion Limited
- Inventors: Sherif ABDEL-KADER; Michael Chen
- Web page: https://patentgrep.com/patent/US20120250554A1

## CPC

- H04L 65/80: Responding to QoS
- H04L 65/1104: Session initiation protocol [SIP]
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method and device for identifying degradation in service quality for a wireless media service. The wireless media service has a known expected packet generation rate, which may be determined by the device based upon the codec and payload size selected on initiating the media service. At a receiving device, the packets actually received by the device from the other termination point are counted over a time period, and this number is compared with the number of packets that were expected based upon the known packet generation rate. From this comparison a packet loss rate may be determined. If the packet loss rate exceeds a threshold level, then the device may issue a user alert, terminate the service, or take other action. The threshold level may be established based upon a packet loss rate corresponding to a significant degree of service quality degradation.

## Claims

### Claim 1

A method of detecting degradation of a media service having an expected packet generation rate transmitted over a wireless communications system, the method performed by the wireless device and comprising:
counting a number of data packets received by the wireless device over a period of time;
calculating a packet loss rate from the differential between the counted number of data packets and the expected packet generation rate; and
if the packet loss rate exceeds a threshold, alerting a user or terminating the media service.

### Claim 2 (depends on 1)

The method claimed in claim 1, wherein alerting a user includes triggering output of a user alert signal if the packet loss rate exceeds the threshold.

### Claim 3 (depends on 2)

The method claimed in claim 2, wherein the user alert signal comprises a sensible signal selected from the list consisting of an auditory signal, a visual signal, and a kinetic signal.

### Claim 4 (depends on 1)

The method claimed in claim 1, wherein terminating the media service comprises sending a service termination message.

### Claim 5 (depends on 1)

The method claimed in claim 1, wherein the expected packet generation rate is based on factors used for the media service.

### Claim 6 (depends on 1)

The method claimed in claim 1, wherein the expected packet generation rate is based upon a codec and a payload size used for the media service.

### Claim 7 (depends on 6)

The method claimed in claim 6, wherein the media service is established over real-time transport protocol and wherein the media service employs a codec conforming to the G.711 standard for encoding audio media.

### Claim 8 (depends on 1)

The method claimed in claim 1, wherein calculating a packet loss rate includes calculating an expected number of packets from the period of time and the expected packet generation rate; and estimating a number of lost packets by comparing the counted number of data packets with the expected number of packets and calculating a packet loss rate therefrom.

### Claim 9 (depends on 8)

The method claimed in claim 8, wherein comparing comprises calculating the packet loss rate in accordance with the formula:
Number


of


expected


packets
-
Number


of


data


packets


received
Number


of


expected


packets

### Claim 10 (depends on 2)

The method claimed in claim 2, wherein the threshold comprises a packet loss rate between 10% and 20%.

### Claim 11 (depends on 1)

The method claimed in claim 1, wherein the threshold comprises a packet loss rate of about 30%.

### Claim 12 (depends on 1)

The method claimed in claim 1, wherein the threshold includes a first threshold and a second threshold and further comprising alerting a user if the packet loss rate is between the first threshold and the second threshold, and terminating the service if the packet loss rate exceeds the second threshold

### Claim 13

A wireless device configured to receive a media service having an expected packet generation rate over a wireless communications system, the wireless device comprising:
a communications subsystem configured to receive data packets from the wireless communications system;
a memory storing the expected packet generation rate;
a processor operably coupled to the memory and configured for controlling the communications subsystem; and
a packet loss module containing computer-executable instructions for configuring the processor to,
count a number of data packets received by the wireless device over a period of time;
calculate a packet loss rate from the differential between the counted number of data packets and the expected packet generation rate; and
if the packet loss rate exceeds a threshold, alert a user or terminate the media service.

### Claim 14 (depends on 13)

The device claimed in claim 13, wherein the packet loss module contains computer-executable instructions for configuring the processor to trigger output of a user alert signal to alert a user if the packet loss rate exceeds the threshold.

### Claim 15 (depends on 14)

The device claimed in claim 14, wherein the user alert signal comprises a sensible signal selected from the list consisting of an auditory signal, a visual signal, and a kinetic signal.

### Claim 16 (depends on 13)

The device claimed in claim 13, wherein the expected packet generation rate is based on factors used for the media service.

### Claim 17 (depends on 13)

The device claimed in claim 13, wherein the expected packet generation rate is based upon a codec and a payload size used for the media service.

### Claim 18 (depends on 17)

The device claimed in claim 17, wherein the media service is established over real-time transport protocol and wherein the media service employs a codec conforming to the G.711 standard for encoding audio media.

### Claim 19 (depends on 13)

The device claimed in claim 13, wherein the packet loss module contains computer-executable instructions for configuring the processor to calculate the packet loss rate by calculating an expected number of packets from the period of time and the expected packet generation rate; and estimating a number of lost packets by comparing the counted number of data packets with the expected number of packets and calculating a packet loss rate therefrom.

### Claim 20 (depends on 19)

The device claimed in claim 19, wherein the packet loss module contains computer-executable instructions for configuring the processor to calculate the packet loss rate in accordance with the formula:
Number


of


expected


packets
-
Number


of


data


packets


received
Number


of


expected


packets

### Claim 21 (depends on 14)

The device claimed in claim 14, wherein the threshold comprises a packet loss rate between 10% and 20%.

### Claim 22 (depends on 13)

The device claimed in claim 13, wherein the threshold comprises a packet loss rate of about 30%.

### Claim 23 (depends on 13)

The device claimed in claim 13, wherein the threshold includes a first threshold and a second threshold and wherein the packet loss module contains computer-executable instructions for configuring the processor to output a user alert signal if the packet loss rate is between the first threshold and the second threshold, and wherein the packet loss module contains computer-executable instructions for configuring the processor to terminate the media service if the packet loss rate exceeds the second threshold.

### Claim 24 (depends on 17)

The device claimed in claim 17, wherein the memory further includes a stored look-up table containing expected packet generation rates corresponding to various codecs and payload sizes and wherein the packet loss module contains computer-executable instructions for configuring the processor to read the look-up table.
