A kind of anti-shake apparatus of wireless positioning type touch screen controller and method
Technical field
The present invention relates to a kind of anti-shake apparatus and method thereof of wireless positioning type touch screen controller, especially the anti-shake apparatus of laser positioning type touch screen controller and method.
Background technology
When daily people used keyboard, mouse to come the operational computations machine, the people was limited in face of the desk, made that people's scope of activities is narrow and small! And this single input mode of keyboard+mouse has limited the control ability of people to information.
People realize the infotech of hommization in dream, let exchanging with information world that the people can freely comply with one's wishes.Make the people not only can see prismy information world, can also " touch " it, can arbitrary wish go according to oneself " writing " it, freely control it.Prior art has been made a lot of effort usually aspect following, be used to achieve this end:
1. Wireless Keyboard, wireless mouse.Use Wireless Keyboard, the wireless mouse of short-distance wireless communication technology, the scope of activities when having enlarged people's operating computer to a certain extent.But keyboard volume is bigger, carries, inconvenient operation, and mouse must be attached to an object surfaces when using, and still makes keyboard and mouse can only be sitting in the desk front and operates.And utilize mouse to write, draw very inconvenient.
2. touch screen technology.This technology has realized the computation of visual pattern, lets people break away from the restriction of keyboard and mouse to a certain extent.Cooperate the identification software of specialty, touch-screen can also be realized handwriting input.Touch-screen has developed into the multiple spot touch screen by the single-point touch screen at present.According to its physics form of expression, can be divided into two types:
The one, touch-screen in kind: form by detection part that is installed in the indicator screen front and touch screen controller.When finger or other object touch when being installed in the touch-screen of display front end, the position that is touched is detected by touch screen controller, and delivers to main frame through interface (like RS-232 serial port, USB etc.).That the touch sensible of this scheme has is induction, resistance pressure-sensitive etc.Shortcoming is that touch-screen can not be done very greatly, because its big more resolution is low more, heavy, price is high, and just trouble, the damage more easily more that operate.And this kind scheme is also inconvenient for multiple point touching: must paste screen surface and carry out owing to touch, the screen front number of standing is limited so, and the point that can hold simultaneously above the screen is limited, can block mutually during use, disturb.
The 2nd, wireless positioning type touch screen: mainly contain two types; The first kind is based on infrared, ultrasonic wireless location touch-screen; Its ultimate principle is to place infrared around the display screen or the ultrasonic signal detection array is used for surveying the infrared or ultrasound information that controller sends; Thereby realize the location, still need touch screen when its shortcoming is the person writing, it is all limited that it writes range of control, scope of activities; Second type of wireless location touch-screen that is based on the infrared laser technology; Be the method that adopts optical imagery as the one of which, before camera lens, add and put an optical filter, filter earlier except the light outside infrared; Then image is analyzed, extracted the position of laser point.
For the touch-screen of wireless positioning type, because remote control guides the reference mark very sensitive, the little by little slight vibration of controller will cause the shake of remote controlled point on screen, when user's this phenomenon than remote-controlled operation the time particularly evident! Particularly when the user when using controller to carry out remote keying operation (for example mouse double-click, click etc.), the shake of remote controlled point on screen directly causes dragging in the clicking operation! This makes the operation at that point of user expectation to accomplish.
As shown in fig. 1: for the touch-screen of wireless positioning type, when the user when using controller to carry out the remote keying operation, as shown in Figure 1, the user carries out the mouse-click operation to (101) file.Because remote control guides the reference mark very sensitive, the little by little slight vibration of controller will cause the jitter phenomenon of remote controlled point on screen, thereby becomes (102) with (101) file drags.This phenomenon especially severe during particularly than remote-controlled operation.This makes the operation at that point of user expectation to accomplish.
Summary of the invention
In view of this, the fundamental purpose of the embodiment of the invention is to provide method to solve the jitter problem of Digiplex.What make that the user can freely comply with one's wishes goes to write, control information.
For achieving the above object, the technical scheme in the embodiment of the invention is achieved in that
A kind of anti-shake apparatus of wireless positioning type touch screen controller comprises,
One telepilot,
Telepilot comprises,
Fluorescent tube (201) is used to produce light beam;
Switch (202) is used for control bundle;
Power supply (203) is used for energy to telepilot being provided;
It is characterized in that,
Switch (202) is near the formula inductive switch, and finger is being equipped with near carrying out hollow click or in said surperficial slight touch near formula inductive switch (205) in object (205) sky of formula inductive switch (205), to realize switching manipulation.
A kind of anti-fluttering method of wireless positioning type touch screen controller comprises,
One telepilot, telepilot comprise,
Fluorescent tube (201) is used to produce light beam;
Switch (202) is used for control bundle;
Power supply (203) is used for energy to telepilot being provided;
Switch (202) is near the formula inductive switch; Finger is being equipped with near carrying out hollow click or in said surperficial slight touch near formula inductive switch (205) in object (204) sky of formula inductive switch (205), and said hollow click is set to switching manipulation that laser lamp is closed.
Preferably, said surperficial slight touch near formula inductive switch (205), touch have or not the switching manipulation that is set to the laser fluorescent tube.
A kind of anti-method of trembling of wireless positioning type touch screen controller comprises.
One telepilot,
Said telepilot comprises,
Fluorescent tube (201) is used to produce light beam;
Switch (202) is used for control bundle;
Power supply (203) is used for energy to telepilot being provided;
A button is arranged on the telepilot;
It is characterized in that,
When the said button of telepilot was pressed, system storage was noted current reference mark positional information, and set an appointed positions scope; If when the said button of telepilot is pressed next time, the positional information at reference mark is then set cursor of mouse and is kept original position motionless within said appointed positions scope.
Preferably, it is characterized in that,
Comprise the steps,
Step 301, the time range and the position range of an appointment of setting;
Step 302 judges whether system has luminous point, if then execution in step 303; Otherwise, be left intact;
Step 303 has judged whether that button presses incident, if then execution in step 304; Otherwise, execution in step 305;
Step 304 is noted the time that button presses and the position at this time point place; Execution in step 306 afterwards;
Step 305 identifies light spot position, and the mouse event DLL (API) of call operation system, and the mouse position incident is set; Execution in step 301 afterwards;
Step 306 has judged whether that light spot position moves, if then execution in step 307; Otherwise, execution in step 309;
Step 307, time and position after noting light spot position and moving;
Step 308 judges that the amplitude size that light spot position moves and the corresponding time interval are whether within the scope of afore mentioned rules, if then execution in step 309; Otherwise, execution in step 305;
Step 309, the mouse event DLL (API) of the light spot position call operation system when pressing according to button, the system button of setting is pressed incident.
A kind of anti-method of trembling of wireless positioning type touch screen controller comprises.
One telepilot,
Said telepilot comprises,
Fluorescent tube (201) is used to produce light beam;
Switch (202) is used for control bundle;
Power supply (203) is used for energy to telepilot being provided;
A button is arranged on the telepilot;
It is characterized in that,
When said button was pressed, telepilot guided some Chang Liang always, and under common guide situation, cursor of mouse guides point to move in real time with control.And if only if when this button presses once more, guides point to extinguish, and and if only if when this button is pressed once more, guides point just to light once more.
Preferably, it is characterized in that,
Comprise the steps,
Step 401 has judged whether the control luminous point, if execution in step 402 then; Otherwise be left intact;
Step 402 identifies the position of luminous point, writes down the current time, and the mouse position incident is set;
Step 403 judges whether luminous point disappears, if execution in step 404 then; Otherwise return execution in step 402;
Step 404 is noted time and position that luminous point disappears;
Step 405 has judged whether that luminous point lights once more, if execution in step 406 then; Otherwise return circulation execution in step 405;
Step 406 is noted the time that luminous point lights once more;
Step 407, judge luminous point by bright deepening and by the time interval between secretly brightening whether within the effective range of regulation, if execution in step 408 then; Otherwise return execution in step 402;
Step 408, the position of being write down when disappearing according to luminous point, the mouse event DLL (API) of call operation system, key-press event is double-clicked by the system that is provided with.
Preferably, it is characterized in that,
Comprise the steps,
Step 501 has judged whether the control luminous point, if execution in step 502 then; Otherwise be left intact;
Step 502 identifies the position of luminous point, writes down the current time, and the mouse position incident is set;
Step 503 judges whether luminous point disappears, if execution in step 504 then; Otherwise return execution in step 502;
Step 504 is noted time and position that luminous point disappears;
Step 505 is judged the duration never guide luminous point whether greater than the value range of regulation, if execution in step 506 then; Otherwise return execution in step 502;
Step 506, according to the position that luminous point disappears, the mouse event DLL (API) of call operation system, key-press event is clicked by the system of setting.
Description of drawings
Fig. 1 clicks for user's remote control and drags synoptic diagram;
Fig. 2 has adopted the laser remote-controlled device structural drawing near the formula inductive switch;
The anti-process flow diagram of trembling of Fig. 3;
Fig. 4 drags the problem process flow diagram for combining luminous point to guide button to eliminate double-click;
Fig. 5 drags the problem process flow diagram for combining luminous point to guide button to eliminate to click;
Embodiment
For making the object of the invention, technical scheme and advantage express clearlyer, the present invention is remake further detailed explanation below in conjunction with accompanying drawing and specific embodiment.
Embodiment 1
The left figure of Fig. 2 is depicted as the laser remote-controlled device structural drawing that has adopted near formula inductive switch (like light activated switch).(201) be the laser fluorescent tube, (202) are inductive switch, and (203) are battery.The right figure of Fig. 2 is the hollow click synoptic diagram of finger.Owing to adopted induction control knob (for example light activated switch), substituted the traditional mechanical shift knob.The user no longer need operate mechanical button in use, and only needing only needs will point in object (204) sky of being equipped with near formula inductive switch (205) to carry out hollow click (or in surperficial slight touch), can realize switching manipulation.The shake of (201) the outgoing luminous point that reduces significantly the touching of mechanical switch button to be produced owing to finger.
(206) for the storer of record remote controller key mouse position when pressing (for example: the storer of the controlled plant of laser remote-controlled device, or laser remote-controlled device self with storer).Wherein, if when the controlled plant of laser remote-controlled device is PC, can be with the internal memory of PC storer, mouse position when pressing in order to the record remote controller key as the controlled plant of laser remote-controlled device; Can also be at the inner memory chip of implanting of laser remote-controlled device, mouse position when pressing in order to the record remote controller key, and this position is sent to PC memory through the existing communication mode of telepilot and PC.
Embodiment 2
Under common guide situation, cursor of mouse moves along with remote controlled point and moves in real time.When telepilot has button to press, current position, reference mark under the system log (SYSLOG), and set a position range.If it is motionless that cursor of mouse maintenance original position was then set at the reference mark when telepilot had button to press within this scope next time.When the position at and if only if reference mark exceeded this scope, system just mouse beacon cursor moved.Shown in Figure 3 is a kind of method that disappears and tremble, and described picture flow process may further comprise the steps:
Step 301, time range of an appointment of setting (as 200 milliseconds, different users is set to different scopes to the use habit of oneself) and position range (like 4 pixels, different users is set to different scopes to the use habit of oneself);
Step 302 judges whether system has luminous point, if then execution in step 303; Otherwise, be left intact;
Step 303 has judged whether that button presses incident, if then execution in step 304; Otherwise, execution in step 305;
Step 304 is noted the time that button presses and the position at this time point place; Execution in step 306 afterwards;
Step 305 identifies light spot position, and the mouse event DLL (API) of call operation system, and the mouse position incident is set; Execution in step 301 afterwards;
Step 306 has judged whether that light spot position moves, if then execution in step 307; Otherwise, execution in step 309;
Step 307, time and position after noting light spot position and moving;
Step 308 judges that the amplitude size that light spot position moves and the corresponding time interval are whether within the scope of afore mentioned rules, if then execution in step 309; Otherwise, execution in step 305;
Step 309, the mouse event DLL (API) of the light spot position call operation system when pressing according to button, the system button of setting is pressed incident.
After having adopted that above-mentioned software is anti-and trembling flow scheme design, the user is controlled at jitter range in the own value of setting, and drags phenomenon when effectively having controlled unsettled click.
Embodiment 3
Click control and mouse are moved control, and the two is separated, and makes that in the same moment the two is ineffective simultaneously.So just fundamentally eliminated the phenomenon of clicking that drags fully.
Can utilize the control that has no change to be used as clicking at reference mark in force.When design guided the some button to press, some Chang Liang was always guided in remote control, and under common guide situation, cursor of mouse guides the some point to move in real time with control.And if only if when this button presses once more, guides point to extinguish, and and if only if guides the some button once more by when opening, and guides point just to light once more.
Like this guide point of design, shown in Figure 4 for we are used as the order of button double click operation.Described picture flow process may further comprise the steps:
Step 401 has judged whether the control luminous point, if execution in step 402 then; Otherwise be left intact;
Step 402 identifies the position of luminous point, writes down the current time, and the mouse position incident is set;
Step 403 judges whether luminous point disappears, if execution in step 404 then; Otherwise return execution in step 402;
Step 404 is noted time and position that luminous point disappears;
Step 405 has judged whether that luminous point lights once more, if execution in step 406 then; Otherwise return circulation execution in step 405;
Step 406 is noted the time that luminous point lights once more;
Step 407, judge luminous point by bright deepening and by the time interval between secretly brightening whether within the effective range of regulation, if execution in step 408 then; Otherwise return execution in step 402;
Step 408, the position of being write down when disappearing according to luminous point, the mouse event DLL (API) of call operation system, key-press event is double-clicked by the system that is provided with.
The method has effectively solved the problem that drags when double-clicking.
Like this guide point of design, shown in Figure 5 for we are used as the order of button single-click operation.Described picture flow process may further comprise the steps:
Step 501 has judged whether the control luminous point, if execution in step 502 then; Otherwise be left intact;
Step 502 identifies the position of luminous point, writes down the current time, and the mouse position incident is set;
Step 503 judges whether luminous point disappears, if execution in step 504 then; Otherwise return execution in step 502;
Step 504 is noted time and position that luminous point disappears;
Step 505 is judged the duration never guide luminous point whether greater than the value range of regulation, if execution in step 506 then; Otherwise return execution in step 502;
Step 506, according to the position that luminous point disappears, the mouse event DLL (API) of call operation system, key-press event is clicked by the system of setting.
The method has effectively solved the problem that drags when clicking.
All can adopt the remote controller contour structures that is more preferably to above three kinds of embodiment.The remote controller contour structures adopts the design of hommization, and the user's use habit to different has several profiles.Can adopt pen type, teacher's pointer formula, distance type etc.For example: the side of pen type controller is tiltedly facing to two click switches.
The above is merely preferred embodiment of the present invention, is not to be used to limit protection scope of the present invention.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.