[go: up one dir, main page]

CN106598351A - Touch point processing method and equipment - Google Patents

Touch point processing method and equipment Download PDF

Info

Publication number
CN106598351A
CN106598351A CN201610911065.0A CN201610911065A CN106598351A CN 106598351 A CN106598351 A CN 106598351A CN 201610911065 A CN201610911065 A CN 201610911065A CN 106598351 A CN106598351 A CN 106598351A
Authority
CN
China
Prior art keywords
touch
touch point
area
trajectory model
parameter
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
CN201610911065.0A
Other languages
Chinese (zh)
Other versions
CN106598351B (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.)
Qingdao Hisense Electronics Co Ltd
Original Assignee
Qingdao Hisense Electronics 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 Qingdao Hisense Electronics Co Ltd filed Critical Qingdao Hisense Electronics Co Ltd
Priority to CN201610911065.0A priority Critical patent/CN106598351B/en
Publication of CN106598351A publication Critical patent/CN106598351A/en
Application granted granted Critical
Publication of CN106598351B publication Critical patent/CN106598351B/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/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)
  • Position Input By Displaying (AREA)

Abstract

The invention discloses a touch point processing method. When touch operation occurs, a circumscribing polygon of a touch point is determined according to touch regions in all scanning directions of infrared touch scanning equipment; a track pattern of a track where the touch point is located is determined according to size parameters of the circumscribing polygon and a preset threshold value; operating parameters of the touch point are determined according to the size parameters and proportion parameters corresponding to the track pattern; and the touch point is processed according to coordinates of the touch point, the track pattern and the operating parameters. Therefore, the pattern of a user can be identified automatically according to a touch area, one or more users can perform writing and/or erasing operation at the same time without pattern switching, and user experience and work efficiency are improved while the operation mode is simplified. The invention furthermore discloses the infrared touch scanning equipment.

Description

A kind of touch point processing method and equipment
Technical field
The present invention relates to communication technical field, more particularly to a kind of touch point processing method.The present invention also relates to one Plant infrared touch-control scanning device.
Background technology
Touch screen is an electronic system that can detect the presence and position touched in viewing area, and it is simplified Man-machine interaction method.In current touch technology, infrared touch technology has that environmental suitability is strong, the life-span is longer, recognizable touch The points advantage such as more.
Infrared technology touch screen (Infrared Touch Screen Technology) is by being mounted on touch screen housing Infrared emitting and receiving sensing element constitute, in screen surface, form infra-red detection net, any touching object can change Become the infrared ray on contact and realize touch screen operation.Infrared-type touch screen realizes the principle with surface acoustic wave type touch-control phase Seemingly, it uses Infrared emitting and receiving sensing element.These elements form infra-red detection net, touch-control in screen surface The object (such as finger) of operation can change the infrared ray of electric shock, and then be converted to the coordinate position of touch-control and realize operation Response.On infrared-type touch screen, the circuit board arrangement of the four sides arrangement of screen has infrared transmitting tube and infrared receiving tube, It is correspondingly formed the infrared ray matrix for intersecting anyhow.
Existing infrared touch panel is in rectangular configuration, as shown in figure 1, touching for a kind of infrared technology of the prior art The structural representation of screen, it is received by a long edge emitting side, a long receiving while, minor face transmitting side, a minor face Side constitutes.There are some emission lamps in transmitting side, to there are some reception lamps on correspondingly received side, generally adopt 1 pair of multimode It is scanned, i.e., one emission lamp lights, the multiple lamps that receive in opposite are received simultaneously, are consequently formed light net, are being touched according to light net Different shape in the case of not touching judges touch behavior.
Because existing infrared touch panel is in rectangular configuration, traditional infrared point location algorithm is just being swept in direction according to long minor face The light path that is blocked is orthogonal to obtain touch point, therefore in the case of single-point touches, infrared touch panel can be with normal work;But During multiple point touching, the orthogonal points obtained need to carry out true and false point judgement (referred to as removing terrible point) more than the points of true contact, Otherwise system can malfunction.The method of existing process has time-sharing approach, zone method and logic method of elimination;Traditional logic method of elimination Better than timesharing and zone method, but also there is very big defect.Traditional touch screen algorithm only considers the calculating of contact position, does not consider to touch The convenient switching demand of upload and the user writing erasing of article size is touched, showing as writing can not arbitrarily switch with erasing, grasp Make loaded down with trivial details.
As can be seen here, the touch screen scan method in prior art for touching carries out touch event inspection according only to existing light path Look into and contact position is calculated, but these methods do not consider multiple users in use while entering while improving The situation of running hand write operation and erasing operation, so as to bring bad experience to user.
The content of the invention
The present invention provides a kind of touch point processing method and equipment, and by the touch area of each scanning direction touch point is determined External contact zone, then at the trajectory model and operating parameter according to corresponding to the external contact zone is to touch point Reason, to avoid user from needing frequent switching pattern and cannot be while carrying out the problem of book write and erase operation in operation.
In order to reach above-mentioned technical purpose, the invention provides a kind of touch point processing method, is applied to infrared touch-control and sweeps Retouch equipment, it is characterised in that include:
The external contact zone of the touch point is determined according to the touch area of each scanning direction, the touch area is one Including the region of all light paths that are blocked on scanning direction;
The rail of touch point place track is determined according to the size parameter and default threshold value of the external contact zone Mark pattern;
The operation of the touch point is determined according to the size parameter and scale parameter corresponding with the trajectory model Parameter;
Coordinate, the trajectory model and the operating parameter according to the touch point to the touch point at Reason.
In certain embodiments, the present invention determines the external many of the touch point always according to the touch area of each scanning direction Side shape, specially:
Obtain the lap of the touch area of each scanning direction;
The external contact zone is generated according to the border of the lap.
In certain embodiments, heretofore described trajectory model includes first mode and second mode, according to described The size parameter of external contact zone and default threshold value determine the trajectory model of touch point place track, specially:
When the area that the size parameter is the external contact zone, if the size parameter is more than the threshold value, really The fixed trajectory model is the first mode, if the size parameter is less than the threshold value, determines that the trajectory model is institute State second mode;
When each length of side that the size parameter is the external contact zone, if the maximum in the length of side is not less than institute Threshold value is stated, determines that the trajectory model is the first mode, if the maximum in the length of side is less than the threshold value, determine institute Trajectory model is stated for the second mode.
In certain embodiments, the type of heretofore described scale parameter includes length of side ratio and dimension scale, root Determine the operating parameter of the touch point according to the size parameter and scale parameter corresponding with the trajectory model, specifically For:
If the trajectory model is the first mode, and the size parameter is the area of the external contact zone, root Touch area corresponding with touch point area is generated according to the area and the dimension scale, and by the touch area Area is used as the operating parameter;
If the trajectory model is the first mode, and the size parameter is the length of side of the external contact zone, root Touch area corresponding with touch point area is generated according to the length of side ratio and the dimension scale, and by the touch-control Region area is used as the operating parameter;
If the trajectory model is the second mode, using the size parameter as the operating parameter.
In certain embodiments, the present invention is determining the external many of the touch point according to the touch area of each scanning direction After the shape of side, also include:
Judge that whether the touch point is the first touch point of the track;
If so, the track mould of the track is determined according to the size parameter and default threshold value of the external contact zone Formula;
If it is not, determining institute according to the size parameter and scale parameter corresponding with the existing trajectory model in the track The operating parameter of touch point is stated, and according to the trajectory model, the coordinate of the touch point and the operating parameter to described Touch point is processed.
Accordingly, present invention also offers a kind of infrared touch-control scanning device, it is characterised in that include:
Detection module, it is described for determining the external contact zone of the touch point according to the touch area of each scanning direction Touch area is including the region of all light paths that are blocked on a scanning direction;
First determining module, for determining described touching according to the size parameter of the external contact zone and default threshold value Touch a trajectory model for place track;
Second determining module, for being determined according to the size parameter and scale parameter corresponding with the trajectory model The operating parameter of the touch point;
Processing module, for according to the coordinate of the touch point, the trajectory model and the operating parameter to described Touch point is processed.
In certain embodiments, heretofore described detection module determines described touching according to the touch area of each scanning direction External contact zone a little is touched, specially:
Obtain the lap of the touch area of each scanning direction;
The external contact zone is generated according to the border of the lap.
In certain embodiments, heretofore described trajectory model includes first mode and second mode, and described first Determining module determines the rail of touch point place track according to the size parameter and default threshold value of the external contact zone Mark pattern, specially:
When the area that the size parameter is the external contact zone, if the size parameter is more than the threshold value, really The fixed trajectory model is the first mode, if the size parameter is less than the threshold value, determines that the trajectory model is institute State second mode;
When each length of side that the size parameter is the external contact zone, if the maximum in the length of side is not less than institute Threshold value is stated, determines that the trajectory model is the first mode, if the maximum in the length of side is less than the threshold value, determine institute Trajectory model is stated for the second mode.
In certain embodiments, the type of heretofore described scale parameter includes length of side ratio and dimension scale, institute State the second determining module and the touch point is determined according to the size parameter and scale parameter corresponding with the trajectory model Operating parameter, specially:
If the trajectory model is the first mode, and the size parameter is the area of the external contact zone, root Touch area corresponding with touch point area is generated according to the area and the dimension scale, and by the touch area Area is used as the operating parameter;
If the trajectory model is the first mode, and the size parameter is the length of side of the external contact zone, root Touch area corresponding with touch point area is generated according to the length of side ratio and the dimension scale, and by the touch-control Region area is used as the operating parameter;
If the trajectory model is the second mode, using the size parameter as the operating parameter.
In certain embodiments, present invention additionally comprises:
The detection module, for judging that whether the touch point is the first touch point of the track;
If so, the detection module indicate first determining module according to the size parameter of the external contact zone and Default threshold value determines the trajectory model of the track;
If it is not, the detection module indicates second determining module according to the size parameter and with the track The corresponding scale parameter of some trajectory models determines the operating parameter of the touch point, and the processing module 74 is according to the track Pattern, the coordinate of the touch point and the operating parameter are processed the touch point.
Compared with prior art, the Advantageous Effects of the technical scheme that the embodiment of the present invention is proposed include:
The invention discloses a kind of touch point processing method and equipment, when there is touch operation, sweep according to infrared touch-control The touch area for retouching each scanning direction of equipment determines the external contact zone of touch point, according to the size parameter of external contact zone with And default threshold value determines the trajectory model of touch point place track, according to size parameter and corresponding with trajectory model Scale parameter determines the operating parameter of touch point, and the coordinate, trajectory model and operating parameter according to touch point is clicked through to touching Row is processed.So as to according to the pattern for touching area automatic identification user simultaneously so that one or more users can be carried out Write and/or erasing operation and pattern switching need not be carried out, simplify mode of operation while improve Consumer's Experience and work Make efficiency.
Description of the drawings
In order to be illustrated more clearly that technical scheme, embodiment will be described below needed for the accompanying drawing to be used It is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, general for this area For logical technical staff, on the premise of not paying creative work, can be with according to these other accompanying drawings of accompanying drawings acquisition.
Fig. 1 is a kind of structural representation of infrared technology touch screen of the prior art;
Fig. 2 is a kind of schematic flow sheet of touch point processing method that the embodiment of the present invention is proposed;
Fig. 3 A are on a scanning direction in concrete application scene under the scanning rule of a kind of 1 pair 2 corresponding to long side Parallel light path schematic diagram;
Fig. 3 B are on another scanning direction in concrete application scene under the scanning rule of a kind of 1 pair 2 corresponding to long side Parallel light path schematic diagram;
Fig. 4 A are on a scanning direction in concrete application scene under the scanning rule of a kind of 1 pair 2 corresponding to minor face Parallel light path schematic diagram;
Fig. 4 B are on another scanning direction in concrete application scene under the scanning rule of a kind of 1 pair 2 corresponding to minor face Parallel light path schematic diagram;
Fig. 5 is a kind of schematic diagram of scanning area in concrete application scene;
Fig. 6 is a kind of schematic flow sheet of the touch point processing method proposed in the preferred embodiment of the present invention;
Fig. 7 is the apparatus structure schematic diagram of a kind of infrared touch-control scanning device proposed in the preferred embodiment of the present invention
Specific embodiment
As stated in the Background Art, existing Infrared touch screen technology is directly adopted and just clears off road (horizontal optical path and vertical light Road) possible contact position is calculated, then the true and false of these contacts is judged according to tiltedly clearing off the situation that road is blocked, or directly Intersected matching primitives successively according to the directive all light paths that are blocked of institute, then carried out according to simple Euclidean distance size Random track point sequence is matched.These traditional multipoint positioning algorithms do not account for the calculating and upload of dot profile and point size, together When do not account for writing the probability of the random switching of erasing mode yet.Therefore user is being write using infrared touch device Switching with erasing needs repeatedly to select and operates, and uses very loaded down with trivial details, have impact on the impression of user.The present invention is directed to Existing touch screen technology defect, it is proposed that a kind of infrared touch panel multiple spot is write and wipes convenient handover scheme, is put by each Track state sets trajectory model with size, effect is especially write and wiped to touch-control and is optimized, so as to improve use Experience at family.
As shown in Fig. 2 a kind of schematic flow sheet of the touch point processing method proposed for the embodiment of the present invention, is applied to red Outer touch-control scanning device, the method is comprised the following steps:
Step S201:The external contact zone of the touch point, the touch are determined according to the touch area of each scanning direction Region is including the region of all light paths that are blocked on a scanning direction.
Just as described in background the invention, infrared touch screen scan method of the prior art is carried out according only to existing light path Touch event is checked and contact position is calculated, do not consider multiple users in use and meanwhile carry out writing operate and (for example, a user has to be switched to erasing the situation of erasing operation when operation is write if carrying out erasing operation Under pattern;Multiple users when operation is write, just have to be switched to erasing mould if user will carry out erasing operation simultaneously Under formula, now other users cannot carry out writing operation), cause user corresponding operating can only be carried out in a pattern, if Other operation then necessary switch mode is carried out, so as to bring bad experience to user, work efficiency is reduced. Therefore, in touch point processing method proposed by the invention, touch point is being determined by the touch area of each scanning direction After external contact zone, the track of touch point place track is determined according to the size parameter and default threshold value of the external contact zone Pattern.Here was it should be noted that size parameter both can be the length of side on polygonal certain side, or the external contact zone Entire area size, accordingly, when the length of side that size parameter is polygonal certain side, threshold value is length value;When big When small parameter is the entire area size of external contact zone, threshold value is area figures.Specific value type and value are big I is configured by technical staff according to practical situation, and these improvement belong to the protection domain of the application.
It is determined that after trajectory model, you can further by the trajectory model corresponding to the external contact zone, operation ginseng Number and whether be that first touch point is processed touch point, thus can avoid when multi-user operates at the same time, need Want frequent switching pattern and cannot simultaneously carry out the problem of book write and erase operation.
Additionally, the external contact zone in order to accurately determine touch point, needs first to enter infrared touch-control scanning device The setting of direction of line scan and scanning angle, by obtaining the scan data on different scanning direction each scanning side is determined Touch area upwards, and determine the corresponding touch point in touch area, and then the corresponding external contact zone in touch point is generated, and The present invention can obtain the area of the corresponding external contact zone in touch point.Therefore, the preferred embodiments of the present invention the step it It is front also to include following flow processs:
Step A, when there is touch operation in the touch screen of infrared touch-control scanning device, according to default scanning direction and It is scanned for the default scanning angle in each scanning direction.
Because the preferred embodiments of the present invention set scanning direction and each scanning side for infrared touch control device in advance To corresponding scanning angle, therefore the step is entered according to default scanning direction and scanning angle corresponding with scanning direction The scanning of the infrared touch control device of row, and then the situation that each light path is blocked in present scanning cycle can be obtained, so as to for after Continuous step determines that the corresponding external contact zone in touch area and touch point carries out basis.
In specific application scenarios, scanning direction and scanning angle are for specific infrared emission and infrared receiver For the light path between pipe.In 1 couple of n (n>=1) in scan mode, every light path possesses different for particular lamp Angle;For a particular transmission lamp, each angle of the n bar light paths corresponding to it a, we term it scanning direction.Cause This, 1 pair of n scan mode will have n scanning direction, and each scanning direction is made up of one group of parallel light path with slope, such as Accompanying drawing 3A and accompanying drawing 3B show the corresponding 2 scanning direction schematic diagrams in the 1 pair of 2 duration side, and such as accompanying drawing 4A and accompanying drawing 4B show 1 2 scanning direction schematic diagrams corresponding to minor face when 2.
Step B, the touch area of each scanning direction is obtained according to scanning result, and determined external many corresponding to touch point Side shape;
Based on the scanning result in step A, infrared touch-control scanning device touching under the current scan period can be obtained Region and touch point corresponding with the touch area are touched, wherein, the determination of touch point can be adopted on the basis of touch area Take different touch points and determine that strategy (for example taking ghost point algorithm) is determined, and further determine that the coordinate of the touch point Position, these are all in protection scope of the present invention.
In specific application scenarios, after each scanning direction to infrared touch control device is scanned, according to each The light path being blocked on scanning direction determines respectively the touch area on each scanning direction, and corresponding according to each scanning direction The border of the common factor of touch area further determines that the position that touch point is located generating the corresponding external contact zone in touch point And the area of external contact zone.In specific application scenarios, one group is correspond on each specific scanning direction and is put down Row scanning optical path, when there is touch to occur, each contact can shelter from continuous some in these parallel light paths, these companies It is a touch area under this scanning direction to continue the light path being blocked.
As shown in Figure 5, wherein, dotted line represents the light path being blocked, can be in the continuous light path being blocked One with the last item is as the feature modeling of touch area and exports touch point.In the light path being continuously blocked, first The light path (first dotted line for starting from infrared touch panel side) being blocked is the beginning boundary of this touch area, last The individual light path (the last item dotted line for starting from infrared touch panel side) being blocked is termination border.
In a preferred embodiment of the invention, specifically may be used the touch area for each scanning direction being obtained according to scanning result To be implemented by:
1) light path being continuously blocked in parallel sweep light path corresponding with scanning direction, is obtained;
2), using first light path being blocked in the light path being continuously blocked as beginning boundary, and will continuously be hidden The light path that last is blocked in the light path of gear is used as termination border;
3), using beginning boundary and the touch area for terminating the region of border formation as scanning direction.
Wherein, beginning boundary can according to specific circumstances be selected and arranged with the order for terminating border, not Special restriction.
It should be noted that the acquisition modes of above external contact zone are only a part of real in the preferred embodiment of the present invention Apply example, rather than the embodiment of whole.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creation Property work on the premise of the every other embodiment that obtained, belong to the scope of protection of the invention.
In addition, also, it should be noted that there is also the need to consider that continuous writing or the continuity of continuous erasing operation are asked No matter, there is any change in topic, i.e. in certain is continuously operated, all can be according to first touch during operation in this operating process The pattern of point is processed as follow-up operator scheme, the continuity of the operation to keep, for example, when the track mould of first point Formula is write mode, then it is follow-up it is coherent write, no matter the area of touch point, size and touch gravity and how occur Change, all operation is performed with the write mode of first point;When the trajectory model of first point is erasing mode, then even if follow-up The area of coherent touch point, size and touch gravity and there occurs change, all operation is performed with the erasing mode of first point.So One, when trajectory model once it is determined that getting off, will perform according to the trajectory model of the determination until end operation.
Therefore, after the external contact zone that touch point is determined according to the touch area of each scanning direction, in addition it is also necessary to right The touch point for detecting judged, judges that whether the touch point is the first touch point of current track;If so, it is then outer according to this Connect polygonal size parameter and default threshold value determines current trajectory model, and continue follow-up process operation;If It is no, then according to size parameter and with current track pattern corresponding to scale parameter come determine the touch point operation join Number, and touch point is processed according to trajectory model, the coordinate of touch point and operating parameter.
Step S202:Determine that the touch point is located according to the size parameter and default threshold value of the external contact zone The trajectory model of track.
After the corresponding external contact zone in touch point is determined, can be according to the size of the external contact zone, area etc. Parameter and default threshold values determining the current kinetic track of the trajectory model that touch point is presently in, i.e. touch point, wherein, Trajectory model includes two kinds of first mode and second mode.
The trajectory model tool of touch point place track is determined according to the size parameter and default threshold value of external contact zone Body is divided into following several situations:
Situation one:The size parameter of external contact zone is specially area parameters, if size parameter is more than default threshold value, really The current trajectory model in touch point is determined for first mode;If size parameter is less than default threshold value, the current rail in touch point is determined Mark pattern is second mode.
Situation two:The size parameter of external contact zone is specially each length of side of external contact zone, if the maximum in the length of side Not less than default threshold value, determine that the current trajectory model in touch point is first mode, if the maximum in the length of side is less than default Threshold value, determine the current trajectory model in touch point be second mode.
It should be noted that it is erasing mode that the first mode for limiting in an embodiment of the present invention is corresponding, the second mould It is write mode that formula is corresponding, and certain specific corresponding to relation can be adjusted according to actual application scenarios.
Step S203:The touch is determined according to the size parameter and scale parameter corresponding with the trajectory model The operating parameter of point.
Have determined that the concrete trajectory model of touch point in step S202, this step further according to size parameter with And with the scale parameter corresponding to current track pattern determining the operating parameter of touch point, wherein, corresponding to trajectory model Scale parameter can change according to the different of size parameter type, specifically include length of side ratio and dimension scale (face Product ratio), then further according to size parameter, length of side ratio and dimension scale generating specific touch area area, and will The touch area area carries out follow-up process as operating parameter.
It should be noted that in some preferred embodiments, it may also be determined that go out accurate operating parameter, according to above-mentioned The touch area area of generation is outwards extended so as to formed a touch area area that can cover above-mentioned generation and The region of the minimum parallelogram of area, with the region of the parallelogram as accurate operating parameter.
Based on foregoing description, according to size parameter, length of side ratio and dimension scale next life in the application preferred embodiment Detailed process into specific touch area area is following several situations:
Situation one:When trajectory model is first mode, and the size parameter is the area of external contact zone, according to the face Product and dimension scale generate touch area corresponding with touch point area, and using the touch area area as operating parameter.
Situation two:When trajectory model is first mode, and size parameter is the length of side of external contact zone, according to external polygon The length of side ratio of shape and dimension scale generate touch area corresponding with touch point area, and using the touch area area as Operating parameter.
Situation three:When trajectory model is second mode, directly using size parameter as the operating parameter.
It should be noted that the dimension scale of the length of side ratio of above external contact zone and external contact zone is basis What the use scene of infrared touch-control scanning device was arranged in advance.
Step S204:Coordinate, the trajectory model and the operating parameter according to the touch point is to the touch Point is processed.
This step is intended to be processed according to the above-mentioned each parameter for determining current touch point, is non-head in current touch point During individual touch point, infrared touch device is current trajectory model according to the trajectory model of first touch point in the track, then Operation is performed according to the coordinate parameters and operating parameter of the touch point;When current touch point is first touch point, infrared touch Equipment performs operation according to the trajectory model and coordinate parameters and operating parameter of current touch point, if specifically, current track Pattern is first mode, then perform erasing according to the coordinate and operating parameter of current touch point and process;If current track pattern For second mode, then performed according to the coordinate and operating parameter of current touch point and write process.
Compared with prior art, the Advantageous Effects of the technical scheme that the embodiment of the present invention is proposed include:
The invention discloses a kind of touch point processing method, when there is touch operation, according to infrared touch-control scanning device The touch area of each scanning direction determine the external contact zone of touch point, according to the size parameter of external contact zone and default Threshold value determine the trajectory model of touch point place track, joined according to size parameter and ratio corresponding with trajectory model Number determines the operating parameter of touch point, and the coordinate, trajectory model and operating parameter according to touch point is processed touch point. So as to according to touch area automatic identification user pattern so that one or more users can carry out writing simultaneously and/ Or erasing operation and pattern switching need not be carried out, simplify mode of operation while improve Consumer's Experience and work efficiency.
It should be noted that above-mentioned specific embodiment simply represents a kind of specific implement scene, this can not be represented The scheme of invention is only restricted in this, any those skilled in the art in the case of without creative work it is conceivable that it is excellent Change scheme should all fall into the protection domain of the present embodiment.
Below in conjunction with the accompanying drawing in the present invention, clear, complete description is carried out to the technical scheme in the present invention, shown So, described embodiment is a part of embodiment of the present invention, rather than the embodiment of whole.Based on the enforcement in the present invention Example, the every other embodiment that those of ordinary skill in the art are obtained on the premise of creative work is not made all belongs to In the scope of protection of the invention.
As shown in fig. 6, a kind of schematic flow sheet of the touch point processing method to propose in the preferred embodiment of the present invention, should Method specifically includes following steps:
Step 601:Setting scanning direction number n and the angle of each of which scanning direction, setting threshold values t and scale parameter (including blackboard eraser wide high proportion r and dimension scale R).
In specific application scenarios, when infrared touch-control scanning device is started working, i.e., occur to touch in infrared touch panel When touching operation, it is necessary first to set corresponding angle ai of scanning direction number n and each scanning direction, wherein i=1,2...n; Meanwhile, the embodiment of the present invention is intended to scale parameter and default threshold parameter according to touch area to determine current track Pattern, and subsequent operation is carried out according to the trajectory model, accordingly, it would be desirable to each parameter is preset, wherein, scale parameter Including wide high fixed proportion parameter and dimension scale parameter, in concrete application scene, high fixed proportion r of blackboard eraser width of setting =blackboard eraser height N/ blackboard eraser width M, the blackboard eraser of setting and dimension scale R of touch area, the size threshold of the touch area of setting It is worth for t.
Step 602:N direction light path scanning is performed in one scan period, touch area is counted and is calculated each touch point Information.
Because in infrared touch panel, a specific scanning direction correspond to one group of parallel sweep light path.Setting Behind the scanning direction of infrared touch screen, for each scanning direction one group of parallel scanning optical path, n scanning direction are generated Also n group parallel sweep light paths have just been corresponded to.Within each scan period, according to the parallel sweep light path for generating to infrared touch N scanning direction of screen is scanned.
All of touch area is counted in infrared touch-control scanning device, and each touch point is calculated in touch area Coordinate and size (if the external contact zone of touch point is rectangle, be calculated each touch point boundary rectangle wide w and it is high h), And continue subsequent treatment using this size data as size parameter.
Step 603:Perform each contact track to track and arrange trajectory model and upload width and elevation information.
To each touch point perform track tracking, in addition it is also necessary in view of in a continuous track, if current touch point For the first point of current track, then choose larger in the w and h of this touch point one and be compared with threshold value t, if being less than threshold value t It is write mode then to arrange this trajectory model mode, and to upload width and height assignment width=w, height=h;Otherwise, If being more than or equal to threshold value t, it is erasing mode to arrange this trajectory model mode, while calculating the height N of blackboard eraser under erasing mode With width M (if w>=h, then:M=w*R, N=M*r;If w<H, then N=h*R, M=N/r), and be to upload width to assign with height Value width=M, height=N;If this touch point is non-first point, if this track is write mode, to upload width with height Assignment width=w, height=h, mode m ode keeps constant;If this touch point is non-first point, if this track is erasing mould Formula, then processed according to this until all touch points are processed.
Step 604:Coordinate Conversion and upload each trace information by (x, y, width, height, mode).
Each touch point is mainly carried out Coordinate Conversion by this step, and is uploaded by (x, y, width, height, mode), on Position machine is write, is wiped the response of application and shown further according to each trajectory model, point coordinates and size information
Step 605:Host computer carries out application model response and shows.
Host computer carries out application model response according to the information of touch point and the information of touch point current track that obtain With display.
Step 606:Whether detection currently has touch event.
Carry out judging whether end operation according to the touch event of current detection, terminate to work as if touch event is not detected by Front operation, if detecting touch event, according to the touch point for detecting step 602 and follow-up operation is carried out.
A kind of touch point processing method that the embodiment of the present invention is proposed, when there is touch operation, according to infrared touch-control The touch area of each scanning direction of scanning device determines the external contact zone of touch point, according to the size parameter of external contact zone And default threshold value determines the trajectory model of touch point place track, according to size parameter and corresponding with trajectory model Scale parameter determine the operating parameter of touch point, the coordinate, trajectory model and operating parameter according to touch point is to touch point Processed.So as to according to the pattern for touching area automatic identification user simultaneously so that one or more users can enter Running hand write and/or erasing operation and pattern switching need not be carried out, simplify mode of operation while improve Consumer's Experience and Work efficiency.
It should be noted that above-mentioned specific embodiment simply represents a kind of specific implement scene, this can not be represented The scheme of invention is only restricted in this, any those skilled in the art in the case of without creative work it is conceivable that it is excellent Change scheme should all fall into the protection domain of the present embodiment.
To be illustrated more clearly that the scheme that present invention is provided, based on the invention structure same with said method Think, the embodiment of the present invention also proposed a kind of infrared touch-control scanning device, it is characterised in that include:
Detection module 71, for determining the external contact zone of the touch point, institute according to the touch area of each scanning direction It is including the region of all light paths that are blocked on a scanning direction to state touch area;
First determining module 72, described in being determined according to the size parameter of the external contact zone and default threshold value The trajectory model of touch point place track;
Second determining module 73, for true according to the size parameter and scale parameter corresponding with the trajectory model The operating parameter of the fixed touch point;
Processing module 74, for according to the coordinate of the touch point, the trajectory model and the operating parameter to institute State touch point to be processed.
In certain embodiments, heretofore described detection module 71 is according to the touch area of each scanning direction determines The external contact zone of touch point, specially:
Obtain the lap of the touch area of each scanning direction;
The external contact zone is generated according to the border of the lap.
In certain embodiments, heretofore described trajectory model includes first mode and second mode, and described first Determining module 72 determines touch point place track according to the size parameter and default threshold value of the external contact zone Trajectory model, specially:
When the area that the size parameter is the external contact zone, if the size parameter is more than the threshold value, really The fixed trajectory model is the first mode, if the size parameter is less than the threshold value, determines that the trajectory model is institute State second mode;
When each length of side that the size parameter is the external contact zone, if the maximum in the length of side is not less than institute Threshold value is stated, determines that the trajectory model is the first mode, if the maximum in the length of side is less than the threshold value, determine institute Trajectory model is stated for the second mode.
In certain embodiments, the type of heretofore described scale parameter includes length of side ratio and dimension scale, institute State the second determining module 73 and the touch is determined according to the size parameter and scale parameter corresponding with the trajectory model The operating parameter of point, specially:
If the trajectory model is the first mode, and the size parameter is the area of the external contact zone, root Touch area corresponding with touch point area is generated according to the area and the dimension scale, and by the touch area Area is used as the operating parameter;
If the trajectory model is the first mode, and the size parameter is the length of side of the external contact zone, root Touch area corresponding with touch point area is generated according to the length of side ratio and the dimension scale, and by the touch-control Region area is used as the operating parameter;
If the trajectory model is the second mode, using the size parameter as the operating parameter.
In certain embodiments, present invention additionally comprises:
The detection module 71, for judging that whether the touch point is the first touch point of the track;
If so, the detection module 71 indicates size parameter of first determining module 72 according to the external contact zone And default threshold value determines the trajectory model of the track;
If it is not, the detection module 71 indicate it is described second determine 73 modules according to the size parameter and with the rail The corresponding scale parameter of the existing trajectory model of mark determines the operating parameter of the touch point, and the processing module 74 is according to described Trajectory model, the coordinate of the touch point and the operating parameter are processed the touch point.
Compared with prior art, the Advantageous Effects of the technical scheme that the embodiment of the present invention is proposed include:
The invention discloses a kind of touch point processing method and equipment, when there is touch operation, sweep according to infrared touch-control The touch area for retouching each scanning direction of equipment determines the external contact zone of touch point, according to the size parameter of external contact zone with And default threshold value determines the trajectory model of touch point place track, according to size parameter and corresponding with trajectory model Scale parameter determines the operating parameter of touch point, and the coordinate, trajectory model and operating parameter according to touch point is clicked through to touching Row is processed.So as to according to the pattern for touching area automatic identification user simultaneously so that one or more users can be carried out Write and/or erasing operation and pattern switching need not be carried out, simplify mode of operation while improve Consumer's Experience and work Make efficiency.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can lead to Cross hardware realization, it is also possible to realize by the mode of software plus necessary general hardware platform.Based on such understanding, this Bright technical scheme can be embodied in the form of software product, and the software product can be stored in a non-volatile memories In medium (can be CD-ROM, USB flash disk, portable hard drive etc.), including some instructions are used so that a computer equipment (can be Personal computer, server, or network equipment etc.) perform method described in each implement scene of the invention.
It will be appreciated by those skilled in the art that accompanying drawing is a schematic diagram for being preferable to carry out scene, module in accompanying drawing or Flow process is not necessarily implemented necessary to the present invention.
It will be appreciated by those skilled in the art that the module in the device in implement scene can according to implement scene describe into Row is distributed in the device of implement scene, it is also possible to carry out one or more dresses that respective change is disposed other than this implement scene In putting.The module of above-mentioned implement scene can merge into a module, it is also possible to be further split into multiple submodule.
The invention described above sequence number is for illustration only, does not represent the quality of implement scene.
Disclosed above is only that the several of the present invention are embodied as scene, but, the present invention is not limited to this, Ren Heben What the technical staff in field can think change should all fall into protection scope of the present invention.

Claims (10)

1. a kind of touch point processing method, is applied to infrared touch-control scanning device, it is characterised in that include:
The external contact zone of the touch point is determined according to the touch area of each scanning direction, the touch area is a scanning Including the region of all light paths that are blocked on direction;
The track mould of touch point place track is determined according to the size parameter and default threshold value of the external contact zone Formula;
The operating parameter of the touch point is determined according to the size parameter and scale parameter corresponding with the trajectory model;
Coordinate, the trajectory model and the operating parameter according to the touch point is processed the touch point.
2. the method for claim 1, it is characterised in that the touch point is determined according to the touch area of each scanning direction External contact zone, specially:
Obtain the lap of the touch area of each scanning direction;
The external contact zone is generated according to the border of the lap.
3. method as claimed in claim 2, it is characterised in that the trajectory model includes first mode and second mode, The trajectory model of touch point place track is determined according to the size parameter and default threshold value of the external contact zone, is had Body is:
When the area that the size parameter is the external contact zone, if the size parameter is more than the threshold value, institute is determined Trajectory model is stated for the first mode, if the size parameter is less than the threshold value, the trajectory model is determined for described the Two modes;
When each length of side that the size parameter is the external contact zone, if the maximum in the length of side is not less than the threshold Value, determines that the trajectory model is the first mode, if the maximum in the length of side is less than the threshold value, determines the rail Mark pattern is the second mode.
4. method as claimed in claim 3, it is characterised in that the type of the scale parameter includes length of side ratio and size Ratio, according to the size parameter and scale parameter corresponding with the trajectory model operation ginseng of the touch point is determined Number, specially:
If the trajectory model is the first mode, and the size parameter is the area of the external contact zone, according to institute State area and the dimension scale and generate touch area corresponding with touch point area, and by the touch area area As the operating parameter;
If the trajectory model is the first mode, and the size parameter is the length of side of the external contact zone, according to institute State length of side ratio and the dimension scale and generate touch area corresponding with touch point area, and by the touch area Area is used as the operating parameter;
If the trajectory model is the second mode, using the size parameter as the operating parameter.
5. the method as described in any one of claim 1-4, it is characterised in that determined according to the touch area of each scanning direction After the external contact zone of the touch point, also include:
Judge that whether the touch point is the first touch point of the track;
If so, the trajectory model of the track is determined according to the size parameter and default threshold value of the external contact zone;
If it is not, determining described touching according to the size parameter and scale parameter corresponding with the existing trajectory model in the track Operating parameter a little is touched, and according to the trajectory model, the coordinate of the touch point and the operating parameter to the touch Point is processed.
6. a kind of infrared touch-control scanning device, it is characterised in that include:
Detection module, for determining the external contact zone of the touch point, the touch according to the touch area of each scanning direction Region is including the region of all light paths that are blocked on a scanning direction;
First determining module, for determining the touch point according to the size parameter of the external contact zone and default threshold value The trajectory model of place track;
Second determining module, described in being determined according to the size parameter and scale parameter corresponding with the trajectory model The operating parameter of touch point;
Processing module, for according to the coordinate of the touch point, the trajectory model and the operating parameter to the touch Point is processed.
7. infrared touch-control scanning device as claimed in claim 6, it is characterised in that the detection module is according to each scanning direction Touch area determine the external contact zone of the touch point, specially:
Obtain the lap of the touch area of each scanning direction;
The external contact zone is generated according to the border of the lap.
8. infrared touch-control scanning device as claimed in claim 7, it is characterised in that the trajectory model comprising first mode with And second mode, first determining module is according to the size parameter and default threshold value of the external contact zone determine The trajectory model of touch point place track, specially:
When the area that the size parameter is the external contact zone, if the size parameter is more than the threshold value, institute is determined Trajectory model is stated for the first mode, if the size parameter is less than the threshold value, the trajectory model is determined for described the Two modes;
When each length of side that the size parameter is the external contact zone, if the maximum in the length of side is not less than the threshold Value, determines that the trajectory model is the first mode, if the maximum in the length of side is less than the threshold value, determines the rail Mark pattern is the second mode.
9. infrared touch-control scanning device as claimed in claim 8, it is characterised in that the type of the scale parameter includes the length of side Ratio and dimension scale, second determining module is according to the size parameter and ratio corresponding with the trajectory model The operating parameter of touch point described in parameter determination, specially:
If the trajectory model is the first mode, and the size parameter is the area of the external contact zone, according to institute State area and the dimension scale and generate touch area corresponding with touch point area, and by the touch area area As the operating parameter;
If the trajectory model is the first mode, and the size parameter is the length of side of the external contact zone, according to institute State length of side ratio and the dimension scale and generate touch area corresponding with touch point area, and by the touch area Area is used as the operating parameter;
If the trajectory model is the second mode, using the size parameter as the operating parameter.
10. the infrared touch-control scanning device as described in any one of claim 6-9, it is characterised in that also include:
The detection module, for judging that whether the touch point is the first touch point of the track;
If so, the detection module indicates first determining module according to the size parameter of the external contact zone and presets Threshold value determine the trajectory model of the track;
If it is not, the detection module indicates second determining module according to the size parameter and existing with the track The corresponding scale parameter of trajectory model determines the operating parameter of the touch point, the processing module according to the trajectory model, The coordinate of the touch point and the operating parameter are processed the touch point.
CN201610911065.0A 2016-10-19 2016-10-19 Touch point processing method and device Active CN106598351B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610911065.0A CN106598351B (en) 2016-10-19 2016-10-19 Touch point processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610911065.0A CN106598351B (en) 2016-10-19 2016-10-19 Touch point processing method and device

Publications (2)

Publication Number Publication Date
CN106598351A true CN106598351A (en) 2017-04-26
CN106598351B CN106598351B (en) 2023-06-20

Family

ID=58555608

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610911065.0A Active CN106598351B (en) 2016-10-19 2016-10-19 Touch point processing method and device

Country Status (1)

Country Link
CN (1) CN106598351B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108804016A (en) * 2018-06-29 2018-11-13 江苏特思达电子科技股份有限公司 Object identification method based on touch screen, device and electronic equipment
CN109542278A (en) * 2018-09-27 2019-03-29 江苏特思达电子科技股份有限公司 Processing method, device and the touch apparatus of touch data
CN110633041A (en) * 2018-06-25 2019-12-31 鸿合科技股份有限公司 Method and device for switching writing, selecting and erasing modes by utilizing gestures
CN113093938A (en) * 2018-01-31 2021-07-09 海信视像科技股份有限公司 Method and device for realizing writing and erasing simultaneously and terminal equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009211244A (en) * 2008-03-03 2009-09-17 Ntt Docomo Inc Touch panel display control system, touch panel display control method and touch panel display control program
US20110205169A1 (en) * 2010-02-24 2011-08-25 Primax Electronics Ltd. Multi-touch input apparatus and its interface method using hybrid resolution based touch data
CN102855078A (en) * 2012-05-07 2013-01-02 禹芙蓉 Multimedia device and positioning method of display list of multimedia device
CN103353828A (en) * 2013-06-24 2013-10-16 深圳市创凯电子有限公司 Method and device for switching writing and erasing functions on touch screen

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009211244A (en) * 2008-03-03 2009-09-17 Ntt Docomo Inc Touch panel display control system, touch panel display control method and touch panel display control program
US20110205169A1 (en) * 2010-02-24 2011-08-25 Primax Electronics Ltd. Multi-touch input apparatus and its interface method using hybrid resolution based touch data
CN102855078A (en) * 2012-05-07 2013-01-02 禹芙蓉 Multimedia device and positioning method of display list of multimedia device
CN103353828A (en) * 2013-06-24 2013-10-16 深圳市创凯电子有限公司 Method and device for switching writing and erasing functions on touch screen

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
周济人等: "计算机虚拟超大触摸屏定位方法研究", 《电脑知识与技术》 *
周济人等: "计算机虚拟超大触摸屏定位方法研究", 《电脑知识与技术》, no. 28, 31 October 2011 (2011-10-31) *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113093938A (en) * 2018-01-31 2021-07-09 海信视像科技股份有限公司 Method and device for realizing writing and erasing simultaneously and terminal equipment
CN113093938B (en) * 2018-01-31 2022-07-12 海信视像科技股份有限公司 Method and device for realizing writing and erasing simultaneously and terminal equipment
CN110633041A (en) * 2018-06-25 2019-12-31 鸿合科技股份有限公司 Method and device for switching writing, selecting and erasing modes by utilizing gestures
CN110633041B (en) * 2018-06-25 2022-05-17 鸿合科技股份有限公司 Method and device for switching writing, selecting and erasing modes by utilizing gestures
CN108804016A (en) * 2018-06-29 2018-11-13 江苏特思达电子科技股份有限公司 Object identification method based on touch screen, device and electronic equipment
CN108804016B (en) * 2018-06-29 2020-12-29 江苏特思达电子科技股份有限公司 Object identification method and device based on touch screen and electronic equipment
CN109542278A (en) * 2018-09-27 2019-03-29 江苏特思达电子科技股份有限公司 Processing method, device and the touch apparatus of touch data
CN109542278B (en) * 2018-09-27 2022-02-11 江苏特思达电子科技股份有限公司 Touch data processing method and device and touch equipment

Also Published As

Publication number Publication date
CN106598351B (en) 2023-06-20

Similar Documents

Publication Publication Date Title
CN102841733B (en) Virtual touch screen system and method for automatically switching interaction modes
CN106598351A (en) Touch point processing method and equipment
CN106201064B (en) Touch localization method, device and touch screen
CN101916152B (en) Multi-touch infrared positioning device and method
CN103677441B (en) Infrared multipoint identification method, infrared multipoint identification device and infrared touch screen
CN105955525B (en) Touch track tracking, device and display equipment
CN105183238B (en) Handwriting erasing method and device based on infrared whiteboard and infrared whiteboard
CN109542276A (en) A kind of touch point identification method and device and display equipment
CN109933276B (en) Method for judging false hand-sleeve touch in handwriting of large-screen electronic whiteboard based on touch
CN101676930A (en) Method and device for recognizing table cells in scanned image
CN105260064B (en) A kind of touch point identification method and device and display equipment
CN106406638A (en) Touch point outline generation method and device
CN106095316A (en) Touch objects color characteristic recognition methods, operating method of touch panel and device
CN104598082A (en) Method and device for determining candidate touch point
CN104991684A (en) Touch control device and working method therefor
CN105045439A (en) Touch screen multi-point positioning method and apparatus and touchscreen device
CN104777984A (en) Touch trajectory tracking method and device and touch screen device
CN110045840A (en) Writing track association method and device, terminal equipment and storage medium
CN107728860A (en) A kind of touch points of infrared touch screen recognition methods, device and touch-screen equipment
CN103150059B (en) Electronic system and track detection method
CN106055177A (en) Scanning method and device of infrared touch screen
CN102419662A (en) Multipoint identification method and system for infrared touch screen
CN106249968A (en) A kind of scan method and equipment
CN105404433B (en) A kind of touch control identification method and display device based on infrared touch panel
CN102023761B (en) Multi-point detection and calculation method for touch screen

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Applicant after: Hisense Visual Technology Co., Ltd.

Address before: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Applicant before: QINGDAO HISENSE ELECTRONICS Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant