1. Field of the Invention
The present invention relates to a method of testing a cursor interactive with a pointing device on a displaying device, and more particularly, to a method of testing a cursor interactive with a pointing device on a displaying device by a regional test, a pointing test, and a slight moving test.
2. Description of the Prior Art
A pointing device is often utilized to control movements of a cursor and an image shown on a computer screen. The general pointing device can be a mouse, a track ball, a digitizer, a joystick, a point stick, and so on. With the advanced touch technology, a user utilizes a touch stick or a finger to be the pointing device for controlling the movements of the cursor and the image shown on the computer screen. Reliability of the pointing device and the cursor controlled by the pointing device is related to comfort operation. The user is troubled when the pointing device can not control the movement of the cursor accurately, so that an accurate method of testing the cursor of the pointing device is necessary. However, a conventional testing method only tests whether the pointing device can point coordinates and whether the pointing device can be operated roughly, which is insufficiently though rapidly. Thus, the conventional testing method still has a problem of testing the cursor of the pointing device inaccurately.
The present invention provides a method of testing a cursor of a pointing device shown on a displaying device for solving above drawbacks.
According to the claimed invention, a method of testing a cursor interactive with a pointing device on a displaying device includes pointing at a position on a displaying device by the pointing device within a predetermined period, identifying whether a movement of the cursor makes any change corresponding to the pointing device, and concluding a testing result in accordance with the movement of the cursor.
According to the claimed invention, identifying whether the movement of the cursor makes any change corresponding to the pointing device includes capturing a first coordinates value of the cursor at an initial time and capturing a second coordinates value of the cursor at an ending time so as to identify whether a difference of the second coordinates value and the first coordinates value is smaller than a predetermined value.
According to the claimed invention, identifying the movement of the cursor without making change when the difference of the second coordinates value and the first coordinates value is smaller than the predetermined value.
According to the claimed invention, pointing at the position on the displaying device by the pointing device within the predetermined period includes pointing at the position on the displaying device in a touch manner within the predetermined period.
According to the claimed invention, the method further includes displaying at least one checking area on the displaying device, moving the pointing device for moving the cursor into the checking area, and identifying whether the cursor moves into the checking area so as to generate the testing result of the cursor.
According to the claimed invention, a method of testing a cursor of a pointing device shown on a displaying device further includes setting the predetermined tracing path of the cursor on the displaying device, displaying the movement of the cursor when manipulating the pointing device, identifying whether the movement of the cursor overlaps in the predetermined tracing path, and displaying a conclusive result on the displaying device in accordance with the identified movement of the cursor corresponding to the pointing device.
According to the claimed invention, identifying whether the movement of the cursor overlaps in the predetermined tracing path includes identifying whether the movement of the cursor on the displaying device overlaps in a width range of the predetermined tracing path.
According to the claimed invention, identifying whether the movement of the cursor overlaps in the width range of the predetermined tracing path includes capturing a coordinates value of the cursor while moving the pointing device and identifying whether the coordinates value overlaps in the width range of the predetermined tracing path.
According to the claimed invention, the method further includes identifying whether a distance of moving the cursor on the displaying device is larger than or equal to a predetermined distance.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
Please refer to
Please refer to
Step 100: The displaying device 52 displays at least one checking area 56 as shown in
Step 102: Manipulate the pointing device 54 for moving the corresponding cursor 58 interactive with the pointing device 54 on the displaying device 52 into the checking area 56;
Step 104: Identify whether the movement of the cursor 58 moves into the checking area 56. If yes, execute step 106. If no, execute step 120;
Step 106: The pointing device 54 points at a point as shown in
Step 108: Identify whether the movement of the cursor makes any change corresponding to the pointing device 54. If no, execute step 110. If yes, execute step 120;
Step 110: Set a predetermined tracing path 60 of the cursor 58 on the displaying device 52 as shown in
Step 112: Manipulate the pointing device 54 for moving the cursor 58 on the displaying device 52;
Step 114: Identify whether the movement of the cursor 58 on the displaying device 52 overlaps in the predetermined tracing path 60. If yes, execute step 116. If no, execute step 120;
Step 116: Identify whether a distance of moving the cursor 58 on the displaying device 52 is larger than a predetermined distance. If yes, execute step 118. If no, execute step 114.
Step 118: The cursor 58 interactive with the pointing device 54 on the displaying device 52 succeeds in passing the test.
Step 120: The cursor 58 interactive with the pointing device 54 on the displaying device 52 fails in the test.
Step 100 to step 104 illustrates a regional test of the pointing device 54, so as to test whether the cursor 58 interactive with the pointing device 54 can be positioned correctly. As shown in
After the cursor 58 interactive with the pointing device 54 on the displaying device 52 succeeds in passing the regional test, step 106 and step 108 are executed as a pointing test of the pointing device 54. As electronic components, such as the pointing device 54, a signal cable, a circuit board, and so on, are interfered to transmit wrong signal by noise easily, the pointing device 54 may not locate coordinates of the cursor 58 correctly. The pointing test includes the pointing device 54 pointing at a point continuously, which means the user does not control the pointing device 54 to point to the point on the displaying device 52 so as to ensure whether the movement of the cursor 58 interactive with the pointing device 54 makes change in the testing period. For example, a first coordinates at an initial time under the testing process and a second coordinates at a final time under the testing process are captured, and a difference of the second coordinates and the first coordinates is compared with a predetermined value. The predetermined value relates to allowable tolerance of the cursor 58 interactive with the pointing device 54, such as a range of specific pixel amount. As the difference of the second coordinates and the first coordinates is smaller than the predetermined value, it can be considered the cursor 58 interactive with the pointing device 54 on the displaying device 52 does not change the position. As the difference of the second coordinates and the first coordinates is larger than the predetermined value, it can be considered the cursor 58 interactive with the pointing device 54 on the displaying device 52 changes the position, which means the pointing device 54 may be interfered to bias when the cursor 58 moves or points at the position. The determination of the position of the cursor can utilize the human eyes or the computer system 50 to identify whether the difference of the second coordinates and the first coordinates is smaller than the predetermined value. The pointing test is for testing whether the cursor 58 interactive with the pointing device 54 on the displaying device 52 moves incorrectly, so as to prevent the cursor 58 from error in operation.
When the cursor 58 interactive with the pointing device 54 on the displaying device 52 succeeds in passing the pointing test, step 110 to step 116 are executed as a slight moving test of the pointing device 54. The slight moving test of the cursor 58 tests whether the cursor 58 generates a shift larger than the allowance tolerance. First, the displaying device 52 displays a predetermined tracing path 60 of the cursor 58. For example, as shown in
When the coordinates is identified to overlap in the width range of the predetermined tracing path 60, it represents the cursor 58 moving along the predetermined tracing path 60. Meanwhile, it is identified whether a distance of moving the cursor 58 on the displaying device 52 is larger than or equal to a predetermined distance. The predetermined distance can be a distance between the coordinates point P1 (X1,Y1) and the coordinates point P2 (X2,Y2). It is also identified whether the cursor 58 finishes moving the whole predetermined tracing path 60. As the distance of the cursor 58 moving on the displaying device 52 is smaller than the predetermined distance, it represents that the cursor 58 has not finished moving the whole predetermined tracing path 60 yet. It has to repeat step 114 to identify whether the cursor 58 overlaps in the predetermined tracing path 60 until the cursor 58 moves the whole predetermined tracing path 60. As the distance of the cursor 58 moving on the displaying device 52 is larger than or equal to the predetermined distance, it represents that the cursor 58 has finished moving the whole predetermined tracing path 60 and the slight moving test is finished. As the cursor 58 does not overlap in the predetermined tracing path 60 in step 114, such as identifying the coordinates does not overlap in the width range of the predetermined tracing path 60, it represents that the cursor 58 moves away the predetermined tracing path 60, so that the slight moving test of the cursor 58 interactive with the pointing device 54 on the displaying device 52 fails. That is to say, the pointing device 54 can not control the cursor 58 slightly and accurately. The determination of the position of the cursor can utilize the human eyes or the computer system 50 to identify whether the coordinates overlaps in the width range of the predetermined tracing path 60. The slight moving test is for controlling the pointing device 54 to move between two specific points and for limiting the shift between the two specific points so as to test whether the pointing device 54 or the touch panel can control the cursor 58 slightly and accurately. In addition, the slight moving test can execute multiple directions selectively, and it depends on design demand.
In conclusion, the method of testing the cursor 58 interactive with the pointing device 54 on the displaying device 52 of the present invention integrates the regional test, the pointing test, and the slight moving test. The regional test can ensure whether the pointing device 54 can move the cursor 58 on the displaying device 52 so as to sift the pointing device 54 unable to position correctly or the touch panel unable to position correctly, which is a basic test. The pointing test can ensure whether the cursor 58 interactive with the pointing device 54 or the touch panel moves out of control, so as to prevent the cursor 58 from bias when the pointing device 54 moves or points to the point. The slight moving test can ensure whether the pointing device 54 can control the movement of the cursor 58 slightly and accurately, so as to prevent the cursor 58 interactive with the pointing device 54 or the touch panel from shift in the slight movement. Besides, the slight moving test can selectively execute the multiple directions. The sequence of the regional test, the pointing test, and the slight moving test of the present invention are not limited to the above-mentioned embodiment. For example, the pointing test and the slight moving test can be executed before the regional test, the operating principle is the same as the above-mentioned embodiment, and detailed description is omitted herein for simplicity. Further, the regional test, the pointing test, and the slight moving test can be executed selectively according to actual demand. For example, the method of testing the cursor 58 interactive with the pointing device 54 on the displaying device 52 can include the pointing test and the slight moving test and omit the regional test according to actual demand. The operating principle is the same as the above-mentioned embodiment and detailed description is omitted herein for simplicity.
Comparing to the prior art, the method of testing the cursor interactive with the pointing device on the displaying device of the present invention integrates the regional test, the pointing test, and the slight moving test, so as to inspect operational faults of the pointing device and the touch panel effectively and to increase reliability and accuracy of the pointing device and the touch panel.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention.
Number | Date | Country | Kind |
---|---|---|---|
098137576 | Nov 2009 | TW | national |