1. Technical Field
The present disclosure relates to remote control systems and remote control methods, and particularly to a remote control system and a remote control method for a computer.
2. Description of Related Art
Conventionally, a computer is operated by a keyboard and a mouse. The mouse, for example, can be used to select, open, or close menus. However, the mouse must be physically close to the computer and the user must be physically close (within hand reach) of the mouse. However, this limits the movement range of the user of the computer, which is inconvenient for the user, and for some computer mice, the clicking sound of the buttons may be annoying to nearby personnel.
Many aspects of the embodiments can be better understood with reference to the following drawings. The components in the drawing are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the present embodiments.
a and 3b are flowcharts of a remote control method for a computer in accordance with an exemplary embodiment of the present disclosure.
The disclosure, including the drawing, is illustrated by way of example and not by way of limitation. References to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean at least one.
When the computer 30 operates, the camera 22 captures images of the label device 10 at same preset time interval and sends the captured images to the signal processing module 23. The signal processing module 23 obtains a movement distance and a movement time of the label device 10 according to the received images, and compares the movement distance with the first and second preset distances and also compares the movement time with the first and second preset time. When the movement distance is less than the first preset distance and the movement time is less than the first preset time, the signal processing module 23 outputs a first key-press instruction to the computer 30 for controlling a cursor to emulate a left-button operation of a mouse, such as a click for the left-button of the mouse.
When the movement distance is greater than the first preset distance and less than the second preset distance, and the movement time is greater than the first preset distance and less the second preset time, the signal processing module 23 outputs a second key-press instruction to the computer 30 for controlling the cursor to emulate a right-button operation of the mouse, such as a double click for the left-button or a click for the right-button of the mouse. When the movement distance is greater than the second preset distance and a track of the movement distance is not a circle, and the movement time is greater than the second preset time, the signal processing module 23 outputs a movement instruction to the computer 30 for controlling the cursor to execute a spatial movement as if in response to a sliding movement of the mouse. When the movement distance is greater than the second preset distance and a track of the movement distance is a circle, and the movement time is greater than the second preset time, the signal processing module 23 outputs a rolling instruction to the computer 30 for controlling the cursor to execute a scrolling operation as if in response to a rolling of the wheel of the mouse.
In use, the processing device 20 is connected to the computer 30 and the computer 30 is operated, and the label device 10 is worn on a finger of a user or held in a hand of the user. When the label device 10 is moved from a first position to a second position, the camera 22 captures images of the label device 10 and sends the images to the signal processing module 23 systematically. The signal processing module 23 obtains the movement distance and the movement time of the label device 10 according to the received images. If the movement distance of the label device 10 is 2 centimeters and the movement time of the label device 10 is 0.5 seconds, the signal processing module 23 outputs a first key-press instruction to the computer 30 for controlling the cursor to to emulate a left-button operation of a mouse. If the movement distance of the label device 10 is 4 centimeters and the movement time of the label device 10 is 2 seconds, the signal processing module 23 outputs a second key-press instruction to the computer 30 for controlling the cursor to emulate a right-button operation of the mouse. If the movement distance of the label device 10 is 6 centimeters and a track of the movement distance is not a circle, and the movement time of the label device 10 is 4 seconds, the signal processing module 23 outputs a movement instruction to the computer 30 for controlling the cursor to execute a spatial movement as if in response to a sliding movement of the mouse. If the movement distance of the label device 10 is 6 centimeters and a track of the movement distance is a circle, and the movement time of the label device 10 is 4 seconds, the signal processing module 23 outputs a rolling instruction to the computer 30 for controlling the cursor to execute a scrolling operation as if in response to a rolling of the wheel for the mouse.
a and 3b show an exemplary embodiment of a remote control method for the computer 30 including the following steps.
In step S1, the processing device 20 is connected to the computer 30 through the interface 24, and the computer 30 is operated.
In step S2, the label device 10 is moved.
In step S3, the camera 22 captures images of the label device 10 at an a preset time interval and sends the images to the signal processing module 23.
In step S4, the signal processing module 23 obtains the movement distance and the movement time of the label device 10 according to the received images, and compares the movement distance with the first and second preset distances and also compares the movement time with the first and second preset time stored in the signal processing module 23.
In step S5, a determination is made whether the movement distance is less than the first preset distance and whether the movement time is less than the first preset time. If the movement distance is less than the first preset distance and the movement time is less than the first preset time, the procedure goes to step S6. If the movement distance is not less than the first preset distance and the movement time is not less than the first preset time, the procedure goes to step S7.
In step S6, the signal processing module 23 outputs a first key-press instruction to the computer 30 for controlling the cursor to emulate the left-button operation of the mouse, and then the procedure goes back to step S3.
In step S7, a determination is made whether the movement distance is greater than the first preset distance and less than the second preset distance, and whether the movement time is greater than the first preset time and less than the second preset time. If the movement distance is greater than the first preset distance and less than the second preset distance, and the movement time is greater than the first preset time and less than the second preset time, the procedure goes to step S8. If the movement distance is greater than the second preset distance, and the movement time is greater than the second preset time, the procedure goes to step S9.
In step S8, the signal processing module 23 outputs a second key-press instruction to the computer 30 for controlling the cursor to emulate a right-button operation of the mouse, and then the procedure goes back to step S3.
In step S9, a determination is made whether a track of the movement distance of the label device 10 is a circle. If the track is a circle, the procedure goes to step S11. If the track is not a circle, the procedure goes to step S10.
In step S10, the signal processing module 23 outputs a movement instruction to the computer 30 for controlling the cursor to execute the spatial movement as if in response to a sliding movement of the mouse, and then the procedure goes back to step S3.
In step S11, the signal processing module 23 outputs a rolling instruction to the computer 30 for controlling the cursor to execute a scrolling operation as if in response to a rolling of the wheel for the mouse, and then the procedure goes back to step S3.
The remote control system generates corresponding operation actions in the computer 300 according to the free movement states of the label device 10. Therefore, the user of the computer 300 can remotely control the computer 300 conveniently.
Even though numerous characteristics and advantages of the disclosure have been set forth in the foregoing description, together with details of the structure and function of the disclosure, the disclosure is illustrative only, and changes may be made in detail, especially in the matters of shape, size, and arrangement of parts within the principles of the disclosure to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.
| Number | Date | Country | Kind |
|---|---|---|---|
| 2012104065557 | Oct 2012 | CN | national |