Control program for communication device, control method for communication device, and communication system

The communication device control program enhances wireless connection efficiency by detecting radio field strength, acquiring identification information, and prioritizing UWB distance measurement to quickly connect to the nearest image forming apparatus, addressing inaccuracies and inefficiencies in existing technologies.

JP2024169976AInactive Publication Date: 2024-12-06CANON KK
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2023086869
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-05-26
Publication Date
2024-12-06
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing technologies for measuring distance to image forming apparatuses using UWB are inaccurate due to radio field intensity stability and require identification information acquisition, and they do not efficiently handle multiple apparatuses in proximity, leading to prolonged connection times.

Method used

A communication device control program that detects radio field strength, acquires identification information, and determines candidate devices for pairing based on this data, prioritizing devices for UWB distance measurement to facilitate quick wireless connections.

Benefits of technology

Enables quick and accurate wireless communication connections to the nearest image forming apparatus by reducing the need to measure distances to all nearby devices, improving connection efficiency and usability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024169976000001_ABST
    Figure 2024169976000001_ABST
Patent Text Reader

Abstract

To provide a control program for a communication device, a control method for the communication device, and a communication system allowing quick connection of radio communication.SOLUTION: A control program is to control a portable terminal 101 that is connected with a plurality of image forming apparatuses including an image forming apparatus 104, while being allowed to perform radio communication with the image forming apparatuses. The control program has: a radio wave detection step of detecting the radio wave intensity of the radio communication with the image forming apparatuses; an information acquisition step of acquiring identification information for identifying the image forming apparatuses; and a determination step of, on the basis of a result of detection in the radio wave detection step and a result of acquisition in the information acquisition step, determining a candidate image forming apparatus to be a candidate to be paired with the portable terminal 101 from the plurality of image forming apparatuses. The control program causes a CPU 202 that is a computer to execute the steps.SELECTED DRAWING: Figure 8
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a control program for a communication device, a control method for a communication device, and a communication system. [Background technology]

[0002] In recent years, high-performance mobile terminals such as smartphones have become widespread. The mobile terminal is connected to an image forming apparatus so as to be able to communicate with the image forming apparatus, for example, via a LAN. In this case, an image forming apparatus cooperation app may be installed on the mobile terminal as an application for cooperation with the image forming apparatus. The image forming apparatus cooperation app can execute, for example, a scan function, a print function, a job transmission function, and the like. For example, the print function searches for an image forming apparatus on the LAN, and creates a print job to which document data and information printing setting information such as color printing and double-sided printing are added. Then, the print job is sent to the image forming apparatus searched for on the LAN, whereby printing is performed by the image forming apparatus.

[0003] In addition, the communication between the mobile terminal and the image forming apparatus at this time is established according to a communication protocol such as BLE (Bluetooth Low Energy ("Bluetooth" is a registered trademark)) or UWB (Ultra Wide Band). In addition, the communication can be established according to a communication protocol such as TCP / IP (Transmission Control Protocol / Internet Protocol) or NFC (Near Field Communication). In particular, the distance between the mobile terminal and the image forming apparatus can be measured by BLE or UWB. If the distance between the mobile terminal and the image forming apparatus is within a certain range, automatic login from the mobile terminal to the image forming apparatus can be performed. For example, Patent Document 1 discloses a technology that calculates the distance from the image forming apparatus based on the strength of a signal transmitted from the image forming apparatus, and when the strength exceeds a predetermined strength, makes it possible to log in to the image forming apparatus. In addition, when it is desired to know distance information more accurately, it is possible to obtain distance information with higher accuracy by using UWB communication than by a method of calculating from the radio wave strength of BLE. In addition, Patent Document 2 discloses a technology that obtains information required for distance measurement (communication) by UWB through communication by BLE, and then performs distance measurement by UWB. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2022-125031 A [Patent Document 2] Patent Publication No. 2022-50385 Summary of the Invention [Problem to be solved by the invention]

[0005] The technique described in Patent Document 1 has a problem that the accuracy of distance measurement is low (for example, in the order of several meters) depending on the stability of the radio wave intensity. Therefore, the technique described in Patent Document 2 uses UWB to suppress the deterioration of the accuracy of distance measurement. In addition, in the technique described in Patent Document 2, when performing distance measurement by UWB, it is necessary to obtain identification information (config information) of the image forming apparatus to be connected. In addition, in the technique described in Patent Document 2, it is assumed that there is one image forming apparatus to be connected to one mobile terminal. However, in the technique described in Patent Document 2, when there are multiple image forming apparatuses around the mobile terminal, measuring the distance to each image forming apparatus is not taken into consideration. When measuring the distance to each image forming apparatus by UWB, it is necessary to pair each image forming apparatus with BLE communication one by one and obtain the identification information. In addition, when it is desired to automatically log in to the image forming apparatus closest to the mobile terminal, there is also a problem that it takes time to measure the distance to the image forming apparatus to be connected.

[0006] The present invention has been made in view of the above problems, and an object of the present invention is to provide a control program for a communication device, a control method for a communication device, and a communication system that enable quick connection of wireless communication. [Means for solving the problem]

[0007] In order to achieve the above-mentioned object, the control program of the communication device of the present invention is a control program for controlling a communication device that is connected to enable wireless communication with multiple external devices, and includes a radio wave detection process for detecting the radio wave strength of the wireless communication with each of the external devices, an information acquisition process for acquiring identification information that identifies each of the external devices, and a determination process for determining a candidate external device from among the multiple external devices that is to be paired with the communication device based on the detection result in the radio wave detection process and the acquisition result in the information acquisition process, and is characterized in that each of the above steps is executed by a computer. Effect of the Invention

[0008] According to the present invention, a quick connection of wireless communication is possible. [Brief description of the drawings]

[0009] [Figure 1] 1 is a diagram illustrating an example of the configuration of a communication system according to a first embodiment of the present invention. [Diagram 2] 2 is a block diagram showing an example of the hardware configuration of a mobile terminal included in the communication system shown in FIG. 1. [Diagram 3] 2 is a block diagram showing an example of a hardware configuration of an image forming apparatus included in the communication system shown in FIG. 1. [Figure 4] 2 is a block diagram showing an example of a software configuration of a mobile terminal included in the communication system shown in FIG. 1. [Diagram 5] 2 is a block diagram showing an example of the software configuration of an image forming apparatus included in the communication system shown in FIG. 1 and a data area managed by the software. [Figure 6] FIG. 2 is a diagram for explaining a distance measuring method applied to the communication system shown in FIG. [Figure 7] 3 is a diagram showing an example of a screen displayed on a display of the mobile terminal shown in FIG. 2. [Figure 8] 8 is a flowchart showing a process of operating the connection confirmation device search screen shown in FIG. 7(d) until connecting to the image forming apparatus in front of the user. [Figure 9] 11 is a diagram showing a table of the relationship between the identification information of an image forming apparatus, the radio wave intensity of the image forming apparatus, and the priority order of the image forming apparatus that performs distance measurement by UWB. [Figure 10] FIG. 11 is a diagram showing an example of a screen displayed on a display of a mobile terminal in the communication system according to the second embodiment. [Figure 11] 11 is a flowchart showing a process for connecting to an image forming apparatus in front of the user. [Figure 12] 13 is a diagram showing a table of relationships between identification information of an image forming apparatus, radio wave intensity of the image forming apparatus, a match result of priority conditions, and a priority order of image forming apparatuses that perform distance measurement by UWB. [Figure 13]FIG. 13 is a diagram showing an example of a screen displayed on a display of a mobile terminal in the communication system according to the third embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] Each embodiment of the present invention will be described in detail below with reference to the drawings. However, the configurations described in each of the following embodiments are merely examples, and the scope of the present invention is not limited by the configurations described in each embodiment. For example, each part constituting the present invention can be replaced with any configuration that can exert a similar function. In addition, any configuration may be added. In addition, any two or more configurations (features) of each embodiment can be combined.

[0011] First Embodiment Hereinafter, the first embodiment will be described with reference to FIG. 1 to FIG. 9. FIG. 1 is a diagram showing an example of the configuration of a communication system according to the first embodiment of the present invention. As shown in FIG. 1, the communication system 1000 has a mobile terminal (mobile information terminal) 101 as a communication device, and an image forming device 104, an image forming device 105, an image forming device 106, and an image forming device 107 as external devices capable of wireless communication with the communication device. The mobile terminal 101 has a computer controlled by a control program of the communication device described later, and can transmit a print job to any of the image forming devices 104 to 107. The image forming devices 104 to 107 are devices such as MFPs (Multi-Function Peripherals) that form images, and have, for example, a printer function, a copy function, a scanner function, a fax transmission function, and the like. In the communication system 1000, the mobile terminal 101 and the image forming devices 104 to 107 are connected to each other via a LAN (Local Area Network) 103. This allows them to transmit and receive information to each other. In addition, the mobile terminal 101 and the image forming apparatuses 104 to 107 are also connected to the Internet 130 via a LAN (Local Area Network) 103.

[0012] The communication system 1000 includes a wireless LAN terminal 102. The wireless LAN terminal 102 is a wireless LAN parent device having a general network router function, and enables wireless LAN by Wi-Fi (registered trademark) in a home, an office, or the like. Also, the mobile terminal 101 is assumed to be connected to the LAN 103 via the wireless LAN terminal 102 by enabling the Wi-Fi function. By entering the wireless LAN area of ​​the wireless LAN terminal 102, the mobile terminal 101 can automatically join the network of the LAN 103 using preset authentication information.

[0013] The mobile terminal 101 transmits and receives a wireless signal 108. The image forming apparatus 104 transmits and receives a wireless signal 109. The image forming apparatus 105 transmits and receives a wireless signal 110. The image forming apparatus 106 transmits and receives a wireless signal 111. The image forming apparatus 107 transmits and receives a wireless signal 112. The wireless signals 108 to 112 are wireless signals based on BLE (Bluetooth Low Energy (Bluetooth is a registered trademark)). In addition, a wireless personal area network (WPAN) can be formed between the apparatuses between which the wireless signals 108 to 112 reach each other. In this embodiment, the mobile terminal 101 is sufficiently far away from the image forming apparatus 107, making it difficult to receive a beacon transmitted by a Bluetooth chip of the image forming apparatus 107. The mobile terminal 101 transmits and receives a wireless signal 121. The image forming apparatus 104 transmits and receives a wireless signal 122. The image forming apparatus 105 transmits and receives a wireless signal 123. The image forming apparatus 107 transmits and receives a wireless signal 124. In this embodiment, the image forming apparatus 106 is an apparatus that cannot transmit and receive wireless signals by UWB. The wireless signals 121 to 124 are wireless signals by UWB (Ultra Wide Band). In the communication system 1000, a distance measuring function using UWB can detect the distance between the mobile terminal 101 and the image forming apparatus 104, the image forming apparatus 105, and the image forming apparatus 107 (distance detection process). In addition, a wireless personal area network (WPAN) can be formed between the apparatuses that the wireless signals 121 to 124 can reach each other. As described above, in this embodiment, the mobile terminal 101 is sufficiently far away from the image forming apparatus 107. Therefore, it is difficult for the mobile terminal 101 to receive the UWB radio waves of the image forming apparatus 107.

[0014] FIG. 2 is a block diagram showing an example of the hardware configuration of a mobile terminal included in the communication system shown in FIG. 1. The mobile terminal 101 shown in FIG. 2 is a mobile terminal such as a smartphone, a tablet terminal, or a notebook personal computer, and is controlled by a control program of a communication device. The mobile terminal 101 includes a CPU 202, a ROM 203, a RAM 204, a Network_Controller 205, a voice control unit 206, a display control unit 207, an input control unit 208, and a storage device 209. The mobile terminal 101 also includes a position detection control unit 210, a wireless LAN communication unit 211, a mobile phone data communication unit 212, a BLE communication unit 213, a microphone / speaker 214, a display 215, and a touch panel 216. The mobile terminal 101 also includes a GPS sensor 217, a UWB communication unit 218, a direction detection control unit 219, a gyro sensor 221, an acceleration detection control unit 220, and an acceleration sensor 222. These hardware components of the mobile terminal 101 are connected to each other so as to be able to communicate with each other via a system bus 201. Note that the mobile terminal 101 may omit the voice control unit 206, the position detection control unit 210, and the microphone / speaker 214. Furthermore, the mobile terminal 101 may omit the GPS sensor 217, the direction detection control unit 219, the gyro sensor 221, the acceleration detection control unit 220, the acceleration sensor 222, and the mobile phone data communication unit 212.

[0015] The ROM 203 stores various programs such as an operating system (OS) in the mobile terminal 101, an application for controlling calls and data communication, and a control program for a communication device (a control method for a communication device). The control program for the communication device is not limited to being stored in the mobile terminal 101, and may be stored in the image forming device, or may be stored in a distributed manner between the mobile terminal 101 and the image forming device. The operating system, applications, and the like are executed by the CPU 202 (computer). The control program for the communication device, that is, each process such as a radio wave detection process, an information acquisition process, and a decision process, which will be described later, is also executed by the CPU 202. Examples of applications for controlling data communication include a print application, mail software, and a web browser. The RAM 204 is a work memory area for executing programs. The RAM 204 is also a memory for temporarily storing data and the like when a program is executed. The storage device 209 is a non-volatile storage device, and stores various operation mode settings and operation logs that need to be retained even after the mobile terminal 101 is restarted. The Network_Controller 205 controls communication in the wireless LAN communication unit 211, the mobile phone data communication unit 212, the BLE communication unit 213, and the UWB communication unit 218 via the wireless LAN terminal 102. The wireless LAN communication unit 211 is a communication unit for participating in the network of the LAN 103. The mobile phone data communication unit 212 is a communication unit for participating in a network provided by a mobile carrier. The BLE communication unit 213 is a communication unit for forming a WPAN between peripheral devices where wireless signals by BLE reach each other. The UWB communication unit 218 is a communication unit for forming a WPAN for performing distance measurement and data communication between peripheral devices where wireless signals by UWB reach each other. In general, when a device can participate in a wireless LAN network, the Network_Controller 205 prioritizes connection to the wireless LAN. When the mobile terminal 101 is out of the network area of ​​the wireless LAN, it is exclusively controlled to participate in a wireless communication network provided by a mobile carrier.In addition, in BLE communication and UWB communication, the communication functions can be controlled independently to achieve the purpose of communication.

[0016] The voice control unit 206 operates, for example, when a call application is started and the user of the mobile terminal 101 is making a call. The microphone / speaker 214 inputs and outputs voice data. The voice control unit 206 mediates between the voice data and a voice data control program. The display control unit 207 controls information output on the display 215. The input control unit 208 controls information instructed by the user on the touch panel 216. Applications started on the mobile terminal 101 by the voice control unit 206, the display control unit 207, and the input control unit 208 can provide the user with network communication information, operation information of the mobile terminal 101, and the like. The position detection control unit 210 acquires position information of the mobile terminal 101 from the GPS sensor 217 and provides it to the operating system. The direction detection control unit 219 acquires direction information of the mobile terminal 101 from the gyro sensor 221 and provides it to the operating system. The acceleration detection control unit 220 acquires acceleration information of the mobile terminal 101 from the acceleration sensor 222 and provides it to the operating system.

[0017] Mobile terminal 101 can perform distance measurement communication for measuring the distances to image forming apparatus 104, image forming apparatus 105, and image forming apparatus 107 via UWB communication unit 218. UWB communication unit 218 supports at least TWR (Two Way Ranging) shown in FIG. 6 as a method of distance measurement communication. Mobile terminal 101 transmits distance measurement request data via UWB communication unit 218 and receives distance measurement response data corresponding to the data. Mobile terminal 101 can calculate the distance by data processing using CPU 202, and provide the distance information according to the timing of a request from an application.

[0018] FIG. 3 is a block diagram showing an example of the hardware configuration of an image forming apparatus included in the communication system shown in FIG. 1. The hardware configuration of the image forming apparatus will be described by taking the hardware configuration of the image forming apparatus 104 as a representative. As shown in FIG. 3, the image forming apparatus 104 has a controller 1200, a scanner 10, a printer 20, and an operation unit 140. The controller 1200 controls the operation of the scanner 10 and the printer 20. The controller 1200 also controls communication with external information devices such as a mobile terminal 101 and a print server 150 connected via a LAN 103. A user can perform various operations using the operation unit 140. The scanner 10 has an illumination lamp, a scanning mirror, and the like, and reads image information according to an instruction from the operation unit 140. The printer 20 has a photoconductor drum and a fixing unit, and prints image data on paper according to an instruction from the operation unit 140.

[0019] 3, the controller 1200 includes a CPU 1201, a RAM 1202, a ROM 1203, an HDD (hard disk drive) 1204, an image_bus I / F 1205, an operation unit I / F 1206, and a system bus 1207. The controller 1200 also includes a scanner / printer communication I / F 1208, a network unit 1210, a modem unit 1211, a device I / F 1220, an image rotation unit 1230, an image compression unit 1240, and a RIP (raster image processor) 1260. The controller 1200 also includes a Wi-Fi communication unit 1271, a BLE communication unit 1272, a UWB communication unit 1273, a scanner image processing unit 1280, a printer image processing unit 1290, and an image bus 2008.

[0020] The Wi-Fi communication unit 1271, the BLE communication unit 1272, and the UWB communication unit 1273 are communication units capable of wireless communication with the mobile terminal 101. The RIP 1260 expands the PDL code included in the print job received from the mobile terminal 101 into a bitmap image. The scanner image processing unit 1280 performs, for example, correction, processing, editing, etc. on the image data input from the scanner 10. The printer image processing unit 1290 performs, for example, correction, resolution conversion, etc. on the image data output (printed) by the printer 20. The image rotation unit 1230 rotates the image data. The image compression unit 1240 compresses and expands multi-value image data into JPEG and binary image data into JBIG, MMR, or MH. The device I / F 1220 connects the controller 1200 to the scanner 10 and the printer 20, and performs synchronous / asynchronous conversion of the image data. The image bus 2008 transfers the image data at high speed.

[0021] The CPU 1201 is a control unit that performs overall control of the image forming apparatus 104. The CPU 1201 is connected to the RAM 1202 and the like via a system bus 1207 so as to be able to communicate with them. The RAM 1202 is a system work memory for the CPU 1201 to operate. The RAM 1202 is also an image memory for temporarily storing image data. The operation unit I / F 1206 outputs image data to be displayed on the operation unit 140 to the operation unit 140. The operation unit I / F 1206 also transmits information from a user input via the operation unit 140 to the CPU 1201. The network unit 1210 performs communication (transmission and reception) with the print server 150 and the like connected to the LAN 103. The modem unit 1211 performs communication (transmission and reception) with a facsimile machine (not shown) connected to the public line 3001. The ROM 1203 stores, for example, a boot program executed by the CPU 1201. The HDD 1204 stores, for example, system software, image data, software counter values, etc. In this embodiment, the HDD 1204 or RAM 1202 records and manages output attribute information such as the user name, number of copies to be printed, and color printing when a print job or copy job is executed, as well as the job execution history as job log information. The scanner / printer communication I / F 1208 communicates with the scanner 10 and printer 20. The Image_Bus I / F 1205 connects the system bus 1207 and the image bus 2008 to convert the data structure.

[0022] FIG. 4 is a block diagram showing an example of the software configuration of a mobile terminal included in the communication system shown in FIG. 1. As shown in FIG. 4, the software includes an OS 420 and an MFP application 400. The OS 420 and the MFP application 400 are realized by the CPU 202 reading out a control program stored in the ROM 203 or the storage device 209. As shown in FIG. 4, the OS 420 is software for controlling the operation of the entire mobile terminal 101. In addition to the MFP application 400, various other applications can be installed in the mobile terminal 101. The OS 420 transmits and receives information to and from these applications, and changes the screen displayed on the display 215 according to instructions from the applications. In addition, the OS 420 has a group of device drivers for controlling various hardware, and provides an API for using various hardware to applications running on the OS 420.

[0023] MFP application 400 is an application installed in mobile terminal 101. Mobile terminal 101 can perform, for example, printing or scanning on an image forming apparatus such as image forming apparatus 104, or remote control of the operation screen of the image forming apparatus, via MFP application 400. MFP application 400 has a screen control unit 401, a communication unit 402, a nearby MFP search unit 403, a timing unit 404, a print job generation unit 405, an application storage unit 406, a scan job control unit 407, a document management unit 408, and an MFP search unit 409.

[0024] The screen control unit 401 controls a screen to be displayed on the display 215 via the OS 420. As a result, an MFP application screen is displayed on the display 215. The screen control unit 401 also determines an operation instruction from a user input via the touch panel 216. The communication unit 402 controls wireless communication by the wireless LAN communication unit 211, the BLE communication unit 213, and the UWB communication unit 218 via the OS 420 to transmit and receive commands. The print job generation unit 405 generates a print job. The print job generated by the print job generation unit 405 is transmitted to, for example, the image forming apparatus 104 by the wireless LAN communication unit 211. As a result, printing is performed by the image forming apparatus 104. The scan job control unit 407 issues a scan instruction to, for example, the image forming apparatus 104 via the wireless LAN communication unit 211. Then, the scan job control unit 407 displays the scan data received from the image forming apparatus 104. The scan data is stored in the application storage unit 406. The scan data stored in the application storage unit 406 is managed by the document management unit 408. The nearby MFP search unit 403 searches for the image forming device 104 and the like via the BLE communication unit 213 and the UWB communication unit 218. Specifically, the nearby MFP search unit 403 searches for the image forming device 104, measures the distance to the image forming device 104, and acquires UWB Config information using a beacon received by the BLE communication unit 213. In addition, the UWB communication unit 218 can perform detailed distance measurement. The MFP search unit 409 generates configuration information acquisition data for an image forming device (e.g., the image forming device 104) selected by the user via the touch panel 216. The configuration information acquisition data is transmitted to any image forming device on the LAN 103 by the wireless LAN communication unit 211. The MFP search unit 409 receives a response from the corresponding image forming device. This reception result is stored in the application storage unit 406. In addition to the reception result, various information is temporarily stored in the application storage unit 406. The timer unit 404 measures time.

[0025] FIG. 5 is a block diagram showing an example of the software configuration of an image forming apparatus and a data area managed by the software in the communication system shown in FIG. 1. The software configuration of the image forming apparatus and the data area managed by the software will be described by taking the software configuration of the image forming apparatus 104 and the data area managed by the software as a representative. As shown in FIG. 5, the image forming apparatus 104 has a print application 501 and a platform 510. The print application 501 is installed in the ROM 1203 as an application that runs on the OS of the image forming apparatus 104. In this embodiment, the print application 501 includes a UI 502, a terminal device search 503, a print 504, a login authentication 507, a send 513, a copy 514, and a read 515. The login authentication 507 includes a user account 509. The platform 510 includes an operating system such as Linux (registered trademark), a virtual machine of JAVA (registered trademark), an OSGi (registered trademark) framework, and a group of device drivers. The "OSGi framework" is a JAVA-based service platform defined by the OSGi Alliance (a standardization organization). The platform 510 has a group of device drivers for controlling various hardware, and provides an API for using the hardware to an application running on the platform 510. In this embodiment, the platform 510 includes a BLE communication control unit 505, a UWB communication control unit 506, a Wi-Fi communication control unit 512, a print job 508, and a document 511. The print job 508, the document 511, and the user account 509 indicate data areas stored and managed by the software in the RAM 1202 or the HDD 1204.

[0026] The BLE communication control unit 505 is a device driver for controlling the BLE communication unit 1272. The UWB communication control unit 506 is a device driver for controlling the UWB communication unit 1273. The Wi-Fi communication control unit 512 is a device driver for controlling the Wi-Fi communication unit 1271. Although not shown, the platform 510 also includes a printer module for controlling the printer 20, a scanner module for controlling the scanner 10, and a device driver (NW communication control unit) for controlling the network unit 1210. The platform 510 provides the print application 501 with an API for reading and writing data of a print job 508 and a user account 509.

[0027] The UI501, copy 514, terminal device search 503, print 504, read 504, send 513, and login authentication 507 are applications that run on the platform 510. These applications display user interfaces that provide various functions on the operation unit 140. The copy 514 controls the read 504 and print 504 via the platform 510 to execute copying. The print 504 provides a function to print document data stored in the document 511 and a print job stored in the print job 508. The output of copying and printing is executed via the API of the platform 510. The number of sheets output by copying and printing is recorded in the user count 509. The send 513 provides a function to transmit document data acquired from the read 507 to the outside. The UI502 is a module that provides a menu screen or the like for selecting application-specific functions such as copy, print, and data transmission on the operation unit 140. The login authentication service 312 is a module that provides a login function when a user uses the image forming apparatus 104 .

[0028] The terminal device search 503 searches for a network device that supports mDNS (multicast Domain Name System) in the LAN 103 to which the image forming device 104 is connected. For this search, a BLE communication control unit 505, a UWB communication control unit 506, and a Wi-Fi communication control unit 512 are used. Then, a function is provided to transmit detailed information about the image forming device 104 to an image forming device that can be instructed to print by the mobile terminal 101, that is, supported by the print application 501, from among devices on the LAN 103 or reachable by Wi-Fi. This provision is performed, for example, by IPP (internet printing protocol). The communication method here is not limited to mDNS or IPP. The terminal device search 503 also provides a function to search for an image forming device that can be instructed to print by the mobile terminal 101 in a WPAN that can transmit and receive by BLE, UWB, and Wi-Fi, or in the LAN 103. Furthermore, terminal device search 503 provides a function of acquiring distance information by performing a process of identifying a communication partner for measuring the distance between mobile terminal 101 or another image forming device 105, etc., and a communication control, using UWB communication control unit 506. Printing 504 provides a function of receiving a print job from mobile terminal 101 and executing a print process. Furthermore, this print process may include, for example, a function of temporarily storing and printing a received job, and a function of printing a print job based on distance information provided from UWB communication control unit 506.

[0029] Fig. 6 is a diagram for explaining a ranging method applied to the communication system shown in Fig. 1. The ranging method shown in Fig. 6 shows a method for measuring the distance between a TAG and an Anchor, which is defined in the IEEE802.15.4 group. This method measures the distance by calculating the frame arrival time (ToA: Time Of Arrival) 66 per unit distance based on the speed at which radio waves travel through space. Specifically, the ranging method shown in Fig. 6 shows a Two Way Raining (TWR) ranging method in which frames are transmitted in both directions between the TAG and the Anchor. In TWR, the Anchor is responsible for the ranging, and the TAG is the target of the ranging.

[0030] As shown in FIG. 6, when Anchor 61 measures the distance to TAG 62, Anchor 61 issues a POLL frame 63 to TAG 62. The TAG that receives the POLL frame 63 recognizes that the POLL frame 63 is addressed to itself. After a preset time (Treply) has elapsed from the moment that the TAG 62 receives the POLL frame 63, the TAG 62 transmits a RESP frame 64 to the TAG 62. A Treply value 65 is assigned to this RESP frame 64. Here, information for recognizing that the POLL frame 63 is addressed to itself is called "config information." The config information held by the TAG 62 enables Anchor 61 to measure the distance. The Anchor 61 that receives the RESP frame 64 calculates the ToA 66 required to transmit the POLL frame 63 and the RESP frame 64. This calculation is performed using the time (Tround) 67 from the issuance of the POLL frame 63 to the reception of the RESP frame 64, and the Treply value 65 included in the RESP frame 64. Then, the distance to the TAG 62 can be calculated based on the ToA 66 and the propagation speed of radio waves (speed of light). In the communication system 1000, the distance between the mobile terminal 101 and the image forming device (for example, the image forming device 104) can be measured by a distance measurement method using TWR. In this case, for example, the mobile terminal 101 is Anchor 61, and the image forming device is TAG 62. Note that the mobile terminal 101 may be TAG 62, and the image forming device may be Anchor 61. In this embodiment, the UWB communication control unit 506 transmits and receives the POLL frame 63 and the RESP frame 64, and performs various calculations to enable distance measurement.

[0031] Fig. 7 is a diagram showing an example of a screen displayed on the display of the mobile terminal shown in Fig. 2. With reference to Fig. 7, an operation for searching for a desired image forming apparatus to be paired will be described. By starting up the mobile terminal 101, a home screen 710 shown in Fig. 7(a) is displayed on the display 215. The home screen 710 includes a plurality of icons, one of which is an MFP application icon 711. The MFP application icon 711 is an icon representing the MFP application 400. By operating (tapping) the MFP application icon 711, i.e., by selecting it, the MFP application 400 is started up.

[0032] When the MFP application 400 is started, an application home screen 720 shown in FIG. 7B is displayed on the display 215. The application home screen 720 includes a selected device icon 721, a device search button 722, a document print execution button 723, and the like. The selected device icon 721 represents an image forming device currently connected to the mobile terminal 101. If there is no image forming device currently connected to the mobile terminal 101, a message "No Printer" is displayed instead of the selected device icon 721. The device search button 722 is a button that is operated when searching for an image forming device. By operating (pressing) the document print execution button 723, a print setting screen (not shown) for setting print conditions in the selected image forming device is displayed on the display 215. Then, by operating a print button included in this print setting screen, a print process can be executed in the selected image forming device.

[0033] By operating the device search button 722, a device selection screen 730 shown in FIG. 7C is displayed on the display 215. The device selection screen 730 includes a printer selection button 731, a device list 732, an automatic search menu 733, a manual search menu 734, a printer button 735, and the like. The printer selection button 731 is a button operated when selecting an image forming device. The device list 732 displays a list of image forming devices registered in the MFP application 400. The automatic search menu 733 is a button operated when automatically searching for an image forming device. By operating the automatic search menu 733, it is possible to search for an image forming device on the network via the wireless LAN communication unit 211. The manual search menu 734 is a button operated when manually searching for an image forming device. By operating the manual search menu 734, an IP input screen (not shown) in which an IP address, a domain name, and the like can be input is displayed on the display 215. Then, by inputting necessary information into the IP input screen, it is possible to search for an image forming device based on the information. Nearby printer button 735 is a button that is operated when searching for image forming apparatuses near portable terminal 101 and connecting to the image forming apparatus that is closest to portable terminal 101 .

[0034] By operating the nearby printer button 735, a connection confirmation device search screen 740 shown in FIG. 7(d) is displayed on the display 215. The connection confirmation device search screen 740 includes a pop-up screen 741, a button 742, and a button 743. In the connection confirmation device search screen 740, the pop-up screen 741 is a screen for confirming with the user that the image forming device in front of the user is to be connected using UWB distance measurement. Here, the "image forming device in front of the user" refers to an image forming device that is within a predetermined distance from the mobile terminal 101. The button 742 is a "Yes" button indicating that the user agrees with the contents displayed on the pop-up screen 741. By operating the button 742, the image forming device in front of the user can be connected. The button 743 is a "No" button indicating that the user rejects the contents displayed on the pop-up screen 741. By operating the button 743, the connection of the image forming device in front of the user is canceled, and the application home screen 720 (see FIG. 7(b)) is displayed again.

[0035] 7(e), a device icon 751 on the post-device connection application home screen 750 is different from the selected device icon 721 on the application home screen 720 shown in Fig. 7(b). The device icon 751 represents the image forming device selected by the printer selection button 731 on the device selection screen 730.

[0036] Fig. 8 is a flowchart showing a process of operating the connection confirmation device search screen shown in Fig. 7(d) and connecting to the image forming apparatus in front of you. A program based on the flowchart shown in Fig. 8 is stored in, for example, ROM 203 or storage device 209, and is executed by being read by CPU 202 into RAM 204. This program is started from a state in which a connection confirmation device search screen 740 shown in Fig. 7(d) is displayed. In step S801, CPU 202 of mobile terminal 101 operates BLE communication unit 213 when determining that button 742 on connection confirmation device search screen 740 has been operated. This starts a process of receiving a BLE beacon from an image forming apparatus (such as image forming apparatus 104) in the vicinity of mobile terminal 101.

[0037] In step S802, the CPU 202 determines whether or not a BLE beacon from the image forming apparatus has been received within a certain time period, based on the BLE beacon reception process in step S801. If it is determined in step S802 that the BLE beacon has been received within the certain time period, the process proceeds to step S803. On the other hand, if it is determined in step S802 that the BLE beacon has not been received within the certain time period, the process proceeds to step S815.

[0038] In step S803, the CPU 202 activates the radio wave intensity detection unit 223 of the BLE communication unit 213. As a result, for each image forming apparatus determined in step S802 to have received a BLE beacon, the radio wave intensity of the BLE beacon (wireless communication) between the image forming apparatus and the mobile terminal 101 can be measured, that is, detected (radio wave detection step). Also, in step S803, identification information for identifying each image forming apparatus determined in step S802 to have received a BLE beacon is acquired (information acquisition step).

[0039] In step S804, CPU 202 associates the radio wave intensity (detection result in the radio wave detection process) of each image forming device acquired in step S803 with the identification information (acquisition result in the information acquisition process) of each image forming device. Then, CPU 202 adds and stores the associated radio wave intensity and identification information as a search result list in application storage unit 406 (storage process). The image forming devices included in this search result list are candidate image forming devices that are candidates for pairing with mobile terminal 101. In this way, communication system 1000 can determine image forming devices 104 to 107 as candidate image forming devices (determination process).

[0040] In step S805, CPU 202 refers to the search result list obtained in step S804 and determines the priority order (distance detection order) for performing distance measurement by UWB in descending order of image forming apparatuses with the strongest radio wave. As described above, in this embodiment, image forming apparatus 106 is an apparatus that cannot transmit and receive wireless signals by UWB. Therefore, image forming apparatus 106 is excluded from the priority order for performing distance measurement by UWB. Therefore, the candidate image forming apparatuses are narrowed down to image forming apparatus 104, image forming apparatus 105, and image forming apparatus 107.

[0041] FIG. 9 is a diagram showing a table of the relationship between the identification information of the image forming apparatus, the radio wave strength of the image forming apparatus, and the priority order of the image forming apparatus that performs distance measurement by UWB. For example, in the top image forming apparatus in FIG. 9, the identification information of the image forming apparatus is the name of the image forming apparatus "MF1300" and the IP address of the image forming apparatus "115.24.3.44". In addition, the radio wave strength of the image forming apparatus is "-15 dBm". In the second image forming apparatus from the top in FIG. 12, the identification information of the image forming apparatus is the name of the image forming apparatus "MF1400" and the IP address of the image forming apparatus "115.24.3.45". In addition, the radio wave strength of the image forming apparatus is "-25 dBm". In the third image forming apparatus from the top in FIG. 12, the identification information of the image forming apparatus is the name of the image forming apparatus "MF2000" and the IP address of the image forming apparatus "115.24.3.47". Moreover, the radio wave strength of the image forming device is "-30 dBm." In consideration of these, the priority order of image forming devices that perform distance measurement by UWB is "MF1300" as "first," "MF1400" as "second," and "MF2000" as "third." By setting such priorities, the time it takes to find the image forming device in front of you is shortened, and operability when connecting to the image forming device is improved. For example, "MF1300" becomes image forming device 104, "MF1400" becomes image forming device 105, and "MF2000" becomes image forming device 107.

[0042] In step S806, the CPU 202 initializes N to "N=1" in order to perform UWB ranging for the prioritized image forming apparatuses in accordance with the priority order.

[0043] In step S807, the CPU 202 performs BLE pairing with the image forming apparatus with the Nth priority based on the priority determined in step S805 in order to establish a connection with the mobile terminal 101 (communication step). That is, the CPU 202 performs BLE pairing with the candidate image forming apparatus in accordance with the priority of distance measurement by UWB. Note that the BLE pairing method is a known technique and will not be described here.

[0044] In step S808, the CPU 202 operates the BLE communication unit 213 to perform BLE GATT communication, thereby making it possible to acquire UWB Config information required for performing distance measurement by UWB.

[0045] In step S809, CPU 202 activates UWB communication unit 218 to perform UWB TWR communication with a potential image forming device using the Config information acquired in step S808. This allows distance measurement processing to be performed on the image forming device, and the distance to the image forming device can be acquired.

[0046] In step S810, CPU 202 determines whether the distance acquired in step S809 is equal to or less than a preset threshold (certain distance) (determination step). If it is determined in step S810 that the distance is equal to or less than the threshold, the process proceeds to step S811. On the other hand, if it is determined in step S810 that the distance is not equal to or less than the threshold, the process proceeds to step S812.

[0047] In step S811, the CPU 202 performs connection processing with the image forming apparatus to be connected (the candidate image forming apparatus with which pairing has been performed), i.e., performs logging in to the image forming apparatus. This connection method is not particularly limited, and may be, for example, a connection method based on BLE, a connection method based on Wi-Fi, or a connection method based on UWB.

[0048] In step S812, CPU 202 determines whether or not there is an image forming apparatus in the search result list that is not paired (distance measurement has not been completed) in order to measure the distance to the image forming apparatus that has the next priority. If it is determined in step S812 that the image forming apparatus is in the search result list, the process proceeds to step S813. On the other hand, if it is determined in step S812 that the image forming apparatus is not in the search result list, the process proceeds to step S814.

[0049] In step S813, the CPU 202 increments the priority order N to "N=N+1." After step S813 is executed, the process returns to step S807, and the subsequent steps are executed in sequence.

[0050] In step S814, CPU 202 determines that there is no image forming apparatus in front of it, and displays a connection failure notice (not shown) on display 215 to the effect that the connection to the image forming apparatus has failed, and the process ends.

[0051] In step S815 after executing step S802, the CPU 202 displays an image forming device non-detection error notification (not shown) on the display 215 to the effect that there is no image forming device transmitting a BLE beacon, and the process ends.

[0052] As described above, in the communication system 1000, the mobile terminal 101 can request UWB Config information based on the radio wave intensity of the BLE beacon and perform distance measurement by UWB. This reduces the need to communicate with all image forming apparatuses around the mobile terminal 101. Then, based on the distance measurement result by UWB, a quick wireless connection to the image forming apparatus in front of the user is possible. Note that in this embodiment, the MFP application 400 is started and a button 742 (see FIG. 7(d)) ​​on the connection confirmation device search screen 740 is operated to start a connection process with the image forming apparatus in front of the user, but this is not limited thereto. For example, by allowing automatic connection in a setting in advance, a connection process with the image forming apparatus in front of the user may be started at the timing when the MFP application 400 is started. Also, the MFP application 400 may be started as a background process, and a connection process with the image forming apparatus in front of the user may be started at a predetermined period of time.

[0053] <Second embodiment> Hereinafter, the second embodiment will be described with reference to Figs. 10 to 12. The differences from the above-mentioned embodiment will be mainly described, and the description of the similar matters will be omitted. In the first embodiment, a connection to the image forming apparatus in front of the user is performed by prioritizing the image forming apparatus based on the radio wave strength of the BLE beacon. However, for example, there are cases where the user wants to preferentially connect to an image forming apparatus that he or she usually uses or an image forming apparatus equipped with a specific function. In this embodiment, a process suitable for such a case will be described. Fig. 10 is a diagram showing an example of a screen displayed on the display of a mobile terminal in the communication system according to the second embodiment. A method of setting priority conditions will be described with reference to this Fig. 10. By starting the mobile terminal 101, a home screen 710 shown in Fig. 10(a) is displayed on the display 215. By operating the MFP application icon 711 on the home screen 710, the MFP application 400 is started.

[0054] 10B is displayed on the display 215. The application home screen 720 includes a selected device icon 721, a device search button 722, a document print execution button 723, and a settings button 1021.

[0055] By operating the setting button 1021, an application setting screen 1030 shown in FIG. 10(c) is displayed on the display 215. The application setting screen 1030 includes a priority function enable button 1031, a registered printer setting button 1032, a priority condition setting 1033, and the like. The priority function enable button 1031 is a button for switching between enable (ON) / disable (OFF) of a priority function that determines a priority order according to a priority condition set by a user. The registered printer setting button 1032 is a button operated when changing or adding a registered image forming device registered on the MFP application 400. The priority condition setting 1033 is a button operated when changing the setting of a priority condition.

[0056] By operating the registered printer setting button 1032, an application setting screen 1040 for setting the registered printer shown in FIG. 10(d) is displayed on the display 215. The application setting screen 1040 includes an add button 1041, a printer panel 1042, a favorite registration button 1043, and the like. The add button 1041 is a button that is operated when adding a registered image forming device. The registered image forming devices are displayed on the printer panel 1042. Also, favorite registration buttons 1043 are displayed adjacent to each registered image forming device on the printer panel 1042. By operating the favorite registration button 1043, an image forming device can be registered as a favorite image forming device. All of this registration information is stored in the application storage unit 406.

[0057] In addition, by operating the priority condition setting 1033 (see FIG. 10(c)) of the application setting screen 1030, an application setting screen 1050 for setting priority conditions shown in FIG. 10(e) is displayed on the display 215. The application setting screen 1050 includes an enable button 1051, a print condition setting 1052, and the like. The enable button 1051 is a button for switching between priority (ON) and non-priority (OFF) of a favorite image forming device. In the print condition setting 1052, items such as whether to prioritize color or black and white, and the presence or absence of an ADF (Auto Document Feeder) are listed as printing conditions. By setting the print conditions in the print condition setting 1052, it becomes possible to change the priority order according to the functions that the user wants to use when automatically selecting an image forming device to be connected to the mobile terminal 101. The print conditions set in the print condition setting 1052 are stored in the application storage unit 406. This storage state is maintained even if the MFP application 400 is terminated.

[0058] FIG. 11 is a flowchart showing a process until a connection is made to an image forming apparatus in front of the user. The flowchart shown in FIG. 11 is the same as the flowchart shown in FIG. 8 except that instead of steps S804 and S805 of the flowchart shown in FIG. 8, steps S1004 and S1005 are included. In step S1004, the CPU 202 determines whether the information on the image forming apparatus from the BLE beacon received by the BLE communication unit 213 matches the priority conditions set by the user, and adds the determination result to the search result list. There is no particular limitation on the determination method, and for example, first, the items of the priority conditions stored in the application storage unit 406 are compared with the information on the image forming apparatus from the BLE beacon received by the BLE communication unit 213. Then, if the information satisfies all the items of the priority conditions, it is determined that the information matches, and otherwise it is determined that the information does not match.

[0059] In step S1005, the CPU 202 determines the priority order based on the radio wave intensity of the BLE beacon received in step S803 and the priority condition match result in step S1004.

[0060] FIG. 12 is a diagram showing a table of the relationship between the identification information of the image forming apparatus, the radio wave strength of the image forming apparatus, the match result of the priority conditions, and the priority order of the image forming apparatus that performs distance measurement by UWB. For example, in the top image forming apparatus in FIG. 12, the identification information of the image forming apparatus is the name of the image forming apparatus "MF1300" and the IP address of the image forming apparatus is "115.24.3.44". In addition, the radio wave strength of the image forming apparatus is "-15 dBm", and the match result of the priority conditions is "no match". In addition, in the second image forming apparatus from the top in FIG. 12, the identification information of the image forming apparatus is the name of the image forming apparatus "MF1400" and the IP address of the image forming apparatus is "115.24.3.45". In addition, the radio wave strength of the image forming apparatus is "-25 dBm", and the match result of the priority conditions is "match (Yes)". In addition, in the third image forming apparatus from the top in FIG. 12, the name of the image forming apparatus is "MF2000" and the IP address of the image forming apparatus is "115.24.3.47" as the identification information of the image forming apparatus. The radio wave strength of the image forming apparatus is "-30 dBm", and the match result of the priority condition is no match (No). In consideration of these, the priority order of the image forming apparatuses that perform distance measurement by UWB is "MF1400" as "1st", "MF1300" as "2nd", and "MF2000" as "3rd". In this way, the priority order is determined by assigning the priority order to the image forming apparatuses that match the priority condition in order of the strength of the BLE beacon radio wave. Note that the priority order may also be determined by assigning the priority order to the image forming apparatuses that do not match the priority condition in order of the strength of the BLE beacon radio wave.

[0061] As described above, in this embodiment, the candidate image forming apparatuses can be preferentially determined according to at least one of the conditions of the favorite image forming apparatus (frequency of use of the image forming apparatus) and the functions of the image forming apparatus. This allows the image forming apparatus that the user wishes to use to be used preferentially, improving convenience (usability).

[0062] <Third embodiment> Hereinafter, the third embodiment will be described with reference to FIG. 13. The differences from the above-described embodiment will be mainly described, and the description of the similar matters will be omitted. FIG. 13 is a diagram showing an example of a screen displayed on the display of a mobile terminal in a communication system according to the third embodiment. A device status screen 1300 shown in FIG. 13 is displayed on the display 215 after, for example, operating a button 742 (see FIG. 7(d)) ​​on a connection confirmation device search screen 740. The device status screen 1300 includes a name 1301 of an image forming device, a radio wave strength 1302 of the image forming device, and a distance 1303 from the image forming device. This allows the user to know what kind of radio wave strength a candidate image forming device that is a candidate for pairing with the mobile terminal 101 has and how far away it is.

[0063] Although the preferred embodiments of the present invention have been described above, the present invention is not limited to the above-mentioned embodiments, and various modifications and changes are possible within the scope of the gist of the present invention. The present invention can also be realized by a process in which a program that realizes one or more functions of the above-mentioned embodiments is supplied to a system or device via a network or a storage medium, and one or more processors of a computer in the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that realizes one or more functions. In addition, the communication device is a mobile terminal (mobile information terminal) 101 such as a smartphone in each of the above-mentioned embodiments, but is not limited to this. In addition, the external device is an image forming device such as an MFP in each of the above-mentioned embodiments, but is not limited to this.

[0064] The disclosure of each embodiment includes the following programs, methods, and configurations. (Program 1) A control program for controlling a communication device that is connected to a plurality of external devices so as to be capable of wireless communication with the external devices, a radio wave detection step of detecting radio wave intensity of the wireless communication between the external device and the wireless communication device; an information acquisition step of acquiring identification information for identifying each of the external devices; a determination step of determining, from among the plurality of external devices, a candidate external device to be paired with the communication device, based on a detection result in the radio wave detection step and an acquisition result in the information acquisition step; A control program for a communication device, which causes a computer to execute each of the steps. (Program 2) A distance detection step for detecting a distance between the communication device and the candidate external device, The control program for the communication device described in configuration 1, characterized in that in the determination process, the distance detection order of the candidate external devices whose distances are detected in the distance detection process is determined in order of increasing radio wave strength as a detection result in the radio wave detection process. (Program 3) A control program for a communication device according to configuration 2, further comprising a communication step of performing the pairing with the candidate external device in accordance with the distance detection order. (Program 4) has a determination step of determining whether the distance is equal to or less than a threshold, The control program for a communication device according to configuration 2 or 3, characterized in that, when it is determined in the determination step that the distance is equal to or less than a threshold, the wireless communication with the candidate external device with which the pairing has been performed is possible. (Program 5) A control program for a communication device as described in configuration 4, characterized in that when it is determined in the judgment process that the distance is not equal to or less than a threshold, the wireless communication with the candidate external device that is next in the distance detection order is possible. (Program 6) The control program for a communication device according to any one of configurations 2 to 5, wherein in the distance detection step, the distance is detected by a distance measurement function using UWB (Ultra Wide Band). (Program 7) A control program for a communication device described in any one of configurations 1 to 6, characterized in that in the determination process, a candidate external device to be paired with the communication device is preferentially determined from among the multiple external devices based on at least one condition of the frequency of use of the external device and the functions possessed by the external device. (Program 8) The control program for the communication device according to any one of configurations 1 to 7, further comprising a storage step of storing a detection result in the radio wave detection step and an acquisition result in the information acquisition step in association with each other. (Program 9) The control program for the communication device according to any one of configurations 1 to 8, wherein the wireless communication includes communication using BLE (Bluetooth Low Energy). (Method 1) A method for controlling a communication device that is connected to a plurality of external devices so as to be capable of wireless communication, comprising the steps of: a radio wave detection step of detecting radio wave intensity of the wireless communication between the external device and the wireless communication device; an information acquisition step of acquiring identification information for identifying each of the external devices; A control method for a communication device, comprising: a determination process for determining a candidate external device to be paired with the communication device from among the plurality of external devices based on the detection results in the radio wave detection process and the acquisition results in the information acquisition process. (Configuration 1) A communication device controlled by a control program for a communication device according to any one of configurations 1 to 9; A communication system comprising: a plurality of external devices connected to the communication device so as to be capable of wireless communication with the communication device. (Configuration 2) The communication system according to configuration 11, wherein the communication device is a portable information terminal, and the external device is an image forming device that forms an image. [Explanation of symbols]

[0065] 101 Mobile terminals (mobile information terminals) 104, 105, 106, 107 Image forming apparatus 202 CPU 400 MFP Applications 1000 Communication Systems

Claims

1. A control program for controlling a communication device that is connected to a plurality of external devices so as to be capable of wireless communication, a radio wave detection step of detecting radio wave intensity of the wireless communication between the external device and the wireless communication device; an information acquisition step of acquiring identification information for identifying each of the external devices; a determination step of determining, from among the plurality of external devices, a candidate external device to be paired with the communication device, based on a detection result in the radio wave detection step and an acquisition result in the information acquisition step; A control program for a communication device, which causes a computer to execute each of the steps.

2. a distance detection step of detecting a distance between the communication device and the candidate external device; A control program for a communication device as described in claim 1, characterized in that in the determination process, the order of distance detection of the candidate external devices whose distances are detected in the distance detection process is determined in order of increasing radio wave strength as a detection result in the radio wave detection process.

3. 3. The control program for a communication device according to claim 2, further comprising a communication step of performing the pairing with the candidate external device in accordance with the distance detection order.

4. a determination step of determining whether the distance is equal to or less than a threshold value, The control program for a communication device according to claim 3, characterized in that, when the distance is determined to be equal to or less than a threshold value as a result of the determination process, the wireless communication with the candidate external device with which the pairing has been performed is possible.

5. A control program for a communication device as described in claim 4, characterized in that if the judgment step determines that the distance is not equal to or less than a threshold, wireless communication with the candidate external device that is next in the distance detection order is possible.

6. 3. The control program for a communication device according to claim 2, wherein in the distance detection step, the distance is detected by a distance measuring function using UWB (Ultra Wide Band).

7. The control program for a communication device according to claim 1, characterized in that in the determination process, a candidate external device to be paired with the communication device is preferentially determined from among the plurality of external devices based on at least one condition of the frequency of use of the external device and the functions possessed by the external device.

8. 2. The control program for a communication device according to claim 1, further comprising a storage step of storing a detection result in said radio wave detection step and an acquisition result in said information acquisition step in association with each other.

9. 2. The control program for a communication device according to claim 1, wherein the wireless communication includes communication according to BLE (Bluetooth Low Energy).

10. A method for controlling a communication device that is connected to a plurality of external devices so as to be capable of wireless communication, comprising: a radio wave detection step of detecting radio wave intensity of the wireless communication between the external device and the wireless communication device; an information acquisition step of acquiring identification information for identifying each of the external devices; A control method for a communication device, comprising: a determination process for determining a candidate external device to be paired with the communication device from among the plurality of external devices based on the detection results in the radio wave detection process and the acquisition results in the information acquisition process.

11. A communication device controlled by the control program for the communication device according to claim 1; A communication system comprising: a plurality of external devices connected to the communication device so as to be capable of wireless communication with the communication device.

12. 12. The communication system according to claim 11, wherein the communication device is a portable information terminal, and the external device is an image forming device that forms an image.

Citation Information

Patent Citations

  • Passive entry / passive start system and method for a vehicle

    JP2022050385A

  • Mobile terminal, control method thereof, and program

    JP2022125031A