This application claims the priority benefit of Taiwan application serial no. 97114894, filed on Apr. 23, 2008. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of specification.
1. Field of the Invention
The invention relates to an input device of a computer system and, more particularly, to an input device of the computer system and a method for operating the computer system utilizing a motion state of a user in three-dimensional space as input.
2. Description of the Related Art
Conventional input devices of a computer system include a keyboard, a mouse, and a touch pad. A user may press keys on the keyboard to input data, and he or she also may operate the computer system by his or her two-dimensional motion on the mouse or touch pad.
However, in some special situations such as playing computer games, the conventional input devices cannot provide a more convenient input mode. Therefore, many special input devices such as joysticks are invented. Although the special input devices can make operations of the computer games more interesting, they still cannot make users operate the computer games intuitively.
In addition, since data are inputted to the computer system by a conventional input device in a constant mode, the users cannot define the mode according to their likes or requirements. For example, when playing the computer games, the users can only use a keyboard or a mouse to operate the computer games, and they cannot use a hand-held input device used in space to communicate with the computer by postures or motions. Therefore, the conventional input devices cannot satisfy requirements of the advanced users.
One objective of the invention is to provide an input device of a computer system and a method for operating the computer system.
The invention provides a method for operating a computer system. First, a motion state of an operation terminal in three-dimensional space is detected, and a predetermined code is generated at the operation terminal or a main body terminal of the computer system according to the motion state of the operation terminal in the three-dimensional space. Moreover, the predetermined code is converted to a corresponding object code, and the object code is sent to the main body terminal of the computer system to make the computer system operate according to the object code.
In another aspect, the invention provides an input device adapted for operating a main body terminal of a computer system. The input device includes a motion sensor, a receiver, and an interface unit. The motion sensor is used to detect a motion state of the input device in three-dimensional space to output original sensing data. The receiver is used to receive the original sensing data and generate a corresponding predetermined code according to the original sensing data. The interface unit is used to convert the predetermined code to a corresponding object code and send the object code to the main body terminal of the computer system to make the computer system operate according to the object code.
In the invention, the predetermined code of the input device is converted to the object code via the interface unit to make the computer system operate according to the object code. Therefore, the input device is used to execute different kinds of operating instructions of the computer system, and corresponding operating modes are set in light of different applications, which is more visual, real and unlimited for users to operate the computer system.
These and other features, aspects, and advantages of the present invention will become better understood with regard to the following description, appended claims, and accompanying drawings.
The input device 110 is used to output original sensing data or a predetermined code according to a motion state in three-dimensional space. In detail, the input device 110 detects its own motion state in the three-dimensional space via the motion sensor 111 to output the original sensing data to the receiver 113. The receiver 113 may directly transfer the original sensing data to the main body terminal 120, or after a corresponding predetermined code is generated according to the original sensing data, the receiver 113 sends the predetermined code to the main body terminal 120.
In the embodiment, the receiver 113 is a portable micro electronic device, and it may be inserted to a transmission connector (such as the transmission interface 130) of the main body terminal 120. In the embodiment, the motion sensor 111 transfers the original sensing data to the receiver 113 by a wireless mode.
In the embodiment, the original sensing data are a coordinate position of the input device 110 in the three-dimensional space, gravitation data of the input device 110 in the motion state, or a relative position of the input device 110 in moving in the three-dimensional space. In the embodiment, the predetermined codes such as ASCII codes correspond to different motion states of the input device 110.
For example, the motion state of the input device 110 includes waving upward, waving downward, waving left, waving right and so on. The direction toward which the input device 110 is waved is recognized according to the original sensing data such as the coordinate position, the gravitation data and the relative positions in moving. Therefore, the original sensing data are coded to be predetermined codes to represent motions of waving the input device 110 toward different directions.
In addition, the interface unit 121 of the main body terminal 120 receives the original sensing data or the predetermined code transferred from the input device 110 via the transmission interface 130, and the original sensing data or the predetermined code is converted to the corresponding object code to make the computer system 100 operate. In the embodiment, the object code corresponds to an operating motion performed in the computer system 100. The operating motion is, for example, to click a left button of a mouse.
Components of the interface unit 121 are described in detail hereinbelow.
The interface unit 121 includes a collecting module 210, a coding module 220, a converting module 230, and a setting module 240. The collecting module 210 is used to receive the original sensing data or the predetermined code sent from the input device 110. The coding module 220 is used to code the original sensing data to generate the predetermined code. The converting module 230 is used to convert the predetermined code to a corresponding object code. The setting module 240 is used to receive operation of a user to change the predetermined code that the object code corresponds to, and it is used to provide a file list showing a plurality of data options for the user to select. According to the selection of the user, the predetermined code to which the object code corresponds is automatically set.
The steps of the method for operating the computer system in the first embodiment are described in detail with the computer system 100 hereinbelow.
Afterwards, in step S320, according to the motion state of the input device 110 in the three-dimensional space, a predetermined code is generated at the output device 110 or the main body terminal 120. The input device 110 may further have a plurality of function keys and a joystick input interface to cooperate with the motion state of the input device 110 in the three-dimensional space to generate more usage modes.
For example,
The function keys 402 to 408 and the joystick 410 may correspond to a predetermined code, or they cooperate with motion states of the input device 110 to correspond to a predetermined code. It depends on a usage condition. A corresponding relationship between the predetermined code and the input device 110 may be preset by manufactures or determined by users. It is not limited herein.
The detailed steps of generating a predetermined code in the input device 110 and the main body terminal 120 are described hereinbelow, respectively.
Afterwards, as shown in
Referring back to
For example,
The data options are, for example, application options for allowing the user to select the applications needed to be used. That is, the input device 110 has preset the predetermined codes that the object codes of the applications correspond to. Therefore, after the user selects one of the applications, the setting module 240 automatically sets the predetermined code that the object code corresponds to.
Furthermore, the data options also may be the object codes of the motion states of the input device 110 for the user to set. After the user selects the object code that the motion state corresponds to, the setting module 240 builds a convert file for the user to utilize the input device 110 to operate the computer system 100.
In addition, a plurality of predetermined codes may be set to correspond to a same object code. For example, the predetermined codes of the three motion states of input device 110 such as “moving left and right”, “moving forward” and “waving upward” in space are all set to correspond to the object code of “clicking a left button of a mouse”. Therefore, when the motion state of the input device 110 is one of “moving left and right”, “moving forward”, and “waving upward”, it represents that the user wants to perform the function of “clicking a left button of a mouse”. It is only an example of the invention, and it is not used to limit the application scope of the invention.
Thereby, in the method of the embodiment, the input device 110 may be used to imitate a conventional input device such as a keyboard, a mouse, or a joystick, and the input device 110 further may be used to play online games. For example, assuming that the interface unit 211 is a computer program, to prevent a server of an online game from viewing the interface unit 211 as cheating software, after the main body terminal 121 receives the predetermined code sent from the input device 110, the converting module 230 of the interface unit 121 is used to convert the predetermined code to a corresponding object code. Then, the converting module 230 further sends the object code to the transmission interface 130 of the main body terminal 120 to make the main body terminal 120 receive the object code via the transmission interface 130 again. Thus, the problem that the interface unit 211 may be viewed as the cheating software is solved, and the interface unit 211 may be used.
The function of the input device 810 of the embodiment is the same or similar with the function of the input device 110 of the first embodiment. Therefore, it is not described hereinbelow for a concise purpose. In the embodiment, the interface unit 815 is disposed in the input device 810, and it is used to convert a predetermined code to a corresponding object code directly in the input device 810 and send the object code to the main body terminal 820 to make the computer system 800 operate according to the object code.
The steps of a method for operating the computer system in the second embodiment of the invention are described in detail hereinbelow with the computer system 800.
Then, in step S1020, the motion sensor 811 generates original sensing data (such as a coordinate position, gravitation data, and a relative position in moving) according to the motion state of the input device 810 in the three-dimensional space and transfers the original sensing data to the receiver 813.
Afterwards, as stated in step S1030, the receiver 813 generates a predetermined code according to the original sensing data. Similar with the input device 110 of the first embodiment, the input device 810 also has a plurality of function keys and a joystick input interface, such as the function keys 402 to 408 and the joystick 410 in
After the predetermined code is generated, as stated in step S1040, the converting module 910 of the interface unit 815 is used to convert the predetermined code to a corresponding object code. At last, in step S1050, the object code is sent to the main body terminal 820 via the transmission interface 830 to make the computer system 800 operate according to the object code.
In the embodiment, the setting module 920 of the interface unit 815 may provide a setting interface for users to set the object code that the predetermined code of the input device 810 corresponds to.
To sum up, in the aforementioned embodiments, the motion state of the input device in the three-dimensional space is used to operate the computer system. It is more convenient, real and intuitive for users to operate a computer system. Furthermore, the users can set different motion states to operate the computer system in an initialization setting. Therefore, the invention is also adapted for application software. In another aspect, in the aforementioned embodiments, the predetermined code is provided for the input device, and the predetermined code to which the object code corresponds is set. The users can utilize the input device of the invention to imitate other conventional input devices, which is more elastic, practical, and various in usages.
Although the present invention has been described in considerable detail with reference to certain preferred embodiments thereof, the disclosure is not for limiting the scope of the invention. Persons having ordinary skill in the art may make various modifications and changes without departing from the scope and spirit of the invention. Therefore, the scope of the appended claims should not be limited to the description of the preferred embodiments described above.
Number | Date | Country | Kind |
---|---|---|---|
97114894 | Apr 2008 | TW | national |