Program, control method, and smartphone
Patent Information
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2025-06-06
- Publication Date
- 2026-03-27
AI Technical Summary
Existing communication setups between MFPs and portable terminals are hindered when either device lacks NFC functionality, making it difficult to establish communication.
A program that facilitates communication setup by displaying selection objects and prompts for setting processing, enabling Bluetooth functionality and distance-based determination of communication devices for Wi-Fi configuration using BLE communication.
Enables easy communication setup between MFPs and portable terminals without NFC, ensuring seamless data transfer through Wi-Fi configuration.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
[Technical Field]
[0001] The present invention relates to a program, a communication terminal, and a communication system. [Background technology]
[0002] When various types of data communication are performed between a data communication device such as an MFP and a mobile terminal such as a smartphone or tablet PC, wireless communication using various communication standards is performed depending on the communication settings of the MFP and the mobile terminal. When large-volume data communication is performed, Wi-Fi communication using Wi-Fi or the like is performed. On the other hand, when devices are relatively close to each other and small-volume data communication is performed, short-range wireless communication such as NFC communication using Near Field Communication (NFC) is performed. For short-range wireless communication, wireless communication using Bluetooth is widely used, and BLE communication, which enables power-saving data communication, is particularly widely used. When data communication is performed, an appropriate wireless communication method according to the application is selected, and communication settings are switched to correspond to the selected wireless communication (see, for example, Patent Document 1).
[0003] For example, when a print job for executing a print process is sent from a mobile terminal to an MFP, communication settings are switched using NFC communication. With NFC communication, communication settings between devices having NFC functionality can be easily configured by simply bringing the devices close to each other. For example, touching a mobile terminal to an NFC module provided in the MFP configures communication settings such as Wi-Fi communication between the MFP and the mobile terminal. This allows the mobile terminal to transmit a print job to the MFP via Wi-Fi communication, even if the print job contains a large amount of data (see, for example, Patent Document 2). [Prior art documents] [Patent documents]
[0004] [Patent Document 1] Japanese Patent Application Laid-Open No. 2004-364145 [Patent Document 2] Japanese Patent Application Laid-Open No. 2014-050015 Summary of the Invention [Problem to be solved by the invention]
[0005] However, there are cases where it is not possible to set up communication between the MFP and the portable terminal using the technology of Patent Document 2. For example, if either the MFP or the portable terminal does not have an NFC function, NFC communication cannot be performed between the MFP and the portable terminal, and as a result, it is not easy to set up communication between the MFP and the portable terminal.
[0006] An object of the present invention is to provide a program, a communication terminal, and a communication system that allow easy communication setup. [Means for solving the problem]
[0007] In order to achieve the above object, the program of the present invention is a program that causes a communication terminal to execute each process, and includes a process of displaying on a display unit a first display that has a plurality of selection objects corresponding to a plurality of functions that communicate with an image processing device set as a communication destination and a setting section for proceeding to setting processing of the device to be used as the communication destination, and a process of displaying on the display unit a second display that has a message prompting the setting processing to use a function and a further setting section for proceeding to the setting processing, and is characterized in that the second display is displayed when the setting processing has not been performed after the first display is displayed. [Effects of the Invention]
[0008] According to the present invention, communication settings can be easily performed. [Brief explanation of the drawings]
[0009] [Figure 1] 1 is a block diagram illustrating a schematic configuration of a data communication system according to an embodiment of the present invention. [Figure 2] FIG. 2 is a block diagram showing a schematic configuration of the mobile terminal in FIG. [Figure 3] FIG. 2 is a block diagram illustrating a schematic configuration of the MFP in FIG. [Figure 4] 2 is a sequence diagram for explaining BLE communication performed in the data communication system of FIG. 1. [Figure 5] 10 is a flowchart showing the procedure of a job transmission process executed by the mobile terminal appearing in FIG. [Figure 6] 6A and 6B are examples of various operation screens of the job sending app displayed on the display unit in FIG. 2, where FIG. 6A shows the top screen of the job sending app, FIG. 6B shows a case where a notification is given to enable the Bluetooth function, FIG. 6C shows a case where a notification is given that the job sending app cannot be used, FIG. 6D shows a case where a notification is given that the job sending destination has not been set, FIG. 6E shows a case where the job sending app is terminated, and FIG. 6F shows a case where a job sending destination is set. [Figure 7] 2 is a flowchart showing the procedure of a list generation process executed by the mobile terminal appearing in FIG. [Figure 8] 10 is a flowchart showing the procedure of a communication switching process executed by the mobile terminal appearing in FIG. [Figure 9A] 10 is a flowchart showing the procedure of a communication setting process executed by the mobile terminal appearing in FIG. [Figure 9B] 10 is a flowchart showing the procedure of a communication setting process executed by the mobile terminal appearing in FIG. DETAILED DESCRIPTION OF THE INVENTION
[0010] Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
[0011] In this embodiment, we will explain the case where the present invention is applied to a mobile terminal as an information processing device, but the application of the present invention is not limited to mobile terminals, and the present invention can be applied to any communication device that can perform wireless communication.
[0012] FIG. 1 is a block diagram showing a schematic configuration of a data communication system 100 according to an embodiment of the present invention.
[0013] 1, a data communication system 100 includes a mobile terminal 101 and an MFP 102 serving as a data communication device. The mobile terminal 101 includes a controller 103, a wireless LAN communication unit 104, a Bluetooth communication unit 105, and a UI unit 106. The controller 103 is connected to each of the components of the wireless LAN communication unit 104, the Bluetooth communication unit 105, and the UI unit 106. The MFP 102 includes a controller 107, a wireless LAN communication unit 108, a Bluetooth communication unit 109, a scanner unit 110, a printer unit 111, and a UI unit 112. The controller 107 is connected to each of the components of the wireless LAN communication unit 108, the Bluetooth communication unit 109, the scanner unit 110, the printer unit 111, and the UI unit 112.
[0014] The mobile terminal 101 may be a mobile phone such as a smartphone, a tablet PC, a laptop PC, a PDA, or the like. The controller 103 controls each component connected to the controller 103. The wireless LAN communication unit 104 includes an antenna for performing wireless LAN communication such as Wi-Fi communication. For example, the mobile terminal 101 performs Wi-Fi communication with an MFP 102 having a wireless LAN communication unit 108 via the wireless LAN communication unit 104 and transmits a print job, which is large-volume data, to the MFP 102. The Bluetooth communication unit 105 includes an antenna for performing wireless communication using Bluetooth. For example, the mobile terminal 101 performs BLE communication with an MFP 102 having a Bluetooth communication unit 109 via the Bluetooth communication unit 105 and receives communication setting information from the MFP 102 for establishing a Wi-Fi communication connection with the MFP 102. The UI unit 106 is a user interface unit that allows a user to operate the mobile terminal 101. In this embodiment, the user operates the UI unit 106 to perform various settings of a job transmission application (described later) used for performing BLE communication.
[0015] The MFP 102 has various functions such as printing, scanning, copying, and faxing. The controller 107 controls each component connected to the controller 107. The wireless LAN communication unit 108 includes an antenna for wireless LAN communication such as Wi-Fi communication. The Bluetooth communication unit 109 includes an antenna for wireless communication using Bluetooth such as BLE communication. The scanner unit 110 performs scanning based on a control signal transmitted from the controller 107. For example, the scanner unit 110 reads image information of a document placed on a document platen (not shown), generates image data based on the read image information, and transmits the generated image data to the controller 107. The printer unit 111 performs printing based on a control signal transmitted from the controller 107. For example, the printer unit 111 prints on recording paper based on the image data transmitted from the controller 107. The UI unit 112 is a user interface unit that allows a user to operate the MFP 102.
[0016] FIG. 2 is a block diagram showing a schematic configuration of the mobile terminal 101 in FIG.
[0017] 2, the controller 103 includes a CPU 201, a RAM 202, a ROM 203, a storage device 204, a call unit 205, a display controller 206, an operation unit controller 207, a wireless LAN controller 208, a communication unit 209, and a Bluetooth controller 210. These are connected to one another via a bus 211. The UI unit 106 includes a display unit 212, a touch panel 213, and keys 214.
[0018] The CPU 201 performs overall control of the mobile terminal 101. The RAM 202 is used as a work area for the CPU 201 and stores various calculation data and various programs used by the CPU 201. The ROM 203 stores various programs and image data used by the CPU 201, as well as various applications used when performing BLE communication with the MFP 102. The storage device 204 is a memory device including an SD card, an SSD, etc., and stores large amounts of programs and various data. The call unit 205 performs voice calls as a telephone function. The display controller 206 performs data communication with the display unit 212 of the UI unit 106. The operation unit controller 207 performs data communication with the touch panel 213 and keys 214 of the UI unit 106. The wireless LAN controller 208 performs data communication with, for example, various devices having Wi-Fi communication functions via the wireless LAN communication unit 104. The communication unit 209 performs data communication with various devices connected to a USB connector (not shown). The Bluetooth controller 210 performs data communication with, for example, various devices having a Bluetooth function via the Bluetooth communication unit 105. The Bluetooth controller 210 also enables or disables the Bluetooth function of the mobile terminal 101 based on setting information for controlling the Bluetooth function (hereinafter referred to as "BT setting information") set by, for example, a user's operation of the UI unit 106. The display unit 212 displays various operation screens in response to control signals transmitted from the display controller 206. In this embodiment, when a job for executing various processes is transmitted to the MFP 102, an operation screen of a job transmission application (described later) for transmitting the job is displayed. The touch panel 213 and keys 214 transmit various setting information set by the user's operation of the touch panel 213 and keys 214 to the operation unit controller 207.
[0019] FIG. 3 is a block diagram schematically showing the configuration of MFP 102 appearing in FIG.
[0020] 3, MFP 102 includes a document detection unit 315 in addition to controller 107, wireless LAN communication unit 108, Bluetooth communication unit 109, scanner unit 110, printer unit 111, and UI unit 112 shown in FIG. 1. Controller 107 includes CPU 301, RAM 302, ROM 303, storage device 304, image processing unit 305, engine I / F 306, scanner I / F 307, wireless LAN controller 308, operation unit controller 309, Bluetooth controller 310, USB I / F 311, network I / F 312, and FAXI / F 313. These are connected to one another via bus 314.
[0021] The CPU 301 performs overall control of the MFP 102. The RAM 302 is used as a work area for the CPU 301 and stores various calculation data and various programs used by the CPU 301. The RAM 302 stores image data processed by the image processing unit 305, and the ROM 303 stores various programs, image data, and setting data used by the CPU 301. The storage device 304 is a memory device including an HDD, SSD, etc., and stores large volumes of programs and various data. The engine I / F 306 performs data communication with the printer unit 111. The scanner I / F 307 performs data communication with the scanner unit 110. The wireless LAN controller 308 performs data communication with, for example, various devices having Wi-Fi communication capabilities via the wireless LAN communication unit 108. The operation unit controller 309 performs data communication with the UI unit 112. The Bluetooth controller 310 performs data communication with, for example, various devices having Bluetooth functionality via the Bluetooth communication unit 109. The USB I / F 311 performs data communication with various devices connected to a USB connector (not shown). The network I / F 312 performs network communication with various devices connected to a LAN 316. The FAXI / F 313 performs facsimile communication with other MFPs having a facsimile communication function connected to a public line network 317. The document detection unit 315 detects whether or not a document is placed on a document tray (not shown), and when it detects that a document is placed on the document tray, it notifies the CPU 301 of the detection result.
[0022] Next, the procedure of BLE communication executed in the data communication system 100 will be described.
[0023] FIG. 4 is a sequence diagram for explaining the BLE communication executed in the data communication system 100 of FIG.
[0024] 4, first, mobile terminal 101 and MFP 102 are both in a standby state in which they are not communicating packets. Thereafter, when CPU 301 instructs MFP 102 to transmit an advertising packet, MFP 102 transitions to an advertising state and simultaneously transmits the advertising packet to an unspecified number of destinations (hereinafter referred to as "broadcast transmission") (step S401). The advertising packet includes a model name (device name) and address information that identify MFP 102, a Tx Power Level indicating the strength of the radio wave transmitted by MFP 102, and UUID information of MFP 102. Next, MFP 102 continuously broadcasts advertising packets at regular intervals (step S402). In this embodiment, the type of advertising packet broadcast is ADV_IND, which is used to establish a connection with unspecified devices.
[0025] Meanwhile, when the mobile terminal 101 is instructed by the CPU 201 to scan for advertising packets, it transitions to a scanning state and receives the broadcast advertising packets. There are two scanning states in the scanning state: passive scan and active scan. When the mobile terminal 101 transitions from the standby state to the scanning state, the scan state is passive scan. When the mobile terminal 101 receives an advertising packet broadcast during passive scan, it analyzes the received advertising packet and identifies the destination of the advertising packet. The mobile terminal 101 transmits a scan request (SCAN_REQ) to the identified destination, for example, the MFP 102, requesting that detailed information about the MFP 102 be sent (step S403). At this time, the scan state of the mobile terminal 101 transitions from passive scan to active scan.
[0026] Next, in response to the scan request (SCAN_REQ) sent from the mobile terminal 101, the MFP 102 sends a scan response (SCAN_RESP) including detailed information about the MFP 102 to the mobile terminal 101 (step S404). The mobile terminal 101 stores the detailed information about the MFP 102 included in the received scan response in the ROM 203 or the like, determines the MFP 102 as the connection destination by performing the processing in FIG. 5 described below, and transitions to the initiating state. Upon receiving an advertising packet sent from the MFP 102, the mobile terminal 101 transmits a connect request (CONNECT_REQ) to the MFP 102 to request a connection for BLE communication (step S405). Upon receiving the connect request (CONNECT_REQ) sent from the mobile terminal 101, the MFP 102 establishes a connection for BLE communication. As a result, BLE communication between the mobile terminal 101 and the MFP 102 is established, the mobile terminal 101 and the MFP 102 transition to a connection state, and this processing ends.
[0027] Next, a job transmission process will be described in which a job for executing various processes such as a printing process is transmitted from the mobile terminal 101. In this embodiment, as an example, a case will be described in which Wi-Fi communication is used as a data communication means for transmitting a job.
[0028] FIG. 5 is a flowchart showing the procedure of the job transmission process executed by the mobile terminal 101 appearing in FIG.
[0029] The processing in FIG. 5 is performed by the CPU 201 of the mobile terminal 101 executing a program stored in the ROM 203 and the storage device 204.
[0030] 5, first, CPU 201 determines whether a job sending application for setting a job to be sent is running (step S501). If the job sending application is running, top screen 601 shown in Fig. 6(a) is displayed on display unit 212 of mobile terminal 101. Top screen 601 displays a group of setting buttons 602 for setting various jobs to be sent by the job sending application and a device selection button 603 for setting the destination of the job.
[0031] If it is determined in step S501 that the job sending application is running, the CPU 201 determines whether the Bluetooth function of the mobile terminal 101 is enabled (step S502). In this embodiment, the Bluetooth function is enabled or disabled based on the Bluetooth setting information set by the user through operation of the UI unit 106.
[0032] If it is determined in step S502 that the Bluetooth function is enabled, the CPU 201 proceeds to step S506 without performing steps S503 and S504, which will be described later.
[0033] If the result of the determination in step S502 is that the Bluetooth function is disabled, the CPU 201 displays the operation screen 604 shown in Fig. 6(b) to notify the user to enable the Bluetooth function (step S503). Next, the CPU 201 determines whether or not the setting button 605 for enabling the Bluetooth function on the operation screen 604 has been pressed (step S504).
[0034] If it is determined in step S504 that the cancel button 606 for not enabling the Bluetooth function has been pressed instead of the set button 605, the CPU 201 displays an operation screen 607 shown in Fig. 6(c) for notifying the user that the job transmission process cannot be executed on the display unit 212. Thereafter, the CPU 201 determines whether the OK button 608 on the operation screen 607 has been pressed (step S505).
[0035] If it is determined in step S505 that the OK button 608 on the operation screen 607 has been pressed, the CPU 201 proceeds to the process of step S509.
[0036] If it is determined in step S505 that the back button 609 on the operation screen 607 has been pressed, the CPU 201 returns to the process of step S504.
[0037] When it is determined in step S504 that the setting button 605 has been pressed, the CPU 201 enables the Bluetooth function and determines whether an instruction to generate a job transmission candidate list has been issued (step S506). The job transmission candidate list records, as job transmission candidates (hereinafter referred to as "job transmission candidate devices"), model names (device names) that identify devices capable of BLE communication among multiple devices that support a preset job transmission application (hereinafter referred to as "application-compatible devices") In the present embodiment, for example, when the device selection button 603 for setting a job transmission destination is pressed on the top screen 601, or when the device selection setting button 611 for setting a job transmission destination is pressed on the screen 610 of FIG. 6(d) that notifies that a job transmission destination has not been set, the CPU 201 determines that an instruction to generate a job transmission candidate list has been issued.
[0038] When an instruction to generate a job transmission candidate list is issued as a result of the determination in step S506, the CPU 201 performs the list generation process of FIG. 7 to generate a job transmission candidate list (step S507) (generation means). Next, the CPU 201 performs the communication switching process of FIG. 8 to establish a BLE communication connection with a job destination device (hereinafter referred to as a "job transmission destination device") determined based on the job transmission candidate list, and configures Wi-Fi communication settings with the job transmission destination device based on communication setting information for establishing a Wi-Fi communication connection acquired through the BLE communication (step S508). Next, when the user instructs the CPU 201 to terminate the job transmission app, the CPU 201 terminates the job transmission app (step S509). In this embodiment, when the user instructs the CPU 201 to terminate the job transmission app, an operation screen 612 shown in FIG. 6(e) for configuring Bluetooth function settings when the job transmission app is terminated is displayed on the display unit 212. When button 613 on operation screen 612 is pressed, CPU 201 closes the job sending application while keeping the Bluetooth function enabled, and when button 614 on operation screen 612 is pressed, CPU 201 disables the Bluetooth function and closes the job sending application. After that, when the process of step S509 is completed, CPU 201 ends this process.
[0039] If it is determined in step S506 that no instruction to generate a job transmission candidate list has been issued, the CPU 201 displays the operation screen 610 on the display unit 212, and determines whether the cancel button 615 on the operation screen 610 has been pressed (step S510).
[0040] If it is determined in step S510 that the device selection setting button 611 has been pressed instead of the cancel button 615 on the operation screen 610, the CPU 201 returns to the process of step S506.
[0041] If it is determined in step S501 that the job sending application is not running, the CPU 201 determines that the job sending process using the job sending application will not be performed, and ends this process.
[0042] If it is determined in step S510 that the cancel button 615 on the operation screen 610 has been pressed, the CPU 201 performs the process of step S509 and ends this process.
[0043] FIG. 7 is a flowchart showing the procedure of the list generation process executed by the mobile terminal 101 appearing in FIG.
[0044] 7, first, the CPU 201 sets the operation state of the Bluetooth controller 210 from the standby state shown in FIG. 4 to a scanning state (step S701). Next, the CPU 201 determines whether or not an advertising packet has been received via the Bluetooth communication unit 105 (step S702). Here, the advertising packet is, for example, broadcast from each of a plurality of devices capable of BLE communication. In this embodiment, the processing of step S702 and steps S703 and S706, which will be described later, is performed on the advertising packet broadcast from each of the plurality of devices.
[0045] When it is determined in step S702 that an advertising packet has been received, CPU 201 determines whether the destination of the received advertising packet (hereinafter referred to as the "packet destination") is an application-compatible device (step S703). In step S703, it is determined whether the destination of the received advertising packet is an application-compatible device based on address information, UUID information, and data identifiable by the job transmission application that are included in the advertising packet and that identify the destination of the advertising packet.
[0046] If the determination in step S703 indicates that the packet destination is an application-compatible device, the CPU 201 controls the Bluetooth controller 210 to send a scan request (SCAN_REQ) to the packet destination to request detailed information about the packet destination. The CPU 201 then acquires a scan response (SCAN_RESP) sent from the packet destination via the Bluetooth controller 210 (step S706). The scan response (SCAN_RESP) includes a model name that identifies the packet destination, and information about various processes that can be executed at the packet destination, such as printable paper sizes and paper types.
[0047] Next, CPU 201 generates a job transmission candidate list based on the acquired scan response (SCAN_RESP) (step S707). That is, in this embodiment, only the model name corresponding to the packet transmission destination that transmitted the scan response (SCAN_RESP) among the multiple application-compatible devices is recorded in the job transmission candidate list. In step S707, for example, if CPU 201 does not receive an advertising packet via Bluetooth controller 210 for a certain period from a packet transmission destination corresponding to a model name recorded in the job transmission candidate list, the model name corresponding to the packet transmission destination is deleted from the job transmission candidate list. Next, CPU 201 determines whether the user has issued a command to update the job transmission candidate list (step S708).
[0048] If it is determined in step S708 that an instruction to update the job transmission candidate list has been issued, the CPU 201 returns to the process of step S702; if an instruction to update the job transmission candidate list has not been issued, the CPU 201 proceeds to the process of step S508 in FIG.
[0049] If the result of the determination in step S702 is that no advertising packet is received, or if the result of the determination in step S703 is that the destination of the received advertising packet is not an application-compatible device, CPU 201 determines whether the user has instructed the job sending application to end (step S704).
[0050] As a result of the determination in step S704, if the termination of the job sending application is not instructed, CPU 201 returns to the processing of step S702, and if the termination of the job sending application is instructed, CPU 201 terminates the job sending application (step S705) and terminates this processing.
[0051] FIG. 8 is a flowchart showing the procedure of the communication switching process executed by the mobile terminal 101 in FIG.
[0052] 8, first, when the user presses one of the setting buttons 602 on the top screen 601, for example, the setting button 616 for setting the print process (YES in step S801), the CPU 201 sets print setting information for executing the print process based on the user's operation of the UI unit 106 (step S802). Next, the CPU 201 determines whether the setting of the print setting information has been completed (step S803).
[0053] If it is determined in step S803 that the setting of the print setting information has been completed, CPU 201 performs the communication setting process of FIGS. 9A and 9B to transmit a print job (hereinafter referred to as a "set print job") generated based on the print setting information set in step S802 to the job destination device determined using BLE communication (step S804). In step S804, communication settings for Wi-Fi communication are configured to transmit the set print job to the job destination device determined using BLE communication. Next, CPU 201 cancels the communication settings for BLE communication and stops BLE communication (step S805). Next, CPU 201 transmits the set print job to MFP 102 by Wi-Fi communication via wireless LAN communication unit 104 (step S806). Next, when CPU 201 receives a notification from MFP 102 indicating that the setting print job has been received (YES in step S807), it cancels the communication settings for Wi-Fi communication, stops Wi-Fi communication (step S808), and proceeds to processing of step S509 in Figure 5.
[0054] If it is determined in step S803 that the setting of the print setting information is not complete, CPU 201 determines whether or not the user has instructed to end the job sending application (step S809).
[0055] If it is determined in step S809 that the user has not instructed to end the job sending application, the CPU 201 returns to the process in step S803.
[0056] If it is determined in step S809 that the user has instructed to end the job sending application, the CPU 201 ends this process.
[0057] 9A and 9B are flowcharts showing the procedure of the communication setting process executed by the mobile terminal 101 in FIG.
[0058] Here, since the setting print job is large-volume data containing various print setting information used in the print process, short-range wireless communication such as NFC communication, which has a slow communication speed, is not suitable for transmitting the setting print job. Therefore, in order to transmit the setting print job from the mobile terminal 101 to the MFP 102, communication settings must be configured for wireless communication suitable for large-volume data communication, such as Wi-Fi communication. To easily configure communication settings for Wi-Fi communication, it is conceivable, for example, to transmit communication setting information from the MFP 102 to the mobile terminal 101 via NFC communication and then configure communication settings for Wi-Fi communication based on the transmitted communication setting information. However, NFC communication is not widely used, and many devices do not have an NFC communication function. As a result, for example, if either the mobile terminal 101 or the MFP 102 does not have an NFC function, NFC communication cannot be performed between the mobile terminal 101 and the MFP 102. As a result, it is difficult to easily configure communication settings between the mobile terminal 101 and the MFP 102.
[0059] In response to this, in this embodiment, the distance between the mobile terminal 101 and the job transmission candidate devices is calculated using widely used BLE communication, and one of the job transmission candidate devices is determined as the job transmission destination device based on the calculated distance, and communication setting information for Wi-Fi communication is transmitted from the determined job transmission destination device to the mobile terminal 101.
[0060] 9A and 9B, first, the CPU 201 determines whether or not a "close connection mode" is set, which determines a job transmission destination device based on the distance to a job transmission candidate device calculated using BLE communication (step S901).
[0061] If it is determined in step S901 that the "close connection mode" is not set, and the user operates the UI unit 106 to set a job destination device (YES in step S902), the CPU 201 proceeds to processing in step S908. In this embodiment, for example, when the user presses the device selection button 603 on the top screen 601, an operation screen 617 shown in FIG. 6(f) for setting a job destination device is displayed on the display unit 212. The operation screen 617 displays the model names corresponding to the job transmission candidate list generated in step S707. In step S902, when the user selects one of the multiple model names displayed on the operation screen 617, the job transmission candidate device corresponding to the selected model name is determined as the job transmission destination device.
[0062] If the determination in step S901 indicates that the "close connection mode" is set, CPU 201 sets a default value for determining a job transmission destination device to be used in step S905 (described later) (step S903). The default value is set based on the distance at which the user carrying mobile terminal 101 can operate the job transmission destination device, and in this embodiment, is set to, for example, 30 cm to 1 meter. In step S903, a default value pre-stored in ROM 203 is set, but the default value may also be set based on a user's operation of UI unit 106. Next, CPU 201 measures the radio wave intensity of advertising packets transmitted from each of the job transmission candidate devices corresponding to the model names recorded in the job transmission candidate list generated in step S707 of FIG. 7 (step S904). Next, CPU 201 acquires the Tx Power Level included in the transmitted advertising packet and calculates the distance between mobile terminal 101 and each job transmission candidate device based on the measured radio wave intensity and the acquired Tx Power Level (step S905) (calculation means). In step S905, the Tx Power Level included in the advertising packet transmitted from MFP 102 is used as a threshold, and the Tx Power Level is compared with the radio wave strength measured in step S904 based on the strength of the radio waves received by mobile terminal 101 (hereinafter referred to as "received radio wave strength"), and the distance between mobile terminal 101 and job transmission candidate devices is measured based on the comparison result. Next, CPU 201 determines whether or not there is any device among the job transmission candidate devices whose distance from mobile terminal 101 is shorter than the specified value set in step S903 (hereinafter referred to as "specified value achieving device") (step S906).
[0063] If it is determined in step S906 that a device that has achieved the specified value exists, the CPU 201 determines the device that has achieved the specified value as the job destination device (step S907) (determination means). Next, the CPU 201 transmits a connect request (CONNECT_REQ) to the job destination device to request a connection for BLE communication (step S908). Next, the CPU 201 determines whether the connection for BLE communication with the job destination device has been completed (step S909).
[0064] If the result of the determination in step S909 is that the connection with the job destination device for BLE communication has been completed, the CPU 201 transmits a notification requesting communication setting information for Wi-Fi communication to the job destination device (step S910) (transmission control means). Next, the CPU 201 determines whether communication setting information for Wi-Fi communication of the job destination device has been acquired from the job destination device (step S911).
[0065] If it is determined in step S911 that the communication setting information for Wi-Fi communication of the job destination device has been acquired from the job destination device, the communication setting for Wi-Fi communication with the job destination device is performed based on the acquired communication setting information (step S912). Next, CPU 201 determines whether the connection for Wi-Fi communication with the job destination device has been completed (step S913).
[0066] If it is determined in step S913 that the Wi-Fi communication connection with the job destination device has been completed, the CPU 201 proceeds to the process of step S805 in FIG.
[0067] If the result of the determination in step S906 is that there is no device that has achieved the specified value, CPU 201 determines whether or not the user has instructed the job sending application to end (step S914), and if the user has not instructed the job sending application to end, returns to the processing of step S904.
[0068] If the result of the determination in step S909 is that the connection for BLE communication with the job destination device has not been completed, the CPU 201 determines whether or not the user has instructed the job sending app to end (step S915), and if the user has not instructed the job sending app to end, the process returns to step S908.
[0069] If the result of the determination in step S911 is that the communication setting information for Wi-Fi communication of the job destination device has not been acquired from the job destination device, the CPU 201 determines whether or not the user has instructed the job sending app to terminate (step S916), and if the user has not instructed the job sending app to terminate, the process returns to step S911.
[0070] If it is determined in step S914, S915, or S916 that the job transmission application is instructed to be terminated, the CPU 201 terminates this process.
[0071] 9A and 9B described above, the distance between the mobile terminal 101 and each of the job transmission candidate devices is calculated using BLE communication, one of the job transmission candidate devices is determined as the job transmission destination device based on the calculated distance, and communication setting information for Wi-Fi communication is transmitted from the job transmission destination device to the mobile terminal 101. As a result, even if neither the mobile terminal 101 nor the job transmission destination device has an NFC communication function, the communication settings for Wi-Fi communication between the mobile terminal 101 and the job transmission destination device are performed based on the communication setting information for Wi-Fi communication transmitted from the job transmission destination device without the user having to perform communication settings for data communication themselves, and therefore communication settings between the mobile terminal 101 and the job transmission destination device can be easily performed.
[0072] 9A and 9B, a specified value indicating the distance at which a user can operate a job destination device is set in advance, and a device among the job transmission candidate devices that meets the specified value, such as MFP 102, is determined as the job destination device. Here, MFP 102 is a device that is located in a position where it can be operated by the user who holds mobile terminal 101, so when MFP 102 is the specified value-met device, this simply means that the user is operating MFP 102. As a result, BLE communication between mobile terminal 101 and MFP 102 is connected only when the user operates MFP 102, making it possible to prevent unnecessary data communication between mobile terminal 101 and MFP 102.
[0073] 9A and 9B, a device selected by the user from among the job transmission candidate devices is determined as the job destination device. As a result, communication setting information for Wi-Fi communication is transmitted by BLE communication from the job destination device selected by the user to the mobile terminal 101, so that the user's intention can be reflected and communication settings between the mobile terminal 101 and the job destination device can be easily made without impairing ease of use for the user.
[0074] 8, 9A, and 9B, the present invention is applied to the execution of a print process, but the application of the present invention is not limited to the execution of a print process, and the present invention can also be applied to a process executed based on a job transmitted from the mobile terminal 101, such as the execution of a scan process. Even when the present invention is applied to the execution of a scan process, the same effects as those of the present embodiment described above can be achieved.
[0075] The present invention can also be realized by supplying a program that realizes one or more functions of the above-described embodiments to a system or device via a network or a storage medium, and having one or more processors in the computer of 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. [Explanation of symbols]
[0076] 101 Mobile Devices 102 MFP 104,108 Wireless LAN communication unit 105,109 Bluetooth communication department 106 UI section 201 CPU 212 Display section
Claims
1. A program to be executed on a smartphone, A first display step of displaying a predetermined object, A receiving step for accepting the selection of the aforementioned displayed predetermined object, A second display step in which an image processing device displays the selected object, The smartphone is instructed to perform a communication process that involves communicating with the displayed image processing device. A program characterized in that, when the program is started, the image processing device to which the communication destination is set, the predetermined object is displayed in the first display step.
2. The program according to claim 1, characterized in that the predetermined object is displayed in the first display step without accepting user input because the image processing device to which the communication destination is set when the program is started.
3. The program according to claim 1 or 2, characterized in that in the communication step, a job is transmitted to the image processing device at the communication destination.
4. The program according to claim 3, characterized in that the job is a print job.
5. The program according to any one of claims 1 to 4, further characterized in that the smartphone is made to perform a third display step of displaying a first display in which an object for displaying the image processing device is arranged, which is an object different from the predetermined object and which corresponds to a plurality of selected objects corresponding to a plurality of functions for communicating with the image processing device set as the communication destination.
6. The program according to claim 5, characterized in that the selected object is an object for setting up the printing process.
7. The program according to any one of claims 1 to 6, characterized in that the second display including the predetermined object includes a message relating to the settings of the image processing device.
8. The predetermined object is a button, The program according to any one of claims 1 to 7, characterized in that the second display includes a cancel button.
9. The program according to any one of claims 1 to 8, characterized in that in the second display step, an image processing device based on information received by the smartphone via wireless communication is displayed.
10. The program according to any one of claims 1 to 9, characterized in that the program is a program installed on the smartphone.
11. A method for controlling a smartphone capable of executing a program, A first display step of displaying a predetermined object, A receiving step for accepting the selection of the aforementioned displayed predetermined object, A second display step in which an image processing device displays the selected object, The system includes a communication step that communicates with the displayed image processing device, A control method characterized in that the predetermined object is displayed in the first display step because the image processing device to which the program is to be communicated is not set when the program is started.
12. The control method according to claim 11, characterized in that the predetermined object is displayed in the first display step without accepting user input because the image processing device to which the communication destination is set when the program is started is not set.
13. The control method according to claim 11 or 12, characterized in that in the communication step, a job is transmitted to the image processing device at the communication destination.
14. The control method according to claim 13, characterized in that the job is a print job.
15. The control method according to any one of claims 11 to 14, further characterized in that the smartphone is made to perform a third display step of displaying a first display in which an object for displaying the image processing device is arranged, which is an object different from the predetermined object and which corresponds to a plurality of selected objects corresponding to a plurality of functions for communicating with the image processing device set as the communication destination.
16. The control method according to claim 15, characterized in that the selected object is an object for setting the printing process.
17. The control method according to any one of claims 11 to 16, characterized in that the second display including the predetermined object includes a message relating to the settings of the image processing device.
18. The predetermined object is a button, The control method according to any one of claims 11 to 17, characterized in that the second display includes a cancel button.
19. The control method according to any one of claims 11 to 18, characterized in that in the second display step, an image processing device based on information received by the smartphone via wireless communication is displayed.
20. A smartphone capable of executing a program, A first display means for displaying a predetermined object, A receiving means for receiving the selection of the aforementioned displayed predetermined object, A second display means for displaying an image processing device upon receiving the selection of the predetermined object, The system includes a communication means for communicating with the displayed image processing device, A smartphone characterized in that, when the program is started, the first display means displays the predetermined object because the image processing device to which the program is to be communicated is not set.