Information processing apparatus, control method, and program
The program enhances the convenience of network setup by executing appropriate setting processes based on pre-stored profiles and network security, addressing the limitations of existing methods.
Patent Information
- Application Number
- JP2023092940
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2023-06-06
- Publication Date
- 2025-06-23
- Estimated Expiration
- 2043-06-06
AI Technical Summary
The existing form of information processing apparatuses transmitting network connection settings to communication devices lacks convenience, particularly in scenarios where wireless profiles are not pre-stored or networks require passwords.
A program for an information processing apparatus that executes different setting processes based on the presence of a pre-stored wireless profile and the security requirements of the connected network, allowing for convenient setup by skipping unnecessary processes when conditions are met.
Improves the convenience of setting up network connections by automating the selection of appropriate setup processes based on pre-stored profiles and network security, reducing user input and increasing efficiency.
Smart Images

Figure 0007696951000001 
Figure 0007696951000002 
Figure 0007696951000003
Abstract
Description
Technical Field
[0001] The present invention relates to an information processing apparatus, a control method, and a program.
Background Art
[0002] A form is known in which 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 uses the information to connect to the access point. Patent Document 1 describes that by an information processing apparatus transmitting information to a communication apparatus, a connection mode for determining a connection form between the information processing apparatus and the communication apparatus is set in the communication apparatus.
Prior Art Documents
Patent Documents
[0003]
Patent Document 1
Summary of the Invention
Problems to be Solved by the Invention
[0004] By the way, as the form in which an information processing apparatus transmits setting information for connecting to a network to a communication apparatus becomes widespread, there is a demand for improving the convenience of this form.
[0005] Therefore, an object of the present invention is to improve the convenience of a form in which an information processing apparatus transmits setting information for connecting to a network to a communication apparatus.
Means for Solving the Problems
[0006] The present invention is a program for a computer of an information processing apparatus capable of storing a wireless profile, a receiving step of receiving a predetermined instruction, When the predetermined instruction is received, a first execution step of executing a first setting process for transmitting setting information including information for connecting to any network to a communication device; When the predetermined instruction is received, a second execution step of executing a predetermined process for a second setting process which is a process different from the first setting process and is for connecting the communication device to any network; are executed, When the wireless profile regarding the network to which the information processing device is connected when the predetermined instruction is received is pre-stored in the information processing device before the predetermined instruction is received, the first setting process for transmitting the setting information including information for connecting to the network to which the information processing device is connected to the communication device is executed without the predetermined process being executed, When the wireless profile regarding the network to which the information processing device is connected when the predetermined instruction is received is not pre-stored in the information processing device before the predetermined instruction is received, but the network to which the information processing device is connected when the predetermined instruction is received is a network that can be connected without a password, the first setting process for transmitting the setting information including information for connecting to the network to which the information processing device is connected to the communication device is executed without the predetermined process being executed, When the wireless profile regarding the network to which the information processing device is connected when the predetermined instruction is received is not pre-stored in the information processing device before the predetermined instruction is received, and the network to which the information processing device is connected when the predetermined instruction is received is not a network that can be connected without a password, the predetermined process is executed.
Advantages of the Invention
[0007] According to the present invention, the convenience of the form in which the information processing device transmits setting information for connecting to a network to a communication device can be improved.
Brief Description of the Drawings
[0008]
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
Figure 8
Figure 9
Figure 10
Figure 11
Embodiments for Carrying Out the Invention
[0009] <First Embodiment> The information processing apparatus and communication apparatus included in the communication system of the present embodiment will be described. As the information processing apparatus, a smartphone is exemplified in the present embodiment, but the present invention is not limited thereto, and various apparatuses such as a terminal device, a notebook PC, a tablet terminal, a PDA (Personal Digital Assistant), a digital camera, etc. can be applied. Further, as the communication apparatus, a printer is exemplified in the present embodiment, but the present invention is not limited thereto, and various apparatuses can be applied as long as they can perform wireless communication with the information processing apparatus. For example, if it is a printer, it can be applied to an inkjet printer, a full-color laser beam printer, a monochrome printer, etc. Further, it can be applied not only to printers but also to copiers, facsimile apparatuses, terminal devices, smartphones, notebook PCs, tablet terminals, PDAs, digital cameras, music playback devices, televisions, smart speakers, etc. In addition, it can also be applied to a multi-functional device having a plurality of functions such as a copying function, a FAX function, a printing function, etc.
[0010] First, the system configuration for realizing the present embodiment will be described.
[0011] FIG. 1 is a diagram showing an example of the configuration of the communication system of the present embodiment. This system includes a communication device 151, a terminal device 101, an access point (AP) 131, and an external server 171.
[0012] The terminal device 101 is the information processing apparatus of the present embodiment. The communication device 151 is the communication apparatus of the present embodiment. The AP 131 is an external device existing outside the terminal device 101 and outside the communication device 151. The external server 171 is a server that can provide services to the device connected to the AP 131 via the Internet.
[0013] The LAN (Local Area Network) formed by the AP 131 includes the AP 131, the communication device 151, and the terminal device 101. On the other hand, the WAN (Wide Area Network) includes the AP 131 and the external server 171.
[0014] In this embodiment, when the infrastructure connection described later is established, the terminal device 101 can communicate with the communication device 151 via the AP 131. Further, when the direct connection described later is established, the terminal device 101 can communicate directly with the communication device 151 without going through the AP 131. Hereinafter, the connection with the AP corresponds to the connection with the network formed by the AP. Note that the AP may be able to form a plurality of networks simultaneously, and in that case, the connection with the AP may be a connection with any one of the plurality of networks formed by the AP.
[0015] In this embodiment, it is assumed that the connection 141 between the terminal device 101 and the AP 131 and the connection 142 between the communication device 151 and the AP 131 are connections by a communication method based on the IEEE 802.11 series standard. The communication method based on the IEEE 802.11 series standard is specifically Wi-Fi (Wireless Fidelity) (registered trademark). Also, it is assumed that the connection 143 between the terminal device 101 and the communication device 151 is Wi-Fi or Bluetooth (registered trademark) Low Energy (BLE). Note that the communication method used for each connection is not limited to this form, and for example, it may be Bluetooth Classic, Wi-Fi Aware, Near Field Communication (NFC), etc. The AP 131 and the external server 171 can communicate via the Internet, and when the AP 131 is connected to the Internet, the devices (terminal device 101 and communication device 151) connected to the AP 131 can also use the Internet. Note that the connection 141 between the terminal device 101 and the AP 131 and the connection 142 between the communication device 151 and the AP 131 may be connections by a wired LAN.
[0016] Next, the configuration of the information processing apparatus of the present embodiment and the communication apparatus capable of communicating with the information processing apparatus of the present embodiment will be described with reference to the block diagram of FIG. 2. In addition, although the following configuration is described as an example in the present embodiment, the present embodiment is applicable to an apparatus capable of communicating with a communication apparatus, and the functions are not particularly limited as shown in this figure.
[0017] The terminal device 101 includes an input interface 102, a CPU 103, a ROM 104, a 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, a photographing device 111, a wired communication unit 112, and the like. A computer of the terminal device 101 is formed by the CPU 103, the ROM 104, the RAM 105, and the like. The terminal device 101 assumes a device such as a smartphone, but is not limited to a smartphone.
[0018] The input interface 102 is an interface for receiving data input and operation instructions from the user, and is composed of a physical keyboard, buttons, a touch panel, and the like. Note that the output interface 107 and the input interface 102 described later may have the same configuration, and the output on the screen and the reception of operations from the user may be performed with the same configuration.
[0019] The CPU 103 is a system control unit that controls the entire terminal device 101.
[0020] The ROM 104 stores fixed data such as control programs executed by the CPU 103, data tables, and operating system (hereinafter referred to as OS) programs. In this embodiment, each control program stored in the ROM 104 performs software execution control such as scheduling, task switching, and interrupt processing under the management of the embedded OS stored in the ROM 104. In this embodiment, the ROM 104 stores a setup application program (hereinafter referred to as the setup app). The setup app is installed in the terminal device 101 from the outside by, for example, a store application program. Also, the setup app is an app provided by the vendor of the communication device 151. Note that the setup app may have other functions than the function of performing network setup of the communication device 151. Specifically, other functions are, for example, functions of performing setup other than network setup of the communication device 151, functions of transmitting print jobs for causing the communication device 151 to execute printing, and functions of transmitting scan jobs for causing the communication device 151 to execute scanning.
[0021] The RAM 105 is composed of an SRAM (Static Random Access Memory) or the like that requires a backup power supply. Since the data in the RAM 105 is held by a primary battery for data backup (not shown), important data such as program control variables can be stored without being volatile. Also, a memory area for storing the setting information of the terminal device 101 and the management data of the terminal device 101 is also provided in the RAM 105. Also, the RAM 105 is used as the main memory and the work memory of the CPU 103.
[0022] The external storage device 106 includes various programs such as a print information generation program for generating print information interpretable by the communication device 151 and an information transmission / reception control program for transmitting and receiving information to and from the communication device 151 connected via the wireless communication unit 109. Also, the external storage device 106 stores various information used by these programs and image data obtained from other information processing devices or the Internet.
[0023] The output interface 107 is an interface for controlling the display unit 108 to perform data display and notification of the state of the terminal device 101.
[0024] The display unit 108 is composed of an LED (light emitting diode), an LCD (liquid crystal display), etc., and performs data display and notification of the state of the terminal device 101. Note that a soft keyboard equipped with keys such as a numerical input key, a mode setting key, a decision key, a cancel key, and a power key may be installed on the display unit 108 to receive input from the user via the display unit 108.
[0025] The wireless communication unit 109 is configured to wirelessly connect to devices such as the communication device 151 and the AP 131 to execute data communication. For example, the wireless communication unit 109 may communicate directly with the communication device 151 by wireless communication, or may communicate via the AP 131 existing outside the terminal device 101 and the communication device 151. In this embodiment, as the wireless communication method of the wireless communication unit 109, Wi-Fi, which is a communication method based on the IEEE802.11 standard, is used, but Bluetooth Classic or the like may be used. Also, in this embodiment, the wireless LAN is a network based on Wi-Fi. Also, examples of the AP 131 include devices such as a wireless LAN router. Note that, in this embodiment, the method in which the terminal device 101 and the communication device 151 are directly connected without going through an external AP is called a direct connection method. Also, the method in which the terminal device 101 and the communication device 151 are connected via an external AP is called an infrastructure connection method.
[0026] The short-range wireless communication unit 110 is configured to perform data communication with devices such as the communication device 151 using a short-range wireless communication method, and communicates using a communication method different from that of the wireless communication unit 109. The short-range wireless communication unit 110 can be connected to the short-range wireless communication unit 157 within the communication device 151. Examples of the communication method of the short-range wireless communication unit 110 include BLE, Bluetooth Classic, Wi-Fi Aware, and NFC.
[0027] The imaging device 111 is a device that converts an image captured by an imaging element into digital data. The digital data is temporarily stored in the RAM 105. Thereafter, it is 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.
[0028] The wired communication unit 111 is configured to perform data communication by being wiredly connected to devices such as the communication device 151 and the AP 131. For example, the wired communication unit 111 communicates via a wired LAN. In this embodiment, it is assumed that the wired LAN communicates according to the Ethernet standard. However, it is not limited to this form, and the wired communication unit 111 may communicate, for example, via a USB (Universal Serial Bus) cable.
[0029] The communication device 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, a wired communication unit 162, and the like. A computer of the terminal device 101 is formed by the ROM 152, the RAM 153, the CPU 154, and the like.
[0030] The wireless communication unit 156 is configured to perform wireless connection with devices such as the terminal device 101 and the AP 131 and execute data communication. In this embodiment, Wi-Fi is used as the wireless communication method of the wireless communication unit 156, but Bluetooth Classic or the like may also be used. Note that the wireless communication unit 156 has an AP 156-a for connecting to devices such as the terminal device 101 as an AP inside the communication device 151. Note that this AP can be connected to the wireless communication unit 109 of the terminal device 101. Note that the wireless communication unit 156 may communicate directly with the terminal device 101 via the AP 156-a, or may communicate with the terminal device 101 via the AP 131. Also, the AP 156-a may be hardware that functions as an AP, or the wireless communication unit 156 may operate as the AP 156-a by software for functioning as an AP. Also, the AP inside the communication device 151 may be composed of a plurality of APs with different SSIDs and passwords. In this embodiment, it is assumed that the AP inside the communication device 151 includes at least the AP for connection setting described later.
[0031] The RAM 153 is composed of a DRAM or the like that requires a backup power supply. Note that since the RAM 153 holds data when a power supply for data backup (not shown) is supplied, it can store important data such as program control variables without losing them. Also, the RAM 153 is also used as the main memory and work memory of the CPU 154, and stores a reception buffer for temporarily storing print information received from the terminal device 101 and various types of information.
[0032] The ROM 152 stores fixed data such as control programs executed by the CPU 154, data tables, and OS programs. In this embodiment, each control program stored in the ROM 152 performs software execution control such as scheduling, task switching, and interrupt processing under the management of the embedded OS stored in the ROM 152. Also, a memory area for storing data that needs to be retained even when the power supply for the setting information of the communication device 151 and the management data of the communication device 151 is not supplied is also provided in the ROM 152.
[0033] The CPU 154 is a system control unit that controls the entire communication device 151.
[0034] Based on the information stored in the print engine 155 and the RAM 153, and the print job received from the terminal device 101 or the like, an image is formed on a recording medium such as paper using a recording agent such as ink, and the print result is output. At this time, since the print job transmitted from the terminal device 101 or the like has a large amount of transmitted data and high-speed communication is required, it is received via the wireless communication unit 156 that can communicate at a higher speed than the short-range wireless communication unit 157.
[0035] The short-range wireless communication unit 157 is a configuration for communicating with devices such as the terminal device 101 by a short-range wireless communication method. Examples of the communication method of the short-range wireless communication unit 157 include BLE, Bluetooth Classic, and Wi-Fi Aware.
[0036] The input interface 158 is an interface for receiving data input and operation instructions from the user, and is composed of a physical keyboard, buttons, a touch panel, etc. Note that the output interface 159 described later and the input interface 158 may have the same configuration, and the output of the screen and the reception of operations from the user may be performed with the same configuration. The output interface 159 is an interface for controlling the display unit 161 to display data and notify the state of the communication device 151.
[0037] The function control unit 160 manages the functional operations of whether the functions of the communication device 151 operate simultaneously or not.
[0038] The display unit 161 is composed of an LED (light-emitting diode), an LCD (liquid crystal display), etc., and displays data and notifies the state of the communication device 151. Note that a soft keyboard having keys such as a numerical input key, a mode setting key, a decision key, a cancel key, and a power key may be installed on the display unit 161 to receive input from the user via the display unit 161.
[0039] The wired communication unit 162 is configured to perform data communication by being wiredly connected to devices such as the terminal device 101 and the AP 131. For example, the wired communication unit 162 communicates via a wired LAN. However, it is not limited to this form. For example, it may communicate via a USB cable.
[0040] <Regarding the direct connection method> Direct connection refers to a form in which devices are directly wirelessly connected to each other (i.e., Peer to Peer) without going through an external device such as the AP 131. Direct connection is also referred to as Peer to Peer connection (P2P connection). The communication device 151 can operate in a mode (direct connection mode) for communicating by direct connection as one of the connection modes. In Wi-Fi communication, there are multiple modes for communicating by direct connection, such as the software AP mode and the Wi-Fi Direct (WFD) mode.
[0041] In the WFD mode, the mode for executing a direct connection is called the WFD mode. WFD is a standard formulated by the Wi-Fi Alliance and is a standard included in the communication standards of the IEEE802.11 series. In the WFD mode, after a device to communicate with is discovered by a device discovery command, the roles of the P2P group owner (GO) and the P2P client are determined, and then the remaining wireless connection processing is performed. The group owner corresponds to the parent station (parent device) of Wi-Fi, and the client corresponds to the child station (child device) of Wi-Fi. This role determination corresponds to, for example, GO Negotiation in P2P. In the WFD mode in the state before the role determination, the communication device 151 is in a state that is neither the parent station nor the child station. Specifically, first, between the devices that communicate, one device issues a device discovery command to discover the device to connect in the WFD mode. When the other device that becomes the communication partner is discovered, information about the services and functions that can be provided by each other's devices is confirmed between the two. Note that this device supply information confirmation is optional and not essential. This device supply information confirmation phase corresponds to, for example, Provision Discovery in P2P. Next, by confirming this device supply information with each other, as its role, it is determined which will be the P2P client and which will be the P2P group owner. Next, after the client and the group owner are determined, parameters for communication by WFD are exchanged between the two. Based on the exchanged parameters, the remaining wireless connection processing and IP connection processing are performed between the P2P client and the group owner. Note that in the WFD mode, the communication device 151 may always operate as the GO without executing the above-described GO Negotiation. That is, the communication device 151 may operate as the WFD mode which is the Autonomous GO mode. Also, the state where the communication device 151 is operating in the WFD mode means, for example, a state where the connection by WFD is not established but the communication device 151 is operating as the GO, or a state where the connection by WFD is established and the communication device 151 is operating as the GO.
[0042] In the software AP mode, one device (e.g., the information processing apparatus 101) acts as a client that requests various services between devices that communicate (e.g., the information processing apparatus 101 and the communication apparatus 151). And the other device realizes the function of an AP in Wi-Fi through software settings. The software AP corresponds to the parent station of Wi-Fi, and the client corresponds to the child station of Wi-Fi. In the software AP mode, the client searches for the device that becomes the software AP using a device search command. When the software AP is searched, after going through the remaining wireless connection processes (establishment of wireless connection, etc.) between the client and the software AP, the IP connection process (assignment of IP address, etc.) is then performed. Note that for the commands and parameters transmitted and received when realizing a wireless connection between the client and the software AP, those defined in the Wi-Fi standard may be used, and the description here is omitted.
[0043] In this embodiment, when the communication device 151 establishes and maintains a direct connection, it operates as a master station within the network to which the communication device 151 belongs. The master station is a device that constructs a wireless network and provides parameters used for connecting to the wireless network to slave stations. The parameters used for connecting to the wireless network are, for example, parameters related to the channels used by the master station. The slave station receives the parameters and connects to the wireless network constructed by the master station using the channels used by the master station. In the direct connection mode, since the communication device 151 operates as a master station, the communication device 151 can determine which frequency band and which channel to use for communication in the direct connection mode. In this embodiment, it is assumed that the communication device 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. And which frequency band to use (that is, which channels in which frequency band to use) can be arbitrarily set by the user according to the setting on the screen shown in Fig. 2(e). That is, when 2.4 GHz is selected on the screen shown in Fig. 2(e), the communication device 151 uses channels corresponding to the 2.4 GHz frequency band for communication in the direct connection mode. On the other hand, when 5 GHz is selected on the screen shown in Fig. 2(e), the communication device 151 uses channels corresponding to the 5 GHz frequency band for communication in the direct connection mode. However, in this embodiment, even if 5 GHz is selected on the screen shown in Fig. 2(e), the communication device 151 does not use channels corresponding to the DFS (Dynamic Frequency Selection) band among the 5 GHz frequency bands for communication in the direct connection mode. In other words, the communication device 151 only uses channels corresponding to frequency bands other than the DFS band among the 5 GHz frequency bands for communication in the direct connection mode. Note that when a radar wave in the frequency band corresponding to the channel is detected while using a channel corresponding to the DFS band, the currently used channel must be changed.A frequency band in which channel changes can occur due to the detection of radar waves is called a DFS band. For example, when using a wireless chip that supports the DFS function, channels corresponding to the DFS (Dynamic Frequency Selection) band in the 5 GHz frequency band may be used for communication in the direct connection mode. The channel determined as the channel used in the direct connection mode is used for communication via the direct connection. Further, the channel is also used for transmitting a beacon signal as an access point and transmitting a response to a received command. That is, the channel is used not only for communication processing in the direct connection mode when the direct connection is established, but also for communication processing in the direct connection mode when the direct connection is not established.
[0044] In the above description, a form in which the user can set whether to use a channel corresponding to the 2.4 GHz frequency band or a channel corresponding to the 5 GHz frequency band in the direct connection mode has been described, but the present invention is not limited to this form. It may be a form in which the user can set which specific channel to use in the direct connection mode by receiving a designation of a channel number from the user. Further, the channel used in the direct connection mode may be set in the communication device 151 in advance, rather than being arbitrarily set by the user.
[0045] In the above description, the communication device 151 has been described in a form that can use the 2.4 GHz frequency band and the 5 GHz frequency band, but the present invention is not limited to this form. Other frequency bands may be used, and in the processes in which the 2.4 GHz frequency band or the 5 GHz frequency band is used in the present embodiment, other frequency bands may be used. For example, in the IEEE802.11ad standard, the 60 GHz frequency band can be used, so 60 GHz may be used as the above other frequency band.
[0046] <Regarding the infrastructure (infra) connection method> Infrastructure connection is a connection mode in which devices for communication (e.g., information processing apparatus 101 and communication apparatus 151) are connected to an AP (e.g., AP 131) that manages a network, and the devices communicate with each other via the AP. As one of the connection modes, communication apparatus 151 can also operate in a mode (infrastructure connection mode) for communication by infrastructure connection.
[0047] In infrastructure connection, each device searches for an AP using a device search command. When the AP is searched, after processing of the remaining wireless connection (establishment of wireless connection, etc.) between the device and the AP, subsequent processing of IP connection (assignment of IP address, etc.) is performed. Note that for commands and parameters transmitted and received when realizing a wireless connection between the device and the AP, those defined by the Wi-Fi standard may be used, and the description here is omitted.
[0048] In the present embodiment, when communication apparatus 151 operates in infrastructure connection, AP 131 operates as a master station and communication apparatus 151 operates as a slave station. That is, in the present embodiment, infrastructure connection refers to a connection between communication apparatus 151 operating as a slave station and a device operating as a master device. When communication apparatus 151 has established an infrastructure connection and information processing apparatus 101 has also established an infrastructure connection with AP 131, communication between communication apparatus 151 and information processing apparatus 101 via AP 131 becomes possible. Since the channel used for communication in infrastructure connection is determined by AP 131, communication apparatus 151 executes communication in infrastructure connection using the channel determined by AP 131. In the present embodiment, it is assumed that communication apparatus 151 can use a channel corresponding to the 2.4 GHz frequency band and a channel corresponding to the 5 GHz frequency band for communication in infrastructure connection. Note that communication apparatus 151 can also use a channel corresponding to the DFS band in the 5 GHz frequency band for communication in infrastructure connection. Note that for information processing apparatus 101 to communicate via communication apparatus 151 and AP 131, it is necessary for communication apparatus 151 to be recognized as belonging to the network formed by AP 131 and to which information processing apparatus 101 belongs.
[0049] <Regarding simultaneous operation> It is assumed that the communication device 151 of this embodiment can simultaneously (in parallel) execute operations in infrastructure mode and operations in direct connection mode. Therefore, the communication device 151 can simultaneously (in parallel) maintain a connection for communication in infrastructure mode and a connection for communication in direct connection mode. In other words, the communication device 151 can establish in parallel a Wi-Fi connection in which it acts as a slave device and a Wi-Fi connection in which it acts as a master device. Hereinafter, simultaneously (in parallel) establishing an infrastructure connection and a direct connection and operating to be able to communicate simultaneously (in parallel) via the infrastructure connection and the direct connection is referred to as simultaneous operation. In other words, simultaneous operation is an operation in which the communication device 151 executes in parallel operations as a master device (Group Owner or AP) and operations as a slave device.
[0050] Communication in infrastructure mode and communication in direct connection mode are performed using a specific frequency band (specific channel). Therefore, in both communication in infrastructure mode and communication in direct connection mode, before communication is started, first, it is necessary to determine the channel used for communication and connection between each device. Note that in a form in which a plurality of channels are simultaneously assigned to one wireless IC chip for communication, the configuration of each device performing communication and the processing executed by each device become complicated. Therefore, for example, when the communication device 151 performs simultaneous operation, it is desirable that a common channel be used for communication in each mode. That is, it is desirable that the communication device 151 uses only one channel even when performing simultaneous operation. Therefore, in this embodiment, it is assumed that the wireless communication unit 156 has only one wireless IC chip that realizes communication using a predetermined channel, and the communication device 151 does not communicate using a plurality of channels simultaneously.
[0051] <Regarding connection setting mode> The communication device 151 can operate in the connection setting mode. The trigger for the communication device 151 to start operating in the connection setting mode may be, for example, that the user presses a button dedicated to the connection setting mode, or that the communication device 151 starts up (powers on) for the first time after arrival. The button dedicated to the connection setting mode may be a hardware button provided in the communication device 151, or may be a soft button displayed on the display unit 161 of the communication device 151.
[0052] When the communication device 151 starts operating in the connection setting mode, it enables both Wi-Fi communication and BLE communication. Specifically, as an activation process for Wi-Fi communication, the communication device 151 activates an internal AP (access point for connection setting) of the communication device 151 dedicated to the connection setting mode. Thereby, the communication device 151 becomes in a state where it can establish a direct connection with the terminal device 101 via Wi-Fi. The connection information (such as SSID and password) for connecting to the access point for connection setting is pre-held in the setup application installed in the terminal device 101, and it is assumed that the terminal device 101 has recognized in advance the connection information for connecting to the access point for connection setting. Note that no encryption method is set for the access point for connection setting, and it may be in a form where a password is not required for connection to the access point. Therefore, unlike the connection information of the access point activated in the direct connection mode, the connection information for connecting to the access point for connection setting shall not be arbitrarily changed by the user. Note that in the connection setting mode, the communication device 151 may connect to the terminal device 101 via Wi-Fi Direct (WFD) instead of normal Wi-Fi. That is, the communication device 151 may operate as a Group Owner and receive a setting command from the terminal device 101 through communication by WFD.
[0053] <Regarding the wireless profile> A wireless profile is information stored and managed by the OS of the terminal device 101, and includes connection information of APs to which the terminal device 101 has been connected. The wireless profile is used, for example, in a reconnection function which is a function for the OS to automatically re-establish the connection when the connection between the terminal device 101 and the AP is disconnected.
[0054] FIG. 9(a) is a screen displayed by the OS, and is a connection screen 900 for the terminal device 101 to connect to an AP. Assume that the connection screen 900 is a screen for connecting to an AP131 having an SSID displayed on the screen 900. The connection screen 900 includes a region 901 for setting whether to enable the reconnection function in the connection to the AP131, a region 902 for receiving input of a password for connecting to the AP131, and a region 903 for attempting to establish a connection between the AP131 and the terminal device 101 using the input password. When the reconnection function is enabled by the region 901, when the connection between the terminal device 101 and the AP131 is disconnected, the OS automatically re-establishes the connection. On the other hand, when the reconnection function is disabled by the region 901, even if the connection between the terminal device 101 and the AP131 is disconnected, the OS does not automatically re-establish the connection. When the region 903 is pressed and the establishment of the connection between the AP131 and the terminal device 101 is successful, the OS saves the connection information (SSID and password) of the AP131 as a wireless profile. However, for certain types of OS or certain versions of OS, even if the establishment of the connection between the AP131 and the terminal device 101 is successful when the reconnection function is disabled, the connection information of the AP131 is not saved as a wireless profile.
[0055] FIG. 9(b) is a screen displayed by the OS and is a wireless profile screen 910 for showing the stored wireless profiles. The wireless profile screen 910 is an example of a screen when the OS stores two wireless profiles. In the wireless profile screen 910, the wireless profile with a higher priority is displayed higher. The wireless profile with a higher priority is a wireless profile that is preferentially used when the connection between the terminal device 101 and the AP is not established. Region 911 is a region representing the first wireless profile with a higher priority by the SSID, and region 912 is a region representing the second wireless profile with a lower priority by the SSID. By performing a predetermined operation on region 911 or region 912, it is possible to delete the wireless profile corresponding to the region on which the predetermined operation is performed from the terminal device 101.
[0056] <Regarding the processing executed by the terminal device 101 and the communication device 151> In this embodiment, the setup application can execute a network setup of the communication device 151 (hereinafter, the first setup) via a wireless connection between the terminal device 101 and the communication device 151 operating in the connection setting mode. In other words, the first setup is a setup method of connecting the communication device 151 and the AP by transmitting setting information from the terminal device 101 to the communication device 151 via wireless communication by the setup application. Note that the setting information includes a password for connecting to the AP. At this time, if a wireless profile corresponding to a predetermined AP that is the connection partner of the communication device 151 is previously stored in the terminal device 101 before the setup application receives a predetermined operation (predetermined instruction) for network setup from the user, the setup application can execute the first setup without receiving the input of the password from the user.
[0057] Also in this embodiment, the communication device 151 can be connected to the AP by a method other than the first setup. The second setup and the third setup, which are methods other than the first setup, are network setups performed without transmitting setup information to the communication device 151 via wireless communication from the terminal device 101 by the setup application. Specifically, for example, the second setup is a network setup by the push-button method of WPS (Wi-Fi Protected Setup). Note that the second setup may be a network setup by the PIN code method of WPS. Also, the second setup may be a network setup other than WPS such as AOSS or Rakuraku Wireless Start. Also, the second setup may be a network setup performed by establishing a connection between the communication device 151 and an AP selected by the user's operation on the communication device 151 among the APs searched by the communication device 151 via a wireless LAN. Also, the third setup, which is a method other than the first setup, is a network setup performed by establishing a connection between the AP and the communication device 151 via a wired LAN. Note that the third setup may be a network setup performed by establishing a connection between the terminal device 101 and the communication device 151 via USB. The second setup and the third setup are setup methods that can be executed without the user inputting a password for connection to the AP. If a wireless profile corresponding to a predetermined AP is not pre-stored in the terminal device 101 before a predetermined instruction is received from the user by the setup application, it is preferable that the setup application execute predetermined processing for setups other than the first setup. This is because many users feel that the second setup and the third setup are more convenient than the first setup when there is an operation for password input. Note that the predetermined processing is specifically, for example, processing for displaying a selection screen described later and processing for displaying a guide screen described later.
[0058] However, even if the wireless profile corresponding to a predetermined AP is not pre-stored in the terminal device 101 before a predetermined instruction is received from the user by the setup application, if the predetermined AP does not require a password, the setup application can execute the first setup without receiving the input of the password from the user. Nevertheless, if the wireless profile corresponding to the predetermined AP is not pre-stored in the terminal device 101 before a predetermined instruction is received from the user by the setup application, and the predetermined AP does not require a password, and the above-described predetermined process is executed, there is a problem that the usability decreases.
[0059] Therefore, in the present embodiment, if the wireless profile corresponding to a predetermined AP is not pre-stored in the terminal device 101 before a predetermined instruction is received from the user by the setup application, and the predetermined AP does not require a password, the first setup is executed without executing the predetermined process. On the other hand, if the wireless profile corresponding to the predetermined AP is not stored in the terminal device 101 and the predetermined AP requires a password, the predetermined process is executed.
[0060] Also, as described above, in the first setup in this embodiment, communication is executed via a wireless connection between the terminal device 101 and the communication device 151 operating in the connection setting mode. However, there is a problem that when IPv6 (Internet Protocol version 6) is set in the terminal device 101 as the protocol used for communication by the terminal device 101, the communication may not be executable. This is because the communication device 151 operating in the connection setting mode may not be able to execute communication using IPv6. Therefore, in this embodiment, when IPv4 (Internet Protocol version 4) is set in the terminal device 101 as the protocol used for communication by the terminal device 101, the first setup is executed without performing a predetermined process. On the other hand, when IPv6 is set in the terminal device 101 as the protocol used for communication by the terminal device 101, a predetermined process is executed. Note that the case where IPv4 is set in the terminal device 101 as the protocol used for communication by the terminal device 101 means that communication by the wireless communication unit 109 using IPv4 is effectively set in the terminal device 101. Similarly, the case where IPv6 is set in the terminal device 101 as the protocol used for communication by the terminal device 101 means that communication by the wireless communication unit 109 using IPv6 is effectively set in the terminal device 101.
[0061] By adopting such a form, the convenience of setting up the communication device 151 can be improved.
[0062] Figure 3 is a flowchart showing the network setup of the communication device 151 executed by the terminal device 101. This flowchart is realized by the CPU 103 reading out the program stored in the ROM 104 and executing it in the RAM 105. In this embodiment, it is assumed that the terminal device 101 executes processing by a setup application. Also, this flowchart is started based on the fact that the above-mentioned predetermined instruction is given by the user on the screen displayed by the setup application.
[0063] At S301, the CPU 103 searches for the communication device 151 operating in the connection setting mode. Specifically, the CPU 103 searches for a beacon that is emitted by the communication device 151 operating in the connection setting mode and that includes the SSID corresponding to the connection setting mode.
[0064] At S302, the CPU 103 determines whether it has discovered the communication device 151 operating in the connection setting mode as a result of the search at S301. Specifically, the CPU 103 detects beacons emitted by devices around the terminal device 101, and determines whether among the detected beacons there is a beacon that is emitted by the communication device 151 operating in the connection setting mode and that includes the SSID corresponding to the connection setting mode. The SSID corresponding to the connection setting mode is the same SSID as the connection information for connecting to the setup AP that is pre-held in the setup application. Therefore, the CPU 103 determines whether among the beacons emitted by devices around the terminal device 101 there is a beacon that includes the same SSID as the connection information for connecting to the setup AP that is pre-held in the setup application. If the CPU 103 determines YES, it proceeds to S303; if it determines NO, it proceeds to S308. Also, when the CPU 103 determines YES, it specifies the discovered communication device 151 as the device to be network set up (hereinafter referred to as the target device). If there are multiple discovered communication devices 151, the first discovered communication device 151 may be specified as the target device, or the communication device 151 selected by the user among the multiple discovered communication devices 151 may be specified as the target device. Also, hereinafter, it is assumed that processing for network setup is performed for the communication device 151 specified as the target device.
[0065] At S303, the CPU 103 executes a first determination process for determining whether to perform the first setup without executing the above-described predetermined process. Details of the first determination process will be described later with reference to FIG. 4.
[0066] In S304, the CPU 103 determines whether it has determined to perform the first setup without executing a predetermined process in the first determination process. If the CPU 103 determines YES, it proceeds to S305; if it determines NO, it proceeds to S308. When the CPU 103 determines YES, it will execute the first setup without executing processes related to setups other than the first setup, such as displaying a selection screen and a guide screen to be described later. On the other hand, when the CPU 103 determines NO, it executes processes related to setups other than the first setup, such as displaying a selection screen and a guide screen to be described later.
[0067] In S305, the CPU 103 displays on the display unit 108 a confirmation screen for confirming whether to perform the first setup. Here, for example, the confirmation screen 600 shown in FIG. 6 is displayed. For example, the confirmation screen 600 includes a button 601 for selecting to perform the first setup and a button 602 for selecting not to perform the first setup. Also, for example, the confirmation screen 600 includes a region 603 indicating the name of the communication device 151 and a region 604 indicating the SSID of the network to which the terminal device 101 is currently connected. The name of the communication device 151 is assumed to be included in the beacon acquired from the communication device 151 by the search in S301. The SSID of the network to which the terminal device 101 is currently connected is assumed to be acquired in the first determination process.
[0068] In S306, the CPU 103 determines whether it has been selected on the confirmation screen to perform the first setup. Specifically, in this determination, it is determined whether the button 601 or the button 602 has been selected. If the CPU 103 determines YES, it proceeds to S307; if it determines NO, it proceeds to S308.
[0069] Note that the processes of S305 and S306 may be omitted. That is, when it is determined NO in S304, it may proceed to S307 without executing the processes of S305 and S306.
[0070] In S307, the CPU 103 performs the first setup. Details of this process will be described later with reference to FIG. 7. Then, the process proceeds to S314.
[0071] As described above, when it is determined as NO in S302, when it is determined as NO in S304, or when it is determined as NO in S306, S308 is executed. In S308, the CPU 103 accepts from the user the selection of the connection method between the terminal device 101 and the communication device 151. Here, for example, the selection screen 1010 shown in FIG. 10(a) is displayed on the display unit 108. For example, the selection screen 1010 includes an area 1011 for selecting a connection method (connection method) via a wireless LAN, an area 1012 for selecting a connection method via a wired LAN, and a button 1013 for displaying the next screen. Note that the network setup for establishing the connection between the terminal device 101 and the communication device 151 by the connection method via a wireless LAN includes the first setup and the second setup. Therefore, in this embodiment, it is assumed that the setups that can be executed when the area 1011 is selected include the first setup and the second setup. In other words, the area 1011 is an option corresponding to at least the second setup. Also, the network setup for establishing the connection between the terminal device 101 and the communication device 151 by the connection method via a wired LAN includes the third setup. Therefore, in this embodiment, it is assumed that the setups that can be executed when the area 1012 is selected include the third setup. In other words, the area 1011 is an option corresponding to at least the third setup. Also, the selection screen 1010 may include, for example, an area for selecting a connection method via USB and an area for selecting a connection method via Bluetooth. When the area for selecting a connection method via USB is selected, the setup for USB connection is executed as the third setup. When the area for selecting a connection method via Bluetooth is selected, the setup for Bluetooth connection is executed as the third setup.
[0072] After either connection method is selected by the user by selecting area 1011 or area 1012, if button 1013 is pressed by the user, the process proceeds to S309.
[0073] At S309, CPU 103 determines whether the connection method using the wireless LAN is selected on the selection screen 1010. If CPU 103 determines YES, the process proceeds to S310; if it determines NO, the process proceeds to S313.
[0074] At S310, CPU 103 executes a second determination process to determine whether to perform the first setup. Details of the second determination process will be described later with reference to FIG. 5.
[0075] At S311, CPU 103 determines whether it is determined in the second determination process to perform the first setup. If CPU 103 determines YES, the process proceeds to S307; if it determines NO, the process proceeds to S312.
[0076] At S312, CPU 103 displays a first guide screen for the second setup on the display unit 108. Here, for example, the guide screen 1040 shown in FIG. 10(d) is displayed on the display unit 108 as the first guide screen. For example, the guide screen 1040 includes an area 1042 for displaying a manual indicating the operation method for the user to perform the second setup on the WEB browser of the terminal device 101, and a button 1041 for displaying the next screen. When area 1042 is selected, CPU 103 starts the WEB browser of the terminal device 101 and displays the above manual on the WEB browser. Regardless of this form, the above manual may be directly displayed on the setting application instead of the WEB browser. When button 1041 is pressed by the user, the process proceeds to S314.
[0077] In S313, the CPU 103 displays, on the display unit 108, two guide screens for the third setup. Here, for example, the guide screen 1050 shown in FIG. 10(e) is displayed on the display unit 108 as the second guide screen. For example, the guide screen 1050 includes an area 1052 for displaying, on the WEB browser of the terminal device 101, a manual indicating an operation method for the user to perform the third setup, and a button 1051 for displaying the next screen. Further, the method itself for the user to perform the third setup may be included in the guide screen 1050. Specifically, for example, the guide screen 1050 may include an area prompting the user to connect the AP and the communication device 151 with a wired LAN (LAN cable). Also, when the third setup is a setup for connection by USB, the guide screen 1050 may be a screen for prompting the user to connect the terminal device 101 and the communication device 151 with a USB cable. When the third setup is a setup for connection by Bluetooth, the guide screen 1050 may be a screen for prompting the user to connect the terminal device 101 and the communication device 151 by Bluetooth.
[0078] In S314, the CPU 103 searches for the communication device 151 on the network formed by the AP, which is the network to which the terminal device 101 belongs. If the communication device 151 and the terminal device 101 are connected to the same AP by the execution of any one of the first setup, the second setup, and the third setup, the communication device 151 is discovered by this search.
[0079] At S315, the CPU 103 determines whether the communication device 151 has been discovered by the search at S314. If the CPU 103 determines YES, it proceeds to S316; if it determines NO, it proceeds to S317. When this process is executed after the first setup, the CPU 103 identifies whether the communication device 151, which is the destination for transmitting the setup information in the first setup, is included in the one or more devices discovered by the search at S314. And when it is identified that the communication device 151 is included, it is determined YES in this determination. That is, if no device is discovered by the search at S314, or if the communication device 151, which is the destination for transmitting the setup information in the first setup, is not included in the one or more devices discovered, it is determined NO in this determination. Also, when this process is executed after the second setup or the third setup, the CPU 103 displays the one or more devices discovered by the search at S314 and accepts a selection from the user. And when a selection from the user is accepted, it is determined YES in this determination. That is, if no device is discovered by the search at S314 and no selection from the user can be accepted, it is determined NO in this determination.
[0080] At S316, the CPU 103 displays on the display unit 108 a success screen, which is a screen corresponding to the discovery of the communication device 151 by the search at S314. Here, for example, the success screen 1020 shown in Fig. 10(b) is displayed on the display unit 108. For example, the success screen 1020 includes a message indicating that the communication device 151 has been discovered and a message indicating that the connection to the communication device 151 has been successful. When the end button 1021 included in the success screen 1020 is pressed, the processing of this flowchart ends.
[0081] In addition, when the CPU 103 discovers the communication device 151 through the search in S314, it may obtain the capability information regarding the capabilities of the communication device 151 from the communication device 151. Then, in the printing setting process for setting the print job to be transmitted to the communication device 151 or the scanning setting process for setting the scan job to be transmitted to the communication device 151, the said capability information may be used. The capability information is, for example, information indicating which papers can be printed or information indicating whether scanning is executable.
[0082] In S317, the CPU 103 displays on the display unit 108 a failure screen which is a screen corresponding to the fact that the communication device 151 could not be discovered through the search in S314. Here, for example, the failure screen 1030 shown in FIG. 10(c) is displayed on the display unit 108. For example, the failure screen 1030 includes a message indicating that the communication device 151 could not be discovered and a message indicating that the connection to the communication device 151 has failed. When the end button 1031 included in the failure screen 1030 is pressed, the processing of this flowchart ends.
[0083] FIG. 4 is a flowchart showing the first determination process executed by the terminal device 101. This flowchart is realized by the CPU 103 reading out the program stored in the ROM 104 and executing it in the RAM 105. In this embodiment, it is assumed that the terminal device 101 executes the process by the setup application. Also, this flowchart corresponds to the process of S303.
[0084] In S401, the CPU 103 obtains from the OS of the terminal device 101 the information indicating the connection state of the wireless communication unit 109. In other words, the connection state of the wireless communication unit 109 is the state of the connection of the terminal device 101 by Wi-Fi.
[0085] In S402, the CPU 103 determines based on the information obtained in S401 whether the terminal device 101 is connected to any AP. If the CPU 103 determines YES, it proceeds to S403; if it determines NO, it proceeds to S410.
[0086] In S403, the CPU 103 identifies the SSID of the AP to which the terminal device 101 is connected and the encryption method used by the AP to which the terminal device 101 is connected.
[0087] In S404, the CPU 103 obtains a list of wireless profiles of the terminal device 101 from the OS of the terminal device 101. The wireless profiles of the terminal device 101 are information regarding the APs to which the terminal device 101 has been connected. Specifically, the wireless profiles of the terminal device 101 are the SSIDs of the APs to which the terminal device 101 has been connected and the passwords for connecting to the APs to which the terminal device 101 has been connected.
[0088] In S405, the CPU 103 determines whether a wireless profile corresponding to the AP to which the terminal device 101 is connected is included in the list obtained in S404. If the CPU 103 determines YES, it proceeds to S407; if it determines NO, it proceeds to S406. Determining YES corresponds to the case where the wireless profile corresponding to the AP to which the terminal device 101 is connected has been pre-stored in the terminal device 101 before a predetermined instruction is received from the user by the setup application. As described above, depending on the type and version of the OS of the terminal device 101, in a state where the reconnection function is disabled, even if a new connection is made to an AP, the OS does not save the wireless profile regarding that AP. Therefore, the case where the wireless profile corresponding to the AP to which the terminal device 101 is connected is not included in the list obtained in S404 is the case where the wireless profile was not saved due to the setting being enabled.
[0089] In S406, the CPU 103 determines whether a password is required for the connection to the AP to which the terminal device 101 is connected, based on the encryption method specified in S403. The case where a password is required for the connection to the AP to which the terminal device 101 is connected is when an encryption method such as WEP (Wired Equivalent Privacy), WPA (Wi-Fi Protected Access), WPA2, WPA3, etc. is specified in S403 as the encryption method set for the AP to which the terminal device 101 is connected. On the other hand, the case where a password is not required for the connection to the AP to which the terminal device 101 is connected is when no encryption method is set for the AP to which the terminal device 101 is connected and the encryption method specified in S403 is not present. Also, it is the case where the network formed by the AP to which the terminal device 101 is connected is an open network. If the CPU 103 determines YES, it proceeds to S407, and if it determines NO, it proceeds to S410.
[0090] In S407, the CPU 103 determines whether communication by the wireless communication unit 109 using IPv4 in the terminal device 101 is effectively set, based on the information obtained in S401. If the CPU 103 determines YES, it proceeds to S409, and if it determines NO, it proceeds to S408.
[0091] In this embodiment, in the communication such as S401, wireless communication by the wireless communication unit 109 is performed between the terminal device 101 and the communication device 151 before S407. Therefore, if the communication by the wireless communication unit 109 using IPv4 is not effectively set in the terminal device 101, it is assumed that the communication by the wireless communication unit 109 using IPv6 (Internet Protocol version 6) is effectively set in the terminal device 101. Therefore, in this embodiment, after S407, the process of determining whether the communication by the wireless communication unit 109 using IPv6 is effectively set in the terminal device 101 is not executed. However, assuming a case where the setting is changed after the wireless communication by the wireless communication unit 109 between the terminal device 101 and the communication device 151 performed before S407, the process of determining whether the communication by the wireless communication unit 109 using IPv6 is effectively set in the terminal device 101 based on the information acquired in S401 may be executed after it is determined as NO in S407. In this determination, when the CPU 103 determines YES, it may proceed to S408, and when it determines NO, it may proceed to S410.
[0092] At S408, the CPU 103 determines whether the communication device 151 specified as the target device at S302 supports P2P communication using IPv6. That the communication device 151 supports P2P communication using IPv6 corresponds to having the function of P2P communication using IPv6. Specifically, in this determination, the CPU 103 determines whether the beacon detected at S302 and transmitted from the communication device 151 contains information corresponding to supporting P2P communication using IPv6. Note that the determination method in this determination is not limited to the above form. For example, it may be a determination method of determining whether the model of the communication device 151 specified from the beacon transmitted from the communication device 151 supports P2P communication using IPv6. When the CPU 103 determines YES, it proceeds to S409, and when it determines NO, it proceeds to S410.
[0093] In this embodiment, it is assumed that there is a communication device 151 that can also use IPv6 for P2P communication in the connection setting mode as a device supported by the setup application, and the determination in S408 is executed. Therefore, for example, if there is no communication device 151 that can also use IPv6 for P2P communication in the connection setting mode as a device supported by the setup application, the determination in S408 may be omitted. In that case, in the determination in S407, when the CPU 103 determines YES, it may proceed to S409, and when it determines NO, it may proceed to S410. In other words, the case where there is no communication device 151 that can also use IPv6 for P2P communication in the connection setting mode as a device supported by the setup application means the case where there is only a communication device 151 that uses only IPv4 for P2P communication in the connection setting mode as a device supported by the setup application. Note that a communication device 151 that uses only IPv4 for P2P communication in the connection setting mode may also be able to use IPv6 for P2P communication in a mode different from the connection setting mode.
[0094] In S409, the CPU 103 determines to perform the first setup without executing a predetermined process. Note that this determination result is referred to in S304. After S409, the processing of this flowchart ends.
[0095] In S410, the CPU 103 determines not to perform the first setup without executing a predetermined process. This determination result is referred to in S304. After S410, the processing of this flowchart ends.
[0096] FIG. 5 is a flowchart showing a second determination process executed by the terminal device 101. This flowchart is realized by the CPU 103 reading a program stored in the ROM 104 into the RAM 105 and executing it. In this embodiment, it is assumed that the terminal device 101 executes processing by a setup application. Also, this flowchart corresponds to the processing in S310.
[0097] In S501, the CPU 103 acquires from the OS of the terminal device 101 information indicating the connection state of the wireless communication unit 109 and information indicating the connection state of the wired communication unit 112. In other words, the connection state of the wired communication unit 112 is the connection state of the terminal device 101 via the wired LAN.
[0098] In S502, the CPU 103 determines whether or not communication by the wireless communication unit 109 is set to be effective, based on the information indicating the connection state of the wireless communication unit 109 acquired in S501. If the CPU 103 determines YES, it proceeds to S503; if it determines NO, it proceeds to S507.
[0099] In S503, the CPU 103 determines whether or not the terminal device 101 is connected to any AP via the wireless communication unit 109 or the wired communication unit 112, based on the respective information acquired in S501. If the CPU 103 determines YES, it proceeds to S504; if it determines NO, it proceeds to S507.
[0100] In S504, the CPU 103 determines whether or not communication by the wireless communication unit 109 using IPv4 is set to be effective in the terminal device 101, based on the information indicating the connection state of the wireless communication unit 109 acquired in S501. If the CPU 103 determines YES, it proceeds to S506; if it determines NO, it proceeds to S505.
[0101] In S505, the CPU 103 determines whether or not the communication device 151 specified as the target device in S302 supports P2P communication using IPv6. This determination is the same as in S408. If the CPU 103 determines YES, it proceeds to S506; if it determines NO, it proceeds to S507.
[0102] In S506, the CPU 103 determines to perform the first setup. This determination result is referred to in S311. After S506, the processing of this flowchart ends.
[0103] In S507, the CPU 103 determines not to perform the first setup. This determination result is referred to in S311. After S507, the processing of this flowchart ends.
[0104] FIG. 7 is a flowchart showing the first setup executed by the terminal device 101. This flowchart is realized by the CPU 103 reading out a program stored in the ROM 104 and executing it in the RAM 105. In this embodiment, it is assumed that the terminal device 101 executes processing by a setup application. Also, this flowchart corresponds to the processing of S307.
[0105] In S701, the CPU 103 searches for the communication device 151 operating in the connection setting mode. Then, it determines whether the communication device 151 operating in the connection setting mode has been found. If the CPU 103 determines YES, it proceeds to S702; if it determines NO, it returns to S701 and repeats the search. Note that if the communication device 151 operating in the connection setting mode has already been found in S302, this processing may be omitted.
[0106] In S702, if there is an AP to which the terminal device 101 is connected by the wireless communication unit 109, the CPU 103 disconnects the connection between the terminal device 101 and the AP. At this time, the CPU 103 stores the connection information for connecting to the AP in a memory such as the ROM 104. Note that the AP can be said to be the AP to which the terminal device 101 is connected when a predetermined operation for network setup of the communication device 151 is performed. Also, the AP can be said to be the AP to which the terminal device 101 was connected until immediately before the wireless connection between the communication device 151 and the terminal device 101 is established in S703.
[0107] In S703, the CPU 103 establishes a wireless connection between the communication device 151 operating in the connection setting mode and the terminal device 101.
[0108] At S704, the CPU 103 transmits an information acquisition request to the communication device 151, and acquires from the communication device 151 a list of APs discovered by the communication device 151 through search. In other words, the list of APs discovered by the communication device 151 through search is a list of networks discovered by the communication device 151 through search. The list includes the SSIDs of the APs discovered by the communication device 151 through search and the like.
[0109] At S705, the CPU 103 determines whether the list acquired at S704 includes the SSID of the AP corresponding to the connection information stored at S702. If the CPU 103 determines YES, it proceeds to S707; if it determines NO, it proceeds to S706. If the CPU 103 determines YES, it specifies the AP corresponding to the connection information stored at S702 as the AP to be connected to the communication device 151.
[0110] At S706, the CPU 103 displays the list acquired at S704 and accepts from the user a selection of any one of the APs. In other words, the selection of an AP is the selection of the network formed by the AP. The CPU 103 identifies the AP selected by the user as the AP to be connected to the communication device 151. In this process, for example, a screen as shown in FIG. 11 is displayed as an input screen 1100 for accepting the selection of an AP from the user. The input screen 1100 includes an area 1102 for accepting the selection of an AP from the user, an area 1103 for accepting the input of a password for connecting to the AP selected by the user, an area 1104 indicating the encryption method used by the AP selected by the user, and an area 1101 for identifying the AP corresponding to the input information as the AP to be connected to the communication device 151. When the area 1102 is selected, it is assumed that the list acquired at S704 is displayed in a drop-down format. Note that if the password used for connecting to the AP selected by the user is already held by the OS of the terminal device 101 as a wireless profile, the CPU 103 does not have to accept the input of the password from the user. Also, if no encryption method is set for the AP selected by the user and no password is required for connecting to the AP, the CPU 103 does not have to accept the input of the password from the user. Also, instead of accepting the selection of an AP from the list acquired at S704, the CPU 103 may accept the input of an arbitrary SSID and password from the user and identify the AP corresponding to the input information as the AP to be connected to the communication device 151. When the area 1101 is selected, the CPU 103 saves the information selected and input on the input screen 1101 as setting information for transmission. At this time, the CPU 103 may perform a process of verifying whether the information selected and input on the input screen 1101 is correct. Specifically, the CPU 103 may verify whether the input password matches the format of the encryption method used by the selected AP.
[0111] In S707, the CPU 103 transmits, to the communication device 151, the setting information regarding the AP specified as the AP to be connected to the communication device 151. The setting information includes connection information (such as SSID and password) for connecting to the AP specified as the AP to be connected to the communication device 151.
[0112] In S708, the CPU 103 disconnects the wireless connection between the communication device 151 operating in the connection setting mode and the terminal device 101. Then, the CPU 103 establishes a connection between the AP corresponding to the connection information stored in S702 and the terminal device 101, using the connection information stored in S702. At this time, the CPU 103 may also establish a connection between the AP corresponding to the connection information transmitted in S707 and the terminal device 101, using the connection information transmitted in S707.
[0113] In S709, when the connection information for connecting to the communication device 151 operating in the connection setting mode is stored as a wireless profile by the OS, the CPU 103 deletes the wireless profile. This suppresses the wireless connection between the communication device 151 operating in the connection setting mode and the terminal device 101 from being re-established at an unintended timing by the user. Then, the processing of this flowchart ends.
[0114] FIG. 8 is a flowchart showing the first setup executed by the communication device 151. This flowchart is realized by the CPU 154 reading out the program stored in the ROM 152 and executing it in the RAM 153. Also, this flowchart is started based on the communication device 151 receiving an operation for operating in the connection setting mode from the user.
[0115] In S801, the CPU 154 searches for APs existing around the communication device 151 and generates a list of the discovered APs.
[0116] At S802, the CPU 154 determines whether it has received an information acquisition request from the terminal device 101. If the CPU 103 determines YES, it proceeds to S803; if it determines NO, it proceeds to S804.
[0117] Note that instead of executing S801 before S802, S801 may be executed after determining YES at S802.
[0118] At S803, the CPU 154 transmits the list generated at S801 to the terminal device 101.
[0119] At S804, the CPU 154 determines whether it has received setting information from the terminal device 101. If the CPU 103 determines YES, it proceeds to S805; if it determines NO, it returns to S802.
[0120] At S805, the CPU 154 performs network setup based on the received setting information. Specifically, it establishes a connection between the AP corresponding to the connection information included in the received setting information and the communication device 151 using the connection information included in the received setting information. After that, the processing of this flowchart ends.
[0121] By adopting the above form, the convenience of the user regarding the setup of the communication device 151 can be improved.
[0122] <Other Embodiments> In the above, when the area 1101 is selected, depending on the result of the second determination process, whether the first setup is executed or a guide screen for the second setup is displayed is controlled. However, it is not limited to this form. When the area 1101 is selected, a guide screen for the second setup may be displayed without executing the second determination process. That is, when S309 determines YES, S312 may be executed without executing S310 and S311.
[0123] In the above description, the first determination process included both the determination in S406 and the determination in S407, but it may also be in a form that includes only one of them. That is, for example, in a form that includes only the determination in S406, when S405 is a YES determination or when S406 is a YES determination, S409 may be executed without executing S407 or A408. Also, in a form that includes only the determination in S407, when S405 is a NO determination, S410 may be executed without executing S406.
[0124] In the above description, a form has been described in which the process executed when it is determined not to perform the first setup in the first determination process is a process of displaying the selection screen 1010 including options corresponding to the second setup and options corresponding to the third setup. However, the present invention is not limited to this form. When it is determined not to perform the first setup in the first determination process, a guide screen for the second setup may be displayed without displaying the selection screen 1010. Also, when it is determined not to perform the first setup in the first determination process, a guide screen for the third setup may be displayed without displaying the selection screen 1010.
[0125] In the above description, in the first setup, the terminal device 101 transmitted the setting information to the communication device 151 using the wireless communication unit 109, but the present invention is not limited to this form. The terminal device 101 may transmit the setting information to the communication device 151 using the short-range wireless communication unit 110. That is, the setting information may be transmitted by communication between the terminal device 101 and the communication device 151 via BLE or Bluetooth. In this form, it is not necessary to disconnect the wireless LAN connection between the terminal device 101 and the AP in S702. That is, the terminal device 101 may transmit the setting information to the communication device 151 using the short-range wireless communication unit 110 while maintaining the wireless LAN connection between the terminal device 101 and the AP.
[0126] Furthermore, it goes without saying that the object of the present invention can also be achieved by supplying a recording medium storing a program code of software that realizes the functions of the above-described embodiments to a system or apparatus, and causing a computer (or CPU or MPU) of the system or apparatus to read and execute the program code stored in the recording medium. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention.
[0127] As the storage medium for supplying the program code, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a non-volatile memory card, a ROM, a DVD, etc. can be used.
[0128] In addition, by executing the program code read by the computer, not only are the functions of the above-described embodiments realized, but also based on the instructions of the program code, an operating system (OS) or the like running on the computer performs part or all of the actual processing, and it goes without saying that cases where the functions of the above-described embodiments are realized by such processing are also included.
[0129] The present disclosure also includes the following configurations. (Configuration 1) In a computer of an information processing apparatus capable of storing a wireless profile, a receiving step of receiving a predetermined instruction; a first execution step of executing a first setting process for transmitting setting information including information for connecting to any network to a communication device when the predetermined instruction is received; a second execution step of executing a predetermined process for a second setting process that is a process different from the first setting process and is a process for connecting the communication device to any network when the predetermined instruction is received; to be executed, When the wireless profile regarding the network to which the information processing apparatus is connected when the predetermined instruction is received has been pre-stored in the information processing apparatus before the predetermined instruction is received, the first setting process for transmitting the setting information including information for connecting to the network to which the information processing apparatus is connected to the communication apparatus is executed without executing the predetermined process. When the wireless profile regarding the network to which the information processing apparatus is connected when the predetermined instruction is received has not been pre-stored in the information processing apparatus before the predetermined instruction is received, but the network to which the information processing apparatus is connected when the predetermined instruction is received is a network that can be connected without a password, the first setting process for transmitting the setting information including information for connecting to the network to which the information processing apparatus is connected to the communication apparatus is executed without executing the predetermined process. A program characterized in that when the wireless profile regarding the network to which the information processing apparatus is connected when the predetermined instruction is received has not been pre-stored in the information processing apparatus before the predetermined instruction is received, and the network to which the information processing apparatus is connected when the predetermined instruction is received is not a network that can be connected without a password, the predetermined process is executed. (Configuration 2) A first determination step of performing a first determination as to whether or not the wireless profile regarding the network to which the information processing apparatus is connected when the predetermined instruction is received has been pre-stored in the information processing apparatus before the predetermined instruction is received; A second determination step of performing a second determination as to whether or not the network to which the information processing apparatus is connected when the predetermined instruction is received is a network that can be connected without a password, and further executing; Whether the first setting process for transmitting the setting information including information for connecting to the network to which the information processing apparatus is connected to the communication apparatus is executed without executing the predetermined process or the predetermined process is executed is controlled based on the result of the first determination and the result of the second determination. The program according to Configuration 1, characterized in that. (Configuration 3) When the wireless profile regarding the network to which the information processing apparatus is connected is received before the predetermined instruction is received and is stored in advance in the information processing apparatus, and Internet Protocol version 4 (IPv4) is set as the protocol used by the information processing apparatus for communication, the first setting process for transmitting the setting information including information for connecting to the network to which the information processing apparatus is connected to the communication apparatus is executed without executing the predetermined process. When the wireless profile regarding the network to which the information processing apparatus is connected is received before the predetermined instruction is received and is stored in advance in the information processing apparatus, and a protocol different from IPv4 is set as the protocol used by the information processing apparatus for communication, the predetermined process is executed. The program according to Configuration 1 or 2, characterized in that. (Configuration 4) A first determination step of executing a first determination as to whether the wireless profile regarding the network to which the information processing apparatus is connected is stored in advance in the information processing apparatus before the predetermined instruction is received; A second determination step of executing a second determination as to whether the network to which the information processing apparatus is connected when the predetermined instruction is received is a network that can be connected without a password; A third determination step of executing a third determination as to whether IPv4 is set as the protocol used by the information processing apparatus for communication is further executed. Whether the first setting process for transmitting the setting information including information for connecting to the network to which the information processing apparatus is connected to the communication apparatus is executed without executing the predetermined process or the predetermined process is executed is controlled based on the result of the first determination, the result of the second determination, and the result of the third determination. The program according to Configuration 3. (Configuration 5) When the predetermined instruction is received, the wireless profile regarding the network to which the information processing apparatus is connected is pre-stored in the information processing apparatus before the predetermined instruction is received, and a protocol different from IPv4 is set as the protocol used by the information processing apparatus for communication, and when the communication apparatus supports a protocol different from IPv4, the first setting process for transmitting the setting information including information for connecting to the network to which the information processing apparatus is connected to the communication apparatus is executed without executing the predetermined process. When the predetermined instruction is received, the wireless profile regarding the network to which the information processing apparatus is connected is pre-stored in the information processing apparatus before the predetermined instruction is received, and a protocol different from IPv4 is set as the protocol used by the information processing apparatus for communication, and when the communication apparatus does not support a protocol different from IPv4, the predetermined process is executed. The program according to Configuration 3 or 4. (Configuration 6) A first determination step of executing a first determination as to whether the wireless profile regarding the network to which the information processing apparatus is connected is pre-stored in the information processing apparatus before the predetermined instruction is received when the predetermined instruction is received. A second determination step of executing a second determination as to whether the network to which the information processing apparatus is connected when the predetermined instruction is received is a network that can be connected without a password. A third determination step of executing a third determination as to whether Internet Protocol version 4 (IPv4) is set as the protocol used by the information processing apparatus for communication, a fourth determination step of executing a fourth determination as to whether the communication apparatus supports a protocol different from IPv4, and further causing the steps to be executed, whether the first setting process for transmitting the setting information including information for connecting to the network to which the information processing apparatus is connected to the communication apparatus is executed without executing the predetermined process or the predetermined process is executed is controlled based on the result of the first determination, the result of the second determination, the result of the third determination, and the result of the fourth determination. The program according to configuration 5. (Configuration 7) The program according to any one of configurations 3 to 6, wherein the protocol different from IPv4 is Internet Protocol version 6 (IPv6). (Configuration 8) The program according to any one of configurations 1 to 7, wherein the predetermined process includes a process of displaying a selection screen for selecting a connection method between the communication apparatus and any one of the networks. (Configuration 9) The selection screen includes a region corresponding to a first connection method and a region corresponding to a second connection method, The program according to configuration 8, wherein when the region corresponding to the first connection method is selected, the first setting process is executed. (Configuration 10) When the region corresponding to the first connection method is selected and Internet Protocol version 4 (IPv4) is set as the protocol used by the information processing apparatus for communication, the first setting process is executed, The program according to configuration 9, wherein when the region corresponding to the first connection method is selected and a protocol different from IPv4 is set as the protocol used by the information processing apparatus for communication, the first setting process is not executed. (Configuration 11) When the area corresponding to the first connection method is selected, and a protocol different from IPv4 is set as the protocol used by the information processing apparatus for communication, and the communication apparatus supports a protocol different from IPv4, the first setting process is executed. The program according to configuration 10, wherein when the area corresponding to the first connection method is selected, and a protocol different from IPv4 is set as the protocol used by the information processing apparatus for communication, and the communication apparatus does not support a protocol different from IPv4, the first setting process is not executed. (Configuration 12) The program according to configuration 10 or 11, wherein when the area corresponding to the first connection method is selected, and a protocol different from IPv4 is set as the protocol used by the information processing apparatus for communication, specific processing for connecting the communication apparatus to any network by any one of Wi-Fi Protected Setup (WPS), AOSS, or easy wireless start is executed. (Configuration 13) The program according to configuration 12, wherein the specific processing is processing for displaying an operation method for any one of Wi-Fi Protected Setup (WPS), AOSS, or easy wireless start for connecting the communication apparatus to any network. (Configuration 14) The program according to any one of configurations 9 to 13, wherein when the area corresponding to the second connection method is selected, processing for displaying an operation method for the second setting process is executed. (Configuration 15) The first connection method is a wireless LAN. The program according to any one of configurations 9 to 14, wherein the connection between the communication apparatus and any network established by the first setting process is a connection by a wireless LAN. (Configuration 16) The program according to any one of Configurations 9 to 15, wherein the second connection method is a wired LAN. (Configuration 17) The selection screen further includes an area corresponding to a third connection method, The program according to any one of Configurations 9 to 16, wherein the third connection method is a connection method via Universal Serial Bus (USB). (Configuration 18) The program according to Configuration 17, wherein when the area corresponding to the third connection method is selected, a process for displaying an operation method for connecting between the communication device and the information processing device via USB is executed. (Configuration 19) The program according to any one of Configurations 1 to 18, wherein the predetermined process includes a process for displaying an operation method for the second setting process. (Configuration 20) The program according to any one of Configurations 1 to 19, wherein the first setting process is a process for transmitting the setting information to the communication device by a communication method based on the IEEE802.11 series standard. (Configuration 21) The program according to any one of Configurations 1 to 20, wherein the first setting process is a process for transmitting the setting information to the communication device by Bluetooth. (Configuration 22) The program according to any one of Configurations 1 to 21, wherein the second setting process is a process for connecting the communication device and any network by wire, and is executed by the user connecting the communication device and an access point corresponding to any network by wire. (Configuration 23) When the wireless profile regarding the network to which the information processing apparatus is connected when the predetermined instruction is received is pre-stored in the information processing apparatus before the predetermined instruction is received, the setting information to be transmitted includes information included in the wireless profile regarding the network to which the information processing apparatus is connected when the predetermined instruction is received. The program according to any one of Configurations 1 to 22, characterized in that. (Configuration 24) The program according to any one of Configurations 1 to 23, characterized in that the communication device is a printing device. (Configuration 25) The program according to any one of Configurations 1 to 24, further characterized in that a transmission step of transmitting at least one of a print job for executing printing and a scan job for executing scanning to the communication device is further executed. (Configuration 26) The program according to any one of Configurations 1 to 25, characterized in that the wireless profile is information stored by an operating system of the information processing apparatus. (Configuration 27) A control method for an information processing apparatus capable of storing a wireless profile, A receiving step of receiving a predetermined instruction, A first execution step of executing a first setting process for transmitting setting information including information for connecting to any network to a communication device when the predetermined instruction is received, A second execution step of executing a predetermined process for a second setting process which is a process different from the first setting process and is a process for connecting the communication device to any network when the predetermined instruction is received, having When the wireless profile regarding the network to which the information processing apparatus is connected when the predetermined instruction is received has been previously stored in the information processing apparatus before the predetermined instruction is received, the first setting process for transmitting the setting information including information for connecting to the network to which the information processing apparatus is connected to the communication apparatus is executed without executing the predetermined process. When the wireless profile regarding the network to which the information processing apparatus is connected when the predetermined instruction is received has not been previously stored in the information processing apparatus before the predetermined instruction is received, but the network to which the information processing apparatus is connected when the predetermined instruction is received is a network that can be connected without a password, the first setting process for transmitting the setting information including information for connecting to the network to which the information processing apparatus is connected to the communication apparatus is executed without executing the predetermined process. A control method characterized in that when the wireless profile regarding the network to which the information processing apparatus is connected when the predetermined instruction is received has not been previously stored in the information processing apparatus before the predetermined instruction is received, and the network to which the information processing apparatus is connected when the predetermined instruction is received is not a network that can be connected without a password, the predetermined process is executed. (Configuration 28) An information processing apparatus capable of storing a wireless profile, Receiving means for receiving a predetermined instruction, First execution means for executing a first setting process for transmitting setting information including information for connecting to any network to the communication apparatus when the predetermined instruction is received, Second execution means for executing a predetermined process for a second setting process that is a process different from the first setting process and is for connecting the communication apparatus to any network when the predetermined instruction is received, And having When the wireless profile regarding the network to which the information processing apparatus is connected when the predetermined instruction is received has been previously stored in the information processing apparatus before the predetermined instruction is received, the first setting process for transmitting the setting information including information for connecting to the network to which the information processing apparatus is connected to the communication apparatus is executed without the predetermined process being executed. When the wireless profile regarding the network to which the information processing apparatus is connected when the predetermined instruction is received has not been previously stored in the information processing apparatus before the predetermined instruction is received, but the network to which the information processing apparatus is connected when the predetermined instruction is received is a network that can be connected without a password, the first setting process for transmitting the setting information including information for connecting to the network to which the information processing apparatus is connected to the communication apparatus is executed without the predetermined process being executed. An information processing apparatus, characterized in that when the wireless profile regarding the network to which the information processing apparatus is connected when the predetermined instruction is received has not been previously stored in the information processing apparatus before the predetermined instruction is received, and the network to which the information processing apparatus is connected when the predetermined instruction is received is not a network that can be connected without a password, the predetermined process is executed.
Explanation of Signs
[0130] 101 Information processing apparatus 151 Communication apparatus
Claims
1. In a computer of an information processing apparatus capable of storing a wireless profile, a receiving step of receiving a predetermined instruction; a first execution step of executing a first setting process for transmitting setting information including information for connecting to any network to a communication device when the predetermined instruction is received; a second execution step of executing a predetermined process for a second setting process which is a process different from the first setting process and is a process for connecting the communication device to any network when the predetermined instruction is received; to execute, When the wireless profile regarding the network to which the information processing apparatus is connected when the predetermined instruction is received is pre-stored in the information processing apparatus before the predetermined instruction is received, the first setting process for transmitting the setting information including information for connecting to the network to which the information processing apparatus is connected to the communication device is executed without the predetermined process being executed, When the wireless profile regarding the network to which the information processing apparatus is connected when the predetermined instruction is received is not pre-stored in the information processing apparatus before the predetermined instruction is received, but the network to which the information processing apparatus is connected when the predetermined instruction is received is a network that can be connected without a password, the first setting process for transmitting the setting information including information for connecting to the network to which the information processing apparatus is connected to the communication device is executed without the predetermined process being executed, A program, characterized in that when the wireless profile regarding the network to which the information processing apparatus is connected when the predetermined instruction is received is not pre-stored in the information processing apparatus before the predetermined instruction is received, and the network to which the information processing apparatus is connected when the predetermined instruction is received is not a network that can be connected without a password, the predetermined process is executed.
2. A first determination step of performing a first determination as to whether or not the wireless profile regarding the network to which the information processing apparatus is connected when the predetermined instruction is received is pre-stored in the information processing apparatus before the predetermined instruction is received; A second determination step of performing a second determination as to whether or not the network to which the information processing apparatus is connected when the predetermined instruction is received is a network that can be connected without a password, and further causing the execution; Whether the first setting process for transmitting the setting information including information for connecting to the network to which the information processing apparatus is connected to the communication apparatus is executed without the predetermined process being executed or the predetermined process is executed is controlled based on the result of the first determination and the result of the second determination. The program according to claim 1.
3. When the wireless profile regarding the network to which the information processing apparatus is connected when the predetermined instruction is received is pre-stored in the information processing apparatus before the predetermined instruction is received and Internet Protocol version 4 (IPv4) is set as the protocol used by the information processing apparatus for communication, the first setting process for transmitting the setting information including information for connecting to the network to which the information processing apparatus is connected to the communication apparatus is executed without the predetermined process being executed, When the wireless profile regarding the network to which the information processing apparatus is connected when the predetermined instruction is received is pre-stored in the information processing apparatus before the predetermined instruction is received and a protocol different from IPv4 is set as the protocol used by the information processing apparatus for communication, the predetermined process is executed. The program according to claim 1.
4. A first determination step of performing a first determination as to whether or not the wireless profile regarding the network to which the information processing apparatus is connected when the predetermined instruction is received has been previously stored in the information processing apparatus before the predetermined instruction is received; A second determination step of performing a second determination as to whether or not the network to which the information processing apparatus is connected when the predetermined instruction is received is a network that can be connected without a password; A third determination step of performing a third determination as to whether or not IPv4 is set as the protocol used by the information processing apparatus for communication, and further causing the steps to be executed, Whether the first setting process for transmitting the setting information including information for connecting to the network to which the information processing apparatus is connected to the communication apparatus is executed without the predetermined process being executed or the predetermined process is executed is controlled based on the result of the first determination, the result of the second determination, and the result of the third determination. The program according to claim 3.
5. When the wireless profile regarding the network to which the information processing apparatus is connected when the predetermined instruction is received has been previously stored in the information processing apparatus before the predetermined instruction is received, and a protocol different from IPv4 is set as the protocol used by the information processing apparatus for communication, and the communication apparatus supports a protocol different from IPv4, the first setting process for transmitting the setting information including information for connecting to the network to which the information processing apparatus is connected to the communication apparatus is executed without the predetermined process being executed, When the predetermined instruction is received, if the wireless profile regarding the network to which the information processing apparatus is connected is pre-stored in the information processing apparatus before the predetermined instruction is received, and a protocol different from IPv4 is set as the protocol used by the information processing apparatus for communication, and the communication apparatus does not support a protocol different from IPv4, the predetermined process is executed. The program according to claim 3, characterized in that.
6. A first determination step of performing a first determination as to whether or not the wireless profile regarding the network to which the information processing apparatus is connected when the predetermined instruction is received is pre-stored in the information processing apparatus before the predetermined instruction is received; A second determination step of performing a second determination as to whether or not the network to which the information processing apparatus is connected when the predetermined instruction is received is a network that can be connected without a password; A third determination step of performing a third determination as to whether or not IPv4 is set as the protocol used by the information processing apparatus for communication; A fourth determination step of performing a fourth determination as to whether or not the communication apparatus supports a protocol different from IPv4 is further executed, Whether the first setting process for transmitting the setting information including information for connecting to the network to which the information processing apparatus is connected to the communication apparatus is executed without executing the predetermined process or the predetermined process is executed is based on the result of the first determination, the result of the second determination, the result of the third determination, and the result of the fourth determination. The program according to claim 5, characterized in that it is controlled.
7. The protocol different from IPv4 is Internet Protocol version 6 (IPv6). The program according to claim 3, characterized in that.
8. The program according to claim 1, wherein the predetermined process includes a process of displaying a selection screen for selecting a connection method between the communication device and any one of the networks.
9. The selection screen includes an area corresponding to a first connection method and an area corresponding to a second connection method. The program according to claim 8, wherein when the area corresponding to the first connection method is selected, the first setting process is executed.
10. When the area corresponding to the first connection method is selected and Internet Protocol version 4 (IPv4) is set as the protocol used by the information processing device for communication, the first setting process is executed. The program according to claim 9, wherein when the area corresponding to the first connection method is selected and a protocol different from IPv4 is set as the protocol used by the information processing device for communication, the first setting process is not executed.
11. When the area corresponding to the first connection method is selected, a protocol different from IPv4 is set as the protocol used by the information processing device for communication, and the communication device supports a protocol different from IPv4, the first setting process is executed. The program according to claim 10, wherein when the area corresponding to the first connection method is selected, a protocol different from IPv4 is set as the protocol used by the information processing device for communication, and the communication device does not support a protocol different from IPv4, the first setting process is not executed.
12. When the area corresponding to the first connection method is selected and a protocol different from IPv4 is set as the protocol used by the information processing apparatus for communication, specific processing for connecting the communication apparatus to any network by any one of Wi-Fi Protected Setup (WPS), AOSS, or Rakuraku Wireless Start is executed. The program according to claim 10, characterized in that.
13. The specific processing is processing for displaying an operation method for any one of Wi-Fi Protected Setup (WPS), AOSS, or Rakuraku Wireless Start to connect the communication apparatus to any network. The program according to claim 12, characterized in that.
14. When the area corresponding to the second connection method is selected, processing for displaying an operation method for the second setting process is executed. The program according to claim 9, characterized in that.
15. The first connection method is a wireless LAN, The connection between the communication apparatus and any network established by the first setting process is a connection by wireless LAN. The program according to claim 9, characterized in that.
16. The second connection method is a wired LAN. The program according to claim 9, characterized in that.
17. The selection screen further includes an area corresponding to a third connection method, The third connection method is a connection method by Universal Serial Bus (USB). The program according to claim 9, characterized in that.
18. When the area corresponding to the third connection method is selected, a process for displaying an operation method for connecting between the communication device and the information processing device via USB is executed. The program according to claim 17, characterized in that.
19. The program according to claim 1, characterized in that the predetermined process includes a process for displaying an operation method for the second setting process.
20. The program according to claim 1, characterized in that the first setting process is a process for transmitting the setting information to the communication device by a communication method based on the IEEE 802.11 series standard.
21. The program according to claim 1, characterized in that the first setting process is a process for transmitting the setting information to the communication device by Bluetooth.
22. The program according to claim 1, characterized in that the second setting process is a process for connecting the communication device and any one of the networks by wire, and is executed by the user connecting the communication device and an access point corresponding to any one of the networks by wire.
23. When the wireless profile regarding the network to which the information processing device is connected when the predetermined instruction is received is pre-stored in the information processing device before the predetermined instruction is received, the setting information to be transmitted includes information included in the wireless profile regarding the network to which the information processing device is connected when the predetermined instruction is received. The program according to claim 1, characterized in that.
24. The program according to claim 1, characterized in that the communication device is a printing device.
25. The program according to claim 1, further comprising a transmission step of transmitting at least one of a print job for causing the communication device to execute printing and a scan job for causing the communication device to execute scanning.
26. The program according to claim 1, wherein the wireless profile is information stored by an operating system of the information processing device.
27. A control method for an information processing device capable of storing a wireless profile, comprising: a reception step of receiving a predetermined instruction; a first execution step of executing a first setting process for transmitting setting information including information for connecting to any network to a communication device when the predetermined instruction is received; a second execution step of executing a predetermined process for a second setting process which is a process different from the first setting process and is a process for connecting the communication device to any network when the predetermined instruction is received; having when the wireless profile regarding the network to which the information processing device is connected when the predetermined instruction is received is pre-stored in the information processing device before the predetermined instruction is received, the first setting process for transmitting the setting information including information for connecting to the network to which the information processing device is connected to the communication device is executed without executing the predetermined process; when the wireless profile regarding the network to which the information processing device is connected when the predetermined instruction is received is not pre-stored in the information processing device before the predetermined instruction is received, but the network to which the information processing device is connected when the predetermined instruction is received is a network that can be connected without a password, the first setting process for transmitting the setting information including information for connecting to the network to which the information processing device is connected to the communication device is executed without executing the predetermined process; When the wireless profile regarding the network to which the information processing apparatus is connected when the predetermined instruction is received has not been previously stored in the information processing apparatus before the predetermined instruction is received, and the network to which the information processing apparatus is connected when the predetermined instruction is received is not a network that can be connected without a password, the predetermined process is executed.
28. An information processing apparatus capable of storing a wireless profile, Receiving means for receiving a predetermined instruction, First execution means for executing a first setting process for transmitting setting information including information for connecting to any network to a communication device when the predetermined instruction is received, Second execution means for executing a predetermined process for a second setting process that is a process different from the first setting process and is for connecting the communication device to any network when the predetermined instruction is received, having When the wireless profile regarding the network to which the information processing apparatus is connected when the predetermined instruction is received has been previously stored in the information processing apparatus before the predetermined instruction is received, the first setting process for transmitting the setting information including information for connecting to the network to which the information processing apparatus is connected to the communication device is executed without executing the predetermined process, When the wireless profile regarding the network to which the information processing apparatus is connected when the predetermined instruction is received has not been previously stored in the information processing apparatus before the predetermined instruction is received, but the network to which the information processing apparatus is connected when the predetermined instruction is received is a network that can be connected without a password, the first setting process for transmitting the setting information including information for connecting to the network to which the information processing apparatus is connected to the communication device is executed without executing the predetermined process, When the wireless profile regarding the network to which the information processing apparatus is connected when the predetermined instruction is received has not been previously stored in the information processing apparatus before the predetermined instruction is received, and the network to which the information processing apparatus is connected when the predetermined instruction is received is not a network that can be connected without a password, the predetermined process is executed. An information processing apparatus characterized by this.
Citation Information
Patent Citations
Information processing device, control method, and program
JP2016127545A
Communication device
JP2018142923A
Program, communication method, and communication system
JP2018191252A
Communication device, radio connection method, and program
JP2021190866A