Summary of the invention
The object of the invention is to propose a kind of method and system extending infrared touch frame serviceable life, when the time that touch-screen stops touch continuing reaches the default time cycle, the scanning mode of infrared touch frame adds the tiltedly pattern of sweeping by the directly pattern of sweeping and enters into only have and directly sweep pattern, by changing the scan pattern of infrared touch frame under improper scanning mode, reduce its working loss, thus extend its serviceable life.
For reaching this object, the present invention by the following technical solutions:
On the one hand, the present invention proposes a kind of method extending infrared touch frame serviceable life, comprising:
Record touch-screen stops touching the time continued;
If the described time reaches the default time cycle, infrared touch frame is entered by normal scan state and directly sweeps state, and described normal scan state comprises pattern of directly sweeping and tiltedly sweeps pattern.
Wherein, described infrared touch frame comprises infrared transmitting tube and infrared receiving tube, and the described directly pattern of sweeping is that infrared transmitting tube transmits to the infrared receiving tube just right with it; The described tiltedly pattern of sweeping is that infrared transmitting tube transmits to multiple infrared receiving tubes tiltedly right with it in certain angular range.
Wherein, described infrared touch frame also comprises the power reducing infrared transmitting tube, is specially: by 3/4 of power under the power reduction of described infrared transmitting tube to normal scan state after being entered directly swept state by normal scan state.
Wherein, 1/3 of the ON time under described ON time of directly sweeping infrared transmitting tube under pattern is described normal scan state, the work period of described infrared transmitting tube is constant.
Wherein, described record touch-screen also comprises before stopping touching the lasting time: whether detect touch-screen has touch point;
If do not have touch point, record touch-screen stops touching the time continued; If there is touch point, described infrared touch frame keeps normal scan state, and new record touch-screen of laying equal stress on stops touching the time continued.
Wherein, described record touch-screen also comprises: judge the time cycle whether described time reaches default after stopping touching the lasting time; If the described time does not reach the default time cycle, described infrared touch frame keeps normal scan state.
On the other hand, the present invention proposes a kind of system extending infrared touch frame serviceable life, comprising:
Timing unit, stops touching the time continued for recording touch-screen;
Scan pattern control module, if reach the default time cycle for the described time, infrared touch frame is entered by normal scan state and directly sweeps state, and described normal scan state comprises pattern of directly sweeping and tiltedly sweeps pattern.
Wherein, also comprise:
Directly sweep unit, enter directly sweep pattern for starting described infrared touch frame, the described directly pattern of sweeping is that infrared transmitting tube transmits to the infrared receiving tube just right with it;
Tiltedly sweep unit, enter tiltedly sweep pattern for starting described infrared touch frame, the described tiltedly pattern of sweeping is that infrared transmitting tube transmits to multiple infrared receiving tubes tiltedly right with it in certain angular range.
Wherein, also comprise:
Driving control unit, for described directly sweep pattern under control described infrared transmitting tube ON time be described normal scan state under ON time 1/3, the work period of described infrared transmitting tube is constant.
Power control unit, for reducing the power of infrared transmitting tube, is specially: by 3/4 of power under the power reduction of described infrared transmitting tube to normal scan state.
Wherein, also comprise:
Whether detecting unit, have touch point for detecting touch-screen;
If do not have touch point, record touch-screen stops touching the time continued; If there is touch point, described infrared touch frame keeps normal scan state, and new record touch-screen of laying equal stress on stops touching the time continued.
Judging unit, for judging the time cycle whether described time reaches default;
If the described time reaches the default time cycle, infrared touch frame enters directly sweeps state; If the described time does not reach the default time cycle, described infrared touch frame keeps normal scan state.
The beneficial effect that technical scheme provided by the invention is brought:
Record touch-screen stops touching the time continued, if the described time reaches the default time cycle, infrared touch frame is entered by normal scan state and directly sweeps state, and described normal scan state comprises pattern of directly sweeping and tiltedly sweeps pattern; Touch-screen stop touching the time continued reach the default time cycle time, infrared touch frame adds the tiltedly pattern of sweeping by the directly pattern of sweeping and enters into only have and directly sweep pattern; Technical scheme provided by the invention, by the scan pattern of infrared touch frame under the improper scanning mode of change, reduces its working loss, thus extends its serviceable life.
Embodiment
Technical scheme of the present invention is further illustrated by embodiment below in conjunction with accompanying drawing.
Embodiment one
That the present invention increases the service life the method flow diagram of first embodiment of method with reference to Fig. 1, Fig. 1.
In a first embodiment, the method in this prolongation infrared touch frame serviceable life comprises:
S101, record touch-screen stops touching the time continued;
S102, if the described time reaches the default time cycle, infrared touch frame is entered by normal scan state and directly sweeps state, and described normal scan state comprises pattern of directly sweeping and tiltedly sweeps pattern.
Start timing when touch-screen stops being touched, when timing time reaches the default time cycle, infrared touch frame changes scanning mode, is added tiltedly sweep Mode change and directly sweep pattern for only having by the directly pattern of sweeping before.Wherein, directly the pattern of sweeping is that infrared transmitting tube transmits to the infrared receiving tube just right with it; Tiltedly the pattern of sweeping is that infrared transmitting tube transmits to multiple infrared receiving tubes tiltedly right with it in certain angular range.
Infrared touch frame is under normal scan state, namely under directly the pattern of sweeping adds and tiltedly sweeps pattern, single infrared transmitting tube carries out first directly sweeping the switched scan retreading and sweep in the axial direction successively, when directly sweeping, open at the infrared receiving tube that axis direction is just right with infrared transmitting tube, and receive the signal of this infrared transmitting tube transmitting; When tiltedly sweeping, open successively with infrared transmitting tube at multiple infrared receiving tubes that the sector region of certain angle is tiltedly right, and receive the signal of this infrared transmitting tube transmitting, under directly sweeping pattern and tiltedly sweeping pattern, the ON time of each infrared receiving tube is identical.After tiltedly sweeping pattern and closing, the ON time of infrared transmitting tube obviously reduces, and its working loss reduces, and namely the overall work loss of infrared touch frame reduces.
To sum up, the method in prolongation infrared touch frame serviceable life of the embodiment of the present invention, record touch-screen stops touching the time continued, if the described time reaches the default time cycle, infrared touch frame is entered by normal scan state and directly sweeps state, and described normal scan state comprises pattern of directly sweeping and tiltedly sweeps pattern; When the time that touch-screen stops touch continuing reaches the default time cycle, that closes infrared touch frame tiltedly sweeps pattern, and the touch of only directly sweeping pattern detects; By changing the scan pattern of infrared touch frame under improper scanning mode, reducing the working loss of infrared touch frame, thus extending its serviceable life.
That the present invention increases the service life the method flow diagram of second embodiment of method with reference to Fig. 2, Fig. 2.
In a second embodiment, the method in this prolongation infrared touch frame serviceable life comprises:
S101, electrification reset;
S102, infrared touch frame enters normal scan state, and described normal scan state comprises pattern of directly sweeping and tiltedly sweeps pattern;
Power on to infrared touch frame, this infrared touch frame enters normal scan state after a reset, and namely directly the pattern of sweeping adds the scanning mode of pattern of tiltedly sweeping.
S103, whether have touch point, if do not have touch point to continue step S104 if detecting touch-screen; If there is touch point, continue step S105;
S104, record touch-screen stops touching the time continued;
S105, infrared touch frame keeps normal scan state, and new record touch-screen of laying equal stress on stops touching the time continued;
Whether real-time detection touch-screen is touched, if touch-screen has touch point, keeps normal scan state, the position of touch point detected and exported by its coordinate, and new record touch-screen of laying equal stress on stops being touched the lasting time; If do not have touch point to record the time continued after touch stops.
S106, judges the time cycle whether described time reaches default, if reach the default time cycle to continue step S107; If do not reach the default time cycle to continue step S105;
S107, infrared touch frame is entered by normal scan state and directly sweeps state;
The time that record continues after touching and stopping, and judge the time cycle whether this time reaches default, after reaching default time cycle, that closes infrared touch frame tiltedly sweeps pattern, enters the scanning mode only having pattern of directly sweeping.
After closedown tiltedly sweeps pattern, the work period of infrared transmitting tube is constant, directly pattern is swept due to only remaining, its ON time becomes 1/3 of ON time under normal scan state, the ON time of reduction is the ON time of infrared transmitting tube under pattern of tiltedly sweeping, the ON time namely under 2/3 normal scan state.
S108, by described power reduction of directly sweeping infrared transmitting tube under state to 3/4 of power under normal scan state.
Infrared transmitting tube forms luminophor by infraluminescence diode square, by changing the mode of its input current, can change the power of infrared transmitting tube.
To sum up, the method in prolongation infrared touch frame serviceable life of the embodiment of the present invention, record touches frame to be stopped touching the time continued, if this time reaches the default time cycle, the scanning mode of infrared touch frame is added the tiltedly pattern of sweeping by the directly pattern of sweeping switch to only have and directly sweep pattern, reduce the power of infrared transmitting tube simultaneously; When the time that touch-screen stops touch continuing reaches the default time cycle, that closes infrared touch frame tiltedly sweeps pattern, and the touch of only directly sweeping pattern detects, and reduces the power of infrared transmitting tube simultaneously; By changing the scan pattern of infrared touch frame under improper scanning mode, and reducing the mode of the power of infrared transmitting tube, reducing the working loss of infrared touch frame, thus extending its serviceable life.
Embodiment three
That the present invention increases the service life the system schematic of first embodiment of system with reference to Fig. 3, Fig. 3.
In the third embodiment, the system in this prolongation infrared touch frame serviceable life comprises:
Timing unit 101, stops touching the time continued for recording touch-screen;
Scan pattern control module 102, if reach the default time cycle for the described time, infrared touch frame is entered by normal scan state and directly sweeps state, and described normal scan state comprises pattern of directly sweeping and tiltedly sweeps pattern.
Record touch-screen stop scanning continue time, after this time reaches the default time cycle, scan pattern control module 102 by scan pattern by normal scan State Transferring for directly to sweep state, be specially closedown and tiltedly sweep pattern.
To sum up, the system in prolongation infrared touch frame serviceable life of the embodiment of the present invention, record touch-screen stops touching the time continued, if the described time reaches the default time cycle, infrared touch frame adds the tiltedly pattern of sweeping by the directly pattern of sweeping and enters into only have and directly sweep pattern; When the time that touch-screen stops touch continuing reaches the default time cycle, that closes infrared touch frame tiltedly sweeps pattern, the touch of only directly sweeping pattern detects, by changing the scan pattern of infrared touch frame under improper scanning mode, reduce the working loss of infrared touch frame, thus extend its serviceable life.
That the present invention increases the service life the system schematic of second embodiment of system with reference to Fig. 4, Fig. 4.
On the basis of the 3rd embodiment, the system in this prolongation infrared touch frame serviceable life also comprises:
Directly sweep unit 103, enter directly sweep state for starting described infrared touch frame, the described directly pattern of sweeping is that infrared transmitting tube transmits to the infrared receiving tube just right with it;
Normal scan state comprises pattern of directly sweeping and tiltedly sweeps pattern, respectively by directly sweeping unit 103 and tiltedly sweeping unit to control, directly sweeps unit and is responsible for controlling infrared receiving tube reception and its signal sent at the infrared transmitting tube that change in coordinate axis direction is just right.
Driving control unit 104, for described directly sweep pattern under control described infrared transmitting tube ON time be described normal scan state under ON time 1/3, the work period of described infrared transmitting tube is constant.
The ON time of closing infrared transmitting tube after tiltedly sweeping pattern is 1/3 of the ON time under described normal scan state, the work period of described infrared transmitting tube is constant, and driving control unit 104 provides directly sweeps the pulse drive signal of infrared transmitting tube under pattern corresponding to this.
Power control unit 105, for reducing the power of infrared transmitting tube, is specially: by 3/4 of power under the power reduction of described infrared transmitting tube to normal scan state.Reduce the power of infrared transmitting tube, directly reduce its working loss.
Whether detecting unit 106, have touch point for detecting touch-screen;
If do not have touch point, record touch-screen stops touching the time continued; If there is touch point, described infrared touch frame keeps normal scan state, the position of this touch point detected, and is exported by its coordinate, and new record touch-screen of laying equal stress on stops touching the time continued.
Judging unit 107, for judging the time cycle whether described time reaches default;
If the described time reaches the default time cycle, infrared touch frame enters directly sweeps state; If the described time does not reach the default time cycle, described infrared touch frame keeps normal scan state.
To sum up, the system in prolongation infrared touch frame serviceable life of the embodiment of the present invention, record touches frame to be stopped touching the time continued, if this time reaches the default time cycle, the scanning mode of infrared touch frame is added the tiltedly pattern of sweeping by the directly pattern of sweeping switch to only have and directly sweep pattern, reduce the power of infrared transmitting tube simultaneously; When the time that touch-screen stops touch continuing reaches the default time cycle, that closes infrared touch frame tiltedly sweeps pattern, and the touch of only directly sweeping pattern detects, and reduces the power of infrared transmitting tube simultaneously; By changing the scan pattern of infrared touch frame under improper scanning mode, and reducing the power of infrared transmitting tube, reducing the working loss of infrared touch frame, thus extending its serviceable life.
Below know-why of the present invention is described in conjunction with specific embodiments.These describe just in order to explain principle of the present invention, and can not be interpreted as limiting the scope of the invention by any way.Based on explanation herein, those skilled in the art does not need to pay performing creative labour can associate other embodiment of the present invention, and these modes all will fall within protection scope of the present invention.