# US 2016/0253138 A1 · Information processing apparatus, control method, and storage medium

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

- Number: US 2016/0253138 A1
- Document ID: US20160253138A1
- Status: Published application
- Kind: A1
- Application number: 15/053,796
- Filed: 2016-02-25
- Published: 2016-09-01
- Earliest claimed: 2015-02-27
- Assignees: Canon Kabushiki Kaisha
- Applicants: Canon Kabushiki Kaisha
- Inventors: Toshinori Kawaura
- Web page: https://patentgrep.com/patent/US20160253138A1

## CPC

- G06F 13/4282: {on a serial bus, e.g. I2C bus, SPI bus (on daisy chain buses G06F13/4247)}
- G06F 9/52: Program synchronisation; Mutual exclusion, e.g. by means of semaphores
- G06F 13/20: for access to input/output bus
- G06F 3/121: {Facilitating exception or error detection and recovery, e.g. fault, media or consumables depleted}
- G06F 3/1224: {Client or server resources management}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An information processing apparatus executes occupation processing so that an application that issues an occupation request is able to execute at least one of processing for acquiring information from a peripheral device and processing for transmitting information to the peripheral device, and that another application is not able to execute processing for acquiring information from the peripheral device and processing for transmitting information to the peripheral device.

## Claims

### Claim 1

An information processing apparatus having an operating system restricting a display of a print setting screen by a printer driver and allowing a print application related to the printer driver to display the print setting screen, the information processing apparatus comprising:
a reception unit configured to receive an occupation request from the application; and
an execution unit configured to execute occupation processing in an occupation period based on the occupation request, so that the application that issues the occupation request is able to execute at least one of processing for acquiring information from a peripheral device and processing for transmitting information to the peripheral device, and that an application different from the application that issues the occupation request is not able to execute processing for acquiring information from the peripheral device and processing for transmitting information to the peripheral device.

### Claim 2 (depends on 1)

The information processing apparatus according to claim 1, wherein the execution unit instructs a USB port monitor of the operating system to execute the occupation processing in the occupation period based on the occupation request, so that the application that issues the occupation request is able to execute at least one of processing for acquiring information from the peripheral device and processing for transmitting information to the peripheral device, and that the application different from the application that issues the occupation request is not able to execute processing for acquiring information from the peripheral device and processing for transmitting information to the peripheral device.

### Claim 3 (depends on 1)

The information processing apparatus according to claim 1, wherein the execution unit executes the occupation processing in accordance with a Bidi schema corresponding to the occupation request transmitted from the application that issues the occupation request, and an object transmitted from the operating system.

### Claim 4 (depends on 1)

The information processing apparatus according to claim 1, wherein, on receipt of an occupation request from an application different from the application that issues the occupation request in the occupation period, the execution unit transmits information that indicates an occupation processing error to the different application.

### Claim 5 (depends on 1)

The information processing apparatus according to claim 1, further comprising a determination unit configured, when the reception unit receives an occupation end request, to determine whether the application that issues the occupation request is identical to an application that issues the occupation end request,
wherein, when the determination unit determines that the application that issues the occupation request is identical to the application that issues the occupation end request, the execution unit cancels the occupation processing.

### Claim 6 (depends on 5)

The information processing apparatus according to claim 5, wherein, when a predetermined time elapses after executing the occupation processing, the execution unit cancels the occupation processing before receiving the occupation end request.

### Claim 7

A control method in an information processing apparatus having an operating system restricting a display of a print setting screen by a printer driver and allowing a print application related to the printer driver to display the print setting screen, the control method comprising:
receiving an occupation request from the application; and
executing occupation processing in an occupation period based on the occupation request, so that the application that issues the occupation request is able to execute at least one of processing for acquiring information from a peripheral device and processing for transmitting information to the peripheral device, and that an application different from the application that issues the occupation request is not able to execute processing for acquiring information from the peripheral device and processing for transmitting information to the peripheral device.

### Claim 8 (depends on 7)

The control method according to claim 7, wherein execution of the occupation processing is instructed to a USB port monitor of the operating system in the occupation period based on the occupation request, so that the application that issues the occupation request is able to execute at least one of processing for acquiring information from the peripheral device and processing for transmitting information to the peripheral device, and that the application different from the application that issues the occupation request is not able to execute processing for acquiring information from the peripheral device and processing for transmitting information to the peripheral device.

### Claim 9 (depends on 7)

The control method according to claim 7, wherein the occupation processing is executed in accordance with a Bidi schema corresponding to the occupation request transmitted from the application that issues the occupation request, and an object transmitted from the operating system.

### Claim 10 (depends on 7)

The control method according to claim 7, wherein, when an occupation request is received from an application different from the application that issues the occupation request in the occupation period, information that indicates an occupation processing error is transmitted to the different application.

### Claim 11 (depends on 7)

The control method according to claim 7, further comprising determining, when an occupation end request is received, whether the application that issues the occupation request is identical to an application that issues the occupation end request,
wherein, when determination is made that the application that issues the occupation request is identical to the application that issues the occupation end request, the occupation processing is canceled.

### Claim 12 (depends on 11)

The control method according to claim 11, wherein, when a predetermined time elapses after the occupation processing is executed, the occupation processing is canceled before the occupation end request is received.

### Claim 13

A storage medium that stores a control program readable by an information processing apparatus having an operating system restricting a display of a print setting screen by a printer driver and allowing a print application related to the printer driver to display the print setting screen, the control program configured to cause the information processing apparatus to execute:
a reception step of receiving an occupation request from the application; and
an execution step of executing occupation processing in an occupation period based on the occupation request, so that the application that issues the occupation request is able to execute at least one of processing for acquiring information from a peripheral device and processing for transmitting information to the peripheral device, and that an application different from the application that issues the occupation request is not able to execute processing for acquiring information from the peripheral device and processing for transmitting information to the peripheral device.

### Claim 14 (depends on 13)

The storage medium according to claim 13, wherein execution of the occupation processing is instructed to a USB port monitor of the operating system in the occupation period based on the occupation request, so that the application that issues the occupation request is able to execute at least one of processing for acquiring information from the peripheral device and processing for transmitting information to the peripheral device, and that the application different from the application that issues the occupation request is not able to execute processing for acquiring information from the peripheral device and processing for transmitting information to the peripheral device.

### Claim 15 (depends on 13)

The storage medium according to claim 13, wherein the occupation processing is executed in accordance with a Bidi schema corresponding to the occupation request transmitted from the application that issues the occupation request, and an object transmitted from the operating system.

### Claim 16 (depends on 13)

The storage medium according to claim 13, wherein, when an occupation request is received from an application different from the application that issues the occupation request in the occupation period, information that indicates an occupation processing error is transmitted to the different application.

### Claim 17 (depends on 13)

The storage medium according to claim 13, wherein, when the reception step comprises receiving an occupation end request, determination is made whether the application that issues the occupation request is identical to an application that issues the occupation end request, and
when determination is made that the application that issues the occupation request is identical to the application that issues the occupation end request, the occupation processing is canceled.

### Claim 18 (depends on 17)

The storage medium according to claim 17, wherein, when a predetermined time elapses after the occupation processing is executed, the occupation processing is canceled before the occupation end request is received.
