Summary of the invention
The embodiment of the invention provides a kind of acquisition methods and device of touch screen induction information, so that infrared touch panel can the perception touch pressure, enriches the information of infrared touch panel induction.
For achieving the above object, the embodiment of the invention provides a kind of acquisition methods of touch screen induction information on the one hand, and described touch-screen comprises the multilayer infrared touch panel that superposes on the vertical direction, and this method comprises:
In advance for each layer infrared touch panel be provided with an infrared touch panel before being touched default value and be touched after the touch sensible value;
Obtain the touch sensible value of each layer infrared touch panel, specifically comprise: be positioned at after any point with one deck infrared touch panel is touched, the default value of the touch sensible value of the infrared touch panel that is touched before default described being touched becomes the touch sensible value after default described being touched;
The touch sensible value of described each layer infrared touch panel default value with default each layer infrared touch panel is compared;
When described touch sensible value is different from described default value, determine that the touch sensible value pairing infrared touch panel different with described default value is touched, export pairing touch pressure value according to the infrared touch panel number of plies that is touched.
On the other hand, the embodiment of the invention also provides a kind of deriving means of touch screen induction information, comprising:
Module is set, be used in advance for each layer infrared touch panel be provided with an infrared touch panel before being touched default value and be touched after the touch sensible value;
Acquisition module, be used to obtain the touch sensible value of each layer infrared touch panel that superposes on the vertical direction, specifically comprise: be positioned at after any point with one deck infrared touch panel is touched, the default value of the touch sensible value of the infrared touch panel that is touched before default described being touched becomes the touch sensible value after default described being touched;
Default value before contrast module, the touch sensible value that is used for each layer infrared touch panel that described acquisition module is obtained are touched with default each layer infrared touch panel compares;
Determination module is used for when described contrast module determines that described touch sensible value is different from described default value, determines that the touch sensible value pairing infrared touch panel different with described default value is touched;
Output module is used for exporting pairing touch pressure value according to the infrared touch panel number of plies that is touched.
On the one hand, the embodiment of the invention also provides a kind of touch-screen, comprises the multilayer infrared touch panel and the touch screen induction information deriving means that superpose on the vertical direction again, and described touch screen induction information deriving means comprises:
Acquisition module is used to obtain the touch sensible value of each layer infrared touch panel that superposes on the vertical direction;
Default value before contrast module, the touch sensible value that is used for each layer infrared touch panel that described acquisition module is obtained are touched with default each layer infrared touch panel compares;
Determination module is used for when described contrast module determines that described touch sensible value is different from described default value, determines that the touch sensible value pairing infrared touch panel different with described default value is touched;
Output module is used for exporting pairing touch pressure value according to the infrared touch panel number of plies that is touched.
Compared with prior art, the embodiment of the invention has the following advantages: the embodiment of the invention is obtained the touch sensible value of each layer infrared touch panel of stack, when the touch sensible value of each layer infrared touch panel is different from the default value of default each layer infrared touch panel before being touched, determine that the touch sensible value pairing infrared touch panel different with default value is touched, and export pairing touch pressure value according to the infrared touch panel number of plies that is touched.By the technical scheme of the embodiment of the invention, infrared touch panel can be sensed touch pressure, has enriched the information that infrared touch panel can be sensed.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is a part of embodiment of the present invention, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
The embodiment of the invention provides a kind of acquisition methods of touch screen induction information, infrared touch panel can be felt enriched the information that infrared touch panel can be sensed by touch pressure.
As shown in Figure 2, be the process flow diagram of the acquisition methods of a kind of touch screen induction information of the embodiment of the invention, this touch-screen comprises the multilayer infrared touch panel that superposes on the vertical direction, and this method comprises:
Step S201 obtains the touch sensible value of each layer infrared touch panel.
The embodiment of the invention is the touch sensible value that each layer infrared touch panel is provided with a correspondence, and this touch sensible value can be a group coding or a numerical value.
Step S202 compares the touch sensible value of each layer infrared touch panel default value with default each layer infrared touch panel.
In the embodiment of the invention, set in advance the default value of each layer infrared touch panel before being touched,, can determine that then this layer infrared touch panel is not touched if the touch sensible value of obtaining is identical with default value; If the touch sensible value of obtaining is different with default value, can determine that then this layer infrared touch panel is touched.
Step S203 when the touch sensible value is different from described default value, determines that the touch sensible value pairing infrared touch panel different with default value is touched, and exports pairing touch pressure value according to the infrared touch panel number of plies that is touched.
When the touch sensible value is different from default value, determine that the touch sensible value pairing infrared touch panel different with this default value is touched, export pairing touch pressure value according to the infrared touch panel number of plies that is touched.
When the default value before n touch sensible value of the n layer infrared touch panel that obtains and n layer infrared touch panel are touched is all inequality, determines that n layer infrared touch panel is touched, and export the pairing touch pressure value of n layer infrared touch panel.
Above-mentioned default value can be set to 0, and every layer of infrared touch panel is provided with a touch sensible value, and this touch sensible value is corresponding with the infrared touch panel number of plies.Obtain the touch sensible value of each layer infrared touch panel output, determine the infrared touch panel number of plies that is touched, the touch pressure value that output is corresponding according to the touch sensible value.
The realization principle of the embodiment of the invention as shown in Figure 3, in the embodiment of the invention, all distributed power valve and receiving tube of Die Jia each layer infrared touch panel in vertical direction.In advance for each layer infrared touch panel be provided with an infrared touch panel before being touched default value and be touched after the touch sensible value.Before infrared touch panel was touched, the touch sensible value of each layer infrared touch panel correspondence was default default value.Be positioned at after any point with one deck infrared touch panel is touched, the touch sensible value of the infrared touch panel that is touched becomes same influence value.Controller obtains the touch sensible value of each layer infrared touch panel, default value before the touch sensible value of each layer infrared touch panel and default each layer infrared touch panel be touched compares, when the touch sensible value is different from default value, determine that the touch sensible value pairing infrared touch panel different with default value is touched.
For example, for the ground floor infrared touch panel of stack, before the ground floor infrared touch panel was touched, a value of output was the default value before default ground floor infrared touch panel is touched.After the ground floor infrared touch panel is touched, always have a group of received pipe on the ground floor infrared touch panel and do not receive infrared ray, the a value that controller obtains is the touch sensible value after default ground floor infrared touch panel is touched, at this moment the default value before controller is touched a value that gets access to and the ground floor infrared touch panel of presetting compares, if a value is different from the default value of default ground floor infrared touch panel before being touched, then controller can determine that the ground floor infrared touch panel is touched, be touched the corresponding relation of required touch pressure value then according to the touch sensible value of every layer of infrared touch panel preserving and every layer of infrared touch panel, controller exports the pairing touch pressure value of ground floor infrared ray to PC (Personal Computer by data line, PC), follow-up PC can be applied in this touch pressure value in the interface of man-machine exchange, for example: in recreation, be used for controlling the intensity that the role attacks, when playing back music or video, be used for the speed of controls playing etc.
Same, second layer infrared touch panel for stack, if touch pressure is bigger, touched second layer infrared touch panel, then second layer infrared touch panel also has a group of received pipe and does not receive infrared ray, the b value that controller obtains is the influence value after default second layer infrared touch panel is touched, at this moment, default value before controller is touched b value that gets access to and the second layer infrared touch panel of presetting compares, if the b value is different from the default value of default second layer infrared touch panel before being touched, then controller can determine that second layer infrared touch panel is touched, and exports the pairing touch pressure value of second layer infrared touch panel to PC by data line.
When touch pressure can touch n layer infrared touch panel, the n value that controller obtains is the touch sensible value after default n layer infrared touch panel is touched, at this moment, because ground floor infrared touch panel to the n-1 layer infrared touch panel on the n layer infrared touch panel all is touched, the default value before therefore the touch sensible value of the n layer infrared touch panel that obtains and n layer infrared touch panel are touched is all inequality.When the default value before so n touch sensible value of the n layer infrared touch panel that obtains when controller and n layer infrared touch panel are touched is all inequality, controller can determine that n layer infrared touch panel is touched, and controller exports the touch pressure value of n layer infrared touch panel correspondence to PC by data line afterwards.
In another embodiment, each layer infrared touch panel all is numbered, the default value before each layer infrared touch panel is touched is set to 0, and every layer of infrared touch panel is provided with a touch sensible value, and described touch sensible value is corresponding with the number of plies; Particularly, the touch pressure value that touches back output be the number of plies of correspondence, exports pairing touch pressure value according to the infrared touch panel number of plies that is touched, and the maximal value that is specially according to the touch pressure value of all outputs obtains corresponding touch pressure value.For example, touch-screen has 6 layers of infrared touch panel, and when the pressure that touches arrived the 5th layer, six touch-screens exported 1,2,3,4,5 and 0 successively, can determine that the touch pressure value is the 5th a layer of value corresponding.
By the embodiment of the invention, infrared touch panel can be sensed touch pressure, has enriched the information that infrared touch panel can be sensed.The embodiment of the invention can be applicable in the interface of any man-machine exchange, and it is general to be of wide application, for example: can be used for controlling the intensity that the role attacks in game machine, perhaps can be used for speed of controls playing or the like in player.
As shown in Figure 4, the structural drawing for the deriving means of a kind of touch screen induction information of the embodiment of the invention comprises:
Acquisition module 41 is used to obtain the touch sensible value of each layer infrared touch panel that superposes on the vertical direction;
Default value before contrast module 42, the touch sensible value that is used for each layer infrared touch panel that acquisition module 41 is obtained are touched with default each layer infrared touch panel compares;
Determination module 43 is used for determining that the touch sensible value pairing infrared touch panel different with default value is touched when contrast module 42 determines that the touch sensible value is different from default value;
Output module 44 is used for exporting pairing touch pressure value according to the infrared touch panel number of plies that is touched.
The deriving means of this touch screen induction information can also comprise: module 45 is set, is used to each layer infrared touch panel that superposes on the vertical direction that corresponding touch sensible value is set.
Wherein, determination module 43 specifically is used for default value before n touch sensible value of the n layer infrared touch panel that obtains and n layer infrared touch panel are touched when all inequality, determines that n layer infrared touch panel is touched;
At this moment, output module 44 specifically is used to export the pairing touch pressure value of n layer infrared touch panel.
The deriving means of above-mentioned touch screen induction information specifically can be realized on controller.
The deriving means of above-mentioned touch screen induction information, acquisition module 41 obtains the touch sensible value of each layer infrared touch panel of stack, when contrast module 42 determines that the touch sensible value of each layer infrared touch panel is different from the default value of default each layer infrared touch panel before being touched, determination module 43 determines that the touch sensible value pairing infrared touch panel different with default value is touched, and output module 44 is exported pairing touch pressure value according to the infrared touch panel number of plies that is touched.By the technical scheme of the embodiment of the invention, infrared touch panel can be sensed touch pressure, has enriched the information that infrared touch panel can be sensed.
Correspondingly, the embodiment of the invention also provides a kind of touch-screen, comprises the multilayer infrared touch panel and the touch screen induction information deriving means that superpose on the vertical direction, and wherein the touch screen induction information deriving means comprises:
Acquisition module 41 is used to obtain the touch sensible value of each layer infrared touch panel that superposes on the vertical direction;
Default value before contrast module 42, the touch sensible value that is used for each layer infrared touch panel that acquisition module 41 is obtained are touched with default each layer infrared touch panel compares;
Determination module 43 is used for determining that the touch sensible value pairing infrared touch panel different with default value is touched when contrast module 42 determines that the touch sensible value is different from default value;
Output module 44 is used for exporting pairing touch pressure value according to the infrared touch panel number of plies that is touched.
The deriving means of this touch screen induction information can also comprise: module 45 is set, is used to each layer infrared touch panel that superposes on the vertical direction that corresponding touch sensible value is set.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the synoptic diagram of a preferred embodiment, module in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
The invention described above embodiment sequence number is not represented the quality of embodiment just to description.
More than disclosed only be several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.