Communication control method, information processing device, and communication system

The method uses character recognition from images to automate password input, ensuring reliable infrastructure connections by avoiding user errors and device dependencies.

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

Patent Information

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

AI Technical Summary

Technical Problem

Existing methods require user input of passwords for infrastructure connections, leading to potential errors and failed connections, especially when no other connected device is available for display assistance.

Method used

An information processing device obtains a wireless network password through character recognition from an image and transmits the password to a communication device, displaying a screen for input to establish a connection without manual user intervention.

Benefits of technology

Prevents erroneous password input and ensures successful infrastructure connections even without a connected device for display, enhancing connection reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US20260380288A1-D00000_ABST
    Figure US20260380288A1-D00000_ABST
Patent Text Reader

Abstract

A communication control method performed by an information processing device is provided. The method includes obtaining, by the information processing device, a password of an access point of a wireless network through character recognition from an image including the password; transmitting, by the information processing device, identification information of the wireless network provided by the access point and the password as connection information of the access point to a communication device that is to be connected to the access point using the connection information, and displaying a first screen for inputting the password. The first screen includes a first operation unit for obtaining, in the obtaining, the password through character recognition performed on an image stored in the information processing device.
Need to check novelty before this filing date? Find Prior Art

Description

BACKGROUNDFIELD OF THE TECHNOLOGY

[0001] The technology of the present disclosure relates to a communication control method, an information processing device, and a communication system.DESCRIPTION OF THE RELATED ART

[0002] As a method for connecting a terminal device such as a smartphone to a communication device such as a network-compatible printer by using a communication method such as wireless LAN communication, there is a method for connecting the terminal device to the communication device via an external device such as a wireless LAN access point or a wireless LAN router. This connection method is called infrastructure connection. When an infrastructure connection is established, it becomes possible for the terminal device and the communication device to perform two-way communication and to be further connected to the Internet for use of services on the Internet, for example. In order to establish such a connection between a terminal device and a communication device, there is a known configuration in which the terminal device transmits, to the communication device, connection information for establishing a connection to an external device, and the communication device executes connection setting for establishing a connection to the external device based on the connection information.

[0003] Japanese Patent Laid-Open No. 2016-127545 describes a method in which a terminal device establishes a connection to a communication device via an access point. According to this method, the communication device serves as a temporary access point to be temporarily connected to the terminal device, and the terminal device obtains, from the communication device, a list of access points to which the communication device can be connected to establish an infrastructure connection. The terminal device transmits information regarding an access point that is selected by a user from the obtained list to the communication device, and is connected to the communication device via the access point.

[0004] Japanese Patent Laid-Open No. 2021-57877 describes a method for establishing an infrastructure connection between an information processing device and a communication device. According to this method, an image is displayed on a display unit of another information processing device that has already established an infrastructure connection to an access point to be connected with the communication device. The information processing device reads, from the displayed image, information for establishing an infrastructure connection to the access point and information of the communication device to be connected to the access point via an infrastructure connection. Then, the information processing device establishes an infrastructure connection between the communication device and the access point by using these pieces of information.

[0005] However, there are cases where a user operation such as the input of a password of a wireless LAN access point for establishing an infrastructure connection is required to establish the connection as described in Japanese Patent Laid-Open No. 2016-127545. If an error is made in this operation, the infrastructure connection cannot be established, and the user needs to start the connection operation again from the beginning.

[0006] In order to solve this problem, Japanese Patent Laid-Open No. 2021-57877 describes a method for establishing an infrastructure connection by reading information from an image without requiring any user operation. However, the problem cannot be solved when there is no other information processing device that has already established an infrastructure connection to an access point to be connected. Also, the problem cannot be solved when another information processing device that has already established an infrastructure connection to an access point to be connected does not include a display unit.

[0007] Therefore, an object of the technology of the present disclosure is to prevent erroneous input of a password by a user and to establish an infrastructure connection of a communication device even if there is no information processing device that has already established an infrastructure connection to an access point to be connected.SUMMARY

[0008] In order to solve the above problem, an aspect of the present disclosure provides a communication control method performed by an information processing device, the method comprising: obtaining, by the information processing device, a password of an access point of a wireless network through character recognition from an image including the password; transmitting, by the information processing device, identification information of the wireless network provided by the access point and the password as connection information of the access point to a communication device that is to be connected to the access point using the connection information; and displaying a first screen for inputting the password, wherein the first screen includes a first operation unit for obtaining, in the obtaining, the password through character recognition performed on an image stored in the information processing device.

[0009] According to the above-described configuration, even if there is no information processing device that has already established an infrastructure connection to an access point to be connected, it is possible to prevent erroneous input of a password by the user and to establish an infrastructure connection of a communication device.

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

[0011] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the present disclosure, and together with the description, serve to explain the principles of the embodiments.

[0012] FIG. 1 is a diagram showing a configuration example of a terminal device and a communication device according to a first embodiment.

[0013] FIG. 2 is a diagram showing a connection state of the terminal device and the communication device according to the first embodiment.

[0014] FIG. 3 is a diagram showing an example of a screen displayed when a connection destination of the communication device is to be selected according to the first embodiment.

[0015] FIG. 4A is a diagram showing an example of a password input screen displayed when the version of an OS supports only some of optical character recognition functions in the first embodiment.

[0016] FIG. 4B is a diagram showing an example of a password input screen displayed when the version of the OS supports all the optical character recognition functions in the first embodiment.

[0017] FIG. 5A is a diagram showing an example of a password photographing description screen according to the first embodiment.

[0018] FIG. 5B is a diagram showing an example of a camera screen according to the first embodiment.

[0019] FIG. 5C is a diagram showing an example of an image list screen according to the first embodiment.

[0020] FIG. 5D is a diagram showing an example of an image preview screen according to the first embodiment.

[0021] FIG. 6A is a diagram showing an example of a password acquisition and input description screen according to the first embodiment.

[0022] FIG. 6B is a diagram showing an example of a password acquisition screen according to the first embodiment.

[0023] FIG. 6C is a diagram showing an example of a password input screen according to the first embodiment.

[0024] FIG. 6D is a diagram showing an example of the password input screen including an action guidance message according to the first embodiment.

[0025] FIG. 7A is a diagram showing an example of a password input screen including an image capturing area according to the first embodiment.

[0026] FIG. 7B is a diagram showing an example of the password input screen in which a password has been input according to the first embodiment.

[0027] FIG. 8 is a diagram showing an example of a sequence of connection setting processing executed by a terminal device that has only some of the optical character recognition functions and a communication device according to the first embodiment.

[0028] FIG. 9 is a diagram showing an example of a sequence of connection setting processing executed by a terminal device that has all the optical character recognition functions and a communication device according to the first embodiment.

[0029] FIG. 10 is a diagram showing a processing flow of an application included in the terminal device having only some of the optical character recognition functions according to the first embodiment.

[0030] FIG. 11 is a diagram showing a processing flow of an application included in the terminal device having all the optical character recognition functions according to the first embodiment.DESCRIPTION OF THE EMBODIMENTS

[0031] Hereinafter, embodiments will be described in detail with reference to the attached drawings. Note, the following embodiments are not intended to limit the scope of the claims. Multiple features are described in the embodiments, but it is not the case that all such features are required, and multiple such features may be combined as appropriate. Furthermore, in the attached drawings, the same reference numerals are given to the same or similar configurations, and redundant description thereof is omitted.First Embodiment

[0032] The following describes a terminal device and a communication device included in a communication system according to the present embodiment. A smartphone is exemplified as the terminal device in the present embodiment, but the terminal device is not limited to a smartphone, and the present disclosure can be applied to various devices such as a portable terminal, a notebook PC, a tablet terminal, a personal digital assistant (PDA), a digital camera, and the like. Also, a printer is exemplified as the communication device in the present embodiment, but the communication device is not limited to a printer, and the present disclosure can be applied to various devices that can perform wireless communication with the terminal device. For example, in the case where the communication device is a printer, the present disclosure can be applied to an ink jet printer, a full color laser beam printer, a monochromatic printer, and the like. The present disclosure can be applied to not only printers, but also copiers, facsimile machines, portable terminals, smartphones, notebook PCs, tablet terminals, PDAs, digital cameras, music playback devices, TVs, smart speakers, and the like. In addition, the present disclosure can be applied to multifunction peripherals having a plurality of functions such as a copying function, a facsimile function, and a printing function.

[0033] First, the following describes the terminal device according to the present embodiment and a configuration of the communication device capable of communicating with the terminal device according to the present embodiment with reference to a block diagram shown in FIG. 1. In the present embodiment, the following configuration is described as an example, but the present embodiment can be applied to a device capable of communicating with a communication device, and functions of the devices are not particularly limited to those shown in FIG. 1.System Configuration

[0034] FIG. 1 shows a configuration example of a network system (or a print system) according to the present embodiment. A terminal device 101 is the terminal device according to the present embodiment. The terminal device 101 includes an input interface 102, a CPU 103, a ROM 104, a RAM 105, an external storage device 106, an output interface 107, a display unit 108, a communication unit 109, a short-range communication unit 110, and an image capturing device 111, for example. The terminal device 101 is assumed to be a smartphone, but the terminal device 101 is not limited to a smartphone, and may be a device that functions as a terminal such as another type of portable terminal or a personal computer.

[0035] The input interface 102 is an interface for accepting data input and operation instructions from a user, and is constituted by a physical keyboard, buttons, a touch panel, or the like. The output interface 107, which will be described later, and the input interface 102 may be the same configuration that outputs screens and accepts operations made by the user.

[0036] The CPU 103 is a system control unit or a processor, and controls the entire terminal device 101 by executing programs stored in a memory such as the ROM 104 or the RAM 105.

[0037] The ROM 104 stores fixed data such as control programs executed by the CPU 103, data tables, and an embedded operating system (hereinafter referred to as OS) program. In the present embodiment, the control programs stored in the ROM 104 perform software execution control such as scheduling, task switching, and interruption processing under the control of an embedded OS stored in the ROM 104.

[0038] The RAM 105 is constituted by, for example, a static random access memory (SRAM) that requires a backup power source. Since the RAM 105 holds data using a primary battery (not shown) for backup, important data, such as program control variables, can be stored in a non-volatile manner. The RAM 105 also includes a memory area for storing setting information of the terminal device 101 and management data of the terminal device 101, for example. The RAM 105 is also used as a main memory and a work memory of the CPU 103.

[0039] The external storage device 106 has an application program (a connection setting application, which will be described later) that provides a connection setting function. It should be noted that an application program may be referred to as an “application” or “app”. The external storage device 106 also has various programs such as a print information generation program for generating print information interpretable by a communication device 151 and an information transmission and reception control program for transmitting and receiving information between the terminal device and the communication device 151 connected via the communication unit 109. The external storage device 106 also stores various types of information used by these programs and image data obtained from other terminal devices or the Internet.

[0040] The output interface 107 controls the display unit 108 to display data and give notification of the status of the terminal device 101.

[0041] The display unit 108 is constituted by a light emitting diode (LED), a liquid crystal display (LCD), etc., and displays data and notification of the status of the terminal device 101. It should be noted that the display unit 108 may include a software keyboard including keys such as numerical value input keys, mode setting keys, an enter key, a cancel key, a power supply key, etc., to accept input from the user via the display unit 108. In this case, input data may be input to the terminal device 101 via the input interface 102.

[0042] The communication unit 109 is a configuration for connecting the terminal device to a device such as the communication device 151 to execute data communication. For example, the communication unit 109 may perform wireless communication directly with the communication device 151 or via an external access point (an access point 131 (hereinafter referred to as “AP 131”)) existing outside the terminal device 101 and the communication device 151. The term “access point” refers to a device that establishes a network and determines a communication channel to be used in communication in the established network. In the present embodiment, a wireless local area network, for example, Wi-Fi (Wireless Fidelity) (registered trademark) is used as a wireless communication method of the communication unit 109, but Bluetooth Classic (registered trademark) or the like may also be used. An example of the AP 131 is a device such as a wireless LAN router. In the present embodiment, a method in which the terminal device 101 and the communication device 151 are directly connected to each other without using an external access point will be referred to as a “direct connection method”. Also, a method in which the terminal device 101 and the communication device 151 are connected to each other via an external access point will be referred to as an “infrastructure connection method”.

[0043] The short-range communication unit 110 is a configuration for executing data communication by establishing a short-range wireless connection to a device such as the communication device 151, and performs communication using a communication method different from that used by the communication unit 109. The short-range communication unit 110 can be connected to a short-range communication unit 157 in the communication device 151. Examples of the communication method used by the short-range communication unit 110 include Bluetooth Low Energy (BLE), Bluetooth Classic, Wi-Fi Aware, etc.

[0044] The image capturing device 111 is a device for converting an image captured by an image capturing element into digital data. The digital data is temporarily stored in the RAM 105. Thereafter, the digital data is converted into a predetermined image format by a program executed by the CPU 103, and is stored as image data in the external storage device 106.

[0045] The communication device 151 is the communication device according to the present embodiment. The communication device 151 includes a ROM 152, a RAM 153, a CPU 154, a print engine 155, a communication unit 156, the short-range communication unit 157, an input interface 158, an output interface 159, a function control unit 160, and a display unit 161, for example. The communication device 151 according to the present embodiment has a print function as well as a communication function, and is also called a printer or an image forming device.

[0046] The communication unit 156 is a configuration for executing data communication by establishing a connection to a device such as the terminal device 101. In the present embodiment, Wi-Fi is used as a wireless communication method of the communication unit 156, but Bluetooth Classic or the like may also be used. Note that the communication unit 156 includes, as an access point inside the communication device 151, an access point 156-a for establishing a connection to a device such as the terminal device 101. The access point 156-a can be connected to the communication unit 109 of the terminal device 101. The communication unit 156 may communicate directly with the terminal device 101 via the access point 156-a or may communicate with the terminal device 101 via the AP 131. Also, the access point 156-a may be hardware that functions as an access point, or the communication unit 156 may operate as the access point 156-a using software for functioning as an access point. Further, the access point inside the communication device 151 may be constituted by a plurality of access points having different SSIDs or passwords. In the present embodiment, the access point inside the communication device 151 includes at least a connection setting AP, which will be described later.

[0047] The RAM 153 is constituted by a DRAM or the like, which requires a backup power source. Since the RAM 153 holds data with power supplied from the backup power source (not shown), important data, such as program control variables, can be stored in a non-volatile manner. The RAM 153 is also used as a main memory and a work memory of the CPU 154, and stores a reception buffer for temporarily storing print information received from the terminal device 101 or the like and various types of information.

[0048] The ROM 152 stores fixed data such as control programs executed by the CPU 154, data tables, and an OS program. In the present embodiment, the control programs stored in the ROM 152 perform software execution control such as scheduling, task switching, and interruption processing under the control of an embedded OS stored in the ROM 152. The ROM 152 also includes a memory area for storing data, such as setting information of the communication device 151 and management data of the communication device 151, which need to be held even when power is not supplied.

[0049] The CPU 154 is a system control unit or a processor, and controls the entire communication device 151 by executing programs stored in a memory such as the ROM 104 or the RAM 105

[0050] Based on information stored in the RAM 153 and a print job received from the terminal device 101 or the like, the print engine 155 forms an image on a recording medium such as paper by using a recording material such as ink, and the print result is output. At this time, the print job transmitted from the terminal device 101 or the like is received via the communication unit 156, which can communicate at a higher speed than the short-range communication unit 157, because a large amount of data is transmitted and communication at a higher speed is required.

[0051] The short-range communication unit 157 is a configuration for establishing a short-range wireless connection to a device such as the terminal device 101. Examples of the communication method used by the short-range communication unit 157 include Bluetooth Low Energy (BLE), Bluetooth Classic, Wi-Fi Aware, and the like.

[0052] The input interface 158 is an interface for accepting data input and operation instructions from the user, and is constituted by a physical keyboard, buttons, a touch panel, or the like. The output interface 159, which will be described later, and the input interface 158 may be the same configuration that outputs screens and accepts operations made by the user. The output interface 159 controls the display unit 161 to display data and give notification of the status of the communication device 151.

[0053] The function control unit 160 manages the operation of functions of the communication device 151, i.e., controls the functions so as to operate at the same time or so as not to operate at the same time.

[0054] The display unit 161 is constituted by a light emitting diode (LED), a liquid crystal display (LCD), etc., and displays data and notification of the status of the communication device 151. It should be noted that the display unit 161 may include a software keyboard including keys such as numerical value input keys, mode setting keys, an enter key, a cancel key, a power supply key, etc., to accept input from the user via the display unit 161.Wi-Fi Communication P2P Peer to Peer Mode

[0055] In order to establish a connection using a P2P method (hereinafter referred to as a “P2P connection”) in communication performed using Wi-Fi, the communication device 151 according to the present embodiment operates in a P2P mode (a software AP mode or a Wi-Fi Direct (WFD) mode). In the present embodiment, the term “P2P connection” refers to a configuration in which devices are wirelessly connected to each other directly without the intervention of an external device such as the AP 131. The communication device 151 operating in the P2P mode operates as a master device in a network to which the communication device 151 belongs. The P2P mode includes a WFD mode and a software AP mode described below.

[0056] WFD is a standard established by the Wi-Fi Alliance. The terminal device 101 and the communication device 151, which are WFD compatible devices, can be wirelessly and directly connected to each other using WFD without the intervention of any other access point. A device that is a WFD compatible device and serves as an access point (master station) is particularly called a Group Owner. A mode in which a P2P connection is established using WFD is called a WFD mode.

[0057] The communication device 151 also has a software access point (software AP) function to operate as an access point. The communication device 151 activates (enables) a software AP inside the communication device 151, and the terminal device 101 is connected to the software AP by using normal Wi-Fi, rather than WFD. With this connection, the terminal device 101 and the communication device 151 can be wirelessly connected to each other directly without the intervention of any other access point. A mode in which a P2P connection is established by activating the software AP inside the communication device 151 is called a software AP mode. When the software AP mode is stopped, the communication device 151 disables the software AP inside the communication device 151 and enters a state in which the communication device cannot establish a P2P connection with other devices using the software AP. In the software AP mode, the software AP implemented by software corresponds to the access point 156-a. In the WFD mode as well, the access point 156-a may be used when the communication device 151 functions as an access point.

[0058] In the P2P mode, the communication device 151 operates as the master device, and accordingly, can determine which communication channel is to be used for communication in the P2P mode. When the communication device 151 operates in an infrastructure mode and the P2P mode in parallel, for example, the communication device 151 performs control such that a communication channel used for communication in the infrastructure mode is used for communication in the P2P mode as well. A configuration is also possible in which the communication device 151 selects, for example, a communication channel used for a connection to the AP 131 more preferentially than other channels as the channel to be used for communication in the P2P mode.

[0059] Connection information (an SSID and a password) for establishing a connection to the communication device 151 in the P2P mode may be changed by a user operation made on an operation unit of the communication device 151, for example.Wi-Fi Communication Infrastructure Mode

[0060] In order to establish a connection of an infrastructure method (hereinafter referred to as an “infrastructure connection”) in communication performed using Wi-Fi, the communication device 151 according to the present embodiment operates in the infrastructure mode. In the present embodiment, the term “infrastructure connection” refers to a configuration in which an external device, such as the AP 131, that controls a network operates as a master device and devices are wirelessly connected to each other via the master device. The communication device 151 operating in the infrastructure mode operates as a slave device in the network to which the communication device 151 belongs.

[0061] In the infrastructure mode, the communication device 151 and the terminal device 101 are connected to each other via the AP 131, and the communication device 151 and the terminal device 101 can communicate with each other via the AP 131. A channel used for communication in the infrastructure mode may be a frequency band other than 2.4 Ghz (e.g., 5.0 Ghz band or 6.0 Ghz band).

[0062] In order to communicate with the communication device 151 via the AP 131, the terminal device 101 needs to recognize that the communication device 151 belongs to a network that is formed by the AP 131 and to which the terminal device 101 belongs. Specifically, the terminal device 101 transmits a search signal via the AP 131 to the network to which the terminal device 101 belongs to confirm connectivity to the communication device 151.

[0063] In the present embodiment, a state in which the terminal device 101 and the communication device 151 are connected to the same AP is simply regarded as an infrastructure connection state. That is to say, in the infrastructure connection state, the terminal device 101 and the communication device 151 only need to be connected to the same AP, and need not be aware that the other belongs to the network to which the terminal device 101 and the communication device 151 belong.

[0064] In the present embodiment, a P2P connection for connection setting between the terminal device 101 and the communication device 151 is used for transmission of an infrastructure setting command and a P2P setting command and acquisition of information for establishing a P2P connection to the communication device 151 in connection setting processing. In the present embodiment, a Wi-Fi connection (connection between the communication unit 109 and the communication unit 156) is used as the P2P connection for connection setting, but a BLE connection (connection between the short-range communication unit 110 and the short-range communication unit 157) may also be used.

[0065] The following describes the connection setting processing performed using a Wi-Fi connection.

[0066] It should be noted that, as the P2P connection for connection setting, it is also possible to use a communication method other than Wi-Fi or BLE, such as Classic Bluetooth, for example.

[0067] After an infrastructure connection or a P2P connection is established using Wi-Fi between the terminal device 101 and the communication device 151 in the connection setting processing, the terminal device 101 and the communication device 151 can communicate with each other via the established connection. Specifically, for example, the terminal device 101 can transmit, via the established connection to the communication device 151, a print job for causing the communication device 151 to execute printing or a scan job for causing the communication device 151 to execute scanning.Connection Setting Processing Using Wi-Fi

[0068] FIG. 2 shows a state in which only the terminal device 101 is connected to the AP 131 in an infrastructure mode network 132 formed by the AP 131. The communication device 151 has not participated in the network 132 yet, and connection setting processing needs to be performed for the communication device 151 to participate in the network 132. Such connection setting processing commonly requires authentication processing using a password, and the present embodiment describes connection setting processing that requires authentication using a password. If the user inputs a password manually, and the input password is wrong, the connection setting processing fails and needs to be performed again from the beginning, and therefore, it is important to prevent erroneous input of the password. The present embodiment describes a method in which characters are recognized from an image including a password by using optical character recognition, which is a function of the OS of the terminal device 101, and the connection setting processing is executed by using the read password.

[0069] FIG. 3 shows a state in which the terminal device 101 displays a result (AP list screen 300) of search for access points that can be connected to the communication device 151 using Wi-Fi, on the display unit 108 of the terminal device 101. In the present embodiment, an SSID 301 of the AP 131 is included in the AP list.

[0070] Upon accepting an instruction to select the SSID 301, which is the SSID of the AP 131, from the AP list, the terminal device 101 displays a password input screen 401 shown in FIG. 4A or a password input screen 411 shown in FIG. 4B for inputting a password of the SSID 301, on the display unit 108. In the present embodiment, the password input screen 401 or 411 is displayed as a dialog on the screen shown in FIG. 3, but the screen may be changed from that shown in FIG. 3, and the password input screen may be displayed as another screen. The password input screen 401 shown in FIG. 4A displays a password input description 402, a password input area 403, a connection processing execution button 404, a password acquisition button 405, and a cancel button for closing this screen. The password input screen 411 shown in FIG. 4B displays a password input description 412 instead of the password input description 402 displayed on the password input screen 401. The password input description 412 includes text indicating that a real-time character recognition function, which will be described later, can be used.

[0071] The password input description is a description of a method for inputting a password, and the displayed text changes according to the version of the OS of the terminal device 101. The password input screen 401 shown in FIG. 4A displays the password input description 402 including text that is displayed when the version of the OS supports only some of optical character recognition functions. On the other hand, the password input screen 411 shown in FIG. 4B displays the password input description 412 including text that is displayed when the version of the OS supports all the optical character recognition functions. In the present embodiment, versions prior to iOS 16 are versions that support only some of the optical character recognition functions, and iOS 16 and subsequent versions are versions that support all the optical character recognition functions. An optical recognition function that is not supported by the version prior to iOS 16 is, for example, the real-time character recognition function (also called a live text function). In the present embodiment, an OS that does not support the real-time character recognition function will be referred to as an OS of a version that supports only some of the optical character recognition functions, and an OS that supports the real-time character recognition function will be referred to as an OS of a version that supports all the optical character recognition functions. In the present embodiment, optical character recognition functions supported by an OS of a version that supports only some of the optical character recognition functions are supported by an OS of a version that supports all the optical character recognition functions.

[0072] The password input area 403 is an area for inputting a password of an SSID selected by the user, and when this area is selected, a password can be input. The connection processing execution button 404 is a button for executing the connection setting processing for allowing the communication device 151 to participate in the network 132 by using the SSID 301 and a character string input to the password input area 403. The connection processing execution button 404 cannot be pressed unless characters are input to the password input area 403. The password acquisition button 405 is a button that enables acquisition of a password from a captured image including the password of the SSID 301 by using optical character recognition, which is a function of the OS, and when this button is pressed, the screen changes to the screen shown in FIG. 5A. In the present embodiment, the image including the password is a picture taken by the user.

[0073] After accepting an instruction to select the password acquisition button 405, the terminal device 101 displays, on the display unit 108, a password photographing description screen 501 shown in FIG. 5A, which describes photographing of the password of the SSID 301. In the present embodiment, the password photographing description screen 501 is displayed as a dialog. The password photographing description screen 501 displays text describing photographing of the password of the SSID 301 and an OK button 502 for closing this screen. If this screen has been displayed at least once, a camera screen 510 shown in FIG. 5B may be displayed without the password photographing description screen 501 being displayed even when the password acquisition button 405 is pressed (touched) on the password input screen 401.

[0074] Upon accepting an instruction to select the OK button 502 on the password photographing description screen 501, the terminal device 101 closes the password photographing description screen 501 and displays the camera screen 510 shown in FIG. 5B on the display unit 108. The camera screen 510 displays an image capturing area, an image capturing button 503, a picture album display button 504, and a cancel button 505. The camera screen is displayed when the terminal device 101 captures an image of a subject using the built-in image capturing device 111. The camera screen 510 shown in FIG. 5B shows an example in which a subject image 511 including connection information of an AP is captured.

[0075] The image capturing button 503 is a button for capturing an image displayed in the image capturing area. When this button is pressed, the terminal device 101 stores the captured image in the terminal device 101, determines the image to be an image for obtaining a password, and changes the screen to a password acquisition and input description screen 601 shown in FIG. 6A. When the picture album display button 504 is pressed, the screen changes to an image list screen 520 shown in FIG. 5C. The cancel button 505 is a button for closing the camera screen, and when this button is pressed, the screen returns to the password input screen 410 shown in FIG. 4A or the password input screen 411 shown in FIG. 4B according to the version of the OS.

[0076] Upon accepting an instruction to select the picture album display button 504, the terminal device 101 displays, on the display unit 108, the image list screen 520 shown in FIG. 5C, which displays a list of images stored in the terminal device 101. In the present embodiment, the displayed image list screen is a picture album screen of an OS standard, in which pictures taken by the terminal device 101 or images stored in the terminal device 101 can be viewed. Since the image list screen 520 is a screen of the OS standard, what is displayed on this screen changes depending on the OS, and at least pictures taken by the terminal device 101 or images stored in the terminal device 101, and a return button 507 are displayed. Among images displayed on the image list screen 520, an image including the password of the SSID 301 will be referred to as a password image 506. The return button 507 is a button for closing the picture album screen, and when this button is pressed, the screen returns to the camera screen 510 shown in FIG. 5B.

[0077] Upon accepting an instruction to select an image on the image list screen 520 displaying a picture album, the terminal device 101 displays an image preview screen 530 shown in FIG. 5D on the display unit 108. The image preview screen 530 displays a preview of the selected image, an image selection button 508, and a return button 509. In this embodiment, the selected image is the password image 506. Note that the image selection button 508 is a button for determining the previewed image to be the image for obtaining a password. When the image selection button 508 is pressed, the screen changes to the password acquisition and input description screen 601 shown in FIG. 6A. The return button 509 is a button for closing the image preview screen, and when this button is pressed, the screen returns to the image list screen 520 shown in FIG. 5C.

[0078] Upon accepting an instruction to select the image capturing button 503 on the camera screen or the image selection button 508 on the image preview screen, the terminal device 101 displays the password acquisition and input description screen 601 describing a method for obtaining a password from a picture, on the display unit 108. FIG. 6A shows an example of the password acquisition and input description screen 601. In the present embodiment, the password acquisition and input description screen 601 is displayed as a dialog on a password acquisition screen 620 shown in FIG. 6B. The password acquisition and input description screen 601 displays text describing a method for obtaining the password of the SSID 301 and a method for inputting the obtained password, and an OK button 602. If the password acquisition and input description screen 601 has been displayed at least once, the password acquisition screen 620 shown in FIG. 6B may be displayed without the password acquisition and input description screen being displayed even when an instruction to select the image capturing button 503 on the camera screen or an instruction to select the image selection button 508 on the image preview screen is accepted.

[0079] Upon accepting an instruction to select the OK button 602 on the password acquisition and input description screen 601, the terminal device 101 closes the password acquisition and input description screen 601 and displays the password acquisition screen 620 shown in FIG. 6B on the display unit 108. The password acquisition screen 620 displays a preview of the image for obtaining a password, a password input button 603, and a return button 604. The previewed image is a picture taken via the camera screen 510 shown in FIG. 5B or an image selected on the image preview screen 530 shown in FIG. 5D. In the present embodiment, a state is shown in which a preview of the password image 506 including the password of the AP 131 is displayed. The image including the password of the AP 131 may be, for example, the subject image 511 showing a sticker that is attached to the main body of the AP 131 and shows an SSID and a password. It is possible to perform character recognition on the displayed image by using the function of the OS and select a recognized character string. In the present embodiment, a character string is selected from the image by using the optical character recognition installed from iOS 16.

[0080] As an example of a method for selecting a character string using the function of the OS, there is a method of displaying a selection area 605 surrounding a character string recognized by the OS in response to a long press on the character string included in an image. The selection area 605 is variable and can surround an entire string of characters recognized by the OS. It is also possible to select, in the same manner, a character string other than a character string that has already been selected. When the selection area 605 is displayed, a copy guidance message 606 for prompting copying is also displayed. The password acquisition screen 620 shown in FIG. 6B shows a state in which a password is surrounded by the selection area 605 and the copy guidance message 606 is displayed. It is possible to copy the character string surrounded by the selection area 605 by selecting the copy guidance message 606. The copied content is held in a predetermined storage area, e.g., a paste buffer in the terminal device 101. The copy guidance message 606 is hidden when copying is selected and executed. When the password input button 603 is pressed, the screen returns to the password input screen 401 shown in FIG. 4A or the password input screen 411 shown in FIG. 4B according to the version of the OS. The return button 604 is a button for closing the password acquisition screen 620, and when this button is pressed, the screen returns to the camera screen 510 shown in FIG. 5B.

[0081] Upon accepting an instruction to select the password input button 603 on the password acquisition screen 620 shown in FIG. 6B, the terminal device 101 closes the password acquisition screen 620. If the version of the OS supports only some of the optical character recognition functions, the screen returns to the password input screen 401 shown in FIG. 4A, and if the version of the OS supports all the optical character recognition functions, the screen returns to the password input screen 411 shown in FIG. 4B.

[0082] In response to a long press on the password input area 403 on either one of the password input screens, a message for prompting an action to the password input area 403 is displayed. This message differs depending on the version of the OS of the terminal device 101. If the version supports only some of the optical character recognition functions and a copied character string is held in the terminal device 101, an action guidance message 607 for prompting pasting of the copied character string is displayed. In other words, if a copied character string is held in the terminal device 101, the action guidance message 607 is displayed on the password input screen 401 in response to a long press on the password input area 403 on the password input screen 401. An example of this is shown in FIG. 6C.

[0083] On the other hand, if the version of the OS supports all the optical character recognition functions and a copied character string is held in the terminal device 101, an action guidance message 608 for prompting pasting of the copied character string and real-time character recognition is displayed. In other words, if a copied character string is held in the terminal device 101, the action guidance message 608 is displayed on the password input screen 411 in response to a long press on the password input area 403 on the password input screen 411. An example of this is shown in FIG. 6D.

[0084] The password input screen 401 shown in FIG. 6C shows a state in which the action guidance message 607 is displayed in response to a long press on the password input area 403 by an OS of a version prior to iOS 16. By selecting the action guidance message 607, it is possible to paste the copied character string held in the terminal unit 101 to the password input area 403. The action guidance message 607 is hidden when it is selected. When the version of the OS supports only some of the optical character recognition functions and no copied character string is held in the terminal device 101, the action guidance message 607 need not be displayed. Alternatively, even if the action guidance message 607 is displayed, no action occurs in response to the action guidance message 607 being selected.

[0085] The password input screen 411 shown in FIG. 6D shows a state in which the action guidance message 608 is displayed in response to a long press on the password input area 403 by an OS of iOS 16 or a subsequent version. The action guidance message 608 includes two selectable areas. A first area corresponds to a paste button 609 for pasting a character string, and a second area corresponds to a real-time character recognition button 610 for performing real-time character recognition. When the version of the OS supports all the optical character recognition functions and no copied character string is held in the terminal device 101, an action guidance message including only the real-time character recognition button 610 is displayed.

[0086] Upon accepting an instruction to select the real-time character recognition button 610 on the password input screen 411 shown in FIG. 6D, the connection setting application of the terminal device 101 calls an optical character recognition function, which is a function of the OS. Thus, as shown in FIG. 7A, the connection setting application displays, in the lower half of the display unit 108, an image capturing area 701 in which an image that is being captured by a camera built in the terminal device 101 is displayed in real time. The image capturing area 701 is displayed below the password input screen 411. The image capturing area 701 is displayed by using the optical character recognition function of the OS. When the image capturing area 701 is displayed, the user captures an image of an area in which the password of the AP 131 is written. Then, the OS performs character recognition using the image displayed in the image capturing area and extracts a character string from the image. Thereafter, if a character input button 703, which will be described later, is pressed, the OS transmits the extracted character string to the connection setting application. The connection setting application then automatically inputs the recognized character string to the password input area 403. In the present embodiment, it is assumed that the optical character recognition installed from iOS 16 is used. The image capturing area 701 displays a character recognition area 702 and the character input button 703. The character recognition area 702 is an area in which the optical character recognition, which is the function of the OS, is performed, and characters recognized as a result of the optical character recognition are displayed. If no character is recognized, this area is not displayed. The character input button 703 can be pressed when the character recognition area 702 is displayed, and when this button is pressed, the optical character recognition is completed, the image capturing area 701 is closed, and the password input screen 411 in which a password has been input is displayed as shown in FIG. 7B. In the image capturing area 701 shown in FIG. 7A, the password of the SSID 301 is recognized. The password input screen 411 shown in FIG. 7A shows a state in which the recognition result is reflected in the password input area 403.

[0087] It should be noted that the optical character recognition function may be called under conditions other than pressing on the real-time character recognition button 610, which is displayed in response to a long press on the password input area 403. For example, a button for calling the optical character recognition function may be provided in parallel with the password acquisition button 405 on the password input screen 411. The optical character recognition function may be called in response to this button being pressed.

[0088] Upon accepting an instruction to select the character input button 703, the terminal device 101 closes the image capturing area 701, and displays, on the display unit 108, the password input screen 411 shown in FIG. 7B in which characters have been input to the password input area 403.

[0089] Upon accepting an instruction to select the connection processing execution button (OK button) 404 on the password input screen 411 shown in FIG. 7B in which the password has been input, the terminal device 101 transmits the SSID 301 and the character string input to the password input area 403 to the communication device 151. Thus, the connection setting processing for allowing the communication device 151 to participate in the network 132 is executed.

[0090] By using the above method, it is possible to execute the connection setting processing while preventing erroneous input of a password by providing a mechanism for inputting text obtained from a captured image through character recognition as the password.Wireless LAN Connection Establishment Sequence Without Using Real-Time Character Recognition Function

[0091] FIG. 8 is a sequence diagram showing processing executed by the devices in the connection setting processing using Wi-Fi in the case where the version of the OS of the terminal device 101 according to the present embodiment supports only some of the optical character recognition functions. FIG. 8 shows a case where the terminal device 101 newly captures an image including connection information (e.g., the password) of the AP 131. The processing shown in the sequence diagram of FIG. 8 is realized by, for example, the CPU of each device by loading a program stored in a memory of the device into the RAM of the device and executing the program.

[0092] First, in step S801, the terminal device 101 is connected to the AP 131 by using Wi-Fi. Next, in step S802, the communication device 151 starts to operate in a connection setting mode. The connection setting mode is a mode for executing connection setting of the communication device 151. The operation in the connection setting mode may be started in response to, for example, an instruction to execute the connection setting, which is given by the user by operating an operation panel or the like.

[0093] Upon starting to operate in the connection setting mode, the communication device 151 activates an AP (a connection setting AP) dedicated to the connection setting mode in the communication device 151. The AP 156-a may be used as the connection setting AP. Thus, the communication device 151 enters a state in which the communication device can establish a P2P connection to the terminal device 101 by using Wi-Fi. Connection information (an SSID and a password) for establishing a connection to the connection setting AP is held in advance in the connection setting application installed in the terminal device 101. In order to establish a connection to the connection setting AP, the terminal device 101 can use the connection information held in advance, or can display the connection information for input by the user. Therefore, unlike connection information of an AP that is activated in the P2P mode, the connection information for establishing a connection to the connection setting AP cannot be changed by the user. Further, for simplification of the processing, a configuration is also possible in which no password is required when establishing a connection to the connection setting AP.

[0094] Next, in step S803, the terminal device 101 accepts an instruction to execute connection setting preparation processing from the user via a screen displayed on the display unit 108 by the connection setting application. The term “connection setting preparation” refers to selecting an SSID for which a connection is to be established and inputting a password.

[0095] Next, in step S804, the terminal device 101 cuts off the Wi-Fi connection to the AP 131.

[0096] Next, in step S805, the terminal device 101 establishes a Wi-Fi connection to the connection setting AP inside the communication device 151 by using the connection information for establishing a connection to the connection setting AP, which is recognized in advance. Thus, the terminal device 101 temporarily establishes a P2P connection to the communication device 151 by using Wi-Fi.

[0097] Next, in step S806, the terminal device 101 transmits a connection setting processing start command to the communication device 151 via the Wi-Fi connection. It should be noted that an AP list, which will be described later, is received after the transmission of the connection setting processing start command, and accordingly, the connection setting processing start command can be regarded as an AP list request command.

[0098] Next, in step S807, the communication device 151 searches for access points to which the communication device can be connected using Wi-Fi. Then, the communication device 151 transmits a list (an AP list) of access points to which the communication device 151 can be connected using Wi-Fi, as a search result to the terminal device 101 via the Wi-Fi connection. That is to say, the terminal device 101 obtains the AP list via the Wi-Fi connection. The timing for searching for access points is not limited to this timing, and may be, for example, immediately after the start of the operation in the connection setting mode. The obtained AP list is displayed on the AP list screen 300 shown in FIG. 3. The search for access points is performed based on information of a beacon received from the AP 131, but the communication device 151 may transmit a probe request and perform the search based on a response to the probe request. It should be noted that the connection setting application controls display by displaying information on the display unit 108 of the terminal device 101 by using a display function provided by the operating system. This also applies to other display control.

[0099] Next, in step S808, the terminal device 101 accepts an instruction to select the SSID of the AP 131 via the AP list screen 300 displayed on the display unit 108 based on the obtained AP list.

[0100] Next, in step S809, the terminal device 101 accepts an instruction to transition to the camera screen 510 for capturing an image including connection information, via the password input screen 401 displayed on the display unit 108 for inputting connection information, particularly a password, for establishing a connection to the AP 131. This transition instruction is given by pressing the password acquisition button 405. It should be noted that the password photographing description screen 501 shown in FIG. 5A may be displayed before the camera screen 510.

[0101] Next, in step S810, the terminal device 101 accepts an instruction to capture an image including connection information via the camera screen 510 displayed on the display unit 108 for capturing an image including the connection information. The captured image is stored in the terminal device 101. In the present embodiment, it is assumed that the connection information for establishing a connection to the AP 131 is displayed in the captured image.

[0102] Next, in step S811, the terminal device 101 displays an image list 520 including the image captured in step S810 in response to a user operation, and displays a selected image on the image preview screen 530 in response to a selection operation. Further, when the image is determined to be the selected image, the terminal device 101 displays the password acquisition screen 620 including the selected image on the display unit 108. It is thought that an image including a password is often an image of connection information including a corresponding SSID. Therefore, by selecting an image of connection information including the SSID selected on the AP list screen 300 shown in FIG. 3, for example, the user can select an image including a password corresponding to the selected SSID. The terminal device 101 executes character recognition on the selected image by using the character recognition function provided by the OS, for example. Then, the terminal device accepts an instruction to select a password from recognized character strings via the password acquisition screen 620 in which the image captured in step S810 is displayed. In the present embodiment, it is assumed that the password for establishing a connection to the AP 131, which is included in the captured image, is recognized as characters and can be selected.

[0103] Next, in step S812, the terminal device 101 accepts an instruction to copy the connection information via the password acquisition screen 620 displayed on the display unit 108. In response to this instruction, the terminal device 101 copies the selected character string and stores the character string in a predetermined storage area.

[0104] Next, in step S813, the terminal device 101 accepts an instruction to return to the password input screen 401 displayed in step S809 via the password acquisition screen 620 displayed on the display unit 108. This instruction is given by pressing (or touching) the password input button 603 on the password acquisition screen 620.

[0105] Next, in step S814, the terminal device 101 accepts an instruction to input the password copied in step S812 to the password input area 403 via the password input screen 401 (FIG. 6C) displayed on the display unit 108. This instruction is given by selecting the action guidance message 607 on the password input screen 401 (FIG. 6C). In response to this input instruction, the terminal device 101 inputs the copied and stored character string to the password input area 403.

[0106] Next, in step S815, the terminal device 101 accepts a connection setting instruction via the password input screen 401 displayed on the display unit 108. This connection setting instruction is given by pressing the connection processing execution button 404. The password has already been input to the password input screen 401 at this time, and this screen corresponds to the password input screen 411 shown in FIG. 7B in which the password has been input and the password input description 412 is replaced with the password input description 402.

[0107] Next, in step S816, the terminal device 101 transmits an infrastructure setting command to the communication device 151 via the Wi-Fi connection. The infrastructure setting command includes the connection information (e.g., the SSID and password of the AP 131) for establishing a connection to an access point to which the communication device 151 is to be connected. In the present embodiment, the SSID is used to determine whether or not to establish a connection to the AP 131, but it is also possible to determine whether or not a connection to the AP 131 can be established based on not only the SSID but also a combination of a plurality of pieces of information such as standards, an encryption method, and a frequency. Here, a case will be described in which the access point to which the communication device 151 is to be connected is the AP 131 for which an instruction to select the SSID has been accepted.

[0108] Next, in step S817, the terminal device 101 cuts off the P2P connection to the communication device 151 established by using Wi-Fi in step S805.

[0109] Next, in step S818, the terminal device 101 again establishes a Wi-Fi connection to the AP 131 by using the connection information for establishing a connection to the AP 131. In general, when a currently used Wi-Fi connection is cut off, the terminal device 101 is automatically connected to a previously connected Wi-Fi connection, and therefore the processing in step S818 may be omitted. In this case, the terminal device 101 is again connected to the AP 131 by the function of the embedded OS stored in the ROM 104.

[0110] Next, in step S819, the communication device 151 establishes a Wi-Fi connection to the AP 131 by using the connection information for establishing a connection to the AP 131 received in step S816 based on the infrastructure setting command received in step S816. As a result, an infrastructure connection is established between the terminal device 101 and the communication device 151 via the AP 131.

[0111] According to the above procedure, it is possible to obtain a character string included in an already captured image through character recognition, and use the obtained character string as a password for establishing a connection to an AP. Therefore, errors are unlikely to occur in password setting, and the operation efficiency can be increased.

[0112] In the procedure shown in FIG. 8, the terminal device 101 newly captures an image including the connection information (e.g., the password) of the AP 131. However, if the terminal device 101 has already captured an image including the connection information (e.g., the password) of the AP 131 and stored the image, the steps S809 and S810 need not be performed.Wireless LAN Connection Establishment Sequence Using Real-Time Character Recognition Function

[0113] FIG. 9 is a sequence diagram showing processing executed by the devices in the connection setting processing using Wi-Fi in the case where the version of the OS of the terminal device 101 according to the present embodiment supports all the optical character recognition functions. The processing shown in the sequence diagram of FIG. 9 is realized, for example, by the CPU of each device by reading a program stored in the memory of the device into the RAM of the device and executing the program. It should be noted that, if the version of the OS of the terminal device 101 has the real-time character recognition function, a connection can be established between the communication device 151 and the AP 131 by using a wireless LAN in the sequence shown in FIG. 8. The following describes, with reference to FIG. 9, a procedure in which the terminal device 101 uses the real-time character recognition function when establishing a wireless LAN connection between the communication device 151 and the AP 131.

[0114] First, in step S901, the terminal device 101 is connected to the AP 131 by using Wi-Fi.

[0115] Next, in step S902, the communication device 151 starts to operate in the connection setting mode.

[0116] Upon starting to operate in the connection setting mode, the communication device 151 activates the AP (the connection setting AP) dedicated to the connection setting mode in the communication device 151. Thus, the communication device 151 enters a state in which the communication device can establish a P2P connection to the terminal device 101 by using Wi-Fi. The connection information (the SSID and the password) for establishing a connection to the connection setting AP is held in advance in the connection setting application installed in the terminal device 101. In order to establish a connection to the connection setting AP, the terminal device 101 can use the connection information held in advance, or can display the connection information for input by the user. Therefore, unlike connection information of an AP that is activated in the P2P mode, the connection information for establishing a connection to the connection setting AP cannot be changed by the user. Further, for simplification of the processing, a configuration is also possible in which no password is required when establishing a connection to the connection setting AP.

[0117] Next, in step S903, the terminal device 101 accepts an instruction to execute the connection setting preparation processing from the user via a screen displayed on the display unit 108 by the connection setting application.

[0118] Next, in step S904, the terminal device 101 cuts off the Wi-Fi connection to the AP 131.

[0119] Next, in step S905, the terminal device 101 establishes a Wi-Fi connection to the connection setting AP inside the communication device 151 by using the connection information for establishing a connection to the connection setting AP, which is recognized in advance. Thus, the terminal device 101 temporarily establishes a P2P connection to the communication device 151 by using Wi-Fi.

[0120] Next, in step S906, the terminal device 101 transmits a connection setting processing start command to the communication device 151 via the Wi-Fi connection. It should be noted that an AP list, which will be described later, is received after the transmission of the connection setting processing start command, and accordingly, the connection setting processing start command can be regarded as an AP list request command.

[0121] Next, in step S907, the communication device 151 searches for access points to which the communication device can be connected using Wi-Fi. Then, the communication device 151 transmits a list (an AP list) of access points to which the communication device 151 can be connected using Wi-Fi, as a search result to the terminal device 101 via the Wi-Fi connection. That is to say, the terminal device 101 obtains the AP list via the Wi-Fi connection. The timing for searching for access points is not limited to this timing, and may be, for example, immediately after the start of the operation in the connection setting mode. The obtained AP list is displayed on the AP list screen 300 shown in FIG. 3. The search for access points is performed based on information of a beacon received from the AP 131, but the communication device 151 may transmit a probe request and perform the search based on a response to the probe request.

[0122] Next, in step S908, the terminal device 101 accepts an instruction to select the SSID of the AP 131 via the AP list screen 300 displayed on the display unit 108 based on the obtained AP list. Note that the processing performed in steps S901 to S908 is the same as the processing performed in steps S801 to S808 in FIG. 8.

[0123] In step S909, via the password input screen 411 for inputting connection information, particularly a password for establishing a connection to the AP 131, the terminal device 101 accepts an instruction to display the image capturing area 701 for capturing an image of a screen including a password, on the above-described screen. For example, the action guidance message 608 shown in FIG. 6D is displayed in response to a long press on the password input area 403 on the password input screen 411 shown in FIG. 4B. Pressing or a touching on the real-time character recognition button 610 included in the action guidance message 608 is accepted as the instruction to display the image capturing area 701. Then, in response to the display instruction, the image capturing area 701 is displayed and an image of a subject that is currently captured is displayed in this area as shown in FIG. 7A.

[0124] In step S909, the terminal device 101 can also accept an instruction to transition to the camera screen 510 for capturing an image including the connection information, in response to the password acquisition button 405 on the password input screen 411 being pressed. When this transition instruction is accepted, the processing sequence proceeds to step S810 in FIG. 8. In this case, “password input screen 401” needs to be read as “password input screen 411” in step S810 and the following steps in FIG. 8.

[0125] Next, in step S910, the terminal device 101 performs character recognition on the currently captured image displayed in the image capturing area 701 displayed on the display unit 108. This function is provided by the OS of the terminal device 101. Further, as a result of the character recognition, the terminal device 101 shows the character recognition area 702 recognized as characters by the OS on the displayed image. The characters recognized by the OS are automatically input as a password to the password input area 403 on the password input screen 411. This example is shown in FIG. 7A. In the present embodiment, it is assumed that the password for establishing a connection to the AP 131 is displayed in the image capturing area 701, and the password is recognized as characters by the OS as a result of the character recognition.

[0126] Next, in step S911, the terminal device 101 accepts an instruction to complete reading of the connection information via the image capturing area 701 displayed on the display unit 108. In response to the completion instruction, the image capturing area 701 is hidden, and only the password input screen 411 is displayed on the display unit 108 (FIG. 7B). The completion instruction is given by selecting the character input button 703.

[0127] Next, in step S912, the terminal device 101 accepts a connection setting instruction via the password input screen 411 displayed on the display unit 108. This connection setting instruction is given by pressing the connection processing execution button 404.

[0128] Next, in step S913, the terminal device 101 transmits an infrastructure setting command to the communication device 151 via the Wi-Fi connection. The infrastructure setting command includes the connection information (e.g., the SSID and password of the AP 131) for establishing a connection to an access point to which the communication device 151 is to be connected. In the present embodiment, the SSID is used to determine whether or not to establish a connection to the AP 131, but it is also possible to determine whether or not a connection to the AP 131 can be established based on not only the SSID but also a combination of a plurality of pieces of information such as standards, an encryption method, and a frequency. Here, a case will be described in which the access point to which the communication device 151 is to be connected is the AP 131 for which an instruction to select the SSID has been accepted.

[0129] Next, in step S914, the terminal device 101 cuts off the P2P connection to the communication device 151 established by using Wi-Fi in step S905.

[0130] Next, in step S915, the terminal device 101 again establishes a Wi-Fi connection to the AP 131 by using the connection information for establishing a connection to the AP 131. In general, when a currently used Wi-Fi connection is cut off, the terminal device 101 is automatically connected to a previously connected Wi-Fi connection, and therefore the processing in step S915 may be omitted. In this case, the terminal device 101 is again connected to the AP 131 by the function of the embedded OS stored in the ROM 104.

[0131] Next, in step S916, the communication device 151 establishes a Wi-Fi connection to the AP 131 by using the connection information for establishing a connection to the AP 131 received in step S913 based on the infrastructure setting command received in step S913. As a result, an infrastructure connection is established between the terminal device 101 and the communication device 151 via the AP 131.

[0132] According to the above procedure, it is possible to obtain a character string included in a currently captured image through character recognition, and use the obtained character string as a password for establishing a connection to an AP. Therefore, errors are unlikely to occur in password setting, and the operation efficiency can be increased. In addition, unlike the first embodiment, there is no need to capture an image of a password in advance or newly capture the image, and therefore, the efficiency of the operation for establishing a connection can be further increased.Processing Performed by Connection Setting Application

[0133] FIG. 10 is a flowchart of the connection setting application, which executes the connection setting processing using Wi-Fi in the present embodiment when the version of the OS supports only some of the optical character recognition functions and an image including the connection information (e.g., the password) of the AP 131 is not held in the terminal device 101. While the operations of the terminal device 101 described with reference to FIG. 8 include operations of the OS, FIG. 10 shows operations of the connection setting application. The connection setting application is loaded into a memory of the terminal device 101 and executed by the CPU 103.

[0134] In step S1001, the connection setting application accepts an instruction to prepare for execution of the connection setting processing from the user via a screen displayed on the display unit 108 of the terminal device 101. This processing corresponds to step S803.

[0135] In step S1002, the connection setting application transmits a connection setting processing start command to the communication device 151 via a Wi-Fi connection between the terminal device 101 and the communication device. This processing corresponds to step S806.

[0136] In step S1003, the connection setting application obtains an access point list from the communication device as a response to step S1002. This processing corresponds to step S807. At this time, if the access point list cannot be received, an error message may be displayed on the display unit 108 and the processing may be ended.

[0137] In step S1004, the connection setting application accepts an instruction to select the SSID of the AP 131 from among access points obtained in step S1003 via the AP list screen 300 displayed on the display unit 108 of the terminal device 101. This processing corresponds to step S808.

[0138] In step S1005, the connection setting application determines whether or not the version of the OS of the terminal device 101 supports all the optical character recognition functions. As described above, in the present embodiment, supporting all the optical character recognition functions means supporting the real-time character recognition function. The determination in step S1005 may be made based on the version of the OS, for example. Specifically, OS versions supporting the real-time character recognition function are, for example, iOS version 16 and subsequent versions. Therefore, in the case of iOS, if the version is version 16 or a subsequent version, it can be determined that the version supports the real-time character recognition function. If the version is prior to version 16, it can be determined that the version does not support the real-time character recognition function. If the determination result is NO, the connection setting application proceeds to step S1006, and if the determination result is YES, the connection setting application proceeds to a flowchart shown in FIG. 11.

[0139] In step S1006, the connection setting application displays, on the display unit 108, a first password input screen that does not include text indicating that the real-time character recognition function can be used. Specifically, the connection setting application displays the password input screen 401. It should be noted that the connection setting application displays the first password input screen after setting the first password input screen such that the real-time character recognition button 610, which will be described later, will not be displayed in response to a long press on the password input area 403. Therefore, it can be said that the first password input screen is a screen on which the real-time character recognition button 610 cannot be displayed.

[0140] In step S1007, the connection setting application determines whether an operation accepted via the password input screen 401 displayed on the display unit 108 of the terminal device 101 is a password input operation or an image capturing operation. The password input operation is an operation for inputting a character string to the password input area 403. The image capturing operation is pressing on the password acquisition button 405. Upon determining that the accepted operation is the password input operation, the connection setting application proceeds to step S1014, and upon determining that the accepted operation is the image capturing operation, the connection setting application proceeds to step S1008.

[0141] In step S1008, the connection setting application displays the password photographing description screen 501 as a dialog. Thereafter, the connection setting application displays the camera screen 510. This processing corresponds to step S809.

[0142] In step S1009, the connection setting application accepts pressing on the image capturing button 503 as an operation for giving an image capturing instruction, and captures an image using the camera function. This processing corresponds to step S810.

[0143] In step S1010, the connection setting application displays the password acquisition and input description screen 601 as a dialog. Thereafter, the connection setting application displays the captured image on the password acquisition screen 620.

[0144] If the picture album display button 504 is pressed, rather than the image capturing button 503, the image list screen 520 shown in FIG. 5C may be displayed and an image selected from the screen may be displayed on the image preview screen 530.

[0145] After the image is displayed, the character recognition function of the OS is started in response to a long press made by the user on the image, and characters included in the image are extracted. This enables the user to select and copy the characters extracted from the image. When a copy operation is performed, the copied character string is stored in a clipboard.

[0146] In step S1011, the connection setting application accepts an operation to return to the password input screen 401. This processing corresponds to step S813.

[0147] In step S1012, the connection setting application again displays the password input screen 401.

[0148] In step S1013, the connection setting application accepts a password input operation. At this time, the character string stored in the clipboard may be input as a password in response to pressing on the paste button 609, which is displayed in response to a long press on the password input area 403. Alternatively, a character string selected by the user by operating a software keyboard may be input as a password. This processing corresponds to step S814.

[0149] In step S1014, the connection setting application accepts an operation for giving an instruction to execute connection setting via the password input screen 401. This operation corresponds to pressing on the connection processing execution button 404, and this processing corresponds to step S815.

[0150] In step S1015, the connection setting application transmits an infrastructure setting command to the communication device 151 via the Wi-Fi connection between the terminal device 101 and the communication device. The infrastructure setting command includes the SSID selected in step S1004 and the password input in step S1013. This processing corresponds to step S816. Then, this flowchart ends. Thereafter, the connection setting application may re-establish a connection between the terminal device 101 and an AP to which the terminal device was connected prior to being connected to the communication device 151. Then, the terminal device may search for the communication device 151 via the connection, obtain information regarding the communication device 151 from the found communication device 151, and register the communication device 151 in the connection setting application by using the information. Examples of the information regarding the communication device 151 include capability information of the communication device 151, identification information (e.g., MAC address) of the communication device 151, and model information of the communication device 151. Specifically, the capability information of the communication device 151 includes a list of information of functions supported by the communication device 151, information of consumables (ink, paper) that can be used in the communication device 151, information indicating a printing method of the communication device 151, and the like. The connection setting application then selects one device with which communication is to be performed in a predetermined application from among one or more communication devices 151 registered in the connection setting application. Hereinafter, the communication device 151 that is currently selected as the device with which communication is to be performed in the connection setting application will be referred to as the “selected communication device 151”. The device with which communication is to be performed in the connection setting application may be selected by accepting selection of the device by the user from among the one or more communication devices 151 registered in the connection setting application, or may be automatically selected by the connection setting application in accordance with a predetermined criterion. In addition, the device with which communication is to be performed in the connection setting application may be changed by accepting selection of a device by the user from among the one or more communication devices 151 registered in the connection setting application, for example. In the present embodiment, the connection setting application can transmit various jobs such as a print job and a scan job to the selected communication device 151.

[0151] FIG. 11 is a flowchart of the connection setting application. The connection setting application is loaded into a memory of the terminal device 101 and executed by the CPU 103.

[0152] In step S1101, the connection setting application displays, on the display unit 108, a second password input screen including text indicating that the real-time character recognition function can be used. Specifically, the connection setting application displays the password input screen 411. The connection setting application displays the second password input screen after setting the second password input screen such that the real-time character recognition button 610 will be displayed in response to a long press on the password input area 403. Therefore, it can be said that the second password input screen is a screen on which the real-time character recognition button 610 can be displayed. It should be noted that the second password input screen does not necessarily have to include the text indicating that the real-time character recognition function can be used.

[0153] In step S1102, the connection setting application determines the content of an operation accepted via the password input screen 411 displayed on the display unit 108 of the terminal device 101. When it is determined that the operation is the password input operation, the connection setting application proceeds to step S1109, when it is determined that the operation is the image capturing operation, the connection setting application proceeds to step S1103, and when it is determined that the operation is an operation for real-time character recognition, the connection setting application proceeds to step S1111. The operation for real-time character recognition is pressing on the real-time character recognition button 610.

[0154] The processing in steps S1103 to S1105 is the same as the processing in steps S1008 to S1010. In step S1106, the connection setting application accepts an operation for returning to the password input screen 411.

[0155] In step S1107, the connection setting application displays the password input screen 411 again.

[0156] The processing in step S1108 is the same as the processing in step S1013.

[0157] In step S1109, the connection setting application accepts an operation for giving an instruction to execute connection setting via the password input screen 411. This operation corresponds to pressing on the connection processing execution button 404.

[0158] In step S1110, the connection setting application transmits an infrastructure setting command to the communication device 151 via the Wi-Fi connection between the terminal device 101 and the communication device. The infrastructure setting command includes the SSID selected in step S1004 and the password input in step S1108 or S1112. Then, the processing of this flowchart ends. Thereafter, the connection setting application may re-establish a connection between the terminal device 101 and the AP to which the terminal device was connected prior to being connected to the communication device 151. Then, the terminal device may search for the communication device 151 via the connection, obtain information regarding the communication device 151 from the found communication device 151, and register the communication device 151 in the connection setting application by using the information.

[0159] In step S1111, which is executed when the operation for real-time character recognition has been accepted, the connection setting application displays the screen shown in FIG. 7A as a screen for the real-time character recognition. Thereafter, when the character input button 703 is pressed, a character string recognized through the optical character recognition is transmitted to the connection setting application by the OS.

[0160] In step S1112, the connection setting application receives the character string recognized through the optical character recognition from the OS and automatically inputs the character string to the password input area 403. Then, the connection setting application proceeds to step S1109.

[0161] As described above, in the present embodiment, the password of the AP 131 is obtained from an image to perform connection processing for establishing a connection to the network 132, and thus, it is possible to prevent erroneous input of the password. With this configuration, it is possible to prevent a failure in establishing an infrastructure connection with the communication device 151, and reliably execute the connection processing.Modification Example

[0162] In the above embodiment, the password input screen to be displayed is switched based on the result of determination performed in step S1005, but there is no limitation to this configuration. A configuration is also possible in which the password input screen that does not include text indicating that the real-time character recognition function can be used is displayed regardless of the version of the OS of the terminal device 101. Also, in the above embodiment, an example is described in which a password is obtained as the connection information from an image through character recognition, but a configuration is also possible in which an SSID, which is identification information of a wireless network, is obtained from an image through character recognition. In this case, the terminal device 101 can obtain an SSID and a password without APs being searched for by the communication device (printer) and a list of detected APs being received. By transmitting connection information including the SSID and the password to the communication device, the communication device is enabled to establish a connection to the AP by using the received connection information. In this case, the service area of a wireless network whose SSID is included in the connection information does not necessarily cover the communication device, and the AP is not necessarily operating. However, assuming that the SSID and the password (encryption key) are obtained from a captured image of the SSID and the password shown on a sticker or the like attached to the AP that has been turned on, it is possible to connect the communication device to the AP with this method as well, without the user inputting the SSID and the character string of the password.Other Embodiments

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

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

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

Claims

1. A communication control method performed by an information processing device, the method comprising:obtaining, by the information processing device, a password of an access point of a wireless network through character recognition from an image including the password;transmitting, by the information processing device, identification information of the wireless network provided by the access point and the password as connection information of the access point to a communication device that is to be connected to the access point using the connection information,; anddisplaying a first screen for inputting the password,wherein the first screen includes a first operation unit for obtaining, in the obtaining, the password through character recognition performed on an image stored in the information processing device.

2. The communication control method according to claim 1,wherein, in the obtaining, the password is obtained through character recognition performed on an image that is stored in the information processing device and includes the password.

3. The communication control method according to claim 2,wherein, in the obtaining, a character string selected by a user from one or more character strings recognized through the character recognition is obtained as the password.

4. The communication control method according to claim 1,wherein the information processing device further includes a camera, andthe communication control method further comprises displaying, in response to an operation made on the first operation unit, a second screen for capturing an image using the camera and storing the image.

5. The communication control method according to claim 4,wherein the second screen further includes a second operation unit for selecting an image to be subjected to character recognition for obtaining the password from among one or more stored images.

6. The communication control method according to claim 1,wherein the information processing device further includes a camera, andin the obtaining, the password is obtained through character recognition performed on an image that is being captured by the camera and includes the password.

7. The communication control method according to claim 6, further comprising:displaying a third screen for inputting the password,wherein the third screen includes a fourth operation unit for obtaining, in the obtaining, the password through the character recognition performed on the image that is being captured by the camera.

8. The communication control method according to claim 1,wherein, in the obtaining, the identification information of the wireless network provided by the access point is further obtained from an image including the password and the identification information, andin the transmitting, the obtained identification information and the password are transmitted as the connection information of the access point to the communication device.

9. The communication control method according to claim 1, further comprising:obtaining the identification information of the wireless network provided by the access point from the communication device, andin the transmitting, the obtained identification information and the password are transmitted as the connection information of the access point to the communication device.

10. The communication control method according to claim 1,wherein, in the obtaining of the password, the password is obtained by using a character recognition function that is provided by the information processing device.

11. A non-transitory computer-readable storage medium storing a program that causes a computer to execute processing when loaded into the computer and executed, the processing including:obtaining a password of an access point of a wireless network through character recognition from an image including the password;transmitting identification information of the wireless network provided by the access point and the password as connection information of the access point to a communication device that is to be connected to the access point using the connection information; anddisplaying a first screen for inputting the password,wherein the first screen includes a first operation unit for obtaining, in the obtaining, the password through character recognition performed on an image stored in the information processing device.

12. An information processing device comprising:at least one memory storing instructions; andat least one processor that is in communication with the at least one memory and that, when executing the instructions, cooperates with the at least one memory to execute processing, the processing including:obtaining a password of an access point of a wireless network through character recognition from an image including the password;transmitting identification information of the wireless network provided by the access point and the password as connection information of the access point to a communication device that is to be connected to the access point using the connection information; anddisplaying a first screen for inputting the password,wherein the first screen includes a first operation unit for obtaining, in the obtaining, the password through character recognition performed on an image stored in the information processing device.

13. A communication system comprising:an information processing device;a communication device; andan access point,the information processing device comprising:at least one memory storing instructions; andat least one processor that is in communication with the at least one memory and that, when executing the instructions, cooperates with the at least one memory to execute processing, the processing including:obtaining a password of an access point of a wireless network through character recognition from an image including the password;transmitting identification information of the wireless network provided by the access point and the password as connection information of the access point to a communication device that is to be connected to the access point using the connection information; anddisplaying a first screen for inputting the password,wherein the first screen includes a first operation unit for obtaining, in the obtaining, the password through character recognition performed on an image stored in the information processing device.