Terminal device, terminal device control method, and recording medium
The terminal device automatically identifies and connects to a printing device by acquiring and displaying device information, solving the inconvenience of manual disconnection in existing systems.
Patent Information
- Application Number
- JP2021017173
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-02-05
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2041-02-05
AI Technical Summary
Existing systems require manual user intervention to disconnect a first terminal device to allow a second terminal device to connect to a printing device, which is inconvenient when no user is present at the first device.
The terminal device includes units to acquire identification and distance information of connected and search devices, notifying the user about target devices through a display, allowing automatic connection without manual intervention.
Enables automatic identification and connection to the target printing device by displaying relevant information, facilitating seamless device connection without user interaction.
Smart Images

Figure 0007563210000001 
Figure 0007563210000002 
Figure 0007563210000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a terminal device, a control method for a terminal device, and a recording medium. [Background technology]
[0002] Conventionally, as disclosed in Patent Document 1, a terminal device that transmits print data to a printing device via wireless communication is known. Some OSs used in terminal devices can only connect one terminal device to one printing device when using Bluetooth (registered trademark) communication, for example. When the printing device described in Patent Document 1 is already connected to a first terminal device and receives a connection request from a second terminal device using such an OS, it notifies the second terminal device that the connection is not possible and requests the first terminal device to cancel the connection. When a user operating the first terminal device cancels the connection between the first terminal device and the printing device in accordance with the connection cancellation request, the second terminal device becomes able to connect to the printing device. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2020-157656 A Summary of the Invention [Problem to be solved by the invention]
[0004] In the technology described in Patent Document 1, a second terminal device cannot connect to a printing device unless a user operating a first terminal device performs an operation to terminate the connection with the printing device. If there are multiple terminal devices that may be connected to the printing device and no one is operating the first terminal device, a user operating a second terminal device cannot identify the first terminal device that is connected to the printing device. [Means for solving the problem]
[0005] The terminal device of the present invention includes a first communication unit that transmits printing data to the printing device via wireless communication, a first acquisition unit that acquires identification information of a target terminal device that is capable of communicating with the printing device, a second acquisition unit that acquires identification information of the searching terminal device searched for based on the transmission of a search signal to search for the target terminal device, a third acquisition unit that acquires distance information indicating the distance to the searching terminal device, a notification unit that notifies a user of information, and a notification control unit that, when the identification information of the searching terminal device acquired by the second acquisition unit includes target identification information that is the same identification information as the identification information of the target terminal device acquired by the first acquisition unit, causes the notification unit to notify distance information indicating the distance to the searching terminal device identified by the target identification information, from the distance information acquired by the third acquisition unit.
[0006] The terminal device of the present invention includes a first communication unit that transmits printing data to the printing device via wireless communication, a first acquisition unit that acquires identification information of a target terminal device that is capable of communicating with the printing device, a second acquisition unit that acquires identification information of a searching terminal device searched for based on the transmission of a search signal to search for the target terminal device, a fourth acquisition unit that acquires location information indicating the location of the searching terminal device, a notification unit that notifies a user of information, and a notification control unit that, when the identification information of the searching terminal device acquired by the second acquisition unit includes target identification information that is the same identification information as the identification information of the target terminal device acquired by the first acquisition unit, causes the notification unit to notify the location information indicating the location of the searching terminal device identified by the target identification information, from the location information acquired by the fourth acquisition unit.
[0007] The control method for a terminal device of the present invention is a control method for a terminal device that transmits printing data to a printing device via wireless communication, in which the terminal device executes the following steps: acquiring identification information of a target terminal device that is in a state capable of communicating with the printing device; acquiring identification information of the searching terminal device searched for based on the transmission of a search signal to search for the target terminal device; acquiring distance information indicating the distance to the searching terminal device; and, if the acquired identification information of the searching terminal device includes target identification information that is the same identification information as the acquired identification information of the target terminal device, notifying distance information from the acquired distance information that indicates the distance to the searching terminal device identified by the target identification information.
[0008] The recording medium of the present invention is computer-readable and has recorded thereon a program for causing a terminal device that transmits print data to the printing device via wireless communication to acquire identification information of a target terminal device that is capable of communicating with the printing device; acquiring identification information of the searching terminal device searched for based on the transmission of a search signal to search for the target terminal device; acquiring distance information indicating the distance to the searching terminal device; and, if the acquired identification information of the searching terminal device includes target identification information that is the same identification information as the acquired identification information of the target terminal device, notifying distance information from the acquired distance information that indicates the distance to the searching terminal device identified by the target identification information. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 is a diagram illustrating an example of a usage form of a terminal device. [Diagram 2] FIG. 2 is a block diagram showing a hardware configuration of a first terminal device. [Diagram 3] FIG. 2 is a block diagram showing the hardware configuration of the receipt printer. [Figure 4] FIG. 2 is a block diagram showing a functional configuration of a first terminal device. [Diagram 5] FIG. 13 is a diagram showing an example of a display of a search result list. [Figure 6] FIG. 13 is a diagram showing an example of a display of a first distance change message. [Figure 7] 13 is a flowchart showing the flow of a search process by a first terminal device. [Figure 8] FIG. 13 is a block diagram showing a hardware configuration of a first terminal device according to Modification 1-1. [Figure 9] 13A and 13B show print results from a receipt printer according to variation 1-1. [Figure 10] FIG. 13 is a diagram showing a display example of a search result image according to Modification Example 1-2. [Figure 11] FIG. 13 is a diagram showing an example of a display of a second distance change message according to Modification Example 1-2. [Figure 12] FIG. 11 is a diagram showing an example of a usage pattern of a first terminal device according to a second embodiment. [Figure 13] FIG. 11 is a block diagram showing a functional configuration of a first terminal device according to a second embodiment. [Figure 14] 13 is a flowchart showing the flow of a search process by a first terminal device according to the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] [First embodiment] A terminal device, a method of controlling a terminal device, and a recording medium according to an embodiment will be described below with reference to the accompanying drawings. FIG. 1 is a diagram showing an example of how a terminal device 1 is used. The usage shown in FIG. 1 includes four terminal devices 1 and one receipt printer 2. The receipt printer 2 is an example of a "printing device." The four terminal devices 1 and the one receipt printer 2 communicate via a first wireless communication 5. In the first embodiment, the terminal device 1 is assumed to be a smartphone. The first wireless communication 5 is an example of "wireless communication." The first wireless communication 5 is also assumed to be Bluetooth (registered trademark) communication.
[0011] The first embodiment assumes a situation in which a user operates a first terminal device 1a to connect the first terminal device 1a to a receipt printer 2, but is unable to connect the first terminal device 1a to the receipt printer 2 because the receipt printer 2 is already connected to another terminal device 1. In other words, in FIG. 1, the first terminal device 1a represents a terminal device 1 that cannot connect to the receipt printer 2 via the first wireless communication 5. The first terminal device 1a is an example of a "terminal device" that is the subject of the invention. Note that in the first embodiment, the connected state refers to the pairing state in Bluetooth communication. The connected state is an example of a "communication available state."
[0012] 1, the second terminal device 1b, the third terminal device 1c, and the fourth terminal device 1d represent three terminal devices 1 that may be connected to the receipt printer 2 via the first wireless communication 5. Also, in FIG. 1, the second terminal device 1b represents a terminal device 1 that is already connected to the receipt printer 2 via the first wireless communication 5.
[0013] In this situation, the user operating the first terminal device 1a must identify the second terminal device 1b that is already connected to the receipt printer 2 from the three terminal devices 1 that may be connected to the receipt printer 2, and operate the second terminal device 1b to disconnect the second terminal device 1b from the receipt printer 2. The user operating the first terminal device 1a must have the second terminal device 1b disconnect from the receipt printer 2, and then connect the first terminal device 1a to the receipt printer 2.
[0014] A search application 33 (see FIG. 2) is installed on the first terminal device 1a so that the user can identify the second terminal device 1b. The first terminal device 1a uses the search application 33 to search for terminal devices 1 that are connected to the receipt printer 2 and notify the user of the search results.
[0015] Additionally, a POS (Point of Sale system) application 32 (see FIG. 2) is installed on the first terminal device 1a because the first terminal device 1a functions as a POS terminal. The receipt printer 2 issues receipts by printing on print media S based on the print data sent from the first terminal device 1a.
[0016] 2 is a block diagram showing the hardware configuration of the first terminal device 1a. The first terminal device 1a includes a terminal device control mechanism 11, a touch panel 12, a first terminal device communication unit 13, and a second terminal device communication unit 14. The touch panel 12 is an example of a "notification unit" and a "display unit". The first terminal device communication unit 13 is an example of a "first communication unit". The second terminal device communication unit 14 is an example of a "second communication unit".
[0017] The terminal control mechanism 11 includes a terminal central processing unit (CPU) 11a, a terminal read only memory (ROM) 11b, and a terminal random access memory (RAM) 11c.
[0018] The terminal device CPU 11a is a processor that controls each unit in the first terminal device 1a. The terminal device control mechanism 11 may use a hardware circuit such as an ASIC (Application Specific Integrated Circuit) as the processor. The processor may also be configured such that one or more CPUs and a hardware circuit such as an ASIC work together to operate.
[0019] The terminal device ROM 11b is a rewritable ROM, and stores an OS (Operating System) 31, a POS application 32, and a search application 33. The search application 33 is an example of a "program".
[0020] The OS 31 is basic software for running various application programs such as the POS application 32, and hardware such as the touch panel 12. The OS 31 according to the first embodiment is intended to be a terminal device 1 using the OS 31 that can only connect to one receipt printer 2. The OS 31 according to the first embodiment is intended to have a function that, once the terminal device 1 using the OS 31 has connected to the receipt printer 2 using the first wireless communication 5, automatically connects when the receipt printer 2 changes from a powered off state to an on state or when the terminal device comes within communication range. The OS 31 is, for example, iOS (registered trademark).
[0021] The POS application 32 is an application program that enables the terminal CPU 11a to carry out transaction processing and communication processing with the receipt printer 2. The terminal CPU 11a uses the POS application 32 to generate print data for printing receipts.
[0022] The search application 33 is an application program used to search for terminal devices 1 that are connected to the receipt printer 2. If a user operating the first terminal device 1a attempts to connect the first terminal device 1a to the receipt printer 2 in order to communicate with the receipt printer 2 using the POS application 32, and the connection is terminated by the receipt printer 2, the user launches the search application 33. The first terminal device 1a uses the launched search application 33 to search for terminal devices 1 that are connected to the receipt printer 2. Note that the search application 33 does not necessarily have to be a separate application from the POS application 32; for example, the search application 33 could be included in the POS application 32.
[0023] The terminal device RAM 11c is used as a work area for the terminal device CPU 11a to perform various arithmetic processing.
[0024] The touch panel 12 is used to receive user operations, display information, etc. In the first embodiment, the touch panel 12 is used to start the search application 33, and display the search results by the search application 33.
[0025] The first terminal communication unit 13 communicates with the receipt printer 2 using the first wireless communication 5.
[0026] The second terminal communication unit 14 communicates with the receipt printer 2 using a second wireless communication 6. The second wireless communication 6 is a different communication standard than the first wireless communication 5. In the first embodiment, the second wireless communication 6 is assumed to be Bluetooth Low Energy (BLE) communication.
[0027] Although a description of the hardware configuration of the terminal devices 1 other than the first terminal device 1a shown in FIG. 1 will be omitted, the hardware configuration may be the same as that of the first terminal device 1a, or may be a different hardware configuration.
[0028] 3 is a block diagram showing the hardware configuration of the receipt printer 2. The receipt printer 2 includes a printer control mechanism 21, a printing mechanism 22, a first printer communication unit 23, and a second printer communication unit 24.
[0029] The printer control mechanism 21 includes a printer CPU 21a, a printer ROM 21b, and a printer RAM 21c.
[0030] The printer CPU 21a is a processor that controls each part inside the receipt printer 2. Note that the printer control mechanism 21 may use a hardware circuit such as an ASIC as the processor. The processor may also be configured so that one or more CPUs work in conjunction with a hardware circuit such as an ASIC.
[0031] The printer ROM 21b stores firmware 41. The firmware 41 is software that enables the printer CPU 21a to control various hardware components within the receipt printer 2, such as the printing mechanism 22.
[0032] The printer RAM 21c is used as a work area for the printer CPU 21a to perform various arithmetic processes.
[0033] The printing mechanism 22 prints on the print medium S. The printing mechanism 22 includes a print head, a head drive mechanism, a print medium transport mechanism, etc. For example, if the receipt printer 2 uses an inkjet head method, an inkjet head is used as the print head, and if the receipt printer 2 uses a thermal method, a thermal head is used.
[0034] The first printer communication unit 23 uses the first wireless communication 5 to communicate with a first terminal apparatus 1a, a second terminal apparatus 1b, a third terminal apparatus 1c, and a fourth terminal apparatus 1d.
[0035] The second printer communication unit 24 uses the second wireless communication 6 to communicate with the first terminal device 1a.
[0036] 4 is a block diagram showing the functional configuration of the first terminal device 1a. The first terminal device 1a includes, as its functional configuration, a first acquisition unit 110, a second acquisition unit 120, a third acquisition unit 130, and a notification control unit 140. All of these functions are realized by the terminal device CPU 11a executing the search application 33.
[0037] The first acquisition unit 110 acquires from the receipt printer 2, via the second terminal device communication unit 14, the address of the terminal device 1 connected to the receipt printer 2 (i.e., the address of the second terminal device 1b) and the printer name of the receipt printer 2. The address is an example of "identification information." The address is also a MAC address for Bluetooth communication. Below, the terminal device 1 connected to the receipt printer 2 is referred to as the "target terminal device 1." The first acquisition unit 110 sends a request signal via the second terminal device communication unit 14 to the receipt printer 2 requesting the address of the target terminal device 1, and acquires the address of the target terminal device 1 as a response signal to the request signal.
[0038] The second acquisition unit 120 acquires the address of the terminal device 1 searched for based on the transmission of a search signal for searching for the terminal device 1, and the terminal name of the terminal device 1. Hereinafter, the terminal device 1 searched for based on the transmission of a search signal is referred to as a "searching terminal device 1." The second acquisition unit 120 transmits a search signal to terminal devices 1 within the communication range of the first wireless communication 5 via the first terminal device communication unit 13, and acquires the address of each searching terminal device 1 as a response signal to the search signal.
[0039] The third acquisition unit 130 acquires distance information indicating the distance from the first terminal device 1a to the searching terminal device 1. The third acquisition unit 130 measures the distance from the first terminal device 1a to each of the searching terminal devices 1 based on the signal strength of the response signals transmitted from the second terminal device 1b, the third terminal device 1c, and the fourth terminal device 1d, and acquires distance information indicating the measured distance.
[0040] The notification control unit 140 causes the touch panel 12 to display a search result list 60 (see FIG. 5) in which the terminal name, address, distance information, and connection status of the searching terminal device 1 are associated with each other for each searching terminal device 1, based on the information acquired by the second acquisition unit 120 and the third acquisition unit 130. The address displayed on the touch panel 12 is an example of "display information corresponding to identification information." Hereinafter, information including the terminal name, address, distance information, and connection status will be referred to as "device search information 61" (see FIG. 5).
[0041] Furthermore, if the addresses of the searching terminal device 1 acquired by the second acquisition unit 120 include a target address that is the same as the address of the target terminal device 1 acquired by the first acquisition unit 110, the notification control unit 140 causes the device search information 61 of the searching terminal device 1 identified by the target address to be displayed on the touch panel 12 in a different format from the device search information 61 of the other searching terminal devices 1. In other words, the notification control unit 140 causes the device search information 61 of the second terminal device 1b to be displayed on the touch panel 12 in a different format from the device search information 61 of the third terminal device 1c and the fourth terminal device 1d. This allows the user to check at a glance the device search information 61 of the searching terminal device 1 that is connected to the receipt printer 2, among the searched terminal devices 1.
[0042] Furthermore, if the third acquisition unit 130 acquires distance information to the searching terminal device 1 identified by the target address as the first distance information, and then acquires distance information to the searching terminal device 1 identified by the target address as the second distance information, the notification control unit 140 causes the touch panel 12 to display a first distance change message 65 (see FIG. 6 ) indicating whether the searching terminal device 1 identified by the target address has approached, based on a change in the second distance information relative to the first distance information. The first distance change message 65 is an example of "distance change information." In other words, if the first terminal device 1a approaches the second terminal device 1b or if the first terminal device 1a moves away from the second terminal device 1b while the user is searching for the target terminal device 1 while walking around within the communication range of the receipt printer 2, the notification control unit 140 causes the touch panel 12 to display a first distance change message 65 indicating this. This allows the user to determine whether the first terminal apparatus 1a has approached the second terminal apparatus 1b.
[0043] 5 and 6, the search result list 60 and the first distance change message 65 displayed on the touch panel 12 by the notification control unit 140 will be described. FIG. 5 is a diagram showing an example of the display of the search result list 60. When the search application 33 is started, the first terminal device 1a searches for the terminal device 1, and displays the search result list 60 on the touch panel 12 as the search result. In addition, while the first terminal device 1a is displaying the search result list 60 on the touch panel 12, the first terminal device 1a displays a search end button 63 near the search result list 60. When the search end button 63 is selected by the user, the first terminal device 1a ends the search process described later in FIG. 7.
[0044] The search result list 60 includes one or more pieces of device search information 61. The device search information 61 includes a terminal name, an address, distance information, and a connection status. In the example of FIG. 5, "Device-2", "Device-3", and "Device-4" are the terminal names of the second terminal device 1b, the third terminal device 1c, and the fourth terminal device 1d, respectively. Also, "01020304BBBB", "01020304CCCC", and "01020304DDDD" are the addresses of the second terminal device 1b, the third terminal device 1c, and the fourth terminal device 1d, respectively.
[0045] The first terminal device 1a displays a number indicating the approximate distance, such as "0.5-1.0 m" as distance information. The first terminal device 1a may also display numbers indicating upper and lower distance limits, such as "1.0 or less" or "0.5 m or more" as distance information. The first terminal device 1a also displays a message indicating that the target terminal device 1 is currently connected to the receipt printer 2 as the connection status. The printer name of the receipt printer 2 shown in FIG. 5, "Printer-A," is the printer name acquired by the first acquisition unit 110.
[0046] When displaying the search result list 60, the first terminal device 1a displays one or more device search information 61 in order of closest distance from the first terminal device 1a, based on the distance information contained in the device search information 61 of the searched terminal device 1. Also, as described above, the first terminal device 1a displays the device search information 61 of the second terminal device 1b that is connected to the receipt printer 2 among the searched terminal devices 1 in a manner different from that of the other searched terminal devices 1.
[0047] 5, the first terminal device 1a displays the device search information 61 of the second terminal device 1b in the search result list 60 with a background color applied to the field displaying the device search information 61 of the other searching terminal devices 1, and displays the device search information 61 of the other searching terminal devices 1 without a background color applied to the field displaying the device search information 61 of the other searching terminal devices 1. In addition to making the background color different from the background color applied to the field displaying the device search information 61 of the second terminal device 1b, the first terminal device 1a may also make the background color, text color, text type, etc. different between the device search information 61 of the second terminal device 1b and the device search information 61 of the other searching terminal devices 1.
[0048] 6 is a diagram showing a display example of the first distance change message 65. The first terminal device 1a displays the first distance change message 65 by superimposing it on the search result list 60. The first terminal device 1a acquires distance information in the order of the first distance information and the second distance information by the third acquisition unit 130, and displays the first distance change message 65 for a certain period of time when the second distance information has changed from the first distance information.
[0049] In the example of Fig. 6, the first terminal device 1a displays a first distance change message 65 indicating that the first terminal device 1a has approached the second terminal device 1b and the second distance information. The example of Fig. 6 shows a display example when the first terminal device 1a has approached the second terminal device 1b, but when the first terminal device 1a has moved away from the second terminal device 1b, the first terminal device 1a displays a first distance change message 65 indicating that the first terminal device 1a has moved away and the second distance information. Note that the first terminal device 1a may display an image indicating whether the first terminal device 1a has approached the second terminal device 1b instead of the first distance change message 65.
[0050] 7 is a flowchart showing the flow of the search process by the first terminal device 1a. The search process is triggered by launching the search application 33. When the search application 33 is launched, the first terminal device 1a is assumed to be in a position where it can communicate with the receipt printer 2 via the second wireless communication 6. Furthermore, the first terminal device 1a is assumed to be in a position where it can communicate with multiple searching terminal devices 1 via the first wireless communication 5 at least when steps S02 and S06, described below, are being executed.
[0051] In step S01, the first terminal device 1a sends a request signal via the second terminal device communication unit 14 to obtain the address of the target terminal device 1 that is connected to the receipt printer 2, and the printer name of the receipt printer 2.
[0052] In step S02, the first terminal device 1a transmits a search signal via the first terminal device communication unit 13 to obtain the address, terminal name, and distance information of the searching terminal device 1. The first terminal device 1a obtains the address and terminal name of the searching terminal device 1 as a response signal to the search signal. The first terminal device 1a also measures the distance to the searching terminal device 1 based on the signal strength of the response signal to the search signal, and obtains distance information indicating the measured distance. Note that steps S01 and S02 may be performed in the reverse order.
[0053] In step S03, the first terminal device 1a judges whether the address of the searching terminal device 1 acquired in step S02 includes a target address that is the same address as the address of the target terminal device 1 acquired in step S01. If the first terminal device 1a judges that the address of the searching terminal device 1 includes the target address, it proceeds to step S05. If the first terminal device 1a judges that the address of the searching terminal device 1 does not include the target address, it proceeds to step S04.
[0054] In step S04, the first terminal device 1a displays all of the device search information 61 of the multiple searching terminal devices 1 in the same manner as the search result list 60. For example, the first terminal device 1a displays all of the fields displaying the device search information 61 of one or more searching terminal devices 1 included in the search result list 60 without applying background color. After step S04, the first terminal device 1a proceeds to step S09.
[0055] In step S05, the first terminal device 1a displays the device search information 61 of the searching terminal device 1 identified by the target address as a search result list 60 in a manner different from that of the other searching terminal devices 1. For example, the first terminal device 1a displays the search result list 60 shown in FIG.
[0056] In step S06, the first terminal device 1a transmits a search signal to the searching terminal device 1 identified by the target address via the first terminal device communication unit 13, thereby acquiring distance information indicating the distance from the first terminal device 1a to the searching terminal device 1 identified by the target address. At this time, the searching terminal device 1 identified by the target address transmits its own address and terminal name as a response signal, and the first terminal device 1a acquires the distance information based on the signal strength of the response signal. In addition, when the first terminal device 1a acquires the distance information, it updates the distance information of the searching terminal device 1 identified by the target address in the search result list 60.
[0057] In step S07, the first terminal device 1a judges whether or not the distance from the first terminal device 1a to the searching terminal device 1 identified by the target address has changed based on the second distance information, which is the distance information acquired in step S06, and the first distance information acquired in step S02 or step S06 before that. If the first terminal device 1a judges that the distance from the first terminal device 1a to the searching terminal device 1 identified by the target address has changed, the process proceeds to step S08. If the first terminal device 1a judges that the distance from the first terminal device 1a to the searching terminal device 1 identified by the target address has not changed, the process proceeds to step S09.
[0058] In step S08, the first terminal device 1a displays a first distance change message 65 (see FIG. 6) on the touch panel 12. After a certain time has elapsed since the start of displaying the first distance change message 65, the first terminal device 1a makes the first distance change message 65 non-displayable and returns to the display shown in FIG.
[0059] In step S09, the first terminal device 1a judges whether or not the search end button 63 has been selected. If the first terminal device 1a judges that the search end button 63 has been selected, the first terminal device 1a ends the search process. If the first terminal device 1a judges that the search end button 63 has not been selected, the process returns to step S06.
[0060] As described above, the first terminal device 1a in the first embodiment transmits a search signal to obtain the address, terminal name, and distance information of the searching terminal device 1, and displays a search result list 60 on the touch panel 12 that shows device search information 61 including this information for each searching terminal device 1. Furthermore, if the addresses of the searching terminal devices 1 found based on the transmission of a search signal include a target address that is the same as the address of a target terminal device 1 that is connected to the receipt printer 2, the first terminal device 1a displays the device search information 61 of the searching terminal device 1 identified by the target address in a different manner from that of the other searching terminal devices 1. This allows the user to check the device search information 61 of the target terminal device 1 at a glance, and to identify the target terminal device 1 from among multiple terminal devices 1 based on the distance information included in the device search information 61.
[0061] Additionally, the first terminal device 1a displays a first distance change message 65 on the touch panel 12, indicating whether the first terminal device 1a has approached the target terminal device 1. As a result, the user can quickly identify the target terminal device 1 by walking around within the communication range of the receipt printer 2 while holding the first terminal device 1a.
[0062] In the first embodiment, the following modifications can be adopted. [Variation 1-1] The first terminal device 1a may obtain the address of the target terminal device 1 via the reading unit 15, instead of via the second terminal device communication unit 14. FIG. 8 is a block diagram showing the hardware configuration of the first terminal device 1a according to this modified example. Compared with the hardware configuration of the first terminal device 1a according to the first embodiment (see FIG. 2), the hardware configuration of the first terminal device 1a according to this modified example is a configuration in which a reading unit 15 is added and the second terminal device communication unit 14 is omitted. The reading unit 15 is, for example, a camera. The functional configuration of the first terminal device 1a according to this modified example is similar to the functional configuration of the first terminal device 1a according to the first embodiment (see FIG. 4).
[0063] The receipt printer 2 in this variation also prints a two-dimensional code G on the print medium S, as shown in FIG. 9. The two-dimensional code G is an example of "identification information of a target terminal device." The receipt printer 2 prints the two-dimensional code G on the print medium S based on a specific operation on the receipt printer 2. The reading unit 15 optically reads the two-dimensional code G printed on the print medium S. The first acquisition unit 110 in this variation also obtains the address of the target terminal device 1 and the printer name of the receipt printer 2 via the reading unit 15. In other words, the first acquisition unit 110 reads the two-dimensional code G with the reading unit 15 and decodes the read image to obtain the address of the target terminal device 1 and the printer name of the receipt printer 2.
[0064] In this way, according to this modification, it is possible to obtain the address and the like of the target terminal device 1 without providing the second terminal device communication unit 14 in the first terminal device 1a.
[0065] The receipt printer 2 may print a code image other than the 2D code G, such as a barcode, on the print medium S. The receipt printer 2 may also print a character string indicating the address and printer name of the target terminal device 1 on the print medium S, rather than a code image. In this case, the first terminal device 1a obtains the address and other information of the target terminal device 1 by performing character recognition processing on the image read by the reading unit 15.
[0066] [Variation 1-2] The first terminal device 1a may display a search result image 70 as shown in Fig. 10 as a search result of the search process, instead of displaying the search result list 60 (see Fig. 5). The search result image 70 is an image showing the positional relationship between the second terminal device 1b, the third terminal device 1c, and the fourth terminal device 1d as seen from the first terminal device 1a.
[0067] In the example of FIG. 10, the position of the first terminal device 1a corresponds to the reference position 75, and the positions of the second terminal device 1b, the third terminal device 1c, and the fourth terminal device 1d correspond to the positions of the second terminal device image 71b, the third terminal device image 71c, and the fourth terminal device image 71d, respectively. In addition, in the example of FIG. 10, the first terminal device 1a displays the second terminal device image 71b, the third terminal device image 71c, and the fourth terminal device image 71d as the search result image 70 on a sector-shaped display area 76 in which the reference position 75 is located near the center of the circle, and displays the second terminal device name 72b, the third terminal device name 72c, and the fourth terminal device name 72d near each terminal device image 71. In addition, the first terminal device 1a displays arcs of different diameters as part of the sector-shaped display area 76, and displays numerical information 79 indicating approximate distances on each arc.
[0068] While the user is walking around the second terminal device 1b, the third terminal device 1c, and the fourth terminal device 1d, the first terminal device 1a transmits a search signal to each of the terminal devices 1 multiple times to identify the relative position of each of the terminal devices 1 with respect to the first terminal device 1a. The first terminal device 1a also identifies the orientation of the first terminal device 1a using a gyro sensor or the like provided in the first terminal device. Based on these identification results, the first terminal device 1a displays a search result image 70. The first terminal device 1a also displays a second terminal device image 71b corresponding to the second terminal device 1b, which is the searching terminal device 1 identified by the target address, in a manner different from that of the other searching terminal devices 1. In the example of FIG. 10, the first terminal device 1a displays the second terminal device image 71b surrounded by a circle 73 and the other terminal device images 71 without surrounding them with a circle 73.
[0069] 11 is a diagram showing a display example of the search result image 70 displayed when the first terminal device 1a approaches the second terminal device 1b after displaying the search result image 70 shown in FIG. 10, and a display example of the second distance change message 77. FIG. 11 shows a state in which the arrangement of the second terminal device image 71b, the third terminal device image 71c, and the fourth terminal device image 71d has changed as the user moves closer to the second terminal device 1b and the fourth terminal device 1d and the user's orientation also changes. In the example of FIG. 11, the first terminal device 1a displays the second distance change message 77 indicating that the first terminal device 1a has approached the second terminal device 1b.
[0070] Thus, according to this modified example, the user can intuitively confirm the relative position of the second terminal device 1b with respect to the first terminal device 1a and the distance from the first terminal device 1a to the second terminal device 1b based on the search result image 70.
[0071] [Variation 1-3] Instead of the second distance change message 77 (see FIG. 11), the first terminal device 1a may display travel guidance information (not shown) with the search terminal device 1 identified by the target address as the destination. In this case, while the user is walking around the second terminal device 1b, the third terminal device 1c, and the fourth terminal device 1d, the first terminal device 1a may transmit a search signal to each terminal device 1 multiple times to identify the relative positions of each terminal device 1 relative to the first terminal device 1a, generate travel guidance information based on the identified relative positions, and display the generated travel guidance information. The first terminal device 1a may display, as the travel guidance information, a character string or an image indicating the direction and distance to move, such as "move 3m to the right" or "move 3m forward, then move 1m to the left."
[0072] [Variation 1-4] The first terminal device 1a may display only distance information to the second terminal device 1b, which is the searching terminal device 1 identified by the target address, on the touch panel 12, instead of the search result list 60 (see FIG. 5) or the search result image 70 (see FIG. 10).
[0073] [Variation 1-5] The first terminal device 1a may notify the user of distance information to the second terminal device 1b by a method other than display. For example, the first terminal device 1a may include an audio output unit, and notify the user of distance information to the second terminal device 1b as a voice message from the audio output unit. In this case, the audio output unit is an example of a "notification unit". The first terminal device 1a may also include a plurality of indicators provided for each reference distance, such as 1m, 2m, and 3m, and notify the user of distance information to the second terminal device 1b by turning on one of the plurality of indicators. In this case, the plurality of indicators are an example of a "notification unit".
[0074] [Variation 1-6] The first terminal device 1a may transmit a notification command signal to the second terminal device 1b, which is the searching terminal device 1 identified by the target address, to display notification information. The searching terminal device 1 is assumed to have a touch panel. In this case, the searching terminal device 1 that has received the notification command signal displays the notification information on the touch panel. The searching terminal device 1 that has received the notification command signal displays a message such as "This terminal device is connecting to Printer-A" on the touch panel as the notification information. With this configuration, the user can reliably identify the target terminal device 1 based on the notification information displayed on the touch panel 12 of the searching terminal device 1. Note that the searching terminal device 1 that has received the notification command signal may perform notification such as outputting a notification sound or vibrating a vibrator instead of displaying the notification information.
[0075] [Variation 1-7] The first wireless communication 5 does not have to be Bluetooth communication, but may be other wireless communication such as Wi-Fi (registered trademark). With Wi-Fi communication, multiple terminal devices 1 can be connected to one receipt printer 2, but only the first terminal device 1 to connect can communicate. Therefore, when the first wireless communication 5 is Wi-Fi communication, the target terminal device 1 refers to a terminal device 1 that is capable of communicating with the receipt printer 2.
[0076] [Variation 1-8] The second wireless communication 6 does not have to be BLE communication, and may be other wireless communication such as Near Field Communication (NFC) communication or Wi-Fi communication. The first terminal device 1a may communicate with the receipt printer 2 via a wired connection such as Universal Serial Bus (USB) instead of the second wireless communication 6. If the first wireless communication 5 is Wi-Fi communication, the second wireless communication 6 may be Bluetooth communication. If the first wireless communication 5 of the first terminal device 1a is Wi-Fi communication, the first terminal device communication unit 13 may be a first port for Wi-Fi communication and the second terminal device communication unit 14 may be a second port for Wi-Fi communication.
[0077] [Variation 1-9] When the first wireless communication 5 is Wi-Fi communication, the first terminal device 1a may perform Wi-Fi Direct communication with the other terminal device 1 and measure the distance from the first device to the other terminal device 1 based on the electric field strength of the Wi-Fi Direct communication wave. Furthermore, when the first terminal device 1a is capable of infrared communication with the other terminal device 1, the first terminal device 1a may perform infrared communication with the other terminal device 1 and measure the distance from the first device to the other terminal device 1 based on the reception strength of the infrared signal transmitted from the other terminal device 1.
[0078] [Variation 1-10] The functions of the search application 33 may be included in the POS application 32. In this variation, the POS application 32 is an example of a "program." In this case, the first terminal device 1a may use the POS application 32 to send a communication request to the receipt printer 2 using the first wireless communication 5, and if communication is disconnected from the receipt printer 2, may automatically start the search process shown in FIG. 7. Alternatively, the first terminal device 1a may start the search process shown in FIG. 7 when the user performs a specific operation on an operation screen (not shown) provided by the POS application 32, as a trigger.
[0079] [Variation 1-11] The first terminal device 1a may display, in the search result list 60, the entire device search information 61 of the searching terminal device 1 identified by the target address in a manner different from that of the other searching terminal devices 1, but may display part of the device search information 61 in a manner different between the searching terminal device 1 identified by the target address and the other searching terminal devices 1. For example, the first terminal device 1a may display at least one of the address and distance information of the searching terminal device 1 identified by the target address in a manner different from that of the other searching terminal devices 1.
[0080] [Variation 1-12] The first terminal device 1a may store the address and terminal name of the terminal device 1 in association with each other within its own device, and when it acquires an address from the searching terminal device 1, it may display the terminal name stored in association with the acquired address as part of the device search information 61. In this case, the terminal name is an example of "display information corresponding to identification information." According to this configuration, the second acquisition unit 120 does not need to acquire the terminal name from the searching terminal device 1.
[0081] [Second embodiment] Next, a second embodiment of the present invention will be described. In the above first embodiment, the first terminal device 1a acquires distance information indicating the distance from the device itself to the searching terminal device 1, but in the second embodiment, it acquires location information indicating the location of the searching terminal device 1. Hereinafter, only differences from the first embodiment will be described. Note that in the second embodiment, the same components as those in the first embodiment are denoted by the same reference numerals, and detailed description will be omitted. Also, the modified examples applied to the same components as those in the first embodiment are similarly applied to the second embodiment.
[0082] 12 is a diagram showing an example of a usage form of a first terminal device 1a according to the second embodiment. In the second embodiment, a first terminal device 1a, a second terminal device 1b, a third terminal device 1c, and a fourth terminal device 1d are all connected to a management server 80 via a network wireless communication 7 and the Internet 90. The network wireless communication 7 is, for example, Wi-Fi communication. The network wireless communication 7 is, for example, Wi-Fi communication.
[0083] The management server 80 manages the location information of the terminal device 1 by periodically acquiring the location information of the terminal device 1 from the terminal device 1. The location information is, for example, GPS (Global Positioning System) information. When the management server 80 is requested for location information by the first terminal device 1a, it transmits to the first terminal device 1a the address, terminal name, and location information of the terminal device 1 located within a predetermined distance from the first terminal device 1a.
[0084] 13 is a block diagram showing a functional configuration of the first terminal device 1a according to the second embodiment. The functional configuration of the first terminal device 1a according to the second embodiment is a configuration in which a fourth acquisition unit 150 is added to the functional configuration of the first terminal device 1a according to the first embodiment (see FIG. 4) and the third acquisition unit 130 is omitted. The fourth acquisition unit 150 is a function realized by the terminal device CPU 11a executing the search application 33.
[0085] The second acquisition unit 120 according to the second embodiment transmits a search signal to the management server 80, thereby acquiring the address and terminal name of the terminal device 1 located within a predetermined distance from the first terminal device 1a as response information to the search signal. The fourth acquisition unit 150 acquires location information indicating the location of the searching terminal device 1. The fourth acquisition unit 150 acquires the location information transmitted from the management server 80 simultaneously with the address and terminal name as response information to the search signal.
[0086] The notification control unit 140 according to the second embodiment displays on the touch panel 12 a search result list (not shown) that associates, for each searching terminal device 1, the terminal name, address, location information, and connection status of the searching terminal device 1 based on the information acquired by the second acquisition unit 120 and the fourth acquisition unit 150.
[0087] Furthermore, when the address of the searching terminal device 1 acquired by the second acquisition unit 120 includes a target address that is the same address as the address of the target terminal device 1 acquired by the first acquisition unit 110, the notification control unit 140 of the second embodiment displays device search information including the terminal name, address, location information and connection status of the searching terminal device 1 identified by the target address on the touch panel 12 in a manner different from that of other searching terminal devices 1.
[0088] Furthermore, when the fourth acquisition unit 150 acquires the location information of the searching terminal device 1 identified by the target address as the first location information and then acquires the location information of the searching terminal device 1 identified by the target address again as the second location information, the notification control unit 140 according to the second embodiment causes the touch panel 12 to display a distance change message (not shown) indicating whether the first terminal device 1a has approached the searching terminal device 1 identified by the target address, based on the location of the first terminal device 1a when the first location information was acquired and the location indicated by the first location information, and the location of the first terminal device 1a when the second location information was acquired and the location indicated by the second location information.
[0089] 14 is a flowchart showing the flow of a search process by the first terminal device 1a according to the second embodiment. The first terminal device 1a is assumed to be in a position where it can communicate with the management server 80 via network wireless communication 7 at least when steps S12 and S16 described below are executed.
[0090] In step S11, the first terminal device 1a obtains, via the second terminal device communication unit 14, the address of the target terminal device 1 that is connected to the receipt printer 2, and the printer name of the receipt printer 2.
[0091] In step S12, the first terminal device 1a acquires the address, terminal name and location information of the searching terminal device 1 from the management server 80. Note that steps S11 and S12 may be performed in the reverse order.
[0092] In step S13, the first terminal device 1a judges whether the address of the searching terminal device 1 acquired in step S12 includes a target address that is the same address as the address of the target terminal device 1 acquired in step S11. If the first terminal device 1a judges that the address of the searching terminal device 1 includes the target address, it proceeds to step S15. If the first terminal device 1a judges that the address of the searching terminal device 1 does not include the target address, it proceeds to step S14.
[0093] In step S14, the first terminal apparatus 1a displays, in the same format, as a search result list, all of the device search information of the multiple searching terminal apparatuses 1. After step S14, the first terminal apparatus 1a proceeds to step S19.
[0094] In step S15, the first terminal device 1a displays the device search information of the searching terminal device 1 identified by the target address as a search result list in a format different from that of the other searching terminal devices 1.
[0095] In step S16, the first terminal device 1a acquires location information indicating the location of the searching terminal device 1 identified by the target address from the management server 80. At this time, the management server 80 transmits the address, terminal name, and location information of the terminal device 1 located within a predetermined distance from the first terminal device 1a as response information to the search signal, and the first terminal device 1a acquires the location information of the searching terminal device 1 identified by the target address from among them.
[0096] In step S17, the first terminal device 1a judges whether or not the distance from the first terminal device 1a to the searching terminal device 1 identified by the target address has changed based on the second location information, which is the location information acquired in step S16, and the first location information acquired in step S12 or step S16 before that. If the first terminal device 1a judges that the distance from the first terminal device 1a to the searching terminal device 1 identified by the target address has changed, the process proceeds to step S18. If the first terminal device 1a judges that the distance from the first terminal device 1a to the searching terminal device 1 identified by the target address has not changed, the process proceeds to step S19.
[0097] In step S18, the first terminal device 1a displays a distance change message on the touch panel 12.
[0098] In step S19, the first terminal device 1a judges whether or not the search end button 63 has been selected. If the first terminal device 1a judges that the search end button 63 has been selected, the first terminal device 1a ends the search process. If the first terminal device 1a judges that the search end button 63 has not been selected, the process returns to step S16.
[0099] As described above, the first terminal device 1a in the second embodiment communicates with the management server 80 to obtain the address, terminal name, and location information of the searching terminal device 1, and displays a search result list on the touch panel 12 showing device search information including this information for each searching terminal device 1. Furthermore, if the address of the searching terminal device 1 obtained from the management server 80 includes a target address that is the same as the address of a target terminal device 1 that is connected to the receipt printer 2, the first terminal device 1a displays the device search information of the searching terminal device 1 identified by the target address in a different manner from that of the other searching terminal devices 1. This allows the user to check the device search information of the target terminal device 1 at a glance, and can identify the target terminal device 1 from among multiple terminal devices 1 based on the location information included in the device search information.
[0100] Additionally, the first terminal device 1a displays a distance change message on the touch panel 12 indicating whether the first terminal device 1a has approached the target terminal device 1. This allows the user to quickly identify the target terminal device 1 by walking around within the communication range of the receipt printer 2 while holding the first terminal device 1a.
[0101] In the second embodiment, the following modifications can be adopted. [Variation 2-1] The first terminal device 1a may obtain the address, terminal name, and location information of the searching terminal device 1 directly from the terminal device 1, instead of obtaining them from the management server 80. In this case, the first terminal device 1a may transmit a search signal to the terminal device 1 within the communication range of the first wireless communication 5, and obtain the address, terminal name, and location information of the searching terminal device 1 as a response signal.
[0102] [Variation 2-2] The first terminal device 1a may display a search result image as shown in Fig. 10 instead of the search result list. Alternatively, the first terminal device 1a may link the search application 33 with a map application (not shown) to display the position of the searching terminal device 1 on a map. The first terminal device 1a may also display on the touch panel 12 only the position information of the second terminal device 1b, which is the searching terminal device 1 identified by the target address.
[0103] [Other variations] The above embodiments may be applied to a printing device that uses copy paper as the print medium instead of the receipt printer 2. The above embodiments may also be applied to electronic devices with wireless communication capabilities, not just printing devices. The above embodiments may also be combined with the various modified examples. The search application 33 may also be recorded on a computer-readable recording medium and sold or rented. Other modifications may be made as appropriate without departing from the spirit of the invention.
[0104] [Note] The terminal device, the control method for the terminal device, and the recording medium will be described below. The terminal device 1 comprises a first terminal device communication unit 13 that sends print data to the receipt printer 2 via wireless communication; a first acquisition unit 110 that acquires identification information of a target terminal device 1 that is capable of communicating with the receipt printer 2; a second acquisition unit 120 that acquires identification information of the searching terminal device 1 searched for based on the transmission of a search signal to search for the target terminal device 1; a third acquisition unit 130 that acquires distance information indicating the distance to the searching terminal device 1; a notification unit that notifies the user of information; and a notification control unit 140 that, when the identification information of the searching terminal device 1 acquired by the second acquisition unit 120 includes target identification information that is the same identification information as the identification information of the target terminal device 1 acquired by the first acquisition unit 110, causes the notification unit to notify the distance information acquired by the third acquisition unit 130 that indicates the distance to the searching terminal device 1 identified by the target identification information.
[0105] The control method for the terminal device 1 is a method for controlling the terminal device 1 that sends print data to the receipt printer 2 via wireless communication, in which the terminal device 1 executes the following steps: acquiring identification information of a target terminal device 1 that is capable of communicating with the receipt printer 2; acquiring identification information of the searching terminal device 1 searched for based on the transmission of a search signal to search for the target terminal device 1; acquiring distance information indicating the distance to the searching terminal device 1; and, if the acquired identification information of the searching terminal device 1 includes target identification information that is the same identification information as the acquired identification information of the target terminal device 1, notifying distance information from the acquired distance information that indicates the distance to the searching terminal device 1 identified by the target identification information.
[0106] The recording medium has recorded thereon a computer-readable program for causing a terminal device 1 that transmits print data to the receipt printer 2 via wireless communication to acquire identification information of a target terminal device 1 that is capable of communicating with the receipt printer 2; acquiring identification information of the searching terminal device 1 that was searched for based on the transmission of a search signal to search for the target terminal device 1; acquiring distance information indicating the distance to the searching terminal device 1; and, if the acquired identification information of the searching terminal device 1 includes target identification information that is the same identification information as the acquired identification information of the target terminal device 1, notifying the distance information that indicates the distance to the searching terminal device 1 identified by the target identification information from the acquired distance information.
[0107] With this configuration, if a target terminal device 1 that is capable of communicating with the receipt printer 2 is included among the searched terminal devices 1 found based on the transmitted search signal, the terminal device 1 notifies the user of distance information indicating the distance to the target terminal device 1. This allows the user to identify the target terminal device 1 based on the notified distance information.
[0108] It is preferable that the above terminal device 1 further includes a second terminal device communication unit 14 that receives identification information of the target terminal device 1 from the receipt printer 2, and that the first acquisition unit 110 acquires the identification information of the target terminal device 1 via the second terminal device communication unit 14.
[0109] According to this configuration, the terminal device 1 can acquire the identification information of the target terminal device 1 via the second terminal device communication unit 14.
[0110] It is preferable that the above-mentioned terminal device 1 further includes a reading unit 15 that reads the identification information of the target terminal device 1 printed on the printing medium by the receipt printer 2, and the first acquisition unit 110 acquires the identification information of the target terminal device 1 via the reading unit 15.
[0111] According to this configuration, the terminal device 1 can obtain the identification information of the target terminal device 1 by reading the information printed on the print medium.
[0112] In the above terminal device 1, the notification unit is a touch panel 12 that displays information, and when the identification information of the searching terminal device 1 acquired by the second acquisition unit 120 includes target identification information, the notification control unit 140 associates display information corresponding to the identification information of the searching terminal device 1 with distance information for each searching terminal device 1 and displays them on the touch panel 12, and preferably displays at least one of the display information and distance information of the searching terminal device 1 identified by the target identification information on the touch panel 12 in a manner different from that of the other searching terminal devices 1.
[0113] According to this configuration, the terminal device 1 displays the display information corresponding to the identification information of the searching terminal device 1 in association with the distance information, and displays at least one of the display information and the distance information of the searching terminal device 1 identified by the target identification information in a manner different from that of the other searching terminal devices 1. This allows the user to accurately identify the target terminal device 1.
[0114] In the above-mentioned terminal device 1, when the third acquisition unit 130 acquires distance information to the searching terminal device 1 identified by the target identification information as first distance information, and then acquires distance information to the searching terminal device 1 identified by the target identification information again as second distance information, it is preferable that the notification control unit 140 notifies the notification unit of distance change information indicating whether or not the searching terminal device 1 identified by the target identification information has approached, based on the change in the second distance information relative to the first distance information.
[0115] According to this configuration, the terminal device 1 notifies the user of distance change information indicating whether or not the terminal device 1 has approached the target terminal device 1. This allows the user to quickly identify the target terminal device 1.
[0116] The terminal device 1 comprises a first terminal device communication unit 13 that sends print data to the receipt printer 2 via wireless communication; a first acquisition unit 110 that acquires identification information of a target terminal device 1 that is capable of communicating with the receipt printer 2; a second acquisition unit 120 that acquires identification information of the searching terminal device 1 searched for based on the transmission of a search signal to search for the target terminal device 1; a fourth acquisition unit that acquires location information indicating the location of the searching terminal device 1; a notification unit that notifies the user of information; and a notification control unit 140 that, if the identification information of the searching terminal device 1 acquired by the second acquisition unit 120 includes target identification information that is the same identification information as the identification information of the target terminal device 1 acquired by the first acquisition unit 110, causes the notification unit to notify the location information indicating the location of the searching terminal device 1 identified by the target identification information, from the location information acquired by the fourth acquisition unit.
[0117] With this configuration, if a target terminal device 1 that is capable of communicating with the receipt printer 2 is included among the searched terminal devices 1 based on the transmitted search signal, the terminal device 1 notifies the user of location information indicating the location of the target terminal device 1. This allows the user to identify the target terminal device 1 based on the location information. [Explanation of symbols]
[0118] 1...terminal device, 2...receipt printer, 5...first wireless communication, 12...touch panel, 13...first terminal device communication unit, 110...first acquisition unit, 120...second acquisition unit, 130...third acquisition unit, 140...notification control unit, 150...fourth acquisition unit.
Claims
1. a first communication unit that transmits print data to the printing device via wireless communication; Acquire, from the printing device, identification information of a target terminal device that is in a state capable of communicating with the printing device. A first acquisition unit that acquires the Identification of a searching terminal device searched for based on transmission of a search signal for searching the target terminal device A second acquisition unit that acquires information; A third acquisition unit that acquires distance information indicating a distance to the search terminal device; A notification unit that notifies a user of information; The identification information of the searching terminal device acquired by the second acquisition unit is When the target identification information is the same as the identification information of the target terminal device, The third acquisition unit acquires the distance information of the search object identified by the target identification information. A notification control unit that notifies the notification unit of the distance information indicating the distance to the search terminal device. A terminal device characterized by:
2. a second communication unit for receiving the identification information of the target terminal device from the printing device picture, The first acquisition unit acquires the identification information of the target terminal device via the second communication unit.
2. The terminal device according to claim 1, wherein:
3. A reading device for reading identification information of the target terminal device printed on a print medium by the printing device. Further comprising a department, The first acquisition unit acquires the identification information of the target terminal device via the reading unit.
2. The terminal device according to claim 1 .
4. the notification unit is a display unit that displays information, The notification control unit is configured to notify the identification information of the searching terminal device acquired by the second acquisition unit of When the target identification information is included, the identification information of the searching terminal device is and displaying the distance information on the display unit in association with display information corresponding to the information on the vehicle speed and the distance information, At least the display information and the distance information of the searching terminal device identified by the target identification information and displaying one of the search terminal devices on the display unit in a manner different from that of the other search terminal device.
4. A terminal device according to claim 1, wherein the terminal device is a terminal for receiving a signal from a first receiving unit.
5. The notification control unit is configured to notify the third acquisition unit of the search end identified by the target identification information. After the distance information to the terminal device is acquired as first distance information, the target identification information When the distance information to the searching terminal device identified by Based on a change in the second distance information relative to the first distance information, the object is identified by the object identification information. The notification unit is notified of distance change information indicating whether the search terminal device being identified has approached the search terminal device being identified.
5. The terminal device according to claim 1, further comprising:
6. a first communication unit that transmits print data to the printing device via wireless communication; Acquire, from the printing device, identification information of a target terminal device that is in a state capable of communicating with the printing device. A first acquisition unit that acquires the Identification of a searching terminal device searched for based on transmission of a search signal for searching the target terminal device A second acquisition unit that acquires information; a fourth acquisition unit that acquires location information indicating a location of the searching terminal device from a management server; A notification unit that notifies a user of information; The identification information of the searching terminal device acquired by the second acquisition unit is When the target identification information is the same as the identification information of the target terminal device, The fourth acquisition unit acquires the location information of the search object identified by the target identification information. a notification control unit that notifies the notification unit of the location information indicating the location of the search terminal device. A terminal device comprising:
7. A method for controlling a terminal device that transmits print data to a printing device via wireless communication, comprising: The terminal device, Acquire, from the printing device, identification information of a target terminal device that is in a state capable of communicating with the printing device. and Identification of a searching terminal device searched for based on transmission of a search signal for searching the target terminal device Obtaining information; acquiring distance information indicating a distance to the search terminal device; The identification information of the search terminal device that has been acquired is added to the identification information of the target terminal device that has been acquired. If the target identification information is the same as the target identification information, the distance information obtained is notifying the distance information indicating the distance to the search terminal device identified by the target identification information 2. A method for controlling a terminal device, comprising the steps of:
8. A terminal device that transmits print data to the printing device via wireless communication. Acquire, from the printing device, identification information of a target terminal device that is in a state capable of communicating with the printing device. and Identification of a searching terminal device searched for based on transmission of a search signal for searching the target terminal device Obtaining information; acquiring distance information indicating a distance to the search terminal device; The identification information of the search terminal device that has been acquired is added to the identification information of the target terminal device that has been acquired. If the target identification information is the same as the target identification information, the distance information obtained is notifying the distance information indicating the distance to the search terminal device identified by the target identification information A computer-readable recording medium having recorded thereon a program for executing the steps and Recording media.
Citation Information
Patent Citations
Display system, information processing apparatus, display control method, and display control program
JP2015146074A
Information processing unit, image processing system and program
JP2015171093A
Printer
JP2020157656A
Printer and communication processing system
JP2021006372A
