Method and driver for detecting glitches
First Claim
Patent Images
1. A method of detecting glitches in an isochronous data transfer, comprising:
- a filter driver providing real-time access to USB command and packet data traffic between a host and predetermined client device;
determining, by the filter driver, if transferred data in a packet is silence data, wherein silence data comprises rendered data to keep the data transfer full of data when an interval has no audio data, the silence data forming an irregularity in the data transfer, and wherein the filter driver is configured between a USB bus driver and a USB client driver stack;
monitoring, by the filter driver, the transferred data packets, the monitoring including examining a status of each data packet transfer between the host and client device; and
reporting a silence fault for user notification when the transferred data is silence data, wherein the silence fault comprises information to determine a frame number of an expected start frame of a next packet to be sent, and wherein determining the frame number of the expected start frame of the next packet to be sent is calculated from a start frame of the silence data packet causing the silence fault and a number of frames in the silence data packet.
9 Assignments
0 Petitions
Accused Products
Abstract
A driver and methods therefore provide automated testing of USB client devices in real-time. The driver may use the layered driver or filter driver feature in Microsoft® Windows® Driver Model (WDM) layered architecture for the Microsoft Windows operating system. The driver may be inserted between the USB bus driver and the USB client driver stack. The driver may intercept, inspect, and modify the requests between the client drivers and the bus driver.
15 Citations
13 Claims
-
1. A method of detecting glitches in an isochronous data transfer, comprising:
-
a filter driver providing real-time access to USB command and packet data traffic between a host and predetermined client device; determining, by the filter driver, if transferred data in a packet is silence data, wherein silence data comprises rendered data to keep the data transfer full of data when an interval has no audio data, the silence data forming an irregularity in the data transfer, and wherein the filter driver is configured between a USB bus driver and a USB client driver stack; monitoring, by the filter driver, the transferred data packets, the monitoring including examining a status of each data packet transfer between the host and client device; and reporting a silence fault for user notification when the transferred data is silence data, wherein the silence fault comprises information to determine a frame number of an expected start frame of a next packet to be sent, and wherein determining the frame number of the expected start frame of the next packet to be sent is calculated from a start frame of the silence data packet causing the silence fault and a number of frames in the silence data packet. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A filter driver comprising:
-
a request dispatch module for, determining if a data transfer request corresponding to a packet is an isochronous data transfer request, determining if the data transfer request is being sent to a predetermined client device when the data transfer request is an isochronous data transfer request, and attaching a callback notification to the data transfer request when the data transfer request is being sent to the predetermined client device, wherein the callback notification is configured to inform a filter driver comprising request completion module that a completed data transfer request is to be processed by the request completion module, wherein the filter driver is configured between a USB bus driver and a USB client driver stack; and the request completion module for, determining a frame number of an expected start frame of the packet, determining if a data transfer request corresponding to the packet is a first data transfer request, and when the data transfer request is not a first data transfer request, determining a frame number of an actual start frame of the packet, and determining if the frame number of the actual start frame is equal to the frame number of the expected start frame, and reporting a stream fault when the frame number of the actual start frame is not equal to the frame number of the expected start frame, wherein the request completion module further for; determining if transferred data in the packet is silence data, wherein silence data keeps the data transfer full of data when an interval has no audio data; and reporting a silence fault for user notification when the transferred data is silence data, wherein the silence fault comprises information to determine a frame number of an expected start frame of a next packet to be sent, and wherein determining the frame number of the expected start frame of the next packet to be sent is calculated from a start frame of the silence data packet causing the silence fault and a number of frames in the silence data packet.
-
-
7. A filter driver comprising:
-
means for determining if transferred data in a packet is silence data, wherein silence data keeps the data transfer full of data when an interval has no audio data; and means for reporting a silence fault for user notification when the transferred data is silence data, wherein the silence fault comprises information to determine a frame number of an expected start frame of a next packet to be sent, and wherein determining the frame number of the expected start frame of the next packet to be sent is calculated from a start frame of the silence data packet causing the silence fault and a number of frames in the silence data packet. - View Dependent Claims (8)
-
-
9. A computer program product embodied on a tangible storage medium, the program comprising executable instructions that enable a computer to:
-
determine if transferred data in a packet is silence data, wherein silence data keeps the data transfer full of data when an interval has no audio data; and report a silence fault for user notification when the transferred data is silence data, wherein the silence fault comprises information to determine a frame number of an expected start frame of a next packet to be sent, and wherein determining the frame number of the expected start frame of the next packet to be sent is calculated from a start frame of the silence data packet causing the silence fault and a number of frames in the silence data packet. - View Dependent Claims (10, 11, 12, 13)
-
Specification