US 7,581,050 B2
Information processing apparatus, peripheral apparatus control method, and computer readable medium
Hideki Honda, Kawasaki (Japan)
Assigned to Canon Kabushiki Kaisha, Tokyo (Japan)
Filed on Feb. 14, 2007, as Appl. No. 11/674,935.
Claims priority of application No. 2006-077711 (JP), filed on Feb. 20, 2006.
Prior Publication US 2007/0198755 A1, Aug. 23, 2007
Int. Cl. G06F 12/00 (2006.01)
U.S. Cl. 710—240  [710/19; 709/223; 709/224] 12 Claims
OG exemplary drawing
 
1. An information processing apparatus that runs an operating system, wherein the information processing apparatus allocates a plurality of peripheral apparatuses to a single queue that manages each of the plurality of peripheral apparatuses, the information processing apparatus comprising:
a status management unit that performs communication with the plurality of peripheral apparatuses, obtains the status of each respective peripheral apparatus on the basis of each individual port of a plurality of ports connected to the single queue, and stores the statuses in a storage area prepared for each individual port in a status storage unit;
a status query unit that queries the status management unit via a spooler of the operating system for the status of one of the plurality of peripheral apparatuses;
a port identifier recognition unit that recognizes a port identifier that is contained within a status query message that is issued by the status query unit, and identifies a port to which the peripheral apparatus is connected; and
a status reply unit that reads out the status of the one of the plurality of peripheral apparatuses, which is connected to a port that corresponds to the port identifier recognized by the port identifier recognition unit, from the status storage unit, and replies the read status to the status query unit.