A technique disclosed in the present specification relates to a function executing device.
A technique for two communication devices to execute wireless communication is known. The two communication devices execute communication of a wireless setting according to a short-range wireless communication system (i.e., a wireless communication according to NFC (abbreviation of: Near Field Communication)). The wireless setting is a setting for executing wireless communication according to a communication system different from the NFC system (e.g., IEEE 802.11a, 802.11b). Thereby, the two communication devices become capable of executing wireless communication according to the wireless setting.
The present specification presents a function executing device capable of executing an appropriate operation.
The technique disclosed in the specification is a function executing device. The function executing device may comprise a first type of interface for executing a communication with a terminal device, a second type of interface for executing a communication with the terminal device. The function executing device may comprise one or more processors and a memory that stores computer-readable instructions therein. The computer-readable instructions, when executed by the one or more processors, may cause the function executing device to execute: (a) receiving first information including an execution request of a specific function via the first type of interface, the specific function including a communication process for communicating object data with the terminal device; (b) determining, in a case where the first information is received, whether a state of the function executing device is a non-error state in which the function executing device is capable of executing the specific function or an error state in which the function executing device is not capable of executing the specific function; (c) executing a change process for changing an interface for communicating with the terminal device from the first type of interface to the second type of interface in a case where the state of the function executing device is determined as the non-error state, and not executing the change process in a case where the state of the function executing device is determined as the error state; and (d) executing the specific function including the communication process via the second type of interface in a case where the change process is being executed.
The specification further discloses a function executing device capable of executing a plurality of functions including a first function and a second function. The function executing device may comprise a first type of interface for executing a communication with a terminal device and a second type of interface for executing a communication with the terminal device. The function executing device may comprise one or more processors and a memory that stores computer-readable instructions therein. The computer-readable instructions, when executed by the one or more processors, may cause the function executing device to execute: (h) storing, in a memory of the function executing device, permission information indicating, for each of the first function and the second function, whether or not the terminal device is capable of using the function; (i) receiving first information including an execution request of a specific function via the first type of interface, the specific function including a communication process for communicating object data with the terminal device; (j) determining whether or not the terminal device is capable of using the specific function using the permission information in the memory in a case where the first information is received; (k) executing a change process for changing an interface for communicating with the terminal device from the first type of interface to the second type of interface in a first case where it is determined that the specific function is the first function and the terminal device is capable of using the first function, and not executing the change process in a second case where it is determined that the specific function is the second function and the terminal device is not capable of using the second function; and (l) executing the specific function including the communication process via the second type of interface in a case where the change process is executed.
Moreover, a control method, a computer program, and a non-transitory computer-readable storage medium computer-readable instructions the function executing device, are also novel and useful. Further, a communication system including the function executing device and the terminal device are also novel and useful.
As shown in
Further, the PC 8, MFP 10, and the portable terminal 50 are each capable of executing wireless communication according to the Wi-Fi Direct system (to be described). Below, Wi-Fi Direct is called “WFD”. In WFD, wireless communication is executed based on IEEE (abbreviation of: The Institute of Electrical and Electronics Engineers, Inc.) 802.11 standard and standards based on thereon (e.g., 802.11a, 11b, 11g, 11n, etc.). The NFC system and the system of WFD (called “WFD system” below) have different wireless communication systems (i.e., wireless communication standards). Further, the communication speed of wireless communication according to the WFD system is faster than the communication speed of wireless communication according to the NFC system.
For example, the MFP 10 can construct a WFD network by establishing a connection with the portable terminal 50 according to the WFD system (called “WFD connection” below). Similarly, the MFP 10 can construct a WFD network by establishing a WFD connection with the PC 8.
The PC 8, the MFP 10 and the portable terminal 50 are further capable of executing wireless communication according to a normal Wi-Fi system different from the WFD system. In general terms, wireless communication according to normal Wi-Fi is wireless communication using the AP 6, and wireless communication according to the WFD system is wireless communication not using the AP 6. For example, the MFP 10 can belong to a normal Wi-Fi network by establishing a connection with the AP 6 (called “normal Wi-Fi connection” below) according to normal Wi-Fi. Via the AP 6, the MFP 10 can execute wireless communication with another device belonging to the normal Wi-Fi network (e.g., the PC 8, the portable terminal 50). Moreover, the NFC system and the system of normal Wi-Fi (called “the normal Wi-Fi system” below) have different wireless communication systems (i.e., wireless communication standards). Further, the communication speed of normal Wi-Fi is faster than the communication speed of NFC.
WFD is a standard formulated by Wi-Fi Alliance. WFD is described in “Wi-Fi Peer-to-Peer (P2P) Technical Specification Version 1.1”, created by Wi-Fi Alliance.
As described above, the PC 8, the MFP 10, and the portable terminal 50 are each capable of executing wireless communication according to the WFD system. Below, an apparatus capable of executing wireless communication according to the WFD system is called a “WFD-compatible apparatus”. According to the WFD standard, three states are defined as the states of the WFD-compatible apparatus: Group Owner state (called “G/O state” below), client state, and device state. The WFD-compatible apparatus is capable of selectively operating in one state among the three states.
One WFD network includes an apparatus in the G/O state and an apparatus in the client state. Only one G/O state apparatus can be present in the WFD network, but one or more client state apparatuses can be present. The G/O state apparatus manages the one or more client state apparatuses. Specifically, the G/O state apparatus creates an administration list in which identification information (i.e., MAC address) of each of the one or more client state apparatuses is written. When a client state apparatus newly belongs to the WFD network, the G/O state apparatus adds the identification information of that apparatus to the administration list, and when the client state apparatus leaves the WFD network, the G/O state apparatus deletes the identification information of that apparatus from the administration list.
The G/O state apparatus is capable of wirelessly communicating object data (e.g., data that includes network layer information of the OSI reference model (print data, scan data, etc.)) with an apparatus registered in the administration list, i.e., with a client state apparatus (i.e., an apparatus belonging to the WFD network). However, with an unregistered apparatus which is not registered in the administration list, the G/O state apparatus is capable of wirelessly communicating data for the unregistered apparatus to participate in the WFD network (e.g., data that does not include network layer information (physical layer data such as a Probe Request signal, Probe Response signal, etc.)), but is not capable of wirelessly communicating the object data. For example, the MFP 10 that is in the G/O state is capable of wirelessly receiving print data from the portable terminal 50 that is registered in the administration list (i.e., the portable terminal 50 that is in the client state), but is not capable of wirelessly receiving print data from an apparatus that is not registered in the administration list.
Further, the G/O state apparatus is capable of relaying the wireless communication of object data (print data, scan data, etc.) between a plurality of client state apparatuses. For example, in a case where the portable terminal 50 that is in the client state is to wirelessly send print data to another printer that is in the client state, the portable terminal 50 first wirelessly sends the print data to the MFP 10 that is in the G/O state. In this case, the MFP 10 wirelessly receives the print data from the portable terminal 50, and wirelessly sends the print data to the other printer. That is, the G/O state apparatus is capable of executing the function of an AP of the normal wireless network.
Moreover, a WFD-compatible apparatus that does not belong to the WFD network (i.e., an apparatus not registered in the administration list) is a device state apparatus. The device state apparatus is capable of wirelessly communicating data for belonging to the WFD network (physical layer data such as a Probe Request signal, Probe Response signal, etc.), but is not capable of wirelessly communicating object data (print data, scan data, etc.) via the WFD network.
Moreover, below, an apparatus that is not capable of executing wireless communication according to the WFD system, but is capable of executing wireless communication according to normal Wi-Fi is called a “WFD-incompatible apparatus”. The “WFD-incompatible apparatus” may also be called a “legacy apparatus”. A WFD-incompatible apparatus cannot operate in the G/O state. A G/O state apparatus can register identification information of the WFD-incompatible apparatus in the administration list.
The MFP 10 comprises an operating unit 12, a displaying unit 14, a print executing unit 16, a scan executing unit 18, a wireless LAN interface (an “interface” is described as “I/F” below) 20, an NFC I/F 22, and a control unit 30. The operating unit 12 includes a plurality of keys. A user can input various instructions to the MFP 10 by operating the operating unit 12. The displaying unit 14 is a display for displaying various types of information. The print executing unit 16 is an ink jet system, laser system, etc. printing mechanism. The scan executing unit 18 is a CCD, CIS, etc. scanning mechanism.
The wireless LAN I/F 20 is an interface for the control unit 30 to execute wireless communication according to the WFD system and wireless communication according to normal Wi-Fi. The wireless LAN I/F 20 is physically one interface. However, a MAC address used in wireless communication according to the WFD system (called “MAC address for WFD” below) and a MAC address used in wireless communication according to normal Wi-Fi (called “MAC address for normal Wi-Fi” below) are both assigned to the wireless LAN I/F 20. More specifically, the MAC address for the normal Wi-Fi is pre-assigned to the wireless LAN I/F 20. Using the MAC address for the normal Wi-Fi, the control unit 30 creates the MAC address for WFD, and assigns the MAC address for WFD to the wireless LAN I/F 20. The MAC address for WFD differs from the MAC address for the normal Wi-Fi. Consequently, via the wireless LAN I/F 20, the control unit 30 can simultaneously execute both wireless communication according to the WFD system and wireless communication according to the normal Wi-Fi. Consequently, a situation can be established in which the MFP 10 belongs to the WFD network and belongs to the normal Wi-Fi network. Moreover, in a variant, an interface for executing wireless communication according to the WFD system and an interface for executing wireless communication according to normal Wi-Fi may be configured by chips which are physically different.
Moreover, the G/O state apparatus can write, in the administration list, not only the identification information of the WFD-compatible apparatus that is in the client state, but also the identification information of a WFD-incompatible apparatus. That is, the G/O state apparatus can also establish the WFD connection with the WFD-incompatible apparatus. In general terms, the WFD connection is a wireless connection in which the MAC address for the WFD of the MFP 10 is used. Further, the WFD network is a wireless network in which the MAC address for the WFD of the MFP 10 is used. Similarly, the normal Wi-Fi connection is a wireless connection in which the MAC address for the normal Wi-Fi of the MFP 10 is used. Further, the normal Wi-Fi network is a wireless network in which the MAC address for the normal Wi-Fi of the MFP 10 is used.
Moreover, by operating the operating unit 12, the user can change the setting of the wireless LAN I/F 20 between a setting capable of executing the wireless communication in accordance with the WFD system (expressed as “WFD I/F setting is ON” below), and a setting not capable of executing the wireless communication in accordance with the WFD system (expressed as “WFD I/F setting is OFF” below). The control unit 30 stores a value (ON or OFF) indicating the WFD I/F setting set by the user in the memory 34.
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 formed of a chip differing physically from the wireless LAN I/F 20.
Moreover, the communication speed of wireless communication via the wireless LAN I/F 20 (e.g., maximum communication speed is 11 to 454 Mbps) is faster than the communication speed of wireless communication via the NFC I/F 22 (e.g., maximum communication speed is 100 to 424 Kbps). Further, the frequency of the carrier wave in wireless communication via the wireless LAN I/F 20 (e.g., 2.4 GHz band, 5.0 GHz band) differs from the frequency of the carrier wave in the wireless communication via the NFC I/F 22 (e.g., 13.56 MHz band). Further, in a case where the distance between the MFP 10 and the portable terminal 50 is less than or equal to approximately 10 cm, the control unit 30 can wirelessly communicate with the portable terminal 50 according to the NFC system via the NFC I/F 22. In a case where the distance between the MFP 10 and the portable terminal 50 is either less than or equal to 10 cm, or is greater than or equal to 10 cm (e.g., a maximum is approximately 100 m), the control unit 30 can wirelessly communicate, via the wireless LAN I/F 20, with the portable terminal 50 according to the WFD system and according to the normal Wi-Fi. That is, the maximum distance across which the MFP 10 can execute wireless communication with a communication destination apparatus (e.g., the portable terminal 50) via the wireless LAN I/F 20 is greater than the maximum distance across which the MFP 10 can execute the wireless communication with the communication destination apparatus via the NFC I/F 22.
The control unit 30 comprises a CPU 32 and the memory 34. The CPU 32 executes various processes according to programs stored in the memory 34. The CPU 32 realizes the functions of the units 40 to 47 by executing processes according to the programs.
The memory 34 includes a ROM, RAM, hard disk, etc. The memory 34 stores the programs executed by the CPU 32. In the case where the MFP 10 currently belongs to a WFD network, the memory 34 stores information indicating that the MFP 10 currently belongs to the WFD network, and a wireless setting (including authentication method, encryption method, password, SSID (Service Set Identifier) and BSSID (Basic Service Set Identifier) of the wireless network) for communicating object data (e.g., print data, scan data) via the WFD network. Further, in the case where the MFP 10 currently belongs to a normal Wi-Fi network, the memory 34 stores information indicating that the MFP 10 currently belongs to the normal Wi-Fi network, and a wireless setting for communicating object data via the normal Wi-Fi network. Moreover, the SSID is an identifier for identifying the wireless network, and the BSSID is a unique identifier (e.g., MAC address) of the access point (i.e., the G/O state apparatus in the case of the WFD network) that constructs the wireless network.
The memory 34 further stores a value (ON or OFF) indicating the WFD I/F setting. Moreover, in a state where the WFD I/F setting is OFF within the memory 34, the control unit 30 cannot execute processes in accordance with the WFD system (e.g., a process of setting the MFP 10 to spontaneous G/O mode (to be described), G/O negotiation, etc.). In a state where the WFD I/F setting is ON, the memory 34 further stores a value indicating the current state of the MFP 10 relating to the WFD system (one state from among G/O state, client state, or device state).
Moreover, by operating the operating unit 12, the user can set the MFP 10 to spontaneous G/O mode. Spontaneous G/O mode is a mode for maintaining the operation of the MFP 10 in the G/O state. The memory 34 further stores a value indicating whether the MFP 10 has been set to spontaneous G/O mode. Moreover, when a WFD-compatible apparatus that is in the device state is to establish a WFD connection with another WFD-compatible apparatus that is in the device state, the WFD-compatible apparatus usually executes G/O negotiation to selectively determine which state, of G/O state and client state, it is to operate in. In the case where the MFP 10 has been set to the spontaneous G/O mode, the MFP 10 maintains operation in the G/O state without executing G/O negotiation.
The memory 34 further stores SFL (Secure Function Lock) information 36. The SFL information 36 includes, for each of a plurality of terminal devices including the portable terminal 50, ID-function information in which the following are associated: an ID of the terminal device (e.g. an ID 50), information (OK or NG) indicating whether the terminal device is capable of using the print function, and information (OK or NG) indicating whether the terminal device is capable of using the scan function. Moreover, the SFL information 36 further includes public information in which the following are associated: information indicating that the device is a public terminal device (i.e., a terminal device in which an ID is not registered in the ID-function information), information (NG) indicating that the terminal device is not capable of using the print function, and information (NG) indicating that the terminal device is not capable of using the scan function. By operating the operating unit 12, the user of the MFP 10 inputs the SFL information 36 to the MFP 10. Thereby, the storing control unit 44 stores, in the memory 34, the SFL information 36 input by the user.
The portable terminal 50 is, for example, a mobile phone (e.g., a Smart Phone), PDA, notebook PC, tablet PC, portable music playback device, portable video playback device, etc. The portable terminal 50 comprises a wireless LAN I/F (i.e., an interface for WFD and normal Wi-Fi) and an NFC I/F. Consequently, the portable terminal 50 is capable of executing wireless communication with the MFP 10 by using a wireless LAN, and is capable of executing wireless communication with the MFP 10 by using the NFC I/F. The PC 8 comprises an application program for causing the MFP 10 to execute a function (e.g., print function, scan function, etc.). Moreover, the application program may, for example, be installed on the portable terminal 50 from a server provided by a vendor of the MFP 10, or may be installed on the portable terminal 50 from a media shipped together with the MFP 10.
The PC 8 comprises a wireless LAN I/F (i.e., an interface for WFD and normal Wi-Fi), but does not comprise an NFC I/F. Consequently, the PC 8 is capable of executing communication with the MFP 10 by using a wireless LAN, but is not capable of executing wireless communication according to the NFC system. The portable terminal 50 comprises a driver program for causing the MFP 10 to execute a function (e.g., print function, scan function, etc.). Moreover, the driver program is usually installed on the PC 8 from a media shipped together with the MFP 10. However, in a variant, the driver program may be installed on the PC 8 from a server provided by the vendor of the MFP 10.
The AP 6 is not a G/O state apparatus of the WFD system, but is a normal access point called a wireless access point or wireless LAN router. The AP 6 can establish a normal Wi-Fi connection with a plurality of apparatuses. Thereby, a normal Wi-Fi network including the AP 6 and the plurality of apparatuses is constructed. The AP 6 receives data from one apparatus from among the plurality of apparatuses belonging to the normal Wi-Fi network, and sends the data to another one apparatus from among the plurality of apparatuses. That is, the AP 6 relays communication between a pair of apparatuses belonging to the normal Wi-Fi network.
A process executed by the MFP 10 will be described with reference to
The user of the portable terminal 50 activates the application program. Next, the user inputs, to the portable terminal 50, an instruction for causing the MFP 10 to execute a function (print function or scan function). In this case, the portable terminal 50 creates NFC information. As will be described in detail later, in the case where the portable terminal 50 receives NG information from the MFP 10 after having sent the NFC information to the MFP 10, the portable terminal 50 can re-create and send the NFC information. The NFC information of the first time includes at least information indicating a normal request, information indicating a function input by the user (print function or scan function), and the ID “ID 50” of the portable terminal 50. The NFC information of the second time includes, instead of the information indicating a normal request, information indicating a re-request. Further, the NFC information of the second time includes at least a function input by the user (print function or scan function), and the ID “ID 50” of the portable terminal 50. Moreover, in the case where the function input by the user is the print function (i.e., in the case where the NFC information of the second time includes information indicating the print function), the NFC information of the second time further includes size information indicating the data size of the print data.
Further, in the case where the portable terminal 50 currently belongs to a wireless network, the NFC information further includes the SSID and BSSID of the wireless network. Moreover, the case where the portable terminal 50 currently belongs to a wireless network is a case where a wireless connection, this being at least one of a WFD connection and a normal Wi-Fi connection, has been established between the portable terminal 50 and another device (e.g., the AP 6, the MFP 10).
The user of the portable terminal 50 can bring the portable terminal 50 closer to the MFP 10. Thereby, when the distance between the portable terminal 50 and the MFP 10 becomes less than the distance (e.g., 10 cm) in which the radio waves can be transmitted to each other, the NFC I/F 22 receives a detection wave from the MFP 10, and sends a response wave to the MFP 10. Then, the control unit 30 executes communication with the portable terminal 50, via the NFC I/F 22, to establish an NFC communication session between the MFP 10 and the portable terminal 50. When the NFC communication session has been established, the portable terminal 50 sends the created NFC information to the MFP 10.
In S10 the receiving unit 40 monitors whether NFC information is received from the portable terminal 50 via the NFC I/F 22. In the case where the NFC information is received (YES in S10), in S12 the receiving unit 40 analyzes the NFC information, and determines whether the NFC information includes information indicating a normal request, or includes information indicating a re-request. In the case of determining that the NFC information includes information indicating a normal request, the process proceeds to the normal request process of S14. In the case of determining that the NFC information includes information indicating a re-request, the process proceeds to the re-request process of S16.
The contents of the normal request process executed in S14 of
In S42 the usage determining unit 45 determines whether the portable terminal 50 is capable of using the print function. Specifically, the usage determining unit 45 first analyzes the NFC information, and identifies the terminal ID “ID 50” included in the NFC information. Next, the usage determining unit 45 refers to the ID-function information of the SFL information 36 within the memory 34, and determines whether the print function associated with the terminal ID “ID 50” is OK or NG. In the case where the print function is OK, the usage determining unit 45 determines YES in S42, and the process proceeds to S44. In the case where the print function is NG, the usage determining unit 45 determines NO in S42, and the process proceeds to S46. Moreover, in the case where the terminal ID “ID 50” is not registered in the ID-function information, the usage determining unit 45 refers to the public information of the SFL information 36 (print function=NG, scan function=NG), and determines NO in S42.
In S44 the state determining unit 41 determines whether the state of the MFP 10 is a print capable state (i.e., the non-error state) or a print incapable state (i.e., the error state). Specifically, the state determining unit 41 checks the remaining amount of an expendable item mounted on the print executing unit 16 and, in the case where the remaining amount of the expendable item is zero, determines that the state of the MFP 10 is the print incapable state (NO in S44). Moreover, e.g., in the case where the print executing unit 16 is an inkjet type printing mechanism, the expendable item is ink within an ink cartridge. Further, e.g., in the case where the print executing unit 16 is a laser type printing mechanism, the expendable item is toner within a toner cartridge.
Further, the state determining unit 41 checks the remaining amount of print medium to be used by the print executing unit 16 (i.e., the remaining amount of print medium in a paper feed tray) and, in the case where the remaining amount of print medium is zero, determines that the state of the MFP 10 is the print incapable state (NO in S44).
Next, the state determining unit 41 checks the state of hardware for executing the print function and, in a case where there is a problem in the hardware, determines that the state of the MFP 10 is the print incapable state (NO in S44). For example, in the case where the print medium is jammed in a transport mechanism of the print medium within the print executing unit 16 (i.e., the case of a paper jam), the state determining unit 41 determines that the state of the MFP 10 is the print incapable state. In this case, the hardware is the transport mechanism of the print medium within the print executing unit 16. Further, e.g., in a case where an amount of space within the memory 34 is extremely small, i.e., in the case where the amount of space within the memory 34 is less than a predetermined value, the print data cannot be processed, and consequently the state determining unit 41 determines that the state of the MFP 10 is the print incapable state. In this case, the hardware is the memory 34. Further, e.g., in the case where, from among a plurality of members constituting a housing of the MFP 10, a cover member that must remain closed during printing is open (called “cover open” below), the state determining unit 41 determines that the state of the MFP 10 is the print incapable state. In this case, the hardware is the cover member.
In the case where, due to a problem in any of the remaining amount of an expendable item, the remaining amount of print medium, or the state of the hardware, the state determining unit 41 determines that the state of the MFP 10 is the print incapable state (NO in S44), the process proceeds to S46. On the other hand, in the case where there is no problem in the remaining amount of an expendable item, the remaining amount of print medium, or the state of the hardware, the state determining unit 41 determines that the state of the MFP 10 is the print capable state (YES in S44). Thus, in the present embodiment, the MFP 10 can appropriately determine whether the state of the MFP 10 is the non-error state or the error state. In the case of YES in S44, the normal request process of
In S46 the sending unit 46 sends print NG information including the NG reason due to SFL to the portable terminal 50 via the NFC I/F 22. For example, in the case of NO in S42, the NG reason indicates that the portable terminal 50 is not capable of using the print function. Further, in the case of NO in S44, the NG reason indicates that the state of the MFP 10 is the error state. In this case, the NG reason indicates the specific reason why the state of the MFP 10 is the error state (e.g., remaining amount of an expendable item is zero, remaining amount of the print medium is zero, print medium is jammed (paper jam), amount of space of the memory 34 is small, cover open, etc.). Thus, in the present embodiment, the MFP 10 can appropriately notify the portable terminal 50 that the state of the MFP 10 is the print incapable state (i.e., the error state) and the reason of the error. In the case where S46 has ended, the normal request process of
In S48, the usage determining unit 45 determines whether the portable terminal 50 is capable of using the scan function. Specifically, as in S42, the usage determining unit 45 refers to the SFL information 36 within the memory 34, and determines whether the scan function associated with the terminal ID “ID 50” is OK or NG. In the case where the scan function is OK, the usage determining unit 45 determines YES in S48, and the process proceeds to S52. In the case where the scan function is NG, the usage determining unit 45 determines NO in S48, and the process proceeds to S50. Moreover, in the case where the terminal ID “ID 50” is not registered in the ID-function information, the usage determining unit 45 refers to the public information (print function=NG, scan function=NG) of the SFL information 36, and determines NO in S48.
In S50 the sending unit 46 sends scan NG information including the NG reason due to SFL to the portable terminal 50 via the NFC I/F 22. The NG reason indicates that the portable terminal 50 is not capable of using the scan function. In the case where S50 has ended, the normal request process of
In S52 the state determining unit 41 determines whether the state of the MFP 10 is a scan capable state (i.e., the non-error state) or a scan incapable state (i.e., the error state). Specifically, the state determining unit 41 checks the state of hardware for executing the scan function and, in the case where there is a problem in the hardware, determines that the state of the MFP 10 is the scan incapable state (NO in S52). For example, in the case where a document is jammed in an automatic document feeder in the scan executing unit 18, the state determining unit 41 determines that the state of the MFP 10 is the scan incapable state. In this case, the hardware is the automatic document feeder in the scan executing unit 18. Further, e.g., in the case where the amount of space within the memory 34 is extremely small, i.e., in the case where the amount of space within the memory 34 is less than a predetermined value, the scan data cannot be processed, and consequently the state determining unit 41 determines that the state of the MFP 10 is the scan incapable state. In this case, the hardware is the memory 34. Further, e.g., in the case where, from among a plurality of members constituting the housing of the MFP 10, a cover member that must remain closed during scanning is open (i.e., the case of “cover open”), the state determining unit 41 determines that the state of the MFP 10 is the scan incapable state. In this case, the hardware is the cover member.
In the case where the state determining unit 41 determines that the state of the MFP 10 is the scan incapable state (NO in S52), the process proceeds to S54. On the other hand, in the case where there is no problem in the state of the hardware, the state determining unit 41 determines that the state of the MFP 10 is the scan capable state (YES in S52). Thus, in the present embodiment, the MFP 10 can appropriately determine whether the state of the MFP 10 is the non-error state or the error state. In the case of YES in S52, the normal request process of
In S54 the sending unit 46 determines whether the MFP 10 currently belongs to a wireless network. Specifically, in the case where 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 being stored in the memory 34, the sending unit 46 determines that the MFP 10 currently belongs to a wireless network (YES in S54), and proceeds to S56. On the other hand, in the case where information indicating that the MFP 10 currently belongs to a WFD network or information indicating that the MFP 10 currently belongs to a normal Wi-Fi network is not being stored in the memory 34, the sending unit 46 determines that the MFP 10 does not belong to a wireless network (NO in S54), and proceeds to S60.
In S56 the sending unit 46 determines whether the MFP 10 and the portable terminal 50 belong to an identical wireless network. Specifically, the sending unit 46 first analyzes the NFC information, and determines whether the NFC information includes a SSID and a BSSID. In the case where the NFC information does not include a SSID and a BSSID, the portable terminal 50 does not belong to a wireless network. Consequently, the sending unit 46 determines that the MFP 10 and the portable terminal 50 do not belong to an identical wireless network (NO in S56), and proceeds to S60.
In the case where the NFC information includes the SSID and BSSID, the sending unit 46 further determines whether the SSID in the NFC information (i.e., the SSID of the wireless network (the normal Wi-Fi network or WFD network) to which the portable terminal 50 belongs) and the SSID included in the wireless setting within the memory 34 (i.e., the SSID of the wireless network (the normal Wi-Fi network or WFD network) to which the MFP 10 belongs) are identical. In the case where the two SSIDs are not identical, the sending unit 46 determines that the MFP 10 and the portable terminal 50 do not belong to an identical wireless network (NO in S56), and proceeds to S60.
In the case where the two SSIDs are identical, the sending unit 46 further determines whether the BSSID in the NFC information (i.e., the BSSID of the wireless network to which the portable terminal 50 belongs) and the BSSID included in the wireless setting within the memory 34 (i.e., the BSSID of the wireless network to which the MFP 10 belongs) are identical. In the case where the two BSSIDs are not identical, the sending unit 46 determines that the MFP 10 and the portable terminal 50 do not belong to an identical wireless network (NO in S56), and proceeds to S60.
In the case where the two BSSIDs are identical, the sending unit 46 determines that the MFP 10 and the portable terminal 50 belong to an identical wireless network (YES in S56), and proceeds to S58. As described above, in the present embodiment, the determination of whether the SSIDs are identical and the determination of whether the BSSIDs are identical are both executed in S56. For example, one AP could construct a plurality of wireless networks by using a plurality of SSIDs. Consequently, in the case where the BSSIDs are identical and the SSIDs are not identical, the MFP 10 and the portable terminal 50 could belong to different wireless networks constructed by the same AP. In the present embodiment, it is possible to determine more appropriately whether the MFP 10 and the portable terminal 50 belong to the identical wireless network by executing both the determination of whether the SSIDs are identical and the determination of whether the BSSIDs are identical. Moreover, in a variant, in S56, the determination of whether the SSIDs are identical may be executed, but the determination of whether the BSSIDs are identical may not be executed.
In S58 and S60 the sending unit 46 sends scan NG information including the NG reason to the portable terminal 50 via the NFC I/F 22. The NG reason indicates the specific reason why the state of the MFP 10 is the error state (e.g., document is jammed, amount of space in the memory 34 is small, cover open, etc.). Thus, in the present embodiment, the MFP 10 can appropriately notify the portable terminal 50 that the state of the MFP 10 is the scan incapable state (i.e., the error state), and the reason of the error.
Moreover, the scan NG information sent in S58 further includes information indicating that the MFP 10 and the portable terminal 50 belong to an identical wireless network (called “NW identical information” below). On the other hand, the scan NG information sent in S60 further includes information indicating that the MFP 10 and the portable terminal 50 do not belong to an identical wireless network (called “NW non-identical information” below). In the case where S58 and S60 have ended, the normal request process of
Upon receiving the print NG information from the MFP 10 (see S46 of
On the other hand, in the case where the NG reason indicates another reason (e.g., remaining amount of the expendable item is zero, remaining amount of the print medium is zero, print medium is jammed (paper jam), cover open, etc.), the portable terminal 50 creates NFC information (the NFC information of the second time) including at least information indicating a re-request, information indicating the print function, the terminal ID “ID 50”, and the size information indicating the data size of the print data, and sends the NFC information to the MFP 10.
Further, upon receiving the scan NG information from the MFP 10 (see S50, S58, S60 of
On the other hand, in the case where the NG reason indicates another reason (e.g., document jammed, cover open, etc.), the portable terminal 50 further analyzes the scan NG information, and determines whether the scan NG information includes NW identical information (S58 of
As described above, the portable terminal 50 can send the NFC information of the second time to the MFP 10 in accordance with the contents of the print NG information or scan NG information. Moreover, in the case where the NG reason in the print NG information or scan NG information indicates that the portable terminal 50 is not capable of using the print function or the scan function, or in the case where the NG reason indicates that the amount of space of the memory 34 is small, the MFP 10 cannot execute the print function or the scan function in accordance with the request from the portable terminal 50. Consequently, in this type of case, the portable terminal 50 does not send the NFC information of the second time to the MFP 10. Thereby, the MFP 10 does not need to receive the NFC information of the second time, and consequently does not need to execute various processes (e.g., a re-request process (to be described), a change process (to be described), etc. (S16, S20 of
Moreover, as will be described in detail later, in the case where the MFP 10 and the portable terminal 50 do not belong to an identical wireless network, a state in which the MFP 10 and the portable terminal 50 belong to an identical wireless network (called “NW identical state” below) can be formed temporarily (see S118 of
In view of the above circumstances, in the case where the scan NG information includes the NW identical information, i.e., in the case where it is not necessary to form a temporary NW identical state by the change process (to be described) because the MFP 10 and the portable terminal 50 belong to an identical wireless network, the portable terminal 50 sends the NFC information of the second time to the MFP 10. However, in the case where the scan NG information includes the NW non-identical information, i.e., in the case where it is necessary to form a temporary NW identical state by the change process (to be described), the portable terminal 50 does not send the NFC information of the second time to the MFP 10. Thereby, the MFP 10 does not need to receive the NFC information of the second time, and consequently does not need to execute various processes (e.g., the re-request process (to be described), the change process (to be described), etc. (S16, S20 of
The contents of the re-request process executed in S16 of
In S72, the size determining unit 47 determines whether the amount of space within the memory 34 is equal to or greater than the data size of the print data. As described above, in the case where the print function is determined in S70, the NFC information includes the size information indicating the data size of the print data. In S72 the size determining unit 47 analyzes the NFC information, and identifies the size information. Next, the size determining unit 47 determines whether the amount of space within the memory 34 is equal to or greater than the data size of the print data indicated by the size information.
In the case where it is determined that the amount of space within the memory 34 is equal to or greater than the data size of the print data (YES in S72), the re-request process of
In S74 the sending unit 46 sends print NG information including the NG reason to the portable terminal 50 via the NFC I/F 22. The NG reason indicates that the amount of space within the memory 34 is less than the data size of the print data. In the case where S74 has ended, the re-request process of
Moreover, in the case where the scan function is determined in S70, in S76 the function executing unit 43 activates a scan monitoring thread. As will be described in detail later, in the scan monitoring thread, in the case where the state of the MFP 10 shifts from the error state to the non-error state, the function executing unit 43 executes the scan function including the scan process in which a scan of the document is executed and scan data is created, and the communication process in which the scan data is sent to the portable terminal 50 via the wireless LAN I/F 20.
In the case where the normal request process of S14 of
The contents of the change process executed in S20 of
In S100 the changing unit 42 determines whether the MFP 10 currently belongs to a wireless network. S100 is the same as S54 of
In S102, the changing unit 42 determines whether the MFP 10 and the portable terminal 50 belong to an identical wireless network. S102 is the same as S56 of
As described in S56 of
In S120 the changing unit 42 sends information indicating setting shifting is unnecessary to the portable terminal 50 via the NFC I/F 22. Thereby, the portable terminal 50 can learn that it is not necessary to change the current wireless setting of the portable terminal, i.e., that the wireless network to which the portable terminal 50 currently belongs (the normal Wi-Fi network or the WFD network) may continue to be used.
Moreover, in the change process which is executed after S76 of
In S104 the changing unit 42 determines whether the WFD I/F setting within the memory 34 is ON or OFF. In the case where the WFD I/F setting is ON (YES in S104), the changing unit 42 proceeds to S106, and in the case where the WFD I/F setting is OFF (NO in S104), the changing unit 42 proceeds to S108.
In S108, without receiving an instruction from the user of the MFP 10, the changing unit 42 changes the WFD I/F setting within the memory 34 from OFF to ON. Thereby, the control unit 30 becomes able to execute processes in accordance with the WFD system (processes S114 to S118 (to be described), etc.). When S108 ends, the process proceeds to S114.
Moreover, since the WFD I/F setting is ON at the stage of executing S106, the MFP 10 is operating in one of the three states of the WFD system (G/O state, client state, and device state). Consequently, the memory 34 is storing a value (called “state value” below) indicating the state of the MFP 10 relating to the WFD system (G/O state, client state or device state).
In S106 the changing unit 42 determines whether the MFP 10 is operating in the client state. Specifically, the changing unit 42 determines whether the state value within the memory 34 is a value indicating the client state. In the case where the state value is a value indicating the client state (YES in S106), the changing unit 42 ends the change process as “error END” without continuously executing the change process. On the other hand, in the case where the state value is a value indicating the G/O state or device state (NO in S106), the changing unit 42 proceeds to S110 (i.e., executes the change process continuously).
In S110 the changing unit 42 determines whether the MFP 10 is operating in the G/O state. Specifically, the changing unit 42 determines whether the state value within the memory 34 is a value indicating the G/O state. In the case where the state value is a value indicating the G/O state (YES in S110), the changing unit 42 proceeds to S112, and in the case where the state value is a value indicating the device state (NO in S110), the changing unit 42 proceeds to S114.
In S112 the changing unit 42 determines whether the number of apparatuses other than the MFP 10 which are included in the WFD network in which the MFP 10 is operating in the G/O state is less than a predetermined maximum client number. Specifically, in the case where the number of identification information of apparatuses (i.e., client state apparatuses) registered in the administration list within the memory 34 is equal to or greater than the maximum client number, the changing unit 42 determines NO in S112, and ends the change process as “error END” without executing the change process continuously. On the other hand, in the case where the above number is less than the maximum client number, the changing unit 42 determines YES in S112, and proceeds to S116 (i.e., executes the change process continuously).
In S114 the changing unit 42 sets the MFP 10 to spontaneous G/O mode. The spontaneous G/O mode is a mode which keeps the MFP 10 operating in the G/O state. Consequently, the MFP 10 is set to the G/O state (i.e., the state value within the memory 34 is a value indicating the G/O state) although a WFD connection has not been established at the stage of S114. In the case where the MFP 10 is set to the G/O state, the changing unit 42 prepares the wireless setting (SSID, BSSID, authentication method, encryption method, password, etc.) to be used in the WFD network. Moreover, the authentication method and the encryption method are predetermined. Further, the changing unit 42 creates the password. Moreover, the SSID may be created by the changing unit 42, or may be predetermined. The BSSID is the MAC address for WFD of the MFP 10. The changing unit 42 stores the wireless setting created in S114 in the memory 34. Moreover, at this stage, identification information of the client state apparatus is not described in the administration list within the memory 34.
Next, in S116 the changing unit 42 sends the wireless setting within the memory 34 to the portable terminal 50 via the NFC I/F 22. Moreover, in S116, which is executed after S114, the wireless setting within the memory 34 is the wireless setting created in S114. Further, in S116, which is executed after YES in S112, the wireless setting within the memory 34 is a wireless setting created when it was determined in the past that the MFP 10 is operating in the G/O state. Thereby, the portable terminal 50 can use the same wireless setting as the MFP 10.
Next, in S118 the changing unit 42 establishes a WFD connection with the portable terminal 50. Specifically, the changing unit 42 executes specific wireless communication with the portable terminal 50 via the wireless LAN I/F 20. The specific wireless communication includes an Authentication Request, Authentication Response, Association Request, Association Response, and 4way handshake. Various authentication processes such as authentication of SSID, authentication of authentication method and encryption method, authentication of password, etc. are executed during the course of the specific wireless communication. In case all the authentications succeeded, a WFD connection is established between the MFP 10 and the portable terminal 50.
Moreover, in the case where both the MFP 10 and the portable terminal 50 were in the device state, when a WFD connection were to be established between the MFP 10 and the portable terminal 50, G/O negotiation would be executed to determine one of the MFP 10 and the portable terminal 50 as the G/O and to determine the other of the MFP 10 and the portable terminal 50 as the client. However, since it is ascertained that the MFP 10 is in the G/O state at the stage of executing S118, the changing unit 42 establishes the WFD connection with the portable terminal 50 without executing the G/O negotiation.
When the WFD connection is established between the MFP 10 and the portable terminal 50, the changing unit 42 further adds the MAC address of the portable terminal 50 to the administration list. Moreover, the changing unit 42 acquires the MAC address of the portable terminal 50 during the course of the specific wireless communication of S118. When the WFD connection between the MFP 10 and the portable terminal 50 has been established, the MFP 10 that is in the G/O state becomes able to communicate object data (print data, scan data, etc.) with the portable terminal 50 that is in the client state. Moreover, the object data includes network layer data, which is a layer higher than the physical layer of the OSI reference model. Consequently, the MFP 10 that is in the G/O state can execute wireless communication of the network layer with the portable terminal 50 that is in the client state. In the case where S118 ends, the change process of
In the case where the change process (
In S24 the sending unit 46 sends communication NG information to the portable terminal 50 via the NFC I/F 22. The communication NG information includes the NG reason indicating that the wireless communication of the object data cannot be executed. Moreover, in the case where the portable terminal 50 receives the communication NG information, without sending the NFC information including information indicating a re-request (the NFC information of the second time) to the MFP 10, the portable terminal 50 displays a screen on the displaying unit of the portable terminal 50 indicating that the wireless communication of the object data cannot be executed.
Next, in S26 the function executing unit 43 executes a function executing process including a communication process. In the case where the NFC information received in S10 includes information indicating the print function, in S26 the function executing unit 43 first executes a communication process for receiving print data from the portable terminal 50 via the wireless LAN I/F 20. Next, the function executing unit 43 executes the print process in accordance with print data. That is, the function executing unit 43 executes various processes (color conversion process, halftone process, etc.) on the print data, generating processed data, and then supplies the processed data to the print executing unit 16. Thereby, the print executing unit 16 prints an image on a print medium in accordance with the processed data.
Further, in the case where the NFC information received in S10 includes information indicating the scan function, in S26 the function executing unit 43 first executes a scan process. That is, the function executing unit 43 causes the scan executing unit 18 to scan a document that has been set on the scan executing unit 18. The function executing unit 43 acquires the original image data obtained by scanning, and executes various processes (correction process, etc.) on the original image data, creating scan data. Next, the function executing unit 43 executes a communication process for sending the scan data to the portable terminal 50 via the wireless LAN I/F 20.
Moreover, in S26, which is executed after YES in S72 of
Next, in S28 the changing unit 42 determines whether the process S108 of
Moreover, in the case where the process S108 was not executed (NO in S28), the changing unit 42 skips S30. In the case of NO in S28, or in the case where S30 has ended, the process returns to S10.
As described above, the print monitoring thread can be activated in S26 of
As described above, the scan monitoring thread can be activated in S76 of
Next, specific cases realized by the MFP 10 and the portable terminal 50 will be described with reference to
In case A, the state of the MFP 10 is the non-error state (i.e., the print capable state and the scan capable state), and print function “OK” and scan function “OK” are associated with the terminal ID “ID 50” in the SFL information 36.
The MFP 10 receives NFC information from the portable terminal 50 via the NFC I/F 22 (YES in S10 of
Next, the MFP 10 executes the change process S20 of
In the printing case, the MFP 10 executes a communication process for receiving the print data from the portable terminal 50 via the wireless LAN I/F 20 (S26), and then executes the print process in accordance with the print data (S26). Thereby, the MFP 10 can execute the print function in accordance with the instruction from the portable terminal 50.
Further, in the scanning case, the MFP 10 executes the scan process for creating the scan data (S26), and then executes a communication process to send the scan data to the portable terminal 50 via the wireless LAN I/F 20 (S26). Thereby, the MFP 10 can execute the scan function in accordance with the instruction from the portable terminal 50.
Cases X1 to X4 of
The MFP 10 determines YES in S100 of
In case X2, the MFP 10 and the PC 8 have constructed a WFD network, and the MFP 10 is operating in the G/O state. Moreover, the portable terminal 50 does not belong to the WFD network.
The MFP 10 determines YES in S100 of
Thereby, the portable terminal 50 can newly join the WFD network to which the MFP 10 and the PC 8 belong. In this case, by using the WFD network, the MFP 10 executes the communication of object data (print data or scan data) with the portable terminal 50 via the wireless LAN I/F 20 (S26 of
In case X3, the MFP 10 does not belong to a wireless network, and the MFP 10 is operating in the device state (i.e., the WFD I/F setting is ON). Moreover, the portable terminal 50 also does not belong to a wireless network.
The MFP 10 determines NO in S100 of
Thereby, a new WFD network is constructed that includes the MFP 10 and the portable terminal 50. In this case, by using the WFD network, the MFP 10 executes the communication of object data (print data or scan data) with the portable terminal 50 via the wireless LAN I/F 20 (S26 of
In case X4, the MFP 10 does not belong to a wireless network, and the WFD I/F setting of the MFP 10 is OFF. Moreover, the portable terminal 50 also does not belong to a wireless network.
The MFP 10 determines NO in S100 of
Thereby, a new WFD network is constructed that includes the MFP 10 and the portable terminal 50. In this case, by using the WFD network, the MFP 10 executes the communication of object data (print data or scan data) with the portable terminal 50 via the wireless LAN I/F 20 (S26 of
Next, the MFP 10 determines YES in S28 of
In case B, the state of the MFP 10 is the non-error state (i.e., the print capable state and the scan capable state) and, in the SFL information 36, print function “OK” is associated with the terminal ID “ID 50”, and scan function “NG” is associated with the terminal ID “ID 50”.
The MFP 10 receives NFC information from the portable terminal 50 via the NFC I/F 22 (YES in S10 of
Next, the MFP 10 receives NFC information from the portable terminal 50 via the NFC I/F 22 (YES in S10 of
Consequently, the normal request process ends as “error END”. Thereby, the MFP 10 determines NO in S18 of
In case C, the state of the MFP 10 is the error state (i.e., the print incapable state due to cover open), and print function “OK” is associated with the terminal ID “ID 50” in the SFL information 36.
The MFP 10 receives NFC information from the portable terminal 50 via the NFC I/F 22 (YES in S10 of
Consequently, the normal request process ends as “error END”. Thereby, the MFP 10 determines NO in S18 of
The MFP 10 receives the NFC information from the portable terminal 50 via the NFC I/F 22 (YES in S10 of
Consequently, the re-request process ends as “normal END”. Thereby, the MFP 10 determines YES in S18 of
On the other hand, in the case where the amount of space of the memory 34 is less than the data size of the print data, the MFP 10 determines NO in S72 of
Consequently, the re-request process ends as “error END”. Thereby, the MFP 10 determines NO in S18 of
In case D, the state of the MFP 10 is the error state (i.e., the scan incapable state due to cover open), and scan function “OK” is associated with the terminal ID “ID 50” in the SFL information 36. Moreover, the MFP 10 and the portable terminal 50 belong to an identical WFD or normal Wi-Fi wireless network.
The MFP 10 receives NFC information from the portable terminal 50 via the NFC I/F 22 (YES in S10 of
Consequently, the normal request process ends as “error END”. Thereby, the MFP 10 determines NO in S18 of
The MFP 10 receives NFC information from the portable terminal 50 via the NFC I/F 22 (YES in S10 of
Consequently, the re-request process ends as “normal END”. Thereby, the MFP 10 determines YES in S18 of
In the case where the state of the MFP 10 changes from the scan incapable state to the scan capable state, in the scan monitoring thread the MFP 10 executes the scan process, and then executes a communication process for sending scan data. Thereby, the MFP 10 can execute the scan function in accordance with the instruction from the portable terminal 50.
Moreover, although not shown as a specific case, in the case where the terminal ID “ID 50” included in the NFC information sent to the MFP 10 from the portable terminal 50 is not registered in the SFL information 36 (i.e., the ID-function information), the MFP 10 determines NO in S42 or S48 of
As described above, in the case of receiving NFC information from the portable terminal 50 via the NFC I/F 22, the MFP 10 determines whether the state of the MFP 10 is the non-error state or the error state (S44, S52 of
Further, in the case of receiving NFC information from the portable terminal 50 via the NFC I/F 22, the MFP 10 determines whether the portable terminal 50 is capable of using a function (S42, S48 of
The MFP 10 is an example of the “function executing device”. The portable terminal 50 is an example of the “terminal device”. The NFC I/F 22 and the wireless LAN I/F 20 are respectively examples of the “first type of interface” and the “second type of interface”. Further, the “print function” and the “scan function” in case B of
(Variant 1) The “function executing device” is not restricted to the multi-function peripheral capable of executing the print function and the scan function, but may be a printer capable of executing only the print function from among the print function and the scan function, or may be a scanner capable of executing only the scan function from among the print function and the scan function. Further, the “function executing device” may be a device (e.g., a PC, server, mobile phone, Smart Phone, etc.) that executes a function different from the print function and the scan function (e.g., an image display function, data calculation function).
(Variant 2) The “specific function” may be the “print function” or “scan function”, as in case A of
(Variant 3) The combination of the “first type of interface” and the “second type of interface” is not restricted to the combination of the NFC I/F and the wireless LAN I/F. For example, in the case where the wireless LAN I/F is adopted as the “second type of interface”, the “first type of interface” may be an interface for executing infrared communication, an interface for executing Bluetooth (registered trademark), or an interface for executing Transfer Jet. Further, in the case where the NFC I/F is adopted as the “first type of interface”, the “second type of interface” may be an interface for executing wired communication, or an interface for executing Bluetooth (registered trademark). In general terms, the combination of the interfaces may be any combination whereby the communication speed of communication via the second type of interface is faster than the communication speed of communication via the first type of interface.
(Variant 4) The “first type of interface” and the “second type of interface” may physically be two interfaces (i.e., two separate IC chips), as in the above embodiment, or may physically be one interface (i.e., two types of communication are realized with one IC chip).
(Variant 5) The “change process” is not restricted to the processes of
(Variant 5-1) For example, in the case of YES in S106 of
(Variant 5-2) For example, in the case of YES in S106 of
(Variant 5-3) For example, in the case of YES in S100 of
(Variant 5-4) For example, the NFC information may include the wireless setting that is being used in the wireless network (WFD network or normal Wi-Fi network) to which the portable terminal 50 currently belongs. For example, in the case of NO in S100 of
(Variant 5-5) For example, the NFC information may include the IP address of the portable terminal 50 that is being used in the wired network to which the portable terminal 50 currently belongs. For example, in the case where an interface for executing wired communication has been adopted as the “second type of interface”, the changing unit 42 may send information indicating the execution of wired communication to the portable terminal 50 via the NFC I/F 22. In this case, the function executing unit 43 can execute the object data communication process with the portable terminal 50 via the wired network.
(Variant 6) The normal request process of
(Variant 7) The normal request process of
(Variant 8) The “permission information” is not restricted to the SFL information 36, but includes all information indicating whether the portable terminal is capable of using the specific function. For example, the following information can be illustrated.
(Variant 8-1) The memory 34 may store user-function information in which the following are associated: the user ID, information indicating whether the print function is “OK” or “NG”, and information indicating whether the scan function is “OK” or “NG”. Instead of the terminal ID of the portable terminal 50, the NFC information may include the user ID of the user of the portable terminal 50. The usage determining unit 45 may determine whether the user of the portable terminal 50 is capable of using a specific function by using the user ID in the NFC information and the user-function information. In the present variant, the user-function information is an example of the “permission information”.
(Variant 8-2) The memory 34 may store the user-function information and terminal-user information. The terminal-user information may be information in which the terminal ID and the user ID are associated. The NFC information may include the terminal ID of the portable terminal 50. The usage determining unit 45 may identify the user ID by using the terminal ID in the NFC information and the terminal-user information, and then determine whether the user of the portable terminal 50 is capable of using a specific function by using the identified user ID and the user-function information. In the present variant, the combination of the user-function information and the terminal-user information is an example of the “permission information”.
(Variant 8-3) The memory 34 need not store the SFL information 36 in which the terminal ID and function OK or NG are associated. By operating the operating unit 12, the user may be able to specify whether the SFL function of the MFP 10 is valid or invalid. Thereupon, the memory 34 may store valid information in the case where SFL function=valid was specified, and store invalid information in the case where SFL function=invalid was specified. In this case, in the case where the invalid information is being stored in the memory 34, the usage determining unit 45 may determine that the portable terminal 50 is capable of using all the functions (i.e., the print function, the scan function) regardless of whether it does or does not receive the terminal ID from the portable terminal 50 and, in the case where the valid information is being stored in the memory 34, the usage determining unit 45 may determine that the portable terminal 50 is not capable of using any function. In the present variant, the valid information and the invalid information are examples of the “permission information”.
(Variant 9) In the above embodiment, the receiving unit 40 receives the NFC information that includes the information indicating the function (print function or scan function), and the relation information (SSID, BSSID) relating to the wireless network to which the portable terminal 50 currently belongs by executing NFC system wireless communication once with the portable terminal 50. Instead, the receiving unit 40 may receive the NFC information including information indicating function by executing NFC system wireless communication with the portable terminal 50, and may then receive the NFC information including the relation information by re-executing NFC system wireless communication with the portable terminal 50. That is, the “first information” including the “execution request of the function” and the “relation information” may be information received by the NFC system wireless communication being executed once, as in the above embodiment, or may be information received by the NFC system wireless communication being executed a plurality of times, as in the present variant.
(Variant 10) In the above embodiment, the receiving unit 40 receives the NFC information that includes the information indicating a re-request and the size information indicating the data size of the print data by executing the NFC system wireless communication once with the portable terminal 50. Instead, the receiving unit 40 may receive the NFC information including information indicating a re-request by executing NFC system wireless communication with the portable terminal 50, and may then receive the NFC information including the size information by re-executing NFC system wireless communication with the portable terminal 50. That is, the “second information” may be information received by the NFC system wireless communication being executed once, as in the above embodiment, or may be information received by the NFC system wireless communication being executed a plurality of times, as in the present variant.
(Variant 11) In the above embodiment, the state determining unit 41 determines whether the MFP 10 is in the print capable state using all three decision criteria: the remaining amount of an expendable item, the remaining amount of print medium, and the state of hardware (S44 of
(Variant 12) In the above embodiment, the units 40 to 47 are realized by software. However, at least one of the units 40 to 47 may be realized by hardware such as a logic circuit, etc.
Number | Date | Country | Kind |
---|---|---|---|
2012-082818 | Mar 2012 | JP | national |
This application is a continuation of U.S. patent application Ser. No. 18/215,978 filed Jun. 29, 2023, which is a continuation of U.S. patent application Ser. No. 17/872,607 filed Jul. 25, 2022, issues as U.S. Pat. No. 11,733,950 on Aug. 22, 2023, which is a continuation of U.S. patent application Ser. No. 17/078,713 filed Oct. 23, 2020, issued as U.S. Pat. No. 11,435,969 on Sep. 6, 2022, which is a continuation of U.S. patent application Ser. No. 16/299,640 filed Mar. 12, 2019, issued as U.S. Pat. No. 10,831,427 on Nov. 10, 2020, which is a continuation of U.S. patent application Ser. No. 15/691,214 filed Aug. 30, 2017, issued as U.S. Pat. No. 10,282,153 on May 7, 2019, which is a continuation of U.S. patent application Ser. No. 15/283,829 filed Oct. 3, 2016, issued as U.S. Pat. No. 9,781,299 on Oct. 3, 2017, which is a continuation of U.S. patent application Ser. No. 14/706,368 filed May 7, 2015, which is a continuation of U.S. patent application Ser. No. 13/834,423 filed Mar. 15, 2013, issued as U.S. Pat. No. 9,106,781 on Aug. 11, 2015, which claims priority to Japanese Patent Application No. 2012-082818, filed on Mar. 30, 2012, the contents of which are hereby incorporated by reference into the present application.
Number | Date | Country | |
---|---|---|---|
Parent | 18215978 | Jun 2023 | US |
Child | 18745340 | US | |
Parent | 17872607 | Jul 2022 | US |
Child | 18215978 | US | |
Parent | 17078713 | Oct 2020 | US |
Child | 17872607 | US | |
Parent | 16299640 | Mar 2019 | US |
Child | 17078713 | US | |
Parent | 15691214 | Aug 2017 | US |
Child | 16299640 | US | |
Parent | 15283829 | Oct 2016 | US |
Child | 15691214 | US | |
Parent | 14706368 | May 2015 | US |
Child | 15283829 | US | |
Parent | 13834423 | Mar 2013 | US |
Child | 14706368 | US |