Information processing apparatus, control method, and storage medium

The application program on a storage medium enhances usability by allowing users to select between infrastructure and direct connection modes for network setup, addressing challenges in configuring network settings for communication devices.

US20260380437A1Pending Publication Date: 2026-11-26CANON KK
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
US19/680886
Authority / Receiving Office
US · United States
Patent Type
Applications(United States)
Current Assignee / Owner
Priority Date
2025-05-22
Filing Date
2026-05-18
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

Existing information processing apparatuses face challenges in improving the usability of application programs that transmit network setting information to communication devices, such as printers, for connecting to access points, particularly in setting up infrastructure and direct connections.

Method used

A non-transitory computer-readable storage medium stores a predetermined application program that enables first network setup processing via a connection using an internal access point and prevents execution via a different access point, allowing users to select between infrastructure and direct connection modes, and facilitates network setting information transmission.

Benefits of technology

Enhances the usability of application programs by providing intuitive network setup options, improving connectivity and reducing user complexity in configuring network settings for communication devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US20260380437A1-D00000_ABST
    Figure US20260380437A1-D00000_ABST
Patent Text Reader

Abstract

An information processing apparatus to execute a process includes executing first network setup processing for transmitting network setting information about a communication apparatus to the communication apparatus, and executing processing for enabling execution of the first network setup processing via a first connection based on a connection between the information processing apparatus and the communication apparatus being the first connection, and executing processing for preventing execution of the first network setup processing via a second connection based on the connection between the information processing apparatus and the communication apparatus being the second connection, the first connection being a connection using a predetermined internal access point that is a predetermined access point inside the communication apparatus, the second connection being a connection using an access point different from the predetermined internal access point.
Need to check novelty before this filing date? Find Prior Art

Description

BACKGROUNDField of the Technology

[0001] The present disclosure relates to an information processing apparatus, a control method, and a storage medium.Description of the Related Art

[0002] A configuration has been known where an information processing apparatus such as a smartphone transmits information for connecting to an access point to a communication apparatus such as a printer, and the communication apparatus connects to the access point using the information. Japanese Patent Laid-Open No. 2016-127545 describes an information processing apparatus transmitting information to a communication apparatus, whereby a connection mode for determining a connection scheme between the information processing apparatus and the communication apparatus is set in the communication apparatus.

[0003] As the configuration where information for connecting to an access point is transmitted to a communication apparatus becomes widespread, there has been a demand for improving the usability of an application program that executes processing for transmitting the information for connecting to an access point to the communication apparatus.SUMMARY

[0004] The present disclosure is directed to improving the usability of an application program that executes processing for transmitting network setting information, such as information for connecting to an access point and setting information about an Internet Protocol (IP) address, to a communication apparatus.

[0005] According to an aspect of the present disclosure, a non-transitory computer-readable storage medium storing a predetermined application program for causing a computer of an information processing apparatus to execute a process includes executing first network setup processing for transmitting network setting information about a communication apparatus to the communication apparatus, and executing processing for enabling execution of the first network setup processing via a first connection based on a connection between the information processing apparatus and the communication apparatus being the first connection, and executing processing for preventing execution of the first network setup processing via a second connection based on the connection between the information processing apparatus and the communication apparatus being the second connection, the first connection being a connection using a predetermined internal access point that is a predetermined access point inside the communication apparatus, the second connection being a connection using an access point different from the predetermined internal access point.

[0006] Features of the present disclosure will become apparent from the following description of embodiments with reference to the attached drawings. The following description of embodiments is described by way of example.BRIEF DESCRIPTION OF THE DRAWINGS

[0007] FIG. 1 is a diagram illustrating an example of a communication system.

[0008] FIG. 2 is an example of a block diagram of a terminal apparatus and a communication apparatus.

[0009] FIG. 3 is a diagram illustrating an example of a software configuration of a predetermined application.

[0010] FIG. 4 is a flowchart illustrating an example of processing that the terminal apparatus performs using the predetermined application.

[0011] FIGS. 5A to 5G are examples of a communication apparatus list screen.

[0012] FIG. 6 is a flowchart illustrating an example of processing that the terminal apparatus performs using the predetermined application.

[0013] FIG. 7 illustrates an example of a network setup screen.

[0014] FIG. 8 illustrates an example of a guide screen for changing to a connection setup mode.

[0015] FIG. 9 illustrates an example of a table related to display control of buttons included in a communication apparatus list screen.

[0016] FIG. 10 illustrates an example of a remote user interface (UI) screen.

[0017] FIG. 11 illustrates an example of the remote UI screen.

[0018] FIGS. 12A and 12B illustrate examples of the remote UI screen.

[0019] FIG. 13 illustrates a screen for selecting a connection method.

[0020] FIG. 14 illustrates an example of the network setup screen.

[0021] FIGS. 15A to 15F illustrate examples of the communication apparatus list screen.DESCRIPTION OF THE EMBODIMENTS<First Embodiment>

[0022] An information processing apparatus and a communication apparatus included in a communication system according to the present embodiment will be described. The information processing apparatus will also be referred to as a terminal apparatus. In the present embodiment, a smartphone is described as an example of the information processing apparatus. However, this is not restrictive. Various devices may be applied as the information processing apparatus. Examples include a personal computer (PC), a tablet terminal, a personal digital assistant (PDA), and a digital camera. In the present embodiment, a printing apparatus is described as the communication apparatus. The printing apparatus may be an inkjet printing apparatus that prints with ink, or a laser beam printing apparatus that prints with toner. The printing apparatus may be a full-color printing apparatus capable of color printing, or a monochrome printing apparatus capable of monochrome printing but not color printing. In the present embodiment, the communication apparatus is not limited to a printing apparatus, and any apparatus that can perform wireless communication with the information processing apparatus may be applied as the communication apparatus. Applicable examples of the communication apparatus include a copying machine, a facsimile apparatus, a scanner, a smartphone, a PC, a tablet terminal, a PDA, a digital camera, a music player device, a television set, a smart speaker, a robot vacuum cleaner, an automatic cooking pot, and a refrigerator. Furthermore, a multifunction peripheral having a plurality of functions such as a copying function, a facsimile (FAX) function, and a print function is also applicable.

[0023] A system configuration for implementing the present embodiment will initially be described. FIG. 1 is a diagram illustrating an example of a configuration of the communication system according to the present embodiment. This communication system includes a communication apparatus 151, a terminal apparatus 101, an access point (AP) 131, and an external server 171.

[0024] The terminal apparatus 101 is an information processing apparatus according to the present embodiment. The communication apparatus 151 is a communication apparatus according to the present embodiment. The AP 131 is an AP run by an external apparatus outside the terminal apparatus 101 and outside the communication apparatus 151. An example of the external apparatus is a wireless local area network (LAN) router. The external server 171 is a server that can serve apparatuses connected to the AP 131 via the Internet.

[0025] With the communication apparatus 151 and the terminal apparatus 101 connected to the AP 131, a LAN formed by the AP 131 includes the AP 131, the communication apparatus 151, and the terminal apparatus 101. Meanwhile, a wide area network (WAN) includes the AP 131 and the external server 171.

[0026] In the present embodiment, when an infrastructure connection to be described below is established, the terminal apparatus 101 can communicate with the communication apparatus 151 via the AP 131. When a direct connection to be described below is established, the terminal apparatus 101 can communicate directly with communication apparatus 151 without the intermediary of the AP 131. In the following description, a connection to an AP corresponds to a connection to a network formed by the AP. A single external apparatus may activate a plurality of APs and be able to simultaneously form a plurality of networks.

[0027] In the present embodiment, a connection 141 between the terminal apparatus 101 and the AP 131 and a connection 142 between the communication apparatus 151 and the AP 131 are connections using a communication method based on Institute of Electrical and Electronics Engineers (IEEE) 802.11 series standards. Specifically, the communication method based on the IEEE 802.11 series standards refers to Wireless Fidelity (Wi-Fi) (registered trademark). A connection 143 between the terminal apparatus 101 and the communication apparatus 151 is also a connection using a communication method based on the IEEE 802.11 series standards. However, the communication method used for the connection 143 is not limited thereto. For example, Bluetooth® Low Energy, Bluetooth® Classic, Wi-Fi Aware, near field communication (NFC), a Universal Serial Bus (USB) cable, and the like may be used. If the AP 131 can communicate with the external server 171 via the Internet and the AP 131 is connected to the Internet, the apparatuses connected to the AP 131 (the terminal apparatus 101 and the communication apparatus 151) can also use the Internet. The connection 141 between the terminal apparatus 101 and the AP 131 and the connection 142 between the communication apparatus 151 and the AP 131 may be connections via a wired LAN.

[0028] Next, a configuration of the information processing apparatus according to the present embodiment and the communication apparatus that can communicate with the information processing apparatus according to the present embodiment will be described with reference to the block diagram of FIG. 2. While in the present embodiment the following configuration is described as an example, the present embodiment is applicable to apparatuses that can communicate with a communication apparatus, and the functions are not limited in particular to those illustrated in the diagram.

[0029] The terminal apparatus 101 includes an input interface 102, a central processing unit (CPU) 103, a read-only memory (ROM) 104, a random access memory (RAM) 105, an external storage device 106, an output interface 107, a display unit 108, a wireless communication unit 109, a short-range wireless communication unit 110, an imaging device 111, and a wired communication unit 112. The CPU 103, the ROM 104, the RAM 105, and the like form a computer of the terminal apparatus 101.

[0030] The input interface 102 is an interface for accepting data input and operation instructions from the user, and includes a physical keyboard, buttons, and / or a touchscreen. The output interface 107 to be described below and the input interface 102 may be configured as the same component, and screen output and the acceptance of operations from the user may be performed by the same component.

[0031] The CPU 103 is a system control unit and controls the entire terminal apparatus 101. In the present embodiment, the CPU 103 performs control on display content of the display unit 108 (display control) and the like.

[0032] The ROM 104 stores fixed data such as control programs for the CPU 103 to execute, data tables, and operating system (OS) programs. In the present embodiment, various control programs stored in the ROM 104 perform software execution control such as scheduling, task switching, and interrupt handling, under the control of a built-in OS stored in the ROM 104. In the present embodiment, the ROM 104 stores a predetermined application program (application) for controlling the communication apparatus 151. In other words, an application program is application software. For example, the predetermined application is installed on the terminal apparatus 101 from outside by a store application for installing various applications. The predetermined application is an application provided by the vendor of the communication apparatus 151, and intended to configure network settings of the communication apparatus 151 connected to the terminal apparatus 101 via at least one of a wired LAN, a wireless LAN, and a USB cable. The predetermined application may also have functions other than the function of configuring the connection settings of the communication apparatus 151. Specific examples of the other functions include a function of transmitting a print job for causing the communication apparatus 151 to perform printing (print job transmission function) and a function of transmitting a scan job for causing the communication apparatus 151 to perform a scan (scan job transmission function). In the present embodiment, processing described to be performed by the OS is, more precisely, processing that the CPU 103 performs based on programs within the OS. Similarly, processing described to be performed by an application is, more precisely, processing that the CPU 101 performs based on programs within the application.

[0033] The RAM 105 includes a static RAM (SRAM) or the like that needs backup power supply. Since the RAM 105 retains data using a not-illustrated primary battery for data backup, important data such as program control variables can be stored in a nonvolatile manner. Moreover, a memory area for storing setting information about the terminal apparatus 101, management data on the terminal apparatus 101, and the like is also allocated in the RAM 105. The RAM 105 is also used as a main memory and a work memory of the CPU 103.

[0034] The external storage device 106 stores various programs such as a printing information generation program that generates printing information interpretable by the communication apparatus 151, and an information transmission and reception control program that performs transmission and reception to / from the communication apparatus 151 connected via the wireless communication unit 109. The external storage device 106 also stores various types of information to be used by these programs, and image data acquired from other information processing apparatuses and the Internet.

[0035] The output interface 107 is an interface that performs control for the display unit 108 to display data and issue notifications of the state of the terminal apparatus 101.

[0036] The display unit 108 includes a light-emitting diode (LED) and a liquid crystal display (LCD), and displays data and issues notifications of the state of the terminal apparatus 101. A software keyboard including keys such as numeric input keys, mode setting keys, an enter key, a cancel key, and a power key may be displayed on the display unit 108 to accept the user's input via the display unit 108. In the present embodiment, the display unit 108 is a touchscreen and can accept the user's operation using a finger, pen, or other operation tools.

[0037] The wireless communication unit 109 is a component for wirelessly connecting to apparatuses such as the communication apparatus 151 and the AP 131 and performing data communication. For example, the wireless communication unit 109 may communicate directly with the communication apparatus 151 by wireless communication, or communicate via the AP 131 outside the terminal apparatus 101 and the communication apparatus 151. In the present embodiment, Wi-Fi, a communication method based on the IEEE 802.11 standards, is used as the wireless communication method of the wireless communication unit 109. However, Bluetooth® Classic and the like may be used. In the present embodiment, a wireless LAN refers to a Wi-Fi network. In the present embodiment, a connection using a scheme where the terminal apparatus 101 and the communication apparatus 151 are directly connected without the intermediary of an external AP will be referred to as a direct connection. A connection using a scheme where the terminal apparatus 101 and the communication apparatus 151 are connected via an external AP will be referred to as an infrastructure connection.

[0038] The short-range wireless communication unit 110 is a component for performing data communication with apparatuses such as the communication apparatus 151 using a short-range wireless communication scheme, and communicates using a communication method different from that of the wireless communication unit 109. The short-range wireless communication unit 110 can connect to a short-range wireless communication unit 157 in the communication apparatus 151. Examples of the communication method of the short-range wireless communication unit 110 include Bluetooth® Low Energy, Bluetooth® Classic, Wi-Fi Aware, and NFC.

[0039] The imaging device 111 is a device for converting an image captured by an image sensor into digital data.

[0040] The digital data is once stored in the RAM 105. The digital data is then converted into a predetermined image format by a program executed by the CPU 103, and stored in the external storage device 106 as image data.

[0041] The wired communication unit 112 is a component for connecting to apparatuses such as the communication apparatus 151 and the AP 131 in a wired manner and performing data communication. For example, the wired communication unit 112 communicates over a wired LAN. In the present embodiment, the wired LAN performs communication compliant with the Ethernet standard. However, such a configuration is not restrictive, and the wired communication unit 112 may communicate using a USB cable, for example. If, for example, the terminal apparatus 101 is a smartphone, the terminal apparatus 101 does not need to include the wired communication unit 112.

[0042] The communication apparatus 151 includes a ROM 152, a RAM 153, a CPU 154, a print engine 155, a wireless communication unit 156, a short-range wireless communication unit 157, an input interface 158, an output interface 159, a function control unit 160, a display unit 161, and a wired communication unit 162.

[0043] The ROM 152, the RAM 153, the CPU 154, and the like form a computer of the communication apparatus 151.

[0044] The wireless communication unit 156 is a component for wirelessly connecting to apparatuses such as the terminal apparatus 101 and the AP 131 and performing data communication. In the present embodiment, Wi-Fi, a wireless communication based on the IEEE 802.11 standards, is used as the wireless communication method of the wireless communication unit 156. However, Bluetooth® Classic and the like may be used. As an internal AP of the communication apparatus 151, the wireless communication unit 156 includes an AP 156-a for connecting to apparatuses such as the terminal apparatus 101. The AP 156-a can connect to the wireless communication unit 109 of the terminal apparatus 101. The wireless communication unit 156 may communicate directly with the terminal apparatus 101 via the AP 156-a, or communicate with the terminal apparatus 101 via the AP 131. The AP 156-a may be hardware functioning as an AP. The wireless communication unit 156 may operate as the AP 156-a by using software for functioning as an AP. The communication apparatus 151 may be capable of activating a plurality of APs with different service set identifiers (SSIDs) and passwords inside.

[0045] The RAM 153 includes a dynamic RAM (DAM) or the like that needs backup power supply. Since the RAM 153 retains data by being powered with a not-illustrated power supply for data backup, important data such as program control variables can be stored in a nonvolatile manner. The RAM 153 is also used as a main memory and a work area of the CPU 154, and stores various types of information as a reception buffer for temporarily storing printing information received from the terminal apparatus 101 and the like.

[0046] The ROM 152 stores fixed data such as control programs for the CPU 154 to execute, data tables, and OS programs. In the present embodiment, control programs stored in the ROM 152 perform software execution control such as scheduling, task switching, and interrupt handling, under the control of a built-in OS stored in the ROM 152. A memory area for storing data that needs to be retained even without power supply, such as setting information about the communication apparatus 151 and management data on the communication apparatus 151, is also allocated in the ROM 152.

[0047] The CPU 154 is a system control unit and controls the entire communication apparatus 151.

[0048] The print engine 155 forms images on recording media such as paper using recording agents such as ink based on information stored in the RAM 153 and print jobs received from the terminal apparatus 101 and the like, and outputs the print results. Since print jobs transmitted from the terminal apparatus 101 and the like have a large amount of transmission data and need high-speed communication, the print jobs are received via the wireless communication unit 156, which is capable of faster communication than the short-range wireless communication unit 157.

[0049] The short-range wireless communication unit 157 is a component for communicating with apparatuses such as the terminal apparatus 101 using a short-range wireless communication method. Examples of the communication method of the short-range wireless communication unit 157 include Bluetooth® Low Energy, Bluetooth® Classic, and Wi-Fi Aware.

[0050] The input interface 158 is an interface for accepting data input and operation instructions from the user, and includes a physical keyboard, buttons, and / or a touchscreen. The output interface 159 to be described below and the input interface 158 may be configured as the same component, and screen output and the acceptance of operations from the user may be performed by the same component. The output interface 159 is an interface that performs control for the display unit 161 to display data and issue notifications of the state of the communication apparatus 151.

[0051] The function control unit 160 manages function operation as to whether to simultaneously operate functions of the communication apparatus 151.

[0052] The display unit 161 includes an LED and an LCD, and displays data and issues notifications of the state of communication apparatus 151. A software keyboard including keys such as numeric input keys, mode setting keys, an enter key, a cancel key, and a power key may be displayed on the display unit 161 to accept the user's input via the display unit 161.

[0053] The wired communication unit 162 is a component for connecting to apparatuses such as the terminal apparatus 101 and the AP 131 in a wired manner and performing data communication. For example, the wired communication unit 162 communicates over a wired LAN. However, such a configuration is not restrictive, and the wired communication unit 162 may communicate using a USB cable, for example.<Direct Connection Scheme>

[0054] Direct connection refers to a scheme where apparatuses establish a direct (i.e., peer-to-peer) wireless connection with each other without the intermediary of external apparatuses such as the AP 131. Direct connection may also be referred to as peer-to-peer connection (P2P connection). The communication apparatus 151 can operate in a mode for communicating by direct connection (direct connection mode) as one of its connection modes. There is a plurality of modes for communicating via direct connection in Wi-Fi communication, such as a software AP mode and a Wi-Fi Direct (WFD) mode.

[0055] A mode where a direct connection is implemented by WFD will be referred to as a WFD mode. WFD is a standard stipulated by the Wi-Fi Alliance, a standard included in the IEEE 802.11 series communication standards. In the WFD mode, devices to be communication partners are searched for by using a device discovery command, and then the roles of a P2P group owner (GO) and a P2P client are determined and the rest of the wireless connection processing is performed. The GO corresponds to a Wi-Fi master station (parent device), and the client a Wi-Fi slave station (child device). This role determination corresponds to P2P GO Negotiation, for example. In the WFD mode before the role determination, the communication apparatus 151 is in a state of being neither a master station nor a slave station. Specifically, one of the devices to communicate initially issues a device discovery command to search for a device to connect to in the WFD mode. When the other device to be the communication partner is discovered, the devices check information about services and functions that can be provided by each other's devices. This device provision information check is optional and not mandatory. This device provision information check phase corresponds to P2P Provision Discovery, for example. Next, the devices determine which device assumes the role of a P2P client and which device assumes the role of a P2P GO by mutually checking the device provision information. Once the client and GO are determined, the devices exchange parameters for performing WFD communication. Based on the exchanged parameters, the P2P client and GO perform the rest of the wireless connection processing and Internet Protocol (IP) connection processing therebetween. Note that, in the WFD mode, the communication apparatus 151 may always operate as a GO without performing the foregoing GO Negotiation. In other words, the communication apparatus 151 may operate in a WFD mode that is the Autonomous GO mode. Examples of the state where the communication apparatus 151 is operating in the WFD mode include where the communication apparatus 151 is operating as a GO with no WFD connection established, and where the communication apparatus 151 is operating as a GO with a WFD connection established.

[0056] In the software AP mode, one (for example, the terminal apparatus 101) of the devices to communicate (for example, the terminal apparatus 101 and the communication apparatus 151) becomes a client that plays the role of requesting various services. The other device then implements the Wi-Fi AP functions through software settings. The software AP corresponds to a Wi-Fi master station, and the client corresponds to a Wi-Fi slave station. In the software AP mode, the client searches for the device to be the software AP by using a device search command. When the software AP is discovered, the client and the software AP go through the rest of the wireless connection processing (such as establishing a wireless connection), and then perform IP connection processing (such as assigning an IP address). Commands and parameters transmitted and received when implementing the wireless connection between the client and the software AP may be ones defined by the Wi-Fi standard. A description thereof will be omitted here.

[0057] In the present embodiment, the communication apparatus 151, when establishing and maintaining a direct connection, operates as a master station within the network to which the communication apparatus 151 belongs. A master station is a device that constructs a wireless network and provides a slave station with parameters to be used for connection to the wireless network. Examples of the parameters to be used for connection to a wireless network include parameters related to a channel used by the master station. The slave station receives the parameters, and connects to the wireless network constructed by the master station, using the channel used by the master station. In the direct connection mode, the communication apparatus 151 operates as the master station, and can thus determine which frequency band to use and which channel to use for communication in the direct connection mode. In the present embodiment, the communication apparatus 151 can use channels corresponding to the 2.4-GHz frequency band and channels corresponding to the 5-GHz frequency band for communication in the direct connection mode.<Infrastructure Connection Scheme>

[0058] Infrastructure connection is a connection configuration in which the devices to communicate (for example, the terminal apparatus 101 and the communication apparatus 151) are connected to an AP (for example, the AP 131) that manages the network of the devices, and communicate with each other via the AP. The communication apparatus 151 can also operate in the mode for communicating via infrastructure connection (infrastructure connection mode) as one of its connection modes.

[0059] In infrastructure connection, each device searches for the AP by using a device search command. Once the AP is discovered, the device and the AP go through the rest of the wireless connection processing (such as establishing a wireless connection) and then perform IP connection processing (such as assigning an IP address). Commands and parameters transmitted and received when implementing the wireless connection between the device and the software AP may be ones defined by the Wi-Fi standard. A description thereof will be omitted here.

[0060] In the present embodiment, when the communication apparatus 151 operates with an infrastructure connection, the AP 131 operates as a master station and the communication apparatus 151 as a slave station. In other words, in the present embodiment, the infrastructure connection refers to a connection between the communication apparatus 151 operating as a slave station and the device operating as the master station. When the communication apparatus 151 has established the infrastructure connection and the terminal apparatus 101 has also established an infrastructure connection with the AP 131, the terminal apparatus 101 and the communication apparatus 151 can communicate with each other via the AP 131. Since the channels to be used for infrastructure connections are determined by the AP 131, the communication apparatus 151 performs the infrastructure connection communication using the channel determined by the AP 131. In the present embodiment, the communication apparatus 151 can use channels corresponding to the 2.4-GHz frequency band and channels corresponding to the 5-GHz frequency band for infrastructure connection communication. The communication apparatus 151 can also use channels corresponding to the Dynamic Frequency Selection (DFS) band in the 5-GHz frequency band for infrastructure connection communication. To communicate with the communication apparatus 151 via the AP 131, the terminal apparatus 101 recognizes and identifies that the communication apparatus 151 belongs to the network that is formed by the AP 131 and to which the terminal apparatus 101 belongs.<Connection Setup Processing>

[0061] In the present embodiment, the terminal apparatus 101 configures connection settings (network settings), which are settings for causing the communication apparatus 151 to operate by at least one communication scheme between infrastructure connection and direct connection communication, using wireless communication with the communication apparatus 151. Connection setup processing according to the present embodiment is also referred to as cableless setup (CLS), since the connection setup processing is performed via wireless communication. The connection setup processing may be performed via wired communication. The terminal apparatus 101 performs the connection setup processing on the communication apparatus 151 when the predetermined application stored in the external storage device 106 or the like is running. The communication apparatus 151 can operate in a connection setup mode (connection setup state) that is a mode for performing the connection setup processing, and performs the connection setup processing in a state of operating in the connection setup mode to be described below. Details of the connection setup mode will be described below.

[0062] To operate the communication apparatus 151 in the infrastructure connection mode, the terminal apparatus 101 wirelessly transmits infrastructure setup information, which is setting information for causing the operation in the infrastructure connection mode, to the communication apparatus 151. The infrastructure setup information includes information about the AP 131. Examples of the information about the AP 131 include information about an SSID, password, an encryption method, and frequency bands.

[0063] On the other hand, to operate the communication apparatus 151 in the direct connection mode, the terminal apparatus 101 wirelessly transmits direct setup information, which is setting information for causing the operation in the direct connection mode, to the communication apparatus 151. The direct setup information includes instructions to enable the WFD function and cause the communication apparatus 151 to operate as a GO, and enable AP settings of the communication apparatus 151. The terminal apparatus 101 acquires connection information needed to establish a direct connection with the communication apparatus 151 from the communication apparatus 151. Examples of the connection information needed to establish a direct connection with the communication apparatus 151 include information such as the SSID and password of the communication apparatus 151 to operate in the direct connection mode.

[0064] In the present embodiment, to transmit the infrastructure setup information and direct setup information and acquire the information needed to establish a direct connection with the communication apparatus 151 in the connection setup processing, a direct connection for connection setup between the terminal apparatus 101 and the communication apparatus 151 or a connection via a USB cable is used. In the present embodiment, Wi-Fi based connection setup processing is performed as the direct connection for connection setup. However, wireless communication standards other than Wi-Fi, such as Bluetooth®, may be used, for example. Alternatively, a wired communication standard of a wired LAN may be used for the direct connection for connection setup.

[0065] After a Wi-Fi based infrastructure connection or direct connection is established between the terminal apparatus 101 and the communication apparatus 151 by the connection setup processing, the terminal apparatus 101 and the communication apparatus 151 can communicate with each other via the established connection. Specifically, for example, the terminal apparatus 101 can transmit a print job for causing the communication apparatus 151 to perform printing or a scan job for causing the communication apparatus 151 to perform a scan to the communication apparatus 151 via the established connection. In the present embodiment, the connection setup processing enables the communication apparatus151 to operate in either the infrastructure connection mode or the direct connection mode. However, such a configuration is not restrictive. For example, the connection setup processing may be configured to be only capable of causing the communication apparatus 151 to operate in the infrastructure connection mode (i.e., not capable of causing the communication apparatus 151 to operate in the direct connection mode).<Connection Setup Mode>

[0066] The communication apparatus 151 can operate in the connection setup mode. Examples of the trigger for the communication apparatus 151 to start operating in the connection setup mode include the user pressing a connection setup mode button, and the communication apparatus 151 being activated (powered on) for the first time after delivery. The connection setup mode button may be a hardware button disposed on the communication apparatus 151, or a software button that the communication apparatus 151 displays on the display unit 161. The operation in the connection setup mode is terminated after a lapse of a predetermined time since the activation of the connection setup mode.

[0067] Starting the operation in the connection setup mode, the communication apparatus 151 enables Wi-Fi communication. Specifically, as Wi-Fi communication enabling processing, the communication apparatus 151 enables an internal AP (connection setup AP) of the communication apparatus 151 dedicated for the connection setup mode. This enables the communication apparatus 151 to establish a Wi-Fi based direct connection with the terminal apparatus 101. At least part of the connection information (SSID and password) for connecting to the connection setup AP is stored in advance in the predetermined application installed on the terminal apparatus 101. In other words, the terminal apparatus 101 recognizes as least part of the connection information for connecting to the connection setup AP in advance. Unlike the connection information about the AP to be enabled in the direct connection mode, at least part of the connection information for connecting to the connection setup AP is therefore not freely configurable by the user. The connection setup AP enabled in response to the start of operation in the connection setup mode is disabled based on a lapse of a predetermined time since the AP is enabled.

[0068] Details of the SSID of the connection setup AP, which is connection information for connecting to the connection setup AP in the present embodiment, will now be described. In the present embodiment, the SSID of the connection setup AP includes a character string common to a plurality of models, a character string common to devices of an identical model, and an individual character string. The character string common to a plurality of models is a character that is common between a predetermined model provided by a predetermined vendor and other models provided by the predetermined vendor. Specifically, the character string common to a plurality of models is a character string including a character string indicating the vendor name. The character string indicating the vendor name is not limited to one consisting of the vendor name, but may be any character string including the vendor name. Such a configuration is not restrictive. For example, a character string that does not include the character string indicating the vendor name but is assigned on a vendor-by-vendor basis may be used. The character string common to devices of an identical model corresponds to a character string that is common between devices of a predetermined model provided by a predetermined vendor and not between the predetermined model provided by the predetermined vendor and other models provided by the predetermined vendor. The character string common to devices of an identical model will hereinafter be referred to as a model-specific common character string. Specifically, the model-specific common character string is a character string including a character string indicating the model name. The character string indicating the model name is not limited to one consisting of the model name, but may be any character string including the model name. Such a configuration is not restrictive. For example, a character string that does not include the character string indicating the model name but is assigned on a model-by-model may be used.

[0069] The individual character string corresponds to a character string that differs from one communication apparatus to another. Specifically, the individual character string refers to a character string such as the device's serial number and a random character string that differs from one communication apparatus to another. However, such a configuration is not restrictive. A character string including a character string that varies each time the connection setup mode is activated may be used. In the present embodiment, the order of the character strings constituting the SSID of the connection setup AP is: the character string common to a plurality of models, the individual character string, and the model-specific common character string. However, such a configuration is not restrictive, and any order may be employed. In the present disclosure, the SSID of the connection setup AP does not need to include all the three types of character strings that are the character string common to a plurality of models, the individual character string, and the model-specific common character string. For example, a character string including two of the three types of character strings may be used. A character string freely determined by the user may be used.

[0070] The predetermined application retains at least a part of the character string of the SSID in advance, and notifies the OS of the at least part of the character string of the SSID, whereby the OS executes a communication apparatus search. In the present embodiment, the character string retained by the predetermined application in advance is the character string indicating the vendor name. The character string indicating the vendor name is, in other words, at least a part of the character strings constituting the SSID, and is a character string common to a plurality of models. The character string retained by the predetermined application in advance is not limited to the character string common to a plurality of models, and may be the model-specific common character string or the individual character string. In the present disclosure, the predetermined application does not need to retain at least a part of the character string of the SSID in advance. Specifically, the predetermined application may accept input of at least a part of the character string of the SSID from the user, recognize the input character string itself, and notify the OS of the character string itself.

[0071] The connection setup AP may be configured without an encryption method so that this AP can be connected to without a password. In the connection setup mode, the communication apparatus 151 and the terminal apparatus 101 may be connected not by normal Wi-Fi but by WFD. More specifically, the communication apparatus 151 may operate as a GO and receive a setup command from the terminal apparatus 101 by WFD communication. In the connection setup mode, the communication apparatus 151 may enable communication other than Wi-Fi communication, such as Bluetooth® Low Energy communication. In other words, the communication apparatus 151 may perform the connection setup processing using a communication method other than Wi-Fi. Alternatively, both Wi-Fi communication and communication other than Wi-Fi communication, such as Bluetooth® Low Energy communication, may be enabled.<Software Configuration of Predetermined Application>

[0072] Next, a software configuration of a wireless connection program that is the predetermined application according to the present embodiment will be described with reference to FIG. 3. This software is installed on the information processing apparatus 101 as a wireless connection program 301. A communication apparatus detection unit 302 performs processing for detecting communication apparatuses 151 by searching for a communication apparatus 151 connected to the AP 131 by at least one of wired and wireless LAN communication methods and a communication apparatus 151 connected to the terminal device 101 via a USB cable, and by detecting a beacon from a communication apparatus 151 operating in the connection setup mode. A communication apparatus information acquisition unit 303 acquires identification information, function support information about the detected communication apparatuses 151, and information indicating an operation mode of the communication apparatuses 151 from the detected communication apparatuses 151. A mode change necessity determination processing unit 304 determines whether to perform network setup processing of a communication apparatus 151 based on administrator password setting information and the information indicating the operation mode of the communication apparatus 151, acquired by the communication apparatus information acquisition unit 303. If the network setup processing is determined to be performed, the predetermined application displays a network setup screen. If the network setup processing is determined to not be performed, the predetermined application displays a notification screen for notifying that the communication apparatus 151 is to be operated in the connection setup mode. Specifically, the notification screen is used for prompting the user to change the communication apparatus 151 to the connection setup mode. A network setup processing unit 305 is a processing unit that executes the network setup processing of the communication apparatus 151 by transmitting network setting information to the communication apparatus 151. In the present embodiment, the network setting information is information including at least one of information for connecting to the AP 131 (the SSID and password of the AP 131), direct setup information, and IP address setting information. The IP address setting information includes information about a method for acquiring an IP address to be set in the communication apparatus 151, which will be described below.

[0073] The predetermined application accepts the user's selection of either an infrastructure connection or a direct connection as the connection scheme between the communication apparatus 151 and the terminal apparatus 101. If the user selects an infrastructure connection, the predetermined application then accepts the user's selection of the SSID of the AP 131 for the communication apparatus 151 to connect to and the encryption method of the AP 131. If the user selects an infrastructure connection, the predetermined application also accepts the setting of the IP address of the communication apparatus 151 from the user. IP addresses are identification numbers for identifying communication apparatuses connected to a network such as the Internet and a LAN. With non-overlapping unique IP addresses assigned, communication apparatuses can communicate with other communication apparatuses. In the present embodiment, when the terminal apparatus 101 transmits communication data to the communication apparatus 151 on the LAN formed by the AP 131, the communication apparatus 151 needs to be assigned an IP address to identify the transmission destination of the communication data. In the present embodiment, the predetermined application accepts the user's selection of a method for acquiring the IP address to be set in the communication apparatus 151. Here, selection of a method for acquiring an Internet Protocol version 4 (IPv4), which is an example of an IP address, will be described. The predetermined application accepts the user's selection of either a method for automatically acquiring the IP address of the communication apparatus 151 from the AP 131 (IP address automatic acquisition) or a method where the user manually inputs an IPv4 address (IP address manual input). Specifically, the predetermined application, based on the IP address manual input being selected, then accepts the input of an IP address, a subnet mask, and a default gateway from the user. In the present embodiment, the subnet mask corresponds to one that indicates the valid range of IPv4 addresses that can be used for connecting to the AP 131. The default gateway corresponds to the IP address of the AP 131.

[0074] The IPv4 address automatic acquisition will now be described. In the present embodiment, the communication apparatus 151 requests the AP 131 to assign an IPv4, using the Dynamic Host Configuration Protocol (DHCP). In response, the AP 131 transmits a predetermined IPv4 address that is an unused one among the IPv4 addresses managed by the AP 131 to the communication apparatus 151. The communication apparatus 151 sets the predetermined IPv4 received from the AP 131 as the IPv4 address of the communication apparatus 151. Subnet mask and default gateway information is also transmitted to the communication apparatus 151 along with the IPv4 address, and set in the communication apparatus 151. Next, the IPv4 address manual input will be described. In the present embodiment, the communication apparatus 151 receives IPv4 address information corresponding to an IPv4 address, subnet mask, and default gateway input by the user on the predetermined application from the terminal apparatus 101. The communication apparatus 151 sets the IPv4 address, subnet mask, and default gateway based on the IPv4 address information corresponding to the input received from the terminal apparatus 101.

[0075] Next, selection of a method for acquiring an Internet Protocol version 6 (IPv6) address, which is an example of an IP address, will be described. The predetermined application accepts the user's selection of any one of the following as a method for setting an IPv6 address: a method that uses a stateless address, a method where the user manually inputs an IPv6 address, and a method that uses the Dynamic Host Configuration Protocol for IP version 6 (DHCPv6). The method that uses a stateless address refers to, for example, a method where the communication apparatus 151 automatically generates an IPv6 address based on a Router Advertisement (RA) packet notified from the router and sets the IPv6 address as that of the communication apparatus 151. The method where the user manually inputs an IPv6 address refers to, for example, a method where IPv6 address information corresponding to an IPv6 address input by the user on the predetermined application is set in the communication apparatus 151. The method that uses DHCPv6 refers to, for example, a method for acquiring an IPv6 address from the AP 131 by requesting the AP 131 to assign an IPv6 address using DHCPv6, and setting the acquired IPv6 address in the communication apparatus 151.<Administrator Password Setting>

[0076] The user can set an administrator password via a screen displayed on an operation panel that is the main-body display unit 161 of the communication apparatus 151, or on the display unit 108 of the terminal apparatus 101 using a remote user interface (UI) of the communication apparatus 151. A remote UI function will now be described. The communication apparatus 151 with a web server function and a web browser application that is an application different from the predetermined application and running on the terminal apparatus 101 communicate with each other via Hypertext Transfer Protocol (HTTP). This enables checking various types of setting information including the network settings of the communication apparatus 151 and changing setting values using the web browser of the terminal apparatus 101. This function will be referred to as a remote UI function. The screen on the display unit 108 where various types of setting information about the communication apparatus 151 are checked and changes to various setting values are accepted using the web browser of the terminal apparatus 101 will hereinafter be referred to as a remote UI screen. In the present embodiment, the remote UI screen is displayed by the web browser application different from the predetermined application. However, such a configuration is not restrictive. For example, the predetermined application may include a web browser function, and the remote UI screen may be displayed using the web browser function.

[0077] In the present embodiment, the administrator password refers to a password that is input by the user for the purpose of administrator password authentication when the user performs operations for checking various types of setting information about the communication apparatus 151 or changing various setting values. FIGS. 10 and 11 illustrate examples of the screen related to administrator password setting. FIGS. 10 and 11 illustrate the remote UI screen of the communication apparatus 151. In the present embodiment, an example of the screen related to the administrator password setting is one displayed on the remote UI screen. However, such a configuration is not restrictive. For example, the screen related to the administrator password setting may be one displayed on the operation panel of the communication apparatus 151. FIG. 10 will now be described. A screen 1000 for selecting the scope of an administrator password includes an area 1001 for selecting the scope of the administrator password and an OK button 1002. The scope of the administrator password corresponds to a range where input of the administrator password is accepted from the user for authentication purposes for performing operations related to various settings of the communication apparatus 151. The area 1001 is an area for accepting the user's selection to set the operation panel of the communication apparatus 151 as the scope. If the OK button 1002 is operated with the selection of whether to set the operation panel of the communication apparatus 151 as the scope accepted from the user, the web browser application displaying the remote UI screen displays an administrator password input screen. FIG. 11 illustrates an example of this input screen. An administrator password input screen 1100 includes an administrator password input box 1101, an administrator password confirmation box 1102, and an OK button 1103. The administrator password input box 1101 is an area for accepting input of an administrator password from the user. The administrator password confirmation box 1102 is an area for accepting input of the password input to the administrator password input box 1101 again from the user. If the OK button 1103 is operated by the user with the same password as that input to the administrator password input box 1101 being input to the administrator password confirmation box 1102, the administrator password is registered.

[0078] As described above, among examples of the trigger for the communication apparatus 151 to start operation in the connection setup mode is the user's pressing of the connection setup mode button. In other words, to operate the communication apparatus 151 in the connection setup mode, the main body of the communication apparatus 151 needs to be operated. Moreover, as described above, if the operation panel is set as the scope of the administrator password in the communication apparatus 151, the user needs to input the administrator password to the operation panel of the communication apparatus 151 when operating the main body of the communication apparatus 151.

[0079] The state where the communication apparatus 151 is operating in the connection setup mode thus corresponds to a state where the administrator password has been input to the communication apparatus 151 and authenticated. In other words, in the present embodiment, the connection setup mode corresponds to a mode that is enabled based on the administrator password being input by the user.

[0080] If the communication apparatus 151 is one having no operation panel, the user is unable to input the administrator password to the communication apparatus 151. Moreover, even if the communication apparatus 151 is capable of setting the operation panel as the scope of the administrator password, the administrator password authentication may be disabled by user operation on the communication apparatus 151. That is, in starting operation of the communication apparatus 151 having no operation panel or the communication apparatus 151 of which the administrator password authentication is disabled by the user, the administrator password does not need to be input. An example of the communication apparatus capable of setting the operation panel as the scope of the administrator password is a communication apparatus having an operation panel.<Issues to Be Solved by Present Embodiment>

[0081] There has been a configuration where the terminal apparatus 101, to connect the communication apparatus 151 to an AP by connection setup processing, transmits information for connecting to the AP regardless of whether administrator password authentication is performed by the communication apparatus 151. The conventional configuration, however, enables a third party who does not know the administrator password to transmit information for connecting to an AP from the terminal apparatus 101 to the communication apparatus 151. There have thus been cases where the AP for the communication apparatus 151 to connect to is changed by a third party.

[0082] To solve such an issue, in the present embodiment, the terminal apparatus 101 performs processing for preventing the network settings of the communication apparatus 151 from being changed by a third party. Specifically, the predetermined application on the terminal apparatus 101 controls the terminal apparatus 101 to not execute the network setup of the communication apparatus 151, based on administrator password authentication not being performed by the communication apparatus 151. The predetermined application then controls the terminal apparatus 101 to enable execution of the network setup of the communication apparatus 151, based on the administrator password authentication being performed by the communication apparatus 151. To prevent the network setup of the communication apparatus 151 from being executed, the predetermined application displays a notification screen for prompting the user to change the communication apparatus 151 to the connection setup mode.

[0083] Conventionally, if the communication apparatus 151 detected through a search by the terminal apparatus 101 with the predetermined application is one being connected to the terminal apparatus 101 via an AP, the predetermined application has performed processing for enabling execution of the network setup of the communication apparatus 151. However, there has been an issue that the execution of the network setup by the predetermined application may change the IP address of the communication apparatus 151, and the infrastructure connection established between the terminal apparatus 101 and the communication apparatus 151 may be disconnected.

[0084] Specifically, there has been an issue that the connection between the AP and the communication apparatus 151 may be disconnected, the terminal apparatus 101 may become unable to connect to the communication apparatus 151 via the AP, and the terminal apparatus 101 may become unable to use the communication apparatus 151.

[0085] To solve such an issue, in the present embodiment, the predetermined application performs processing for preventing the disconnection of the infrastructure connection established between the terminal apparatus 101 and the communication apparatus 151. Specifically, based on an infrastructure connection being established between the communication apparatus 151 and the terminal apparatus 101, the predetermined application does not perform the network setup processing of the communication apparatus 151. Based on the connection between the communication apparatus 151 and the terminal apparatus 101 being one using the internal AP of the communication apparatus 151 to be enabled based on the communication apparatus 151 operating in the connection setup mode, the predetermined application performs processing for enabling the execution of the network setup processing of the communication apparatus 151. Based on the connection between the communication apparatus 151 and the terminal apparatus 101 being one using an AP different from the internal AP of the communication apparatus 151 to be enabled based on the communication apparatus 151 operating in the connection setup mode, the predetermined application performs the processing for preventing the execution of the network setup processing of the communication apparatus 151. To put another way, the internal AP of the communication apparatus 151 to be enabled based on the communication apparatus 151 operating in the connection setup mode corresponds to an AP to be disabled based on a lapse of a predetermined time since the internal AP is enabled. The foregoing processing for preventing the execution of the network setup processing of the communication apparatus 151 corresponds specifically to not accepting the network settings of the communication apparatus 151 from the user by the communication apparatus 151 graying out a button for accepting the network settings of the communication apparatus 151 from the user based on the communication apparatus 151 being one establishing the infrastructure connection with the terminal apparatus 101.

[0086] The present disclosure does not necessarily solve all the foregoing issues, and may solve any of the foregoing issues. In other words, the present disclosure does not need to perform all the processes for solving the foregoing issues, and may perform any of the processes for solving the foregoing issues.<Processing That Predetermined Application Performs in Present Embodiment>

[0087] FIG. 4 is a flowchart illustrating an example of processing that the terminal apparatus 101 performs using the predetermined application in the present embodiment. Each process of the flowchart of FIG. 4 is implemented, for example, by the CPU 103 loading the predetermined application stored in a memory such as the ROM 104 into the RAM 105 and executing the predetermined application. The flowchart of FIG. 4 is started based on an operation for executing a search for the communication apparatus 151 being performed on a screen displayed by the predetermined application.

[0088] The flowchart of FIG. 4 may be started in response to launching of the predetermined application.

[0089] In step S401, the predetermined application identifies a communication apparatus that is connected to the same network as that of the terminal apparatus 101 and has an IPv4 address and a communication apparatus that is in the connection setup mode as search targets in executing a search for communication apparatuses in step S402 to be described below. A communication apparatus that is connected to the same network as that of the terminal apparatus 101 will hereinafter be referred to as a communication apparatus in an infrastructure connection state. A communication apparatus having an IPv4 address among communication apparatuses in the infrastructure connection state will be referred to as a communication apparatus in the infrastructure connection state with an IPv4 address.

[0090] In step S402, the predetermined application performs processing for searching for communication apparatuses that are the identified search targets. Since a communication apparatus in the infrastructure connection state with an IPv4 address is identified as a search target communication apparatus in step S401, the predetermined application, in this processing, performs processing for searching for a communication apparatus in the infrastructure connection state with an IPv4 address. The processing for searching for a communication apparatus in the infrastructure connection state with an IPv4 address will now be described. The predetermined application specifically generates a Simple Network Management Protocol (SNMP) packet for detecting a communication apparatus in the infrastructure connection state with an IPv4 address on the network to which the terminal apparatus 101 is connected. This SNMP packet includes information for specifying the transmission destination of the SNMP packet. In the processing for searching for a communication apparatus in the infrastructure connection state with an IPv4 address, information corresponding to communication apparatuses in the infrastructure connection state with IPv4 addresses on the network to which the terminal apparatus 101 is connected is included as the information for specifying the transmission destination of the SNMP packet. That is, the predetermined application instructs the OS to transmit the SNMP packet to communication apparatuses in the infrastructure connection state with IPv4 addresses. In response, the OS executes a search for communication apparatuses in the infrastructure connection state with IPv4 addresses, using the SNMP packet.

[0091] In parallel with the processing for searching for a communication apparatus in the infrastructure connection state with an IPv4 address, the predetermined application also performs processing for searching for a communication apparatus operating in the connection setup mode near the terminal apparatus 101. Specifically, the predetermined application instructs the OS to search for APs. The predetermined application then determines whether there is an SSID including a character string indicating a vendor name that is a character string included in the SSID of the connection setup AP, among the SSIDs of APs detected by the search executed by the OS. The predetermined application shall retain the character string indicating the vendor name in advance.

[0092] The search for a communication apparatus operating in the connection setup mode is not limited to being executed in parallel with the search for a communication apparatus in the infrastructure connection state with an IPv4 address, and may be executed after the search for a communication apparatus in the infrastructure connection state with an IPv4 address is performed. Alternatively, the search for a communication apparatus operating in the connection setup mode may be executed at a predetermined timing that is any timing from when the predetermined application is launched to when the search for a communication apparatus in the infrastructure connection state with an IPv4 address is executed. The foregoing processing for searching for a communication apparatus in the infrastructure connection state with an IPv4 address and the processing for searching for a communication apparatus operating in the connection setup mode near the terminal apparatus 101 are also executed during the processing of step S402 that is performed after the processing of step S408 to be described below is performed.

[0093] In step S403, the predetermined application acquires model information about the communication apparatuses detected by the communication apparatus searches executed by the OS from the communication apparatuses. In the present embodiment, the device information about the communication apparatus 151 is managed in a Management Information Base (MIB) in the communication apparatus 151. The MIB constructed here may be a standard MIB such as a communication apparatus MIB, or a vendor-specific MIB. In this processing, the predetermined application acquires the model information about the communication apparatuses managed in the vendor-specific MIBs in the communication apparatuses as the model information about the detected communication apparatuses. While in the present embodiment the predetermined application acquires the information managed in the vendor-specific MIBs in the detected communication apparatuses as the model information about the detected communication apparatuses, such a configuration is not restrictive. That is, the predetermined application may acquire information managed in standard MIBs in the detected communication apparatuses as the model information about detected communication apparatuses.

[0094] Moreover, in the present embodiment, the OS executes the communication apparatus search using SNMP packets, i.e., a communication apparatus search based on the SNMP protocol. However, such a configuration is not restrictive. More specifically, the OS may execute the communication apparatus search based on protocols other than SNMP, such as multicast Domain Name System (DNS) and Bonjour.

[0095] In step S404, the predetermined application displays a screen displaying a communication apparatus list, which is a list of communication apparatuses detected (discovered) by the communication apparatus searches executed by the OS. FIGS. 5A and 5B illustrate examples of the screen displayed in this processing. FIG. 5A will now be described. A screen 500 is an example of a screen displayed based on a communication apparatus in the infrastructure connection state with an IPv4 address and a communication apparatus in the connection setup mode being searched for. The screen 500 includes a drop-down list 501 for selecting a search target, a menu 502 related to communication apparatus settings, and an area 503 for displaying the communication apparatus list. The drop-down list 501 for selecting a search target is a drop-down list for the user to select a target of communication apparatus search. This drop-down list is intended to accept the user's selection of any one of the following as a target of the communication apparatus search to be executed by the OS in step S402: a communication apparatus in the infrastructure connection state with an IPv4 address and a communication apparatus in the connection setup mode; a communication apparatus in the infrastructure connection state with an IPv6 address and a communication apparatus in the connection setup mode; and a communication apparatus in a USB connection state. The target of the communication apparatus search is identified based on the user selecting a target of communication apparatus search in the drop-drown list 501. When the drop-down list 501 is operated, a plurality of options is displayed in a drop-down list form. The plurality of options includes "IPv4", "IPv6", and "USB". "IPv4" is an option for searching for a communication apparatus in the infrastructure connection state with an IPv4 address and a communication apparatus in the connection setup mode. "IPv6" is an option for searching for a communication apparatus in the infrastructure connection state with an IPv6 address and a communication apparatus in the connection setup mode. "USB" is an option for searching for a communication apparatus in the USB connection state. The menu 502 related to the communication apparatus settings is a menu for accepting the user's instructions related to the settings of a communication apparatus identified as a target of network setup. A communication apparatus identified as the target of network setup will hereinafter be referred to as a communication apparatus identified as a setup target. To put another way, a communication apparatus identified as the setup target corresponds to a communication apparatus selected as the target of network setup by the

[0096] user among the communication apparatuses displayed in the area 503 to be described below. The predetermined application newly displays a network settings button 511 and a configure device via web button 512 based on the menu 502 being operated by the user. FIG. 5B illustrates an example of the screen that the predetermined application displays based on the menu 502 related to the communication apparatus settings being operated by the user. FIG. 5B includes the network settings button 511 and the configure device via web button 512. If the menu 502 is operated by the user without any of the communication apparatuses displayed in the area 503 being selected, the network settings button 511 and the configure device via web button 512 are both grayed out. The network settings button 511 is a button for accepting network settings of the communication apparatus identified as the setup target from the user. The configure device via web button 512 is a button for providing remote UI display intended to configure various settings of the communication apparatus identified as the setup target. The area 503 for displaying the communication apparatus list is an area where information about the communication apparatuses detected by the communication apparatus search executed in step S402 is displayed. The information about the communication apparatuses displayed in the area 503 corresponds to information that the predetermined application acquires from the communication apparatuses detected by the OS search. In the present embodiment, the information about the communication apparatuses includes the product names, serial numbers, status information, IP addresses, and Media Access Control (MAC) addresses of the communication apparatuses, and information about the connection method between the AP and the communication apparatuses. The status information about a communication apparatus in the infrastructure connection state is displayed as "ready", which corresponds to the communication apparatus being ready for use via the terminal apparatus 101. On the screen 500, the communication apparatuses from AAAA series down to HHHH series are examples of the communication apparatus in the infrastructure connection state. The status information about a communication apparatus operating in the connection setup mode is displayed as "configurable", which corresponds to the wireless network settings being configurable using the terminal apparatus 101. On the screen 500, the communication apparatus IIII series is an example of the communication apparatus operating in the connection setup mode. In the present embodiment, as the connection method information displayed in the area 503, labels indicating either a wired LAN or a wireless LAN are displayed. The area 503 displays "wired LAN" if the control method is a wired LAN, and "Wi-Fi" if the connection method

[0097] is a wireless LAN. However, such a configuration is not restrictive. Any label corresponding to the connection method being a wired LAN may be displayed if the connection method is a wired LAN, and any label corresponding to the connection method being a wireless LAN may be displayed if the connection method is a wireless LAN. That is, labels other than "wired LAN" and "Wi-Fi" may be displayed. Icons representing the connection methods may be displayed aside from the labels.

[0098] In step S405, the predetermined application accepts a user operation on the screen displayed in step S404.

[0099] In step S406, the predetermined application determines whether the user operation accepted instep S405 is a user operation on the drop-down list 501 for selecting a search target or selection of one of the communication apparatuses displayed in the communication apparatus list. If the predetermined application determines that the drop-down list 501 for selecting a search target is operated (OPERATE DROP-DOWN LIST FOR SELECTING SEARCH TARGET in step S406), the processing proceeds to step S407. If the predetermined application determines that one of the communication apparatuses displayed in the communication apparatus list is selected (SELECT ONE OF COMMUNICATION APPARATUSES in step S406), the processing proceeds to step S411.

[0100] In step S407, the predetermined application determines the communication apparatus(es) selected as the search target(s), based on the drop-down list 501 for selecting a search target being operated by the user. If the predetermined application determines that a communication apparatus in the infrastructure connection state with an IPv4 address and a communication apparatus in the connection setup mode are selected as search targets (IPv4 in step S407), the processing proceeds to step S408. If the predetermined application determines that a communication apparatus in the infrastructure connection state with an IPv6 address and a communication apparatus in the connection setup mode are selected as search targets (IPv6 in step S407), the processing proceeds to step S409. If the predetermined application determines that a communication apparatus in the USB connection state is selected as a search target (USB in step S407), the processing proceeds to step S410.

[0101] In step S408, the predetermined application identifies a communication apparatus in the infrastructure connection state with an IPv4 address and a communication apparatus in the network setup mode as communication apparatus search targets. With a communication apparatus in the infrastructure connection state with an IPv4 address and a communication apparatus in the network setup mode identified as search targets in step S408, the predetermined application, in step S402, executes a search for a communication apparatus in the infrastructure connection state with an IPv4 address and a communication apparatus in the network setup mode. Details of the search for a communication apparatus in the infrastructure connection state with an IPv4 address and a communication apparatus in the connection setup mode have been described in conjunction with step S402, and a description thereof will thus be omitted here.

[0102] In step S409, the predetermined application identifies a communication apparatus in the infrastructure connection state with an IPv6 address that is connected to the same network as that of the terminal apparatus 101 and a communication apparatus in the network setup mode as communication apparatus search targets. With a communication apparatus in the infrastructure connection state with an IPv6 address and a communication apparatus in the network setup mode identified as search targets in step S409, the predetermined application, in step S402, performs a search for a communication apparatus in the infrastructure connection state with an IPv6 address and a communication apparatus in the network setup mode. The search for a communication apparatus in the infrastructure connection state with an IPv6 address and a communication apparatus in the connection setup mode is performed by the predetermined application instructing the OS to transmit SNMP packets to communication apparatuses in the infrastructure connection state with IPv6 addresses. Details of the search are similar to those of a search for a communication apparatus in the infrastructure connection state with an IPv4 address and a communication apparatus in the connection setup mode, and a detailed description thereof will thus be omitted. The screen displayed in step S404 when a communication apparatus in the infrastructure connection state with an IPv6 address and a communication apparatus in the connection setup mode are identified as search targets in step S409 is similar to that when a communication apparatus in the infrastructure connection state with an IPv4 address and a communication apparatus in the connection setup mode are identified as search targets. Since the screen has been described in conjunction with step S404, a description thereof will be omitted here.

[0103] In step S410, the predetermined application identifies a communication apparatus in the USB connection state as a communication apparatus search target. With a communication apparatus in the USB connection state identified as a communication apparatus search target, the predetermined application, in step S402, performs a search for a communication apparatus in the USB connection state. The search for a communication apparatus in the USB connection state to be executed by the predetermined application will now be described. A communication apparatus connected to the terminal apparatus 101 via a USB cable will hereinafter be referred to as a communication apparatus in the USB connection state. In this processing, the predetermined application generates an SNMP packet for detecting a communication apparatus in the USB connection state. This SNMP packet includes information about a communication apparatus in the USB connection state that is detected using an API of the OS, as destination specification information. In other words, the predetermined application instructs the OS to transmit the SNMP packet to the communication apparatus in the USB connection state that is detected by the OS. In response, the OS performs a search for the communication apparatus in the USB connection state via USB, using the SNMP packet. As described above, in the present embodiment, the predetermined application, when searching for a communication apparatus in the infrastructure connection state, also searches for a communication apparatus in the connection setup mode. By contrast, during the search for a communication apparatus in the USB connection state, the predetermined application does not search for a communication apparatus in the connection setup mode.

[0104] Next, a description will be given of FIG. 5E, which illustrates an example of the screen displayed in step S404 when a communication apparatus in the USB connection state is identified as a search target in step S410. A screen 530 is an example of the screen displayed based on a communication apparatus in the USB connection state being searched for. The detected communication apparatus in the USB connection state, KKKK series, will now be referred to as a communication apparatus 151. The communication apparatus 151 corresponds to a communication apparatus connected to the terminal apparatus 101 via USB. The screen 530 includes a drop-down list 531 for selecting a search target, a menu 532 related to the communication apparatus settings, and an area 533 for displaying a communication apparatus list. The drop-down list 531 for selecting a search target is similar to the drop-down list 501 for selecting a search target, and a description thereof will thus be omitted.

[0105] Since the screen 530 is an example of the screen displayed based on a communication apparatus in the USB connection state being searched for, the drop-down list 531 displays a label indicating that a communication apparatus in the USB connection state is the search target. As an example of the label, the drop-down list 531 displays "USB". The menu 532 related to the communication apparatus settings is similar to the menu 502 related to the communication apparatus settings, and a description thereof will thus be omitted here. The predetermined application newly displays a network settings button 541 and a configure device via web button 542 based on the menu 532 related to the communication apparatus settings being operated by the user. FIG. 5F illustrates an example of a screen that the predetermined application displays based on the menu 532 related to the communication apparatus settings being operated by the user. FIG. 5F includes the network settings button 541 and the configure device via web button 542. In the present embodiment, if the user operates the menu 532 without selecting any communication apparatus displayed in the area 533, the buttons 541 and 542 are both grayed out like the buttons 511 and 512. The area 533 for displaying a communication apparatus list is similar to the area 503 for displaying a communication apparatus list. Note that when a communication apparatus in the USB connection state is detected, the predetermined application, in step S403, acquires the product name and serial number of the detected communication apparatus 151 from the communication apparatus 151, but not the IP address or the like of the communication apparatus 151. The area 533 thus displays the product name and serial number of the communication apparatus 151 but not the IP address or the like. Such a configuration is not restrictive. Even if a communication apparatus in the USB connection state is the search target, the predetermined application may acquire the IP address and the like from the communication apparatus 151 detected by the search, and display the IP address and the like in the area 533. In the present embodiment, the connection method displayed in the area 533 corresponds to the connection method between the terminal apparatus 101 and the communication apparatus 151. In the present embodiment, the area 533 displays "USB" indicating a USB connection, since the connection between the terminal apparatus 101 and the communication apparatus 151 is a USB connection. The label indicating a USB connection is displayed as the information about the connection information, based on a communication apparatus in the USB connection state being identified as the search target in step S410. In the present embodiment, "USB" is displayed as an example of the label. However, such a configuration is not restrictive. That is, any label corresponding to the connection method being USB may be displayed, i.e., labels other than "USB" may be displayed. An icon representing the connection method may be displayed aside from the label.

[0106] In step S411, which is performed if the user operation is determined to be selection of one of the communication apparatuses displayed in the communication apparatus list in step S406, the predetermined application sets whether to enable or disable user operations on the buttons included in the screen displayed in the processing of step S404. Specifically, the predetermined application sets whether to enable or disable user operations on the network settings button and the configure device on web button.

[0107] FIGS. 5C, 5D, and 5G illustrate examples of the screen displayed in this processing. FIG. 5C illustrates an example of the network settings button and the configure device via web button displayed based on a communication apparatus in the infrastructure connection state being identified as the setup target. FIG. 5C corresponds to a state where HHHH series, which is a communication apparatus in the infrastructure connection state, is selected by the user and is identified as the setup target. In the present embodiment, based on a communication apparatus in the infrastructure connection state being identified as the setup target, the predetermined application grays out the network settings button 511 to not accept operation from the user. Moreover, based on a communication apparatus in the infrastructure connection state being identified as the setup target, the predetermined application displays the configure device via web button 512 in a state capable of accepting operation from the user. In other words, the predetermined application displays the configure device via web button 512 without graying out. While in the present embodiment the network settings button 511 is grayed out based on a communication apparatus in the infrastructure connection state being identified as the setup target, such a configuration is not restrictive. For example, even when a communication apparatus in the infrastructure connection state is identified as the setup target, the network settings button 511 may be displayed in a state capable of accepting operation from the user. The predetermined application may be configured to then issue a notification corresponding to the fact that the network setup of the communication apparatus is unable to be executed, based on the network settings button 511 being operated by the user.

[0108] FIG. 5D illustrates an example of the network settings button and the configure device via web button displayed based on a communication apparatus in the connection setup mode being identified as the setup target. FIG. 5D corresponds to a state where IIII series, which is a communication apparatus in the connection setup mode, is selected by the user and is identified as the setup target. In the present embodiment, based on a communication apparatus in the connection setup mode being identified as the setup target, the predetermined application displays a network settings button 521 in a state capable of accepting operation from the user. In the present embodiment, based on a communication apparatus in the connection setup mode being identified as the setup target, the predetermined application grays out a configure device via web button 522 to not accept operation from the user. The network settings button 521 is a button similar to the network settings button 511, and the configure device via web button 522 is a button similar to the configure device via web button 512. While in the present embodiment the configure device via web button 522 is grayed out based on a communication apparatus in the connection setup mode being identified as the setup target, such a configuration is not restrictive. For example, even when a communication apparatus in the connection setup mode is selected, the configure device via web button 522 may be displayed in a state capable of accepting operation from the user. The predetermined application may be configured to then issue a notification corresponding to the fact that the device is unable to be configured via the web, based on the configure device via web button 522 being operated by the user.

[0109] FIG. 5G illustrates an example of a screen displayed based on a communication apparatus in the USB connection state being identified as the setup target. FIG. 5G corresponds to a state where KKKK series, which is a communication apparatus in the USB connection state, is selected by the user and is identified as the setup target. In the present embodiment, based on a communication apparatus in the USB connection state being identified as the setup target, the predetermined application displays a network settings button 541 in a state capable of accepting operation from the user. In the present embodiment, the predetermined application grays out a configure device via web button 542 to not accept operation from the user. The network settings button 541 is similar to the network settings buttons 511 and 521, and the configure device via web button 542 is similar to the configure device via web buttons 512 and 522.

[0110] In the present embodiment, the predetermined application accepts the network settings of the communication apparatus in the connection setup mode or the communication apparatus in the USB connection state, and transmits the network setting information to the communication apparatus. Then, in step S417 to be described below, the predetermined application sets the status of the destination communication apparatus to which the network setting information is transmitted to configured. The processing then proceeds to step S404, and the predetermined application displays "configured" as the state of the configured communication apparatus in the communication apparatus list. The predetermined application thus performs this processing even when the processing transitions from step S417 to step S404. In this processing performed after the transition from step S417 to step S404, the predetermined application disables both the user operation on the network settings button and the user operation on the configure device via web button. Details of this processing performed after the transition from step S417 to step S404 will be described below in conjunction with step S417.

[0111] In summary, in the present embodiment, the user operation on the network settings button is enabled based on the communication apparatus identified as the setup target being a communication apparatus in the connection setup mode or a communication apparatus in the USB connection state, and disabled based on the communication apparatus 151 that is the communication apparatus identified as the setup target being a communication apparatus in the infrastructure connection state, or the communication apparatus 151 becoming a configured communication apparatus. The user operation on the configure device via web button is enabled based on the communication apparatus 151 being a communication apparatus in the infrastructure connection state. The user operation on the configure device via web button is disabled based on the communication apparatus 151 being a communication apparatus in the connection setup mode or a communication apparatus in the USB connection state, or the communication apparatus 151 becoming a configured communication apparatus. In other words, the predetermined application exercises control to, if a communication apparatus in the infrastructure connection state is identified as the setup target, not accept network settings of the communication apparatus from the user, and if a communication apparatus in the connection setup mode or a communication apparatus in the USB connection state is identified as the setup target, accept the network settings of the communication apparatus from the user. Note that if a communication apparatus in the infrastructure connection state is identified as the setup target, the predetermined application performs control so that the remote UI screen is displayed (see FIG. 9). To log in to the remote UI screen, administrator password authentication may be accepted through input of an administrator password on the remote UI screen.

[0112] Depending on user settings of the communication apparatus 151, the administrator password authentication on the remote UI screen can be switched between enabled and disabled. The administrator password authentication on the remote UI screen is therefore not performed on a communication apparatus for which the administrator password authentication on the remote UI screen is disabled.

[0113] In step S412, the predetermined application determines the button operated by the user. Specifically, the predetermined application determines whether the network settings button is operated with a setup target communication apparatus identified, or the configure device via web button is operated. If the predetermined application determines that the network settings button is operated (YES in step S412), the processing proceeds to step S413. If the predetermined application determines that the configure device via web button is operated (NO in step S412), the processing proceeds to step S418. As described above, the network settings button is a button for accepting the network settings of the communication apparatus identified as the setup target. As described above, the predetermined application exercises control to not accept network settings from the user based on a communication apparatus in the infrastructure connection state being identified as the setup target, and exercises control to accept network settings from the user based on a communication apparatus in the connection setup mode or a communication apparatus in the USB connection state being identified as the setup target. In other words, the determination in this processing that the network settings button is operated corresponds to the communication apparatus identified as the setup target being a communication apparatus in the connection setup mode or a communication apparatus in the USB connection state. As described above, the configure device via web button is a button for providing remote UI display for configuring the settings of the communication apparatus identified as the setup target. As described above, in the present embodiment, when a communication apparatus in the infrastructure connection state is identified as the setup target, the predetermined application performs control so that the remote UI screen is displayed, and when a communication apparatus in the connection setup mode is identified as the setup target, the predetermined application performs control so that the remote UI screen is not displayed. In other words, the determination in this processing that the configure device via web button is operated corresponds to the communication apparatus identified as the setup target being a communication apparatus in the infrastructure connection state.

[0114] In step S413, the predetermined application determines whether a communication apparatus in the USB connection state is selected as the setup target. Specifically, the predetermined application determines whether the communication apparatus selected as the setup target when the network settings button or the configure device via web button is operated by the user operation made in step S412 is a communication apparatus in the USB connection state. If the predetermined application determines yes (YES in step S413), the processing proceeds to step S414. If the predetermined application determines no (NO in step S413), the processing proceeds to step S415. As described above, the network settings button being operated in step S412 corresponds to a communication apparatus in the connection setup mode or a communication apparatus in the USB connection state being selected as the setup target by the user. In other words, the determination of no by the predetermined application in this processing means that a communication apparatus in the connection setup mode is selected as the setup target.

[0115] In step S414, the predetermined application executes network setup processing. Details of the network setup processing will be described below.

[0116] In step S415, which is performed if the determination of step S413 is no, the predetermined application displays a first network setup screen. Based on acceptance of an instruction to display the first network setup screen from the user, the terminal apparatus 101 temporarily establishes a connection with the communication apparatus operating in the connection setup mode, acquires setting information about the IP address set in the communication apparatus, then disconnects the connection with the communication apparatus, and connects to a predetermined AP again. The acceptance of an instruction to display the first network setup screen from the user refers to the user operation being made on the network settings button 521 with the communication apparatus operating in the connection setup mode being selected by the user on the screen 500. FIG. 7 illustrates an example of a screen displayed in this processing. A screen 700 includes an area 701 for selecting a connection scheme, an SSID input box 702, a pull-down list 703 for selecting an encryption method, an area 704 for configuring an IP address, a set button 705, and a cancel button 706. The area 701 for selecting a connection scheme accepts the user's selection of either an infrastructure connection or a direct connection as the connection scheme between the communication apparatus 151 and the terminal apparatus 101. The SSID input box 702 is a box for inputting the SSID of the AP identified as a connection target of the communication apparatus 151. The pull-down list 703 for selecting an encryption method is an area for accepting the encryption method settings. If the terminal apparatus 101 is connected to the predetermined AP at a timing when the instruction to display the first network setup screen is accepted from the user, the predetermined application acquires the information about the SSID and the encryption method of the predetermined AP from the OS at that timing. If the terminal apparatus 101 is connected to the predetermined AP at the timing when the screen 700 is displayed, the SSID input box 702 thus displays the SSID of the predetermined AP, and the pull-down list 703 for selecting an encryption method displays the encryption method set in the predetermined AP. If the terminal apparatus is not connected to the predetermined AP at the timing when the screen 700 is displayed, the SSID input box 702 and the pull-down list 703 for selecting an encryption method are left blank. In the present embodiment, the predetermined AP refers to the AP to which the terminal apparatus 101 is connected when the processing triggering the flowchart of FIG. 4 is performed.

[0117] If a direct connection is selected by the user in the area 701 for selecting a connection scheme, the SSID input box 702 and the pull-down list 703 for selecting an encryption method are grayed out to not accept user operation thereon. In the present embodiment, the SSID input box 702 for inputting an SSID for wireless LAN connection is described to accept keyboard input of a character string from the user. However, the SSIDs of APs discovered by the predetermined application or the SSIDs of APs discovered by the communication apparatus 151 may be listed to accept selection. The drop-down list of encryption methods included in the pull-down list 703 for selecting an encryption method displays options including no encryption, Wired Equivalent Privacy (WEP), Wi-Fi Protected Access (WPA) / Wi-Fi Protected Access 2 (WPA2), WPA2 / Wi-Fi Protected Access 3 (WPA3), and WPA3, and accepts user selection. In the present embodiment, the selection is described to be accepted using the drop-down list. However, based on the SSID input to the SSID input box 702 for inputting an SSID for wireless LAN connection, an encryption method preset for the SSID may be automatically set. The area 704 for configuring an IP address is an input box for accepting IPv4 and IPv6 settings. The predetermined application accepts IPv4 or IPv6 settings from the user in the area 704 for configuring an IP address. The screen 700 illustrated in FIG. 7 is an example of the screen displayed when IPv4 configuration is selected by the user, and the area 704 for configuring an IP address displays an area for configuring an IPv4 address. The area 704 for configuring an IP address is switched to display an area for configuring an IPv6 address based on IPv6 configuration being selected by the user. The predetermined application displays information about the IP address of the communication apparatus 151, which is acquired based on the instruction to display the first network setup screen being accepted from the user, in the area 704 at the timing when the first network setup screen is displayed.

[0118] If the set button 705 is pressed by the user, the processing proceeds to step S416. If the cancel button 706 is pressed by the user, the predetermined application closes this screen 700 and displays the screen 500.

[0119] In step S416, the predetermined application transmits setting information configured on the first network setup screen 700 to the communication apparatus 151. In other words, at least either the information for connecting to the AP identified as the connection target of the communication apparatus 151 or the setting information about the IP address is transmitted to the communication apparatus 151. Specifically, this information includes the connection scheme selected in the area 701, the SSID of the AP input to the SSID input box 702, the encryption method selected in the pull-down list 703, and the setting information about the IP address configured in the area 704. Note that, based on the AP identified as the connection target of the communication apparatus 151 being the predetermined AP, the predetermined application transmits the information for connecting to the predetermined AP to the communication apparatus 151 without accepting input of the password of the predetermined AP from the user. On the other hand, based on the AP identified as the connection target of the communication apparatus 151 being an AP other than the predetermined AP, the predetermined application accepts input of the password of another AP from the user. The predetermined application then performs preliminary connection setup processing based on the password of another AP being input by the user. The preliminary connection setup processing will now be described. The predetermined application attempts connection to another AP, using setting information including the SSID and password of another AP that is the AP identified as the connection target of the communication apparatus 151. Based on a connection between another AP and the terminal apparatus 101 being established by the preliminary connection setup processing, the predetermined application determines that the password of another AP input by the user is correct. The terminal apparatus 101 then disconnects the connection with another AP, and connects to the communication apparatus 151 again. The predetermined application then transmits the information for connecting to another AP (such as the SSID and password of the AP) to the communication apparatus 151.

[0120] After the setting information for connecting to the predetermined AP or another AP is transmitted to the communication apparatus 151, the communication apparatus 151 terminates the connection setup mode, and connects to the AP identified as the connection target of the communication apparatus 151 using the received information. The termination of the connection setup mode also disconnects the connection between the communication apparatus 151 and the terminal apparatus 101. The terminal apparatus 101 then connects to the predetermined AP again, using the information about the predetermined AP acquired at the timing when the instruction to display the first network setup screen is accepted from the user. The processing then proceeds to step S417.

[0121] In step S417, the predetermined application sets the status of the communication apparatus detected as the communication apparatus in the connection setup mode or the communication apparatus in the USB connection state to configured. The processing transitions to step S404. FIGS. 15A and 15D illustrate examples of a screen displayed by the processing of step S404 based on the processing of step S417 being executed. FIG. 15A illustrates a screen 1500, which is an example of a communication apparatus list screen displayed in this processing based on the network setting information being transmitted to a communication apparatus in the USB connection state. Based on a menu 1502 being operated by the user, the predetermined application newly displays a network settings button 1522 and a configure device via web button 1523. FIG. 15B illustrates an example of a screen displayed by the predetermined application based on the menu 1502 related to communication apparatus settings being operated by the user. When the menu 1502 is operated by the user without any communication apparatus displayed in an area 1501 being selected, the buttons 1522 and 1523 are both grayed out. Both the buttons 1522 and 1523 are also grayed out when, in step S411, the menu 1502 is operated by the user with a communication apparatus displayed in the area 1501 being selected as illustrated in FIG. 15C.

[0122] FIG. 15D illustrates an example of a communication apparatus list screen displayed based on the network setting information being transmitted to a communication apparatus in the connection setup mode as the setup target in this processing. A screen 1510 of FIG. 15D is a communication apparatus list screen displayed based on the network setting information being transmitted to the communication apparatus in the connection setup mode. Based on a menu 1512 being operated by the user, the predetermined application newly displays a network settings button 1532 and a configure device via web button 1533. FIG. 15E illustrates an example of a screen that the predetermined application displays based on the menu 1512 related to communication apparatus settings being operated by the user. Like the buttons 511 and 512, the buttons 1532 and 1533 are both grayed out when the menu 1512 is operated by the user without any of the communication apparatuses displayed in an area 1511 being selected. Both the buttons 1532 and 1533 are also grayed out when, in step S411, the menu 1512 is operated by the user with one of the communication apparatuses displayed in the area 1511 being selected as illustrated in FIG. 15F.

[0123] In the area 533 of the screen 530 displayed based on the communication apparatus in the USB connection state being identified as a search target, the status of the communication apparatus in the USB connection state is blank. By contrast, in the area 1501 of the screen 1500, the status of the communication apparatus in the USB connection state is updated to configured. The screen 1510 is a communication apparatus list screen displayed based on completion of the network setup of the communication apparatus in the connection setup mode. In the area 503 of the screen 500 displayed based on a communication apparatus in the infrastructure connection state being identified, the status of the communication apparatus in the connection setup mode is "configurable". By contrast, in the area 1511 of the screen 1510, the status of the communication apparatus in the connection setup mode is updated to configured.

[0124] In step S418, which is performed if the determination result of step S412 is that the configure device via web button is operated, the predetermined application displays a remote UI screen. FIG. 12 illustrates an example of a screen displayed in this processing. The remote UI screen has a function of configuring the IP address of the communication apparatus 151, as well as a function of checking information other than the network settings, such as the remaining ink level and job history of the communication apparatus 151. FIG. 12A illustrates the screen displayed in this processing. A screen 1200 is a screen for executing the network setup of the communication apparatus 151 on the remote UI screen displayed based on the configure device via web button being operated. The screen 1200 includes a detailed settings button 1201 for network configuration. The detailed settings button 1201 is a button for accepting settings such as Transmission Control Protocol / Internet Protocol (TCP / IP) settings and Web Services on Devices (WSD) settings. When the detailed settings button 1201 is operated by the user, a screen 1210 illustrated in FIG. 12B is displayed. IP address configuration is then performed by the user operating the TCP / IP settings button included in the screen 1210. As described above, in the present embodiment, if a setting that requires administrator password authentication has been made in the main body of communication apparatus 151, the user needs to perform administrator password authentication when logging in to the remote UI screen of the communication apparatus 151. This ensures that a user who knows the administrator password is operating the remote UI screen, and the predetermined application thus provides guidance that network setup can be executed from the remote UI screen.

[0125] In step S419, the processing returns to step S404.

[0126] FIG. 6 is a flowchart illustrating an example of processing that the terminal apparatus 101 performs using the predetermined application in the present embodiment. Each process of the flowchart of FIG. 6 is implemented, for example, by the CPU 103 loading the predetermined application stored in a memory such as the ROM 104 into the RAM 105 and executing the predetermined application. The processing of this flowchart corresponds to the processing of step S414.

[0127] In step S601, the predetermined application acquires information about the communication apparatus identified as the setup target. Specifically, the predetermined application acquires information about the communication apparatus in the USB connection state identified as the network setup target based on the network settings button being operated by the user with the communication apparatus in the USB connection state selected in step S406. The information about the communication apparatus to be acquired in this processing includes administrator password setting information and information indicating the operation mode. An example of the administrator password setting information is information indicating whether the communication apparatus is a model in which the operation panel can be set as the scope of the administrator password. A model in which the communication apparatus is not capable of setting its operation panel as the scope of the administrator password corresponds to a model without an operation panel or a model in which the administrator password authentication is disabled. An example of the information indicating the operation mode is information indicating whether the communication apparatus is in the connection setup mode. The predetermined application generates an SNMP packet for acquiring information about the communication apparatus identified as the setup target. This SNMP packet includes information about the communication apparatus identified as the setting information as destination specification information, and the predetermined application instructs the OS to transmit the SNMP packet to the communication apparatus identified as the setup target. In response, the OS acquires information about the communication apparatus identified as the setup target via USB using the SNMP packet.

[0128] In step S602, the predetermined application determines whether the communication apparatus identified as the setup target is a model capable of setting administrator password input to the operation panel of the communication apparatus, based on the administrator password setting information acquired in step S601.

[0129] An example of the model capable of setting administrator password input to the control panel of the communication apparatus is a model having an operation panel. On the other hand, an example of the model not capable of setting administrator password input to the operation panel of the communication apparatus is a model without an operation panel. If the predetermined application determines yes (YES in step S602), the processing proceeds to step S603. If the predetermined application determines no (NO in step S602), the processing skips step S603 and proceeds to step S604.

[0130] In step S603, the predetermined application performs processing for determining whether an administrator password is input by the user to the communication apparatus identified as the setup target.

[0131] In other words, this processing is a mode to determine whether the communication apparatus identified as the setup target is operating in a mode that is enabled based on an administrator password being input to the communication apparatus by the user. In the present embodiment, an example of the mode that is enabled based on an administrator password being input to the communication apparatus by the user is the connection setup mode. In the present embodiment, the predetermined application thus determines whether the communication apparatus identified as the setup target is operating in the connection setup mode, based on the information indicating the operation mode acquired in step S601. Note that this processing is not limited to the configuration of determining whether the communication apparatus identified as the setup target is operating in the connection setup mode. Specifically, the communication apparatus may have a specific mode different from the connection setup mode as the mode to be enabled based on an administrator password being input by the user. The predetermined application then may determine whether the communication apparatus identified as the setup target is in the specific mode different from the connection setup mode. As described above, if the predetermined application determines no in step S602, the processing skips this step and proceeds to step S604. The reason is that when the communication apparatus not capable of setting administrator password input starts operation in the connection setup mode, no administrator password needs to be input to the communication apparatus. In step S603, if the predetermined application determines yes (YES in step S603), the processing proceeds to step S604. If the predetermined application determines no (NO in step S603), the processing proceeds to step S610.

[0132] In step S604, the predetermined application displays a screen for selecting a connection method between the communication apparatus identified as the setup target and the AP. FIG. 13 illustrates an example of the screen displayed in this processing. A screen 1300 for selecting the connection method includes an area 1301 for selecting a connection method, an OK button 1302, and a cancel button 1303. The area 1301 displays "wired LAN" as an example of indicating that the connection method between the communication apparatus identified as the setup target is a wired LAN, and "Wi-Fi" as an example indicating that the connection method between the communication apparatus identified as the setup target and the AP is a wired LAN. If the OK button 1302 is operated with one of the connection methods selected in the area 1301, the predetermined application closes the screen 1300 and the processing proceeds to step S605. If the cancel button 1303 is operated, the predetermined application displays the screen 530.

[0133] In step S605, the predetermined application determines whether Wi-Fi is selected as the connection method between the communication apparatus identified as the setup target and the AP. If the predetermined application determines yes (YES in step S605), the processing proceeds to step S606. If the predetermined application determines no (YES in step S605), the processing proceeds to step S607. In this processing, "Wi-Fi" is displayed as an example of a label indicating that the connection method between the communication apparatus and the AP is a wired LAN, and "wired" is displayed as an example of a label indicating that the connection method between the communication apparatus and the AP is a wired LAN. While the present embodiment assumes a communication apparatus that supports both a wired LAN and a wireless LAN, such a configuration is not restrictive. Specifically, the predetermined application may acquire information about communication interfaces supported by the communication apparatus, and if the communication apparatus is determined to support only a wireless LAN or only a wired LAN, does not need to display the screen 1300 for selecting a connection method.

[0134] In step S606, the predetermined application displays the first network setup screen. FIG. 7 illustrates an example of the screen displayed in this processing. Since the details of FIG. 7 have been described in conjunction with step S415, a description thereof will be omitted here. In this processing, the predetermined application displays the same network setup screen as that displayed based on a communication apparatus in the connection setup mode being identified as the setup target. The SSID and encryption method of the AP for the communication apparatus to connect to and the setting information about the IP address of the communication apparatus are specified on that screen.

[0135] In step S607, which is performed if the determination of step S605 is no, the predetermined application determines whether wired is selected as the connection method between the communication apparatus identified as the setup target and the AP.

[0136] If the predetermined application determines yes (YES in step S607), the processing proceeds to step S608. If the determination application determines no (NO in step S607), the processing proceeds to step S604, and the predetermined application displays the screen 1300 for selecting a connection method.

[0137] In step S608, the predetermined application displays a second network setup screen. FIG. 14 illustrates an example of the screen displayed in this processing. A second network setup screen 1400 includes an area 1401 for configuring an IP address, a set button 1402, and a cancel button 1403. The area 1401 for configuring an IP address is similar to the area 704 for configuring an IP address, and a description thereof will thus be omitted. Unlike the first network setup screen, the second network setup screen displays only the area 1401 for configuring an IP address without displaying an area for selecting a connection scheme, an SSID input box, or a button for selecting an encryption method. When the cancel button 1403 is operated by the user, the predetermined application displays the screen 530. Based on the set button 1402 being operated by the user, the processing proceeds to step S609.

[0138] In step S609, the predetermined application transmits setting information to the communication apparatus 151. Specifically, the predetermined application transmits setting information configured on the first network setup screen 700 or the second network setup screen 1400 to the communication apparatus 151 via USB. If the setting information transmitted to the communication apparatus 151 is setting information configured on the first network setup screen 700, the setting information specifically includes the connection scheme selected in the area 701, the SSID of the AP input to the SSID input box 702, the encryption method selected in the pull-down list 703, and the setting information about the IP address configured in the area 704. If the setting information transmitted to the communication apparatus 151 is setting information configured on the second network setup screen 1400, the setting information specifically includes the setting information about the IP address configured in the area 1401. Based on the AP identified as the connection target of the communication apparatus 151 being the predetermined AP, the predetermined application transmits the information for connecting to the predetermined AP to the communication apparatus 151 without accepting input of the password of the predetermined AP from the user. By contrast, based on the AP identified as the connection target of the communication apparatus 151 being an AP other than the predetermined AP, the predetermined application accepts input of the password of another AP from the user. The predetermined application then performs the preliminary connection setup processing based on the password of another AP being input by the user. Since the details of the preliminary connection setup processing have been described in conjunction with step S416, a description thereof will be omitted here. The predetermined application transmits the information for connecting to another AP via USB, based on the connection between another AP and the terminal apparatus 101 being established by the preliminary connection setup processing.

[0139] In step S610, which is performed if the determination of step S603 is no, the predetermined application displays a notification screen for notifying that the communication apparatus 151 is to be operated in the connection setup mode. Specifically, the notification screen is used for prompting the user to change the communication apparatus 151 to the connection setup mode. FIG. 8 illustrates an example of the screen displayed in this processing. A notification screen 800 includes an area 801 for prompting the user to change the communication apparatus 151 to the connection setup mode, and an OK button 802. For example, the area 801 includes text for prompting the user to change the communication apparatus 151 to the connection setup mode, and text for prompting the user to refer to an online manual describing a method for changing to the connection setup mode. The notification screen 800 may display an operation method for changing the communication apparatus 151 to the connection setup mode. In an embodiment where the communication apparatus 151 has an administrator password-authenticated operation mode, the notification screen 800 may notify the user of an online manual describing a method for changing to the administrator password-authenticated operation mode, or text describing the method for changing to the administrator password-authenticated operation mode.

[0140] Based on the OK button802 being operated, the processing proceeds to step S611.

[0141] As described above, to start the operation of the communication apparatus 151 in the connection setup mode, the main body of the communication apparatus 151 needs to be operated. The connection setup mode is configured to automatically terminate operation after a lapse of a certain period of time since being enabled. The user therefore needs to change the communication apparatus 151 to the connection setup mode by operating the main body of the communication apparatus 151, and then promptly execute the network setup processing from the terminal apparatus 101. This ensures that the user executing the network setup processing from the terminal apparatus 101 is highly likely to be in the vicinity of the communication apparatus 151. Moreover, if the communication apparatus 151 is configured so that its operation panel is included in the scope of the administrator password, the connection setup mode corresponds to a mode enabled based on the administrator password being input to the communication apparatus 151 by the user. This ensures that the user inputting the administrator password to the communication apparatus 151 is highly likely to execute the network setup processing from the terminal apparatus 101. In such a manner, the network setup of the communication apparatus 151 can be executed with enhanced security through the administrator password authentication of the communication apparatus 151. In this processing, the predetermined application displays the notification screen for notifying that the communication apparatus 151 is to be operated in the connection setup mode. However, such a configuration is not restrictive. More specifically, the predetermined application may exercise control to prevent the execution of the network setup processing of the communication apparatuses 151 not in the connection setup mode, by performing processing other than displaying the notification screen for changing the communication apparatus 151 to the connection setup mode.

[0142] In step S611, the processing returns to step S404, and the predetermined application waits to accept any of the operations.

[0143] In the present embodiment, the order of the determinations of steps S605 and 607 is not limited in particular, and the predetermined application may perform steps S605 and S607 in any order. While a configuration where the processing for determining the connection method between the AP and the communication apparatus 151 is performed as in steps S605 and S607 has been described, the present embodiment is not limited to such a configuration. Specifically, the predetermined application may acquire information about whether the model is capable of configuring a wired LAN from the communication apparatus 151, at a timing before the processing of step S604 is performed. If the model is determined to not be capable of configuring a wired LAN, the processing then may proceed to step S606 without performing the determination processing of steps S605 and S607.

[0144] In the present embodiment, the predetermined application issues a notification to change to the connection setup mode based on the communication apparatus 151 not operating in the connection setup mode, and the user performs a specific operation on the operation panel of the communication apparatus 151. If an administrator password is set for the operation panel of the communication apparatus 151, the user inputs the administrator password to the operation panel. In other words, by notifying to change the communication apparatus 151 to the connection setup mode, the predetermined application can proceed with the network setup of the communication apparatus 151 with ensured security. Moreover, based on the setup target being a communication apparatus in the infrastructure connection state, the predetermined application grays out the network settings button to not accept user operation on the button. The predetermined application can thereby prevent the execution of the network setup processing on a communication apparatus in the infrastructure connection state, and prevent the connection between the communication apparatus 151 and the AP from being disconnected.

[0145] The connection setup mode is a mode where a specific operation on the operation panel of the communication apparatus 151 is needed. This ensures that a predetermined user who is the operator of the communication apparatus 151 is highly likely to execute the network setup processing from the terminal apparatus 101. To perform the specific operation on a communication apparatus that is capable of setting the scope of the administrator password to include the operation panel, the user also needs to input the administrator password. Specifically, in the present embodiment, based on the administrator password authentication being performed by the predetermined user on IIII series, which is a communication apparatus in the connection setup mode, it is further ensured that the network setup processing of IIII series is highly likely to be executed by the predetermined user from the terminal apparatus 101.<Other Embodiments>

[0146] In the foregoing embodiment, the connection between the communication apparatus 151 operating in the connection setup mode and the terminal apparatus 101 is described to be a Wi-Fi connection. However, such a configuration is not restrictive. For example, the connection between the communication apparatus 151 operating in the connection setup mode and the terminal apparatus 101 may be established by communication methods other than Wi-Fi, such as Bluetooth® Classic and Bluetooth® Low Energy. In such a case, the terminal apparatus 101 may maintain the Wi-Fi connection with the predetermined AP even while the connection between the communication apparatus 151 operating in the control setup mode and the terminal apparatus 101 is established. That is, in the configuration where the connection between the communication apparatus 151 operating in the connection setup mode and the terminal apparatus 101 is a Wi-Fi connection, the terminal apparatus 101 connects to the predetermined AP when the processing triggering the flowchart of FIG. 4 is executed. When the information about the predetermined AP is transmitted to the communication apparatus 151, the terminal apparatus 101 is not connected to the predetermined AP. By contrast, in the configuration where the connection between the communication apparatus 151 operating in the connection setup mode and the terminal apparatus 101 is one using a communication method other than Wi-Fi, the terminal apparatus 101 is connected to the predetermined AP both when the processing triggering the flowchart of FIG. 4 is executed and when the information about the predetermined AP is transmitted to the communication apparatus 151. The predetermined AP can thus be said to be an AP to which the terminal apparatus 101 is connected at least when the processing triggering the flowchart of FIG. 4 is performed.

[0147] In the present embodiment, if the connection between the terminal apparatus 101 and the communication apparatus 151 is one via a USB cable, the predetermined application executes the network setup processing illustrated in FIG. 6. However, such a configuration is not restrictive. Specifically, for example, the predetermined application may perform the network setup processing even when the connection between the terminal apparatus 101 and the communication apparatus 151 is one via Bluetooth® Low Energy.

[0148] In the foregoing embodiment, the predetermined application disables user operation on the network settings button based on the communication apparatus 151 being a communication apparatus in the infrastructure connection state. However, the user operation may be enabled. In other words, the predetermined application may accept the network settings of the communication apparatus in the infrastructure connection state from the user. Specifically, based on the network settings button being operated with the communication apparatus 151 in the infrastructure connection state being selected as the setup target, the predetermined application determines whether the communication apparatus 151 is in the connection setup mode. Based on the communication apparatus 151 not being in the connection setup mode, the predetermined application displays the notification screen illustrated in FIG. 8. During display of the notification screen, the predetermined application searches for the SSID of the AP to be activated based on the communication apparatus 151 starting operation in the connection setup mode. Then, based on the SSID of the communication apparatus 151 operating in the connection setup mode being detected by the search, the predetermined application closes the notification screen, displays the screen 500, and displays a label indicating that the communication apparatus 151 is configurable. Based on the network settings button being operated with the communication apparatus 151 selected, the predetermined application then determines whether the communication apparatus 151 is in the connection setup mode, and based on the communication apparatus 151 being in the connection setup mode, may execute the processing of steps S604 to S609.

[0149] According to the present embodiment, the usability of an application program that executes processing for transmitting network setting information, such as information for connecting to an AP and IP address setting information, to a communication apparatus can be improved.

[0150] Embodiment(s) of the present disclosure can also be realized by a computer of a system or apparatus that reads out and executes computer executable instructions (e.g., one or more programs) recorded on a storage medium (which may also be referred to more fully as a 'non-transitory computer-readable storage medium') to perform the functions of one or more of the above-described embodiment(s) and / or that includes one or more circuits (e.g., application specific integrated circuit (ASIC)) for performing the functions of one or more of the above-described embodiment(s), and by a method performed by the computer of the system or apparatus by, for example, reading out and executing the computer executable instructions from the storage medium to perform the functions of one or more of the above-described embodiment(s) and / or controlling the one or more circuits to perform the functions of one or more of the above-described embodiment(s). The computer may comprise one or more processors (e.g., central processing unit (CPU), micro processing unit (MPU)) and may include a network of separate computers or separate processors to read out and execute the computer executable instructions. The computer executable instructions may be provided to the computer, for example, from a network or the storage medium. The storage medium may include, for example, one or more of a hard disk, a random-access memory (RAM), a read only memory (ROM), a storage of distributed computing systems, an optical disk (such as a compact disc (CD), digital versatile disc (DVD), or Blu-ray Disc (BD)TM), a flash memory device, a memory card, and the like.

[0151] While the present disclosure has been described with reference to embodiments, it is to be understood that the present disclosure is not limited to the disclosed embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.

[0152] This application claims the benefit of Japanese Patent Application No. 2025-085924, filed May 22, 2025, which is hereby incorporated by reference herein in its entirety.

Claims

1. A non-transitory computer-readable storage medium storing a predetermined application program for causing a computer of an information processing apparatus to execute a process comprising:executing first network setup processing for transmitting network setting information about a communication apparatus to the communication apparatus; andexecuting processing for enabling execution of the first network setup processing via a first connection based on a connection between the information processing apparatus and the communication apparatus being the first connection, and executing processing for preventing execution of the first network setup processing via a second connection based on the connection between the information processing apparatus and the communication apparatus being the second connection, the first connection being a connection using a predetermined internal access point that is a predetermined access point inside the communication apparatus, the second connection being a connection using an access point different from the predetermined internal access point.

2. The non-transitory computer-readable storage medium according to claim 1,wherein the first connection is disconnected by being disabled based on a lapse of a predetermined time since the predetermined internal access point is enabled, andwherein the second connection is maintained without being disabled even after a lapse of the predetermined time since the different access point is enabled.

3. The non-transitory computer-readable storage medium according to claim 1, storing a program for further causing the computer to execute displaying a predetermined button configured to accept a predetermined operation for executing the first network setup processing from a user.

4. The non-transitory computer-readable storage medium according to claim 3,wherein the processing for enabling the execution of the first network setup processing via the first connection is processing for displaying the predetermined button without graying out, andwherein the processing for preventing the execution of the first network setup processing via the second connection is processing for graying out the predetermined button.

5. The non-transitory computer-readable storage medium according to claim 3,wherein the processing for enabling the execution of the first network setup processing via the first connection includes displaying the predetermined button so that the predetermined operation from the user is acceptable, andwherein the processing for preventing the execution of the first network setup processing via the second connection includes displaying the predetermined button so that the predetermined operation from the user is acceptable, and displaying an indication that the first network setup processing via the second connection is not to be executed based on the predetermined operation on the predetermined button being performed.

6. The non-transitory computer-readable storage medium according to claim 1, storing a program for further causing the computer to execute second network setup processing for transmitting the network setting information about the communication apparatus to the communication apparatus using an application program other than the predetermined application program based on the connection between the information processing apparatus and the communication apparatus being the second connection,wherein the application program other than the predetermined application program displays a remote user interface (UI) screen of the communication apparatus.

7. The non-transitory computer-readable storage medium according to claim 6, wherein the second network setup processing includes accepting a predetermined operation for transmitting the network setting information to the communication apparatus on the remote UI screen based on an administrator password being input by a user.

8. The non-transitory computer-readable storage medium according to claim 7, wherein the second network setup processing includes controlling so that input of the administrator password is not executed based on the communication apparatus being set by the user to disable the input of the administrator password.

9. The non-transitory computer-readable storage medium according to claim 1, wherein the second connection is an infrastructure connection where the information processing apparatus and the communication apparatus are connected via an external access point that is an access point outside the information processing apparatus.

10. The non-transitory computer-readable storage medium according to claim 1, wherein the processing for enabling the execution of the first network setup processing via the first connection includes displaying a predetermined network setup screen for accepting input related to the network setting information from a user.

11. The non-transitory computer-readable storage medium according to claim 10, wherein the network setting information is information including at least either information for the communication apparatus to connect to an external access point that is an access point outside the information processing apparatus or setting information about an Internet Protocol (IP) address of the communication apparatus.

12. The non-transitory computer-readable storage medium according to claim 1,wherein the first connection is a connection used to transmit the network setting information about the communication apparatus to the communication apparatus, andwherein the second connection is a connection used to transmit a print job for causing the communication apparatus to perform printing.

13. The non-transitory computer-readable storage medium according to claim 1, storing a program for further causing the computer to execute:obtaining first information that is information indicating an operation mode of the communication apparatus; andcontrolling the information processing apparatus to not execute first transmission processing for the communication apparatus to transmit network setting information about the communication apparatus to the communication apparatus via a predetermined connection based on the obtained first information indicating that the operation mode is not a predetermined mode, and controlling the information processing apparatus to enable the information processing apparatus to execute the first transmission processing based on the obtained first information indicating that the communication apparatus is in the predetermined mode, the predetermined connection being a connection different from a connection established based on the communication apparatus operating in the predetermined mode, the predetermined mode being a mode enabled based on an administrator password being input by a user.

14. The non-transitory computer-readable storage medium according to claim 13, storing a program for further causing the computer to execute displaying a notification screen configured to prompt the user to change the communication apparatus to the predetermined mode based on the obtained first information indicating that the communication apparatus is not in the predetermined mode.

15. The non-transitory computer-readable storage medium according to claim 14, wherein the notification screen includes text for prompting the user to change the communication apparatus to the predetermined mode.

16. The non-transitory computer-readable storage medium according to claim 14, wherein the notification screen includes text for prompting the user to refer to a manual for changing the communication apparatus to the predetermined mode.

17. The non-transitory computer-readable storage medium according to claim 1, storing a program for further causing the computer to execute transmitting at least one of a print job for causing the communication apparatus to perform printing and a scan job for causing the communication apparatus to perform a scan.

18. The non-transitory computer-readable storage medium according to claim 1, wherein the connection between the information processing apparatus and the communication apparatus to be used in the first network setup processing is a connection based on a communication method compliant with an Institute of Electrical and Electronics Engineers (IEEE) 802.11 series standard.

19. A control method for an information processing apparatus including a predetermined application program, the control method comprising:executing first network setup processing for transmitting network setting information about a communication apparatus to the communication apparatus; andexecuting processing for enabling execution of the first network setup processing via a first connection based on a connection between the information processing apparatus and the communication apparatus being the first connection, and executing processing for preventing execution of the first network setup processing via a second connection based on the connection between the information processing apparatus and the communication apparatus being the second connection, the first connection being a connection using a predetermined internal access point that is a predetermined access point inside the communication apparatus, the second connection being a connection using an access point different from the predetermined internal access point.

20. An information processing apparatus including a predetermined application program, the information processing apparatus comprising:at least one processor; andat least one memory storing instructions which, when the instructions are executed by the at least one processor, cause the information processing apparatus to:execute first network setup processing for transmitting network setting information about a communication apparatus to the communication apparatus; andexecute processing for enabling execution of the first network setup processing via a first connection based on a connection between the information processing apparatus and the communication apparatus being the first connection, and execute processing for preventing execution of the first network setup processing via a second connection based on the connection between the information processing apparatus and the communication apparatus being the second connection, the first connection being a connection using a predetermined internal access point that is a predetermined access point inside the communication apparatus, the second connection being a connection using an access point different from the predetermined internal access point.