INPUT MODULE
20170300136 · 2017-10-19
Inventors
Cpc classification
G06F3/038
PHYSICS
G06F3/0354
PHYSICS
G06F1/3259
PHYSICS
G06F3/033
PHYSICS
International classification
G06F3/038
PHYSICS
G06F3/0354
PHYSICS
Abstract
An input module includes an input device and a control program. The input device is in communication with a computer. The control program is installed in the computer. If a control signal from a processing unit of the input device has not been received by the computer for a predetermined time period after the control program is opened, the control program issues a command signal to the processing unit. After the command signal is received by the processing unit, the processing unit issues at least one response signal to the computer so as to prevent the computer from entering a hibernation mode.
Claims
1. An input module, comprising: an input device in communication with a computer and comprising a processing unit, wherein when the input device is operated by a user, the processing unit issues a control signal to the computer, so that the computer executes a command corresponding to the control signal; and a control program installed in the computer, wherein if the control signal from the processing unit has not been received by the computer for a predetermined time period after the control program is opened, the control program issues a command signal to the processing unit, wherein after the command signal is received by the processing unit, the processing unit issues at least one response signal to the computer so as to prevent the computer from entering a hibernation mode.
2. The input module according to claim 1, wherein the input device is a mouse device, and the control signal is a trajectory moving signal.
3. The input module according to claim 2, wherein the at least one response signal contains a first trajectory moving signal.
4. The input module according to claim 3, wherein the at least one response signal further contains a second trajectory moving signal, wherein after the first trajectory moving signal has been issued for a specified time interval, the processing unit issues the second trajectory moving signal, wherein a direction corresponding to the first trajectory moving signal and a direction corresponding to the second trajectory moving signal are opposed to each other.
5. The input module according to claim 1, wherein the control program is opened in response to a first specified operation of the user, or the control program is closed in response to a second specified operation of the user.
6. The input module according to claim 5, wherein the input device is a mouse device, and the mouse device comprises a scroll wheel, a left button, a right button and an intermediate button under the scroll wheel, wherein when the left button, the right button and the intermediate button are pressed simultaneously, the first specified operation is performed.
7. The input module according to claim 5, wherein the first specified operation or the second specified operation is set by the user through the control program.
8. The input module according to claim 1, wherein the input device further comprises a light-emitting element, wherein when the control program is opened, the light-emitting element is enabled.
9. The input module according to claim 1, wherein the predetermined time period is set by the user through the control program.
10. The input module according to claim 1, wherein the input module is applied to a production line testing system.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0009]
[0010]
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT
[0011]
[0012] After the control program 12 installed in the computer 2 is opened, the control program 12 detects whether the control signal S1 from the processing unit 111 of the input device 11 is received by the computer 2. If the control signal S1 from the processing unit 111 of the input device 11 has not been received by the computer 2 for a predetermined time period, the control program 12 issues a command signal S2 to the processing unit 111 of the input device 11. After the command signal S2 is received by the processing unit 111 of the input device 11, the processing unit 111 of the input device 11 issues at least one response signal S3 to the computer 2. According to the response signal S3, the computer 2 does not enter the hibernation mode. The operations of the input module will be described in more details later. Moreover, the predetermined time period is shorter than the idle time of the computer 2 to enter the hibernation mode. Moreover, according to the practical requirements, the response signal S3 is set to be identical to the control signal S1 or different from the control signal S1.
[0013] In an embodiment, the control program 12 is opened in response to a first specified operation of the user, and the control program 12 is closed in response to a second specified operation of the user. Preferably but not exclusively, the control program 12 provides a user operation interface 121 (see
[0014] A method of using a mouse device as the input module to prevent the computer from entering the hibernation mode will be used as follows.
[0015] Preferably but not exclusively, the light-emitting element 16 is a light emitting diode. When the control program 12 is opened, the light-emitting element 16 is enabled to continuously emit a light beam or intermittently flicker. Consequently, the user can recognize whether the control program 12 is enabled.
[0016] In an embodiment, the first specified operation of opening the control program 12 is performed when the left button 113, the right button 114 and the intermediate button 115 are pressed simultaneously. Moreover, the second specified operation of closing the control program 12 is performed when the intermediate button 115 is pressed again. It is noted that the settings of the first specified operation and the second specified operation are not restricted. For example, according to the practical requirements, the settings of the first specified operation and the second specified operation are modified through the user operation interface 121. In the embodiment of
[0017] The operating principles of the input module 1 of the present invention will be illustrated in more details as follows. For example, if the user does not want the computer 2 to enter the hibernation mode because of the long idle time, the user may press the left button 113, the right button 114 and the intermediate button 115 of the input device 11′ simultaneously. Consequently, the processing unit 111 of the input device 11′ issues a control signal S13 to the computer 2. According to the control signal S13, the computer 2 executes the command of opening the control program 12. After the control program 12 is opened, the control program 12 detects whether the trajectory moving signal (i.e., the control signal S11) from the processing unit 111 of the input device 11′ is received by the computer 2. If no trajectory moving signal has been transmitted from the processing unit 111 of the input device 11′ to the computer 2 for a predetermined time period, the control program 12 issues a command signal S2 to the processing unit 111 of the input device 11′. After the command signal S2 is received by the processing unit 111 of the input device 11′, the processing unit 111 of the input device 11′ issues at least one response signal S3 to the computer 2.
[0018] In an embodiment, the at least one response signal S3 contains a first trajectory moving signal S31 and a second trajectory moving signal S32. The direction of the first trajectory moving signal S31 and the direction of the second trajectory moving signal S32 are opposed to each other. Moreover, after the first trajectory moving signal S31 has been issued for a specified time interval, the processing unit 111 of the input device 11′ issues the second trajectory moving signal S32. After the first trajectory moving signal S31 is received by the computer 2, a command of moving the mouse cursor 21 in a direction D1 for one unit length is executed. After the second trajectory moving signal S32 is received by the computer 2, a command of moving the mouse cursor 21 in a direction D2 for one unit length is executed, wherein the direction D2 is opposed to the first direction D1. Consequently, the mouse cursor 21 is stayed at the original position. That is, even if the computer 2 has been idled for a long time after the control program 12 is opened, the movable distance of the mouse cursor 21 is not too large.
[0019] If the user wants to restore the computer 2 to the original settings of automatically entering the hibernation mode when the computer 2 has been idled for a long time, the user may press the intermediate button 115 of the input device 11′. Consequently, the processing unit 111 of the input device 11′ issues a control signal S14 to the computer 2. According to the control signal S14, the computer 2 executes the command of closing the control program 12.
[0020] In the above embodiment, the input device 11′ is the mouse device. In practice, the example of the input device 11′ is not restricted. It is noted that numerous modifications and alterations may be made while retaining the teachings of the invention. For example, in another embodiment, the input device is a keyboard device.
[0021] From the above descriptions, the uses of the input device and the corresponding control program of the present invention allow the operation mode of the computer to be switched between the hibernation mode and the normal working mode in a humanized manner. Consequently, the input module of the present invention can comply with various practical requirements. For example, the input module 1 as shown in
[0022] While the invention has been described in terms of what is presently considered to be the most practical and preferred embodiments, it is to be understood that the invention needs not be limited to the disclosed embodiments. On the contrary, it is intended to cover various modifications and similar arrangements included within the spirit and scope of the appended claims which are to be accorded with the broadest interpretation so as to encompass all modifications and similar structures.