Computer program for terminal device and communication device
Patent Information
- Application Number
- JP2020198115
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-11-30
- Publication Date
- 2024-11-13
- Estimated Expiration
- 2040-11-30
Smart Images

Figure 0007581802000001 
Figure 0007581802000002 
Figure 0007581802000003
Abstract
Description
[Technical field]
[0001] SUMMARY Techniques are disclosed herein for changing settings on a communication device. [Background technology]
[0002] Patent Document 1 discloses a communication system including an information processing device and a communication device (e.g., a printer). The information processing device transmits a command for setting the communication device to an infrastructure connection mode via a short-range wireless communication unit. The communication method of the short-range wireless communication unit is, for example, Bluetooth (registered trademark). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2017-184169 A Summary of the Invention [Problem to be solved by the invention]
[0004] The above-mentioned techniques do not take into consideration a situation in which a plurality of communication devices are present, in which a user may be unsure which of the plurality of communication devices should be set to the infrastructure connection mode.
[0005] This specification provides a technique that can improve user convenience in a situation where multiple communication devices exist. [Means for solving the problem]
[0006] This specification discloses a computer program for a terminal device. The terminal device includes a communication interface for executing communication with a communication device and a display unit, and the setting of the communication device is one of a plurality of settings including a first setting in which communication setting for executing communication via a network is completed and a second setting in which the communication setting is not completed. The computer program controls a computer of the terminal device to include the following units: a first receiving unit for receiving a first setting status signal from a first communication device via the communication interface, the first setting status signal indicating that the current setting of the first communication device is the first setting; and a second receiving unit that receives a second setting status signal from the first communication device, the second setting status signal indicating that the current setting of the second communication device is the second setting; a display control unit that, after receiving the first setting status signal and the second setting status signal, causes the display unit to display a selection screen on which at least the second communication device of the first communication device and the second communication device can be selected; and a first transmitting unit that, when the second communication device is selected on the selection screen, transmits network setting information to the second communication device via the communication interface for changing the setting of the second communication device from the second setting to the first setting.
[0007] According to such a configuration, the terminal device can grasp the current settings of the first communication device and the second communication device by utilizing the first setting state signal from the first communication device and the second setting state signal from the second communication device. The terminal device can grasp the current settings of the first communication device and the second communication device and display a selection screen. For example, the terminal device can display a selection screen in a manner in which the second communication device, whose current setting is the second setting, can be selected. As a result, in a situation in which a plurality of communication devices exist, the convenience of the user can be improved.
[0008] The communication device disclosed in this specification comprises a first communication interface for performing communication with a terminal device, a transmitting unit for transmitting a setting status signal to the terminal device via the first communication interface, the setting status signal indicating the first setting when the current setting of the communication device is a first setting in which communication setting for performing communication via a network has been completed, and the setting status signal indicating the second setting when the current setting of the communication device is a second setting in which the communication setting has not been completed, a first receiving unit for receiving network setting information for changing the setting of the communication device from the second setting to the first setting from the terminal device via the first communication interface after the setting status signal indicating the second setting is transmitted, and a setting change unit for changing the setting of the communication device from the second setting to the first setting when the network setting information is received from the terminal device.
[0009] According to such a configuration, the communication device can transmit a setting state signal to the terminal device to inform the terminal device of the current setting of the communication device. For example, in a situation where a plurality of communication devices exist, the terminal device can display a screen on which a communication device whose current setting is the second setting can be selected from among the plurality of communication devices. As a result, in a situation where a plurality of communication devices exist, the convenience of the user can be improved.
[0010] The terminal device itself, a control method for implementing the terminal device, and a computer-readable recording medium storing a computer program are also novel and useful. A control method for implementing the communication device, a computer program, and a computer-readable recording medium storing the computer program are also novel and useful. [Brief description of the drawings]
[0011] [Figure 1] 1 shows the configuration of a communication system. [Diagram 2] FIG. 2 shows a sequence diagram of a process implemented by the communication system of the first embodiment. [Diagram 3] A continuation of Figure 2 is shown. [Figure 4] FIG. 11 is a sequence diagram of a process implemented by a communication system according to a second embodiment. [Diagram 5] 11 shows modified examples of the device selection screen. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] (First Example) (Configuration of communication system 2; Figure 1) As shown in FIG. 1, the communication system 2 includes a terminal device 10, two printers 100, 200, and two access points 500, 600 (hereinafter, the access points are referred to as "AP"). The terminal device 10 is a mobile terminal such as a tablet PC or a smartphone. In a modified example, the terminal device 10 may be a terminal device such as a desktop PC or a notebook PC. The terminal device 10 and the printer 100 are currently connected to a LAN (abbreviation of Local Area Network) 4. In a modified example, the terminal device 10 and the printer 100 do not need to be currently connected to the LAN 4.
[0013] LAN4 is a wireless LAN formed by AP 500. AP 500 stores an SSID (short for Service Set Identifier) "ap01" that identifies LAN4, and a password "xxxx" that is used in LAN4.
[0014] The AP 600 forms a wireless LAN (not shown) and stores an SSID "ap02" that identifies the wireless LAN and a password "yyyy" that is used in the wireless LAN.
[0015] For example, a user purchases a new printer 200. In this embodiment, a situation is assumed in which the printer 200 is newly connected to the LAN 4.
[0016] (Configuration of Printer 100) The printer 100 includes a display unit 112, an operation unit 114, a wireless LAN interface 120, a Bluetooth (registered trademark) interface 122, and a control unit 130. Each unit 112 to 130 is connected to a bus line (reference numbers omitted). In the following, the interface is referred to as "I / F." Moreover, Bluetooth is referred to as "BT."
[0017] The display unit 112 is a display for displaying various information. The operation unit 114 has a plurality of keys. A user can input various instructions to the printer 100 by operating the operation unit 114. The display unit 112 may function as a touch panel (i.e., an operation unit) that accepts instructions from a user.
[0018] The wireless LAN I / F 120 is an I / F for performing wireless communication via the LAN 4. The wireless communication via the LAN 4 is, for example, communication according to the Wi-Fi method (hereinafter, referred to as "Wi-Fi communication"). The Wi-Fi method is, for example, a wireless communication method for performing wireless communication according to the IEEE (abbreviation of The Institute of Electrical and Electronics Engineers, Inc.) 802.11 standard and standards equivalent thereto (for example, 802.11a, 11b, 11g, 11n, 11ac, etc.).
[0019] The BTI / F 122 is an I / F for executing wireless communication according to the BT method (hereinafter referred to as "BT communication"). The BT method is a wireless communication method based on the IEEE802.15.1 standard and standards equivalent thereto, for example. More specifically, the BTI / F 122 supports BLE (short for Bluetooth Low Energy). BLE is a standard realized in BT method version 4.0 and later versions. The BTI / F 122 can execute wireless communication according to BLE (hereinafter referred to as "BLE communication").
[0020] The differences between the Wi-Fi system and the BT system will be described. The communication speed of Wi-Fi communication (for example, the maximum communication speed is 600 Mbps) is faster than the communication speed of BT communication (for example, the maximum communication speed is 24 Mbps). The carrier frequency in Wi-Fi communication is the 2.4 GHz band or the 5.0 GHz band. The carrier frequency in BT communication is the 2.4 GHz band. That is, when the 5.0 GHz band is adopted as the carrier frequency in Wi-Fi communication, the carrier frequency in Wi-Fi communication is different from the carrier frequency in BT communication. In addition, the maximum distance at which Wi-Fi communication can be performed (for example, about 100 m) is greater than the maximum distance at which BT communication can be performed (for example, about several tens of meters).
[0021] The control unit 130 includes a CPU 132 and a memory 134. The CPU 132 executes various processes in accordance with a program 140 stored in the memory 134. The memory 134 is configured by a volatile memory, a non-volatile memory, and the like.
[0022] The memory 134 further stores AP information AI1 for connecting to the LAN 4. The AP information AI1 is information about the AP 500, and includes the SSID "ap01" and the password "xxxx".
[0023] The printer 100 is assigned the printer name "printer1" to identify the printer 100. The printer 200 is assigned the printer name "printer2" to identify the printer 200. The printer 200 has the same configuration as the printer 100.
[0024] (Configuration of terminal device 10) The terminal device 10 includes a display unit 12, an operation unit 14, a wireless LAN I / F 20, a BTI / F 22, and a control unit 30. Each of the units 12 to 30 is connected to a bus line (reference numerals omitted).
[0025] The display unit 12 is a display for displaying various information, and the operation unit 14 is, for example, a touch panel. The operation unit 14 is capable of receiving various instructions.
[0026] The control unit 30 includes a CPU 32 and a memory 34. The CPU 32 executes various processes in accordance with programs 40, 42 stored in the memory 34. The memory 34 is composed of a volatile memory, a non-volatile memory, etc. The OS (short for Operating System) program 40 is a program for executing basic processes of the terminal device 10. The application program 42 (hereinafter, referred to as "app 42") is a program for connecting the printer to a wireless LAN (e.g., LAN 4).
[0027] The memory 34 further stores two pieces of AP information AI1 and AI2. The AP information AI2 is information related to the AP 600, and includes an SSID "ap02" and a password "yyyy". The terminal device 10 can connect to the LAN 4 formed by the AP 500 using the AP information AI1. Furthermore, the terminal device 10 can connect to a wireless LAN (not shown) formed by the AP 600 using the AP information AI2.
[0028] (Processing implemented by communication system 2; Fig. 2, Fig. 3) The processing realized by the communication system 2 will be described with reference to Figs. 2 and 3. In the initial stage of this case, the terminal device 10 is currently connected to the LAN 4. In addition, in a modified example, the terminal device 10 may not currently be connected to the LAN 4. In addition, in the following, for ease of understanding, the processing executed by each CPU of each device (e.g., the CPU 32 of the terminal device 10, etc.) will be described with each device (e.g., the terminal device 10, etc.) as the subject, rather than each CPU as the subject.
[0029] The printer 100 is configured to be capable of repeatedly transmitting a plurality of types of Advertise signals in sequence. The Advertise signal is a signal conforming to the BLE method. The Advertise signal is a so-called beacon signal, and is a signal with no designated destination. The plurality of types of Advertise signals include a first type of Advertise signal and a second type of Advertise signal. The printer 100 transmits a first type of Advertise signal via the BTI / F122 at T10, and transmits a second type of Advertise signal via the BTI / F122 at T12. The printer 100 repeatedly executes the processes of T10 and T12. The printer 100 starts transmitting an Advertise signal when the power is turned on as a trigger. The printer 200 is also configured to be capable of repeatedly transmitting a plurality of types of Advertise signals in sequence, similar to the printer 100.
[0030] The first type of Advertise signal is a signal for causing the terminal device 10 to execute a first type of process for establishing a wireless connection according to the Wi-Fi system (for example, a wireless connection according to the WFD (short for Wi-Fi Direct (registered trademark)) system) between the printer 100 and the terminal device 10 without going through an AP (for example, 500). The wireless connection established by the first type of process is used, for example, for communicating print data. The first type of process is, for example, AirPrint (registered trademark).
[0031] The second type of Advertise signal is a signal for causing the terminal device 10 to execute a second type of process for establishing a wireless connection between the printer 100 and the terminal device 10 via an AP (e.g., 500). The second type of process is a process realized by the application 42 of this embodiment.
[0032] By repeatedly transmitting a plurality of types of Advertise signals in sequence, the Advertise signals can be used not only for the first type of processing but also for the second type of processing of this embodiment. That is, the Advertise signals can be used not only for establishing a wireless connection not via an AP but also for establishing a wireless connection via an AP.
[0033] As shown at T10, the first type Advertise signal includes the printer name "printer1" and does not include setting status information. On the other hand, as shown at T12, the second type Advertise signal includes the printer name "printer1" and setting status information.
[0034] The setting status information indicates one of the values "ON" indicating that the communication setting for performing communication via a wireless LAN is completed, and "OFF" indicating that the communication setting is not completed. The communication setting being completed indicates a state in which AP information of an AP (e.g., 500) is stored in the memory 134 of the printer 100. The communication setting not being completed indicates a state in which AP information of any AP is not stored in the memory 134 of the printer 100. In other words, the communication setting being completed indicates a state in which the printer 100 can connect to any wireless LAN (e.g., LAN 4), and the communication setting not being completed indicates a state in which the printer 100 cannot connect to any wireless LAN. In a modified example, the communication setting being completed may indicate a state in which the printer 100 is currently connected to any wireless LAN (e.g., 4), and the communication setting not being completed may indicate a state in which the printer 100 is currently not connected to any wireless LAN.
[0035] In this case, AP information AI1 is stored in the memory 134 of the printer 100. At T22, the printer 100 transmits a second type Advertise signal including the setting status information "ON" via the BTI / F 122 to the outside.
[0036] Also, in this case, the user opens the packaging of printer 200 and performs an operation to power on printer 200. This causes printer 200 to start transmitting multiple types of Advertise signals. No AP information of any AP is stored in the memory (not shown) of printer 200. At T24, printer 200 transmits a second type of Advertise signal including setting status information "OFF" to the outside via BTI / F (not shown) of printer 200.
[0037] At T22, the terminal device 10 receives a second type Advertise signal including setting status information "ON" from the printer 100 via the BTI / F22, and at T24, receives a second type Advertise signal including setting status information "OFF" from the printer 200 via the BTI / F22.
[0038] In the next T30, the terminal device 10 displays on the display unit 12 a device selection screen that allows a user to select a specific printer from among a plurality of printers that have transmitted a second type Advertise signal. In this case, the device selection screen includes a selection button BU1 indicating the printer name "printer1" included in the second type Advertise signal of T22, and a selection button BU2 indicating the printer name "printer2" included in the second type Advertise signal of T24. Furthermore, the selection button BU1 includes a message (e.g., "Setup") indicating the setting status information "ON" included in the second type Advertise signal of T22, and the selection button BU2 includes a message (e.g., "No Setup") indicating the setting status information "OFF" included in the second type Advertise signal of T24. With this configuration, the user can check the current state of the communication settings of the printers 100 and 200. In addition, in a modified example, each selection button does not need to include a message indicating the setting status information.
[0039] 2, the selection button BU2 indicating the printer 200 is disposed above the selection button BU1 indicating the printer 100. By disposing the selection button BU2 above the selection button BU1, it is possible to prompt the user to select the selection button BU2. In this case, the communication settings of the printer 100 have been completed, but the communication settings of the printer 200 have not been completed. By prompting the user to select the selection button BU2, it is possible to prompt the user to complete the communication settings of the printer 200, for which the communication settings have not been completed.
[0040] In T32, the user selects the selection button BU2 indicating the printer 200. When the terminal device 10 accepts the selection of the selection button BU2 in T32, in T34, the terminal device 10 executes predetermined communication (Scan Request, Scan Response, etc.) according to the BT method between the terminal device 10 and the printer 200 via the BTI / F 22. As a result, the terminal device 10 establishes a BT connection with the printer 200. The BT connection is a wireless connection according to the BLE method, and is a wireless connection according to the so-called L2CAP (abbreviation of Logical Link Control and Application Protocol).
[0041] In this case, the above-mentioned predetermined communication includes authentication communication using a PIN code or the like. Through the authentication communication, key information for encryption is shared between the terminal device 10 and the printer 200. In communication using a BT connection, information to be communicated is encrypted using key information.
[0042] In the next T36, the terminal device 10 uses the BT connection via the BTI / F 22 to transmit display information for causing the printer 200 to display an image showing the terminal device 10. The display information includes the terminal name of the terminal device 10, "terminal1."
[0043] When the printer 200 receives display information from the terminal device 10 using the BT connection in T36, the printer 200 displays a connection confirmation screen on the display unit (not shown) of the printer 200 in T40. The connection confirmation screen includes a message for confirming that a BT connection with the terminal device 10 is currently established, and whether or not to start changing the communication settings. The message includes the terminal name "terminal1" in the display information. With this configuration, the user of the printer 200 can confirm that the user will use the terminal device 10 to change the communication settings.
[0044] The connection confirmation screen further includes an "OK" button and a "Cancel" button. In T42, the user operates the printer 200 to select the "OK" button in the connection confirmation screen. When the printer 200 accepts the selection of the "OK" button in T42, the printer 200 transmits an OK notification indicating that the "OK" button has been selected to the terminal device 10 using the BT connection in T44. On the other hand, when the "Cancel" button in the connection confirmation screen is selected, the printer 200 skips the process after T42 and ends the process of FIG. 2. According to this configuration, if the "OK" button in the connection confirmation screen is not selected, the process after T44 is not executed and the communication settings are not changed. It is possible to prevent the communication settings of the printer 200 from being changed without the user of the printer 200 knowing. In a modified example, the connection confirmation screen does not need to include the "OK" button and the "Cancel" button.
[0045] When the terminal device 10 receives an OK notification from the printer 200 using the BT connection via the BTI / F 22 at T44, it causes the display unit 12 to display an information selection screen on which specific AP information can be selected from a plurality of pieces of AP information stored in the memory 34 at T50 in Fig. 3. In this case, the memory 34 stores AP information AI1 of the AP 500 and AP information AI2 of the AP 600. The information selection screen includes a selection button indicating the SSID "ap01" of the AP information AI1 and a selection button indicating the SSID "ap02" of the AP information AI2.
[0046] In T52, the user selects the selection button indicating the SSID "ap01". When the terminal device 10 accepts the selection of the selection button indicating the SSID "ap01" in T52, in T60, the terminal device 10 transmits the AP information AI1 in the memory 34 to the printer 200 by using a BT connection via the BTI / F 22. The AP information AI1 is information for connecting to the LAN4 formed by the AP500, that is, network setting information for setting a connection to a network. As described above, the AP information AI1 includes the SSID "ap01" for identifying the LAN4 and the password "xxxx". Here, the AP information AI1 is encrypted by the key information shared in T32 of FIG. 2. According to such a configuration, it is possible to prevent the plaintext of the AP information AI1 from being obtained by a third party.
[0047] In T70, the printer 200 executes 4way-handshake communication with the AP 500. In at least a part of the 4way-handshake communication, the printer 200 and the AP 500 communicate encrypted information encrypted with the password "xxxx" included in the AP information AI1 acquired in T60. If the encrypted information is successfully decrypted, a wireless connection based on the Wi-Fi system is established between the printer 200 and the AP 500. As a result, the printer 200 is connected to the LAN 4 formed by the AP 500. In a modified example, SAE (short for Simultaneous Authentication of Equals, commonly known as "Dragonfly") communication may be used instead of the 4way-handshake communication.
[0048] Assume that the terminal device 10 is currently connected to the LAN 4. In this situation, when the terminal device 10 accepts a print instruction at the operation unit 14 in T80, in T82, the terminal device 10 transmits print data corresponding to an image to be printed to the printer 200 via the wireless LAN I / F 20, LAN 4, and AP 500.
[0049] When the printer 200 receives the print data from the terminal device 10 via the LAN 4 and the AP 500 in T82, the printer 200 executes printing of an image corresponding to the print data in T84.
[0050] 2, the user can select the selection button BU1 indicating the printer 100. When the selection button BU1 is selected, the terminal device 10 executes communication with the printer 100 in T34 and thereafter.
[0051] (Effects of this embodiment) According to the configuration of this embodiment, the terminal device 10 can grasp the current settings of the printers 100 and 200 by using the second type Advertise signal from the printer 100 and the second type Advertise signal from the printer 200 (T22, T24 in FIG. 2). The terminal device 10 can grasp the current settings of the printers 100 and 200 and display the device selection screen (T30 in FIG. 2). In this embodiment, on the device selection screen, the selection button BU2 indicating the printer 200 for which communication settings have not been completed is arranged above the selection button BU1 indicating the printer 100, and the selection of the selection button BU2 is prompted. In a situation where multiple printers exist, the user may be confused about which printer's communication settings should be changed. By being prompted to select the selection button BU2 on the device selection screen, it is possible to suppress confusion about which printer to select in a situation where multiple printers exist. User convenience is improved.
[0052] (Correspondence) The terminal device 10, the BTI / F 22, and the display unit 12 are examples of the "terminal device", the "communication interface", and the "display unit" of the "terminal device", respectively. The printers 100 and 200 are examples of the "communication device". The BTI / F 122, the wireless LAN I / F 120, and the display unit 112 are examples of the "display unit" of the "first communication interface", the "second communication interface", and the "communication device", respectively. The printers 100 and 200 are examples of the "first communication device" and the "second communication device", respectively. The memory 134 of the printer 100 stores AP information, which is an example of the "first setting". The memory 134 does not store AP information of any AP, which is an example of the "second setting". The AP information AI1 transmitted to the printer 200 at T60 in FIG. 3 is an example of the "network setting information". The AP information AI1 in the printer 100 is an example of the "connection information". The AP 500 and the LAN 4 are examples of the "access point" and the "specific network", respectively. The first and second type Advertise signals indicated by T10 and T12 in FIG. 2 are an example of "multiple types of Advertise signals." The second type Advertise signal of T22 and the second type Advertise signal of T24 are examples of a "first setting state signal" and a "second setting state signal," respectively. The device selection screen of T30, the selection button BU1, and the selection button BU2 are examples of a "selection screen," a "first image," and a "second image," respectively. The BT connection of T34 is an example of a "wireless connection." The display information of T36 is an example of "display information."
[0053] In the “terminal device,” T22, T24, and T30 in FIG. 2 and T60 in FIG. 3 are examples of processing realized by the “first receiving unit,” the “second receiving unit,” the “display control unit,” and the “first transmitting unit,” respectively.
[0054] In the "communication device", T22 and T24 in Fig. 2 are examples of processes realized by a "transmitter". T60 and T70 in Fig. 3 are examples of processes realized by a "first receiver" and a "setting changer", respectively.
[0055] (Second Example) The second embodiment is similar to the first embodiment, except that authentication communication according to the BT method is not performed, and AP information is encrypted using a different method.
[0056] (Processing implemented by communication system 2; Figure 4) With reference to FIG. 4, the process realized by the communication system 2 of the second embodiment will be described. T122 to T132 are the same as T22 to T32 in FIG. 2. T134 is the same as T34 in FIG. 2, except that authentication communication using a PIN code or the like is not executed. T136 is the same as T36 in FIG. 2, except that the display information is not encrypted with key information. T140 and T142 are the same as T40 and T42 in FIG. 2. T144 is the same as T44 in FIG. 2, except that the OK notification is not encrypted with key information and that the OK notification includes the password "zzzz". The password "zzzz" is a password that is pre-stored in the memory (not shown) of the printer 200.
[0057] T150 and T152 are the same as T50 and T52 in Fig. 3. In T154, the terminal device 10 encrypts the AP information AI1 using the password "zzzz" received in T144. T160 is the same as T60 in Fig. 3, except that AP information AI1 encrypted using the password "zzzz" (hereinafter, referred to as "encrypted AP information") is transmitted.
[0058] When the printer 200 receives the encrypted AP information from the terminal device 10 in T160, the printer 200 uses the password "zzzz" in the memory of the printer 200 to decrypt the encrypted AP information and acquire the AP information AI1 in T162. T170 to T184 are the same as T70 to T84 in FIG. 3. Even with this configuration, it is possible to prevent the plaintext of the AP information AI1 from being obtained by a third party. In this embodiment, the password "zzzz" is an example of "encrypted information".
[0059] Although specific examples of the present invention have been described above in detail, these are merely examples and do not limit the scope of the claims. The technology described in the claims includes various modifications and alterations of the specific examples exemplified above. Modifications of the above-mentioned embodiments are listed below.
[0060] (Modification 1-4) The display mode of the device selection screen is not limited to the display mode shown in each embodiment above. FIG. 5 shows modifications 1 to 4 of the device selection screen. The device selection screen of modification 1 includes a selection button BU3 and a selection button BU4. The selection button BU3 includes the printer name "printer1" and does not include a message indicating the setting status information "ON". The selection button BU4 includes the printer name "printer2" and does not include a message indicating the setting status information "OFF". The selection button BU4 is disposed above the selection button BU3. The selection button BU3 has an unselectable mode (e.g., grayed out), and the selection button BU4 has a selectable mode. In this modification, even if the selection button BU3 is selected, the terminal device 10 does not execute communication with the printer 100 after T34 in FIG. 2. The selection button BU3 has an unselectable mode, so that it is possible to prompt the selection of the selection button BU4. By prompting the selection of the selection button BU4, it is possible to prompt the completion of the communication settings of the printer 200 for which the communication settings have not been completed. In this modified example, the selection buttons BU3 and BU4 are examples of the "first button" and the "second button", respectively.
[0061] Variation 2 is similar to Variation 1, except that selection button BU3 is arranged above selection button BU4. Although selection button BU3 is arranged above selection button BU4, selection of selection button BU4 can be prompted by making selection button BU3 unselectable.
[0062] Variation 3 is similar to variation 1, except that it does not include selection button BU3 for printer 100 for which communication settings have been completed. By not including selection button BU3, it is possible to prompt the user to select selection button BU4.
[0063] Variation 4 is similar to each embodiment, except that selection button BU1 is arranged above selection button BU2. Although selection button BU1 is arranged above selection button BU2, selection button BU1 includes a message indicating setting status information "ON" and selection button BU2 includes a message indicating setting status information "OFF," thereby encouraging selection of selection button BU2.
[0064] Furthermore, on the printer selection screen, the selection buttons do not need to include the printer name. For example, on the printer selection screen, a button for selecting printer 100 may be placed adjacent to an image including the printer name "printer1", and a button for selecting printer 200 may be placed adjacent to an image including the printer name "printer2". The image including the printer name "printer2" may be placed above the image including the printer name "printer1". In this modification, the image including the printer name "printer1" and the image including the printer name "printer2" are examples of the "first image" and the "second image", respectively.
[0065] (Variation 5) At least one of the "first communication device" and the "second communication device", and the "communication device" may be, for example, a terminal device such as a scanner, a FAX machine, a multi-function device, or a PC.
[0066] (Variation 6) The "communication interface" is not limited to the BTI / F 22, but may be, for example, an I / F for performing wired communication. Examples of wired communication include a wired LAN and a USB (short for Universal Serial Bus).
[0067] (Variation 7) Each of the devices 10, 100, and 200 does not have to support version 4.0 of the Bluetooth system (i.e., the BLE system). Each of the devices 10, 100, and 200 may support a version of the Bluetooth system earlier than version 4.0.
[0068] (Modification 8) The "first setting state signal and the second setting state signal" are not limited to the Advertise signal of the BLE system, and may be other signals of the BT system (for example, Scan Response, etc.).
[0069] (Variation 9) In addition to the first and second types of Advertise signals, the printer 100 may transmit a third type of Advertise signal indicating a status other than the printer's communication settings (e.g., remaining ink level, etc.). In this variation, the first, second and third types of Advertise signals are an example of "multiple types of Advertise signals." Generally speaking, "multiple types of Advertise signals" are multiple types of Advertise signals corresponding to multiple uses.
[0070] (Modification 10) The process of T10 in Fig. 2 does not have to be executed. In this modification, the "multiple types of Advertise signals" can be omitted.
[0071] (Modification 11) The process of T34 in Fig. 2 does not have to be executed. In this case, for example, the terminal device 10 may transmit at least one of the display information and the AP information AI1 to the printer 200 by using communication (e.g., Scan Request, etc.) that is available without establishing a BT connection among communications according to the BT method.
[0072] (Modification 12) The process of T36 in Fig. 2 does not have to be executed. In this modification, the "second transmitting unit" of the "terminal device" and the "second receiving unit" of the "communication device" can be omitted.
[0073] 3 does not have to be executed. In this case, the printer 200 stores the AP information AI1 received from the terminal device 10 in a memory, and does not have to establish a wireless connection with the AP 500. Storing the AP information AI1 in a memory is an example of a process realized by "changing the setting of the second communication device from the second setting to the first setting" and the "setting change unit."
[0074] (Modification 14) T80 in Fig. 3 does not have to be executed. In this modification, the "communication execution unit" can be omitted.
[0075] (Variation 15) "Connection information" is not limited to AP information, but may be, for example, information (e.g., SSID) for connecting to a network formed by other devices other than an AP (e.g., a device acting as a Croup Owner in the WFD method, or a device acting as a parent station in a SoftAP).
[0076] (Variation 16) In the second embodiment, the password "zzzz" does not have to be included in the OK notification of T144 in FIG. 3. For example, the password "zzzz" may be included in the Advertise signal of T124. Also, the password "zzzz" may be transmitted to the terminal device 10 in a predetermined communication according to the BT method executed in T134. Generally speaking, it is sufficient that the "encryption information" is communicated before the communication of the "network setting information".
[0077] (Variation 17) In each of the above embodiments, the processes in FIGS. 2 to 4 are realized by software (e.g., programs 40, 42, 140, etc.), but at least one of these processes may be realized by hardware such as a logic circuit.
[0078] In addition, the technical elements described in this specification or drawings exert technical utility alone or in various combinations, and are not limited to the combinations described in the claims at the time of filing. In addition, the technologies exemplified in this specification or drawings achieve multiple objectives simultaneously, and achieving one of those objectives is itself technically useful. [Explanation of symbols]
[0079] 2: communication system, 4: LAN, 10: terminal device, 12: display unit, 14: operation unit, 22: BTI / F, 30: control unit, 32: CPU, 34: memory, 40: OS program, 42: application, 100: printer, 112: display unit, 114: operation unit, 120: wireless LAN interface, 122: BTI / F, 130: control unit, 132: CPU, 134: memory, 140: program, 200: printer, 500: access point, 600: access point, AI1, AI2: AP information, BU1 to BU4: selection buttons
Claims
1. A computer program for a terminal device, comprising: The terminal device a communication interface for performing communication with a communication device; A display unit; Equipped with the setting of the communication device is any one of a plurality of settings including a first setting in which communication setting for performing communication via a network is completed and a second setting in which the communication setting is not completed; The computer program controls the computer of the terminal device to the following units: a first receiving unit that receives a first setting state signal from a first communication device via the communication interface, the first setting state signal indicating that a current setting of the first communication device is the first setting; a second receiving unit configured to receive a second setting status signal from a second communication device via the communication interface, the second setting status signal indicating that a current setting of the second communication device is the second setting; and a display control unit that, after receiving the first setting state signal and the second setting state signal, causes the display unit to display a selection screen on which at least the second communication device of the first communication device and the second communication device can be selected; a first transmission unit that transmits, when the second communication device is selected on the selection screen, network setting information for changing a setting of the second communication device from the second setting to the first setting via the communication interface to the second communication device; A computer program that functions as a
2. the selection screen includes a first image indicating the first communication device and a second image indicating the second communication device; The computer program product of claim 1 , wherein the second image is positioned above the first image.
3. the selection screen includes a first button indicating the first communication device and a second button indicating the second communication device; the first button has a non-selectable aspect and the second button has a selectable aspect; The computer program product according to claim 1 , wherein when the second button is selected, the second communication device is selected on the selection screen.
4. The completion of the communication setting includes that the communication device stores connection information for connecting to the network, The computer program product according to claim 1 , wherein the communication setting is not completed includes the connection information not being stored.
5. The communication setup being completed includes the communication device currently being connected to the network, The computer program product of claim 1 , wherein the communication setup is not complete includes the communication device not currently connected to the network.
6. The network setting information includes an SSID that identifies a specific network formed by an access point different from the terminal device, and a password; 6. The computer program product of claim 1, wherein changing the configuration of the second communication device from the second configuration to the first configuration includes connecting the second communication device to the specific network using the SSID and the password.
7. The computer program product according to claim 1 , wherein the communication interface is an interface for performing wireless communication with the communication device.
8. 8. The computer program product according to claim 7, wherein the wireless communication is communication in compliance with Bluetooth version 4.0 or later standards.
9. The computer program product according to claim 8 , wherein the first setting state signal and the second setting state signal are Advertise signals according to the standard.
10. the communication device is capable of repeatedly transmitting a plurality of types of Advertisement signals in sequence; the first receiving unit receives the first setting state signal, which is a specific type of Advertise signal, when the first communication device transmits a specific type of Advertise signal among the plurality of types of Advertise signals; 9. The computer program product according to claim 8, wherein the second receiving unit receives the second setting state signal that is the specific type of Advertise signal when the second communication device transmits the specific type of Advertise signal among the multiple types of Advertise signals.
11. The computer program further causes the computer of the terminal device to when the second communication device is selected on the selection screen, the communication interface functions as an establishment unit that establishes a wireless connection with the second communication device via the communication interface; The computer program product according to claim 1 , wherein the first transmission unit transmits the network setting information to the second communication device by using the wireless connection.
12. The computer program further causes the computer of the terminal device to A computer program according to any one of claims 1 to 11, which, when the second communication device is selected on the selection screen, functions as a second transmission unit that transmits display information to the second communication device via the communication interface to display an image showing the terminal device on the second communication device.
13. The computer program further causes the computer of the terminal device to A computer program according to any one of claims 1 to 12, further comprising: a communication execution unit that executes communication with the second communication device using the network after the setting of the second communication device is changed from the second setting to the first setting in response to the transmission of the network setting information.
14. The computer program further causes the computer of the terminal device to when the second communication device is selected on the selection screen, functioning as an information receiving unit that receives encryption information for encrypting the network setting information from the second communication device via the communication interface; The computer program product according to claim 1 , wherein the first transmission unit transmits the network setting information encrypted using the encryption information to the second communication device via the communication interface.
15. A communication device, comprising: a first communication interface for performing communication with a terminal device; a transmission unit that transmits a setting status signal to the terminal device via the first communication interface, the setting status signal indicating a first setting when a current setting of the communication device is a first setting in which communication setting for performing communication via a network has been completed, and indicating a second setting when a current setting of the communication device is a second setting in which the communication setting has not been completed; a first receiving unit that receives, from the terminal device via the first communication interface, network setting information for changing a setting of the communication device from the second setting to the first setting after the setting state signal indicating the second setting has been transmitted; a setting change unit that changes a setting of the communication device from the second setting to the first setting when the network setting information is received from the terminal device; A communication device comprising:
16. The completion of the communication setting includes that the communication device stores connection information for connecting to the network, The communication device according to claim 15 , wherein the communication setting is not completed includes the connection information not being stored.
17. The communication setup being completed includes the communication device currently being connected to the network, The communication device according to claim 15 or 16, wherein the communication setup is not complete includes the communication device not currently connected to the network.
18. The communication device further comprises: a second communication interface different from the first communication interface, the second communication interface for performing communication over the network; 18. The communication device according to claim 15, wherein the setting change unit changes the setting of the communication device from the second setting to the first setting by connecting the second communication interface to a specific network formed by an access point different from that of the terminal device.
19. The communication device according to claim 15 , wherein the first communication interface is an interface for performing wireless communication with the terminal device.
20. 20. The communication device according to claim 19, wherein the wireless communication is in compliance with Bluetooth version 4.0 or later standards.
21. The communication device according to claim 20 , wherein the setting state signal is an Advertise signal conforming to the standard.
22. the communication device is capable of repeatedly transmitting a plurality of types of Advertisement signals in sequence; The communication device according to claim 21 , wherein the setting state signal is a specific type of Advertise signal among the plurality of types of Advertise signals.
23. The communication device further comprises: an establishment unit that establishes a wireless connection with the terminal device via the first communication interface after the setting state signal indicating the second setting is transmitted; The communication device according to claim 15 , wherein the first receiver receives the network setting information from the terminal device by using the wireless connection.
24. The communication device further comprises: A display unit; a second receiving unit that receives, after the setting state signal indicating the second setting is transmitted, from the terminal device via the first communication interface, display information for causing the communication device to display an image indicating the terminal device; a display control unit that causes the image according to the display information to be displayed on the display unit; 24. A communication device according to any one of claims 15 to 23, comprising:
25. The communication device further comprises: A communication device as described in any one of claims 15 to 24, wherein, in response to receiving the network setting information, after the setting of the communication device is changed from the second setting to the first setting, the communication device functions as a communication execution unit that executes communication with the terminal device using the network.
26. The communication device further comprises: an information transmitting unit configured to transmit encryption information for encrypting the network setting information to the terminal device via the first communication interface after the setting state signal indicating the second setting is transmitted; 26. The communication device according to claim 15, wherein the first receiving unit receives the network setting information encrypted using the encryption information from the terminal device via the first communication interface.
Citation Information
Patent Citations
Information processing device, control method, and program
JP2017184169A
Computer program for terminal, and terminal
JP2020053934A
Communication device, computer program for communication device, and computer program for first external device
JP2020108064A
Terminal apparatus and computer program for terminal apparatus
JP2020113851A
Computer program for terminal device and communication device
JP2020113955A
