Communication Equipment

The communication device with multiple interfaces optimizes communication speed and connectivity by dynamically switching between NFC and Wi-Fi Direct based on network membership, ensuring efficient data transfer without external access points.

JP7613618B2Active Publication Date: 2025-01-15BROTHER KOGYO KK
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2024001871
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2024-01-10
Publication Date
2025-01-15
Estimated Expiration
2032-03-30

AI Technical Summary

Technical Problem

Existing communication technologies face challenges in efficiently and flexibly switching between different wireless communication methods, such as NFC and Wi-Fi Direct, to optimize communication speed and connectivity between devices.

Method used

A communication device equipped with multiple interfaces (NFC and Wi-Fi) that dynamically adjusts its operation based on network membership, allowing it to switch between master and slave stations to ensure high-speed communication without relying on external access points.

Benefits of technology

Enables high-speed wireless communication with mobile terminals by optimizing interface usage based on network membership, facilitating seamless connectivity and efficient data transfer.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007613618000001
    Figure 0007613618000001
  • Figure 0007613618000002
    Figure 0007613618000002
  • Figure 0007613618000003
    Figure 0007613618000003
Patent Text Reader

Abstract

To provide a technique for a communication device to appropriately communicate with a mobile terminal.SOLUTION: If a multi-function peripheral (MFP) is currently participating in a radio network (YES at S4), it sends a mobile terminal 50 radio setting for the mobile terminal to join the radio network by using an NFC interface 22 (S16). On the other hand, if the MFP is not currently participating in the network (NO at S4), it constructs a new radio network which both MFP and mobile terminal join (S18).SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The technology disclosed in this specification relates to a communication device for executing communication of target data with a mobile terminal. [Background technology]

[0002] Patent Documents 1 and 2 disclose techniques for two communication devices to execute wireless communication. In Patent Documents 1 and 2, the two communication devices execute communication with wireless settings according to short-distance wireless communication (i.e., wireless communication according to the NFC (abbreviation for Near Field Communication) method). The above wireless settings are settings for executing wireless communication according to a communication method (e.g., IEEE802.11a, 802.11b) different from the NFC method. This enables the two communication devices to execute wireless communication according to the wireless settings. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2007-166538 A [Patent Document 2] JP 2011-146991 A [Non-patent literature]

[0004] [Non-Patent Document 1] "Wi-Fi Peer-to-Peer (P2P) Technical Specification Version 1.1", Wi-Fi Alliance, 2010 Summary of the Invention [Problem to be solved by the invention]

[0005] This specification provides a technique for a communication device to appropriately communicate with a mobile terminal. [Means for solving the problem]

[0006] The technology disclosed in this specification is a communication device. The communication device comprises: a first type of interface for performing wireless communication with a mobile terminal; a second type of interface for performing wireless communication with the mobile terminal, wherein the communication speed of the wireless communication using the second type of interface is faster than the communication speed of the communication using the first type of interface; a transmitting unit for transmitting specified information to the mobile terminal via the first type of interface, wherein when the communication device operates as a parent station of a first wireless network for performing wireless communication using the second type of interface, the specified information includes a first wireless setting for the mobile terminal to belong to the first wireless network, and when the communication device is not operating as the parent station, the specified information includes a second wireless setting for the mobile terminal to belong to a second wireless network formed by an access point different from the communication device and the mobile terminal; and a communication executing unit for performing wireless communication of target data with the mobile terminal via either the first wireless network or the second wireless network. In addition, other compounds disclosed herein The communication device includes a first type interface, a second type interface, and a control unit. The first type interface is an interface for performing wireless communication with a mobile terminal. The second type interface is an interface for performing wireless communication with a mobile terminal. A communication speed of the wireless communication using the second type interface is faster than a communication speed of the communication using the first type interface. The control unit includes a determination unit and a communication execution unit. The determination unit determines whether the communication device currently belongs to a target network for performing wireless communication using the second type interface. In a first case in which it is determined that the communication device currently belongs to the first target network, the communication execution unit executes a transmission process for transmitting wireless settings for making the mobile terminal belong to the first target network to the mobile terminal using the first type interface, and then executes wireless communication of target data with the mobile terminal via the first target network using the second type interface. In a second case in which it is determined that the communication device does not currently belong to the target network, the communication execution unit executes a specific process so that both the communication device and the mobile terminal belong to the second target network, and then uses a second type of interface to execute wireless communication of the target data between the mobile terminal and the second target network.

[0007] In the above configuration, when it is determined that the communication device currently belongs to the first target network, the mobile terminal can belong to the first target network by using the wireless setting received from the communication device. As a result, the communication device can perform wireless communication of target data with the mobile terminal at a relatively high communication speed via the second type interface. On the other hand, when it is determined that the communication device currently does not belong to the target network, a state in which both the communication device and the mobile terminal belong to the second target network can be realized by the identification process. As a result, the communication device can perform communication of target data with the mobile terminal at a relatively high communication speed via the second type interface. According to this configuration, the communication device can appropriately perform wireless communication with the mobile terminal by performing a process according to whether the communication device currently belongs to the network.

[0008] The second type of interface may be an interface for the communication device to execute specific wireless communication. The specific wireless communication may be wireless communication executed between the communication device and the mobile terminal without going through an access point different from that between the communication device and the mobile terminal. The specific process may be a process for the communication device and the mobile terminal to execute specific wireless communication using the second type of interface. According to this configuration, the communication device can execute wireless communication of target data with the mobile terminal without going through an access point.

[0009] The communication device may be selectively operable in any one of a plurality of states including a master station state in which the communication device functions as a master station of the target wireless network, a slave station state in which the communication device functions as a slave station of the wireless network, and a device state different from the master station state and the slave station state. The communication device may be capable of executing a specific wireless communication via the target wireless network by operating in either the master station state or the slave station state in the target wireless network. In the second case, the communication execution unit may execute a specification process for newly constructing a second target network to which the communication device and the mobile terminal should belong, which is a second target network for executing the specific wireless communication. According to this configuration, when the communication device does not currently belong to the target network, the communication device may appropriately execute wireless communication of target data with the mobile terminal via the newly constructed second wireless network.

[0010] In the second case, the communication execution unit may execute a specific process including a process of determining that the communication device should operate in a master station state in the second target network, without executing a selective determination process of selectively determining whether the communication device should operate in a master station state or a slave station state in the second target network. According to this configuration, it is possible to newly construct a second wireless network in which the communication device necessarily operates in a master station state. As a result, the communication device can appropriately perform wireless communication of target data with the mobile terminal by operating in a master station state in the newly constructed second wireless network.

[0011] The control unit may further include a receiving unit that receives specific information from the mobile terminal using the first type of interface. In the second case, in a specific case where the mobile terminal currently belongs to the second target network, the communication execution unit may execute a specific process for making the communication device belong to the second target network using a specific wireless setting included in the specific information, which is a specific wireless setting for the communication device to belong to the second target network. According to this configuration, the communication device can belong to the second target network to which the mobile terminal currently belongs. As a result, the communication device can appropriately execute wireless communication of target data with the mobile terminal via the second target network.

[0012] The communication device may be capable of performing specific wireless communication between the communication device and the mobile terminal using the second type of interface without going through an access point different from that between the communication device and the mobile terminal. The communication execution unit may perform a specific process for making the communication device belong to a second target network using the specific wireless setting in a specific case when the specific wireless setting is included in the specific information. The communication execution unit may perform a specific process for newly constructing a second target network to which the communication device and the mobile terminal should belong, which is a second target network for the communication device to perform specific wireless communication and to which the communication device and the mobile terminal should belong, in a specific case when the specific wireless setting is not included in the specific information. According to this configuration, the communication device may belong to the second target network to which the mobile terminal currently belongs when a specific wireless setting for belonging to the second target network to which the mobile terminal currently belongs is acquired. As a result, the communication device may appropriately perform wireless communication of target data with the mobile terminal via the second target network. On the other hand, the communication device may newly construct a second target network to which the specific wireless communication should be performed in a case where the specific wireless setting is not acquired. As a result, the communication device can properly perform wireless communication of the target data with the mobile terminal via the second target network.

[0013] The communication device may be selectively operable in any one of a plurality of states including a master station state in which the communication device functions as a master station of the target wireless network, a slave station state in which the communication device functions as a slave station of the target wireless network, and a device state different from the master station state and the slave station state. The communication device may be capable of performing a specific wireless communication via the wireless network by using a second type of interface in the target wireless network by operating in either the master station state or the slave station state. The communication device may further be capable of performing another wireless communication via an access point between the communication device and the mobile terminal by using the second type of interface. The communication execution unit may execute a transmission process of transmitting, to the mobile terminal, wireless settings for the mobile terminal to belong to the first target network, via the first type of interface, in a first case in which the communication device currently belongs to a first target network for performing another wireless communication. The communication execution unit may execute a transmission process to transmit wireless settings for the mobile terminal to belong to the first target network via the first type of interface in a first case in which the communication device currently belongs to a first target network for performing a specific communication and the communication device operates in a master station state in the first target network. The communication execution unit may not execute the transmission process in a first case in which the communication device currently belongs to the first target network by performing a specific communication and the communication device operates in a slave station state in the first target network. According to this configuration, when the communication device currently belongs to a first target network for performing another wireless communication, the communication device may execute communication of target data with the mobile terminal at a relatively high communication speed via the second type of interface. Furthermore, when the communication device operates in a master station state in the first target network, the communication device may appropriately execute communication of target data with the mobile terminal via the first target network to which the communication device currently belongs. On the other hand, when the communication device is operating as a slave station in the first wireless network, the communication device can inhibit the mobile terminal from joining the first wireless network.

[0014] The communication execution unit may execute the transmission process in the first case when the mobile terminal does not currently belong to the first target network. The communication execution unit may not execute the transmission process in the first case when the mobile terminal currently belongs to the first target network. According to this configuration, the communication device does not need to execute the transmission process when both the communication device and the mobile terminal currently belong to the first target network. This allows the communication device to execute communication of target data with the mobile terminal via the first target network without executing the transmission process.

[0015] The control unit may further include a receiving unit that receives specific information from the mobile terminal using the first type of interface. The determination unit may further determine whether or not the mobile terminal currently belongs to a first target network using the specific information. The communication execution unit may execute a transmission process when it is determined in the first case that the mobile terminal currently does not belong to the first target network. The communication execution unit may not execute a transmission process when it is determined in the first case that the mobile terminal currently belongs to the first target network. According to this configuration, the communication device can appropriately determine whether or not the mobile terminal currently belongs to the first target network.

[0016] In addition, a control method for implementing the above-mentioned communication device, a computer program, and a computer-readable recording medium storing the computer program are also novel and useful. Also, a communication system including the above-mentioned communication device and a mobile terminal is also novel and useful. [Brief description of the drawings]

[0017] [Figure 1] 1 shows the configuration of a communication system. [Diagram 2] 4 shows a flowchart of a communication process executed by a multi-function device according to a first embodiment. [Diagram 3]FIG. 2 shows a sequence diagram for explaining the processing executed by each device in a first situation. [Figure 4] FIG. 11 is a sequence diagram for explaining the processing executed by each device in a second situation. [Diagram 5] FIG. 11 is a sequence diagram for explaining the processing executed by each device in a third situation. [Figure 6] FIG. 13 is a sequence diagram for explaining the processing executed by each device in a fourth situation. [Figure 7] FIG. 13 is a sequence diagram for explaining the processing executed by each device in a fifth situation. [Figure 8] 13 shows a flowchart of a communication process executed by a multi-function device according to a second embodiment. [Figure 9] FIG. 13 is a sequence diagram for explaining the processing executed by each device in a sixth situation. [Figure 10] 13 shows a flowchart of a communication process executed by a multi-function device according to a third embodiment. [Figure 11] FIG. 13 is a sequence diagram for explaining the processing executed by each device in a seventh situation. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0018] (First Example) (Communication System Configuration) As shown in Fig. 1, the communication system 2 includes a multi-function device (hereinafter referred to as "MFP" (short for Multi-Function Peripheral)) 10, a mobile terminal 50, an access point (hereinafter referred to as "AP") 6, and a PC 8. The MFP 10 and the mobile terminal 50 are capable of performing short-distance wireless communication. The short-distance wireless communication is wireless communication according to the NFC method. In this embodiment, wireless communication according to the NFC method is performed based on the international standard ISO / IEC 21481 or 18092.

[0019] Moreover, the MFP 10 can perform wireless communication according to the WiFi Direct method described below. Hereinafter, WiFi Direct is referred to as "WFD." In WFD, wireless communication is performed based on the IEEE (The Institute of Electrical and Electronics Engineers, Inc.) 802.11 standard and standards equivalent thereto (e.g., 802.11a, 11b, 11g, 11n, etc.). The NFC method and the WFD method (hereinafter referred to as the "WFD method") are different wireless communication methods (i.e., wireless communication standards). Also, the communication speed of wireless communication according to the WFD method is faster than the communication speed of wireless communication according to the NFC method.

[0020] For example, the MFP 10 can build a WFD network by establishing a connection with the mobile terminal 50 (hereinafter referred to as a "WFD connection") according to the WFD method. Similarly, the MFP 10 can build a WFD network by establishing a WFD connection with the PC 8.

[0021] The PC 8, the MFP 10, and the mobile terminal 50 can further perform wireless communication according to a normal Wi-Fi (e.g., IEEE802.11) system that is different from the WFD system. Generally speaking, wireless communication according to normal Wi-Fi is wireless communication in which the AP 6 is used, and wireless communication according to the WFD system is wireless communication in which the AP 6 is not used. For example, the MFP 10 can belong to a normal Wi-Fi network by establishing a connection with the AP 6 according to normal Wi-Fi (hereinafter referred to as a "normal Wi-Fi connection"). The MFP 10 can perform wireless communication with other devices (e.g., the PC 8, the mobile terminal 50) that belong to the normal Wi-Fi network via the AP 6. Note that the NFC system and the normal Wi-Fi system (hereinafter referred to as the "normal Wi-Fi system") are different wireless communication systems (i.e., wireless communication standards). In addition, the communication speed of normal Wi-Fi is faster than the communication speed of NFC.

[0022] (WFD) WFD is a standard established by the Wi-Fi Alliance. WFD is described in the "Wi-Fi Peer-to-Peer (P2P) Technical Specification Version 1.1" created by the Wi-Fi Alliance.

[0023] As described above, the PC 8, the MFP 10, and the mobile terminal 50 are each capable of wireless communication according to the WFD system. Hereinafter, a device capable of wireless communication according to the WFD system is referred to as a "WFD-compatible device." In the WFD standard, three states are defined for a WFD-compatible device: a Group Owner state (hereinafter referred to as a "G / O state"), a client state, and a device state. A WFD-compatible device can selectively operate in one of the above three states.

[0024] A WFD network is made up of G / O status devices and client status devices. In a WFD network, there can be only one G / O status device, but there can be one or more client status devices. A G / O status device manages one or more client status devices. Specifically, a G / O status device generates a management list that describes the identification information (i.e., MAC address) of one or more client status devices. When a client status device newly joins the WFD network, a G / O status device adds the identification information of the device to the management list, and when a client status device leaves the WFD network, the G / O status device deletes the identification information of the device from the management list.

[0025] A device in the G / O state can execute wireless communication of target data (e.g., data including information on the network layer of the OSI reference model (print data, scan data, etc.)) with a device registered in the management list, i.e., a device in the client state (i.e., a device belonging to the WFD network). However, a device in the G / O state can execute wireless communication of data for an unregistered device not registered in the management list to belong to the WFD network (e.g., data not including information on the network layer (physical layer data such as a Probe Request signal and a Probe Response signal)), but cannot execute wireless communication of the target data. For example, an MFP 10 in the G / O state can wirelessly receive print data from a portable terminal 50 registered in the management list (i.e., a portable terminal 50 in the client state), but cannot wirelessly receive print data from a device not registered in the management list.

[0026] Furthermore, a device in the G / O state can relay wireless communication of target data (print data, scan data, etc.) between multiple devices in the client state. For example, when a portable terminal 50 in the client state needs to wirelessly transmit print data to another printer in the client state, the portable terminal 50 first wirelessly transmits the print data to the MFP 10 in the G / O state. In this case, the MFP 10 wirelessly receives the print data from the portable terminal 50 and wirelessly transmits the print data to the other printer. That is, a device in the G / O state can execute the function of an AP of a wireless network.

[0027] A WFD-compatible device that does not belong to a WFD network (i.e., a device that is not registered in the management list) is a device in device state. A device in device state can perform wireless communication of data (physical layer data such as a probe request signal and a probe response signal) required to belong to a WFD network, but cannot perform wireless communication of target data (print data, scan data, etc.) via the WFD network.

[0028] In the following, devices that are not capable of wireless communication according to the WFD method but are capable of wireless communication according to normal Wi-Fi are referred to as "non-WFD compatible devices." "Non-WFD compatible devices" can also be called "legacy devices." Non-WFD compatible devices cannot operate in the G / O state. Devices in the G / O state can write the identification information of non-WFD compatible devices in the management list.

[0029] (MFP10 configuration) The MFP 10 comprises an operation unit 12, a display unit 14, a print execution unit 16, a scan execution unit 18, a wireless LAN interface (hereinafter, the interface will be referred to as "I / F") 20, an NFC I / F 22, and a control unit 30. The operation unit 12 comprises a plurality of keys. A user can input various instructions to the MFP 10 by operating the operation unit 12. The display unit 14 is a display for displaying various information. The print execution unit 16 is a printing mechanism such as an inkjet type or a laser type. The scan execution unit 18 is a scanning mechanism such as a CCD or a CIS.

[0030] The wireless LAN I / F 20 is an interface for the control unit 30 to execute wireless communication according to the WFD method and wireless communication according to normal Wi-Fi. The wireless LAN I / F 20 is physically one interface. However, the wireless LAN I / F 20 is assigned both a MAC address used in wireless communication according to the WFD method (hereinafter referred to as a "MAC address for WFD") and a MAC address used in wireless communication according to normal Wi-Fi (hereinafter referred to as a "MAC address for normal Wi-Fi"). More specifically, the wireless LAN I / F 20 is assigned a MAC address for normal Wi-Fi in advance. The control unit 30 generates a MAC address for WFD using the MAC address for normal Wi-Fi and assigns the MAC address for WFD to the wireless LAN I / F 20. The MAC address for WFD is different from the MAC address for normal Wi-Fi. Therefore, the control unit 30 can simultaneously perform both wireless communication according to the WFD method and wireless communication according to normal Wi-Fi via the wireless LAN I / F 20. As a result, a situation can arise in which the MFP 10 belongs to both the WFD network and the normal Wi-Fi network.

[0031] Note that a G / O state device can describe in the management list not only the identification information of WFD-compatible devices in the client state, but also the identification information of WFD-incompatible devices. That is, a G / O state device can establish a WFD connection with a WFD-incompatible device as well. Generally speaking, a WFD connection is a wireless connection in which the WFD MAC address of the MFP 10 is used. Also, a WFD network is a wireless network in which the WFD MAC address of the MFP 10 is used. Similarly, a normal Wi-Fi connection is a wireless connection in which the normal Wi-Fi MAC address of the MFP 10 is used. Also, a normal Wi-Fi network is a wireless network in which the normal Wi-Fi MAC address of the MFP 10 is used.

[0032] A user can change the setting of the wireless LAN I / F 20 by operating the operation unit 12 to either a mode in which wireless communication according to the WFD method using the wireless LAN I / F 20 can be performed (hereinafter referred to as a "WFD=ON mode") or a mode in which wireless communication according to the WFD method using the wireless LAN I / F 20 cannot be performed (hereinafter referred to as a "WFD=OFF mode"). The mode setting unit 46 sets either the WFD=ON mode or the WFD=OFF mode according to the user's operation. Specifically, the mode setting unit 46 stores in the memory 34 a mode value representing the mode set by the user.

[0033] In addition, in the WFDI / F=OFF mode, the control unit 30 cannot execute various processes according to the WFD method (for example, a process for setting the MFP 10 to a spontaneous G / O mode, which will be described later, G / O negotiation, etc.). In the WFDI / F=ON state, the memory 34 stores a value indicating the current state of the MFP 10 regarding WFD (any of the G / O state, the client state, and the device state).

[0034] The NFC I / F 22 is an interface for the control unit 30 to execute wireless communication according to the NFC system. The NFC I / F 22 is configured on a chip that is physically different from the W-Fi I / F 20.

[0035] Note that the communication speed of the wireless communication via the wireless LAN I / F 20 (for example, a maximum communication speed of 11 to 454 Mbps) is faster than the communication speed of the wireless communication via the NFC I / F 22 (for example, a maximum communication speed of 100 to 424 Kbps). Furthermore, the carrier frequency (for example, 2.4 GHz band, 5.0 GHz band) in the wireless communication via the wireless LAN I / F 20 is different from the carrier frequency (for example, 13.56 MHz band) in the wireless communication via the NFC I / F 22. Furthermore, when the distance between the MFP 10 and the portable terminal 50 is approximately 10 cm or less, the control unit 30 can execute wireless communication with the portable terminal 50 according to the NFC method via the NFC I / F 22. On the other hand, even if the distance between the MFP 10 and the portable terminal 50 is 10 cm or less or 10 cm or more (for example, up to about 100 m), the control unit 30 can execute wireless communication according to the WFD method and wireless communication according to normal Wi-Fi with the portable terminal 50 via the wireless LAN I / F 20. That is, the maximum distance over which the MFP 10 can execute wireless communication with a communication destination device (for example, the portable terminal 50) via the wireless LAN I / F 20 is greater than the maximum distance over which the MFP 10 can execute wireless communication with the communication destination device via the NFC I / F 22.

[0036] The control unit 30 includes a CPU 32 and a memory 34. The CPU 32 executes various processes in accordance with programs stored in the memory 34. The functions of each of the units 40 to 46 are realized by the CPU 32 executing the processes in accordance with the programs.

[0037] The memory 34 is composed of a ROM, a RAM, a hard disk, etc. The memory 34 stores the above programs executed by the CPU 32. The memory 34 includes a work area 38. When the MFP 10 currently belongs to a WFD network, the work area 38 stores information indicating that the MFP 10 currently belongs to the WFD network and wireless settings (including an authentication method, an encryption method, a password, an SSID (Service Set Identifier), and a BSSID (Basic Service Set Identifier) ​​of the wireless network) for executing communication of target data (e.g., print data) via the WFD network. When the MFP 10 currently belongs to a normal Wi-Fi network, the work area 38 stores information indicating that the MFP 10 currently belongs to the normal Wi-Fi network and wireless settings for executing communication of target data via the normal Wi-Fi network. The SSID of the WFD network is a network identifier for identifying the WFD network, and the SSID of the normal Wi-Fi network is a network identifier for identifying the normal Wi-Fi network. The BSSID of a WFD network is an identifier unique to a device in G / O state (e.g., the MAC address of a device in G / O state), whereas the BSSID of a normal Wi-Fi network is an identifier unique to an AP (e.g., an AP-specific identifier).

[0038] The work area 38 further stores a value indicating the current WFD state (any of the G / O state, client state, and device state) when the MFP 10 is operating according to the WFD method. The work area 38 further stores a mode value indicating the WFD=ON mode or a mode value indicating the WFD=OFF mode.

[0039] The user can set the MFP 10 to the spontaneous G / O mode by operating the operation unit 12. The spontaneous G / O mode is a mode in which the MFP 10 maintains operation in the G / O state. The work area 38 in the memory 34 further stores a value indicating whether the MFP 10 is set to the spontaneous G / O mode. As will be described in detail later, when a WFD-compatible device in the device state establishes a WFD connection with another WFD-compatible device in the device state, the MFP 10 normally executes G / O negotiation to selectively determine whether it should operate in the G / O state or the client state. When the MFP 10 is set to the spontaneous G / O mode, the MFP 10 maintains operation in the G / O state without executing G / O negotiation.

[0040] (Configuration of mobile terminal 50) The portable terminal 50 is, for example, a mobile phone (e.g., a smartphone), a PDA, a notebook PC, a tablet PC, a portable music player, a portable video player, etc. The portable terminal 50 has two wireless interfaces, a wireless LAN I / F (i.e., an interface for WFD and normal Wi-Fi) and an NFC I / F. Therefore, the portable terminal 50 is capable of wireless communication with the MFP 10 using the wireless LAN I / F, and is also capable of wireless communication with the MFP 10 using the NFC I / F. The portable terminal 50 has an application program for causing the MFP 10 to execute a function (e.g., a print function, a scan function, etc.). Note that the application program may be installed in the portable terminal 50 from a server provided by a vendor of the MFP 10, or may be installed in the portable terminal 50 from a medium shipped together with the MFP 10.

[0041] Like the MFP 10, the mobile terminal 50 has a work area 58 in the memory 54. When the mobile terminal 50 currently belongs to a WFD network or a normal Wi-Fi network, the work area 58 stores wireless settings (including an authentication method, an encryption method, a password, and an SSID and BSSID of the wireless network) for performing communication via the network. Furthermore, when the mobile terminal 50 operates according to the WFD method, the work area 58 stores a state value representing the state of the mobile terminal 50 (i.e., any one of a G / O state, a client state, and a device state).

[0042] (PC8 configuration) PC8 has a wireless LAN I / F (i.e., an interface for WFD and normal Wi-Fi), but does not have an NFC I / F. Therefore, PC8 can communicate with MFP10 using the wireless LAN I / F, but cannot perform wireless communication according to the NFC method. PC8 has a driver program for causing MFP10 to execute processes (e.g., printing process, scanning process, etc.). Note that the driver program is usually installed in PC8 from a medium shipped together with MFP10. However, in a modified example, the driver program may be installed in PC8 from a server provided by the vendor of MFP10.

[0043] (AP6 Configuration) The AP6 is not a device in the G / O state of the WFD, but a normal access point called a wireless access point or a wireless LAN router. The AP6 can establish a normal Wi-Fi connection with a plurality of devices. This creates a normal Wi-Fi network including the AP6 and the plurality of devices. The AP6 receives data from one device among the plurality of devices belonging to the normal Wi-Fi network, and transmits the data to another device among the plurality of devices. That is, the AP6 relays communication between a pair of devices belonging to the normal Wi-Fi network.

[0044] The difference between a device in the WFD G / O state and a normal AP is as follows. That is, when a device in the WFD G / O state leaves the WFD network to which it currently belongs and newly belongs to another WFD network, it can operate in a state other than the G / O state (i.e., client state). In contrast, a normal AP (i.e., AP6) executes the function of relaying communication between a pair of devices, regardless of which normal Wi-Fi network the AP belongs to, and cannot operate in the client state.

[0045] (Communication processing performed by MFP10) The communication process executed by the MFP 10 will be described with reference to FIG. 2. When the MFP 10 is powered on, the control unit 30 executes the communication process. In S2, the receiving unit 40 monitors whether or not NFC information is received by performing wireless communication according to the NFC method. The receiving unit 40 receives the NFC information via the NFC I / F 22. Specifically, the receiving unit 40 monitors whether or not an NFC communication session is established between the MFP 10 and the mobile terminal 50. While the MFP 10 is powered on, the receiving unit 40 causes the NFC I / F 22 to transmit radio waves for detecting a device capable of performing wireless communication according to the NFC method.

[0046] The user of the portable terminal 50 starts an application program. The user operates the portable terminal 50 to cause the portable terminal 50 to generate NFC information including a process execution instruction (e.g., a print instruction, a scan instruction) indicating a process to be executed by the MFP 10. The NFC information further includes the SSID and BSSID of the wireless network to which the portable terminal 50 currently belongs, when the portable terminal 50 currently belongs to the wireless network. Note that the case where the portable terminal 50 currently belongs to the wireless network refers to the case where at least one of a WFD connection and a normal Wi-Fi connection is established between the portable terminal 50 and another device (e.g., the AP 6, the MFP 10).

[0047] When the user brings the portable terminal 50 closer to the MFP 10 so that the distance between the portable terminal 50 and the MFP 10 becomes smaller than the distance at which radio waves can reach each other (for example, 10 cm), the portable terminal 50 receives the radio waves from the MFP 10 and transmits a response radio wave to the MFP 10. As a result, the control unit 30 receives the response radio wave from the portable terminal 50 and establishes an NFC communication session. When the NFC communication session is established, the portable terminal 50 transmits the generated NFC information to the MFP 10.

[0048] When the NFC information is received (YES in S2), in S4, the determination unit 42 determines whether the MFP 10 currently belongs to a network. Specifically, when at least one of information indicating that the MFP 10 currently belongs to a WFD network and information indicating that the MFP 10 currently belongs to a normal Wi-Fi network is stored in the work area 38, the determination unit 42 determines that the MFP 10 currently belongs to a wireless network (YES in S4) and proceeds to S6. On the other hand, when neither information indicating that the MFP 10 currently belongs to a WFD network nor information indicating that the MFP 10 currently belongs to a normal Wi-Fi network is stored in the work area 38, the determination unit 42 determines that the MFP 10 currently does not belong to a wireless network (NO in S4) and proceeds to S8.

[0049] In S6, the determination unit 42 checks whether the portable terminal 50 currently belongs to the network to which the MFP 10 currently belongs. Specifically, the determination unit 42 first determines whether the SSID and BSSID of the network to which the portable terminal 50 currently belongs are included in the NFC information. If the SSID and BSSID are not included in the NFC information, the determination unit 42 determines that the portable terminal 50 does not currently belong to the network to which the MFP 10 currently belongs (NO in S6). With this configuration, the MFP 10 can appropriately determine that the portable terminal 50 does not currently belong to the network to which the MFP 10 currently belongs. If the SSID and BSSID of the network to which the portable terminal 50 currently belongs are included in the NFC information, the determination unit 42 determines whether the SSID and BSSID included in the wireless setting stored in the work area 38 match the SSID and BSSID included in the NFC information.

[0050] If both the SSID and the BSSID match, it is determined that the mobile terminal 50 currently belongs to the network to which the MFP 10 currently belongs (YES in S6), and the process proceeds to S7. On the other hand, if at least one of the SSID and the BSSID does not match, it is determined that the mobile terminal 50 does not currently belong to the network to which the MFP 10 currently belongs (NO in S6), and the process proceeds to S8. With this configuration, the MFP 10 can appropriately determine whether or not the mobile terminal 50 currently belongs to the network to which the MFP 10 currently belongs. In addition, in S6, the determination unit 42 determines whether or not the SSIDs match, and also determines whether or not the BSSIDs match. This allows the determination unit 42 to determine whether or not the MFP 10 and the mobile terminal 50 belong to the same wireless network established by the same AP. More specifically, one AP may use multiple SSIDs to establish multiple wireless networks. Therefore, when the BSSIDs match but the SSIDs do not match, there is a risk that the MFP 10 and the portable terminal 50 belong to different wireless networks built by the same AP. In this embodiment, by determining whether or not both the SSID and the BSSID match, it is possible to more reliably determine whether or not the MFP 10 and the portable terminal 50 belong to the same wireless network. In addition, in a modified example, it is not necessary to determine whether or not the SSIDs match in S6. As a result, even if the MFP 10 and the portable terminal 50 belong to wireless networks built by different access points, if the SSIDs match, it can be determined that the MFP 10 and the portable terminal 50 belong to the same wireless network.

[0051] If the portable terminal 50 currently belongs to the network to which the MFP 10 currently belongs, the MFP 10 and the portable terminal 50 can communicate with each other via the network to which they currently belong. That is, the portable terminal 50 can perform wireless communication with the MFP 10 using the wireless settings currently stored in the work area 58. In S7, the control unit 30 transmits, via the NFC I / F 22, setting change unnecessary information indicating that data communication can be performed without changing the wireless settings of the portable terminal 50, and proceeds to S20. The setting change unnecessary information includes the IP address of the MFP 10.

[0052] In S8, the judgment unit 42 judges whether or not the WFD=ON mode is set. If the mode value stored in the memory 34 is a value representing the WFD=ON mode, the judgment unit 42 judges YES in S8 and proceeds to S10. On the other hand, if the mode value stored in the memory 34 is a value representing the WFD=OFF mode, the judgment unit 42 judges NO in S8 and proceeds to S9.

[0053] In S9, the communication execution unit 44 changes the mode value stored in the memory 34, thereby changing the WFD=OFF mode to the WFD=ON mode, and proceeds to S15. The communication execution unit 44 further stores in the memory 34 setting change information indicating that the mode value has been changed.

[0054] In S10, the determination unit 42 determines whether the MFP 10 is operating in a client state in the wireless network to which the MFP 10 currently belongs. Specifically, the determination unit 42 determines that the MFP 10 is operating in a client state when the state value stored in the work area 38 is a value that represents the client state (YES in S10). On the other hand, the determination unit 42 determines that the MFP 10 is not operating in a client state when the state value stored in the work area 38 is not a value that represents the client state (NO in S10). If YES in S10, proceed to S14.

[0055] On the other hand, if NO in S10, in S12, the judgment unit 42 judges whether or not the MFP 10 is operating in a G / O state in the wireless network to which it currently belongs. Specifically, if the status value stored in the work area 38 is a value that indicates the G / O state, the judgment unit 42 judges that the MFP 10 is operating in a G / O state (YES in S12). On the other hand, if the status value stored in the work area 38 is not a value that indicates the G / O state, the judgment unit 42 judges that the MFP 10 is not operating in a G / O state (i.e., the MFP 10 is in a device state) (NO in S12). If YES in S12, proceed to S13, and if NO in S12, proceed to S15.

[0056] In S13, the judgment unit 42 judges whether the number of devices other than the MFP 10 included in the WFD network in which the MFP 10 is operating in the G / O state (i.e., devices having established connections with the MFP 10) is less than a predetermined maximum number of clients. The judgment unit 42 judges YES in S13 if the number of pieces of device identification information stored in the management list is less than the maximum number of clients, and judges NO in S13 if the numbers are equal. If YES in S13, the process proceeds to S16, and if NO in S13, the process proceeds to S14.

[0057] In S14, the communication execution unit 44 uses the NFC I / F 22 to transmit communication NG information indicating that communication between the MFP 10 and the portable terminal 50 is currently not possible to be executed to the portable terminal 50, and ends the communication process.

[0058] In S15, the communication execution unit 44 sets the MFP 10 to the spontaneous G / O mode. The spontaneous G / O mode is a mode in which the MFP 10 maintains its operation in the G / O state. Thus, although a WFD network is not constructed at the stage of S15, the MFP 10 is set to the G / O state. When the MFP 10 is set to the G / O state, the communication execution unit 44 prepares wireless settings (SSID, BSSID, authentication method, encryption method, password, etc.) for a WFD-compatible device and / or a WFD-incompatible device to perform wireless communication with the MFP 10 operating in the G / O state via the WFD network. With this configuration, even if a device (the mobile terminal 50 in this embodiment) that receives the wireless settings from the MFP 10 is a WFD-compatible device or a WFD-incompatible device, the MFP 10 can perform wireless communication with the device that receives the wireless settings. Generally, when MFP10 currently belongs to a network according to a first wireless communication method (or wireless communication standard, or wireless communication protocol), communication execution unit 44 transmits to communication execution unit 44 wireless settings for belonging to the network, and for mobile terminal 50 to operate according to a second wireless communication method (or wireless communication standard, or wireless communication protocol) that is different from the first wireless communication method (or wireless communication standard, or wireless communication protocol).

[0059] The authentication method and encryption method are determined in advance. The communication executing unit 44 generates a password. The SSID may be generated by the communication executing unit 44 when generating the password, or may be determined in advance. The BSSID is the MAC address of the MFP 10. At this stage, the management list managed by the MFP 10 does not describe identification information of devices connected to devices in the G / O state.

[0060] In S16, the communication execution unit 44 transmits the prepared wireless settings to the portable terminal 50 using the NFC I / F 22. When the process of S16 is executed after the process of S15, the communication execution unit 44 transmits the wireless settings prepared at the stage (S15) when the spontaneous G / O mode is set to the portable terminal 50. When the process of S16 is executed after the process of S13, the communication execution unit 44 transmits the wireless settings prepared at the stage when the WFD network in which the MFP 10 operates in the G / O state is established to the portable terminal 50 using the NFC I / F 22.

[0061] Next, in S18, the communication execution unit 44 establishes a WFD connection between the MFP 10 and the portable terminal 50 using the wireless LAN I / F 20. When the portable terminal 50 receives the wireless setting of the MFP 10 operating in the G / O state from the MFP 10, the portable terminal 50 stores the received wireless setting in the work area 58. Therefore, the portable terminal 50 executes wireless communication according to normal Wi-Fi. Next, the communication execution unit 44 executes wireless communication with the portable terminal 50, including an Authentication Request, an Authentication Response, an Association Request, an Association Response, and a 4-way handshake. In the process of the above wireless communication, various authentication processes such as SSID authentication, authentication of an authentication method and an encryption method, and password authentication are executed. If all authentications are successful, a wireless connection is established between the MFP 10 and the portable terminal 50.

[0062] If both the MFP 10 and the portable terminal 50 are in the device state, when a WFD connection is established between the MFP 10 and the portable terminal 50, one of the MFP 10 and the portable terminal 50 is determined as the G / O, and G / O negotiation is executed to determine the other of the MFP 10 and the portable terminal 50 as the client. However, at the stage when S16 is executed, it is determined that the MFP 10 is in the G / O state, so the communication execution unit 44 establishes a WFD connection with the portable terminal 50 without executing G / O negotiation.

[0063] In the process of S18, the communication execution unit 44 acquires the MAC address of the portable terminal 50 using the wireless LAN I / F 20. When the wireless connection is established, the control unit 30 further adds the MAC address of the portable terminal 50 to the management list. The MAC address of the portable terminal 50 is included in the NFC information. This allows the MFP 10 in the G / O state to execute communication of target data (print data, scan data, etc.) with the portable terminal 50 according to normal Wi-Fi. The target data includes data of the network layer, which is a layer higher than the physical layer of the OSI reference model. Therefore, the MFP 10 in the G / O state can execute wireless communication of the network layer with the portable terminal 50 in the client state.

[0064] Next, in S20, the communication execution unit 44 executes data communication processing with the portable terminal 50 via the wireless LAN I / F 20. The content of the data communication processing varies depending on the content of the processing execution instruction included in the NFC information. If the processing execution instruction is a print instruction, the communication execution unit 44 receives print data from the portable terminal 50 in the data communication processing. In this case, the control unit 30 causes the print execution unit 16 to execute a print processing using the received print data.

[0065] On the other hand, if the process execution instruction is a scan instruction, the control unit 30 causes the scan execution unit 18 to scan the document set in the scan execution unit 18 and generate scan data. Next, the communication execution unit 44 transmits the generated scan data to the mobile terminal 50.

[0066] Next, in S21, the communication execution unit 44 monitors whether a disconnection request for disconnecting the connection with the mobile terminal 50 is received from the mobile terminal 50 using the wireless LAN I / F 20. If the disconnection request is not received even after a predetermined period has elapsed (NO in S21), the process returns to S2. On the other hand, if a disconnection request is received from the mobile terminal 50 within a predetermined period after the data communication process of S20 is completed (YES in S21), the communication execution unit 44 disconnects the wireless connection with the mobile terminal 50. Specifically, the communication execution unit 44 erases the MAC address of the mobile terminal 50 from the management list. Next, in S22, the communication execution unit 44 determines whether the setting of the wireless LAN I / F 20 has been changed by the process of S9. Specifically, if the setting change information is stored in the memory 34, the communication execution unit 44 determines that the mode value indicating the WFD=OFF mode has been changed to the mode value indicating the WFD=ON mode in S9 (YES in S22), and proceeds to S23. On the other hand, if the setting change information is not stored in the memory 34, the communication execution unit 44 determines in S9 that the mode value indicating the WFD=OFF mode has not been changed to the mode value indicating the WFD=ON mode (NO in S22), and returns to S2.

[0067] In S23, the communication execution unit 44 determines whether or not an external device (e.g., PC 8) other than the portable terminal 50 currently belongs to the WFD network newly established in S18. Specifically, when the management list contains identification information other than the identification information of the portable terminal 50, the communication execution unit 44 determines that an external device currently belongs to the WFD network (YES in S23). In this case, the mode value is not changed, and the process returns to S2. With this configuration, it is possible to prevent the MFP 10 from leaving the WFD network when an external device currently belongs to the WFD network.

[0068] On the other hand, when the management list does not include identification information other than that of the mobile terminal 50, the communication execution unit 44 determines that no external device currently belongs to the WFD network (NO in S23), and proceeds to S24. In S24, the communication execution unit 44 changes the mode value indicating the WFD=ON mode to the mode value indicating the WFD=OFF mode, and returns to S2. That is, in the communication process, when it is determined in S8 that the WFD=OFF mode is set, the WFD=OFF mode is changed to the WFD=ON mode in order to temporarily execute wireless communication with the mobile terminal 50 using the wireless LAN I / F 20 via the WFD network. Then, when the WFD=ON mode is changed to the WFD=OFF mode in S25, the WFD network established in S18 disappears. According to this configuration, when the mode value is changed from the mode value indicating the WFD=OFF mode to the mode value indicating the WFD=ON mode during the execution of the communication process, the mode value can be returned to the setting before the change.

[0069] (Effects of this embodiment) The effects of this embodiment in the first to fifth situations will be described with reference to Figures 3 to 7. Each of Figures 3 to 7 shows a corresponding process in the communication process of Figure 2.

[0070] (First situation) In the first situation shown in FIG. 3, the MFP 10 and the portable terminal 50 currently belong to the same WFD network or the same normal Wi-Fi network. In this situation, when NFC information is received from the portable terminal 50 using the NFC I / F 22, the MFP 10 determines in S4 that the MFP 10 currently belongs to the network (YES in S4). Next, in S6, the MFP 10 determines that the portable terminal 50 currently belongs to the network to which the MFP 10 currently belongs (YES in S6). In S7, the MFP 10 transmits setting change unnecessary information to the portable terminal 50 using the NFC I / F 22. When the portable terminal 50 receives the setting change unnecessary information, it transmits print data to the MFP 10 using the IP address included in the setting change unnecessary information and the wireless setting stored in the work area 58. The MFP 10 receives the print data using the wireless LAN I / F 20 (S20). When the MFP 10 receives the print data, it causes the print execution unit 16 to execute the print process.

[0071] In the sequence diagrams in this specification, wireless communication by the MFP 10 using the NFC I / F 22 (i.e., wireless communication according to the NFC method) and wireless communication by the MFP 10 using the wireless LAN I / F 20 (i.e., wireless communication according to the WFD method or normal Wi-Fi) are indicated by arrows. The arrows representing wireless communication using the wireless LAN I / F 20 are drawn thicker than the arrows representing wireless communication using the NFC I / F 22.

[0072] According to this configuration, when the MFP 10 determines that the portable terminal 50 currently belongs to the network to which the MFP 10 currently belongs, the MFP 10 can appropriately communicate print data between the MFP 10 and the portable terminal 50 via the network to which the MFP 10 currently belongs, without changing the wireless settings currently set in the MFP 10 and the portable terminal 50.

[0073] (Second situation) In the second situation shown in Fig. 4, the MFP 10 currently belongs to the WFD network. The MFP 10 operates in a G / O state in the WFD network. A PC 8 in a client state currently belongs to the WFD network. The portable terminal 50 does not currently belong to the wireless network to which the MFP 10 currently belongs. The portable terminal 50 may or may not currently belong to a wireless network other than the wireless network to which the MFP 10 currently belongs.

[0074] In this situation, when NFC information is received from the portable terminal 50 using the NFC I / F 22, the MFP 10 determines in S4 that the MFP 10 currently belongs to the network (YES in S4). Note that the NFC information includes the SSID and BSSID of the wireless network when the portable terminal 50 currently belongs to the wireless network, but does not include the SSID and BSSID of the wireless network when the portable terminal 50 does not currently belong to the wireless network. Next, in S6, the MFP 10 determines that the portable terminal 50 does not currently belong to the WFD network to which the MFP 10 currently belongs (YES in S6). In S12, the MFP 10 determines that the MFP 10 is in the G / O state (YES in S12). In this case, in S16, the MFP 10 transmits the wireless setting of the MFP 10 stored in the work area 38 and the IP address of the MFP 10 to the portable terminal 50 using the NFC I / F 22. When the portable terminal 50 receives the wireless setting, it stores the received wireless setting in the work area 58. Next, the MFP 10 and the portable terminal 50 establish a WFD connection (S18). This allows the portable terminal 50 to belong to the WFD network to which the MFP 10 currently belongs. The MFP 10 transmits the wireless setting, including the authentication method and encryption method of the MFP 10, to the portable terminal 50 using the NFC I / F 22. According to this configuration, the portable terminal 50 can perform the authentication process according to the authentication method and encryption method received from the MFP 10, and does not need to perform the process of confirming which authentication method and encryption method should be used. Therefore, the MFP 10 and the portable terminal 50 can establish a connection relatively quickly.

[0075] Next, the portable terminal 50 transmits print data to the MFP 10 using the wireless settings stored in the work area 58 and the IP address received in S16. The MFP 10 receives the print data using the wireless LAN I / F 20 (S20). Upon receiving the print data, the MFP 10 causes the print execution unit 16 to execute print processing. With this configuration, when the MFP 10 is operating in a G / O state in the WFD network, the MFP 10 can appropriately execute communication of print data with the portable terminal 50 via the WFD network to which the MFP 10 currently belongs.

[0076] (Third Situation) 5, the MFP 10 currently belongs to the WFD network. The MFP 10 operates in a client state in the WFD network. A PC 8 in a G / O state currently belongs to the WFD network, but the mobile terminal 50 does not currently belong to the WFD network. The mobile terminal 50 is in the same state as in the second situation.

[0077] In this situation, when NFC information is received from the portable terminal 50 using the NFC I / F 22, the MFP 10 determines in S4 that the MFP 10 currently belongs to a network (YES in S4). Next, in S6, the MFP 10 determines that the portable terminal 50 does not currently belong to the WFD network to which the MFP 10 currently belongs (NO in S6). The MFP 10 determines in S10 that the MFP 10 is in a client state (YES in S10). In this case, in S14, the MFP 10 transmits communication NG information to the portable terminal 50 using the NFC I / F 22.

[0078] In this case, the MFP 10 does not transmit the wireless settings stored in the work area 38 to the portable terminal 50. With this configuration, it is not necessary to provide the wireless settings of the PC 8 operating in the G / O state in the WFD network to the portable terminal 50. This makes it possible to prevent the portable terminal 50 from joining the WFD network. Furthermore, by receiving communication NG information from the MFP 10, the portable terminal 50 can inform the user of the portable terminal 50 that the MFP 10 will not communicate the target data with the portable terminal 50.

[0079] (The fourth situation) In the fourth situation shown in Fig. 6, the setting of the wireless LAN I / F 20 of the MFP 10 is set to WFD=ON mode, but the MFP 10 does not currently belong to a WFD network. That is, the MFP 10 operates in a device state. The MFP 10 does not currently belong to a normal Wi-Fi network either. The mobile terminal 50 is in the same state as in the second situation.

[0080] In this situation, when NFC information is received from the portable terminal 50 using the NFC I / F 22, the MFP 10 determines in S4 that the MFP 10 does not currently belong to a network (NO in S4). The MFP 10 also determines in S10 and S12 that the MFP 10 is neither in a G / O state nor in a client state (NO in both S10 and S12). In this case, in S15, the MFP 10 sets the MFP 10 to the spontaneous G / O mode without performing G / O negotiation.

[0081] Next, in S16, the MFP 10 transmits the wireless settings of the MFP 10 stored in the work area 38 (i.e., the wireless settings generated at the stage when the MFP 10 is set to the spontaneous G / O mode in S15) and the IP address of the MFP 10 to the portable terminal 50 using the NFC I / F 22. Upon receiving the wireless settings, the portable terminal 50 stores the received wireless settings in the work area 58. Next, the MFP 10 and the portable terminal 50 establish a WFD connection (S18). This allows the portable terminal 50 to belong to the WFD network in which the MFP 10 is operating in a G / O state.

[0082] Next, the portable terminal 50 transmits print data to the MFP 10 using the wireless settings stored in the work area 58 and the IP address received in S16. The MFP 10 receives the print data using the wireless LAN I / F 20 (S20). When the MFP 10 receives the print data, it causes the print execution unit 16 to execute the print process. With this configuration, the MFP 10 can newly construct a WFD network in which the MFP 10 operates as a G / O in the WFD network. This allows the MFP 10 to appropriately communicate print data with the portable terminal 50 via the newly constructed WFD network. Furthermore, since the MFP 10 necessarily operates as a G / O in the newly constructed WFD network, it can determine the authentication method and the like to be used in the WFD network.

[0083] (The fifth situation) 7, the MFP 10 has the wireless LAN I / F 20 set to WFD=OFF mode. The MFP 10 is not currently part of a network. The mobile terminal 50 is in the same state as the second state.

[0084] In this situation, when NFC information is received from the portable terminal 50 using the NFC I / F 22, the result is determined as NO in S4, as in the fourth situation. The MFP 10 determines in S8 that the WFD=OFF mode is set. In this case, the MFP 10 changes the WFD=OFF mode to the WFD=ON mode in S9. Next, the MFP 10 sets the MFP 10 to the spontaneous G / O mode in S15.

[0085] From here on, the process up to the printing process is the same as in the fourth situation. With this configuration, the same effects as in the fourth situation can be achieved. When the printing process is completed, the MFP10 determines that no external device currently belongs to the newly constructed WFD network (NO in S23), and changes from WFD=ON mode to WFD=OFF mode. With this configuration, if no external device belongs to the WFD network after communication of print data, it is possible to appropriately change from WFD=ON mode to WFD=OFF mode.

[0086] In this embodiment, the MFP 10 executes processing according to whether the MFP 10 currently belongs to the same network as the portable terminal 50, that is, whether the MFP 10 is able to communicate with the portable terminal 50, thereby enabling the MFP 10 to appropriately execute wireless communication of target data with the portable terminal 50 at a relatively high communication speed using the wireless LAN I / F 20. Furthermore, the MFP 10 can execute communication of target data with the portable terminal 50 via the WFD network, without going through an access point different from that between the MFP 10 and the portable terminal 50.

[0087] Furthermore, when the MFP10 is not able to communicate with the portable terminal 50 and the MFP10 currently belongs to a WFD network, the MFP10 can appropriately execute communication of target data with the portable terminal 50 via the WFD network to which the MFP10 currently belongs. Also, when the MFP10 does not currently belong to a WFD network, the MFP10 can appropriately execute communication of target data with the portable terminal 50 via a newly constructed WFD network.

[0088] (Correspondence) The MFP 10 is an example of a “communication device,” the NFC I / F 22 is an example of a “first type interface,” and the wireless LAN I / F 20 is an example of a “second type interface.” From the above explanation, the NFC I / F 22 (i.e., the “first type interface”) can be said to be an interface used for communication between the MFP 10 (i.e., the “communication device”) and the mobile terminal 50 in order to execute communication using the wireless LAN I / F 20 (i.e., the “second type interface”).

[0089] The AP 6 is an example of an “access point.” That is, an “access point” is a device that relays communication between a pair of devices that belong to a network to which the access point belongs, that is, a normal Wi-Fi network.

[0090] NFC information is an example of "specific information." G / O status is an example of "parent station status," and client status is an example of "child station status." When YES is determined in S4 of FIG. 2, the WFD network to which MFP10 belongs is an example of a "first target network," and the WFD network constructed by the processing of S15 to S18 of FIG. 2 is an example of a "second target network."

[0091] The case where YES is determined in S4 in FIG. 2 is an example of the "first case", and the case where NO is determined in S4 in FIG. 2 is an example of the "second case".

[0092] (Second Example) A difference from the first embodiment will be described. In this embodiment, when the portable terminal 50 currently belongs to a network, the portable terminal 50 transmits NFC information further including a password, an authentication method, and an encryption method as wireless settings stored in the work area 58 to the MFP 10.

[0093] In this embodiment, the communication process of FIG. 8 is executed instead of the communication process of FIG. 2. S2 to S24 of FIG. 8 are the same as the processes of S2 to S24 of FIG. 2. If NO in S4 (i.e., if the MFP 10 does not currently belong to a network), in S82, the determination unit 42 determines whether or not wireless settings are included in the NFC information received from the mobile terminal 52 via the NFC interface 22. If it is determined that wireless settings are included (YES in S82), in S83, setting change unnecessary information is transmitted to the mobile terminal 50 using the NFC I / F 22. Note that if NO in S4 (i.e., if the MFP 10 does not currently belong to a network), setting change unnecessary information including the MAC address of the MFP 10 is transmitted to the mobile terminal 50 in S83. On the other hand, if S4 is YES and S6 is NO (i.e., MFP 10 currently belongs to a network but MFP 10 and portable terminal 50 do not currently belong to the same network), in S83, setting change unnecessary information including the IP address of MFP 10 is transmitted to portable terminal 50. Next, in S84, communication execution unit 44 uses the wireless setting included in the NFC information to join the network to which portable terminal 50 belongs, and proceeds to S20.

[0094] On the other hand, if it is determined that the NFC information does not include wireless settings (NO in S82), the process proceeds to S8.

[0095] (Effects of this embodiment) The MFP 10 of the second embodiment can achieve the same effects as the MFP 10 of the first embodiment in situations 1 to 5. The effects of this embodiment in situation 6 will be described with reference to Fig. 9. Note that Fig. 9 shows the process corresponding to the communication process in Fig. 8.

[0096] (Sixth Situation) 9, the MFP 10 is not currently part of a network, whereas the mobile terminal 50 is currently part of a normal Wi-Fi network to which the AP 6 belongs.

[0097] In this situation, when NFC information is received from the portable terminal 50 via the NFC I / F 22, the MFP 10 determines that the MFP 10 currently belongs to the network (YES in S4). Next, in S82 of Fig. 8, the MFP 10 determines that the NFC information includes wireless settings for belonging to the network to which the portable terminal 50 currently belongs (YES in S82).

[0098] Next, in S83, the MFP 10 transmits the setting change unnecessary information to the portable terminal 50 using the NFC I / F 22. If the answer is NO in S4 (i.e., the MFP 10 does not currently belong to a network), the MFP 10 transmits the setting change unnecessary information including the MAC address of the MFP 10 to the portable terminal 50. If the answer is NO in S6 (i.e., the MFP 10 currently belongs to a network but the MFP 10 and the portable terminal 50 do not belong to the same network), the MFP 10 transmits the setting change unnecessary information including the IP address of the MFP 10 to the portable terminal 50.

[0099] The MFP 10 establishes a normal Wi-Fi connection with the AP 6 using the wireless settings included in the NFC information (S84). If the IP address of the MFP 10 is included in the setting change unnecessary information, the mobile terminal 50 specifies the IP address as the destination and transmits print data to the MFP 10 via the AP 6 (S20). If the MAC address of the MFP 10 is included in the setting change unnecessary information, the mobile terminal 50 identifies the IP address of the MFP 10 according to RARP (short for Reverse Address Resolution Protocol), and specifies the identified IP address as the destination and transmits print data to the MFP 10 via the AP 6 (S20).

[0100] According to this configuration, when the MFP 10 and the portable terminal 50 do not belong to the same network, the MFP 10 can appropriately execute communication of print data with the portable terminal 50 via the network to which the portable terminal 50 currently belongs.

[0101] (Correspondence) The network to which the mobile terminal 50 belongs is an example of a “second target network.” The case where YES is answered in S4 in Fig. 8 is an example of a “first case,” the case where NO is answered in S4 in Fig. 8 is an example of a “second case,” and the case where NO is answered in S4 in Fig. 8 and YES is answered in S82 is an example of a “specific case.”

[0102] (Third Example) Differences from the first embodiment will be described. In this embodiment, the communication process of FIG. 10 is executed instead of the communication process of FIG. 2. S2 to S12 and S15 to S24 of FIG. 10 are the same as the processes of S2 to S12 and S15 to S24 of FIG. 2. If NO in S8, that is, if the MFP 10 is not set to the WFD=ON mode, in S76, the determination unit 42 determines whether the MFP 10 currently belongs to a normal Wi-Fi network. If information indicating that the MFP 10 currently belongs to a normal Wi-Fi network is stored in the work area 38, the determination unit 42 determines that the MFP 10 currently belongs to a normal Wi-Fi network (YES in S76) and proceeds to S80. On the other hand, if information indicating that the MFP 10 belongs to a normal Wi-Fi network is not stored in the work area 38, the determination unit 42 determines that the MFP 10 currently does not belong to a normal Wi-Fi network (NO in S76) and proceeds to S9.

[0103] If the answer is YES in S12, that is, if the MFP 10 currently belongs to the WFD network and is operating in the WFD network in a G / O state, the process proceeds to S13. In S16, the communication execution unit 44 transmits the wireless settings of the MFP 10 stored in the work area 38 to the mobile terminal 50 via the NFC I / F 22, and then proceeds to S18. The wireless settings of the MFP 10 transmitted in S16 include a password.

[0104] Also, if it is determined as NO in S12, that is, if the MFP 10 is operating in the device state, the determination unit 42 executes the process of S78. The process of S78 is the same as the process of S76. If it is NO in S78, proceed to S15, and if it is YES in S78, proceed to S80.

[0105] In S80, the communication execution unit 44 transmits wireless settings for belonging to the normal Wi-Fi network stored in the work area 38, that is, wireless settings of the AP (for example, AP6) other than the password, to the mobile terminal 50 via the NFC interface 22, and proceeds to S20. When the mobile terminal 50 receives the wireless settings of the AP, the mobile terminal 50 prompts the user to specify a password. When the password is specified by the user, the mobile terminal 50 establishes a connection with the AP using the wireless settings received from the MFP 10 and the password specified by the user. This enables the mobile terminal 50 to wirelessly communicate with the MFP 10 via the AP. Note that if a connection between the mobile terminal 50 and the AP is not established, the MFP 10 cannot execute wireless communication with the mobile terminal 50. In this case, the control unit 30 returns to S2 without executing the processes of S20 to S24.

[0106] (Effects of this embodiment) The MFP 10 of the third embodiment can achieve the same effects as the MFP 10 of the first embodiment in situations 1 to 5. The effects of this embodiment in situation 7 will be described with reference to Fig. 11. Note that Fig. 11 shows the process corresponding to the communication process in Fig. 10.

[0107] (Situation 7) 11, the MFP 10 currently belongs to a normal Wi-Fi network. The MFP 10 is connected to an AP 6 in the normal Wi-Fi network. The mobile terminal 50 is in the same state as in the second state.

[0108] In this situation, when NFC information is received from the mobile terminal 50 using the NFC I / F 22, in S4, the MFP 10 determines that the MFP 10 currently belongs to a network (i.e., a normal Wi-Fi network) (YES in S4). Next, in S6, the MFP 10 determines that the mobile terminal 50 does not currently belong to the normal Wi-Fi network to which the MFP 10 currently belongs (NO in S6). In S76, the MFP 10 determines that it currently belongs to a normal Wi-Fi network (YES in S76). In this case, in S80, the MFP 10 transmits to the mobile terminal 50 the wireless settings of the AP 6 stored in the work area 38 that do not include a password, and the IP address of the MFP 10. With this configuration, it is not necessary to provide a password to the mobile terminal 50 and the user. As a result, when the mobile terminal 50 and the user do not know the password for joining the normal Wi-Fi network in which the AP 6 is used, it is possible to prevent the mobile terminal 50 from joining the normal Wi-Fi network.

[0109] When the portable terminal 50 receives the wireless setting, it receives the wireless setting and has the user specify a password, as in the tenth situation. Next, when the password is specified by the user, the portable terminal 50 establishes a normal Wi-Fi connection with the AP 6. This allows the portable terminal 50 to belong to the normal Wi-Fi network to which the MFP 10 currently belongs. The portable terminal 50 can transmit print data to the MFP 10 via the AP 6. When the portable terminal 50 belongs to the normal Wi-Fi network, it transmits print data to the MFP 10 by performing wireless communication via the AP 6 using the wireless setting stored in the work area 58 and the IP address of the MFP 10 received in S80.

[0110] Although not shown, even if the MFP 10 is currently operating in a device state (Yes in S8, NO in S10 and S12) and the MFP 10 belongs to a normal Wi-Fi network (YES in S78), the MFP 10 transmits to the mobile terminal 50 the wireless settings of the AP stored in the work area 38 that do not include a password.

[0111] According to this configuration, when the MFP 10 does not belong to the same network as the portable terminal 50, the MFP 10 can appropriately communicate print data with the portable terminal 50 via the normal Wi-Fi network to which the MFP 10 currently belongs.

[0112] (Correspondence) When it is determined that the answer is YES in S4 in Fig. 10, the non-WFD network to which the MFP 10 belongs is an example of a "first target network." When it is determined that the answer is YES in S4 in Fig. 10, it is an example of a "first case," and when it is determined that the answer is NO in S4 in Fig. 10, it is an example of a "second case."

[0113] Although specific examples of the present invention have been described above in detail, these are merely examples and do not limit the scope of the claims. The technology described in the claims includes various modifications and alterations of the specific examples exemplified above. Modifications of the above-mentioned embodiments are listed below.

[0114] (Modification) (1) In the first to third embodiments described above, when the MFP 10 receives NFC information (YES in S2), it determines whether it currently belongs to a network (S4), and if it is determined that it currently belongs to a network (YES in S4), it determines whether the MFP 10 and the portable terminal 50 currently belong to the same network (S6). However, the process of S6 may be omitted. That is, in the first and third embodiments, when the MFP 10 receives NFC information (YES in S2), it determines whether it currently belongs to a network (S4), and if it is determined that it currently belongs to a network (YES in S4), it may proceed to the process of S8 and onwards. Also, in the second embodiment, when it is determined that the MFP 10 currently belongs to a network (YES in S4), it may proceed to the process of S82 and onwards.

[0115] (2) The "communications device" is not limited to a multi-function device, but may be other devices having a first type interface and a second type interface (for example, a printer, a fax machine, a copier, a scanner, etc.).

[0116] (3) The MFP 10 may store an AP program for functioning as an access point. When the control unit 30 starts the AP program, the control unit 30 may store predetermined wireless settings in the work area 38. In S4 of FIG. 2, when the AP program is started, the determination unit 42 may determine that the MFP 10 is currently participating in a network (non-WFD network). In this modification, a normal Wi-Fi network established in a state in which the MFP 10 functions as an access point is an example of a "first target network."

[0117] (4) For example, in S15 of FIG. 2, the communication execution unit 44 may start an AP program instead of setting the MFP 10 to the spontaneous G / O mode. Next, the communication execution unit 44 may transmit the wireless setting stored in the work area 38 to the mobile terminal 50. Then, the communication execution unit 44 and the mobile terminal 50 may establish a connection using the wireless setting stored in advance in the work area 38. In this case, the MFP 10 may establish a normal Wi-Fi connection with the mobile terminal 50, and the MFP 10 may also build a normal Wi-Fi network. In this modification, the normal Wi-Fi network built in a state in which the MFP 10 functions as an access point is an example of a "second target network."

[0118] (5) The combination of the "first type interface" and the "second type interface" is not limited to the combination of NFC I / F and wireless LAN I / F. For example, when a wireless LAN I / F is adopted as the "second type interface", the "first type interface" may be an interface for performing infrared communication, an interface for performing Bluetooth (registered trademark), or an interface for performing Transfer Jet. Also, when an NFC I / F is adopted as the "first type interface", the "second type interface" may be an interface for performing wired communication, or an interface for performing Bluetooth (registered trademark). Generally speaking, it is sufficient that the communication speed of the communication via the second type interface is faster than the communication speed of the communication via the first type interface.

[0119] (6) The "first type interface" and the "second type interface" may be two physical interfaces (i.e., two separate chips) as in the above embodiment, or may be one physical interface (i.e., one chip that realizes two types of communication).

[0120] (7) In each of the above embodiments, the interface for performing wireless communication according to the WFD method and the interface for performing wireless communication according to normal Wi-Fi are one physical interface (wireless LAN I / F 20), but they may be multiple physical interfaces (i.e., two separate IC chips). In this modification, the multiple interfaces are an example of a "second type interface."

[0121] (8) In each of the above embodiments, in S15, the communication execution unit 44 sets the MFP 10 to the spontaneous G / O mode. However, when the mobile terminal 50 is capable of executing wireless communication according to the WFD, the communication execution unit 44 may transmit WFD connection start information indicating the start of the WFD connection to the mobile terminal 50 via the NFC interface 22. As a method for executing the wireless connection of the WFD, the wireless connection method of WPS (abbreviation of Wi-Fi Protected Setup) may be used. The wireless connection method of WPS includes the PBC (abbreviation of Push Button Configuration) method and the PIN (abbreviation of Personal Identification Number) code method. In this modification, the PBC code method will be described, but the technology of this modification is also applicable to the PIN code method. The WFD connection start information may include information indicating that the PBC code method is used as a method for executing the wireless connection of the WFD method. The WFD connection start information may further include the device ID (e.g., MAC address, serial number, etc.) of the MFP 10.

[0122] When the WFD connection start information is received, the mobile terminal 50 may determine whether or not the setting of the wireless LAN I / F of the mobile terminal 50 is a setting that allows wireless communication according to the WFD method. If the setting of the wireless LAN I / F is a setting that allows wireless communication according to the WFD method, the mobile terminal 50 may maintain the setting of the wireless LAN I / F, and if the setting of the wireless LAN I / F is not a setting that allows wireless communication according to the WFD method, the mobile terminal 50 may change the setting of the wireless LAN I / F to a setting that allows wireless communication according to the WFD method.

[0123] Next, the communication executing unit 44 may search for the mobile terminal 50. Specifically, the communication executing unit 44 may sequentially execute a Scan process, a Listen process, and a Search process. The Scan process is a process for searching for devices in a G / O state that exist around the MFP 10. Specifically, in the Scan process, the communication executing unit 44 may sequentially transmit a Probe Request signal wirelessly using 13 channels, 1ch to 13ch. Note that this Probe Request signal may include P2P (Peer 2 Peer) information indicating that the MFP 10 is capable of executing the WFD function.

[0124] For example, when a WFD-compatible device in a G / O state (hereinafter referred to as a "specific G / O device") exists around the MFP 10, the specific G / O device may have previously determined to use one of channels 1ch to 13ch. Therefore, the specific G / O device may wirelessly receive a Probe Request signal from the MFP 10. In this case, the specific G / O device may wirelessly transmit a Probe Response signal to the MFP 10. This Probe Response signal may include P2P information indicating that the specific G / O device is capable of executing the WFD function and information indicating that the specific G / O device is in a G / O state. As a result, the communication execution unit 44 can find the specific G / O device. Note that the above-mentioned Probe Response signal may further include a device name of the specific G / O device, information indicating the model of the specific G / O device (e.g., a mobile terminal, a PC, etc.), and a MAC address of the specific G / O device. As a result, the communication execution unit 44 can obtain information on the specific G / O device.

[0125] When the device ID (e.g., MAC address, serial number, etc.) of the specific G / O device included in the Probe Response signal matches the device ID of the mobile terminal 50 included in the NFC information, the communication executing unit 44 can identify that the specific G / O device is the mobile terminal 50. That is, when the mobile terminal 50 currently belongs to the WFD network and operates in a G / O state in the WFD network, the communication executing unit 44 can discover the mobile terminal 50 by a Scan process.

[0126] For example, when a WFD-compatible device in a device state (hereinafter referred to as a "specific device") exists around the MFP 10, the specific device may have previously determined to use one of channels 1ch, 6ch, and 11ch. Therefore, the specific device may also wirelessly receive a Probe Request signal from the MFP 10. In this case, the specific device may wirelessly transmit a Probe Response signal to the MFP 10. However, this Probe Response signal may include information indicating that the device is in a device state, and may not include information indicating that the device is in a G / O state. Furthermore, a device in a client state may not wirelessly transmit a Probe Response signal to the MFP 10 even if it wirelessly receives a Probe Request signal from the MFP 10. The communication execution unit 44 can discover the portable terminal 50 in the Scan process, whether the portable terminal 50 is in a G / O state or a device state.

[0127] The Listen process is a process for responding to a Probe Request signal. A specific device can wirelessly transmit a Probe Request signal in a Search process described later. That is, when the current state of the mobile terminal 50 is a device state, the mobile terminal 50 may wirelessly transmit a Probe Request signal periodically. This Probe Request signal may include the device ID (e.g., MAC address, serial number, etc.) of the mobile terminal 50.

[0128] When the device ID of the specific device included in the Probe Request signal matches the device ID of the mobile terminal 50 included in the NFC information, the communication executor 44 can identify that the specific device is the mobile terminal 50. That is, when the mobile terminal 50 is operating in a device state, the communication executor 44 can discover the mobile terminal 50 by a Listen process. When the communication executor 44 receives a Probe Request signal from the mobile terminal 50, it may wirelessly transmit a Probe Response signal.

[0129] In the Search process, the communication execution unit 44 may wirelessly transmit a Probe Request signal sequentially using three channels, 1ch, 6ch, and 11ch. As a result, the communication execution unit 44 may wirelessly receive a Probe Response signal from the specific device. This Probe Response signal may include P2P information indicating that the specific device is capable of executing the WFD function, information indicating that the specific device is in a device state, and a device ID (e.g., a MAC address, a serial number, etc.) of the specific device. When the current state of the mobile terminal 50 is in a device state, the mobile terminal 50 may wirelessly transmit a Probe Response signal as a response to the Probe Request signal transmitted from the MFP 10.

[0130] When the device ID of the specific device included in the Probe Response signal matches the device ID of the mobile terminal 50 included in the NFC information, the communication executing unit 44 can identify that the specific device is the mobile terminal 50. That is, when the mobile terminal 50 currently belongs to the WFD network and operates in a device state in the WFD network, the communication executing unit 44 can discover the mobile terminal 50 by a Search process.

[0131] When a portable terminal 50 is discovered, the MFP 10 may use the wireless LAN I / F 20 to perform G / O negotiation with the portable terminal 50 and determine that either the MFP 10 or the portable terminal 50 will operate in a G / O state, and that the other device will operate in a client state.

[0132] Next, the communication executing unit 44 may establish a connection between the MFP 10 and the portable terminal 50 according to the WPS. Specifically, when the current state of the MFP 10 is the G / O state and the current state of the portable terminal 50 is the client state (YES in S22), the communication executing unit 44 may generate wireless settings (SSID, authentication method, encryption method, password, etc.) required to establish a wireless connection and transmit them wirelessly to the portable terminal 50. The authentication method and encryption method may be determined in advance. The communication executing unit 44 may generate a password when generating the wireless settings. The SSID may be generated by the communication executing unit 44 or may be determined in advance. By transmitting the wireless settings to the portable terminal 50, the MFP 10 and the portable terminal 50 can use the same wireless settings. That is, the MFP 10 and the portable terminal 50 may execute wireless communication of an Authentication Request, an Authentication Response, an Association Request, an Association Response, and a 4-way handshake using the wireless settings. In this process, the MFP 10 and the portable terminal 50 may execute various authentication processes such as SSID authentication, authentication method and encryption method authentication, password authentication, etc. If all authentications are successful, a wireless connection may be established between the MFP 10 and the portable terminal 50. As a result, the MFP 10 and the portable terminal 50 may belong to the same WFD network.

[0133] On the other hand, when the current state of the MFP 10 is the client state and the current state of the target device is the G / O state, the communication execution unit 44 may execute WPS negotiation for the client state. Specifically, the portable terminal 50 may generate wireless settings (SSID, authentication method, encryption method, password, etc.) required to establish a wireless connection and transmit them wirelessly to the MFP 10. As a result, the communication execution unit 44 may wirelessly receive the wireless settings from the portable terminal 50. Subsequent processing (communication processing such as Authentication Request) is similar to WPS negotiation for the G / O state. As a result, the MFP 10 and the portable terminal 50 may be in a state of belonging to the same WFD network. As a result, the MFP 10 in the client state can execute wireless communication of target data (print data, etc.) with the portable terminal 50 in the G / O state. In this modification, the G / O negotiation and the WPS negotiation are examples of the "specific processing".

[0134] (9) In the above embodiments, each of the units 40 to 46 is implemented by software, but at least one of the units 40 to 46 may be implemented by hardware such as a logic circuit.

[0135] In addition, the technical elements described in this specification or drawings exert technical utility alone or in various combinations, and are not limited to the combinations described in the claims at the time of filing. In addition, the technologies exemplified in this specification or drawings achieve multiple objectives simultaneously, and achieving one of those objectives is itself technically useful. [Explanation of symbols]

[0136] 2: communication system, 6: AP, 8: PC, 10: MFP, 20: wireless LAN interface, 22: NFC interface, 30: control unit, 50: mobile terminal

Claims

1. A communication device, comprising: a first type of interface for performing wireless communication with a mobile terminal; a second type interface for performing wireless communication with the mobile terminal, the second type interface having a communication speed faster than a communication speed of the wireless communication using the second type interface; a transmission unit that transmits predetermined information to the mobile terminal via the first type interface, wherein when the communication device operates as a master station of a first wireless network for performing wireless communication using the second type interface, the predetermined information includes a first wireless setting for the mobile terminal to belong to the first wireless network, and when the communication device does not operate as the master station, the predetermined information includes a second wireless setting for the mobile terminal to belong to a second wireless network formed by an access point different from that of the communication device and the mobile terminal; a communication execution unit that executes wireless communication of target data with the portable terminal via either the first wireless network or the second wireless network; A communication device comprising:

2. A communication device as described in claim 1, wherein when the communication device is not operating as the parent station and the communication device currently belongs to the second wireless network, the specified information includes the second wireless settings.

3. The first wireless setting includes a password, The communication device according to claim 1 , wherein the second wireless setting does not include a password.

4. A communication device described in any one of claims 1 to 3, wherein when the communication device is not operating as either the parent station or the child station, the specified information includes the second wireless setting.

5. A communication device as described in any one of claims 1 to 4, wherein the first type of interface is an interface for performing NFC.

6. A communication device as described in any one of claims 1 to 4, wherein the first type of interface is an interface for implementing Bluetooth.

7. The communication device described in any one of claims 1 to 6, wherein the communication device is either a printer or a scanner.

8. A computer program for a communication device including a first type interface for communicating with a mobile terminal and a second type interface for communicating with the mobile terminal, the second type interface having a communication speed faster than a communication speed of the first type interface, The computer mounted on the communication device performs the following processes: a transmission process for transmitting predetermined information to the mobile terminal via the first type interface, wherein when the communication device operates as a master station of a first wireless network for performing wireless communication using the second type interface, the predetermined information includes a first wireless setting for the mobile terminal to belong to the first wireless network, and when the communication device does not operate as the master station, the predetermined information includes a second wireless setting for the mobile terminal to belong to a second wireless network formed by an access point different from that of the communication device and the mobile terminal; A computer program that causes the mobile terminal to execute a communication execution process for executing wireless communication of target data via either the first wireless network or the second wireless network.

Citation Information

Patent Citations

  • Communication equipment, its control method, and communication system

    JP2007166538A

  • Communication apparatus, communication method, and computer program

    JP2010081566A

  • Communication device, and method for controlling the same

    JP2010268301A

  • Image processing apparatus, method performed by image processing apparatus, program, and recording medium therefor

    JP2011073272A

  • Radio communication device

    JP2011146991A