Information processing apparatus, control method, storage medium, and computer program product
By storing pre-defined applications in the information processing device, information exchange and network setup with the communication device are realized, solving the problem of insufficient application availability in the prior art and improving the reliability and efficiency of network configuration.
Patent Information
- Application Number
- CN202610666547.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2025-05-22
- Filing Date
- 2026-05-14
- Publication Date
- 2026-11-24
AI Technical Summary
In the prior art, the availability of applications that allow information processing devices to send connection information to communication devices to establish connections to access points is insufficient, especially when users enter administrator passwords, making it difficult to effectively control and manage network settings.
By storing a pre-defined application in the information processing device, information exchange and network settings with the communication device under a predetermined mode are realized, including obtaining the operating mode information of the communication device and sending network setting information to control the connection process under certain conditions.
The availability and reliability of applications that send connection and network configuration information from information processing devices to communication devices have been improved, ensuring effective network configuration in a predetermined mode.
Smart Images

Figure CN123164583A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to information processing equipment, control methods, storage media, and computer program products. Background Technology
[0002] A method is known in which an information processing device, such as a smartphone, sends information to a communication device, such as a printer, for establishing a connection to an access point, and the communication device uses the information to establish a connection to the access point. Japanese Patent Application Publication No. 2006-050587 describes a configuration in which the information processing device sends information to the communication device via a Universal Serial Bus (USB) cable for establishing a connection to an access point, and the communication device uses the information to establish a connection to the access point.
[0003] On the other hand, as the configuration of sending information to communication devices to establish connections to access points has become commonplace, there is a need to improve the availability of applications that perform the processing of sending such information to communication devices to establish connections to access points. Summary of the Invention
[0004] This disclosure aims to improve the usability of applications that perform processing for sending information to communication devices for establishing a connection to an access point, as well as network configuration information such as Internet Protocol (IP) address settings.
[0005] According to one aspect of this disclosure, a storage medium stores a predetermined application program for causing a computer of an information processing device configured to communicate with a communication device to perform processing, the communication device being configured to operate in a predetermined mode, the predetermined mode being valid when a user enters an administrator password, the processing comprising: acquiring first information via a predetermined connection between the communication device and the information processing device as a first acquisition, the first information being information indicating an operating mode of the communication device; and performing first processing as a first execution, the first processing being configured to control such that, when the first information acquired via the predetermined connection indicates that the communication device is in the predetermined mode, network setting information related to the communication device is sent to the communication device via the predetermined connection.
[0006] The features of this disclosure will become apparent from the following description of embodiments with reference to the accompanying drawings. The following description of the embodiments is given by way of example. Attached Figure Description
[0007] Figure 1 This is a diagram illustrating an example of a communication system.
[0008] Figure 2This is a diagram illustrating an example of the configuration of terminal devices and communication devices.
[0009] Figure 3 This is a diagram illustrating an example of the software configuration for a predefined application.
[0010] Figure 4 This is a flowchart illustrating an example of processing performed by a terminal device using a predefined application.
[0011] Figures 5A to 5G Examples of screens displaying the communication device list.
[0012] Figure 6 This is a flowchart illustrating an example of processing performed by a terminal device using a predefined application.
[0013] Figure 7 An example of a network settings screen.
[0014] Figure 8 An example screen is provided to guide you through changing the connection settings mode.
[0015] Figure 9 Example of a table related to the display control of buttons included in the communication list.
[0016] Figure 10 An example of a remote user interface (remote UI) screen.
[0017] Figure 11 An example of a remote user interface (remote UI) screen.
[0018] Figure 12A and Figure 12B Examples of remote UI screens are provided for each.
[0019] Figure 13 This example shows a screen for selecting a connection method.
[0020] Figure 14 An example of a network settings screen.
[0021] Figures 15A to 15F Examples of screens displaying the communication device list. Detailed Implementation
[0022] First Embodiment The information processing device and communication device included in the communication system according to the first embodiment will be described. The information processing device may also be referred to as a terminal device. Although a smartphone is described as an example of an information processing device in this embodiment, this is not intended to be limiting. Various other information processing devices such as personal computers (PCs), tablet terminals, personal digital assistants (PDAs), or digital cameras are also applicable. Furthermore, in this embodiment, a printing device is described as an example of a communication device. The printing device may be an inkjet printing device configured to print using ink, or a laser beam printing device configured to print using toner. In addition, the printing device may be a full-color printing device capable of color printing, or a monochrome printing device capable of monochrome printing but not color printing. In this embodiment, the communication device is not limited to the printing device, and any device capable of wireless communication with the information processing device is applicable as a communication device. Examples of devices applicable as communication devices include copiers, fax machines, scanners, smartphones, PCs, tablet terminals, PDAs, digital cameras, music playback devices, televisions, smart speakers, robotic vacuum cleaners, automatic cooking appliances, and refrigerators. Other examples include multi-functional peripherals that include multiple functions such as copying, faxing, and printing.
[0023] First, the system configuration configured to implement this embodiment will be described. Figure 1 This is a diagram illustrating an example configuration of a communication system according to this embodiment. The system includes a communication device 151, a terminal device 101, an access point (AP) 131, and an external server 171.
[0024] Terminal device 101 is an information processing device according to this embodiment. Communication device 151 is a communication device according to this embodiment. AP 131 is an access point activated by an external device outside of terminal device 101 and communication device 151. Examples of external devices include wireless local area network (wireless LAN) routers. External server 171 is a server configured to provide services to devices connected to AP 131 via the Internet.
[0025] In the case where communication device 151 and terminal device 101 are connected to AP 131, the local area network (LAN) established by AP 131 includes AP 131, communication device 151, and terminal device 101. On the other hand, the wide area network (WAN) includes AP 131 and external server 171.
[0026] In this embodiment, when an infrastructure connection is established (described below), the terminal device 101 can communicate with the communication device 151 via the AP 131. Furthermore, when a direct connection is established (described below), the terminal device 101 can communicate directly with the communication device 151 without using the AP 131. Hereinafter, a connection to an AP corresponds to a connection to a network established by an AP. A single external device can activate multiple APs, and a single external device can be configured to establish multiple networks simultaneously.
[0027] In this embodiment, the connection 141 between terminal device 101 and AP 131, and the connection 142 between communication device 151 and AP 131, are established using a communication method based on the Institute of Electrical and Electronics Engineers (IEEE) 802.11 standard. Specifically, the communication method based on the IEEE 802.11 standard refers to Wi-Fi®. Furthermore, the connection 143 between terminal device 101 and communication device 151 is also established using a communication method based on the IEEE 802.11 standard. However, the communication method used for connection 143 is not limited to the methods described above. For example, Bluetooth® Low Energy, Bluetooth Classic, Wi-Fi Aware, Near Field Communication (NFC), or Universal Serial Bus (USB) cables can be used. AP 131 and external server 171 can communicate with each other via the Internet, and when AP 131 is connected to the Internet, devices connected to AP 131 (e.g., terminal device 101 and communication device 151) can also use the Internet. The connection 141 between terminal device 101 and AP 131 and the connection 142 between communication device 151 and AP 131 can be a connection established via a wired local area network (wired LAN).
[0028] Next, we will refer to Figure 2 The block diagrams in this embodiment illustrate the configuration of the information processing device according to this embodiment and the configuration of the communication device capable of communicating with the information processing device according to this embodiment. Furthermore, although the following configurations are described as examples in this embodiment, this embodiment is applicable to any device capable of communicating with the communication device, and its functionality is not particularly limited to... Figure 2 The functions shown.
[0029] Terminal device 101 includes an input interface 102, a central processing unit (CPU) 103, a read-only memory (ROM) 104, a random access memory (RAM) 105, an external storage device 106, an output interface 107, a display unit 108, a wireless communication unit 109, a short-range wireless communication unit 110, a camera device 111, and a wired communication unit 112, etc. The CPU 103, ROM 104, and RAM 105 constitute the computer of terminal device 101.
[0030] Input interface 102 is an interface configured to receive data input and operation commands from the user, and includes a physical keyboard, buttons, and a touch panel, etc. Output interface 107, described below, and input interface 102 can be implemented as a single component configured to output a screen and receive user input.
[0031] The CPU 103 is the system control unit and controls the entire terminal device 101. In this embodiment, the CPU 103 controls the content displayed on the display unit 108 (display control), etc.
[0032] ROM 104 stores fixed data, such as control programs, data tables, and operating system (hereinafter referred to as "OS") programs executed by CPU 103. In this embodiment, the control programs stored in ROM 104 perform software execution control under the control of the embedded OS stored in ROM 104, such as scheduling, task switching, and interrupt handling. In this embodiment, ROM 104 stores a predetermined application program (application) configured to control communication device 151. In other words, the application program is application software. For example, the predetermined application program is installed on terminal device 101 from an external source via an application store for installing various applications. Furthermore, the predetermined application program is an application provided by the supplier of communication device 151 and configured to configure the network settings of communication device 151 connected to terminal device 101 via at least one of a wired local area network (hereinafter referred to as "wired LAN"), a wireless local area network (hereinafter referred to as "wireless LAN"), and a USB cable. The predetermined application program may include functions other than configuring the connection settings of communication device 151. Specific examples of other functions include a function for sending print jobs configured to cause the communication device 151 to print (print job sending function), and a function for sending scan jobs configured to cause the communication device 151 to scan (scan job sending function). Processes described in this embodiment as being performed by the OS are specifically processes performed by the CPU 103 according to programs in the OS. Similarly, processes described as being performed by an application are specifically processes performed by the CPU 103 according to programs in the application.
[0033] RAM 105 includes static RAM (SRAM) and the like, which requires a backup power supply. RAM 105 uses a primary battery (not shown) for data backup to retain data, thereby storing important data such as program control variables without loss. Furthermore, RAM 105 also includes storage areas configured to store settings information and management data of terminal device 101. Additionally, RAM 105 serves as the main memory of CPU 103 and as working memory.
[0034] External storage device 106 includes various programs, such as a print information generation program configured to generate print information interpretable by communication device 151, and an information transmission / reception control program configured to control the transmission of information to and from communication device 151 connected via wireless communication unit 109. Furthermore, external storage device 106 also stores various types of information used by the programs, as well as image data obtained from other information processing devices or the Internet.
[0035] Output interface 107 is an interface configured to control display unit 108 to display data or provide notification of the status of terminal device 101.
[0036] The display unit 108 includes light-emitting diodes (LEDs) and liquid crystal displays (LCDs), and is configured to display data or provide notifications of the status of the terminal device 101. A software keyboard including keys such as numeric input keys, mode selection keys, enter keys, cancel keys, and power keys can be provided on the display unit 108 to receive input from the user. In this embodiment, the display unit 108 is a touch panel configured to receive operations from the user via a finger, stylus, or other input device.
[0037] The wireless communication unit 109 is configured to establish a wireless connection to a device such as communication device 151 or AP 131 and to perform data communication. For example, the wireless communication unit 109 can communicate directly with communication device 151 via wireless communication, or it can communicate with communication device 151 via AP 131 located outside of terminal device 101 and communication device 151. Although the wireless communication method used by the wireless communication unit 109 in this embodiment is Wi-Fi (a communication method based on the IEEE 802.11 standard), classic Bluetooth or the like can be used. Furthermore, in this embodiment, the term "wireless LAN" refers to a Wi-Fi network. In this embodiment, the term "direct connection" refers to a connection established by directly connecting terminal device 101 and communication device 151 without using an external AP. Furthermore, the term "infrastructure connection" refers to a connection established by connecting terminal device 101 and communication device 151 via an external AP.
[0038] Short-range wireless communication unit 110 is configured to communicate data with a device such as communication device 151 using a short-range wireless communication method, and to communicate using a different communication method than that used by wireless communication unit 109. Short-range wireless communication unit 110 can be connected to short-range wireless communication unit 157 included in communication device 151. Examples of communication methods used by short-range wireless communication unit 110 include Bluetooth Low Energy, Bluetooth Classic, Wi-Fi Sensing, and NFC.
[0039] The camera device 111 is a device configured to convert images captured by an image sensor into digital data.
[0040] The digital data is temporarily stored in RAM 105. Then, a program executed by CPU 103 converts the digital data into a predetermined image format, and the converted data is stored as image data in external storage device 106.
[0041] The wired communication unit 112 is configured to establish a wired connection to a device such as communication device 151 or AP 131 and to perform data communication. For example, the wired communication unit 112 communicates via a wired LAN. In this embodiment, communication via the wired LAN is performed according to the Ethernet standard. This is not intended to be limiting, and the wired communication unit 112 may communicate, for example, via a USB cable. Furthermore, for example, if the terminal device 101 is a smartphone, the terminal device 101 may be provided without the wired communication unit 112.
[0042] The communication device 151 includes ROM 152, RAM 153, CPU 154, printing engine 155, wireless communication unit 156, short-range wireless communication unit 157, input interface 158, output interface 159, function control unit 160, display unit 161, and wired communication unit 162, etc.
[0043] The computer comprising the communication device 151 includes ROM 152, RAM 153, and CPU 154.
[0044] The wireless communication unit 156 is configured to establish a wireless connection to a device such as terminal device 101 or AP 131 and to perform data communication. While the wireless communication method used by the wireless communication unit 156 in this embodiment is Wi-Fi (a communication method based on the IEEE 802.11 standard), classic Bluetooth or similar methods can be used. The wireless communication unit 156 includes an AP 156-a, which acts as an internal AP of the communication device 151 to establish a connection to a device such as terminal device 101. The AP can establish a connection to the wireless communication unit 109 of terminal device 101. The wireless communication unit 156 can communicate directly with terminal device 101 via AP 156-a, or it can communicate with terminal device 101 via AP 131. Furthermore, AP 156-a can be hardware configured to act as an AP, or the wireless communication unit 156 can operate as AP 156-a using software configured to act as an AP. Additionally, the communication device 151 can be configured to internally activate multiple APs, each with a different Service Set Identifier (SSID) and password.
[0045] RAM 153 includes dynamic RAM (DRAM) and the like, which requires a backup power supply. RAM 153 uses a power supply (not shown) for data backup to retain data, thereby storing important data such as program control variables without loss. In addition, RAM 153 serves as the main memory of CPU 154 and as working memory, and stores various types of information as a receive buffer configured to temporarily store print information received from terminal device 101 and the like.
[0046] ROM 152 stores fixed data, such as control programs, data tables, and OS programs executed by CPU 154. In this embodiment, the control programs stored in ROM 152 are executed under the control of the embedded OS stored in ROM 152, performing software execution control such as scheduling, task switching, and interrupt handling. Furthermore, ROM 152 also includes a storage area configured to store data that must be retained even without power supply (such as setting information and management data of communication device 151).
[0047] CPU 154 is the system control unit and controls the entire communication device 151.
[0048] The printing engine 155 is configured to form an image on a recording medium such as paper using a recording agent such as ink, based on information stored in RAM 153 or a print job received from a terminal device 101, and output the print result. Since the print job received from the terminal device 101 involves a large amount of data to be transmitted and requires high-speed communication, the print job is received via a wireless communication unit 156 that can communicate at a higher speed than the short-range wireless communication unit 157.
[0049] The short-range wireless communication unit 157 is configured to communicate with devices such as terminal device 101 using short-range wireless communication methods. Examples of communication methods used by the short-range wireless communication unit 157 include Bluetooth Low Energy, Bluetooth Classic, and Wi-Fi Sensing.
[0050] Input interface 158 is configured to receive data input and operation commands from the user, and includes a physical keyboard, buttons, and a touch panel, etc. Output interface 159, described below, can be implemented as a single component configured to output screen data and receive user input. Output interface 159 is configured to control display unit 161 to display data or provide notifications of the status of communication device 151.
[0051] The function control unit 160 manages function operation to determine whether the function of the communication device 151 should be performed simultaneously.
[0052] Display unit 161 includes LEDs and an LCD, and is configured to display data or provide notifications of the status of communication device 151. A software keyboard including keys such as numeric input keys, mode selection keys, enter keys, cancel keys, and power keys can be provided on display unit 161 to receive input from the user via display unit 161.
[0053] Wired communication unit 162 is configured to establish a wired connection to a device such as terminal device 101 or AP 131 and to conduct data communication. For example, wired communication unit 162 communicates via a wired LAN. This is not intended to be limiting, and wired communication unit 162 may communicate, for example, via a USB cable.
[0054] Direct connection method A direct connection refers to a wireless connection established directly between devices without the use of external devices such as AP 131 (i.e., a peer-to-peer connection). A direct connection is also known as a peer-to-peer (P2P) connection. Communication device 151 is configured to operate in a mode for communication via direct connection (direct connection mode), which is the connection mode. In Wi-Fi communication, there are several modes for communication via direct connection, such as software AP mode and Wi-Fi Direct mode.
[0055] Wi-Fi Direct mode refers to a mode that uses Wi-Fi Direct to establish a direct connection. Wi-Fi Direct is a standard defined by the Wi-Fi Alliance and included in the IEEE 802.11 communication standard. In Wi-Fi Direct mode, once a peer-to-peer (P2P) group owner (GO) and P2P client are discovered using a device discovery command, their roles are determined, and the remaining wireless connection processing proceeds. The group owner corresponds to the Wi-Fi parent site (parent device), and the client corresponds to the Wi-Fi child site (child device). Role determination corresponds, for example, to P2P GO negotiation. In Wi-Fi Direct mode prior to role determination, the communication device 151 is neither a parent site nor a child site. Specifically, the device intending to communicate first issues a device discovery command to discover another device available for connection in Wi-Fi Direct mode. Once the peer-to-peer device is discovered, the device verifies information related to the services and / or functions that can be provided by the device. This device-provided information verification is optional rather than mandatory. This device-provided information verification phase corresponds, for example, to P2P discovery. Next, each device verifies information provided by other devices to determine which device acts as the P2P client and which device acts as the P2P group owner. Once the client and group owner are determined, the devices exchange parameters for Wi-Fi Direct communication. The P2P client and P2P group owner perform the remaining wireless connection processing and Internet Protocol (IP) connection processing based on the exchanged parameters. In Wi-Fi Direct mode, communication device 151 can operate as a GO without the aforementioned GO negotiation. In other words, communication device 151 can operate as an autonomous GO in Wi-Fi Direct mode. Furthermore, the operating state of communication device 151 in Wi-Fi Direct mode can refer to, for example, a state where no Wi-Fi Direct connection is established and communication device 151 operates as a GO, or a state where a Wi-Fi Direct connection is established and communication device 151 operates as a GO.
[0056] In software access point (software AP) mode, one of the devices intending to communicate (e.g., terminal device 101 and communication device 151) (e.g., terminal device 101) acts as a client and requests various services. Additionally, another device implements AP functionality in Wi-Fi by configuring software settings. The software AP corresponds to the Wi-Fi parent site, and the client corresponds to the Wi-Fi child site. In software AP mode, the client issues a device discovery command to discover devices operating as software APs. Once the software AP is discovered, the client and the software AP perform the remaining wireless connection processing (such as establishing a wireless connection), and subsequently, IP connection processing (such as assigning an IP address). The commands and parameters exchanged between the client and the software AP for establishing a wireless connection can be those defined in the Wi-Fi standard, and their detailed description is omitted herein.
[0057] In this embodiment, when communication device 151 has established and maintained a direct connection, communication device 151 operates as a parent site within the network to which it belongs. A parent site refers to a device that establishes a wireless network and provides parameters for child sites to connect to the wireless network. These parameters are, for example, parameters related to the channel used by the parent site. By receiving these parameters, the child site connects to the wireless network established by the parent site using the channel used by the parent site. In the direct connection mode, since communication device 151 operates as a parent site, it can determine which frequency band and which channel are used for communication in the direct connection mode. In this embodiment, communication device 151 can use the channel corresponding to the 2.4 GHz frequency band and the channel corresponding to the 5 GHz frequency band for communication in the direct connection mode.
[0058] Infrastructure connectivity methods The infrastructure connection is a connection in which devices that communicate with each other (such as terminal device 101 and communication device 151) are connected to an access point (such as AP 131) of a network that manages these devices, and these devices communicate with each other via the AP. Communication device 151 is further operable in an infrastructure connection mode, which is one of the connection modes for communicating in the infrastructure connection.
[0059] In infrastructure connectivity, devices use device discovery commands to discover access points (APs). Once an AP is discovered, the device and AP perform the remaining wireless connectivity processing (such as establishing a wireless connection), followed by IP connectivity processing (such as assigning an IP address). The commands and parameters exchanged between the device and the AP to establish a wireless connection can be those defined in the Wi-Fi standard, and their detailed descriptions are omitted here.
[0060] In this embodiment, when the communication device 151 operates within an infrastructure connection, the AP 131 operates as a parent site, and the communication device 151 operates as a child site. In other words, in this embodiment, the infrastructure connection refers to the connection between the communication device 151, operating as a child site, and the device operating as a parent site. When the communication device 151 has established an infrastructure connection and the terminal device 101 has also established an infrastructure connection to the AP 131, the communication device 151 and the terminal device 101 can communicate with each other via the AP 131. The channel used for communication within the infrastructure connection is determined by the AP 131, and the communication device 151 uses the channel determined by the AP 131 for communication within the infrastructure connection. In this embodiment, the communication device 151 can use channels corresponding to the 2.4 GHz band and channels corresponding to the 5 GHz band for communication within the infrastructure connection. The communication device 151 can also use channels corresponding to the Dynamic Frequency Selection (DFS) range of the 5 GHz band for communication within the infrastructure connection. In order to communicate with communication device 151 via AP 131, terminal device 101 identifies and recognizes that communication device 151 belongs to the network established by AP 131 and to which terminal device 101 belongs.
[0061] Connection settings processing In this embodiment, terminal device 101 uses wireless communication with communication device 151 to perform connection setup (network setup). This connection setup (network setup) is for enabling communication device 151 to operate using at least one of infrastructure connection communication method and direct connection communication method. The connection setup process in this embodiment is also referred to as Wireless Setup (CLS) because it is performed using wireless communication. Connection setup can also be performed using wired communication. When a predetermined application stored in external storage device 106 or the like is activated, terminal device 101 performs connection setup processing on communication device 151. Communication device 151 is operable in a connection setup mode (connection setup state), which is the mode for performing connection setup processing, and performs connection setup processing while communication device 151 is operating in the connection setup mode. Details of the connection setup mode will be described below.
[0062] When terminal device 101 enables communication device 151 to operate in infrastructure connection mode, terminal device 101 wirelessly transmits infrastructure setting information to communication device 151. This infrastructure setting information is configuration information used to enable communication device 151 to operate in infrastructure connection mode. The infrastructure setting information includes information related to AP 131. Information related to AP 131 includes, for example, information related to SSID, password, encryption method, and frequency band.
[0063] On the other hand, when terminal device 101 operates communication device 151 in direct connection mode, terminal device 101 wirelessly sends direct connection setting information to communication device 151. This direct connection setting information is configuration information for enabling communication device 151 to operate in direct connection mode. The direct connection setting information includes instructions for enabling Wi-Fi Direct and enabling communication device 151 to operate as a group owner, or instructions for enabling access point settings of communication device 151. Furthermore, terminal device 101 obtains connection information from communication device 151 required to establish a direct connection to communication device 151. The connection information required to establish a direct connection to communication device 151 includes, for example, information related to the SSID and password of communication device 151 operating in direct connection mode.
[0064] In this embodiment, a direct connection or USB cable connection used for connection setup between terminal device 101 and communication device 151 is used to send infrastructure setup information or direct connection setup information and obtain information for establishing a direct connection to communication device 151 during connection setup processing. Although this embodiment uses a direct connection via Wi-Fi for connection setup processing, wireless communication standards other than Wi-Fi, such as Bluetooth, can be used. Furthermore, wired communication standards such as wired LAN can be used for direct connection setup.
[0065] Once an infrastructure connection or direct connection via Wi-Fi is established between terminal device 101 and communication device 151 through connection setup processing, terminal device 101 and communication device 151 can communicate with each other via the established connection. Specifically, for example, terminal device 101 can send a print job configured to cause communication device 151 to print or a scan job configured to cause communication device 151 to scan via the established connection. Although the connection setup processing in this embodiment allows communication device 151 to operate in infrastructure connection mode or direct connection mode, this is not intended to be limiting. For example, the connection setup processing can be configured to cause communication device 151 to operate only in infrastructure connection mode (in other words, the connection setup processing cannot cause communication device 151 to operate in direct connection mode).
[0066] Connection settings mode The communication device 151 can operate in a connection setting mode. A trigger for initiating operation of the communication device 151 in connection setting mode could be, for example, a user pressing a connection setting mode button, or the communication device 151 being activated (powered on) for the first time after delivery. The connection setting mode button can be a hardware button on the communication device 151 or a software button displayed on the display unit 161. Connection setting mode is a mode in which operation ceases after a predetermined time has elapsed since the connection setting mode became active.
[0067] Once communication device 151 begins operation in connection setup mode, it enables Wi-Fi communication. Specifically, as a process for enabling Wi-Fi communication, communication device 151 enables its internal access point (AP) dedicated to connection setup mode. Therefore, communication device 151 is in a state where it can establish a direct connection to terminal device 101 via Wi-Fi. At least some of the connection information (SSID and password) used to establish the connection to the connection setup AP is pre-stored in a predetermined application installed on terminal device 101. In other words, terminal device 101 pre-identifies at least some of the connection information used to establish the connection to the connection setup AP. Therefore, unlike the connection information associated with the AP that is active in direct connection mode, the user cannot arbitrarily change at least some of the connection information used to establish the connection to the connection setup AP. The connection setup AP that is active at the start of operation in connection setup mode is an AP that becomes inactive after a predetermined time has elapsed since the AP became active.
[0068] The SSID of the Connection Setting AP, which serves as connection information for establishing a connection to the Connection Setting AP, will be described in detail in this embodiment. In this embodiment, the SSID of the Connection Setting AP includes a string common to multiple models, a string common to a single model, and a unique string. The string common to multiple models refers to a string common to a predetermined model provided by a predetermined supplier and other models provided by the predetermined supplier. Specifically, the string common to multiple models refers to a string that includes a string indicating the supplier name. The string indicating the supplier name is not limited to a string consisting only of the supplier name and can be any string that includes the supplier name. Furthermore, this is not intended to be restrictive, and the string can be, for example, a string that does not include the string indicating the supplier name but is assigned to each supplier. Furthermore, the string common to a single model refers to a string common to predetermined models provided by a predetermined supplier, but not common to predetermined models provided by the predetermined supplier and other models provided by the predetermined supplier. Hereinafter, the string common to a single model will be referred to as the common string for each model. Specifically, the common string for each model refers to a string that includes a string indicating the model name. The string indicating the model name is not limited to a string consisting only of the model name and can be any string that includes the model name. Furthermore, this is not intended to impose restrictions, and the string can be, for example, a string that does not include the string used to indicate the model name but is assigned to each model.
[0069] Furthermore, the unique string refers to a string that is different for each communication device. Specifically, the unique string is a string such as the serial number of the communication device or a random string that is different for each communication device. However, this is not intended to be restrictive, and the unique string can be a string that changes each time the connection setting mode is activated. In addition, in this embodiment, the SSID of the connection setting AP sequentially includes a string common to multiple models, a unique string, and a common string specific to each model. However, this is not intended to be restrictive, and the strings can be in any order. In this disclosure, the SSID of the connection setting AP does not need to include all three types of strings (i.e., a string common to multiple models, a unique string, and a common string specific to each model). For example, a string including two of the three types of strings or a string arbitrarily determined by the user can be used.
[0070] The application pre-stores at least some strings of the SSID and notifies the OS of these strings, thereby enabling the OS to search for communication devices. In this embodiment, the strings pre-stored in the application are strings indicating the vendor name. In other words, the strings indicating the vendor name are at least some of the strings forming the SSID and are strings common to multiple models. The strings pre-stored in the application are not limited to strings common to multiple models, and can be common strings or unique strings specific to each model. In this disclosure, the application does not need to pre-store at least some strings of the SSID. Specifically, the application can receive input of at least some strings of the SSID from the user, identify the input string entered as is, and notify the OS of the input string as is.
[0071] Encryption methods can be omitted when configuring the AP for connection setup, and a password can be used to establish a connection to the AP. In connection setup mode, communication device 151 can establish a connection to terminal device 101 via Wi-Fi Direct instead of standard Wi-Fi. In other words, communication device 151 can operate as a group owner and receive setup commands from terminal device 101 via Wi-Fi Direct communication. In connection setup mode, communication device 151 can enable communication other than Wi-Fi (such as Bluetooth Low Energy communication). In other words, communication device 151 can use communication methods other than Wi-Fi for connection setup processing. Furthermore, communication device 151 can enable both Wi-Fi communication and communication other than Wi-Fi (such as Bluetooth Low Energy communication).
[0072] Software configuration for pre-ordered applications Next, the software configuration of the wireless connection program, which is the intended application in this embodiment, will be described. This software is installed on the terminal device 101 as the wireless connection program 301. The communication device detection unit 302 performs the following processing: it detects the communication device 151 by discovering communication devices 151 connected to the AP using at least one of wired LAN and wireless LAN connection methods, discovering communication devices 151 connected to the terminal device 101 using a USB cable, and detecting beacons of communication devices 151 operating in connection setting mode. The communication device information acquisition unit 303 acquires identification information, functional support information related to the detected communication device 151, and information indicating the operating mode of the detected communication device 151 from the detected communication device 151. The mode change necessity determination processing unit 304 determines whether to perform network setting processing for the communication device 151 based on the administrator password setting information and operating mode information related to the communication device 151 acquired by the communication device information acquisition unit 303. If it is determined that network configuration processing is to be performed, the application displays a network configuration screen; if it is determined that network configuration processing is not to be performed, the application displays a notification screen to notify the communication device 151 to operate in connection configuration mode. Specifically, the notification screen prompts the user to change the communication device 151 to connection configuration mode. The network configuration processing unit 305 is a processing unit configured to perform network configuration processing on the communication device 151 by sending network configuration information to the communication device 151. In this embodiment, the network configuration information refers to information including at least one of the following: information for establishing a connection to the AP (AP's SSID and password), direct connection configuration information, and IP address configuration information. The IP address configuration information includes information related to the method for obtaining the IP address set for the communication device 151, which will be described below.
[0073] The predetermined application receives from the user either an infrastructure connection or a direct connection as a method for establishing a connection between communication device 151 and terminal device 101. Then, if the user selects an infrastructure connection, the predetermined application receives from the user the SSID of the selected AP to which communication device 151 will connect and the encryption method of that AP. Furthermore, if the user selects an infrastructure connection, the predetermined application receives from the user the IP address settings for communication device 151. An IP address is an identification number used to identify each communication device connected to a network such as the Internet or a LAN. Each communication device is assigned a unique, non-repeating IP address, thereby enabling communication between communication devices. In this embodiment, when terminal device 101 sends communication data to communication device 151 via a LAN established by AP 131, it is necessary to assign an IP address to communication device 151 to identify the destination of the communication data. In this embodiment, the predetermined application receives from the user a selected method for obtaining the IP address to be set for communication device 151. A method for obtaining an Internet Protocol version 4 (IPv4) address, as an example of an IP address, will be described. The application receives from the user one of the following methods as the IPv4 address acquisition method: an automatic IP address acquisition method (automatic IP address acquisition) and a method where the user manually enters the IPv4 address (manual IP address input). Specifically, when manual IP address input is selected, the application receives the IP address, subnet mask, and default gateway from the user. In this embodiment, the subnet mask corresponds to information indicating the range of IPv4 addresses that can be used to establish a connection to AP 131. Furthermore, the default gateway corresponds to the IP address of AP 131.
[0074] Automatic IPv4 address acquisition will be described. In this embodiment, communication device 151 requests an IPv4 address from AP 131 using Dynamic Host Configuration Protocol (DHCP). In response, AP 131 sends a predetermined IPv4 address to communication device 151, which is an unused IPv4 address from the IPv4 addresses managed by AP 131. Communication device 151 sets the predetermined IPv4 address received from AP 131 as its own IPv4 address. Along with the IPv4 address, subnet mask and default gateway information are also sent to and set on communication device 151. Next, manual IPv4 address input will be described. In this embodiment, communication device 151 receives IPv4 address information from terminal device 101 corresponding to the IPv4 address, subnet mask, and default gateway entered by the user in a predetermined application. Communication device 151 sets the IPv4 address, subnet mask, and default gateway based on the IPv4 address information corresponding to the input received from terminal device 101.
[0075] Next, a method for obtaining an Internet Protocol version 6 (IPv6) address, exemplified by an IP address, will be described. As an IPv6 address setting method, a choice will be made between a method using a stateless address received from a user, a method where the user manually enters an IPv6 address, and a method using Dynamic Host Configuration Protocol (DHCPv6) for IP version 6. The method using a stateless address refers, for example, a method where communication device 151 automatically generates an IPv6 address based on a Router Advertisement (RA) packet notified by a router, and sets the generated IPv6 address as the IPv6 address of communication device 151. The method where the user manually enters an IPv6 address refers, for example, a method where IPv6 address information corresponding to the IPv6 address entered by the user in a predetermined application is set on communication device 151. The method using DHCPv6 refers, for example, a method where an IPv6 address is obtained from AP 131 by requesting IPv6 address allocation from AP 131 using DHCPv6, and the obtained IPv6 address is set on communication device 151.
[0076] Administrator password settings Users can set an administrator password via a screen displayed on the operation panel of the display unit 161, which is the main body of the communication device 151, or via a screen displayed on the display unit 108 of the terminal device 101 using the remote user interface (remote UI) function of the communication device 151. The remote UI function will be described. The communication device 151, which includes web server functionality, communicates with a web browser application (which is different from a predefined application and operates on the terminal device 101) via Hypertext Transfer Protocol (HTTP), thereby enabling the verification of various types of setting information including network settings of the communication device 151 and the use of the web browser of the terminal device 101 to change setting values. This function is referred to as the remote UI function, and hereinafter, the screen on the display unit 108 configured to use the web browser of the terminal device 101 to verify various types of setting information related to the communication device 151 and receive changes to various setting values will be referred to as the remote UI screen. Although a web browser application different from the predefined application is used to display the remote UI screen in this embodiment, this is not intended to be limiting. For example, the predefined application may include web browser functionality, and the web browser functionality may be used to display the remote UI screen.
[0077] Furthermore, in this embodiment, the administrator password refers to the password entered by the user for administrator password authentication when the user performs operations to verify various types of setting information related to the communication device 151 or to change various setting values. Figure 10 and Figure 11 Example of a screen related to administrator password settings. Figure 10 and Figure 11 Each of the examples in this document represents a remote UI screen of the communication device 151. While the screen displayed on the remote UI screen in this embodiment is an example of a screen related to administrator password settings, this is not intended to be limiting. For example, a screen related to administrator password settings could be a screen displayed on the operation panel of the communication device 151. The following will describe... Figure 10 The screen 1000 for selecting the range of administrator passwords includes an area 1001 for selecting the range of administrator passwords and an OK button 1002. The range of administrator passwords corresponds to the range of authentication used to receive administrator password input from the user for performing various settings-related operations of the communication device 151. Area 1001 is the area for receiving user selections related to whether to set the operation panel of the communication device 151 to a certain range. When the OK button 1002 is pressed while the user selection related to whether to set the operation panel of the communication device 151 to a certain range has been received, the web browser application configured to display a remote UI screen displays the administrator password input screen. Figure 11An example of this input screen is shown below. The administrator password input screen 1100 includes an administrator password input box 1101, an administrator password confirmation box 1102, and an OK button 1103. The administrator password input box 1101 is the area for receiving the administrator password from the user. The administrator password confirmation box 1102 is the area where the user re-enters the password entered in the administrator password input box 1101. When the OK button 1103 is pressed while the password entered in the administrator password confirmation box 1102 matches the password entered in the administrator password input box 1101, the administrator password is registered.
[0078] Furthermore, as described above, the trigger for initiating operation of the communication device 151 in the connection setting mode can be a user pressing the connection setting mode button. In other words, an operation on the main body of the communication device 151 is required for the communication device 151 to operate in the connection setting mode. Additionally, as described above, if the operation panel on the communication device 151 is set to the range of an administrator password, the user needs to enter the administrator password on the operation panel of the communication device 151 to perform operations on the main body of the communication device 151.
[0079] Therefore, the state in which the communication device 151 operates in the connection setting mode corresponds to the state in which the administrator password is entered into the communication device 151 and authenticated. In other words, in this embodiment, the connection setting mode corresponds to the mode configured to be effective when the user enters the administrator password.
[0080] In the case that communication device 151 is a communication device without an operation panel, the user cannot enter the administrator password into communication device 151. Furthermore, if communication device 151 allows the operation panel to be set to the range of administrator passwords, the administrator password authentication can be invalidated through user operation on communication device 151. In other words, it is not necessary to enter an administrator password for communication devices without an operation panel or communication devices where the user invalidates the administrator password authentication to begin operation in connection setup mode. Communication device 151 that allows the operation panel to be set to the range of administrator passwords is, for example, a communication device that includes an operation panel.
[0081] The problem solved by this embodiment The following configuration exists: Terminal device 101 sends information for establishing a connection to the AP without determining whether the administrator password authentication was performed by communication device 151, thereby connecting communication device 151 to the AP through connection settings processing. However, this conventional configuration allows a third party to send the information for establishing a connection to the AP from terminal device 101 to communication device 151 without knowing the administrator password, which could potentially lead to the third party changing the AP to which communication device 151 is connected.
[0082] To address this issue, in this embodiment, terminal device 101 performs processing to prevent network settings of communication device 151 from being altered by a third party. Specifically, a predetermined application controls terminal device 101 so that network settings of communication device 151 are not executed if administrator password authentication is not performed by communication device 151. Furthermore, the predetermined application controls terminal device 101 so that network settings of communication device 151 can be executed even if administrator password authentication is performed by communication device 151. The predetermined application displays a notification screen prompting the user to change the connection setting mode of communication device 151 to prevent network settings of communication device 151 from being executed.
[0083] Furthermore, in a conventional configuration, if a communication device 151 detected by a search performed by a terminal device 101 including a predetermined application is a communication device connected to the terminal device 101 via an access point, the predetermined application performs processing to enable network settings for the communication device 151. However, there is a problem that performing network settings by the predetermined application may change the IP address of the communication device 151 and disconnect the infrastructure connection established between the terminal device 101 and the communication device 151.
[0084] Specifically, the problem is as follows: the connection between the access point and the communication device 151 may be lost, which may prevent the terminal device 101 from connecting to the communication device 151 via the access point, and may make it impossible to use the communication device 151 from the terminal device 101.
[0085] To address this issue, in this embodiment, the predetermined application performs processing to prevent the infrastructure connection established between terminal device 101 and communication device 151 from being disconnected. Specifically, when an infrastructure connection is established between communication device 151 and terminal device 101, the predetermined application does not perform network configuration processing for communication device 151. When the connection between communication device 151 and terminal device 101 uses an internal AP of communication device 151 that is valid when communication device 151 is operating in connection configuration mode, the predetermined application performs processing to enable network configuration processing for communication device 151. When the connection between communication device 151 and terminal device 101 uses an AP that is different from the internal AP of communication device 151 that is valid when communication device 151 is operating in connection configuration mode, the predetermined application performs processing to prevent network configuration processing for communication device 151 from being performed. In other words, the internal AP of communication device 151 that is valid when communication device 151 is operating in connection configuration mode corresponds to an internal AP that is invalidated after a predetermined time has elapsed since the internal AP became valid. Furthermore, the process for preventing network settings processing of communication device 151 is specifically as follows: when communication device 151 is a communication device with infrastructure connection to terminal device, the button for receiving network settings of communication device 151 from user is displayed in a grayed-out state, thereby preventing the receiving of network settings of communication device 151 from user.
[0086] This disclosure does not necessarily solve all of the above-described problems, but may solve one or more of them. In other words, this disclosure does not necessarily perform all the processing required to solve the above-described problems, but may perform one or more of the processing required to solve the above-described problems.
[0087] The processing performed by the predetermined application in this embodiment Figure 4 This is a flowchart illustrating an example of processing performed by terminal device 101 using a predetermined application in this embodiment. Figure 4 Each process in the flowchart is implemented, for example, by the CPU 103 loading a predetermined application stored in a memory such as ROM 104 into RAM 105 and executing the predetermined application. Furthermore, when operating on a screen displayed by the predetermined application to search for the communication device 151, the process begins... Figure 4 The flowchart in the document.
[0088] Figure 4 The flowchart in the program can begin when the scheduled application is activated.
[0089] In step S401, the application identifies communication devices connected to the same network as terminal device 101 and having an IPv4 address, and communication devices in connection setup mode, as objects of the communication device search performed in step S402, which will be described below. Hereinafter, communication devices connected to the same network as terminal device 101 are referred to as communication devices in infrastructure connection state, and communication devices in infrastructure connection state with an IPv4 address are referred to as communication devices in infrastructure connection state and having an IPv4 address.
[0090] In step S402, the predetermined application performs a process for searching for communication devices identified as search targets. Since communication devices in an infrastructure-connected state and with IPv4 addresses were identified as search targets in step S401, the predetermined application performs a process for searching for communication devices in an infrastructure-connected state and with IPv4 addresses. The process for searching for communication devices in an infrastructure-connected state and with IPv4 addresses will be described. Specifically, the predetermined application generates a Simple Network Management Protocol (SNMP) packet for detecting communication devices that are in an infrastructure-connected state, have IPv4 addresses, and are on the network to which terminal device 101 is connected. The SNMP packet includes information specifying the destination of the SNMP packet. In the process for searching for communication devices in an infrastructure-connected state and with IPv4 addresses, information corresponding to communication devices in an infrastructure-connected state, having IPv4 addresses, and on the network to which terminal device 101 is connected is included as information for specifying the destination of the SNMP packet. In other words, the predetermined application instructs the OS to send SNMP packets to communication devices in an infrastructure-connected state and with IPv4 addresses. Therefore, the OS uses SNMP packets to search for communication devices that are in an infrastructure connected state and have IPv4 addresses.
[0091] Furthermore, the pre-defined application simultaneously performs a process for searching for communication devices located near terminal device 101 and operating in connection setup mode, while performing a process for searching for communication devices in infrastructure connectivity state and having IPv4 addresses. Specifically, the pre-defined application instructs the OS to perform an AP search. Then, the pre-defined application determines whether any SSID of the AP detected by the search performed by the OS includes a string that indicates the vendor name and is included in the SSID of the connection setup AP. The string indicating the vendor name is pre-stored in the pre-defined application.
[0092] The search for communication devices operating in connection setup mode is not limited to being performed in parallel with the search for communication devices in infrastructure connection state and having IPv4 addresses, but can instead be performed after the search for communication devices in infrastructure connection state and having IPv4 addresses. Furthermore, the search for communication devices operating in connection setup mode can be performed at a predetermined time point after the predetermined application is activated and before the search for communication devices in infrastructure connection state and having IPv4 addresses is performed. The processing for searching for communication devices in infrastructure connection state and having IPv4 addresses, and the processing for searching for communication devices located near terminal device 101 and operating in connection setup mode, are also performed in step S402 after step S408.
[0093] In step S403, the predetermined application acquires model information related to the communication device detected by the communication device search performed by the OS. In this embodiment, the management information base (MIB) inside the communication device 151 manages the model information related to the communication device 151. The MIB configured herein may be a standard MIB such as a communication device MIB, or a vendor-specific MIB. In this process, the predetermined application acquires the model information related to the communication device managed by the vendor-specific MIB in the communication device as the model information related to the detected communication device. Although in this embodiment the predetermined application acquires information managed by the vendor-specific MIB in the detected communication device as the model information related to the detected communication device, this is not intended to be limiting. In other words, the predetermined application may acquire information managed by the standard MIB in the detected communication device as the model information related to the detected communication device.
[0094] Furthermore, although in this embodiment the OS performs a search for communication devices using SNMP packets (i.e., based on the SNMP protocol), this is not intended to be limiting. In other words, the OS can perform a search for communication devices based on protocols other than SNMP (such as multicast Domain Name System (Multicast DNS) or Bonjour).
[0095] In step S404, the application displays an example of a screen for displaying a list of communication devices. The list of communication devices is a list of communication devices detected (discovered) through a communication device search performed by the OS. Figure 5A and Figure 5B An example of a screen displayed during this processing is shown. The description will follow. Figure 5AScreen 500 is an example of a screen displayed when a communication device in infrastructure connection state and having an IPv4 address, and a communication device in connection setting mode, are detected. Screen 500 includes a drop-down list 501 for selecting a search object, a menu 502 related to communication device settings, and an area 503 for displaying a list of communication devices. The drop-down list 501 is a drop-down list from which the user can select a communication device to search for. The drop-down list 501 is configured to allow the user to select the following communication devices as the communication device search objects performed by the OS in step S402: communication devices in infrastructure connection state and having an IPv4 address and communication devices in connection setting mode, communication devices in infrastructure connection state and having an IPv6 address and communication devices in connection setting mode, or communication devices in USB connection state. When the user selects a communication device as a search object from the drop-down list 501, the communication device search object is identified. When the drop-down list 501 is operated, multiple options are displayed in the drop-down list 501. These options include: "IPv4", which is used to search for communication devices in infrastructure connection state and with IPv4 addresses, and communication devices in connection setup mode; "IPv6", which is used to search for communication devices in infrastructure connection state and with IPv6 addresses, and communication devices in connection setup mode; and "USB", which is used to search for communication devices in USB connection state. The menu 502 related to communication device settings is configured to receive user instructions related to the settings of communication devices identified as objects of network settings. Hereinafter, the communication device identified as an object of network settings will be referred to as the communication device selected as the setting object. In other words, the communication device selected as the setting object is the communication device displayed in area 503, which will be described below, and selected by the user as the object of network settings. When the user operates menu 502, the pre-defined application displays the network settings button 511 and the web settings device button 512. Figure 5B An example of a screen displayed by a predefined application when a user operates menu 502 related to communication device settings. Figure 5BThis includes a network settings button 511 and a web-based settings button 512. When the user operates menu 502 without selecting a communication device in area 503, both buttons 511 and 512 are displayed in a grayed-out state. The network settings button 511 is used to receive network settings for the communication device selected by the user. The web-based settings button 512 is used to display a remote UI for performing various settings on the selected communication device. Area 503, used to display a list of communication devices, is configured to present information related to communication devices detected by the communication device search performed in step S402. The communication device-related information displayed in area 503 corresponds to information obtained by a predetermined application from communication devices detected by a search performed by the OS. In this embodiment, the communication device-related information includes the communication device's product name, serial number, status information, IP address, and Media Access Control (MAC) address, as well as connection method information related to the connection between the AP and the communication device. For communication devices in an infrastructure connection state, the status information displays "Available," corresponding to the status of the communication device being available to the terminal device 101. The communication devices AAAA series to HHHH series on screen 500 are examples of communication devices in an infrastructure connection state. Furthermore, for communication devices operating in connection setup mode, "Configurable" is displayed, corresponding to the state where wireless network settings can be performed using terminal device 101. The communication devices IIII series on screen 500 are examples of communication devices operating in connection setup mode. Additionally, in this embodiment, text indicating a wired LAN or wireless LAN method is displayed as connection method information in area 503. While the text "Wired LAN" is displayed in area 503 when the connection method is wired LAN and "Wi-Fi" when the connection method is wireless LAN, this is not intended to be limiting. In other words, text indicating a wired LAN connection method can be displayed when the connection method is wired LAN, and text indicating a wireless LAN connection method can be displayed when the connection method is wireless LAN, or text other than "Wired LAN" or "Wi-Fi" can be displayed. Furthermore, in addition to text, an icon indicating the connection method can also be displayed.
[0096] In step S405, the predefined application receives user operations on the screen displayed in step S404.
[0097] In step S406, the predefined application determines whether the user operation received in step S405 is an operation targeting the drop-down list for selecting a search object, or a selection of a communication device displayed in the communication list. If the predefined application determines that the received user operation is targeting the drop-down list 501 for selecting a search object ("operation targeting the drop-down list for selecting a search object" in step S406), the process proceeds to step S407. If the predefined application determines that the received user operation is a selection of a communication device displayed in the communication device list ("selection of a communication device" in step S406), the process proceeds to step S411.
[0098] In step S407, when the user operates the drop-down list 501 for selecting a search object, the predetermined application determines which communication device is identified as the search object. If the predetermined application determines that a communication device in infrastructure connection state and having an IPv4 address and a communication device in connection setting mode are identified as search objects, the process proceeds to step S408. Furthermore, if the predetermined application determines that a communication device in infrastructure connection state and having an IPv6 address and a communication device in connection setting mode are identified as search objects, the process proceeds to step S409. Furthermore, if the predetermined application determines that a communication device in USB connection state is identified as a search object, the process proceeds to step S410.
[0099] In step S408, the intended application identifies communication devices in infrastructure connection state and possessing IPv4 addresses, as well as communication devices in connection setup mode, as the targets for communication device search. If the intended application identifies communication devices in infrastructure connection state and possessing IPv4 addresses, as well as communication devices in connection setup mode, as the search targets in step S408, a search for these communication devices is performed in step S402. Since the details of the search for communication devices in infrastructure connection state and possessing IPv4 addresses, as well as communication devices in connection setup mode, have been described above in step S402, their description is omitted here.
[0100] In step S409, the predetermined application identifies communication devices connected to the same network as terminal device 101, in infrastructure connection state, and having IPv6 addresses, as well as communication devices in connection setup mode, as the targets for communication device search. If the predetermined application identifies communication devices in infrastructure connection state and having IPv6 addresses, as well as communication devices in connection setup mode, as the search targets in step S409, a search for these communication devices is performed in step S402. The predetermined application instructs the OS to send SNMP packets to the communication devices in infrastructure connection state and having IPv6 addresses, thereby performing a search for these communication devices. The details of the search are similar to those of the search for communication devices in infrastructure connection state and having IPv4 addresses, as well as communication devices in connection setup mode, so their description is omitted. Furthermore, in step S409, when a communication device in infrastructure connection state and having an IPv6 address and a communication device in connection setting mode are identified as search targets, the screen displayed in step S404 is similar to the screen displayed in step S404 as described above when a communication device in infrastructure connection state and having an IPv4 address and a communication device in connection setting mode are identified as search targets, so its description is omitted.
[0101] In step S410, the predetermined application identifies a communication device in a USB connection state as the target of the communication device search. If the predetermined application identifies a communication device in a USB connection state as the search target in step S410, the predetermined application performs a search for the communication device in a USB connection state in step S402. The search for the communication device in a USB connection state performed by the predetermined application will be described. Hereinafter, a communication device connected to terminal device 101 via a USB cable will be referred to as a communication device in a USB connection state. In this process, the predetermined application generates an SNMP packet for detecting the communication device in a USB connection state. The SNMP packet includes information related to the communication device in a USB connection state and detected using the OS's Application Programming Interface (API) as destination specification information. In other words, the predetermined application instructs the OS to send an SNMP packet to the communication device in a USB connection state and detected by the OS. In response, the OS uses the SNMP packet to perform a search for the communication device in a USB connection state via USB. In this embodiment, as described above, the intended application searches for communication devices in connection setting mode when searching for communication devices in infrastructure connection state, but does not search for communication devices in connection setting mode when searching for communication devices in USB connection state.
[0102] Next, we will describe Figure 5E . Figure 5EThis example illustrates the screen displayed in step S404 when a communication device in a USB connection state is identified as the search target in step S410. Screen 530 is an example of a screen displayed when a communication device in a USB connection state is detected. Hereinafter, the communication device "KKKK series" that is detected as a communication device in a USB connection state will be referred to as communication device 151. Communication device 151 corresponds to the communication device connected to terminal device 101 via USB. Screen 530 includes a drop-down list 531 for selecting a search target, a menu 532 related to communication device settings, and an area 533 for displaying a list of communication devices. The drop-down list 531 for selecting a search target is similar to the drop-down list 501 for selecting a search target, so its description is omitted. Since screen 530 is an example of a screen displayed when a communication device in a USB connection state is detected, text indicating that the search target is a communication device in a USB connection state is displayed in the drop-down list 531. As an example of this text, "USB" is displayed in the drop-down list 531. The menu 532 related to communication device settings is similar to the menu 502 related to communication device settings, so its description is omitted. When the user operates the menu 532 related to communication device settings, the application is scheduled to display the network settings button 541 and the web settings device button 542. Figure 5F An example of a screen displayed by a predefined application when the user operates menu 532 related to communication device settings. Figure 5F Includes a network settings button 541 and a web-based settings device button 542.
[0103] In this embodiment, when the user operates menu 532 without selecting a communication device in area 533, buttons 541 and 542 are displayed in a grayed-out state, similar to buttons 511 and 512. Area 533 for displaying the list of communication devices is similar to area 503 for displaying the list of communication devices. When a communication device in a USB connected state is detected, the intended application obtains the product name and serial number of the communication device 151 detected in step S403, but does not obtain other information such as the IP address of the communication device. Therefore, in area 533, the product name and serial number of the communication device 151 are displayed, but other information such as the IP address is not displayed. This is not intended to be limiting, and the intended application can obtain the IP address, etc., from the communication device detected by searching for communication devices in a USB connected state, and can display the IP address, etc., in area 533. Furthermore, in this embodiment, the connection method in area 533 corresponds to the method used to establish the connection between terminal device 101 and communication device 151. In this embodiment, since the connection between terminal device 101 and communication device 151 is a USB connection, the word "USB" indicating a USB connection is displayed in area 533. Furthermore, in step S410, described below, if the user identifies a communication device in a USB connected state as the search target, text indicating a USB connection is displayed as information related to the connection method. Although "USB" is shown as an example of text in this embodiment, this is not intended to be limiting. In other words, any text indicating the connection method as USB can be displayed, and text other than "USB" can be displayed. In addition to text, an icon indicating the connection method can also be displayed.
[0104] In step S411, where the predetermined application determines that the user operation is a selection of a communication device displayed in the communication device list in step S406, the predetermined application determines whether to enable or disable user operations on the buttons included in the screen displayed through the processing in step S404. Specifically, the predetermined application determines whether to enable or disable user operations on the network settings button and user operations on the web settings device button.
[0105] Figure 5C , Figure 5D and Figure 5G An example of the screen displayed during this process is shown. Figure 5C Examples of network settings buttons and web settings buttons displayed when a communication device in an infrastructure connectivity state is identified as a settings object. Figure 5CThis corresponds to the state where a communication device HHHH series, which is a communication device in an infrastructure connection state, is selected by the user and identified as a setting target. In this embodiment, when a communication device in an infrastructure connection state is identified as a setting target, a predetermined application displays the network settings button 511 in a grayed-out state to prevent receiving user operation. Furthermore, when a communication device in an infrastructure connection state is identified as a setting target, the predetermined application displays the web settings device button 512 in a manner that allows user operation via the web settings device button 512. In other words, the predetermined application displays the web settings device button 512 in a non-grayed-out state. Although in this embodiment the network settings button 511 is displayed in a grayed-out state when a communication device in an infrastructure connection state is identified as a setting target, this is not intended to be limiting. For example, when a communication device in an infrastructure connection state is identified as a setting target, the network settings button 511 may also be displayed in a manner that allows user operation. Furthermore, if the user operates the network settings button 511, a notification indicating that network settings for the communication device cannot be performed can be provided.
[0106] Next, Figure 5D Examples of network settings buttons and web settings buttons displayed when a communication device in connection settings mode is identified as the setting object. Figure 5D This corresponds to the state where a communication device (series IIII) in connection setting mode is selected by the user and identified as a setting target. In this embodiment, when a communication device in connection setting mode is identified as a setting target, the application will display the network setting button 521 in a manner that allows the user to operate it. Furthermore, in this embodiment, when a communication device in connection setting mode is identified as a setting target, the application will display the web setting device button 522 in a grayed-out state to prevent receiving user operation. The network setting button 521 is similar to the network setting button 511, and the web setting device button 522 is similar to the web setting device button 512. Although in this embodiment the web setting device button 522 is grayed out when a communication device in connection setting mode is identified as a setting target, this is not intended to be limiting. For example, when a communication device in connection setting mode is selected, the web setting device button 522 can also be displayed in a manner that allows the user to operate it. In addition, when the user operates the device button 522 via the web settings, a notification can be provided to indicate that the configuration of the device via the web cannot be performed.
[0107] Next, Figure 5G This example illustrates the display when a communication device in a USB connected state is recognized as the setting object. Figure 5G This corresponds to the state where a communication device (KKKK series) in a USB-connected state is selected by the user and identified as the setting target. In this embodiment, when a communication device in a USB-connected state is identified as the setting target, the predetermined application displays the network setting button 541 in a manner that allows the user to operate it. Furthermore, in this embodiment, the predetermined application displays the web setting device button 542 in a grayed-out state to prevent receiving user operation. The network setting button 541 is similar to network setting buttons 511 and 521, and the web setting device button 542 is similar to web setting device buttons 512 and 522.
[0108] In this embodiment, a predetermined application receives network settings from a communication device in connection setting mode or a communication device in USB connection mode, and sends the network setting information to the communication device. Then, in step S417, which will be described below, the predetermined application changes the status of the communication device to "set" as the destination of the sent network setting information. Then, the process proceeds to step S404, and the predetermined application displays "set" as the status of the set communication device in the communication device list. Therefore, the predetermined application also performs this process when the process proceeds from step S417 to step S404. In the process performed when the process proceeds from step S417 to step S404, the predetermined application disables both user operation on the network setting button and user operation via the web setting device button. The details of the process performed when the process proceeds from step S417 to step S404 will be described below in step S417.
[0109] In summary, in this embodiment, user operation of the network settings button is effective when the communication device selected as the setting target is a communication device in connection setting mode or a communication device in USB connection state. User operation of the network settings button is ineffective when the communication device 151 (which is the communication device selected as the setting target) is in infrastructure connection state or when the communication device 151 has become a set communication device. Furthermore, user operation via the web settings device button is effective when the communication device 151 is in infrastructure connection state. Additionally, user operation via the web settings device button is ineffective when the communication device 151 is in connection setting mode, a communication device in USB connection state, or a communication device 151 has become a set communication device. In other words, the predetermined application controls the network settings so that when a communication device in infrastructure connection state is identified as the setting target, the predetermined application does not receive network settings from the user, and when a communication device in connection setting mode or a communication device in USB connection state is identified as the setting target, the predetermined application receives network settings from the user. However, the pre-defined application controls this so that when a communication device in an infrastructure-connected state is identified as a setting object, a remote UI (see reference) is displayed. Figure 9 It can accept administrator password authentication by entering the administrator password on the remote UI screen to log in to the remote UI screen.
[0110] According to the user settings of communication device 151, the administrator password authentication on the remote UI screen can be switched between a valid and invalid state. Therefore, when the communication device is set to invalidate the administrator password authentication on the remote UI screen, administrator password authentication on the remote UI screen is not performed.
[0111] In step S412, the predetermined application determines which button the user operated. Specifically, the predetermined application determines whether the network settings button was operated when the communication device was identified as the setting target, or whether the web-connected settings button was operated. If the predetermined application determines that the network settings button was operated (yes in step S412), the process proceeds to step S413. If the predetermined application determines that the web-connected settings button was operated (no in step S412), the process proceeds to step S418. As described above, the network settings button is used to receive network settings from the user for the communication device selected as the setting target. However, as described above, the predetermined application controls the process such that when the communication device in an infrastructure connection state is identified as the setting target, the predetermined application does not receive network settings from the user, and when the communication device in connection setting mode or USB connection state is identified as the setting target, the predetermined application receives network settings from the user. In other words, the case where the process determines that the network settings button was operated corresponds to the case where the communication device selected as the setting target is a communication device in connection setting mode or a communication device in USB connection state. Furthermore, as described above, the web settings device button is a button used to display a remote UI for performing settings on the communication device selected as the setting object. However, as described above, in this embodiment, the application is pre-controlled such that the remote UI is displayed when a communication device in infrastructure connection mode is identified as the setting object, and the remote UI is not displayed when a communication device in connection setting mode is identified as the setting object. In other words, in this process, the case of determining that the operation is performed via the web settings device button corresponds to the case where the communication device selected as the setting object is a communication device in infrastructure connection mode.
[0112] In step S413, the predetermined application determines whether to select a communication device in a USB connection state as the setting target. Specifically, the predetermined application determines whether the communication device selected as the setting target in step S412 by the user operating the network setting button or via the web setting device button is a communication device in a USB connection state. If the predetermined application determines "yes" ("yes" in step S413), the process proceeds to step S414. If the predetermined application determines "no" ("no" in step S413), the process proceeds to step S415. As described above, operating the network setting button in step S412 corresponds to the user selecting a communication device in connection setting mode or a communication device in a USB connection state as the setting target. In other words, the predetermined application's determination of "no" in this process corresponds to selecting a communication device in connection setting mode as the setting target.
[0113] In step S414, the application is scheduled to perform network configuration processing. The details of the network configuration processing will be described below.
[0114] In step S415, if the result of step S413 is "no", the predetermined application displays the first network settings screen. Upon receiving an instruction from the user to display the first network settings screen, the terminal device 101 establishes a temporary connection to the communication device operating in connection settings mode, obtains the IP address settings information configured on that communication device, disconnects the connection to that communication device, and re-establishes a connection to the predetermined AP. Receiving the instruction from the user to display the first network settings screen corresponds to the user operating the network settings button 521 while the user selects the communication device operating in connection settings mode on screen 500. Figure 7 An example of a screen displayed in this process is shown. Screen 700 includes an area 701 for selecting a connection method, an SSID input box 702, a drop-down list 703 for selecting an encryption method, an area 704 for setting an IP address, a setting button 705, and a cancel button 706. The area 701 for selecting a connection method receives the user's selection of infrastructure connection or direct connection as the method for establishing a connection between communication device 151 and terminal device 101. The SSID input box 702 is a box for entering the SSID of the AP identified as the connection target of communication device 151. Furthermore, the drop-down list 703 for selecting an encryption method is an area for receiving encryption method settings. If terminal device 101 connects to a predetermined AP at the point in time from the time the user receives the instruction to display the first network settings screen, the predetermined application obtains information related to the SSID and encryption method of the predetermined AP from the OS at that point in time. Therefore, when terminal device 101 is connected to a predetermined AP at the time of display screen 700, the SSID of the predetermined AP is displayed in the SSID input box 702, and the encryption method set on the predetermined AP is displayed in the drop-down list 703 for selecting the encryption method. When terminal device 101 is not connected to the predetermined AP at the time of display screen 700, the SSID input box 702 and the drop-down list 703 for selecting the encryption method are blank. In this embodiment, the predetermined AP is triggered... Figure 4 The flowchart in the process begins when the terminal device 101 is connected to the AP.
[0115] Furthermore, when the user selects a direct connection in area 701 for selecting a connection method, the SSID input box 702 and the drop-down list 703 for selecting an encryption method are grayed out to prevent user input. Although in this embodiment the SSID input box 702 for inputting the SSID of the wireless LAN connection is configured to receive a string entered by the user via the keyboard, a list of SSIDs of APs detected by the predetermined application or communication device 151 can be displayed to allow selection. Additionally, the drop-down list 703 for selecting an encryption method displays options from which the user can select unencrypted, WEP, WPA / WPA2, WPA2 / WPA3, and WPA3. Although a drop-down list is used to receive selections in this embodiment, the encryption method set for the SSID entered in the input box for inputting the SSID of the wireless LAN connection can be automatically set. Area 704 for setting the IP address is an input box for setting IPv4 or IPv6, and the predetermined application receives IPv4 or IPv6 settings from the user via area 704 for setting the IP address. Figure 7 The illustrated screen 700 is an example of the screen displayed when the user selects IPv4 settings; therefore, the area for setting the IPv4 address is displayed in area 704, which is used to set the IP address. If the user selects IPv6 settings in area 704, this area is switched to display the area for setting the IPv6 address. The application will pre-determine that the information related to the IP address of the communication device 151, obtained from the user's instruction to display the first network settings screen, will be displayed in area 704 at the point in time the first network settings screen is displayed.
[0116] If the user presses the settings button 705, the process proceeds to step S416. If the user presses the cancel button 706, the application will close the screen 700 and display the screen 500.
[0117] In step S416, the predetermined application sends the settings information set on the first network settings screen 700 to the communication device 151. In other words, at least one of the information for establishing a connection to the AP identified as the connection target of the communication device 151 and the IP address settings information is sent to the communication device 151. Specifically, this information includes the connection method selected in area 701, the SSID of the AP entered in the SSID input box 702, the encryption method selected from the drop-down list 703, and the IP address settings information set in area 704. If the AP identified as the connection target of the communication device 151 is the predetermined AP, the predetermined application sends the information for establishing a connection to the predetermined AP to the communication device 151 without receiving the password input for the predetermined AP from the user. On the other hand, if the AP identified as the connection target of the communication device 151 is another AP different from the predetermined AP, the predetermined application receives the password input for that other AP from the user. Then, if the user enters the password for that other AP, the predetermined application performs pre-connection settings processing. The pre-connection settings processing will be described. The pre-defined application uses configuration information, including the SSID and password of the other AP (which is identified as the connection target of communication device 151), to establish a connection to that other AP. In the case of establishing a connection between the other AP and terminal device 101 through pre-connection configuration processing, the pre-defined application determines that the password of the other AP entered by the user is correct. Therefore, terminal device 101 disconnects from the other AP and re-establishes a connection to communication device 151. Then, the pre-defined application sends information (such as the AP's SSID and password) to communication device 151 for establishing the connection to the other AP.
[0118] After the configuration information for establishing a connection to a predetermined AP or other AP is sent to the communication device 151, the communication device 151 terminates the connection configuration mode and uses the received information to establish a connection to the AP identified as the connection target of the communication device 151. With the termination of the connection configuration mode, the connection between the communication device 151 and the terminal device 101 is broken. Then, the terminal device 101 uses information related to the predetermined AP obtained at the time the user receives the instruction to display the first network configuration screen to re-establish the connection to the predetermined AP. Afterward, the process proceeds to step S417.
[0119] In step S417, the predetermined application changes the status of the communication device detected as a communication device in connection setting mode and the status of the communication device in USB connection mode to "set", and the process proceeds to step S404. Figure 15A and Figure 15D An example of a screen displayed during step S404 when step S417 is being performed. Figure 15AScreen 1500 is an example of a communication device list screen displayed when network setting information is sent to a communication device in a USB connected state during this process. When the user operates the menu 1502, the application is scheduled to display the network settings button 1522 and the web settings device button 1523. Figure 15B This example illustrates the screen displayed by a predetermined application when a user operates menu 1502 related to communication device settings. When the user operates menu 1502 without selecting a communication device in area 1501, both buttons 1522 and 1523 are displayed in a grayed-out state. Figure 15C As illustrated, when the user operates menu 1502 in the state of any communication device displayed in selection area 1501 in step S411, buttons 1522 and 1523 are both displayed in a grayed-out state.
[0120] Next, Figure 15D This example illustrates a list of communication devices displayed when network settings information is sent to a communication device in connection settings mode that is the object of the settings process. Figure 15D Screen 1510 is a list of communication devices displayed when network setting information is sent to a communication device in connection setting mode. When the user operates menu 1512, the application will display the network settings button 1532 and the web settings device button 1533. Figure 15E This example illustrates the screen displayed by a predetermined application when the user operates menu 1512, which is related to communication device settings. Similar to buttons 511 and 512, when the user operates menu 1512 without selecting a communication device in area 1511, buttons 1532 and 1533 are both displayed in a grayed-out state. Figure 15F As illustrated, when the user operates the menu 1512 in the state of the communication device displayed in the selection area 1511 in step S411, both buttons 1532 and 1533 are displayed in a grayed-out state.
[0121] In area 533 of screen 530, when a communication device in USB connection mode is identified as a search target, the status of the communication device in USB connection mode is blank. However, in area 1501 of screen 1500, the status of the communication device in USB connection mode displays "Set up". Furthermore, screen 1510 is a list of communication devices displayed when network settings for a communication device in connection setting mode are completed. In area 503 of screen 500, when a communication device in infrastructure connection mode is identified, the status of the communication device in connection setting mode is "Settable", while in area 1511 of screen 1510, the status of the communication device in connection setting mode displays "Set up".
[0122] In step S418, where it is determined in step S412 that the operation was performed via the web settings device button, the application is scheduled to display a remote UI screen. Figure 12A and Figure 12B An example of the screen displayed during this process is shown. In addition to the IP address settings of communication device 151, the remote UI screen also includes functions that can verify information other than network settings (such as ink volume and job history of communication device 151). Figure 12A An example of the screen displayed during this process is shown. Screen 1200 is a screen for performing network settings of a communication device on a remote UI screen displayed when the user operates a button on the web settings device. Screen 1200 includes an advanced settings button 1201 for network settings. The advanced settings button 1201 is a button for receiving settings of the communication device (such as Transmission Control Protocol (TCP) / Internet Protocol (IP) settings or web service (WSD) settings for the device). When the user operates button 1201, the following is displayed: Figure 12B The illustrated screen is 1210. Then, when the user operates the TCP / IP settings button included in screen 1210, IP address settings are performed. As described above, in this embodiment, when settings requiring administrator password authentication are performed on the main body of the communication device, the user needs to provide an administrator password for authentication when logging into the remote UI screen of the communication device. This ensures that the user operates the remote UI screen knowing the administrator password, allowing the intended application to provide guidance to perform network settings from the remote UI screen.
[0123] In step S419, the process returns to step S404.
[0124] Figure 6 This is a flowchart illustrating an example of processing performed by terminal device 101 using a predetermined application in this embodiment. Figure 6The processes in the flowchart are implemented, for example, by the CPU 103 loading a predetermined application stored in a memory such as ROM 104 into RAM 105 and executing the predetermined application. The process in this flowchart corresponds to step S414.
[0125] In step S601, the predetermined application acquires information related to the communication device selected as the setting target. Specifically, in step S406, when the user operates the network settings button while the communication device is in a USB connection state, the predetermined application acquires information related to the communication device that is in a USB connection state and is identified as the network setting target. The information related to the communication device acquired in this process includes administrator password setting information and operation mode information. The administrator password setting information is, for example, information indicating whether the communication device is a model that supports setting the operation panel to the range of administrator passwords. Models of communication devices that do not support setting the operation panel to the range of administrator passwords correspond to models that do not include an operation panel or models that invalidate administrator password authentication. In addition, the operation mode information is, for example, information indicating whether the communication device is in connection setting mode. In this embodiment, the predetermined application generates an SNMP packet for acquiring information related to the communication device selected as the setting target. The SNMP packet includes information related to the communication device selected as the setting target as destination specification information, and the predetermined application instructs the OS to send the SNMP packet to the communication device selected as the setting target. In response, the OS uses the SNMP packet to acquire information related to the communication device selected as the setting target via USB.
[0126] In step S602, the application determines, based on the administrator password setting information obtained in step S601, whether the model of the communication device selected as the setting object supports the input of the administrator password on the operation panel of the communication device.
[0127] Models that support setting an administrator password on the operation panel of the communication device are, for example, models that include an operation panel. On the other hand, models that do not support setting an administrator password on the operation panel of the communication device are, for example, models that do not include an operation panel. If the predetermined application is determined to be "yes" ("yes" in step S602), the process proceeds to step S603. If the predetermined application is determined to be "no" ("no" in step S602), the process proceeds to step S604 without proceeding to step S603.
[0128] In step S603, the application is scheduled to perform a process to determine whether the user has entered an administrator password into the communication device selected as the setting object.
[0129] In other words, the process is a mode used to determine whether the communication device selected as the setting object is operating in a mode configured to be effective when the user enters an administrator password into the communication device. In this embodiment, the mode effective when the user enters an administrator password into the communication device is, for example, the connection setting mode. Therefore, specifically, in this embodiment, the predetermined application determines whether the communication device selected as the setting object is operating in the connection setting mode based on the operation mode information obtained in step S601. Although this process determines whether the communication device selected as the setting object is operating in the connection setting mode, this is not intended to be limiting. Specifically, the communication device may include a specific mode different from the connection setting mode as a mode effective when the user enters an administrator password. Then, the predetermined application may determine whether the communication device selected as the setting object is in a specific mode different from the connection setting mode. As described above, if the predetermined application determines "no" in step S602, the process proceeds to step S604 without performing this process. This is because a communication device that cannot be set to administrator password authentication does not require the user to enter an administrator password to start operating in the connection setting mode. If the predetermined application determines "yes" ("yes" in step S603), the process proceeds to step S604. If the predetermined application determines "no" ("no" in step S603), the process proceeds to step S610.
[0130] In step S604, the application displays a screen for selecting a method to establish a connection between the communication device selected as the setting object and the AP. Figure 13 An example of the screen displayed in this process is shown. Screen 1300 for selecting a connection method includes a region 1301 for selecting a connection method, an OK button 1302, and a Cancel button 1303. In region 1301, "Wired LAN" and "Wi-Fi" are displayed. "Wired LAN" is an example indicating that the method for establishing a connection between the selected communication device and the AP is a wired LAN, and "Wi-Fi" is an example indicating that the method for establishing a connection between the selected communication device and the AP is a wireless LAN. When the OK button 1302 is operated while a connection method is selected in region 1301, screen 1300 closes, and the process proceeds to step S605. When the Cancel button 1303 is operated, screen 530 is displayed.
[0131] In step S605, the predetermined application determines whether to select Wi-Fi as the method for establishing a connection between the selected communication device and the AP. If the predetermined application determines "yes" ("yes" in step S605), the process proceeds to step S606. If the predetermined application determines "no" ("no" in step S605), the process proceeds to step S607. In this process, "Wi-Fi" is displayed as an example of text indicating that the method for establishing a connection between the communication device and the AP is wireless LAN, and "wired" is displayed as an example of text indicating that the method for establishing a connection between the communication device and the AP is wired LAN. Although this embodiment assumes that the communication device supports both wireless LAN and wired LAN, this is not intended to be limiting. Specifically, if the predetermined application determines, by obtaining the communication interface information supported by the communication device, that the communication device only supports wireless LAN or wired LAN, it is not necessary to display screen 1300 for selecting the connection method.
[0132] In step S606, the pre-defined application displays the first network settings screen. Figure 7 An example of the screen displayed during this process is shown. This is because it was described above in step S415. Figure 7 Details are omitted here. In this process, the application displays the same network settings screen as when the communication device in connection settings mode is identified as the setting object, and this screen specifies the SSID and encryption method of the AP connected to the communication device, as well as the IP address settings information related to the communication device.
[0133] In step S607, which is performed if the result of step S605 is "no", a method for determining whether to select a wired LAN as the method for establishing a connection between the communication device selected as the setting object and the AP is pre-defined.
[0134] If the predetermined application is determined to be "yes" ("yes" in step S607), the process proceeds to step S608. If the predetermined application is determined to be "no" ("no" in step S607), the process proceeds to step S604, and screen 1300 for selecting a connection method is displayed.
[0135] In step S608, the pre-defined application displays the second network settings screen. Figure 14An example of the screen displayed in this process is shown. The second network settings screen 1400 includes an area 1401 for setting the IP address, a set button 1402, and a cancel button 1403. The area 1401 for setting the IP address is similar to the area 704 for setting the IP address, so its description is omitted. Unlike the first network settings screen, the second network settings screen only displays the area for setting the IP address and does not display the area for selecting the connection method, the SSID input box, or the button for selecting the encryption method. When the user operates the cancel button 1403, screen 530 is displayed. When the user operates the set button 1402, the process proceeds to step S609.
[0136] In step S609, the predetermined application sends configuration information to the communication device 151. Specifically, the predetermined application sends the configuration information set on the first network configuration screen 700 or the second network configuration screen 1400 to the communication device via USB. When the configuration information sent to the communication device 151 is the configuration information set on the first network configuration screen 700, the configuration information specifically includes the connection method selected in area 701, the SSID of the AP entered in the SSID input box 702, the encryption method selected from the drop-down list 703, and the IP address configuration information set in area 704. Furthermore, when the configuration information sent to the communication device 151 is the configuration information set on the second network configuration screen 1400, the configuration information specifically includes the IP address configuration information set in area 1401. If the AP identified as the connection target of the communication device 151 is a predetermined AP, the predetermined application sends information for establishing a connection to the predetermined AP to the communication device 151 without receiving a password input from the user. On the other hand, if the AP identified as the connection target of communication device 151 is another AP different from the predetermined AP, the predetermined application receives the password input of that other AP from the user. Then, when the user enters the password of that other AP, the predetermined application performs pre-connection setup processing. Since the details of the pre-connection setup processing have been described in step S416 above, its description is omitted. When a connection is established between the other AP and terminal device 101 through the pre-connection setup processing, the predetermined application sends information for establishing a connection to the other AP to communication device 151 via USB.
[0137] In step S610, which proceeds if the determination result in step S603 is "no", the application displays a notification screen to notify the communication device 151 to operate in connection setting mode. Specifically, the notification screen prompts the user to change the communication device 151 to connection setting mode. Figure 8An example of a screen displayed in this process is shown. The notification screen 800 includes an area 801 for prompting the user to change the communication device 151 to a connection setting mode, and an OK button 802. Area 801 includes, for example, text prompting the user to change the communication device 151 to a connection setting mode, and text prompting the user to refer to an online manual describing the method for changing to the connection setting mode. The notification screen 800 may display an operation method for changing the communication device 151 to a connection setting mode. In embodiments where the communication device 151 includes an administrator password-authenticated operation mode, the notification screen 800 may notify the user of an online manual or text describing the method for changing to the administrator password-authenticated operation mode.
[0138] When the OK button 802 is pressed, the process proceeds to step S611.
[0139] As described above, operation on the main body of communication device 151 is required for communication device 151 to begin operation in connection setting mode. Furthermore, connection setting mode is a mode where operation automatically stops after a predetermined time has elapsed since the connection setting mode became active. Therefore, it is necessary for the user to quickly perform network setup processing from terminal device 101 after changing communication device 151 to connection setting mode through operation on the main body of communication device 151. This ensures a high probability that the user performing network setup processing from terminal device 101 is near communication device 151. Furthermore, when communication device 151 is configured to include the operation panel within the scope of the administrator password, connection setting mode corresponds to a mode configured to be effective when the user enters the administrator password into communication device 151. This ensures a high probability that the user who has already entered the administrator password into communication device 151 will perform network setup processing from terminal device 101. This allows for enhanced security by using the administrator password authentication of communication device 151 to perform network setup of communication device 151. Although a notification screen is intended to be displayed in this process to provide notification that communication device 151 is operating in connection setting mode, this is not intended to be limiting. In other words, the application can control the process by performing actions other than displaying a notification screen to provide notifications so that the communication device 151 can operate in connection setting mode, so that network setting processes for the communication device 151 that is not in connection setting mode are not performed.
[0140] In step S611, the process returns to step S404, and the application is scheduled to wait until an operation is received.
[0141] In this embodiment, there is no particular restriction on the order of the determinations made by the predetermined application in steps S605 and S607, and steps S605 and S607 can be performed in any order. Furthermore, although processing for determining the method for establishing a connection between the AP and the communication device is performed as in steps S605 and S607, this is not intended to be limiting. In other words, the predetermined application can obtain information from the communication device indicating whether the model supports setting up a wired LAN at a point in time before proceeding to step S604, and if it is determined that the model does not support setting up a wired LAN, the processing can proceed to step S606 without performing the determination process.
[0142] In this embodiment, when the communication device 151 is not operating in connection setting mode, a predetermined application provides a notification to change to connection setting mode, and the user performs a specific operation on the operation panel of the communication device 151. Furthermore, if an administrator password is set for the operation panel of the communication device 151, the user enters the administrator password on the operation panel. In other words, the predetermined application provides a notification to change the communication device 151 to connection setting mode, thereby enabling network settings of the communication device 151 to be performed while ensuring security. Furthermore, when the target of the settings is a communication device in an infrastructure connection state, the predetermined application grays out the network settings button to prevent receiving user operations. This allows the predetermined application to prevent network settings processing for communication devices in an infrastructure connection state and to prevent the connection between the communication device 151 and the AP from being disconnected.
[0143] The connection setup mode is a mode that requires specific operations on the operation panel of the communication device, thereby ensuring a high probability that a predetermined user operating the communication device 151 will perform network setup processing from the terminal device 101. Furthermore, the user needs to enter an administrator password to perform specific operations on the communication device, which is configured to include the operation panel within the scope of the administrator password. In other words, this embodiment also ensures a high probability that, when the predetermined user performs administrator password authentication, the predetermined user will perform network setup processing for the communication device IIII series (which is a communication device in connection setup mode) from the terminal device 101.
[0144] Other embodiments In the above embodiments, although a connection is established between the communication device 151 and the terminal device 101 operating in the connection setup mode via Wi-Fi, this is not intended to be limiting. Communication methods other than Wi-Fi (such as classic Bluetooth or Bluetooth Low Energy) can be used to establish a connection between the communication device 151 and the terminal device 101 operating in the connection setup mode. In this case, the terminal device 101 can maintain a Wi-Fi connection to a predetermined AP during the establishment of the connection between the communication device 151 and the terminal device 101 operating in the connection setup mode. In other words, in the configuration of establishing a connection between the communication device 151 and the terminal device 101 operating in the connection setup mode via Wi-Fi, the predetermined AP is an AP that, when performing a triggering... Figure 4 In the flowchart, at the start of the process, terminal device 101 is connected to the AP, but when sending information related to the predetermined AP to communication device 151, terminal device 101 is not connected to the AP. On the other hand, in the configuration of establishing a connection between communication device 151 and terminal device 101 using a communication method other than Wi-Fi in connection setup mode, the predetermined AP is an AP that, when performing the process for triggering... Figure 4 The terminal device 101 connects to the AP at the start of the process described in the flowchart, and also connects to the AP when sending information related to the predetermined AP to the communication device 151. Therefore, the predetermined AP can also be described as at least during the process of triggering... Figure 4 The flowchart in the process begins when the terminal device 101 is connected to the AP.
[0145] Although in this embodiment, when the connection between the terminal device 101 and the communication device 151 is established via a USB cable, the intended application is performed. Figure 6 The network setup process illustrated is not intended to be limiting. Specifically, for example, the application may also perform network setup processing when establishing a connection between terminal device 101 and communication device 151 via Bluetooth Low Energy.
[0146] Furthermore, in the above embodiments, although the predetermined application disables user operation of the network settings button when the communication device 151 is in an infrastructure connection state, it can enable user operation of the network settings button. In other words, the predetermined application can receive network settings from the user for the communication device in an infrastructure connection state. Specifically, when the network settings button is pressed while the communication device 151 in an infrastructure connection state is selected as the setting target, the predetermined application determines whether the communication device 151 is in connection setting mode. Then, if the communication device 151 is not in connection setting mode, the predetermined application displays... Figure 8The illustrated notification screen. During the display of the notification screen, the application searches for the SSID of the AP that is valid when the communication device 151 begins to operate in connection setting mode. Then, if the SSID of the communication device 151 operating in connection setting mode is detected by the search, the application closes the notification screen, displays screen 500, and displays text indicating that the communication device 151 is configurable. Then, if the network settings button is operated while the communication device 151 is selected, the application can determine whether the communication device 151 is in connection setting mode, and if the communication device 151 is in connection setting mode, steps S604 to S609 can be performed.
[0147] This disclosure improves the availability of applications that perform processing for sending information to communication devices for establishing a connection to an access point, as well as network settings information such as IP address settings.
[0148] Other embodiments The embodiments of the present invention can also be implemented by the following method: providing software (including computer program products of computer programs) that performs the functions of the above embodiments to a system or device via a network or various storage media, and the computer (central processing unit (CPU) or microprocessor unit (MPU) of the system or device) reads out and executes the computer program.
[0149] While this disclosure has been described with reference to embodiments, it should be understood that this disclosure is not limited to the disclosed embodiments. The scope of the appended claims should be given the broadest interpretation to cover all such modifications and equivalent structures and functions.
Claims
1. A storage medium storing a predetermined application program for causing a computer of an information processing device configured to communicate with a communication device to perform processing, the communication device being configured to operate in a predetermined mode, the predetermined mode being valid upon user input of an administrator password, the processing comprising: First information is acquired via a predetermined connection between the communication device and the information processing device as a first acquisition, wherein the first information is information used to indicate the operating mode of the communication device; as well as The execution of a first process is a first execution, the first process being used to control such that, when the first information obtained via the predetermined connection indicates that the communication device is in the predetermined mode, network setting information related to the communication device is sent to the communication device via the predetermined connection.
2. The storage medium according to claim 1, wherein the storage medium stores a program for further causing the computer to perform a second process as a second execution, the second process being configured to control such that the first process is not executed if the first information indicating that the communication device is in the predetermined mode is not obtained.
3. The storage medium of claim 2, wherein, The second process includes: controlling the display of a notification screen that provides a notification for enabling the communication device to operate in the predetermined mode.
4. The storage medium of claim 3, wherein, The notification screen includes at least one of the following texts: text prompting the user to change the communication device to the predetermined mode, and text prompting the user to refer to a manual for changing the communication device to the predetermined mode.
5. The storage medium of claim 2, wherein, The first process includes controlling the display of a network settings screen for receiving input from the user related to the network settings information, and the second process includes controlling the non-display of the network settings screen.
6. The storage medium of claim 5, wherein, The second process includes: controlling the display of a notification screen that provides a notification for enabling the communication device to operate in the predetermined mode.
7. The storage medium of claim 5, wherein, The network configuration information includes at least one of the Service Set Identifier (SSID) of the external access point and the password of the external access point, wherein the external access point is an access point outside the information processing device and the communication device.
8. The storage medium according to claim 1, which stores a program for further causing the computer to perform a third process as a third execution, the third process being used to control such that, when a connection between the communication device and the information processing device is established using a connection different from the predetermined connection, the network setting information related to the communication device is sent to the communication device using an application different from the predetermined application.
9. The storage medium according to claim 8, wherein The predetermined connection is via a Universal Serial Bus (USB) cable. The other connections are either wired LAN or wireless LAN connections, and In the third process, the other application displays a remote user interface screen, i.e., a remote UI screen, corresponding to the communication device.
10. The storage medium of claim 9, wherein, When the user enters the administrator password into the remote UI screen and performs operations on the remote UI screen, the network settings information for the communication device is configured.
11. The storage medium of claim 1, wherein, The pre-defined mode is valid when the user performs a pre-defined operation on the communication device.
12. The storage medium of claim 1, wherein, If a predetermined time has elapsed since the predetermined mode became effective, the predetermined mode becomes invalid.
13. The storage medium of claim 1, wherein, The predetermined connection is a connection via a USB cable.
14. The storage medium of claim 1, wherein, The predetermined connection is via Bluetooth Low Energy, i.e., Bluetooth is a registered trademark.
15. The storage medium of claim 1, storing a program that further causes the computer to perform a second acquisition, the acquisition being for acquiring second information, the second information being for indicating whether the communication device connected to the information processing device via the predetermined connection is a communication device to which the administrator password can be entered. in, If the second information obtained through the second acquisition indicates that the communication device connected to the information processing device via the predetermined connection is not a communication device to which the administrator password can be entered, the first processing is performed even if the first information indicating that the communication device is in the predetermined mode is not obtained.
16. The storage medium according to claim 1, wherein, The predetermined mode is the mode that is valid at the access point within the communication device.
17. The storage medium of claim 1, storing a program that further causes the computer to perform transmission control, such that at least one of a print job for causing the communication device to print and a scan job for causing the communication device to scan is transmitted.
18. A computer program product comprising a computer program, wherein, When the computer program is executed by the processor, the processor performs each of the processes according to any one of claims 1 to 17.
19. A control method for an information processing device, the information processing device including a predetermined application and configured to communicate with a communication device, the communication device being configured to operate in a predetermined mode, the predetermined mode being valid when a user enters an administrator password, the control method comprising: First information is acquired via a predetermined connection between the communication device and the information processing device as a first acquisition, wherein the first information is information used to indicate the operating mode of the communication device; as well as The execution of a first process is a first execution, the first process being used to control such that, when the first information obtained via the predetermined connection indicates that the communication device is in the predetermined mode, network setting information related to the communication device is sent to the communication device via the predetermined connection.
20. An information processing device including a predetermined application and configured to communicate with a communication device, the communication device being configured to operate in a predetermined mode, the predetermined mode being valid when a user enters an administrator password, the information processing device comprising: A first acquisition unit is configured to acquire first information via a predetermined connection between the communication device and the information processing device, wherein the first information is information indicating the operating mode of the communication device. as well as A first execution unit is configured to execute a first process for controlling the communication device to send network setting information related to the communication device via the predetermined connection when the first information obtained via the predetermined connection indicates that the communication device is in the predetermined mode.
Citation Information
Patent Citations
Information processing device, printing device, printing system, setting method, storage medium for storing computer-readable program, and program
JP2006050587A
