The present invention relates to a power-saving method for a wheel mouse, and more particularly to a power-saving method for a wheel mouse by controlling the operations of a light emitter of a scroll wheel within the wheel mouse.
A mouse, a keyboard and a touchpad are widely-used input devices of a computer system. Among these input devices, the mouse is the most prevailing because it is very easy-to-use. When a mouse is held on the palm of a user's hand, the mouse may be intuitively operated to control movement of the cursor shown on the display screen of the computer system.
Hereinafter, the structures and the functions of a conventional mouse will be illustrated with reference to a wheel mouse as shown in
In
Moreover, during the process of operating the scroll wheel 13, regardless of whether the scroll wheel 13 is rotated by the user to be triggered, the light emitter 14 continuously generates the optical signal. Since the optical signal is continuously generated, the power consumption of the conventional wheel mouse 1 is increased. The light emitter 14 has to continuously generate the optical signal because the scroll wheel 13 is possibly rotated by the user at any time. In views of the power-saving purpose, the light emitter 14 may be temporarily turned off. However, if the scroll wheel 13 is rotated by the user when the light emitter 14 is turned off, the light emitter 14 fails to generate the optical signal in response to the rotation of the scroll wheel 13. Under this circumstance, the conventional wheel mouse 1 is erroneously operated.
Therefore, there is a need of provide a power-saving method for a wheel mouse in order to reduce power consumption and avoid the generation of the erroneous operation.
The present invention provides a power-saving method for a wheel mouse in order to reduce power consumption and avoid the generation of the erroneous operation.
In accordance with an aspect of the present invention, there is provided a power-saving method for a wheel mouse. The wheel mouse includes a scroll wheel, a light emitter and a light receiver. The scroll wheel is rotated to be triggered. The light emitter generates an optical signal. The optical signal passing through the scroll wheel is received by the light receiver. The light receiver outputs an output signal according to the optical signal. The power-saving method includes the steps of presetting an illumination cycle of the light emitter as a first cycle and judging whether the output signal from the light receiver is changed is performed. If the output signal from the light receiver is judged to be in a changed status, the illumination cycle of the light emitter is changed to a second cycle, wherein the second cycle is shorter than the first cycle. If the output signal from the light receiver is switched from the changed status to an unchanged status, a step of judging whether a time period of maintaining the unchanged status of the output signal from the light receiver reaches a predetermined time period is performed. If the time period of maintaining the unchanged status of the output signal from the light receiver reaches the predetermined time period, the illumination cycle of the light emitter is changed to the first cycle. If the time period of maintaining the unchanged status of the output signal from the light receiver does not reach the predetermined time period, the step of judging whether the output signal from the light receiver is changed is performed again.
In an embodiment, if the illumination cycle of the light emitter is equal to the first cycle and the output signal from the light receiver is judged to be in the unchanged status, the power-saving method further includes a step of starting to calculate the time period of maintaining the unchanged status of the output signal from the light receiver.
In an embodiment, after the illumination cycle of the light emitter is controlled to be the first cycle, the power-saving method further includes a step of judging whether the time period of maintaining the unchanged status of the output signal from the light receiver reaches an additional predetermined time period. If the time period of maintaining the unchanged status of the output signal from the light receiver reaches the additional predetermined time period, the light emitter and the light receiver are turned off. If the time period of maintaining the unchanged status of the output signal from the light receiver does not reach the additional predetermined time period, the step of judging whether the output signal from the light receiver is changed is performed again
In an embodiment, the predetermined time period is shorter than the additional predetermined time period.
In an embodiment, if the time period of maintaining the unchanged status of the output signal from the light receiver does not reach the additional predetermined time period and if the output signal from the light receiver is judged to be in the unchanged status, the power-saving method further includes a step of continuing to calculate the time period of maintaining the unchanged status of the output signal from the light receiver. If the time period of maintaining the unchanged status of the output signal from the light receiver does not reach the additional predetermined time period and if the output signal from the light receiver is judged to be switched from the unchanged status to the changed status, the power-saving method further includes steps of changing the illumination cycle of the light emitter to the second cycle and zeroing the time period of maintaining the unchanged status of the output signal from the light receiver.
In an embodiment, after the time period of maintaining the unchanged status of the output signal from the light receiver is continued to be calculated, the power-saving method further includes a step of judging again whether the time period of maintaining the unchanged status of the output signal from the light receiver reaches the additional predetermined time period.
In an embodiment, if the time period of maintaining the unchanged status of the output signal from the light receiver does not reach the predetermined time period and if the output signal from the light receiver is judged to be in the unchanged status, the power-saving method further includes a step of continuing to calculate the time period of maintaining the unchanged status of the output signal from the light receiver. If the time period of maintaining the unchanged status of the output signal from the light receiver does not reach the predetermined time period and if the output signal from the light receiver is judged to be switched from the unchanged status to the changed status, the power-saving method further includes steps of changing the illumination cycle of the light emitter to the second cycle and zeroing the time period of maintaining the unchanged status of the output signal from the light receiver.
In an embodiment, after the time period of maintaining the unchanged status of the output signal from the light receiver is continued to be calculated, the power-saving method further includes a step of judging again whether the time period of maintaining the unchanged status of the output signal from the light receiver reaches the predetermined time period.
In an embodiment, after the time period of maintaining the unchanged status of the output signal from the light receiver is zeroed, if the output signal from the light receiver is judged to be switched from the unchanged status to the changed status, the power-saving method further includes a step of judging again whether the time period of maintaining the unchanged status of the output signal from the light receiver reaches the predetermined time period.
In an embodiment, after the illumination cycle of the light emitter is changed to the second cycle, the power-saving method further includes steps of transmitting a scrolling signal of the wheel mouse to a computer system, and judging whether the scrolling signal has been completely transmitted to the computer system. If the scrolling signal has been not completely transmitted to the computer system, the scrolling signal is continuously transmitted to the computer system. If the scrolling signal has been completely transmitted to the computer system, the step of judging whether the output signal from the light receiver is changed is performed again.
In accordance with another aspect of the present invention, there is provided a power-saving method for a wheel mouse. The wheel mouse includes a scroll wheel, a light emitter and a light receiver. The scroll wheel is rotated to be triggered. The light emitter generates an optical signal. The optical signal passing through the scroll wheel is received by the light receiver. The light receiver outputs an output signal according to the optical signal. The power-saving method includes the steps of presetting an illumination cycle of the light emitter as a first cycle and judging whether the scroll wheel is triggered. If the scroll wheel is judged to be in a triggered status, the illumination cycle of the light emitter is changed to a second cycle, wherein the second cycle is shorter than the first cycle. If the scroll wheel is switched from the triggered status to an untriggered status, a step of judging whether a time period of maintaining the untriggered status of the scroll wheel reaches a predetermined time period is performed. If the time period of maintaining the untriggered status of the scroll wheel reaches the predetermined time period, the illumination cycle of the light emitter is changed to the first cycle. If the time period of maintaining the untriggered status of the scroll wheel does not reach the predetermined time period, the step of judging whether the scroll wheel is triggered is performed again.
In an embodiment, if the illumination cycle of the light emitter is equal to the first cycle and the scroll wheel is judged to be in the untriggered status, the power-saving method further includes a step of starting to calculate the time period of maintaining the untriggered status of the scroll wheel.
In an embodiment, after the illumination cycle of the light emitter is controlled to be the first cycle, the power-saving method further includes a step of judging whether the time period of maintaining the untriggered status of the scroll wheel reaches an additional predetermined time period. If the time period of maintaining the untriggered status of the scroll wheel reaches the additional predetermined time period, the light emitter and the light receiver are turned off. If the time period of maintaining the untriggered status of the scroll wheel does not reach the additional predetermined time period, the step of judging whether the scroll wheel is triggered is performed again.
In an embodiment, the predetermined time period is shorter than the additional predetermined time period.
In an embodiment, if the time period of maintaining the untriggered status of the scroll wheel does not reach the additional predetermined time period and if the scroll wheel is judged to be in the untriggered status, the power-saving method further includes a step of continuing to calculate the time period of maintaining the untriggered status of the scroll wheel. If the time period of maintaining the untriggered status of the scroll wheel does not reach the additional predetermined time period and if the scroll wheel is judged to be switched from the untriggered status to the triggered status, the power-saving method further includes steps of changing the illumination cycle of the light emitter to the second cycle and zeroing the time period of maintaining the untriggered status of the scroll wheel.
In an embodiment, after the time period of maintaining the untriggered status of the scroll wheel is continued to be calculated, the power-saving method further includes a step of judging again whether the time period of maintaining the untriggered status of the scroll wheel reaches the additional predetermined time period.
In an embodiment, if the time period of maintaining the untriggered status of the scroll wheel does not reach the predetermined time period and if the scroll wheel is judged to be in the untriggered status, the power-saving method further includes a step of continuing to calculate the time period of maintaining the untriggered status of the scroll wheel. If the time period of maintaining the untriggered status of the scroll wheel does not reach the predetermined time period and if the scroll wheel is judged to be switched from the untriggered status to the triggered status, the power-saving method further includes steps of changing the illumination cycle of the light emitter to the second cycle and zeroing the time period of maintaining the untriggered status of the scroll wheel.
In an embodiment, after the time period of maintaining the untriggered status of the scroll wheel is continued to be calculated, the power-saving method further includes a step of judging again whether the time period of maintaining the untriggered status of the scroll wheel reaches the predetermined time period.
In an embodiment, after the time period of maintaining the untriggered status of the scroll wheel is zeroed, if the scroll wheel is judged to be switched from the untriggered status to the triggered status, the power-saving method further includes a step of judging again whether the time period of maintaining the untriggered status of the scroll wheel reaches the predetermined time period.
In an embodiment, after the time period of maintaining the untriggered status of the scroll wheel is zeroed, the power-saving method further includes a step of judging whether a rotating degree of the scroll wheel reaches a rotating graduation. If the rotating degree of the scroll wheel does not reach the rotating graduation, the power-saving method further includes a step of judging whether the time period of maintaining the untriggered status of the scroll wheel reaches the predetermined time period.
In an embodiment, after the illumination cycle of the light emitter is changed to the second cycle, the power-saving method further includes steps of transmitting a scrolling signal of the wheel mouse to a computer system and judging whether the scrolling signal has been completely transmitted to the computer system. If the scrolling signal has been not completely transmitted to the computer system, the scrolling signal is continuously transmitted to the computer system. If the scrolling signal has been completely transmitted to the computer system, the step of judging whether the scroll wheel is triggered is performed again.
The above objects and advantages of the present invention will become more readily apparent to those ordinarily skilled in the art after reviewing the following detailed description and accompanying drawings, in which:
The controlling unit 33 is in communication with the light emitter 31 and the light receiver 32. The controlling unit 33 has two functions. Firstly, the controlling unit 33 is used for controlling the illumination cycle of generating the optical signal A1. Secondly, the controlling unit 33 is used for receiving the output signal A2 from the light receiver 32. According to the change of the output signal A2, the controlling unit 33 will judge whether the scroll wheel 30 is triggered. In this embodiment, the light emitter 31 is an infrared light emitter, and the optical signal A1 is an infrared optical signal. In addition, the light receiver 32 is an infrared light receiver, and the output signal A2 is a logic level signal. In an embodiment, the controlling unit 33 is a microprocessor.
Hereinafter, a power-saving method for a wheel mouse according to an embodiment of the present invention will be illustrated with reference to
In this embodiment, the second cycle T2 is shorter than the first cycle T1. For example, the first cycle T1 is 10 milliseconds, the second cycle T2 is 500 microseconds, and the predetermined time period Tp is 2 seconds.
If the controlling unit 33 judges that the output signal A2 from the light receiver 32 is changed in the step S2, the step S3 is performed. Whereas, if the controlling unit 33 judges that the output signal A2 from the light receiver 32 is not changed in the step S2, the step S7 is performed. If the controlling unit 33 judges that the scrolling signal A3 has been completely transmitted to the computer system 4 in the step S6, the step S2 is performed again. Whereas, if the controlling unit 33 judges that the scrolling signal A3 has been not completely transmitted to the computer system 4 in the step S6, the step S5 is performed again. If the controlling unit 33 judges that the time period of maintaining the unchanged status of the output signal A2 from the light receiver 32 reaches the predetermined time period Tp in the step S8, the step S9 is performed. Whereas, if the controlling unit 33 judges that the time period of maintaining the unchanged status of the output signal A2 from the light receiver 32 does not reach the predetermined time period Tp in the step S8, the step S2 is performed again. After the step S9 is performed, the step S2 is performed again, so that the power-saving method for the wheel mouse is repeatedly done.
It is noted that the first cycle T1, the second cycle T2 and the predetermined time period Tp are previously set during the process of fabricating the wheel mouse 3. Moreover, after the wheel mouse 3 is enabled, according to these settings, the illumination cycle of the light emitter 31 is preset as the first cycle T1 by the controlling unit 33. In a case that the illumination cycle of the light emitter 31 is equal to the first cycle T1, the light emitter 31 generates the optical signal A1 once during each first cycle T1. On the other hand, the output signal A2 is continuously transmitted from the light receiver 32 to the controlling unit 33 in order to prevent from losing the optical signal A1.
Hereinafter, some conditions of generating the output signal A2 by the light receiver 32 in response to the rotation of the scroll wheel 30 will be illustrated with reference to
The light receiver 32 has a first pin 321 and a second pin 322. The first pin 321 and the second pin 322 are in communication with the controlling unit 33. According to the relationship between the position of a specified elongated element 3011 and the light receiver 32, the first pin 321 and the second pin 322 issue a first logic level signal A21 and a second logic level signal A22, respectively. The output signal A2 is collaboratively defined by the first logic level signal A21 and the second logic level signal A22.
As shown in
Next, as shown in
Next, as shown in
Next, as shown in
As the scroll wheel 30 is continuously rotated, the elongated element 3011 is correspondingly moved to a position distant from the light receiver 32, and a next elongated element 3011 is correspondingly moved to a position near the light receiver 32. Meanwhile, the relationship between the position of the elongated element 3011 and the light receiver 32 is similar to that as shown in
A complete operating sequence as shown in
Hereinafter, the operations of the power-saving method for the wheel mouse according to the present invention will be illustrated with reference to
On the other hand, if the controlling unit 33 judges that the status of the output signal A2 from the light receiver 32 is changed in the step S2 (i.e. the output signal A2 is switched from an unchanged status to a changed status), it means that the scroll wheel 30 is rotated by the user and the scroll wheel 30 is triggered. Under this circumstance, the illumination cycle of the light emitter 31 is changed from the first cycle T1 to a second cycle T2 by the controlling unit 33 (i.e. the step S3). In a case that the illumination cycle of the light emitter 31 is equal to the second cycle T2, the light emitter 31 generates the optical signal A1 once during each second cycle T2. Next, the time period of maintaining the unchanged status of the output signal A2 from the light receiver 32 is zeroed by the controlling unit 33 (i.e. the step S4). The change of the output signal A2 indicates that the scroll wheel 30 is triggered. Under this circumstance, the scrolling signal A3 of the wheel mouse 3 is transmitted from the controlling unit 33 to the computer host 41 of the computer system 4 (i.e. the step S5). In addition, the controlling unit 33 judges whether the scrolling signal A3 has been completely transmitted to the computer system 4 (i.e. the step S6). Consequently, the computer host 41 executes a corresponding command according to the scrolling signal A3. If the controlling unit 33 judges that the scrolling signal A3 has been completely transmitted to the computer system 4 in the step S6, the step S2 is performed by the controlling unit 33 again. Whereas, if the controlling unit 33 judges that the scrolling signal A3 has been not completely transmitted to the computer system 4 in the step S6, the step S5 is performed by the controlling unit 33 again.
After the scrolling signal A3 has been completely transmitted to the computer system 4, the controlling unit 33 performs the step S2 at the third time. When the user stops poking the scroll wheel 30 and the rotation of the scroll wheel 30 is stopped, the controlling unit 30 may judge that the output signal A2 from the light receiver 32 is no longer changed. Meanwhile, the illumination cycle of the light emitter 31 is maintained at the second cycle T2 by the controlling unit 33, and the time period of maintaining the unchanged status of the output signal A2 from the light receiver 32 is started to be calculated (i.e. the step S7). Then, the controlling unit 33 judges whether the time period of maintaining the unchanged status of the output signal A2 from the light receiver 32 reaches the predetermined time period Tp (i.e. the step S8). If the controlling unit 33 judges that the time period of maintaining the unchanged status of the output signal A2 from the light receiver 32 does not reach the predetermined time period Tp, the step S2 is performed by the controlling unit 33 again. Then, the scroll wheel 30 is not triggered by the user. Consequently, the output signal A2 from the light receiver 32 is maintained at the unchanged status, and the steps S2, S7 and S8 are repeatedly done by the controlling unit 33 until the controlling unit 33 judges that the time period of maintaining the unchanged status of the output signal A2 from the light receiver 32 reaches the predetermined time period Tp. Meanwhile, the illumination cycle of the light emitter 31 is changed to the first cycle T1 (i.e. the step S9). In a case that the illumination cycle of the light emitter 31 is equal to the first cycle T1, the light emitter 31 generates the optical signal A1 once during each first cycle T1. Then, the controlling unit 33 performs the step S2 again and waits for the triggering action of the scroll wheel 30. In such way, the power-saving method can be repeatedly executed.
The present invention further provides a power-saving method for a wheel mouse according to another embodiment of the present invention.
If the controlling unit 33 judges that the scroll wheel 30 is triggered in the step S2*, the step S3* is performed. Whereas, if the controlling unit 33 judges that the scroll wheel 30 is not triggered in the step S2*, the step S8* is performed. If the controlling unit 33 judges that the rotating degree of the scroll wheel 30 reaches the rotating graduation in the step S5*, the step S6* is performed. Whereas, if the controlling unit 33 judges that the rotating degree of the scroll wheel 30 does not reach the rotating graduation in the step S5*, the step S9* is performed. If the controlling unit 33 judges that the scrolling signal A3 has been completely transmitted to the computer system 4 in the step S7*, the step S2* is performed again. Whereas, if the controlling unit 33 judges that the scrolling signal A3 has been not completely transmitted to the computer system 4 in the step S7*, the step S6* is performed again. If the controlling unit 33 judges that the time period of maintaining the untriggered status of the scroll wheel 30 reaches the predetermined time period Tp in the step S9*, the step S10* is performed. Whereas, if the controlling unit 33 judges that the time period of maintaining the untriggered status of the scroll wheel 30 does not reach the predetermined time period Tp in the step S9*, the step S2* is performed again. If the controlling unit 33 judges that the time period of maintaining the untriggered status of the scroll wheel 30 reaches the additional predetermined time period Tp* in the step S11*, the step S12* is performed. Whereas, if the controlling unit 33 judges that the time period of maintaining the untriggered status of the scroll wheel 30 does not reach the additional predetermined time period Tp* in the step S11*, the step S2* is performed again. After the step S12* is performed by the controlling unit 33, it means that the wheel mouse 3 has entered a sleep mode. Afterwards, if the wheel mouse 3 is triggered by the triggering action of rotating the scroll wheel, clicking the button or moving the mouse, the power-saving method is activated again and the step S1* is started.
Except for the following three items, the power-saving method of this embodiment is substantially identical to the power-saving method of the above embodiment. Firstly, in the power-saving method of this embodiment, the additional predetermined time period Tp* is further provided, wherein the additional predetermined time period Tp* is longer than the predetermined time period Tp. For example, the additional predetermined time period Tp* is 30 seconds. Secondly, the power-saving method of this embodiment further comprises a signal transmission judgment step (i.e. the step S5*). In the step S5*, the way of judging whether the rotating degree of the scroll wheel 30 reaches the rotating graduation may be performed according to the contents as shown in
Hereinafter, the operations of the power-saving method for the wheel mouse according to the present invention will be illustrated with reference to
After the step S8* is performed, the controlling unit 33 judges whether the time period of maintaining the untriggered status of the scroll wheel 30 reaches a predetermined time period Tp (i.e. the step S9*). If the controlling unit 33 judges that the time period of maintaining the untriggered status of the scroll wheel 30 does not reach the predetermined time period Tp (e.g. 2 seconds), the step S2 will be performed again by the controlling unit 33. Whereas, if the controlling unit 33 judges that the time period of maintaining the untriggered status of the scroll wheel 30 reaches the predetermined time period Tp, the step S10* is performed by the controlling unit 33. Meanwhile, since the illumination cycle of the light emitter 31 is originally the first cycle T1, the step S11* is continuously performed by the controlling unit 33. If the controlling unit 33 judges that the time period of maintaining the untriggered status of the scroll wheel 30 does not reach the additional predetermined time period Tp* (e.g. 30 seconds), the step S2* is performed again. The steps S2*, S8*, S9*, S10* and S11* are repeatedly done. Until the time period of maintaining the untriggered status of the scroll wheel 30 reaches the additional predetermined time period Tp*, the light emitter 31 and the light receiver 32 are turned off (i.e. the step S12*).
Next, the condition that the scroll wheel 30 of the wheel mouse 3 is triggered will be discussed as follows. In a case that the wheel mouse 3 in the sleep mode is triggered by the user, the wheel mouse 3 is switched from the sleep mode to a working mode. In the working mode, the light emitter 31 and the light receiver 32 are turned on, and the step S1* is performed by the controlling unit 33. After the step S1* is performed, the step S2* is performed by the controlling unit 33. If the controlling unit 33 judges that the scroll wheel 30 is triggered, the illumination cycle of the light emitter 31 is changed from the first cycle T1 to the second cycle T2 by the controlling unit 33 (i.e. the step S3*). Then, the time period of maintaining the untriggered status of the scroll wheel 30 is zeroed by the controlling unit 33 (i.e. the step S4*). In addition, the controlling unit 33 judges whether the rotating degree of the scroll wheel 30 reaches the rotating graduation (i.e. the step S5*). If the controlling unit 33 judges that the rotating degree of the scroll wheel 30 reaches the rotating graduation, the steps S6*, S7*, S2*, S8* and S9* as mentioned above are performed and the steps S2*, S8* and S9* are repeatedly done. Consequently, the illumination cycle of the light emitter 31 is changed to the first cycle T1 (i.e. the S10*). The operations of these steps are similar to those mentioned above, and are not redundantly described herein. The subsequent steps S11* and S12* are similar to those mentioned above, and are not redundantly described herein.
In the step S5*, if the controlling unit 33 judges that the rotating degree of the scroll wheel 30 does not reach the rotating graduation, the controlling unit 33 will judge whether the time period of maintaining the untriggered status of the scroll wheel 30 reaches the predetermined time period Tp (i.e. the step S9*). Then, similar to the above embodiment, the steps S2*, S8* and S9* are repeatedly done. Consequently, the illumination cycle of the light emitter 31 is changed to the first cycle T1 (i.e. the S10*). The subsequent steps S11* and S12* are similar to those mentioned above, and are not redundantly described herein.
From the above embodiments, the power-saving method of the present invention is used to control the illumination cycle of the light emitter by judging whether the scroll wheel is triggered or judging whether the output signal from the light receiver is changed. In a case that the illumination cycle of the light emitter is the shorter second cycle, the light emitter can quickly generate the optical signal. Since it is not necessary to temporarily turn off the light emitter, the optical signal is not lost and the possibility of erroneously operating the wheel mouse is minimized or eliminated. Whereas, in a case that the illumination cycle of the light emitter is the longer first cycle, the controlling unit can reduce the power consumption in order to achieve the power-saving efficacy. Moreover, since the second embodiment of the power-saving method further comprises the signal transmission judgment step (i.e. the step S5*) and the sleep mode judgment step (i.e. the step S11*), the power-saving efficacy of the wheel mouse is further enhanced.
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 embodiment. 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 such modifications and similar structures.
Number | Date | Country | Kind |
---|---|---|---|
101125395 | Jul 2012 | TW | national |