CN107422969A - The Zoom method and device of infrared touch panel, infrared touch panel - Google Patents

The Zoom method and device of infrared touch panel, infrared touch panel Download PDF

Info

Publication number
CN107422969A
CN107422969A CN201710240135.9A CN201710240135A CN107422969A CN 107422969 A CN107422969 A CN 107422969A CN 201710240135 A CN201710240135 A CN 201710240135A CN 107422969 A CN107422969 A CN 107422969A
Authority
CN
China
Prior art keywords
coordinate value
scale value
touch panel
infrared touch
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710240135.9A
Other languages
Chinese (zh)
Other versions
CN107422969B (en
Inventor
金飞
金一飞
童钰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Loebu Education Technology Co Ltd
Original Assignee
Beijing Loebu Education Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Loebu Education Technology Co Ltd filed Critical Beijing Loebu Education Technology Co Ltd
Priority to CN201710240135.9A priority Critical patent/CN107422969B/en
Publication of CN107422969A publication Critical patent/CN107422969A/en
Application granted granted Critical
Publication of CN107422969B publication Critical patent/CN107422969B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/042Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by opto-electronic means

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses infrared touch panel, the Zoom method and device of infrared touch panel, wherein the Zoom method includes:In the displacement process of each contact on infrared touch panel, periodically performed the following steps according to default refreshing frequency:The information gathered according to the sensing element of infrared touch panel, calculate the coordinate value and scale value of generation manipulation object;Coordinate value and scale value are corrected by default slow-action function respectively;Revised coordinate value and scale value are assigned to the manipulation object, so that manipulation object is shown in infrared touch panel according to revised coordinate value and scale value;Invention increases amendment coordinate value and the process of scale value;The mutation of coordinate value and scale value can be avoided, so that it is smooth to assign the coordinate value of manipulation object and the change curve of scale value, and then also can is effectively prevented from the shake of the display picture in infrared screen, the purpose for improving Consumer's Experience is thus also just reached.

Description

The Zoom method and device of infrared touch panel, infrared touch panel
Technical field
The present invention relates to computer realm, more particularly to infrared touch panel, infrared touch panel Zoom method and Device.
Background technology
Infrared technology touch-screen(Infrared Touch Screen Technology)By on touch-screen housing Infrared emitting and receiving sensing element form, in screen surface, formed infra-red detection net;The object of touch control operation (Such as finger)The infrared ray of electric shock can be stopped, corresponding stop action can be experienced by receiving sensing element;Grasped according to touch-control The blocking position of work can identify the coordinate position of touch control operation, and realize the response of touch control operation.
Touch control operation can be included in the picture carried out on infrared Touch Screen or the multiple spot scaling of scene;Prior art The realization of middle multiple spot scaling, by taking the multiple spot scaling algorithm in HTML5 as an example, the gesture identification stage can be included, calculate scale value Stage and stage object value stage;That is, recording the contact position of multiple fingers respectively first, hand is then kept track of The motion track of finger;At the same time, with the continuous change of finger position, calculate needs scale objects in real time in stage Coordinate value and scale value;So, then by assigning coordinate value and scale value to stage object in real time, so that it may so that in screen Picture or scene(Stage object)Carry out corresponding scaling.
Inventor has found that, at least also there is following defect in multiple spot scaling implementation of the prior art:
During operation is zoomed in and out, the manipulation object in screen(Such as picture or scene)Can often it shake, from And influence Consumer's Experience.
The content of the invention
The technical problems to be solved by the invention are that the manipulation object how reduced in infrared touch screen enters Float during row manipulation, specifically:
The embodiments of the invention provide a kind of Zoom method of infrared touch panel, including:
In the displacement process of each contact on infrared touch panel, periodically implement following step according to default refreshing frequency Suddenly:
The information gathered according to the sensing element of the infrared touch panel, calculate the coordinate value and scaling of generation manipulation object Value;
Coordinate value and scale value are corrected by default slow-action function respectively;
Revised coordinate value and scale value are assigned to the manipulation object, so that the manipulation object is according to revised coordinate Value and scale value are shown in the infrared touch panel.
It is preferably, in embodiments of the present invention, described that coordinate value and scale value are corrected by default slow-action function respectively, Including:
Obtain the coordinate value before amendment;
According to formula(1)Generate revised coordinate value:
Formula(1);
Wherein, it is describedFor coordinate value after amendment;For coordinate value after the amendment generated in the upper refreshing frequency cycle;It is describedWithin the current refreshing frequency cycle, to calculate the coordinate value before the amendment of the manipulation object of generation;It is describedFor Default slow-action coefficient.
It is preferably, in embodiments of the present invention, described that coordinate value and scale value are corrected by default slow-action function respectively, Also include:
Obtain the scale value before amendment;
According to formula(2)Generate revised scale value:
Formula(2);
Wherein, it is describedFor scale value after amendment;For scale value after the amendment generated in the upper refreshing frequency cycle;It is describedWithin the current refreshing frequency cycle, to calculate the scale value before the amendment of the manipulation object of generation;It is described To preset slow-action coefficient.
Preferably, in embodiments of the present invention, the span of the slow-action coefficient is 0.01 to 0.2.
Preferably, in embodiments of the present invention, it is per second to include 60 frames for the default refreshing frequency.
In the another side of the embodiment of the present invention, a kind of scaling processing unit for infrared touch panel is additionally provided, is wrapped Include:
Computing module, for the information gathered according to the sensing element of the infrared touch panel, calculate generation manipulation object Coordinate value and scale value;
Correcting module, for correcting coordinate value and scale value respectively by default slow-action function;
Module is assigned, for assigning revised coordinate value and scale value to the manipulation object, so that the manipulation object root The infrared touch panel is shown according to revised coordinate value and scale value.
Preferably, in embodiments of the present invention, the correcting module includes:
First processing units, for according to formula(1)Generate revised coordinate value:
Formula(1);
Wherein, it is describedFor coordinate value after amendment;For coordinate value after the amendment generated in the upper refreshing frequency cycle;It is describedWithin the current refreshing frequency cycle, to calculate the coordinate value before the amendment of the manipulation object of generation;It is describedFor Default slow-action coefficient.
Preferably, in embodiments of the present invention, the correcting module also includes:
Second processing unit, for according to formula(2)Generate revised scale value:
Formula(2);
Wherein, it is describedScale value after amendment;For scale value after the amendment generated in the upper refreshing frequency cycle;It is describedWithin the current refreshing frequency cycle, to calculate the scale value before the amendment of the manipulation object of generation;It is described To preset slow-action coefficient.
Preferably, in embodiments of the present invention, the span of the slow-action coefficient is 0.01 to 0.2.
In the another side that the present invention is implemented, a kind of infrared touch panel, including scaling processing unit are additionally provided;The contracting Putting processing unit includes:
Computing module, for the information gathered according to the sensing element of the infrared touch panel, calculate generation manipulation object Coordinate value and scale value
Correcting module, for correcting coordinate value and scale value respectively by default slow-action function;
Module is assigned, for assigning revised coordinate value and scale value to the manipulation object, so that the manipulation object root The infrared touch panel is shown according to revised coordinate value and scale value.
In the embodiment of the present invention, the contact of infrared touch panel according to the gathered data of sensing element generate coordinate value and After scale value, the process of amendment coordinate value and scale value also add;So, in the position according to infrared touch panel upper contact When putting change to be manipulated to the manipulation object in screen, the prominent of coordinate value and scale value can be avoided by slow-action function Become, so that it is smooth to assign the coordinate value of manipulation object and the change curve of scale value, and then also can is effectively The shake of the display picture in infrared screen is avoided, has thus also just reached the purpose for improving Consumer's Experience.
Brief description of the drawings
, below will be to embodiment or existing in order to illustrate more clearly of the embodiment of the present application or technical scheme of the prior art There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments described in application, for those of ordinary skill in the art, on the premise of not paying creative work, Other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the step schematic diagram of the Zoom method of infrared touch panel described herein;
Fig. 2 is the change schematic diagram of scale value in the application;
Fig. 3 is the another change schematic diagram of scale value in the application;
Fig. 4 is the another change schematic diagram of scale value in the application;
Fig. 5 is the structural representation of the scaling processing unit described herein for infrared touch panel.
Embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only this Invention part of the embodiment, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art exist The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
In order to improve Consumer's Experience, the embodiment of the present invention provides a kind of Zoom method of infrared touch panel, such as Fig. 1 It is shown, including:In the displacement process of each contact on infrared touch panel, periodically implement such as according to default refreshing frequency Lower step:
S11, the information gathered according to the sensing element of infrared touch panel, calculate the coordinate value and scaling of generation manipulation object Value;
Manipulation object in the embodiment of the present invention refer to be shown in infrared touch panel can be manipulated by user it is aobvious Show content, for example can be picture or content of text etc.;User can be carried out by way of multiconductor manipulation to manipulation object The controls such as scaling rotation.In this step, the coordinate value of manipulation object can be obtained by the way of same as the prior art And scale value.
Each calculation process process in the embodiment of the present invention can be realized by software, in actual applications, can be with base The program of JavaScript language in HTML5 environment realizes each step in the embodiment of the present invention, i.e. by corresponding Software program, come the information gathered to infrared touch panel(Such as, real-time physical location of each contact on screen Information)The processing computing of preset algorithm is carried out, so as to exist according to the control action of contact come the corresponding manipulation object that changes Size, posture or position in screen etc..
By taking HTML5 environment as an example, the typical implementation of this step can include following process:
Gesture identification is carried out, obtains the real-time coordinate value of manipulation object and scale value during scaling;
It should be noted that according to default refreshing frequency come repeated when calculating the real-time coordinate value of manipulation object and scale value Progress, by refreshing frequency be 60 frames it is per second exemplified by, now, it is necessary to per second during being manipulated to manipulation object Clock carries out the calculating of 60 times, obtains the result of calculation of 60 times.
Below can be so that two fingers be amplified for the picture in screen as an example, to illustrate by the contact in screen Manipulate the manipulation process of object;
First, two fingers to be recorded for the touch action of touch-screen to determine the initial position of two contacts, now can be with The referred to as touchstart stages, specifically:
The page can trigger first TouchEvent during first finger down(Touch event), touchID 0, coordinate is (X0, y0)The page can trigger second TouchEvent, touchID 1 during second finger down, and coordinate is (x1, y1) Current scene is recorded during second finger down(Screen)In manipulation object scale value and coordinate value targetScale and TargetPos, the manipulation object in current scene are designated as element;
Now, scale value and coordinate value can record as follows respectively:
, can be default by calling when finger is exaggerated operation after it have recorded original scale value and coordinate value Algorithm come during manipulation to carry out computing to the change in location situation of two fingers in real time, can now be referred to as The touchmove stages, in this stage:
In embodiments of the present invention, the coordinate of finger be can according to the information that the sensing element of infrared touch panel is gathered come Obtain.Two fingers start to move, if the coordinate that the former frame touchID after mobile is 0 is (x0, y0), after mobile The coordinate that touchID is 0 is (x0 ', y0 ');It is mobile if the coordinate that the former frame touchID after mobile is 1 is (x1, y1) The coordinate that touchID is 1 afterwards is (x1 ', y1 ');
Now, scale value is calculated:
According to the scaled data of previous frame(That is, the scale value being calculated in the upper refreshing frequency cycle)With the scaling of present frame Data carry out calculating scale value;
Scaling central point skew is calculated when triggering touchMove every time, is calculated in 2 points of scalings of previous frame and present frame Heart point is set to p and p ', calculation formula is as follows:
The difference for calculating p and p ' is set to dp, i.e.
Then, to difference dp application scaled matrix, i.e.
The dp ' now calculated is exactly that the coordinate after object scaling is manipulated in scene, then allows targetPos to add dp ', has Body calculation formula is:
Finally, targetScale is allowed to apply following scaled matrix, to obtain the scale value for manipulating object in present frame;
S12, coordinate value and scale value corrected by default slow-action function respectively;
If during manipulation, the finger of user generates shake, or because the contact angle of finger and screen occurs Unexpected suddenly change, the coordinate value and scale value being calculated in step S11 will be mutated accordingly, if will be prominent Coordinate value and scale value after change assign the manipulation object in screen, will make generation size or position that the picture in screen is unexpected The change put, so that screen-picture is shaken.
In order to avoid the above situation(Screen-picture is shaken)Generation, it is in embodiments of the present invention, calculated above to obtain The coordinate value and scale value of present frame do not assign screen directly(That is scene)In manipulation object, but also need to one amendment Process, come avoid assign manipulation object coordinate value and scale value undergo mutation, next with specific slow-action function for Bright coordinate value and the makeover process of scale value are, it is necessary to explanation, and slow-action function enumerated below is preferable scheme, ability Field technique personnel can use other slow-action functions as needed, not do specific restriction herein.
Can be specifically according to formula firstly, for the amendment of coordinate value(1)To carry out calculating amendment;
Formula(1);
Then, can be specifically according to formula for the amendment of scale value(2)To carry out calculating amendment;
Formula(2);
In formula(1)And formula(2)In, it is describedFor coordinate value after amendment;Generated in the upper refreshing frequency cycle Coordinate value after amendment;It is describedFor within the current refreshing frequency cycle(That is, present frame), calculate the manipulation of generation Coordinate value before the amendment of object;Wherein, it is describedFor scale value after amendment;For the upper refreshing frequency cycle(That is, previous frame) Generated in amendment after scale value;It is describedWithin the current refreshing frequency cycle, to calculate the manipulation of generation Scale value before the amendment of object;It is describedTo preset slow-action coefficient.
Preferably, in actual applications, the span of slow-action coefficient may be set between 0.01 to 0.2, can subtract Display picture shake during few manipulation;, can further taking slow-action coefficient in order to obtain more preferable slow-action effect It is worth range set between 0.05 to 0.016.With reference to 2 to Fig. 4, scale value can be observed revised by slow-action function Effect, wherein, during Fig. 2 is the manipulation without slow-action function amendment(A length of 100 frame during sampling)The situation of change of scale value; Fig. 3 is the situation of change of scale value when slow-action coefficient is set as into 0.05;Fig. 4 is scaled when being and slow-action coefficient being set as into 0.016 The situation of change of value;Curve comparison in figure can be seen that significantly to be become more by revised scale value change curve It is smooth, also imply that, it is also smooth that the size variation of object or the process of change in location are manipulated in screen.
S13, revised coordinate value and scale value are assigned to manipulation object, so that manipulation object is according to revised coordinate Value and scale value are shown in infrared touch panel.
Zoom method in the embodiment of the present invention, the calculating of the coordinate value and scale value in step S11 was both included, had also wrapped The makeover process in step S12 is included;Revised coordinate value and scale value are assigned to manipulation object, so that manipulation Object is shown in infrared touch panel according to revised coordinate value and scale value, can avoid assigning the coordinate value of manipulation object It is excessive with the instantaneous variation of scale value, so as to avoid the shake of the manipulation object in screen.
In summary, the contact of infrared touch panel is given birth to according to the gathered data of sensing element in embodiments of the present invention Into after coordinate value and scale value, the process of amendment coordinate value and scale value also add;So, according to infrared touch panel , can be in order to avoid coordinate value and scaling by slow-action function when the change in location of upper contact to the manipulation object in screen to manipulate The mutation of value, so that it is smooth to assign the coordinate value of manipulation object and the change curve of scale value, and then also can The shake for the display picture being effectively prevented from infrared screen, the purpose for improving Consumer's Experience is thus also just reached.
In the another side of the embodiment of the present invention, a kind of scaling processing unit for infrared touch panel is additionally provided, such as Shown in Fig. 5, including:Computing module 01, correcting module 02 and imparting module 03;
Computing module 01 is used for the information gathered according to the sensing element 04 of infrared touch panel, calculates generation manipulation object Coordinate value and scale value correcting module 02 are used to correct coordinate value and scale value respectively by default slow-action function;Assign module 03 is used to assign revised coordinate value and scale value to the manipulation object, so that the manipulation object is according to revised seat Scale value and scale value are shown in the infrared touch panel.
In actual applications, the scaling processing unit for infrared touch panel in the embodiment of the present invention can be by soft Part program realizes its function, such as, can be the program based on the JavaScript language in HTML5 environment, by this hair Modules in bright embodiment entirely scale processing unit to build.
Computing module 01 is used for the information gathered according to the sensing element 04 of infrared touch panel, calculates generation manipulation pair The coordinate value and scale value of elephant;
It should be noted that according to default refreshing frequency come repeated when calculating the real-time coordinate value of manipulation object and scale value Progress, by refreshing frequency be 60 frames it is per second exemplified by, now, it is necessary to per second during being manipulated to manipulation object Clock carries out the calculating of 60 times, obtains the result of calculation of 60 times.
Below can be so that two fingers be amplified for the picture in screen as an example, to illustrate by the contact in screen Manipulate the manipulation process of object;
First, two fingers to be recorded for the touch action of touch-screen to determine the initial position of two contacts;And calculate For corresponding to the coordinate value and scale value that object is manipulated in screen;After it have recorded original scale value and coordinate value, when When finger is exaggerated operation, can by call default algorithm come during manipulation in real time to the position of two fingers Put situation of change and carry out computing, so as to obtain real-time coordinates and scale value that object is manipulated in each frame;
Then, correcting module 02 corrects coordinate value and scale value respectively by default slow-action function;Preferably, can be passed through One processing unit(Not shown in figure)With second processing unit(Not shown in figure), to utilize formula(1)And formula(2)To distinguish Coordinate value and scale value are modified:
Formula(1);
Formula(2);
In formula(1)And formula(2)In, it is describedFor coordinate value after amendment;Generated in the upper refreshing frequency cycle Coordinate value after amendment;It is describedFor within the current refreshing frequency cycle(That is, present frame), calculate the manipulation of generation Coordinate value before the amendment of object;Wherein, it is describedFor scale value after amendment;For the upper refreshing frequency cycle(That is, previous frame) Generated in amendment after scale value;It is describedWithin the current refreshing frequency cycle, to calculate the manipulation of generation Scale value before the amendment of object;It is describedTo preset slow-action coefficient.
Preferably, in actual applications, the span of slow-action coefficient may be set between 0.01 to 0.2, can subtract Display picture shake during few manipulation;, can further taking slow-action coefficient in order to obtain more preferable slow-action effect It is worth range set between 0.05 to 0.016.With reference to 2 to Fig. 4, scale value can be observed revised by slow-action function Effect, wherein, during Fig. 2 is the manipulation without slow-action function amendment(A length of 100 frame during sampling)The situation of change of scale value; Fig. 3 is the situation of change of scale value when slow-action coefficient is set as into 0.05;Fig. 4 is scaled when being and slow-action coefficient being set as into 0.016 The situation of change of value;Curve comparison in figure can be seen that significantly to be become more by revised scale value change curve It is smooth.
Assign module 03 to be used to assign revised coordinate value and scale value to manipulation object, so that manipulation object is according to repairing Coordinate value and scale value after just are shown in infrared touch panel.
In embodiments of the present invention, both include the calculating of coordinate value and scale value, and also include coordinate value and scale value Makeover process;Revised coordinate value and scale value are assigned to manipulation object, so that manipulation object is according to amendment Coordinate value and scale value afterwards is shown in infrared touch panel, can avoid assigning coordinate value and the wink of scale value of manipulation object Between change it is excessive, so as to avoid in screen manipulation object shake.
In summary, the contact of infrared touch panel is given birth to according to the gathered data of photo-sensitive cell in embodiments of the present invention Into after coordinate value and scale value, the process of amendment coordinate value and scale value also add;So, according to infrared touch panel , can be in order to avoid coordinate value and scaling by slow-action function when the change in location of upper contact to the manipulation object in screen to manipulate The mutation of value, so that it is smooth to assign the coordinate value of manipulation object and the change curve of scale value, and then also can The shake for the display picture being effectively prevented from infrared screen, the purpose for improving Consumer's Experience is thus also just reached.
In the another side of the embodiment of the present invention, a kind of infrared touch panel is additionally provided(Not shown in figure), in the present invention Infrared touch panel in embodiment, by including the scaling processing unit in embodiment corresponding to Fig. 5, can effectively it keep away Exempt from the shake of the display picture in infrared screen.
The technical scheme of infrared touch panel described in the embodiment of the present invention, operation principle and the beneficial effect that can reach exist Have been carried out recording and describe in the embodiment of scaling processing unit corresponding to Fig. 5, just repeat no more herein.
In several embodiments that the embodiment of the present invention is provided, it should be understood that disclosed system, device and side Method, it can realize by another way.For example, device embodiment described above is only schematical, for example, described The division of unit, only a kind of division of logic function, can there are other dividing mode, such as multiple units when actually realizing Or component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, institute Display or the mutual coupling discussed or direct-coupling or communication connection can be by some interfaces, device or unit INDIRECT COUPLING or communication connection, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part to be contributed in other words to prior art or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer Equipment(Can be personal computer, server, or network equipment etc.)Perform the complete of each embodiment methods described of the present invention Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage(ROM, Read-Only Memory), random access memory(RAM, Random Access Memory), ReRAM, MRAM, PCM, NAND Flash, NOR Flash, Memristor, magnetic disc or CD etc. are various can be with the medium of store program codes.
Described above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to before Embodiment is stated the present invention is described in detail, it will be understood by those within the art that:It still can be to preceding State the technical scheme described in each embodiment to modify, or equivalent substitution is carried out to which part technical characteristic;And these Modification is replaced, and the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

  1. A kind of 1. Zoom method of infrared touch panel, it is characterised in that including:
    In the displacement process of each contact on infrared touch panel, periodically implement following step according to default refreshing frequency Suddenly:
    The information gathered according to the sensing element of the infrared touch panel, calculate the coordinate value and scaling of generation manipulation object Value;
    Coordinate value and scale value are corrected by default slow-action function respectively;
    Revised coordinate value and scale value are assigned to the manipulation object, so that the manipulation object is according to revised coordinate Value and scale value are shown in the infrared touch panel.
  2. 2. the Zoom method of infrared touch panel according to claim 1, it is characterised in that described to pass through default slow-action Function corrects coordinate value and scale value respectively, including:
    Obtain the coordinate value before amendment;
    According to formula(1)Generate revised coordinate value:
    Formula(1);
    Wherein, it is describedFor coordinate value after amendment;For coordinate value after the amendment generated in the upper refreshing frequency cycle;It is describedWithin the current refreshing frequency cycle, to calculate the coordinate value before the amendment of the manipulation object of generation;It is describedFor Default slow-action coefficient.
  3. 3. the Zoom method of infrared touch panel according to claim 2, it is characterised in that described to pass through default slow-action Function corrects coordinate value and scale value respectively, in addition to:
    Obtain the scale value before amendment;
    According to formula(2)Generate revised scale value:
    Formula(2);
    Wherein, it is describedFor scale value after amendment;For scale value after the amendment generated in the upper refreshing frequency cycle;It is describedWithin the current refreshing frequency cycle, to calculate the scale value before the amendment of the manipulation object of generation;It is described To preset slow-action coefficient.
  4. 4. according to the Zoom method of any described infrared touch panel in Claims 2 or 3, it is characterised in that
    The span of the slow-action coefficient is 0.01 to 0.2.
  5. 5. according to the Zoom method of any described infrared touch panel in claims 1 to 3, it is characterised in that
    It is per second that the default refreshing frequency includes 60 frames.
  6. A kind of 6. scaling processing unit for infrared touch panel, it is characterised in that including:
    Computing module, for the information gathered according to the sensing element of the infrared touch panel, calculate generation manipulation object Coordinate value and scale value;
    Correcting module, for correcting coordinate value and scale value respectively by default slow-action function;
    Module is assigned, for assigning revised coordinate value and scale value to the manipulation object, so that the manipulation object root The infrared touch panel is shown according to revised coordinate value and scale value.
  7. 7. scaling processing unit according to claim 6, it is characterised in that the correcting module includes:
    First processing units, for according to formula(1)Generate revised coordinate value:
    Formula(1);
    Wherein, it is describedFor coordinate value after amendment;For coordinate value after the amendment generated in the upper refreshing frequency cycle;It is describedWithin the current refreshing frequency cycle, to calculate the coordinate value before the amendment of the manipulation object of generation;It is describedFor Default slow-action coefficient.
  8. 8. scaling processing unit according to claim 7, it is characterised in that the correcting module also includes:
    Second processing unit, for according to formula(2)Generate revised scale value:
    Formula(2);
    Wherein, it is describedFor scale value after amendment;For scale value after the amendment generated in the upper refreshing frequency cycle;It is describedWithin the current refreshing frequency cycle, to calculate the scale value before the amendment of the manipulation object of generation;It is described To preset slow-action coefficient.
  9. 9. according to any described scaling processing unit in claim 7 or 8, it is characterised in that
    The span of the slow-action coefficient is 0.01 to 0.2.
  10. 10. a kind of infrared touch panel, it is characterised in that including scaling processing unit as described in any in claim 6 to 9.
CN201710240135.9A 2017-04-13 2017-04-13 Infrared touch screen, and zooming method and device of infrared touch screen Active CN107422969B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710240135.9A CN107422969B (en) 2017-04-13 2017-04-13 Infrared touch screen, and zooming method and device of infrared touch screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710240135.9A CN107422969B (en) 2017-04-13 2017-04-13 Infrared touch screen, and zooming method and device of infrared touch screen

Publications (2)

Publication Number Publication Date
CN107422969A true CN107422969A (en) 2017-12-01
CN107422969B CN107422969B (en) 2020-07-03

Family

ID=60423397

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710240135.9A Active CN107422969B (en) 2017-04-13 2017-04-13 Infrared touch screen, and zooming method and device of infrared touch screen

Country Status (1)

Country Link
CN (1) CN107422969B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112764564A (en) * 2019-10-21 2021-05-07 Oppo广东移动通信有限公司 Touch information processing method and device, storage medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0414999A2 (en) * 1989-08-28 1991-03-06 Mitsubishi Denki Kabushiki Kaisha Display device with coordinate input function
CN101183283A (en) * 2007-12-04 2008-05-21 哈尔滨工业大学深圳研究生院 Method for directly writing handwriting information
CN201364566Y (en) * 2008-10-10 2009-12-16 许军 Infrared ray touch device with hand gesture recognition mode
CN102156969A (en) * 2011-04-12 2011-08-17 潘林岭 Processing method for correcting deviation of image

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0414999A2 (en) * 1989-08-28 1991-03-06 Mitsubishi Denki Kabushiki Kaisha Display device with coordinate input function
CN101183283A (en) * 2007-12-04 2008-05-21 哈尔滨工业大学深圳研究生院 Method for directly writing handwriting information
CN201364566Y (en) * 2008-10-10 2009-12-16 许军 Infrared ray touch device with hand gesture recognition mode
CN102156969A (en) * 2011-04-12 2011-08-17 潘林岭 Processing method for correcting deviation of image

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112764564A (en) * 2019-10-21 2021-05-07 Oppo广东移动通信有限公司 Touch information processing method and device, storage medium and electronic equipment
CN112764564B (en) * 2019-10-21 2022-10-21 Oppo广东移动通信有限公司 Touch information processing method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN107422969B (en) 2020-07-03

Similar Documents

Publication Publication Date Title
US9612675B2 (en) Emulating pressure sensitivity on multi-touch devices
CN104035562B (en) Method and system for mapping three-dimensional desktop touch events
US20130229375A1 (en) Contact Grouping and Gesture Recognition for Surface Computing
US9280234B1 (en) Input correction for touch screens
CN109074160A (en) Dynamic haptic repurposing
CN107340964A (en) The animation effect implementation method and device of a kind of view
CN110377215B (en) Model display method and device and terminal equipment
CN107329644A (en) A kind of icon moving method and device
CN105704375A (en) Image processing method and terminal
CN106896998A (en) A kind of processing method and processing device of operation object
CN107422969A (en) The Zoom method and device of infrared touch panel, infrared touch panel
WO2020147587A1 (en) Touch operation method and apparatus, terminal, and computer readable storage medium
CN110928449A (en) Touch screen point reporting method and device, electronic equipment and storage medium
CN107808394A (en) A kind of image processing method and mobile terminal based on convolutional neural networks
CN106681506A (en) Interaction method of non-VR application in terminal equipment and terminal equipment
US10222866B2 (en) Information processing method and electronic device
US20160379033A1 (en) Interaction method and apparatus
WO2015176376A1 (en) Method and device for automatically adjusting valid touch point, and computer storage medium
CN107479902A (en) Control processing method and processing device, storage medium, processor and terminal
CN106293446A (en) Display packing and display device
CN104951211B (en) A kind of information processing method and electronic equipment
JP7353491B2 (en) Display control device and display control method
CN106293447A (en) Display packing and display device
JP2021170391A (en) Commodity guidance method, apparatus, device, storage medium, and program
WO2021055052A1 (en) Inertia scaling based on neighboring bodies

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant