Method and system for identifying active devices on network
View Patent ↗Active devices on a network are identified by simultaneously issuing to a plurality of worker threads a request for information identifying the devices. The worker threads are capable of performing identical functions in response to the request for information. Based on device architecture information provided in response to the request for information, a plurality of customized scripts are identified and executed, which request additional information about the device.
1. A system, comprising:
a manager object executing a plurality of worker threads in parallel, a request queue, and a result queue;
a plurality of requests objects;
a computer configured to process the manger object and the plurality of request objects, the manger object configured to receive each of the plurality of request objects and to organize each of the request objects in the request queue;
a plurality of active devices on a network in communication with the computer, each of the plurality of request objects representative of the active devices and a request for an indication of a presences of the one of the active devices on the network;
the managed object further configured to distribute each of the plurality of request objects in the request queue to one or more of the plurality of worker threads,
each of the plurality of worker threads configured to process each of the plurality of request objects in the request queue, to perform at least identical discovery functions on the plurality of active devices in response to the request for an indication, and to send each of the plurality of request objects to the manger object,
the manager object further configured to receive a response for each of the plurality of request objects from the one or more of the plurality of worker threads after the response to the request for an indication has been received, and to organize in the result queue the response of each of the plurality of request objects; and
a storage device coupled to the computer, the storage device configured to store the response received for each of the plurality of the request objects.
2. A method, comprising:
communicating with a plurality of active devices on a network;
providing a manger object executing a plurality of worker threads in parallel, a request queue and a result queue;
receiving in the request queue a plurality of request objects, each of the plurality of request objects representative of one of the active devices and a request for an indication of a presence of the one of the active devices on the network;
distributing each of the plurality of request objects in the request queue to one or more of the plurality of worker threads, each of the plurality of worker threads configured to process each of the plurality of request objects in the request queue, to perform at least identical discovery functions on the plurality of active devices in response to the request for an indication, and to send each of the plurality of request objects to the manager object;
receiving a response for each of the plurality of request objects from the one or more of the plurality of worker threads after the response to the request for an indication has been received;
organizing in the result queue the response of each of the plurality of request objects; and
storing in a storage device the response received for each of the plurality of request objects.
3. A computer program product including a computer readable medium having stored thereon computer executable instruction that, when executed on a computer, configure the computer to perform a method comprising the steps of:
communicating with a plurality of active devices on a network;
providing a manger object executing a plurality of worker threads in parallel, a request queue and a result queue;
receiving in the request queue a plurality of request objects, each of the plurality of request objects representative of one of the active devices and a request for an indication of a presence of the one of the active devices on the network;
distributing each of the plurality of request objects in the request queue to one or more of the plurality of worker threads, each of the plurality of worker threads configured to process each of the plurality of request objects in the request queue, to perform at least identical discovery functions on the plurality of active devices in response to the request for an indication, and to send each of the plurality of request objects to the manager object;
receiving a response for each of the plurality of request objects from the one or more of the plurality of worker threads after the response to the request for an indication has been received; and
organizing in the result queue the response of each of the plurality of request objects; and
storing in a storage device the response received for each of the plurality of request objects.