Embodiments described herein relate generally to an information processing apparatus, an image forming apparatus and a communication mode setting method.
A MFP (Multi-Function Peripheral) is connected to a portable terminal such as a smartphone and a tablet using various wireless communication systems. A wireless communication system such as a wireless LAN (Local Area Network) or a Bluetooth® Technology is provided as a typical example. If these wireless communication systems are used, a complicated process is needed for the MFP to connect with the portable terminal. For example, the MFP searches for the portable terminal existing around the MFP. Next, the MFP specifies a portable terminal to which the MFP is connected. Next, the MFP executes a communication setting for connecting with the specified portable terminal.
In recent years, the number of devices that perform communication using non-contact communication such as a NFC (Near Field Communication) or the like is increasing. The device that performs the communication using the NFC specifies another device by simply touching another device and executes communication setting for connecting with the specified device. In the NFC, a plurality of communication modes for communication is prescribed. Generally, in order to perform two-way communication of data between devices, a user needs to perform a switching operation from a reader/writer mode used for card authentication to a P2P mode or the like.
From the viewpoint of convenience of the NFC, the number of the MFPs having an interface for communicating with the portable terminal using the NFC is increasing. On the other hand, in order to omit the switching operation of the communication mode, such a MFP has separate hardware by separating an interface used for the card authentication from an interface used for communication with the portable terminal.
However, such a MFP has to prepare a plurality of hardware as interfaces for the same NFC. Therefore, the MFP becomes expensive.
In accordance with an embodiment, an image forming apparatus comprises a communication section configured to communicate with a terminal using a near field wireless communication; and a processor configured to set a first communication mode to be used for authentication of the terminal as a communication mode of a communication section, and change the communication mode from the first communication mode to a second communication mode different from the first communication mode in response to the success in the authentication of the terminal.
Hereinafter, an embodiment will be described with reference to the accompanying drawings.
The processor 11 executes various processes. For example, the processor 11 is a CPU (Central Processing Unit). The processor 11 executes various processes by executing programs stored in the ROM 12 or the storage device 14.
The ROM 12 stores programs for the processor 11 to execute various processes or control data. The ROM 12 is an example of a storage section. The RAM 13 is a working memory.
The storage device 14 is a rewritable nonvolatile memory. For example, the storage device 14 is a SSD (Solid State Drive) or a HDD (Hard Disk Drive). The storage device 14 stores the programs for the processor 11 to execute various processes and the control data. Furthermore, the storage device 14 stores data collected in various processes by the processor 11. Furthermore, the storage device 14 stores the data of a user management table. The user management table manages a portable terminal 2 which enables a non-contact communication using the NFC in the image forming apparatus 1. The NFC is an example of a near field wireless communication standard. The portable terminal 2 is a smart phone, a tablet or the like that can perform communication using the NFC. A typical example of the user management table is described later. The storage device 14 is an example of the storage section.
The input section 15 receives an input by a user. For example, the input section 15 is a keyboard or a touch pad stacked on the display section 16 described below.
The display section 16 displays various information. For example, the display section 16 is a liquid crystal display.
The communication section 17 is used for performing the non-contact communication with the portable terminal 2 using the NFC. The communication section 17 communicates with the portable terminal 2 in a communication mode which is any one of a reader/writer mode, a card emulation mode and a P2P mode. The reader/writer mode is a mode for reading data or writing data. The card emulation mode is a mode for executing behavior as a non-contact IC card. The P2P mode is a mode for executing two-way communication of data.
If the communication mode of the image forming apparatus 1 is the reader/writer mode, the portable terminal 2 operates in the card emulation mode. Thus, the image forming apparatus 1 reads and writes data from and to the portable terminal 2. For example, the image forming apparatus 1 reads identification information from a memory of the portable terminal 2. The identification information is uniquely assigned to the portable terminal 2. For example, the identification information corresponds to a user ID for identifying a user who has the portable terminal 2. If the communication mode of the image forming apparatus 1 is card emulation mode, the portable terminal 2 operates in reader/writer mode. As a result, the portable terminal 2 reads and writes data from and to the image forming apparatus 1. If the communication mode of the image forming apparatus 1 is the P2P mode, the portable terminal 2 operates in the P2P mode. Thus, the image forming apparatus 1 performs the two-way communication of the data with the portable terminal 2.
The communication mode of the communication section 17 is set and changed by the processor 11. The communication mode of the communication section 17 is normally set to the reader/writer mode used for authenticating the portable terminal 2. Below, the first communication mode refers to the reader/writer mode. A second communication mode is different from the first communication mode, and refers to either the card emulation mode or the P2P mode.
The image reading section 18 is a scanner that reads a document to acquire image data from the document. For example, the image reading section 18 includes an image sensor. An image sensor is an image capturing element in which pixels for converting light to an electrical signal (image signal) are arranged linearly. The image sensor is, for example, a CCD (Charge Coupled Device), a CMOS (Complementary Metal Oxide Semiconductor), or another image capturing element.
The image forming section 19 is a printer for forming an image on a printing medium. For example, the image forming section 19 includes a photoconductive drum, an electrostatic charger, an exposure device and a developing device. The surface of the photoconductive drum is uniformly charged by the electrostatic charger. The exposure device emits light having a wavelength capable of forming a latent image on the charged photoconductive drum in response to an electric signal of document data or image data to form an electrostatic latent image on the charged photoconductive drum. The developing device attaches toner (developer) to the electrostatic latent image formed on the photoconductive drum to form a toner image on the surface of the photoconductive drum. The image forming section 19 transfers the toner image formed on the surface of the photoconductive drum onto the printing medium and fixes the toner image on the printing medium, thereby forming an image on the printing medium.
Next, the user management table stored by the storage device 14 is described.
Next, the operation of setting the communication mode by the image forming apparatus 1 is described.
The processor 11 detects the portable terminal 2 which is communicable using the NFC (Act 101). In Act 101, the processor 11 detects the portable terminal 2 present within a detection range of the communication section 17 conforming to the communication standard of the NFC. The processor 11 determines whether the portable terminal 2 is detected or not (Act 102). In Act 102, the processor 11 determines the detection or non-detection of the portable terminal 2 depending on whether the portable terminal 2 is present within the detection range of the communication section 17. If the processor 11 determines that the portable terminal 2 is not detected (No in Act 102), the processor 11 returns to the process in Act 101 and continues to detect the portable terminal 2.
If the processor 11 determines that the portable terminal 2 is detected (Yes in Act 102), the processor 11 executes an authentication process (Act 103). In Act 103, the processor 11 acquires the identification information from the portable terminal 2 via the communication section 17. At this time, the processor 11 operates in the reader/writer mode which is a first communication mode. The portable terminal 2 operates in the card emulation mode. The processor 11 compares the identification information acquired from the portable terminal 2 with the identification information managed in the user management table. The processor 11 determines whether or not the authentication is successful depending on whether the identification information acquired from the portable terminal 2 exists in the user management table. Instead of the identification information acquired from the portable terminal 2, the processor 11 may execute the authentication process using the identification information input by the user through the input section 15. The user may input a user name and a password, or biometric information as the identification information with the input section 15. For example, the biometric information is a fingerprint or the like, but it is not limited thereto.
The processor 11 determines whether or not the authentication process of the portable terminal 2 is successful (Act 104). If the authentication process of the portable terminal 2 fails (No in Act 104), the processor 11 executes an error notification process (Act 105). In Act 105, the processor 11 displays a message indicating that authentication fails on the display section 16. Instead, the processor 11 may output a message indicating that the authentication fails through a voice from a speaker (not shown). If the authentication process of the portable terminal 2 is successful (Yes in Act 104), the processor 11 displays a user screen on the display section 16. The user screen is assigned to a user identified by the identification information which is successfully authenticated. The user can input various settings on the user screen.
The processor 11 starts a mode switching timer (Act 107). The mode switching timer is used for counting a predetermined period of time after successful authentication. In Act 107, the processor 11 starts counting a predetermined period of time based on successful authentication of the portable terminal 2. The predetermined period of time is a period in which the communication mode is maintained at the second communication mode. A length of the predetermined period of time can be arbitrarily set. The storage device 14 stores information indicating the predetermined period of time.
The processor 11 changes the communication mode (Act 108). In Act 108, the processor 11 changes the communication mode from the first communication mode to the second communication mode different from the first communication mode based on the successful authentication of the portable terminal 2. The second communication mode may be either the card emulation mode or the P2P mode.
The processor 11 determines whether or not timeout occurs (Act 109). In Act 109, the processor 11 determines that the timeout does not occur before the elapse of the predetermined period of time. On the other hand, the processor 11 determines that the timeout occurs based on the elapse of the predetermined period of time. If it is determined that the timeout does not occur (No in Act 109), the processor 11 detects the portable terminal 2 (Act 110). In Act 110, the processor 11 detects the portable terminal 2 that is communicable using the NFC which is present within the detection range of the communication section 17 conforming to the communication standard of the NFC.
The processor 11 determines whether the portable terminal 2 is detected or not detected (Act 111). In Act 111, the processor 11 determines whether the portable terminal 2 is detected or not detected depending on whether the portable terminal 2 is present within the detection range of the communication section 17. If it is determined that the processor 11 does not detect the portable terminal (No in Act 111), the processor 11 executes another process (Act 112). For example, another process refers to a process relating to a normal function of the image forming apparatus 1 such as a copy process based on an operation by the user.
If it is determined that the processor 11 detects the portable terminal 2 (Yes in Act 111), the processor 11 establishes a link between the portable terminal 2 and the image forming apparatus 1 (Act 113). In Act 113, the processor 11 establishes the link between the portable terminal 2 and the image forming apparatus 1 conforming to the communication standard of the NFC. The processor 11 executes the communication process between the portable terminal 2 and the image forming apparatus 1 (Act 114). In Act 114, the processor 11 executes the communication process according to the communication mode of the communication section 17. If the communication mode of the communication section 17 is the card emulation mode, the processor 11 executes the communication process with the portable terminal 2 according to the card emulation mode. If the communication mode of the communication section 17 is the P2P mode, the processor 11 performs the communication process (data exchange) with the portable terminal 2 according to the P2P mode. Further, in Act 114, the processor 11 detects a state of the communication process between the portable terminal 2 and the image forming apparatus 1 during counting of the predetermined period of time. For example, the processor 11 detects the start, the execution, and the completion of the communication process as the state of communication process.
The processor 11 switches the communication mode to the first communication mode based on the detection of the completion of the communication process between the portable terminal 2 and the image forming apparatus 1 (Act 115). In Act 115, the processor 11 changes the communication mode from the second communication mode to the first communication mode before the elapse of the predetermined period of time based on the detection of the completion of the communication process between the portable terminal 2 and the image forming apparatus 1.
Returning to Act 109, if it is determined that the timeout occurs (Yes in Act 109), the processor 11 switches the communication mode to the first communication mode (Act 115). In Act 115, the processor 11 changes the communication mode from the second communication mode to the first communication mode based on the detection of elapse of the predetermined period of time.
In Act 108, the processor 11 may set either the card emulation mode or the P2P mode as the second communication mode according to the authority. In this example, the processor 11 extracts the authority associated with the identification information which is successfully authenticated from the user management table. The processor 11 determines whether the communication mode associated with the extracted authority is the card emulation mode or the P2P mode. Accordingly, the processor 11 can set either the card emulation mode or the P2P mode as the second communication mode according to the extracted authority.
In Act 113, the processor 11 may detect the state of the link between the portable terminal 2 and the image forming apparatus 1 during counting of the predetermined period of time. In this example, the processor 11 detects connection or disconnection as the state of the link. If the portable terminal 2 moves out of the detection range of the communication section 17, the processor 11 detects disconnection of the link. The processor 11 changes the communication mode from the second communication mode to the first communication mode before the elapse of the predetermined period of time based on the detection of disconnection of the link between the portable terminal 2 and the image forming apparatus 1.
The processor 11 may detect the presence or absence of a logout instruction during counting of the predetermined period of time after Act 107. In this example, the processor 11 changes the communication mode from the second communication mode to the first communication mode before the elapse of the predetermined period of time based on the detection of the logout instruction. The logout instruction is input by the user through the input section 15. The logout instruction is an instruction to cancel the successfully authenticated state.
According to the embodiment, the processor 11 changes the communication mode from the first communication mode to the second communication mode different from the first communication mode based on the successful authentication of the portable terminal 2. As a result, the user can omit a job of changing the communication mode of the communication section 17 with the input section 15 after successful authentication. The user can continue the desired work without causing inconvenience if the job is performed in the image forming apparatus 1 using the portable terminal 2 through the NFC. The user can continue the desired job without causing inconvenience even if the job is performed in the image forming apparatus 1 without using the portable terminal 2.
According to the embodiment, the processor 11 starts counting of the predetermined period of time during which the communication mode is maintained at the second communication mode based on successful authentication of the portable terminal 2. Thus, the image forming apparatus 1 can prevent the inconvenience that the communication mode is continuously set to the second communication mode. The user can bring the portable terminal 2 close to the communication section 17 after the predetermined period of time elapses to perform the authentication again without requiring the job of changing the communication mode of the communication section 17 through the input section 15.
According to the embodiment, the processor 11 changes the communication mode from the second communication mode to the first communication mode based on the detection of elapse of the predetermined period of time. Thus, the image forming apparatus 1 can prevent the inconvenience that the communication mode is continuously set to the second communication mode. The user can bring the portable terminal 2 close to the communication section 17 after the predetermined period of time elapses to perform the authentication again without requiring the job of changing the communication mode of the communication section 17 through the input section 15.
According to the embodiment, the processor 11 changes the communication mode from the second communication mode to the first communication mode before the elapse of the predetermined period of time based on the detection of the completion of the communication process between the portable terminal 2 and the image forming apparatus 1. As a result, the image forming apparatus 1 can change the communication mode from the second communication mode to the first communication mode without waiting for the elapse of the predetermined period of time. Since the communication process between the portable terminal 2 and the image forming apparatus 1 is completed, no inconvenience is caused for the user. The user can authenticate the portable terminal 2 again by again bringing the portable terminal 2 close to the communication section 17.
According to the embodiment, the processor 11 changes the communication mode from the second communication mode to the first communication mode before the elapse of the predetermined period of time based on the detection of the disconnection of the link between the portable terminal 2 and the image forming apparatus 1. As a result, the image forming apparatus 1 can change the communication mode from the second communication mode to the first communication mode without waiting for the elapse of the predetermined period of time. Since the link between the portable terminal 2 and the image forming apparatus 1 is disconnected, no inconvenience is caused for the user. The user can authenticate the portable terminal 2 again by again bringing the portable terminal 2 close to the communication section 17.
According to the embodiment, the processor 11 changes the communication mode from the second communication mode to the first communication mode before the elapse of the predetermined period of time based on the detection of the logout instruction. As a result, the image forming apparatus 1 can change the communication mode from the second communication mode to the first communication mode without waiting for the elapse of the predetermined period of time. Since the user can input the logout instruction with the input section 15 according to his/her willing, no inconvenience is caused for the user. The user can authenticate the portable terminal 2 again by again bringing the portable terminal 2 close to the communication section 17.
According to the embodiment, the first communication mode is the reader/writer mode, and the second communication mode is either the card emulation mode or the P2P mode. As a result, the image forming apparatus 1 changes the communication mode from the reader/writer mode to the card emulation mode or the P2P mode based on successful authentication of the portable terminal 2. The user can perform the job in the image forming apparatus 1 using the portable terminal 2 without changing the communication mode of the communication section 17 with the input section 15 after the successful authentication.
According to the embodiment, the processor 11 sets either the card emulation mode or the P2P mode as the second communication mode according to the authority. As a result, the image forming apparatus 1 can set the suitable communication mode in response to the authority assigned to the user in the communication section 17 to perform the communication with the portable terminal 2. The user can perform the job in the image forming apparatus 1 according to the authority using the portable terminal 2 without changing the communication mode of the communication section 17 with the input section 15 after successful authentication.
The above-described embodiment is applicable not only to the image forming apparatus which is an example of the MFP, but also to various information processing apparatuses.
While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of invention. Indeed, the novel apparatus and methods described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of the apparatus and methods described herein may be made without departing from the spirit of the inventions. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the inventions.