# US 2023/0409429 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 2023/0409429 A1
- Document ID: US20230409429A1
- Status: Published application
- Kind: A1
- Application number: 18/334,003
- Filed: 2023-06-13
- Published: 2023-12-21
- Earliest claimed: 2022-06-20
- Assignees: Canon Kabushiki Kaisha
- Applicants: Canon Kabushiki Kaisha
- Inventors: SHIHO SEKIGUCHI
- Web page: https://patentgrep.com/patent/US20230409429A1

## CPC

- G06F 11/1433: {during software upgrading}
- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- G06F 9/4413: {Plug-and-play [PnP]}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

To provide an information processing apparatus, a control method, and a computer-readable storage medium capable of suppressing a decrease in user convenience, processing is executed while confirming whether PnP is being executed based on the premise that there is an OS in which PnP may occur multiple times. This makes it possible to update and install the driver appropriately and prevent a user from mistakenly trying to use the device during the installation.

## Claims

### Claim 1

A non-transitory computer-readable storage medium storing a program to cause a computer to execute a control method in a computer including an operating system (OS) having a function of applying a first driver corresponding to a target device on the basis that the target device is connected, the control method comprising:
determining whether the OS is executing a process to apply the first driver corresponding to the target device on the basis that the target device is connected;
in a case where it is determined that execution of the process has been completed, determining whether a second driver different from the first driver is applied to the computer;
determining that driver application has succeeded in the computer based on determination that the second driver is applied; and
in a case where it is determined that the second driver is not applied, re-executing the step of determining whether the process to apply the first driver is being executed.

### Claim 2 (depends on 1)

The computer-readable storage medium according to claim 1, wherein the process to apply the first driver and a process to apply the second driver are processes by plug and play by the OS.

### Claim 3 (depends on 1)

The computer-readable storage medium according to claim 1, wherein in a case where it is determined that the second driver is not applied, the step of determining whether the process to apply the first driver is being executed is re-executed further on the basis that the an elapsed time from completion of the process does not exceed a predetermined time.

### Claim 4 (depends on 3)

The computer-readable storage medium according to claim 3, wherein in a case where it is determined that the second driver is not applied and the elapsed time exceeds the predetermined time, the applied first driver is updated to the second driver.

### Claim 5 (depends on 3)

The computer-readable storage medium according to claim 3, wherein measurement of the predetermined time is reset based on determination that the process to apply the first driver is being executed.

### Claim 6 (depends on 5)

The computer-readable storage medium according to claim 5, wherein the reset measurement of the predetermined time is re-executed in a case where it is re-determined that the process to apply the first driver is not being executed.

### Claim 7 (depends on 1)

The computer-readable storage medium according to claim 1, wherein
the target device is a printer, and
it is determined that driver application has succeeded in the computer on the basis that the target device is registered in a printer class of the OS in addition to the basis that the second driver is applied.

### Claim 8 (depends on 7)

The computer-readable storage medium according to claim 7, wherein determination of whether the target device is registered in a printer class of the OS is executed after determination of whether the second driver is applied.

### Claim 9 (depends on 1)

The computer-readable storage medium according to claim 1, wherein a connected device is further detected.

### Claim 10 (depends on 1)

The computer-readable storage medium according to claim 1, wherein in a case where it is determined that driver application has succeeded in the computer, the success is displayed on a display unit of the computer.

### Claim 11

An information processing apparatus including an operating system (OS) having a function of applying a first driver corresponding to a target device on the basis that the target device is connected, the information processing apparatus comprising:
a first determination unit configured to determine whether the OS is executing a process to apply the first driver corresponding to the target device on the basis that the target device is connected;
a second determination unit configured to, in a case where it is determined that execution of the process has been completed, determine whether a second driver different from the first driver is applied to the information processing apparatus;
a third determination unit configured to determine that driver application has succeeded in the information processing apparatus at least on a condition that it is determined that the second driver is applied; and
an execution unit configured to, in a case where it is determined that the second driver is not applied, re-execute the step of determining whether the process to apply the first driver is being executed.

### Claim 12

A control method in an information processing apparatus including an operating system (OS) having a function of applying a first driver corresponding to a target device on the basis that the target device is connected, the control method comprising:
determining whether the OS is executing a process to apply the first driver corresponding to the target device on the basis that the target device is connected;
in a case where it is determined that execution of the process has been completed, determining whether a second driver different from the first driver is applied to the information processing apparatus;
determining that driver application has succeeded in the information processing apparatus at least on a condition that it is determined that the second driver is applied; and
in a case where it is determined that the second driver is not applied, re-executing the step of determining whether the process to apply the first driver is being executed.
