Method for determining status of a computer device and detecting device behavior in response to a status request

   
   

A method and system allows a device driver to obtain the status of a device that may exhibit one of two distinct behaviors in responding to status requests that designate a plurality of event types associated with a device. Devices exhibiting the first behavior respond to the status requests by providing the status for the highest priority event type designated in the status request. Device exhibiting the second behavior respond to the status requests by providing the status for the highest priority event type that has undergone a status change. In one implementation, the device driver transmits a series of distinct status requests such that the status of all event types can be determined. In a related aspect of the invention, the device driver also analyzes the response message to determine if the device exhibits the second behavior type. When the second behavior type is detected, only a single type of status request is sent to obtain the status of all event types.

Метод и система позволяют водителю приспособления получить состояние приспособления может exhibit одно из 2 определенных поведений в отвечать к состоянию спрашивает обозначают множественность типов случая связанных с приспособлением. Приспособления exhibiting первое поведение отвечают к запросам состояния путем обеспечивать состояние для типа случая высокийа приоритет предназначенного в запросе состояния. Приспособление exhibiting второе поведение отвечает к запросам состояния путем обеспечивать состояние для типа случая высокийа приоритет проходил изменение состояния. В одну вставку, водитель приспособления передает серию определенных запросов состояния такие что состояние всех типов случая можно обусловить. В родственном аспекте вымысла, водитель приспособления также анализирует ответное сообщение для того чтобы обусловить если приспособление exhibits второй тип поведения. Когда второй тип поведения обнаружен, только одиночный тип запроса состояния послан для того чтобы получить состояние всех типов случая.

 
Web www.patentalert.com

< System and method for maintaining network system information

< In situ processing of remote procedure calls

> Using an expert proxy server as an agent for wireless devices

> Computer-implemented image acquisition system

~ 00159