Application program for a terminal device, terminal device, and method executed by a terminal device

JP7563133B2Active Publication Date: 2024-10-08BROTHER KOGYO KK
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2020194251
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-11-24
Publication Date
2024-10-08
Estimated Expiration
2040-11-24

Smart Images

  • Figure 0007563133000001
    Figure 0007563133000001
  • Figure 0007563133000002
    Figure 0007563133000002
  • Figure 0007563133000003
    Figure 0007563133000003
Patent Text Reader

Abstract

To provide a technology for appropriately acquiring related information on a communication device, when an IP address is included in an advertised signal received from the communication device.SOLUTION: A terminal device, when receiving a first advertised signal including an IP address of a first communication device from the first communication device, via a first wireless interface, transmits a first information request including the IP address as a destination address to the first communication device, via a second wireless interface, and receives first related information on the first communication device, from the first communication device, via the second wireless interface. The first related information includes at least one of first capability information indicating capability of the first communication device, and first state information indicating a state of the first communication device. The terminal device displays first display information on the first communication device, by using the first related information.SELECTED DRAWING: Figure 4
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] This specification discloses a technique for performing wireless communication between a terminal device and a communication device in accordance with the Bluetooth (registered trademark) standard. [Background technology]

[0002] Patent Document 1 discloses a system including a mobile terminal and an MFP (abbreviation of Multi-Function Peripheral). The mobile terminal receives a Bluetooth standard Advertisement from the MFP, executes GATT (abbreviation of Generic Attribute Profile) communication with the MFP, and creates a device status list based on the received information. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2017-076189 A [Patent Document 2] JP 2017-010329 A Summary of the Invention [Problem to be solved by the invention]

[0004] The above technology does not take into consideration the fact that an IP address is included in Advertise. This specification provides a technology for appropriately acquiring related information about a communication device when an Advertise signal received from the communication device includes an IP address.

[0005] This specification discloses an application program for a terminal device. The terminal device may include a first wireless interface conforming to the Bluetooth (registered trademark) standard, a second wireless interface conforming to the Wi-Fi standard, a display unit, and a computer. The application program causes the computer to include the following units, that is, a first advertising signal receiving unit that receives a first advertising signal including a first IP address that is an IP address of the first communication device from a first communication device of a plurality of communication devices via the first wireless interface, and a first information sending unit that, when the first advertising signal is received from the first communication device, transmits a first information request including the first IP address included in the first advertising signal as a destination address to the first communication device via the second wireless interface. a first related information receiving unit configured to receive first related information regarding the first communication device from the first communication device via the second wireless interface when the first information request is transmitted to the first communication device, the first related information including at least one of first capability information indicating a capability of the first communication device and first status information indicating a status of the first communication device; and a display control unit configured to display first display information regarding the first communication device on the display unit by using the first related information.

[0006] According to the above configuration, when the terminal device receives a first advertising signal including a first IP address from the first communication device via a first wireless interface conforming to the Bluetooth standard, the terminal device transmits a first information request including the first IP address as a destination address to the first communication device via a second wireless interface conforming to the Wi-Fi standard. Therefore, the terminal device can receive the first related information from the first communication device via the second wireless interface. In this way, when the advertising signal received from the first communication device includes an IP address, the terminal device can appropriately acquire the first related information regarding the first communication device.

[0007] A computer-readable storage medium for storing the above-mentioned application program is also novel and useful. Also novel and useful are the terminal device itself and the method executed by the terminal device. [Brief description of the drawings]

[0008] [Figure 1] 1 shows the configuration of a communication system. [Diagram 2] 13 shows a flowchart of a search process of a mobile terminal. [Diagram 3] A sequence diagram of case A in which a normal device search is selected is shown. [Figure 4] The sequence diagram continues from Figure 3. [Diagram 5] The sequence diagram continues from Figure 4. [Figure 6] The sequence diagram continues from FIG. [Figure 7] A sequence diagram of case B in which a conditional device search is selected is shown. [Figure 8] The sequence diagram continues from FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] (Configuration of communication system 2: Figure 1) As shown in FIG. 1, the communication system 2 includes a plurality of mobile terminals 10, 40 and a plurality of printers 100, 200, 300, 400, 500. Hereinafter, the mobile terminals are simply referred to as "terminals". Each of the terminal 10 and the printers 100, 200, 300, 400 establishes a wireless connection with an access point 50, that is, a wireless connection according to the Wi-Fi standard (hereinafter referred to as "Wi-Fi connection"). The printer 500 establishes a Wi-Fi connection with an access point 60. The access points 50, 60 are connected by wire and can communicate with each other. That is, the access points 50, 60 belong to the same local area network. The access point 50 and the devices 10, 100, 200, 300, 400 connected thereto form one subnetwork, and the access point 60 and the printer 500 connected thereto form another subnetwork. In the following, access point will be referred to as "AP (short for Access Point)."

[0010] (Configuration of terminals 10 and 40) Each of the terminals 10, 40 is a portable terminal device such as a mobile phone (e.g., a smartphone), a PDA, a tablet PC, etc. In a modified example, each of the terminals 10, 40 may be a stationary terminal device such as a desktop PC. Since each of the terminals 10, 40 has the same configuration, the configuration of the terminal 10 will be described below, and the description of the configuration of the terminal 40 will be omitted.

[0011] The terminal 10 includes a display unit 12, a Wi-Fi interface 14, a BT (abbreviation of Bluetooth (registered trademark)) interface 16, an operation unit 18, and a control unit 30. Each unit 12 to 30 is connected to a bus line (reference numerals omitted). In the following, the interface will be simply referred to as "I / F".

[0012] The display unit 12 is a display for displaying various information. The operation unit 18 has a plurality of keys. A user can input various instructions to the terminal 10 by operating the operation unit 18. The display unit 12 also functions as a so-called touch panel. That is, the display unit 12 also functions as an operation unit. In the following, the display unit 12 and the operation unit 18 that function as a touch panel may be collectively referred to as "operation units 12, 18."

[0013] The Wi-Fi I / F 14 is a wireless interface for performing wireless communication according to the Wi-Fi standard (hereinafter referred to as "Wi-Fi communication"). The Wi-Fi standard is, for example, the IEEE (The Institute of Electrical and Electronics Engineers, Inc.) 802.11 standard and standards equivalent thereto (for example, 802.11a, 11b, 11g, 11n, 11ac, etc.).

[0014] BTI / F16 is an I / F for performing wireless communication in accordance with the BT standard (hereinafter referred to as "BT communication"). The BT standard is, for example, the IEEE802.15.1 standard and standards equivalent thereto. More specifically, BTI / F16 supports BLE (short for Bluetooth Low Energy). BLE is realized in the BT standard version 4.0 and later versions.

[0015] The differences between Wi-Fi communication and BT communication 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).

[0016] The control unit 30 includes a CPU 32 and a memory 34. The CPU 32 executes various processes in accordance with programs 36, 38 stored in the memory 34. The memory 34 is composed of a volatile memory, a non-volatile memory, etc., and stores an OS (short for Operating System) program 36 (hereinafter simply referred to as "OS 36") and a print application 38 (hereinafter simply referred to as "app 38").

[0017] The OS 36 is a program for controlling basic operations of the terminal 10, and is, for example, iOS (registered trademark), Android (registered trademark), etc. The app 38 is an application for performing BT communication to search for printers present around the terminal 10, and performing Wi-Fi communication to transmit print data to the printer. The app 38 may be installed on the terminal 10 from a server on the Internet provided by a vendor of the printer 100 or the like, or may be installed on the terminal 10 from media shipped together with the printer 100 or the like.

[0018] (Printer 100 to 500 configuration) Each of the printers 100 to 500 is a peripheral device (for example, a peripheral device of the terminal 10) capable of executing a printing function. The printer 100 has a model name "model 1." The printer 100 includes a display unit 112, a Wi-Fi I / F 114, a BTI / F 116, a print execution unit 118, and a control unit 130.

[0019] The display unit 112 is a display for displaying various information. The display unit 112 also functions as a touch panel (i.e., an operation unit) for receiving instructions from a user. The Wi-Fi I / F 114 is the same as the Wi-Fi I / F 14 of the terminal 10. The BTI / F 116 is the same as the BTI / F 16 of the terminal 10. That is, the BTI / F 116 supports BLE. The MAC address "m100" is assigned to the BTI / F 116. The print execution unit 118 is a printing mechanism such as an inkjet type or a laser type.

[0020] The control unit 130 includes a CPU 132 and a memory 134. The CPU 132 executes various processes in accordance with a program 136 stored in the memory 134. The memory 134 is configured with a volatile memory, a non-volatile memory, etc. The memory 134 stores the IP address "i100" of the printer 100 that is assigned to the printer 100 by the AP 50.

[0021] Each printer 200, 300, 400, 500 has a similar configuration to printer 100, except that it has a different model name (e.g., "model2" for printer 200), a different MAC address assigned to the BTI / F (e.g., "m200" for printer 200), and a different IP address of the printer stored in memory (e.g., "i200" for printer 200).

[0022] (Mobile device search process: Figure 2) With reference to FIG. 2, the search process executed by the CPU 32 of the mobile terminal 10 in accordance with the application 38 will be described. The search process is started when a search start instruction is received from the user after the application 38 is launched. The search start instruction includes the user designating a search method. The search method is a normal device search or a conditional device search. The normal device search is a method for searching for all printers capable of printing. The conditional device search is a method for searching for printers capable of printing according to printing conditions input by the user.

[0023] The processes from S10 to S20 are a series of processes for creating a list. The list is a list of printers that exist around the terminal 10 and can transmit capability information, etc. to the terminal 10. In S10, the CPU 32 determines whether or not an advertising signal has been received from any printer via the BTI / F 16. If the CPU 32 determines that an advertising signal has been received (YES in S10), it proceeds to S12, and if it determines that an advertising signal has not been received (NO in S10), it proceeds to S20.

[0024] In S12, the CPU 32 judges whether the received advertising signal includes an IP address. Whether the advertising signal includes an IP address depends on the performance of the printer that sent the advertising signal. That is, there are printers (e.g., printers 200, 300, and 500) that can send advertising signals that include IP addresses, and printers (e.g., printers 100 and 400) that cannot send advertising signals that include IP addresses. If the CPU 32 judges that the advertising signal includes an IP address (YES in S12), it proceeds to S14, and if it judges that the advertising signal does not include an IP address (NO in S12), it proceeds to S16.

[0025] In S16, the CPU 32 judges whether the received advertising signal is an ADV_IND signal or an ADV_NONCONN_IND signal. Hereinafter, the ADV_IND signal and the ADV_NONCONN_IND signal will be referred to as an "AI signal" and an "ANI signal", respectively. The AI ​​signal is an advertising signal including a connection permission parameter indicating that the printer that has transmitted the AI ​​signal can establish a BT connection with the terminal (i.e., an L2CAP Link connection, which will be described later). The ANI signal is an advertising signal including a connection non-permission parameter indicating that the printer that has transmitted the ANI signal cannot establish a BT connection with the terminal. More specifically, each of the printers 100 to 500 repeatedly transmits an AI signal when a BT connection with another device has not been established, and repeatedly transmits an ANI signal when a BT connection with another device has been established. If the CPU 32 determines that the advertising signal is an AI signal (YES in S16), it proceeds to S14, and if the CPU 32 determines that the advertising signal is an ANI signal (NO in S16), it returns to S10 without executing S14.

[0026] In S14, the CPU 32 writes information about the printer that is the sender of the already received advertising signal in the list. Specifically, the CPU 32 writes the MAC address of the printer included in the advertising signal in association with the received radio wave strength of the advertising signal in the list. In addition, if the advertising signal includes an IP address, the CPU 32 writes the IP address in the list in association with the MAC address and the received radio wave strength.

[0027] In S20, the CPU 32 judges whether or not a predetermined time has elapsed since the start of the process in Fig. 2. If the CPU 32 judges that the predetermined time has elapsed (YES in S20), the process proceeds to S30, and if the CPU 32 judges that the predetermined time has not elapsed (NO in S20), the process returns to S10.

[0028] The processes from S30 to S100 are a series of processes for displaying one or more printers that can be caused to print by terminal 10, among the printers described in the list. In S30, CPU 32 sorts the information in the list in descending order of distance to terminal 10. Specifically, CPU 32 sorts the information in the list in descending order of received radio wave strength. This allows CPU 32 to execute the processes from S40 onwards for each printer in descending order of distance to terminal 10.

[0029] In S40, the CPU 32 first identifies the top information from among the unprocessed information in the sorted list (i.e., the information such as the MAC address associated with the highest received radio wave intensity). Then, the CPU 32 judges whether the identified information includes an IP address. If the CPU 32 judges that the identified information includes an IP address (YES in S40), the CPU 32 proceeds to S42, and if the CPU 32 judges that the identified information does not include an IP address (NO in S40), the CPU 32 proceeds to S70.

[0030] In S42, the CPU 32 transmits an information request, including the IP address identified in S40 as the destination address, to the printer via the Wi-Fi I / F 14.

[0031] In S44, the CPU 32 judges whether information has been received from the printer. The information includes the model name, capability information, and status information. The capability information is information indicating printing conditions that the printer can realize. Specifically, in this embodiment, the capability information includes paper size and the number of colors (i.e., monochrome printing or color printing). In a modified example, the capability information may further include information indicating the print resolution, the presence or absence of a double-sided printing function, the presence or absence of a stapler function, and the like. The status information is information indicating the current status of the printer. Specifically, in this embodiment, the status information includes information indicating an idle state waiting to receive a print instruction, an error state indicating that printing cannot be performed, the remaining amount of consumables, and the like. In a modified example, the status information may further include information indicating the communication status of the printer. If the CPU 32 judges that information has been received from the printer (YES in S44), it proceeds to the process of S50, and if a predetermined time has passed without receiving information from the printer (NO in S44), it proceeds to the process of S100.

[0032] In S50, the CPU 32 judges whether the search method designated by the user is a conditional device search or a normal device search. If the CPU 32 judges that the search method is a conditional device search (YES in S50), the process proceeds to S52, and if the CPU 32 judges that the search method is a normal device search (NO in S50), the process proceeds to S60.

[0033] In S52, the CPU 32 judges whether the capability information received in S44 matches the printing conditions input by the user. If the CPU 32 judges that the capability information matches the input printing conditions (YES in S52), the process proceeds to S60, and if the CPU 32 judges that the capability information does not match the input printing conditions (NO in S52), the process proceeds to S100.

[0034] In S60, the CPU 32 displays a selection screen. If the search method specified by the user is a normal device search (i.e., NO in S50), the selection screen includes the model name, capability information, and status information received in S44. If the search method specified by the user is a conditional device search (i.e., YES in S50), the selection screen includes the model name and status information received in S44, but does not include capability information.

[0035] In S100, the CPU 32 judges whether the processes from S40 onward have been executed for all the information in the list. If the CPU 32 judges that the processes have been executed for all the information (YES in S100), it ends the process of Fig. 2, and if the CPU 32 judges that the processes have not been executed for all the information (NO in S100), it returns to S40.

[0036] In S70, the CPU 32 sends a CONNECT_IND signal containing the MAC address in the information identified in S40 as the destination to the printer via the BTI / F 16. This signal is a signal requesting the establishment of a BT connection (i.e., an L2CAP Link connection). As a result, a BT connection is established between the terminal 10 and the printer.

[0037] In S72, the CPU 32 uses the BT connection established in S70 to send a Read by Type Request signal (hereinafter simply referred to as a "Read signal") to the printer via the BTI / F 16. This signal is a signal that requests the transmission of information. This information includes the model name, capability information, status information, and IP address.

[0038] S80 is the same as S50. If YES in S80, proceed to S82, and if NO in S80, proceed to S90. S82 is the same as S52. If YES in S82, proceed to S90, and if NO in S82, proceed to S100.

[0039] In S90, the CPU 32 transmits a confirmation signal including the IP address received in S72 as the destination address to the printer via the Wi-Fi I / F 14.

[0040] In S92, the CPU 32 determines whether or not a response signal has been received from the printer via the Wi-Fi I / F 14. If the CPU 32 determines that a response signal has been received from the printer (YES in S92), the process proceeds to S60, and if a predetermined time has passed without receiving a response signal from the printer (NO in S92), the process proceeds to S100.

[0041] (Specific cases: Figures 3 to 8) Next, specific cases realized by the processing in Fig. 2 will be described with reference to Fig. 3 to Fig. 8. First, case A in which a normal device search is executed will be described with reference to Fig. 3 to Fig. 6, and then case B in which a conditional device search is executed will be described with reference to Fig. 7 and Fig. 8.

[0042] (Case A: Figures 3 to 6) 3, the terminal 10 and the printers 100 to 400 have established a Wi-Fi connection with the AP 50, and the printer 500 has established a Wi-Fi connection with the AP 60. The printers 300 and 400 have also established a BT connection (i.e., an L2CAP Link connection, which will be described later) with the terminal 40.

[0043] In the following, when describing a process executed by the CPU 32 of the terminal 10 according to the OS 36 or the application 38, the OS 36 or the application 38 will be described as the main subject. When describing a process executed by the CPU 132 of the printer 100 or the like according to the program 136 or the like, the printer 100 or the like will be described as the main subject, not the CPU 132 or the like. In the following, of the BT communication and the Wi-Fi communication, the BT communication will be mainly executed. For this reason, unless it is clearly stated that it is the Wi-Fi communication, each communication below is the BT communication via the BTI / F16 or the like. In each figure from FIG. 3 onwards, the BT communication and the Wi-Fi communication are represented by thin lines and thick lines, respectively.

[0044] (Case A: Figure 3) Each of the printers 100 to 500 repeatedly transmits an advertising signal conforming to the BT standard while the power is ON. Each of the printers 100, 200, and 500 has not established a BT connection with the terminal. For this reason, each of the printers 100, 200, and 500 transmits an AI signal at T10, T12, and T18. Meanwhile, each of the printers 300 and 400 has established a BT connection with the terminal 40. For this reason, each of the printers 300 and 400 transmits an ANI signal at T14 and T16.

[0045] At T20, an operation to start the application 38 is executed by the user on the operation units 12, 18, and as a result, the application 38 is started. In this case, at T22, the application 38 causes the display unit 12 to display a search method selection screen. The search method selection screen includes a button B1 indicating a character string "Device Search" and a button B2 indicating a character string "Conditional Device Search". The button B1 is a button for starting a normal device search. The button B2 is a button for starting a conditional device search.

[0046] In case A, the application 38 accepts an operation of selecting the button B1 from the user at T24 (triggering the process in FIG. 2). That is, case A is a case in which a normal device search is executed. In case B in FIGS. 7 and 8, the button B2 is selected. That is, case B is a case in which a conditional device search is executed.

[0047] When the application 38 accepts the operation of selecting the button B1 in T24, in T26, the application 38 supplies a search start instruction to the OS 36. The search start instruction is a command to instruct the terminal 10 to search for each printer present around the terminal 10.

[0048] When the OS 36 acquires a search start instruction from the application 38 in T26, the OS 36 receives an AI signal or an ANI signal from each of the printers 100 to 500 in T30 to T38. The advertising signal of T30 received from the printer 100 includes the MAC address "m100" of the BTI / F 116 of the printer 100. Similarly, the advertising signals of T32 to T38 received from each of the printers 200 to 500 include the MAC address of the sending printer (i.e., "m200", "m300", "m400", or "m500"). The advertising signals of T32, T34, and T38 received from the printers 200, 300, and 500 further include the IP address of the sending printer (i.e., "i200", "i300", or "i500").

[0049] In T40, the OS 36 supplies the reception information to the application 38. Note that FIG. 3 shows that the reception information is supplied from the OS 36 to the application 38 after the advertisement signals are received from all the printers 100 to 500. However, in reality, the OS 36 supplies the reception information to the application 38 every time it receives an advertisement signal from one printer. That is, the application 38 acquires the reception information from the OS 36 every time it receives an advertisement signal from one printer (YES in S10 in FIG. 2). The reception information includes the type of advertisement signal received from the printer that transmitted the advertisement signal (i.e., AI signal or ANI signal), the MAC address included in the advertisement signal, and the received radio wave intensity of the advertisement signal. Furthermore, if the advertisement signal includes an IP address, the reception information also includes the IP address.

[0050] When the application 38 acquires each piece of reception information corresponding to each printer 100-500 from the OS 36 in T40, it creates a list in T42 (S12-S16). The list is a list of printers that can transmit capability information and the like to the terminal 10. Specifically, the application 38 identifies the printers 200, 300, 500 that are the transmission source of the advertising signal including the IP address (YES in S12) and the printer 100 that is the transmission source of the AI ​​signal (YES in S16) based on each piece of reception information. Then, the application 38 writes the MAC address and the received radio wave intensity of each of the identified printers 100, 200, 300, 500 in the list in association with each other in the order in which the advertising signal was received. The application 38 also writes the IP address of each of the printers 200, 300, 500 in the list in association with the MAC address and the received radio wave intensity. In this way, since the terminal 10 does not list the MAC address of the printer 400 from which it is unable to obtain capability information, etc., the terminal 10 does not need to execute processing to communicate with the printer 400 (for example, processing such as T50, T52, etc. in Figure 4 described below).

[0051] Next, in T44, the application 38 uses the received radio wave strength corresponding to each of the printers 100, 200, 300, and 500 to sort the list generated in T42 in order of the distance from the terminal 10 (S30). Specifically, the application 38 writes the MAC address "m200" and the IP address "i200" of the printer 200 corresponding to the highest received radio wave strength "-50 dBm" in the first place (i.e., the top) of the list. Next, the application 38 writes the MAC address "m500" and the IP address "i500" of the printer 500 corresponding to the second highest received radio wave strength "-60 dBm" in the second place of the list. Similarly, the application 38 writes the MAC address "m100" of the printer 100 in the third place of the list, and writes the MAC address "m300" and the IP address "i300" of the printer 300 in the fourth place of the list (i.e., the bottom).

[0052] (Continuation of Figure 3: Figure 4) Next, the terminal 10 communicates with each of the printers 100, 200, 300, and 500 in the order of the sorted list. That is, the terminal 10 first communicates with the printer 200, and then sequentially communicates with each of the printers 500, 100, and 300. This allows the terminal 10 to receive information from the printers 100, 200, etc. in order of proximity to the terminal 10, and as a result, information about printers that are close to the terminal 10 can be preferentially displayed.

[0053] At T50, the application 38 identifies the top MAC address "m200" and IP address "i200" in the sorted list, and supplies an acquisition instruction including the IP address "i200" to the OS 36 (S42). The acquisition instruction is a command to instruct the transmission of an information request including the IP address as a destination address.

[0054] When the OS 36 acquires an acquisition instruction from the application 38 in T50, the OS 36 transmits an information request including the IP address "i200" included in the acquisition instruction as a destination address via the Wi-Fi I / F 14 in T52. That is, the OS 36 transmits the information request to the printer 200. In this way, after the terminal 10 receives an operation T24 from the user via the operation units 12 and 18, the terminal 10 can transmit the information request to the printer 200 without receiving any additional operation from the user. As a result, the terminal 10 can acquire capability information, etc. from the printer 200 and can display the capability information, etc. Therefore, the user can easily know the information of the printer 200 without performing a large number of operations.

[0055] In T54, the OS 36 receives various information (i.e., the model name “model2”, capability information, and status information) from the printer 200 via the Wi-Fi I / F 14. In this case, in T56, the OS 36 supplies an acquisition notification including the received information to the application 38.

[0056] When the application 38 receives the acquisition notification from the OS 36 (YES in S44), in T60, the application 38 displays the printer selection screen on the display unit 12 (S60). The printer selection screen includes the information B3 about the printer 200. Specifically, the information B3 includes the model name "model2", the capability information, and the status information received in T54. This allows the user to know the information B3 about the printer 200. If the user selects the information B3, the terminal 10 can cause the printer 200 to execute printing using Wi-Fi communication. Note that, for example, if a malfunction or the like occurs in the AP 50, Wi-Fi communication cannot be executed between the terminal 10 and the printer 200. In this case, the application 38 cannot receive the acquisition notification from the OS 36 (NO in S44), and does not display the information B3 about the printer 200. This is because the terminal 10 cannot cause the printer 200 to execute printing using Wi-Fi communication.

[0057] Next, the terminal 10 identifies the next top MAC address "m500" and IP address "i500" in the sorted list, and in steps T70 to T76, executes the same processes as those in steps T50 to T56 with the printer 500. In this case, since the AP50 and AP60 belong to the same LAN, the communication between the terminal 10 and the printer 500 is executed via the AP50 and AP60 (see T72 and T74).

[0058] When the application 38 acquires the acquisition notification from the OS 36 in T76, the application 38 adds the information B4 about the printer 500 to the printer selection screen in T80 (S60). That is, the application 38 displays the information B4 about the printer 500 on the display unit 12 in addition to the information B3 about the printer 200. Therefore, the user can simultaneously view the multiple pieces of information B3 and B4 about the multiple printers 200 and 500. In particular, the application 38 does not display the printer selection screen after acquiring information from each of the multiple printers 200 and 500, but displays the printer selection screen including only the information B3 at the stage when information is acquired from the printer 200. After that, when information is acquired from the printer 500, the application 38 adds the information B5 to the printer selection screen. Therefore, the application 38 can quickly provide the information B3 to the user. Therefore, the user can quickly select the information B3. Furthermore, the application 38 displays the information B4 below the information B3 that has been previously displayed. That is, the application 38 preferentially displays the information B3 related to the printer 200 that is closer to the terminal 10. This allows the user to preferentially select the information B3 related to the printer 200 that is closer to the terminal 10.

[0059] (Continuation of Figure 4: Figure 5) Next, as shown in FIG. 5, the application 38 identifies the next top MAC address "m100" in the sorted list in T90, and supplies a connection instruction including the MAC address "m100" to the OS 36 (NO in S40, S70). The connection instruction is a command instructing the establishment of a BT connection and the communication of information using the BT connection. In this way, when the terminal 10 receives an advertising signal that does not include an IP address from the printer 100, it establishes a BT connection with the printer 100 using the MAC address of the BTI / F of the printer 100, and receives various information from the printer 100 using the BT communication. The terminal 10 can acquire various information from each printer 100 using an appropriate method depending on whether the advertising signal includes an IP address or not.

[0060] When the OS 36 acquires a connection instruction from the application 38 in T90, the OS 36 transmits a CONNECT_IND signal including the MAC address "m100" included in the connection instruction as a destination address in T92. That is, the OS 36 transmits the signal to the printer 100. As a result, a BT connection is established between the terminal 10 and the printer 100 in T94. can be.

[0061] When the BT connection is established in T94, the printer 200 stops transmitting the AI ​​signal in T100 and starts transmitting the ANI signal in T102. As described above, the ANI signal is a signal indicating that a BT connection cannot be established. For this reason, in a state in which the printer 100 has established a BT connection with the terminal 10, it is possible to prevent the printer 100 from starting a process for establishing a BT connection with another terminal. As a result, it is possible to prevent an event from occurring in which the BT connection between the printer 100 and the terminal 10 is disconnected due to the start of the process.

[0062] The OS 36 uses the BT connection established in T94 to send a Read signal to the printer 100 in T110.

[0063] When the printer 100 receives a Read signal from the terminal 10 in T110, the printer 100 transmits various information of the printer 100 (i.e., the model name "model1", the IP address "i100", the capability information, and the status information) to the terminal 10 in T112. Note that, although Fig. 5 shows various information being transmitted to the terminal 10 in response to one Read signal, in reality, a plurality of Read signals corresponding to the various information are transmitted to the printer 100 in sequence, and the various information is transmitted to the terminal 10 in sequence.

[0064] When the OS 36 receives various information from the printer 100 in T112, it supplies the various information to the application 38. When the application 38 acquires the various information from the OS 36, it supplies a disconnection instruction to the OS 36 in T120. The disconnection instruction is a command that instructs disconnection of the BT connection. When the OS 36 acquires the disconnection instruction from the application 38 in T120, it transmits a disconnection signal to the printer 100 in T122.

[0065] When the printer 100 receives a disconnection signal from the terminal 10 in T122, in T124, the printer 100 disconnects the BT connection with the terminal 10. Then, in T126, the printer 100 transmits an AI signal instead of an ANI signal.

[0066] Thereafter, in T130, the application 38 supplies a confirmation instruction including the IP address “i100” of the printer 100 received in T112 to the OS 36. The confirmation instruction is a command to instruct confirmation as to whether or not Wi-Fi communication can be performed between the terminal 10 and the printer 200 (i.e., whether or not the terminal 10 can execute printing).

[0067] When the OS 36 acquires a confirmation instruction from the application 38 in T130, the OS 36 transmits a confirmation signal including the IP address "i100" of the printer 100 in the confirmation instruction as a destination address to the AP 50 via the Wi-Fi I / F 14 in T132.

[0068] When the printer 200 receives a confirmation signal from the terminal 10 in T132, in T134 it transmits a response signal to the terminal 10 via the AP 50. In this way, since the printer 100 transmits the IP address to the terminal 10 (see T112), it is possible to properly receive the confirmation signal from the terminal 10, and as a result, it is possible to properly transmit a response signal to the terminal 10.

[0069] When the OS 36 receives the response signal from the printer 100 in T134, in T136, the OS 36 supplies a continuity notification to the application 38. The continuity notification is a notification indicating that Wi-Fi communication between the terminal 10 and the printer 100 can be performed.

[0070] When the application 38 acquires the continuity notification from the OS 36 in T136, the application 38 adds the information B5 about the printer 100 to the printer selection screen in T140 (S60). That is, the application 38 displays the information B5 about the printer 100 on the display unit 12 in addition to the information B3 about the printer 200 and the information B4 about the printer 500. Therefore, the user can simultaneously view the multiple pieces of information B3, B4, and B5 about the multiple printers 200, 500, and 100. Note that, for example, if a malfunction or the like occurs in the AP 50, the Wi-Fi communication cannot be performed between the terminal 10 and the printer 100. In this case, the application 38 cannot receive the continuity notification from the OS 36 (NO in S92), and does not display the information B5 about the printer 100. This is because the terminal 10 cannot cause the printer 100 to execute printing using the Wi-Fi communication.

[0071] (Continuation of Figure 5: Figure 6) Next, as shown in FIG. 6, the terminal 10 identifies the next top MAC address "m300" and IP address "i300" in the sorted list, and executes the same processes as T50 to T56 in FIG. 4 with the printer 300. Then, the application 38 adds information B6 about the printer 300 to the printer selection screen at T150 (S60). The printer 300 establishes a BT connection with the terminal 40 (see the initial state in FIG. 3), and transmits an ANI signal (T34). In this way, even if the printer 300 has established a BT connection with another device (i.e., the terminal 40), the application 38 can appropriately acquire various information from the printer 300 by executing Wi-Fi communication with the printer 300 using the IP address included in the ANI signal.

[0072] In T160, the application 38 accepts selection of information B3 related to the printer 200 from the user. In this case, in T162, the application 38 registers the printer 200 as a default printer in the memory 34. Specifically, the application 38 registers the model name of the printer 200, "model2", the capability information of the printer 200 (i.e., printing paper, "A4, A3", number of colors, "color, monochrome"), and the IP address, "i200", of the printer 200 in the memory 34. As a result, when the application 38 accepts a print operation from the user, it can cause the printer 200, which is the default printer, to execute printing.

[0073] In T164, the application 38 accepts a print operation from the user. The print operation includes an operation of selecting image data representing an image to be printed, and an operation of accepting input of print settings (paper size, number of colors, etc.). Here, the print settings selected are those that match the capability information of the registered printer 200. Then, the application 38 converts the image data according to the input print settings, and generates print data having a data format that can be interpreted by the printer 200. Next, in T166, the application 38 supplies a print instruction to the OS 36, which includes the generated print data and the IP address "i200" of the registered printer 200.

[0074] When the OS 36 acquires a print instruction from the application 38 in T166, in T168, the OS 36 transmits print data to the printer 200 via the Wi-Fi I / F 14, using the IP address “i200” in the print instruction as the destination address. That is, the OS 36 executes Wi-Fi communication to transmit the print data to the printer 200.

[0075] When the printer 200 receives the print data from the terminal 10 in T168, it executes printing of the image represented by the print data in T170.

[0076] (Case B: Figures 7 and 8) Next, the process of case B in which a conditional device search is executed will be described with reference to Fig. 7 and Fig. 8. The initial state of Fig. 7 is the same as the initial state of case A of Fig. 3.

[0077] (Processing in Figure 7) The same processes as those from T10 to T22 in FIG. 3 are executed. After that, in T180, the application 38 accepts the selection of the button B2 in the search method selection screen from the user. In this case, in T182, the application 38 causes the display unit 12 to display a condition input screen. The condition input screen includes a button for accepting input of printing conditions and a button B7 indicating the character string "Search". The application 38 accepts input of desired printing conditions (in this case, "A3" and "color printing") from the user, and in T184 accepts an operation to select the button B7. After that, the same processes as those from T26 to T44 in FIG. 3 are executed.

[0078] (Continuation of Figure 7: Figure 8) Next, as shown in Fig. 8, the same processes as T50 to T56 in Fig. 4 are executed with the printer 200. In T190, the application 38 determines that the printing conditions already input in T184 in Fig. 7 (i.e., A3 and color printing) are included in the capability information of the printer 200 (i.e., A3, A4, color printing, monochrome printing) (YES in S50 and YES in SS52 in Fig. 2). In other words, the application 38 determines that the input printing conditions match the capability information of the printer 200.

[0079] Next, in T192, the application 38 causes the display unit 12 to display a printer selection screen (S60). The printer selection screen includes information B8 indicating the model name of the printer 200, "model2", and status information. Unlike information B3 on the printer selection screen in Fig. 4, information B8 does not include capability information of the printer 200. This is because the printing conditions have already been input by the user (see T182 and T184 in Fig. 7), and it has been confirmed that the printing conditions match the capability information of the printer 200 (T190).

[0080] Thereafter, the same processes as those in T70 to T76 in FIG. 4 are executed with the printer 500. In T200, the application 38 determines that the printing conditions already input in T184 in FIG. 7 (i.e., A3 and color printing) are not included in the capability information of the printer 500 (i.e., A4, A3, B5, monochrome printing) (YES in S50, NO in S52 in FIG. 2). That is, the application 38 determines that the input printing conditions do not match the capability information of the printer 500. In this case, the application 38 does not display information about the printer 500 on the printer selection screen. This is because the printer 500 cannot execute printing according to the printing conditions desired by the user.

[0081] Thereafter, the same processes as those in T90 to T126 in Fig. 5 are executed with the printer 100. In T210, the application 38 determines that the printing conditions (i.e., A3 and color printing) input in T184 in Fig. 7 are not included in the capability information (i.e., A4, B5, color printing) of the printer 100 (YES in S80, NO in S82 in Fig. 2). In this case, information about the printer 100 is not displayed on the printer selection screen.

[0082] Thereafter, the same processes as those in T50 to T56 in Fig. 4 are executed with the printer 300. In T220, the application 38 determines that the printing conditions (i.e., A3 and color printing) entered in T184 in Fig. 7 are included in the capability information (i.e., A3, color printing, monochrome printing) of the printer 300 (YES in S50, NO in S52 in Fig. 2). In this case, in T222, the application 38 adds information B9 about the printer 300 to the printer selection screen.

[0083] When the application 38 accepts the selection of the information B8 from the user in T232, the application 38 executes the same processes as those in T162 to T170 in FIG.

[0084] (Effects of this embodiment) According to this embodiment, when the terminal 10 receives an advertising signal including the IP address "i200" from the printer 200 via the BTI / F 16 (T32 in FIG. 3), the terminal 10 transmits an information request including the IP address "i200" as a destination address to the printer 200 via the Wi-Fi I / F 14 (T52). Therefore, the terminal 10 can receive various information from the printer 200 via the Wi-Fi I / F 14 (T54). In this way, when the advertising signal received from the printer 200 includes the IP address "i200", the terminal 10 can appropriately acquire information related to the printer 200.

[0085] In particular, in this embodiment, the terminal 10 does not search for the printers 100 to 500 using Wi-Fi communication, but searches for the printers 100 to 500 using BT communication. The reason is as follows. When the terminal 10 employs a configuration in which it searches for a printer using Wi-Fi communication, the terminal 10 transmits a broadcast search signal to the AP 50. In this case, since the subnet of the AP 50 and the subnet of the AP 60 are different, there is a high possibility that the search signal will not reach the printer 500 connected to the AP 60. That is, the terminal 10 can find the printers 100 to 400, but it is highly likely that it cannot find the printer 500. In contrast, according to this embodiment, the terminal 10 searches for a printer using BT communication, so that it can appropriately find all the printers 100 to 500 that exist around the terminal 10. For this reason, the terminal 10 can display a printer selection screen including information B4 about the printer 500 (see T80 in FIG. 4).

[0086] (Correspondence) The terminal 10 is an example of a "terminal device". The BTI / F 16 and the Wi-Fi I / F 14 are examples of a "first wireless interface" and a "second wireless interface", respectively. The printers 100 to 500 are an example of a "multiple communication devices". The printers 200, 500, and 100 are examples of a "first communication device", a "second communication device", and a "third communication device", respectively. The i200, i500, and i100 are examples of a "first IP address", a "second IP address", and a "third IP address", respectively. The advertisement signal of the printer 200, the advertisement signal of the printer 500, and the advertisement signal of the printer 100 are examples of a "first advertisement signal", a "second advertisement signal", and a "third advertisement signal", respectively. The information request of T52 and the information request of T72 are examples of a "first information request" and a "second information request", respectively. The various information of printer 200, the various information of printer 500, and the various information of printer 100 are examples of "first related information," "second related information," and "third related information," respectively. Information B3 of printer 200, information B4 of printer 500, and information B5 of printer 100 are examples of "first display information," "second display information," and "third display information," respectively. The operation of selecting button B1 at T24 in FIG. 3 is an example of an "instruction." The connection permission parameters and connection non-permission parameters are examples of "possible information" and "impossible information," respectively. The printing conditions input at T184 in FIG. 7 are an example of "target information."

[0087] S44 in FIG. 2 is an example of a process realized by the "second determination unit". T24 in FIG. 3 is an example of a process realized by the "first reception unit". T32, T38, and T30 are examples of processes realized by the "first advertising signal receiving unit", the "second advertising signal receiving unit", and the "third advertising signal receiving unit", respectively. T44 is an example of a process realized by the "distance determination unit". T52 in response to T50 in FIG. 4 and T72 in response to T70 are examples of processes realized by the "first information request transmitting unit" and the "second information request transmitting unit", respectively. T54 and T72 in FIG. 4 are examples of processes realized by the "first related information receiving unit" and the "second related information receiving unit", respectively. T92 and T94 in response to T90 in FIG. 5 are examples of processes realized by the "establishment unit". T112 is an example of a process realized by the "third related information receiving unit". T130 to T136 are examples of processing realized by a "first determination unit." T162 in Fig. 6 is an example of processing realized by a "registration unit." T184 in Fig. 7 is an example of processing realized by a "second reception unit." T60 and T80 in Fig. 4, T140 in Fig. 5, and T230 in Fig. 8 are examples of processing realized by a "display control unit."

[0088] 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.

[0089] (Variation 1) At T72 in FIG. 3, the terminal 10 may receive only one of the capability information and the status information from the printer 200. Generally speaking, the "first related information" may include at least one of the "first capability information" and the "first status information". The same applies to the "second related information" and the "third related information".

[0090] (Variation 2) After displaying information about printer 200 in T60 of Fig. 4, terminal 10 does not have to display information about other printers 100, 300, 500. In other words, terminal 10 does not have to execute T70 of Fig. 4 to T150 of Fig. 6. In this variation, the "second information request transmitting unit", "second related information receiving unit", "establishment unit", and "third related information receiving unit" can be omitted.

[0091] (Variation 3) Each of the signals T30 to T38 in FIG. 3 may include the transmission radio wave strength. In this case, the terminal 10 may calculate the distance between each of the printers 100, 200, 300, and 500 and the terminal 10 in T44 using the transmission radio wave strength and the reception radio wave strength. Then, the terminal 10 sorts the printers 100, 200, 300, and 500 in order of the shortest distance. Generally speaking, the "distance determination unit" may determine which of the first distance and the second distance is shorter using only the reception radio wave strength as in the above embodiment, or may determine which of the first distance and the second distance is shorter using both the reception radio wave strength and the transmission radio wave strength as in this variation.

[0092] (Modification 4) The process of T44 in Fig. 3 does not have to be executed. In this modification, the "distance determination unit" can be omitted.

[0093] (Variation 5) After receiving the capability information and the like from each of the printers 100, 200, 300, 500, the terminal 10 may display a printer selection screen including information B3 to B6 related to each of the printers 100, 200, 300, 500. Generally speaking, after the first display information is displayed on the display unit, the "display control unit" does not have to cause the display unit to display the second display information in addition to the first display information.

[0094] (Variation 6) The process of T50 in Fig. 4 may be executed in response to receipt of a predetermined operation from the user via the operation unit 12, 18. Generally speaking, the "first information request transmission unit" may transmit a first information request to the first communication device in response to receipt of an instruction from the user via the operation unit.

[0095] (Modification 7) In T40 of FIG. 2, the terminal 10 may generate a list including the MAC address "m400" of the printer 400 that is the sender of the ANI signal that does not include an IP address. That is, a list including the MAC addresses of all the printers 100 to 500 may be generated. In this case, the terminal 10 establishes a BT connection with the printer 400 after the printer 400 disconnects the BT connection with the terminal 40, and receives various information from the printer 400. Generally speaking, when an advertising signal including impossible information is received from the third communication device, a third wireless connection with the third communication device may be established. In another modification, the advertising signal may not include the connection permission parameter or the connection non-permission parameter. In this modification, a list including the MAC addresses of all the printers 100 to 500 is also generated.

[0096] 5, the terminal 10 may transmit a multicast confirmation signal including an IP address in a predetermined range as a destination address. In this case, the terminal 10 can determine that Wi-Fi communication with the printer 100 is possible when it receives a response signal including the IP address already received in T112 as a source address. Generally speaking, the "first determination unit" may make a determination using the third IP address.

[0097] (Modification 9) T130 to T136 in Fig. 5 may be omitted. In this case, the terminal 10 displays information about the printer on the printer selection screen regardless of whether Wi-Fi communication with the printer can be performed. In this modification, the "first determination unit" can be omitted.

[0098] 7, the terminal 10 may display a screen for specifying the printer status instead of the screen for specifying the printing conditions. In this case, when the terminal 10 receives an input from the user of, for example, an idle status, the terminal 10 displays information about the printer 200, 500, and when the terminal 10 receives an input from the user of, for example, a low toner status, the terminal 10 displays information about the printer 100. In this modification, the information indicating the printer status is an example of "target information."

[0099] (Modification 11) T22 and T24 in Fig. 3 may be omitted. In this case, the terminal 10 executes a normal device search. In this modification, the "second reception unit" can be omitted.

[0100] (Modification 12) T160 and T162 in Fig. 6 may be omitted. In other words, the terminal 10 only needs to provide the user with information about printers present around the terminal 10, and does not need to cause the printer to execute printing. In this modification, the "registration unit" can be omitted.

[0101] (Variation 13) The "communication device" does not have to be a printer, and may be another image processing device such as a scanner or a facsimile. In this case, the capability information may include information indicating, for example, the scan resolution, the number of scan colors, the presence or absence of a double-sided scan function, etc. Furthermore, the status information may include information indicating an error state, a facsimile communication state, etc. In another variation, the "communication device" may be an information processing device such as a PC or a server. In this case, the capability information may include information indicating, for example, the processing speed, the communication speed, the type of installed application, etc. Furthermore, the status information may include information indicating an error state, a data communication state, a data processing state, etc.

[0102] (Modification 14) In the above embodiment, the CPU 32 of the terminal 10 executes the program 36 to realize the processes in Figures 2 to 8. Alternatively, any of the processes may be realized by hardware such as a logic circuit.

[0103] 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. The following items are elements of the claims as filed: (Item 1) An application program for a terminal device, The terminal device a first wireless interface according to the Bluetooth® standard; a second wireless interface conforming to the Wi-Fi standard; A display unit; A computer, The application program controls the computer to operate in the following manner: a first advertising signal receiving unit that receives a first advertising signal from a first communication device among the plurality of communication devices via the first wireless interface; a first information request transmission unit that transmits a first information request including the first IP address included in the first advertising signal as a destination address to the first communication device via the second wireless interface when the first advertising signal is received from the first communication device; a first related information receiving unit that receives first related information related to the first communication device from the first communication device via the second wireless interface when the first information request is transmitted to the first communication device, the first related information including at least one of first capability information indicating a capability of the first communication device and first status information indicating a status of the first communication device; a display control unit that uses the first related information to display first display information related to the first communication device on the display unit; An application program that acts as a (Item 2) The application program further causes the computer to: a second advertisement signal receiving unit that receives a second advertisement signal including a second IP address that is an IP address of the second communication device from a second communication device of the plurality of communication devices via the first wireless interface; a second information request transmission unit that transmits a second information request including the second IP address included in the second advertising signal as a destination address to the second communication device via the second wireless interface when the second advertising signal is received from the second communication device; a second related information receiving unit that receives second related information related to the second communication device from the second communication device via the second wireless interface when the second information request is transmitted to the second communication device, the second related information including at least one of second capability information indicating a capability of the second communication device and second status information indicating a status of the second communication device; Function as a The application program described in item 1, wherein the display control unit uses the first related information and the second related information to display both the first display information regarding the first communication device and the second display information regarding the second communication device on the display unit. (Item 3) The application program further causes the computer to: a distance determination unit that uses the received radio wave strength of the first advertising signal and the received radio wave strength of the second advertising signal to determine which of a first distance between the first communication device and the terminal device and a second distance between the second communication device and the terminal device is smaller; the first information request transmission unit, when it is determined that the first distance is smaller than the second distance, transmits the first information request to the first communication device before transmitting the second information request to the second communication device; The application program of item 2, wherein the second information request sending unit sends the second information request to the second communication device before the first information request is sent to the first communication device when it is determined that the second distance is smaller than the first distance. (Item 4) The display control unit is displaying the first display information on the display unit when the first related information is received from the first communication device before the second related information is received from the second communication device; 4. The application program according to item 2 or 3, which, when the second related information is received from the second communication device after the first display information is displayed on the display unit, causes the second display information to be displayed on the display unit in addition to the first display information. (Item 5) The terminal device further includes an operation unit, The computer program further causes the computer to functioning as a first reception unit that receives an instruction from a user via the operation unit to receive an advertising signal from each of the plurality of communication devices; The first advertising signal receiving unit receives the first advertising signal from the first communication device when the instruction is accepted from the user; 5. The application program according to any one of items 1 to 4, wherein the first information request sending unit sends the first information request to the first communication device when the first advertising signal is received from the first communication device, without accepting an instruction from the user via the operation unit. (Item 6) The application program further causes the computer to: a third advertisement signal receiving unit that receives a third advertisement signal that does not include a third IP address that is an IP address of the third communication device from a third communication device among the plurality of communication devices via the first wireless interface; an establishment unit that establishes a wireless connection with the third communication device via the first wireless interface when the third advertising signal is received from the third communication device; a third related information receiving unit that receives third related information regarding the third communication device from the third communication device via the first wireless interface using the wireless connection when the wireless connection with the third communication device is established, the third related information including at least one of third capability information indicating a capability of the third communication device and third status information indicating a status of the third communication device; Function as a The application program according to any one of items 1 to 5, wherein the display control unit uses the first related information and the third related information to display both the first display information regarding the first communication device and the third display information regarding the third communication device on the display unit. (Item 7) Each of the first advertising signal and the third advertising signal includes one of enablement information and disablement information; The capability information is information indicating that a communication device that has transmitted an advertising signal can establish a wireless connection with the terminal device via the first wireless interface, the impossibility information is information indicating that a communication device that has transmitted the advertising signal is unable to establish a wireless connection with the terminal device via the first wireless interface, The first information request transmission unit transmits the first information request to the first communication device regardless of whether the first advertising signal includes the possible information or the impossible information; The establishment unit establishes the wireless connection with the third communication device when the third advertising signal includes the capability information; 7. The application program of claim 6, wherein if the third advertising signal includes the impossibility information, the wireless connection with the third communication device is not established. (Item 8) the third related information includes the third IP address; The application program further causes the computer to: when the third related information is received from the third communication device, the first determination unit determines whether or not communication with the third communication device via the second wireless interface is possible by using the third IP address included in the third related information; the display control unit, when it is determined that communication with the third communication device via the second wireless interface is executable, causes the display unit to display the third display information; 8. The application program according to item 6 or 7, wherein the third display information is not displayed when it is determined that communication with the third communication device via the second wireless interface is not executable. (Item 9) The application program further causes the computer to: functioning as a second determination unit that determines whether or not the first related information has been received from the first communication device via the second wireless interface when the first information request is transmitted to the first communication device; the display control unit causes the display unit to display the first display information when it is determined that the first related information has been received from the first communication device; 9. The application program according to any one of items 1 to 8, wherein the first display information is not displayed when it is determined that the first related information has not been received from the first communication device. (Item 10) The application program further causes the computer to: a second receiving unit that receives an input of target information, which is at least one of capability information and status information, from a user via an operation unit of the terminal device; the display control unit causes the display unit to display the first display information when the target information matches the first related information; 10. The application program according to any one of items 1 to 9, wherein the first display information is not displayed if the target information does not match the first related information. (Item 11) The application program further configures the computer to An application program described in any one of items 1 to 9, which functions as a registration unit that registers the first communication device in the terminal device when the first display information is displayed on the display unit and the first display information is selected by a user via an operation unit of the terminal device. (Item 12) A terminal device, a first wireless interface according to the Bluetooth® standard; a second wireless interface conforming to the Wi-Fi standard; A display unit; a first advertisement signal receiving unit that receives a first advertisement signal including a first IP address that is an IP address of the first communication device from a first communication device among the plurality of communication devices via the first wireless interface; a first information request transmission unit that transmits a first information request including the first IP address included in the first advertising signal as a destination address to the first communication device via the second wireless interface when the first advertising signal is received from the first communication device; a first related information receiving unit that receives first related information related to the first communication device from the first communication device via the second wireless interface when the first information request is transmitted to the first communication device, the first related information including at least one of first capability information indicating a capability of the first communication device and first status information indicating a status of the first communication device; a display control unit that uses the first related information to display first display information related to the first communication device on the display unit; A terminal device comprising: (Item 13) A method performed by a terminal device, comprising: The terminal device a first wireless interface according to the Bluetooth® standard; a second wireless interface conforming to the Wi-Fi standard; A display unit, The method comprises: a first advertising signal receiving step of receiving a first advertising signal including a first IP address that is an IP address of the first communication device from a first communication device among the plurality of communication devices via the first wireless interface; a first information request transmission step of transmitting, when the first advertising signal is received from the first communication device, a first information request including the first IP address included in the first advertising signal as a destination address to the first communication device via the second wireless interface; a first related information receiving step of receiving first related information related to the first communication device from the first communication device via the second wireless interface when the first information request is transmitted to the first communication device, the first related information including at least one of first capability information indicating a capability of the first communication device and first status information indicating a status of the first communication device; a display control step of displaying first display information related to the first communication device on the display unit by using the first related information; A method comprising: [Explanation of symbols]

[0104] 2: communication system, 10: mobile terminal, 12: display unit, 14: Wi-Fi I / F, 16: BTI / F, 18: operation unit, 30: control unit, 32: CPU, 34: memory, 36: OS program, 38: print application, 40: mobile terminal, 50, 60: AP, 100-500: printer, 112: display unit, 114: Wi-Fi I / F, 116: BTI / F, 118: print execution unit, 130: control unit, 132: CPU, 134: memory, 136: program

Claims

1. An application program for a terminal device, The terminal device a first wireless interface according to the Bluetooth standard; a second wireless interface according to the Wi-Fi standard; A display unit; A computer, The application program controls the computer to operate in the following manner: a first advertisement signal receiving unit that receives a first advertisement signal including a first IP address that is an IP address of the first communication device from a first communication device among the plurality of communication devices via the first wireless interface; a first information request transmission unit that transmits a first information request including the first IP address included in the first advertising signal as a destination address to the first communication device via the second wireless interface when the first advertising signal is received from the first communication device; a first related information receiving unit that receives first related information related to the first communication device from the first communication device via the second wireless interface when the first information request is transmitted to the first communication device, the first related information including at least one of first capability information indicating a capability of the first communication device and first status information indicating a status of the first communication device; a third advertisement signal receiving unit that receives a third advertisement signal that does not include a third IP address that is an IP address of the third communication device from a third communication device among the plurality of communication devices via the first wireless interface; an establishment unit that establishes a wireless connection with the third communication device via the first wireless interface when the third advertising signal is received from the third communication device; a third related information receiving unit that receives third related information regarding the third communication device from the third communication device via the first wireless interface using the wireless connection when the wireless connection with the third communication device is established, the third related information including at least one of third capability information indicating a capability of the third communication device and third status information indicating a status of the third communication device; a first determination unit that, when the third related information is received from the third communication device, determines whether or not communication with the third communication device via the second wireless interface is possible by using the third IP address included in the third related information; a display control unit that, when it is determined that communication with the third communication device via the second wireless interface is executable, causes the display unit to display both first display information related to the first communication device and third display information related to the third communication device by using the first related information and the third related information, the display control unit, when it is determined that communication with the third communication device via the second wireless interface is not executable, causing the display unit to display the first display information without causing the third display information to be displayed on the display unit; and An application program that acts as a

2. The application program further causes the computer to: a second advertisement signal receiving unit that receives a second advertisement signal including a second IP address that is an IP address of the second communication device from a second communication device of the plurality of communication devices via the first wireless interface; a second information request transmission unit that transmits a second information request including the second IP address included in the second advertising signal as a destination address to the second communication device via the second wireless interface when the second advertising signal is received from the second communication device; a second related information receiving unit that receives second related information related to the second communication device from the second communication device via the second wireless interface when the second information request is transmitted to the second communication device, the second related information including at least one of second capability information indicating a capability of the second communication device and second status information indicating a status of the second communication device; Function as a The application program of claim 1 , wherein the display control unit uses the first related information and the second related information to display both the first display information regarding the first communication device and the second display information regarding the second communication device on the display unit.

3. The application program further causes the computer to: a distance determination unit that uses the received radio wave strength of the first advertising signal and the received radio wave strength of the second advertising signal to determine which of a first distance between the first communication device and the terminal device and a second distance between the second communication device and the terminal device is smaller; the first information request transmission unit, when it is determined that the first distance is smaller than the second distance, transmits the first information request to the first communication device before transmitting the second information request to the second communication device; 3. The application program of claim 2, wherein the second information request sending unit sends the second information request to the second communication device before the first information request is sent to the first communication device when it is determined that the second distance is smaller than the first distance.

4. The display control unit is when the first related information is received from the first communication device before the second related information is received from the second communication device, displaying the first display information on the display unit; 4. An application program as described in claim 2 or 3, further comprising: an application program for displaying, on the display unit, the second display information in addition to the first display information, when the second related information is received from the second communication device after the first display information is displayed on the display unit.

5. The terminal device further includes an operation unit, The application program further causes the computer to functioning as a first reception unit that receives an instruction from a user via the operation unit to receive an advertising signal from each of the plurality of communication devices; The first advertising signal receiving unit receives the first advertising signal from the first communication device when the instruction is accepted from the user; 5. The application program according to claim 1, wherein when the first advertising signal is received from the first communication device, the first information request sending unit sends the first information request to the first communication device without accepting an instruction from the user via the operation unit.

6. Each of the first advertising signal and the third advertising signal includes one of enablement information and disablement information; the capability information is information indicating that a communication device that has transmitted an advertising signal is capable of establishing a wireless connection with the terminal device via the first wireless interface, the impossibility information is information indicating that a communication device that has transmitted the advertising signal is unable to establish a wireless connection with the terminal device via the first wireless interface, The first information request transmission unit transmits the first information request to the first communication device regardless of whether the first advertising signal includes the possible information or the impossible information; The establishment unit establishes the wireless connection with the third communication device when the third advertising signal includes the capability information; The application program according to claim 1 , wherein when the third advertising signal includes the impossibility information, the wireless connection with the third communication device is not established.

7. The application program further causes the computer to: functioning as a second determination unit that determines whether or not the first related information has been received from the first communication device via the second wireless interface when the first information request is transmitted to the first communication device; the display control unit causes the display unit to display the first display information when it is determined that the first related information has been received from the first communication device; The application program according to claim 1 , wherein the first display information is not displayed when it is determined that the first related information has not been received from the first communication device.

8. The application program further causes the computer to: a second receiving unit that receives an input of target information, which is at least one of capability information and status information, from a user via an operation unit of the terminal device; the display control unit causes the display unit to display the first display information when the target information matches the first related information; The application program according to claim 1 , wherein the first display information is not displayed when the target information does not match the first related information.

9. The application program further configures the computer to An application program as described in any one of claims 1 to 8, which functions as a registration unit that registers the first communication device to the terminal device when the first display information is displayed on the display unit and the first display information is selected by a user via an operation unit of the terminal device.

10. A terminal device, a first wireless interface according to the Bluetooth standard; a second wireless interface according to the Wi-Fi standard; A display unit; a first advertisement signal receiving unit that receives a first advertisement signal including a first IP address that is an IP address of the first communication device from a first communication device among the plurality of communication devices via the first wireless interface; a first information request transmission unit that transmits a first information request including the first IP address included in the first advertising signal as a destination address to the first communication device via the second wireless interface when the first advertising signal is received from the first communication device; a first related information receiving unit that receives first related information related to the first communication device from the first communication device via the second wireless interface when the first information request is transmitted to the first communication device, the first related information including at least one of first capability information indicating a capability of the first communication device and first status information indicating a status of the first communication device; a third advertisement signal receiving unit that receives a third advertisement signal that does not include a third IP address that is an IP address of the third communication device from a third communication device among the plurality of communication devices via the first wireless interface; an establishment unit that establishes a wireless connection with the third communication device via the first wireless interface when the third advertising signal is received from the third communication device; a third related information receiving unit that receives third related information regarding the third communication device from the third communication device via the first wireless interface using the wireless connection when the wireless connection with the third communication device is established, the third related information including at least one of third capability information indicating a capability of the third communication device and third status information indicating a status of the third communication device; a first determination unit that, when the third related information is received from the third communication device, determines whether or not communication with the third communication device via the second wireless interface is possible by using the third IP address included in the third related information; a display control unit that, when it is determined that communication with the third communication device via the second wireless interface is executable, causes the display unit to display both first display information related to the first communication device and third display information related to the third communication device by using the first related information and the third related information, the display control unit, when it is determined that communication with the third communication device via the second wireless interface is not executable, causing the display unit to display the first display information without causing the third display information to be displayed on the display unit; and A terminal device comprising:

11. A method performed by a terminal device, comprising: The terminal device a first wireless interface according to the Bluetooth standard; a second wireless interface according to the Wi-Fi standard; A display unit, The method comprises: a first advertising signal receiving step of receiving a first advertising signal including a first IP address that is an IP address of the first communication device from a first communication device among the plurality of communication devices via the first wireless interface; a first information request transmission step of transmitting, when the first advertising signal is received from the first communication device, a first information request including the first IP address included in the first advertising signal as a destination address to the first communication device via the second wireless interface; a first related information receiving step of receiving first related information related to the first communication device from the first communication device via the second wireless interface when the first information request is transmitted to the first communication device, the first related information including at least one of first capability information indicating a capability of the first communication device and first status information indicating a status of the first communication device; a third advertising signal receiving step of receiving a third advertising signal that does not include a third IP address that is an IP address of the third communication device from a third communication device among the plurality of communication devices via the first wireless interface; an establishment step of establishing a wireless connection with the third communication device via the first wireless interface when the third advertising signal is received from the third communication device; a third related information receiving step of receiving third related information related to the third communication device from the third communication device via the first wireless interface using the wireless connection when the wireless connection with the third communication device is established, the third related information including at least one of third capability information indicating a capability of the third communication device and third status information indicating a status of the third communication device; a first determination step of determining, when the third related information is received from the third communication device, whether or not communication with the third communication device via the second wireless interface is possible by using the third IP address included in the third related information; a display control step of displaying, on the display unit, both first display information related to the first communication device and third display information related to the third communication device by using the first related information and the third related information when it is determined that communication with the third communication device via the second wireless interface is executable, a display control step of causing the display unit to display the first display information without causing the third display information to be displayed on the display unit when it is determined that communication with the third communication device via the second wireless interface is not executable; A method comprising:

Citation Information

Patent Citations

  • Image pickup device, printing system including the same and printing control method therefor

    JP2004328272A

  • Information terminal, control method thereof, and program

    JP2017010329A

  • Mobile terminal, mobile terminal control method, and program

    JP2017076189A

  • Printer, system, and control method of printer

    JP2018086769A

  • Communication terminal, control method thereof, and program

    JP2019140495A