Electronic Devices

The electronic device simplifies wireless network setup by automatically acquiring connection information or switching to manual input, improving operability and connection success.

JP7600634B2Active Publication Date: 2024-12-17BROTHER KOGYO KK
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2020192539
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-11-19
Publication Date
2024-12-17
Estimated Expiration
2040-11-19

AI Technical Summary

Technical Problem

Existing methods for connecting electronic devices to wireless networks are cumbersome and complicated, leading to poor operability during setup.

Method used

An electronic device equipped with a specific button and input interface that initiates a first method to automatically acquire connection information from an external device, and if that fails, switches to a second method requiring user input to manually enter connection details, simplifying the setup process.

Benefits of technology

Enhances the operability of connecting to wireless networks by allowing automatic or manual setup procedures with a single button operation, increasing the likelihood of successful network connection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007600634000001
    Figure 0007600634000001
  • Figure 0007600634000002
    Figure 0007600634000002
  • Figure 0007600634000003
    Figure 0007600634000003
Patent Text Reader

Abstract

To provide a technology for improving operability about setup for making a connection with an access point of a radio network in an electronic device connectable to the radio network.SOLUTION: An MFP 1 includes a radio connection button 32 and an input button group 33, starts a setup procedure of a first system on the basis of operation to the radio connection button 32, notifies the start of the setup, tries to acquire AP information from a terminal device by a first procedure, stores the AP information in a memory 12 when the acquisition is successful, and attempts a connection with an access point of a radio network by using the acquired AP information. If the AP information cannot be acquired by the setup procedure of the first system, the MFP 1 starts a setup procedure of a second system, displays a message for requesting an input of the AP information, and attempts to acquire the AP information by a second procedure including a character input through the input button group 33 and a connection with the access point.SELECTED DRAWING: Figure 4
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The technical field disclosed herein relates to electronic devices capable of connecting to wireless networks. [Background technology]

[0002] In recent years, a system for connecting multiple electronic devices to a wireless network has been known. To connect each electronic device to the wireless network, a setup is required for each electronic device to connect to an access point of the wireless network. In the setup, for example, the electronic device is switched to a connection information input mode, and the electronic device is connected to the access point of the wireless network using the connection information input by a user operation.

[0003] Technologies relating to the automation of setup are also known. For example, Patent Document 1 discloses a configuration in which a wireless communication device (PC) stores connection information, the wireless connection device transmits the connection information to a wireless communication device (printer) that is not connected to a wireless network, and the unconnected wireless communication device uses the connection information to connect to an access point of the wireless network. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2017-034560 A Summary of the Invention [Problem to be solved by the invention]

[0005] As mentioned above, having multiple setup methods increases the chances of connecting to a wireless network. However, having multiple steps to start the setup can easily complicate the operation. Therefore, there is room for improvement in the ease of setup.

[0006] The present specification discloses a technique for improving operability with respect to setup for connecting an electronic device connectable to a wireless network to an access point of the wireless network. [Means for solving the problem]

[0007] An electronic device made for solving this problem is an electronic device comprising: a specific button; an input interface consisting of a plurality of buttons different from the specific button for inputting characters or performing a selection operation; a communication interface for performing wireless communication; a display; a memory; and a computer, wherein the computer initiates a first type of setup procedure based on an operation on the specific button, notifies the user of the start of setup in the first type of setup procedure, and further attempts to obtain connection information from an external device in a first type of setup procedure, and if the connection information is successfully obtained, stores the obtained connection information in the memory, and further attempts to connect to an access point of a wireless network using the obtained connection information, and if the connection information cannot be obtained during the first type of setup procedure, initiates a second type of setup procedure, and in the second type of setup procedure, displays a message on the display requesting input of the connection information, and further acquires the connection information in a second type of setup procedure including character input via the input interface, stores the obtained connection information in the memory, and further attempts to connect to an access point of a wireless network using the obtained connection information.

[0008] According to the electronic device disclosed in this specification, by operating one specific button, a first setup procedure is started in which connection information is acquired from an external device and setup is automatically performed, and if the connection information cannot be acquired, a second setup procedure is automatically started in which connection information is acquired by inputting into an input interface and setup is performed. This allows the user to make the electronic device perform two setup procedures by performing a single operation of operating a specific button. This improves the operability of the setup for connecting to an access point of a wireless network, and further increases the possibility of connecting to the wireless network.

[0009] A control method for implementing the functions of the above electronic device, a computer program, and a computer-readable storage medium storing the computer program are also novel and useful. Effect of the Invention

[0010] The technology disclosed in this specification provides a technology that improves operability regarding setup for connecting to an access point of a wireless network in an electronic device that can connect to a wireless network. [Brief description of the drawings]

[0011] [Figure 1] 2 is a block diagram showing the electrical configuration of the MFP of the present embodiment. FIG. [Diagram 2] FIG. 2 is an explanatory diagram illustrating an example of the appearance of an operation panel. [Diagram 3] FIG. 1 is an explanatory diagram showing an overview of a setup procedure of a first method. [Figure 4] 13 is a flowchart showing a procedure of a setup process. [Diagram 5] 13 is a flowchart showing a procedure of a second method process. [Figure 6] FIG. 11 is an explanatory diagram showing an overview of the setup procedure of the second method. [Figure 7]13 is a flowchart showing a procedure of a start process. [Figure 8] FIG. 11 is an explanatory diagram showing an example of an input screen. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] Hereinafter, a multifunction peripheral (hereinafter, referred to as "MFP") according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings.

[0013] 1, the MFP 1 of this embodiment includes a controller 10 including a CPU 11 and a memory 12. The MFP 1 also includes an operation panel 13, a communication interface (hereinafter referred to as "communication IF") 14, an image forming unit 15, and an image reading unit 16, which are electrically connected to the controller 10. The MFP 1 is an example of an electronic device, and the CPU 11 is an example of a computer.

[0014] The CPU 11 executes various processes according to the programs read from the memory 12 and based on the user's operations. As shown in Fig. 1, the memory 12 stores various programs including a setup program 21 and various data. The memory 12 is also used as a working area when various processes are executed. A buffer provided in the CPU 11 is also an example of a memory.

[0015] An example of the memory 12 is not limited to a ROM, RAM, HDD, etc. built into the MFP 1, but may be a storage medium that is readable and writable by the CPU 11. A computer-readable storage medium is a non-transitory medium. In addition to the above examples, non-transitory media also include recording media such as CD-ROMs and DVD-ROMs. Non-transitory media are also tangible media. On the other hand, an electrical signal that carries a program downloaded from a server on the Internet is a computer-readable signal medium, which is a type of computer-readable medium, but is not included in non-transitory computer-readable storage media.

[0016] The operation panel 13 includes hardware for displaying a screen for notifying a user of information, and hardware for accepting operations by the user. The operation panel 13 of the MFP1 of this embodiment includes a display 31, a wireless connection button 32, an input button group 33, and a power button 34, as shown in FIG. 2, for example, which shows an example of its appearance. The wireless connection button 32 is an example of a specific button, and the input button group 33 is an example of an input interface. The input button group 33 includes a plurality of input buttons including, for example, direction buttons indicating each direction such as up and down, and an OK button. The display 31 of the MFP1 of this embodiment is, for example, a monochrome liquid crystal display capable of displaying two lines of character strings vertically, and does not have an input acceptance function.

[0017] The communication IF 14 includes hardware for connecting to a wireless LAN by the Wi-Fi (registered trademark) method. The MFP 1 of this embodiment has both a connection function of a Wi-Fi Direct method (hereinafter referred to as the "WFD method") and a connection function of a wireless LAN method (which may be called the Wi-Fi method, hereinafter referred to as the "WLAN method") using an access point. The WFD method is an example of a first wireless communication method, and the WLAN method is an example of a second wireless communication method.

[0018] The MFP1 stores connection information of the WFD method in advance, and when the connection function of the WFD method is enabled, it becomes a group owner device that manages the network and can build a wireless network with client devices. Also, the MFP1 can connect to the wireless network as a client device in the WLAN method by transmitting access point connection information (hereinafter referred to as "AP information") to the access point. Note that, as shown by the dashed line in Fig. 1, the AP information 23 is not stored in the memory 12 when the MFP1 is shipped from the factory.

[0019] The image forming unit 15 includes a configuration for printing an image based on image data on a print medium such as a sheet. The image forming method of the image forming unit 15 is, for example, an electrophotographic method or an inkjet method. The image reading unit 16 includes a configuration for reading an image of a document and generating image data.

[0020] Next, a procedure of setup for connecting to a wireless network by the MFP1 will be described. The following process basically indicates the process of the CPU 11 according to the instructions written in the program. That is, the processes such as "judgment", "extraction", "selection", "calculation", "decision", "identification", "acquisition", "reception", and "control" in the following description indicate the process of the CPU 11. The process by the CPU also includes hardware control using the API of the OS. In this specification, the description of the OS will be omitted and the operation of each program will be described. That is, in the following description, a description to the effect that "program B controls hardware C" may also mean that "program B controls hardware C using the API of the OS". In addition, the process of the CPU 11 according to the instructions written in the program may be described in abbreviated terms. For example, it may be described as "performed by the CPU 11". In addition, the process of the CPU 11 according to the instructions written in the program may be described in abbreviated terms such as "performed by program A".

[0021] Note that "obtaining" is used as a concept that does not require a request. In other words, the process of receiving data without the CPU 11 making a request is also included in the concept of "the CPU obtaining data." In addition, "data" in this specification is represented as a bit string that can be read by a computer. Data that has the same substantial meaning but different formats is treated as the same data. The same applies to "information" in this specification. In addition, "requesting" and "instructing" are concepts that indicate outputting information indicating a request or information indicating an instruction to the other party. In addition, information indicating a request or information indicating an instruction is also simply referred to as "request" and "instruction."

[0022] Furthermore, the process by CPU 11 to determine whether information A indicates event B may be conceptually described as "determining whether event B is determined from information A." The process by CPU 11 to determine whether information A indicates event B or event C may be conceptually described as "determining whether event B or event C is determined from information A."

[0023] The MFP1 of this embodiment has two types of methods, a first method and a second method, for completing the setup procedure. The setup procedure is a procedure for setting up a connection by the WLAN method using an access point. In the setup procedure, the MFP1 acquires AP information of the access point to be connected and stores it in the memory 12, and connects to the access point via the communication IF 14 using the stored AP information.

[0024] The first method is a setup procedure in which the MFP1 acquires AP information from a terminal device, for example, a personal computer (hereinafter, PC), which has already successfully connected to an access point (hereinafter, target AP) to which the MFP1 is to be connected. The first method does not include a procedure in which the user inputs characters for AP information. On the other hand, the second method is a setup procedure in which the MFP1 acquires AP information by accepting information input by the user without using a terminal device. The second method includes a procedure in which at least a part of the AP information is acquired by, for example, inputting characters by the user via the input button group 33. When the MFP1 of this embodiment accepts an operation on the wireless connection button 32 of the operation panel 13, it attempts the setup procedure of the first method, and if the setup cannot be completed by the setup procedure of the first method, it attempts the setup procedure of the second method.

[0025] An overview of the steps of the setup procedure of the first method is shown in FIG. 3. In the setup procedure of the first method, a user prepares a PC 5 that already has AP information of the target AP 6. As shown in FIG. 3, the PC 5 has a connection application 51 and AP information 52 that is connection information of the target AP 6, and is a device capable of wireless communication with the target AP 6. The connection application 51 is an application program that causes the PC 5 to execute a transmission process of the AP information 52. The connection application 51 is an example of a program that transfers AP information.

[0026] By executing the connection application 51 based on a user's instruction or the like, the PC 5 requests a connection in the WFD method to the device to which the AP information 52 is to be transmitted, as shown in Fig. 3(A). The connection application 51 has in advance connection information in the WFD method of the MFP 1, and the PC 5 executing the connection application 51 transmits a connection request in the WFD method using the connection information. Note that, upon receiving an instruction to execute the connection application 51, the PC 5 may display, on the user interface of its own device, a message including an instruction to enable a connection function in the WFD method in the device to which the AP information 52 is to be transmitted, for example, an instruction to operate the wireless connection button 32 of the MFP 1. The user operates the wireless connection button 32 on the operation panel 13 of the MFP 1 to execute the setup procedure.

[0027] 4, a procedure of the setup process, which is a setup procedure executed by the MFP 1 upon receiving an operation on the wireless connection button 32, will be described. The setup process is executed by the CPU 11 of the MFP 1 upon receiving an operation on the wireless connection button 32.

[0028] When the wireless connection button 32 is operated by the user, the CPU 11 notifies the user that a setup procedure for acquiring AP information has started (S101). For example, as shown in FIG. 3A, the CPU 11 causes the display 31 to display a message 311 indicating that the setup procedure is in progress. Also, for example, if the wireless connection button 32 is provided with a backlight, the CPU 11 may notify the user by changing the lighting pattern, such as by blinking or lighting the backlight. Note that the CPU 11 may display a message inquiring whether or not to start the setup procedure after the wireless connection button 32 is operated and before S101, and accept a user instruction.

[0029] Furthermore, the CPU 11 enables the connection function of the WFD method of the own device (S102). Then, the CPU 11 waits for the reception of a connection request in the WFD method from the terminal device (S103). As a result, the MFP 1 detects PC 1 and the like present in the vicinity by wireless communication in the WFD method. Then, the CPU 11 judges whether or not the connection with the terminal device in the WFD method has been successful (S104).

[0030] The MFP 1 can establish wireless communication with the PC 5 in the WFD system by responding to a connection request sent from the PC 5. When it is determined that wireless communication with the terminal device has not been established, such as when a connection request has not been received (S104: NO), the CPU 11 determines whether a predetermined timeout time has elapsed (S105). When it is determined that the timeout time has not elapsed (S105: NO), the CPU 11 waits until either a connection with the terminal device is established or a timeout occurs. The timeout time may be a fixed time determined in advance, or may be a variable time based on a user's instruction or the like. When the MFP 1 receives connection requests from multiple terminal devices, the MFP 1 may accept a selection of a connection partner by a user's operation, or may determine NO in S104 as a connection error.

[0031] When it is determined that the establishment of wireless communication using the WFD method has been successful and that a connection has been established with PC 5 (S104: YES), CPU 11 receives AP information 52 from PC 5, which is the connected terminal device (S111). Then, CPU 11 stores the AP information 52 received from PC 5 in memory 12 as AP information 23 (S112). PC 5 transmits AP information 52 in response to a request from MFP 1 using the function of connection application 51. Specifically, after successful connection with PC 5, MFP 1 transmits a signal to PC 5 requesting AP information 52, and, for example, as shown in FIG. 3B, acquires AP information 52 from PC 5 and stores it in memory 12.

[0032] This enables the MFP 1 to wirelessly communicate with the target AP 6 in the WLAN system using the AP information 23 stored in the memory 12. For example, the MFP 1 can connect to the PC 5 or the like via the target AP 6 using the AP information 23 and receive a print job. Note that if information is already stored in the AP information 23, the CPU 11 overwrites the AP information 23. That is, only information of one access point is stored in the AP information 23. The CPU 11 may confirm with the user whether or not to overwrite. The AP information 23 may include multiple pieces of information, and for example, an SSID (short for Service Set IDentifier) ​​is one example of part of the AP information.

[0033] Then, the CPU 11 disables the WFD connection function started in S102 (S113). Note that the CPU 11 may disconnect the connection with the PC 5 before S113. Furthermore, the CPU 11 enables the WLAN connection function (S114).

[0034] The procedure of the MFP 1 connecting to a terminal device by the WFD method and receiving AP information from the terminal device, i.e., the procedures of S102 to S112, are an example of the first procedure. The first procedure does not include an input operation by the user to the input button group 33. That is, in the setup procedure of the first method, by using the PC 5 having the connection application 51, the MFP 1 can acquire the AP information 52 without accepting an input operation by the user after accepting the operation of the wireless connection button 32. Note that the first procedure may include a small number of user operations, such as an operation to instruct the start of the setup process, an operation to select AP information when multiple pieces of AP information have been acquired, and an operation to select a device when connection requests are received from multiple terminal devices.

[0035] On the other hand, in the present embodiment, when communication with a terminal device in the WFD method fails, such as when a connection request from a terminal device such as a PC 5 cannot be received, the MFP 1 automatically starts the setup procedure in the second method. When it is determined that the waiting time for the connection request has reached the timeout time (S105: YES), the CPU 11 disables the connection function in the WFD method (S121) and enables the connection function in the WLAN method (S122). After the WFD method connection times out, the CPU 11 may notify the user that acquisition of AP information in the setup procedure in the first method has failed, and inquire of the user as to whether or not to attempt acquisition of AP information in the setup procedure in the second method.

[0036] If the wireless connection button 32 is operated on the MFP1 but the WFD-type connection request is not received within a predetermined time, for example, because communication in the WFD type between the MFP1 and the terminal device running the connection app is not possible, the MFP1 stops attempting the WFD-type connection. Also, if the connection with the PC5 is successful but AP information 52 cannot be received, for example, because execution of the connection app 51 on the PC5 is interrupted or the PC5 does not have appropriate AP information 52, the MFP1 stops the setup procedure in the first type and starts the setup procedure in the second type.

[0037] Then, the CPU 11 executes the second method process (S123). The second method process is a process for performing a setup procedure for the second method. The procedure of the second method process will be described with reference to the flowchart of Fig. 5. Also, an overview of the setup procedure for the second method is shown in Fig. 6.

[0038] In the second method process, the CPU 11 notifies the user that the setup procedure of the second method has started. Specifically, the CPU 11 notifies the user that the SSID of a connectable access point is being searched for (S201). For example, as shown in Fig. 6(A), the CPU 11 causes the display 31 to display a message 312 indicating that the SSID is being searched for. By notifying the user that the second method has started, the user can know that communication with the PC 5 in the WFD method has failed, for example.

[0039] In the second method, the MFP1 searches for an access point with which it can communicate in the WLAN method (S202) and waits for a response signal including an SSID from the access point. In the setup procedure of the second method, the MFP1 transmits a search signal for searching for an access point via the communication IF 14 as shown in Fig. 6(A), for example, and waits for a response signal from the target AP 6 or the like.

[0040] When the response signal is received, CPU 11 displays a list of search results on display 31 (S203) and accepts a selection input by the user. The options in the search result list include an option for accepting an instruction to input a new SSID, in addition to a list of the names of SSIDs found by the search. Since display 31 of MFP 1 in this embodiment can display only two lines, CPU 11 displays, for example, as shown in FIG. 6A, an input acceptance message 313 including one of the search results, changes the displayed option according to an input to a directional button in input button group 33, and accepts a selection confirmation by an input to the OK button.

[0041] CPU 11 determines whether or not the selection of an SSID found by the search has been accepted (S204). If it determines that the selection of an SSID has not been accepted (S204: NO), CPU 11 determines whether or not an instruction to input a new SSID has been accepted (S205). If it determines that an instruction to input a new SSID has not been accepted either (S205: NO), the CPU 11 waits until either the selection of an SSID or new input is accepted.

[0042] When it is determined that an instruction to input a new SSID has been received (S205: YES), the CPU 11 displays an input screen on the display 31 to start receiving input of a new SSID (S206), and receives the input (S207). The CPU 11 receives input, for example, one character at a time, by operating the input button group 33 of the operation panel 13.

[0043] After S207, or if it is determined that the selection of the SSID has been accepted (S204: YES), the CPU 11 accepts the selection of the authentication method (S210). The MFP 1 of this embodiment supports a plurality of authentication methods, such as open system authentication, shared key authentication, and user authentication using a user ID and password. In S210, the CPU 11 displays options of selectable authentication methods on the display 31, for example, and accepts the selection by inputting an OK button. If it is determined that the selection of the authentication method has not been accepted (S210: NO), the CPU 11 waits until it is accepted.

[0044] When it is determined that the selection of the authentication method has been accepted (S210: YES), the CPU 11 causes the display 31 to display an input screen for authentication information used in the selected authentication method (S211) and accepts input (S212). For example, when an authentication method using a combination of an SSID and a password is selected, the CPU 11 causes the display 31 to display an input screen 314 for starting to accept password input, as shown in FIG. 6B, in S211, and accepts password input by the user. The password is an example of the remaining AP information. The MFP 1 accepts the password input by, for example, inputting characters one character at a time by operating the input button group 33 of the operation panel 13. The procedure for acquiring AP information including character input by the user via the input button group 33 is an example of a second procedure.

[0045] The CPU 11 stores a set of the SSID selected in S204 or determined by input in S207 and the password received in S212 as AP information 23 in the memory 12 (S213), ends the second method process, and returns to the setup process. In S213, the CPU 11 also overwrites the AP information 23. If the selected authentication method is open system authentication, additional input of a password or the like is not required, and the CPU 11 skips S211 and S212 and stores the SSID as AP information 23 in the memory 12.

[0046] Returning to the explanation of the setup process in Fig. 4, after S114 or after the end of the second method process in S123, the CPU 11 attempts to connect to the target AP 6 in the WLAN method using the AP information 23 stored in the memory 12 (S131). Then, it is determined whether or not the connection is successful (S132). If it is determined that the connection is successful (S132: YES), the CPU 11 notifies the success of the connection (S133).

[0047] On the other hand, when it is determined that the connection has failed (S132: NO), the CPU 11 notifies the user of the connection failure (S134). In S134, the CPU 11 notifies the user that the setup was successful but the connection to the target AP 6 has failed, which is different from the notification in S201 of the second method process. By this notification, the CPU 11 can suggest to the user the possibility that the target AP 6 has a problem such as not being powered on, or that the user has made an input error in the password or the like when performing the setup procedure of the second method.

[0048] Furthermore, the CPU 11 performs connection attempts for a predetermined time or a predetermined number of times after starting the connection attempt, and determines whether the connection attempt times out (S135). If it is determined that the connection attempt will not time out (S135: NO), the CPU 11 returns to S131 and retries the connection to the target AP 6. After S133, or if it is determined that the connection attempt will time out (S135: YES), the CPU 11 ends the setup process. Note that the CPU 11 may wait for a user's operation on an OK button or the like before ending the setup process, and end the setup process after the operation is accepted. Even if the connection to the target AP 6 fails, the AP information 23 is stored in the memory 12, so the MFP 1 can, for example, constantly try to connect to the target AP 6. This ends the explanation of the setup process.

[0049] Next, a setup procedure different from the above-mentioned setup process will be described. In the present embodiment, when the power button 34 (see FIG. 2) of the operation panel 13 is operated while the AP information 23 is not stored in the memory 12, the MFP1 automatically starts the setup procedure even if the operation of the wireless connection button 32 is not accepted. The procedure of the start process including the automatically executed setup procedure will be described with reference to the flowchart of FIG. 7. The start process is executed by the CPU 11 of the MFP1 when the power of the MFP1 is turned on. Note that the same steps of the start process as those of the setup process of FIG. 4 are denoted by the same reference numerals as those of FIG. 4, and the description thereof will be simplified.

[0050] In the start process, the CPU 11 first determines whether or not the AP information 23 is stored in the memory 12 (S301). If it is determined that the AP information 23 is stored (S301: YES), the CPU 11 reads the stored AP information 23 (S302).

[0051] When it is determined that the AP information 23 is not stored in the memory 12 (S301: NO), the CPU 11 starts the setup procedure of the first method. Specifically, the CPU 11 enables the connection function of the WFD method (S102) and waits for a connection request from the terminal device (S103 to S105). When it is determined that the terminal device is connected (S104: YES), the CPU 11 receives the AP information from the terminal device (S111), stores it in the memory 12 (S112), and disables the connection function of the WFD method (S113). That is, when the power button 34 is operated in a state in which the AP information 23 is not stored in the memory 12, the MFP 1 of this embodiment starts the setup procedure of the first method without accepting the operation of the wireless connection button 32. Accepting the power-on by operating the power button 34 is an example of satisfying a predetermined connection condition.

[0052] After S302 or S113, the CPU 11 enables the WLAN connection function (S114) and attempts to connect to the target AP 6 using the AP information 23 stored in the memory 12 (S131). If it is determined that the connection to the target AP 6 is successful (S132: YES), the CPU 11 notifies the successful connection (S133). For example, the CPU 11 displays a message indicating successful connection on the display 31, and notifies the user that the connection to the wireless network via the access point has been completed. For example, the CPU 11 may display a Wi-Fi mark on the display 31 and turn on the backlight of the wireless connection button 32.

[0053] On the other hand, if it is determined that the connection with the terminal device has failed (S105: YES), or if it is determined that the connection to the target AP 6 using the AP information 23 has failed (S132: NO), the CPU 11 notifies the connection failure (S134). Note that, if the AP information 23 is stored in the memory 12, the CPU 11 may retry the connection to the target AP 6.

[0054] In this way, the setup procedure of the first method is started immediately by turning on the power and a connection to an access point is attempted, which saves the user the trouble of operating the wireless connection button 32. However, since the setup procedure in this case is not started by an input operation by the user, the user may be confused if the setup procedure of the second method is automatically started and an input operation is required. In the start process, the MFP1 of this embodiment does not start the setup procedure of the second method even if the AP information 23 cannot be obtained by the first method, so the possibility of the user being confused can be reduced.

[0055] Next, a procedure for starting the setup procedure of the second method based on a user operation will be described. The MFP 1 of this embodiment can also accept an instruction to start the setup procedure of the second method by an operation different from the operation on the wireless connection button 32 that starts the above-mentioned setup process. The MFP 1 accepts an instruction to start the setup procedure of the second method by multiple selection operations on the input button group 33 without attempting the setup procedure of the first method.

[0056] For example, when the MFP1 receives an operation on a menu button, it displays various selectable menus and receives a user's selection. The display 31 of the MFP1 in this embodiment can display only two lines of text, and for example, as shown in Fig. 8, only an instruction on how to operate and one option are displayed. To change the displayed option, the user needs to operate the directional button of the input button group 33.

[0057] Specifically, the MFP 1 displays menu options one by one when it accepts a menu button operation, as shown in Fig. 8(A). When network settings are selected by operating the direction buttons and the OK button, the MFP 1 accepts a communication method selection, as shown in Fig. 8(B). Furthermore, when WLAN is selected, the MFP 1 accepts a setup procedure method selection, as shown in Fig. 8(C).

[0058] When receiving an instruction to execute the setup wizard in the WLAN method, the MFP 1 searches for an SSID, similar to the above-mentioned second method process, receives a user's selection from the search results, and further receives a selection of an authentication method and input of authentication information, thereby attempting to acquire AP information of the target AP 6. In this procedure, if the MFP 1 acquires the AP information of the target AP 6, it stores the information in the memory 12 and attempts to connect to the target AP 6.

[0059] As described above in detail, the MFP1 of this embodiment starts a first-method setup procedure in which AP information is acquired from a terminal device and setup is performed automatically when one wireless connection button 32 is operated, and if the AP information cannot be acquired by the first method, automatically starts a second-method setup procedure in which AP information is acquired and setup is performed by inputting into the input button group 33. This allows the user to have the MFP1 try two different setup procedures with a single simple operation of operating the wireless connection button 32, improving operability regarding setup for connection to an access point of a wireless network.

[0060] Furthermore, the MFP1 of this embodiment switches between the WFD method and the WLAN method for wireless communication simply by accepting the operation of the wireless connection button 32. In other words, after giving priority to obtaining AP information from a terminal device capable of providing AP information, if the information cannot be obtained, the MFP1 continues to search for a connectable access point, so that there is a high possibility of obtaining information leading to the input of AP information.

[0061] Furthermore, the MFP1 of this embodiment attempts to acquire AP information in separate procedures, that is, in the first procedure, it acquires AP information from a terminal device such as the PC5 without communicating with an access point, and in the second procedure, it communicates with an access point and acquires part of the AP information, thereby increasing the probability of acquiring AP information. Also, if the acquisition of AP information in the first procedure fails, or if the connection to the access point using the acquired AP information fails, different information is notified, so that the user can easily understand the next action to be taken in either case.

[0062] Furthermore, in the MFP 1 of this embodiment, when the wireless connection button 32 is operated, the setup process is executed regardless of whether the AP information 23 is stored in the memory 12, and if the AP information 23 is acquired in the setup process, the AP information 23 is overwritten in the memory 12. Therefore, for example, even if it is desired to update the AP information 23, the user only needs to operate the wireless connection button 32 as in the initial operation, regardless of the method used to acquire the AP information 23 already stored in the memory 12, and therefore the operation is simple and secure.

[0063] Furthermore, the MFP1 of this embodiment can also start the setup procedure of the second method by operating the input button group 33 instead of operating the wireless connection button 32. However, in the case of the MFP1 of this embodiment, in which only a small amount of content can be displayed on the display 31 and the number of types of buttons included in the input button group 33 is not large, the operation method is difficult to understand and the number of operations tends to be large, making the input operations until the setup procedure of the second method is started cumbersome. On the other hand, the MFP1 of this embodiment automatically starts the setup procedure of the second method without requiring multiple operations of the input button group 33 if the AP information 23 cannot be acquired in the setup procedure of the first method by operating only the wireless connection button 32, thereby reducing the user's effort.

[0064] It should be noted that the present embodiment is merely an example and does not limit the present invention in any way. Therefore, the technology disclosed in this specification can be naturally improved and modified in various ways without departing from the scope of the present invention. For example, examples of electronic devices include general home or office printers, scanners, and multifunction devices, as well as sewing machines, label printers, industrial printers, 3D printers, and machine tools that perform processing according to image data. Also, examples of external devices are not limited to PCs, and may be smartphones and tablet computers.

[0065] 2 is an example, and the arrangement of each button, the number of buttons, etc. are not limited to the illustrated example. For example, each button may be a mechanical button, or a soft button displayed on a touch panel. Also, for example, in this embodiment, an example of a display 31 capable of displaying two lines of character strings is shown, but it may be capable of displaying only one line or three or more lines of character strings.

[0066] In the present embodiment, the setup procedure of the first method is described as connecting to the PC 5 in the WFD method, but the method is not limited to the WFD method. For example, the connection may be made by close proximity wireless communication or may be a wired connection such as USB.

[0067] Also, for example, in this embodiment, the connection information of only one access point is stored in the AP information 23, but the MFP 1 may store the connection information of multiple access points. In that case, the MFP 1 may use the connection information of a connectable access point from among the multiple pieces of connection information stored.

[0068] Also, for example, in this embodiment, when AP information 23 is acquired in the setup procedure of the first method, the setup procedure of the second method is not performed even if the connection to the access point fails, but it may be performed. However, if the connection to the access point fails after acquiring AP information 23, there is a high possibility that the problem is with the access point, and even if the setup procedure of the second method is performed, there is a high possibility that the connection will fail. Therefore, it is preferable to end the setup procedure after reporting the success or failure of the connection to the access point.

[0069] Also, for example, in this embodiment, if connection to the access point fails after acquiring the AP information 23, a retry is performed, but this is not necessary. For example, the determination in S135 of the setup process may be deleted, and if NO in S132, the setup process may be terminated immediately after the notification in S134. However, if the communication environment with the access point is poor, a retry may result in a connection, so the possibility of successful connection is increased by retrying a predetermined number of times.

[0070] Also, for example, in this embodiment, if acquisition of AP information 23 of the first method fails, a notification is made to indicate that the second method has started, but this notification is not necessary. However, by making the notification, it is possible to encourage the user to take an action such as checking the execution status of a connection application on the PC. Also, the MFP 1 may be able to interrupt the setup procedure by operating a cancel button or the like, and in this case, for example, a user who does not want the second method to be executed can know the timing to cancel by being notified.

[0071] Also, for example, in this embodiment, the setup procedure of the second method can be started without performing the setup procedure of the first method by operating the input button group 33, but this does not have to be the case. For example, an instruction to set up a connection to an access point in a wireless LAN may always be received by the wireless connection button 32.

[0072] Also, for example, in this embodiment, when power-on is accepted in a state where the AP information 23 is not stored in the memory 12, the setup procedure of the first method is performed, but this does not have to be performed. In other words, the start process may not be performed.

[0073] In addition, in any of the flowcharts disclosed in the embodiments, the order of execution of multiple processes in any of the steps can be arbitrarily changed or the processes can be executed in parallel as long as no contradiction occurs in the process content.

[0074] The processes disclosed in the embodiments may be executed by a single CPU, multiple CPUs, hardware such as ASIC, or a combination of these. The processes disclosed in the embodiments may be realized in various forms, such as a recording medium having a program for executing the processes recorded thereon, or a method. [Explanation of symbols]

[0075] 1 MFP 11 CPU 13 Operation Panel 14 Communication Interface 31 Display 32 Wireless connection button 33 Input buttons

Claims

1. Specific buttons and an input interface including a plurality of buttons for performing character input or selection operations, the buttons being different from the specific button; A communication interface for performing wireless communication; A display and Memory, A computer, An electronic device comprising: The computer includes: starting a first type of setup procedure based on an operation on the specific button, notifying the start of setup in the first type of setup procedure, and further attempting to acquire connection information from an external device by a first procedure, and if acquisition of the connection information is successful, storing the acquired connection information in the memory, and further attempting to connect to an access point of a wireless network using the acquired connection information; if the connection information cannot be acquired during the setup procedure of the first method, a setup procedure of a second method is started, and in the setup procedure of the second method, a message requesting input of the connection information is displayed on the display, the connection information is acquired by a second procedure including character input via the input interface, the acquired connection information is stored in the memory, and a connection to an access point of a wireless network is attempted using the acquired connection information; The computer further comprises: a program for establishing wireless communication with the external device, acquiring the connection information from the external device in a state where wireless communication with the external device is established, and transferring the connection information to the electronic device when wireless communication with the electronic device is established, the program being embedded in the external device in the first step of the setup procedure of the first method; In the second step of the setup procedure of the second method, connectable access points are searched for, an access point to be connected is selected from the searched access points by making a selection input via the input interface, a part of the connection information corresponding to the selected access point is acquired, and the remainder of the connection information corresponding to the selected access point is acquired by character input via the input interface; in the setup procedure of the second method, when the remainder of the connection information corresponding to the selected access point is acquired by character input via the input interface, a message requesting input of the connection information is displayed on the display.

1. An electronic device comprising:

2. The electronic device according to claim 1, The computer includes: In the first step of the setup procedure of the first method, the external device existing in the vicinity is detected by wireless communication according to a first wireless communication method, and the connection information is acquired from the detected external device by wireless communication according to the first wireless communication method; In the second step of the setup procedure of the second method, which is started due to failure to obtain the connection information during the setup procedure of the first method, wireless communication using the first wireless communication method is stopped, a connectable access point is detected by wireless communication using the second wireless communication method, a connection target access point is selected from the detected access points by performing a selection input via the input interface, and the connection information corresponding to the selected access point is obtained by character input via the input interface based on information obtained from the selected access point by wireless communication using the second wireless communication method.

1. An electronic device comprising:

3. An electronic device according to claim 1 or claim 2, The computer includes: In the second method of setup procedure, a message requesting input of the connection information is displayed on the display, the connection information is acquired by the second procedure including character input via the input interface, the acquired connection information is stored in the memory, a connection to an access point of a wireless network is attempted using the acquired connection information, and if the connection to the access point is successful, a notification of the success of the connection to the access point is issued, and if the connection to the access point is unsuccessful, a notification of a failure of the connection to the access point is issued.

1. An electronic device comprising:

4. Specific buttons and an input interface including a plurality of buttons for performing character input or selection operations, the buttons being different from the specific button; A communication interface for performing wireless communication; A display and Memory, A computer, An electronic device comprising: The computer includes: starting a first type of setup procedure based on an operation on the specific button, notifying the start of setup in the first type of setup procedure, and further attempting to acquire connection information from an external device by a first procedure, and if acquisition of the connection information is successful, storing the acquired connection information in the memory, and further attempting to connect to an access point of a wireless network using the acquired connection information; if the connection information cannot be acquired during the setup procedure of the first method, a setup procedure of a second method is started, and in the setup procedure of the second method, a message requesting input of the connection information is displayed on the display, the connection information is acquired by a second procedure including character input via the input interface, the acquired connection information is stored in the memory, and a connection to an access point of a wireless network is attempted using the acquired connection information; The computer further comprises: When the connection information is not stored in the memory, the setup procedure of the first method is started when a predetermined connection condition is satisfied, and the predetermined connection condition does not include the operation of the specific button; The computer further comprises: if the setup procedure of the first method has been started based on the operation of the specific button, when the connection information cannot be acquired during the setup procedure of the first method, the setup procedure of the second method is started; if the setup procedure of the first method is started by satisfying the predetermined connection condition, if the connection information cannot be acquired during the setup procedure of the first method, the setup procedure of the second method is not started.

1. An electronic device comprising:

5. The electronic device according to claim 4, The predetermined connection condition includes powering on the electronic device.

1. An electronic device comprising:

6. 6. The electronic device according to claim 1, The computer includes: In the first method of setup procedure, the start of setup is notified, and then an attempt is made to acquire the connection information using the first procedure, and if acquisition of the connection information is successful, the acquired connection information is stored in the memory, and then an attempt is made to connect to the access point of the wireless network using the acquired connection information, and if connection to the access point is successful, a successful connection to the access point is notified, and if connection to the access point is unsuccessful, a failure to connect to the access point is notified.

1. An electronic device comprising:

7. The electronic device according to claim 6, The computer includes: In the setup procedure of the first method, when a connection to the access point fails, a failure of the connection to the access point is notified; The computer further comprises: After the notification, the device attempts to connect to the access point.

1. An electronic device comprising:

8. 8. The electronic device according to claim 1, The computer includes: a setup procedure of the second method can be started by accepting a predetermined selection operation multiple times via the input interface; The computer further comprises: if the connection information cannot be acquired during the setup procedure of the first method, starting the setup procedure of the second method without accepting the predetermined selection operations multiple times.

1. An electronic device comprising:

9. 9. The electronic device according to claim 1, The computer includes: starting a setup procedure of the first method based on an operation on the specific button, regardless of whether the connection information is stored in the memory or not; overwrites the connection information if the connection information is stored in the memory even if the connection information can be acquired in the setup procedure of the first method or if the connection information cannot be acquired in the setup procedure of the first method and can be acquired in the subsequent setup procedure of the second method; 1. An electronic device comprising:

Citation Information

Patent Citations

  • Setting method for wireless communication, peripheral device and information processing apparatus for wireless communication

    JP2005192202A

  • Radio connection method, and device and terminal

    JP2013085050A

  • Radio communication apparatus, radio communication method, and program

    JP2017034560A

  • Printing apparatus, control method of the same, and program

    JP2019220962A

  • Program, communication method, and communication system

    JP2020058061A