The present application is based upon and claims the benefit of priority of Japanese Patent Application No. 2015-042116, filed on Mar. 4, 2015, the contents of which are incorporated herein by reference in their entirety.
1. Field of the Invention
The present invention relates to an electronic device, a communication mode control method, and a communication mode control program.
2. Description of the Related Art
Portable terminal devices, such as smart phones and tablets, are increasingly popular. The need for printing data by transferring the data from a portable terminal device to an image forming apparatus, such as a multi-function peripheral (MFP), and the need for transferring data from a portable terminal device to other electronic devices are growing.
Wi-Fi Direct is known as a method of ad hoc networking for transferring electronic data directly between an electronic device such as an image forming apparatus, and a terminal device carried by a user. Wi-Fi Direct is one of wireless LAN functions and provides a wireless communication mode which transfers data directly between the devices without requiring a wireless LAN access point or a wireless LAN router. Because neither a wireless LAN access point nor a wireless LAN router is required, Wi-Fi Direct can provide a wireless connection to various devices even if the devices are not permitted beforehand for network access.
Generally, a Wi-Fi Direct system according to the related art operates in a manner similar to a wireless access point. If the Wi-Fi Direct system is activated at all times, the frequency range of radio waves will be taken up and the power consumption will be increased. To avoid the problem, a common method of operating the Wi-Fi Direct system is that a user activates the Wi-Fi Direct system temporarily. Regarding the related art, see Japanese Laid-Open Patent Publication No. 2005-244329.
In one aspect, the present invention provides an electronic device which is capable of providing improved operability and reduced power consumption.
In one embodiment, the present invention provides an electronic device including a processor, the processor including: a communication unit configured to carry out a communication mode in which the electronic device and a terminal device communicate with each other directly; a human body detection unit configured to detect proximity of a user to the electronic device; and a network control unit configured to activate, in response to a notification of the proximity of the user detected by the human body detection unit, the communication unit to carry out the communication mode in which the electronic device and the terminal device communicate with each other directly.
The object and advantages of the invention will be implemented and attained by means of the elements and combinations particularly pointed out in the claims. It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention, as claimed.
A description will be given of embodiments with reference to the accompanying drawings.
In the following, an image forming apparatus 1 will be described as an example of an electronic device according to the invention. However, it can be readily understood that the electronic device according to the invention is also applicable to electronic devices other than the image forming apparatus.
Further, in the system shown in
The operation panel 11 is a hardware unit that displays a state of the image forming apparatus 1 to a user and receives a request from a user. The document scanning unit 12 is a hardware unit that optically reads an original image or data from a document from which a copy is reproduced. The paper feeding unit 13 is a hardware unit that supplies a sheet to be printed. The printing unit 14 is a hardware unit that prints an image on the sheet from the paper feeding unit 13 based on the original image or data read by the document scanning unit 12. The paper ejection unit 15 is a hardware unit that ejects the sheet on which the image is printed by the printing unit 14.
The CPU 101 is a processor configured to control overall operations of the image forming apparatus 1. The CPU 101 is configured to execute programs read from the ROM 102 or the HDD 104 to the RAM 103 by using the RAM 113 as a work area.
The engine 105 is a hardware unit configured to perform a reading operation and a printing operation and implement various image forming functions, including a copier function, a scanner function, a fax function, a printer function, etc.
The notification unit 106 is a hardware unit configured to provide a user with a state of the image forming apparatus 1. Examples of the notification unit 106 may include a LED (light emitting diode), a Patlite®, a buzzer, etc.
The operation unit 107 is a user interface unit configured to receive an input operation from a user and display information of a state of the image forming apparatus 1 to a user.
The human body detection sensor 108 is a sensor configured to detect the proximity of a person to the image forming apparatus 1 and the secession (or withdrawal) of a person from the image forming apparatus 1.
The communication interface 109 is an interface unit connected to the network N by wire and configured to connect to an external wireless device by radio.
Note that the location where the human body detection sensor 108 is disposed is not limited to the inside of the operation panel 11 and it may be any other portion of the image forming apparatus 1. The human body detection sensor 108 may be disposed at a location distant from the image forming apparatus 1 and may connect to the image forming apparatus 1 by wire or by radio. Further, the region in which the proximity and secession of a person can be detected by the human body detection sensor 108 is not be limited to a circular region with an omnidirectional radiation pattern, and it may be an arbitrary-form region with a directional radiation pattern.
The device state determination control unit 111 is configured to control a device state of the image forming apparatus 1. Specifically, the device state determination control unit 111 according to this embodiment is configured to send a notification of proximity information (notification of proximity) to a related control unit in response to a trigger of the proximity of a person received from the human body detection sensor 108, and send a notification of secession information (notification of secession) to the related control unit in response to a trigger of the secession of the person received from the human body detection sensor 108.
The operation unit control unit 112 is configured to control the operation unit 107 in response to a request from a related control unit, so that the operation unit 107 is controlled to receive an input operation from a user and display information of a state of the image forming apparatus 1 to a user.
The energy-saving set/reset control unit 113 is configured to stop the power supply to the operation unit 107 and the engine 105 in response to an energy-saving mode set request received from the device state determination control unit 111 and start the power supply to the operation unit 107 and the engine 105 in response to an energy-saving mode reset request received from the device state determination control unit 111.
The network control unit 114 is configured to transmit packets to and receive packets from a networking device via the communication interface 109. Further, the network control unit 114 is configured to control the network N in response to a request from a user or from the device state determination control unit 111. Specifically, the network control unit 114 according to this embodiment is configured to switch a wireless LAN communication mode set up by the communication interface 109, in response to a notification of proximity or a notification of secession received from the device state determination control unit 111.
The CPU 401 is a processor configured to control overall operations of the terminal device 4 or 5. The CPU 401 is configured to execute a program read from the ROM 403 or the flash memory 404 to the RAM 402 by using the RAM 402 as a work area.
The connection interface 405 is an interface unit configured to connect the terminal device 4 or 5 with an external device. The communication interface 406 is an interface unit configured to perform communication with another information processing apparatus via the network N.
When the “active” button in the “setting of automated active state switching” portion of the setting screen is selected by the user, a Wi-Fi Direct mode of the image forming apparatus 1 is automatically activated in response to a notification of proximity of a user received. On the other hand, when the “inactive” button is selected by the user, the activation of the Wi-Fi Direct mode is not performed even if a notification of proximity of a user is received.
The setting of the “inactive state switching time” is allowed only when the “automated active state switching” is in an active state. The “inactive state switching time” is input in the setting screen by the user to set up in the network control unit 114 a value of a timeout interval between an end of a Wi-Fi Direct communication (which may include a case in which the communication is not started) and a time the Wi-Fi Direct mode is to be deactivated after the end of the communication.
Further, regarding the Wi-Fi Direct mode, the setting of a “PIN code connection” mode or a “WPS button” mode is separately performed as the setting of a connection method. When the “PIN code connection” mode is set up, the image forming apparatus 1 generates a PIN (personal identification number) code and displays the PIN code, and the terminal device 4 or 5 which requests a Wi-Fi Direct connection with the image forming apparatus 1 performs the Wi-Fi setting by inputting the PIN code to the terminal device. When the “WPS button” mode is set up, the image forming apparatus 1 displays a SSID (service set identifier) of the image forming apparatus 1 itself and the terminal device 4 or 5 which requests a Wi-Fi Direct connection with the image forming apparatus 1 performs the Wi-Fi setting by pressing a WPS button on the terminal device and selecting the SSID of the image forming apparatus 1. The setting of these modes may also be performed based on the control of the operation unit control unit 112, and setting values may be stored in the storage area based on the control of the network control unit 114.
Note that when the terminal device 4 or 5 and the image forming apparatus 1 may communicate with each other in a power-saving manner, such as by Bluetooth®, it is possible to set the system in a standby state at all times without performing the automated switching.
When the notification of the proximity of a user is received, the network control unit 114 checks a connection method of Wi-Fi Direct, activates the Wi-Fi Direct mode, and waits for a Wi-Fi Direct connection in accordance with the set-up connection method (steps S13-S17).
Namely, when the connection method is the PIN code connection mode at step S14, the network control unit 114 transmits an SSID and PIN display request to the operation unit 107 (step S15).
Referring back to
Referring back to
As shown in
When the image forming apparatus 1 is in an energy-saving mode, the device state determination control unit 111 sends an energy-saving mode reset request to the energy-saving set/reset control unit 113 to reset the related module (step S104).
Similarly, the energy-saving set/reset control unit 113 sends the energy-saving mode reset request to the operation unit control unit 112 (step S105).
To return from the energy-saving mode, the operation unit control unit 112 turns ON the back light and causes the operation unit 107 to display a standby screen and a device state of the image forming apparatus 1 on the operation panel 11 (step S106).
The energy-saving set/reset control unit 113 starts the power supply to the engine board of the engine 105 (step S107), sends a wireless LAN return request to the network control unit 114, and causes the communication interface 109 to return from the energy-saving mode to a normal mode (step S108).
The network control unit 114 activates the wireless LAN if the wireless LAN was in an inactive state (step S109).
The device state determination control unit 111 sends a notification of the proximity of the user to the network control unit 114 (step S110).
The network control unit 114 activates the Wi-Fi Direct mode of the wireless LAN, and waits for receiving a Wi-Fi Direct connection request from the client (the terminal devices 4 and 5) (step S111).
After the Wi-Fi Direct mode is activated, the network control unit 114 sends an SSID display request to the operation unit control unit 112, which causes the operation unit 107 of the image forming apparatus 1 to display the SSID needed for a Wi-Fi Direct connection (step S112).
The operation unit control unit 112 causes the operation unit 107 to display the SSID of the image forming apparatus 1 to indicate a wireless state (step S113). This SSID is used on the side of the terminal device 4 or 5 for the checking when selecting the device of the connection partner.
The user presses a WPS button, which is displayed on the terminal device 4 or 5 by the WPS processing unit 43, to select the WPS mode of Wi-Fi Direct (step S114).
The terminal device 4 or 5 and the network control unit 114 of the image forming apparatus 1 perform the negotiation for the WPS connection (step S115) and establish a Wi-Fi Direct connection between them so that the network connection is completed (step S116). Subsequently, the user of the terminal device 4 or 5 inputs a job execution request from the application unit 41, such as requesting directly the image forming apparatus 1 to perform a printing job.
Next, as shown in
The device state determination control unit 111 sends a notification of the secession from the image forming apparatus 1 to the network control unit 114 (step S124).
The network control unit 114 deactivates the Wi-Fi Direct mode in response to the received notification (step S125). The network control unit 114 deactivates the wireless LAN if the wireless LAN was in an active state (step S126).
Next,
In the process shown in
As shown in
When an OK response is received from the ambient Wi-Fi device, the network control unit 114 sends an SSID display request to the operation unit control unit 112, which causes the operation unit 107 of the image forming apparatus 1 to display the SSID needed for a Wi-Fi Direct connection (step S214). Subsequent steps S215-S218 of the process shown in
Next, in the process shown in
As shown in
As described in the foregoing, the Wi-Fi Direct mode can be activated automatically only when the user approaches the electronic device according to the invention, and it is possible for the electronic device according to the invention to provide improved operability and reduced power consumption.
The present invention is not limited to the above-described embodiments, and variations and modifications may be made without departing from the scope of the present invention. It is to be understood that the foregoing detailed description is exemplary and explanatory and is not restrictive of the invention as claimed.
The image forming apparatus 1 in the foregoing embodiments is an example of “electronic device.” The communication interface 109 in the foregoing embodiments is an example of “communication unit.” The Wi-Fi Direct mode in the foregoing embodiments is an example of “communication mode in which the electronic device and a terminal device communicate with each other directly.” The human body detection sensor 108 in the foregoing embodiments is an example of “human body detection unit.” The network control unit 114 in the foregoing embodiments is an example of “network control unit.”
Further, the network control unit 114 (performing the step S212 in
Note that the electronic device according to the invention and the communication mode control method for use in the electronic device according to the invention may be implemented based on the disclosure of the foregoing embodiments. Further, a non-transitory computer-readable recording medium storing the communication mode control program which, when executed by a computer, causes the computer to implement the respective units of the electronic device according to the invention may be implemented based on the disclosure of the foregoing embodiments.
Number | Date | Country | Kind |
---|---|---|---|
2015-042116 | Mar 2015 | JP | national |