CN107704126A - A kind of separation method of touch data, device, equipment and storage medium - Google Patents

A kind of separation method of touch data, device, equipment and storage medium Download PDF

Info

Publication number
CN107704126A
CN107704126A CN201710867087.6A CN201710867087A CN107704126A CN 107704126 A CN107704126 A CN 107704126A CN 201710867087 A CN201710867087 A CN 201710867087A CN 107704126 A CN107704126 A CN 107704126A
Authority
CN
China
Prior art keywords
touch
data
touch data
type
application model
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.)
Pending
Application number
CN201710867087.6A
Other languages
Chinese (zh)
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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201710867087.6A priority Critical patent/CN107704126A/en
Priority to PCT/CN2017/116775 priority patent/WO2019056614A1/en
Publication of CN107704126A publication Critical patent/CN107704126A/en
Pending legal-status Critical Current

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/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/041Indexing scheme relating to G06F3/041 - G06F3/045
    • G06F2203/04106Multi-sensing digitiser, i.e. digitiser using at least two different sensing technologies simultaneously or alternatively, e.g. for detecting pen and finger, for saving power or for improving position detection

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 embodiment of the invention discloses a kind of separation method of touch data, device, equipment and storage medium, methods described includes:Judge the type of the touch data of current time touch point, if the touch data is at least two different types, touch data is filtered according to current application model;Determine whether the touch data meets default touch protocol rule, if it is not, being reissued according to the default touch protocol rule the touch data.Realize without on the basis of being improved to hardware, being separated to concurrent touch data, improving the transmission rate of touch data in touch apparatus.

Description

A kind of separation method of touch data, device, equipment and storage medium
Technical field
The present invention relates to data processing technique, more particularly to a kind of separation method of touch data, device, equipment and storage Medium.
Background technology
In general interactive intelligence terminal all possesses touch function, such as the intelligent whiteboard that uses of classroom or intelligent meeting flat board Deng in such end product, the hardware component used is usually infrared touch frame, electromagnetic screen, three kinds of capacitance plate.In order to support more The writing experience that refinement causes, often combined using electromagnetic screen and capacitance plate, or infrared touch frame and electromagnetic screen combination.Wherein, Electromagnetic screen only supports the writing of time writer, and capacitance plate and infrared touch frame support hand touch-control, meanwhile, infrared touch frame also props up Hold the touch-control of nontransparent object.
Which kind of either above-mentioned combination, hand and pen simultaneously in the presence of, writing application will receive two kinds simultaneously Reported data, an a kind of touch data, a kind of hand touch data, and both data are produced for same physics touch point , and because electromagnetic screen and capacitance plate (or electromagnetic screen and infrared touch frame) are different to the induction precision of touch so that exist Numerical bias, therefore writing broken string or not smooth etc. can be embodied in.
In the prior art, typically different types of data are distributed in timesharing, and each moment only exists a type of data, Hardware design is had higher requirements, and for every class data all more time delays additionally.
The content of the invention
The embodiment of the present invention provides a kind of separation method of touch data, device, equipment and storage medium, realizes in nothing On the basis of need to being improved to hardware, concurrent touch data is separated, improves touch data in touch apparatus Transmission rate.
In a first aspect, the embodiments of the invention provide a kind of separation method of touch data, methods described includes:
The type of the touch data of current time touch point is judged, if the touch data is at least two different classes Type, then touch data is filtered according to current application model;
Determine whether the touch data meets default touch protocol rule, if it is not, according to the default touch agreement rule Then the touch data is reissued.
Second aspect, the embodiments of the invention provide a kind of separator of touch data, described device includes:
Filtering module, the type of the touch data for judging current time touch point, if the touch data is at least Two kinds of different types, then filter according to current application model to touch data;
Data reissue module, for determining whether the touch data meets default touch protocol rule, if it is not, according to institute The default protocol rule that touches is stated to reissue the touch data.
The third aspect, the embodiment of the present invention additionally provide a kind of computer equipment, including memory, processor and are stored in Realized on memory and the computer program that can run on a processor, during the computing device described program as the present invention is real Apply the separation method of any described touch data in example.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer-readable recording medium, are stored thereon with computer Program, the separation method of the touch data as described in any in the embodiment of the present invention is realized when the program is executed by processor.
In the embodiment of the present invention, by current time touch point touch data type it is different if at least two During type, touch data is filtered according to current application model;If the touch data is unsatisfactory for default touch agreement Rule, then determine that subsequent time needs the touch data reissued according to the default protocol rule that touches;Need to mend according to described The touch data of hair is reissued the touch data.Realize on the basis of it need not be improved to hardware, to concurrent Touch data separated, improve the transmission rate of touch data in touch apparatus.
Brief description of the drawings
Fig. 1 a are a kind of flow charts of the separation method of touch data in the embodiment of the present invention one;
Fig. 1 b are a kind of schematic diagrames of two classes touch data timesharing distribution mechanisms in the prior art;
Fig. 1 c are a kind of two classes touch data that the embodiment of the present invention is applicable concurrently schematic diagrames with separation mechanism;
Fig. 2 is a kind of flow chart of the separation method of touch data in the embodiment of the present invention two;
Fig. 3 is a kind of flow chart of the separation method of touch data in the embodiment of the present invention three;
Fig. 4 a are a kind of flow charts of the separation method of touch data in the embodiment of the present invention four;
Fig. 4 b are a kind of schematic diagrames for hand touch condition labeling method that the embodiment of the present invention four is applicable;
Fig. 4 c are the schematic diagrames that a kind of style of writing that the embodiment of the present invention four is applicable touches status indication method;
Fig. 5 is a kind of structural representation of the separator of touch data in the embodiment of the present invention five;
Fig. 6 is a kind of structural representation of computer equipment in the embodiment of the present invention six.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that in order to just Part related to the present invention rather than entire infrastructure are illustrate only in description, accompanying drawing.
Embodiment one
Fig. 1 a are a kind of flow chart of the separation method for touch data that the embodiment of the present invention one provides, and the present embodiment can fit Situation about separating is needed at least two kinds of touch datas such as touch-screen or touch pad, this method can be implemented by the present invention A kind of separator for touch data that example provides is performed, and the device can be realized by the way of software and/or hardware, and one As can be integrated in the terminal device with touch function, the intelligent whiteboard in such as classroom, intelligent meeting flat board.Reference chart 1a, this method specifically may include steps of:
S110, judge current time touch point touch data type, if the touch data is at least two different Type, then touch data is filtered according to current application model.
Wherein, when hand and pen act on touch-control part simultaneously, a touch data and hand touch data can be produced simultaneously, it is first First to identify current data type.Optionally, touch-control part is usually three kinds of infrared touch frame, electromagnetic screen and capacitance plate, its In, in order to increase careful writing experience, combined usually using electromagnetic screen and capacitance plate, or infrared touch frame and electromagnetic screen group Close.Electromagnetic screen only supports the writing of time writer to be clicked on touching, i.e., a touch data is produced by electromagnetic screen, and capacitance plate and red Outer touching box supports hand to touch, i.e., hand touch data is by capacitance plate or the generation of infrared touch frame.
Infrared touch data represent with IR, and wherein IR is Infrared Radiation abbreviation, time writer touch data Represented with EMR, wherein EMR is Electromagnetic Radiation abbreviation.Fig. 1 b show one kind two of prior art Class touch data timesharing distribution mechanisms, as shown in Figure 1 b, t represents the time, is to distribute different type by timesharing in the prior art Touch data, i.e., a type of touch data be present in each moment, it is not necessary to filtration treatment, it is all more per a kind of touch data Extra time delay.It is more between adjacent two infrared touch data if infrared touch data be present for example, simple Transmission time (although not actually existing time writer writing) that extra time writer touch data takes.Fig. 1 c show one Concurrently and separation mechanism, as illustrated in figure 1 c, t represents the time, and 150 represent infrared touch data, and 160 represent for kind of two class touch datas Time writer touch data, two class touch datas are completely self-contained.
Specifically, identification current time touch point touch data type, if the touch data be at least two in not Same type, for example, hand touch data and a touch data simultaneously be present, then enters according to current application model to touch data Row filtering.Optionally, current application model includes preferential contention mode and non-preferential contention mode.
S120, determine whether the touch data meets default touch protocol rule, if it is not, S130 is then performed, if so, then Directly filtered.
Wherein, preset touch agreement and meet standard report point protocol rule, standard report point protocol rule provides complete number The agreement that should be followed according to bag, i.e. packet corresponding to per the class time is built with reference to agreement, is not built with reference to agreement Packet is not complete packet, it is impossible to by normal response.In this programme, packet refers to the data of touch data Bag, determines whether touch data meets default touch protocol rule, if not satisfied, then performing S130;If satisfied, then direct basis Current application model filters to touch data.
S130, according to it is described it is default touch protocol rule the touch data is reissued.
Specifically, the touch data at current time is analyzed according to the default touch protocol rule, it is determined that touching Whether data meet the default touch data for touching protocol rule, needing to reissue according to rule determination subsequent time.
Wherein, the touch data reissued as needed is reissued touch data, ensures that touch data is meeting to preset The integrality under protocol rule is touched, transmission and response for touch data provide guarantee.
In the embodiment of the present invention, by current time touch point touch data type it is different if at least two During type, touch data is filtered according to current application model;If the touch data is unsatisfactory for default touch agreement Rule, then determine that subsequent time needs the touch data reissued according to the default protocol rule that touches;Need to mend according to described The touch data of hair is reissued the touch data.Realize on the basis of it need not be improved to hardware, to concurrent Touch data separated, improve the transmission rate of touch data in touch apparatus.
On the basis of above-described embodiment, the separation method of touch data also includes;Obtain the touch shape of each touch point State.
Wherein, the touch condition of each point on touch-screen is relevant with the operation of user, when detect touch data produce When, then obtain the touch condition of each touch point.For each touch point, the touch condition at current time is different, causes to touch Data are different, and then determine that the touch data that subsequent time needs to reissue also can be different according to default touch protocol rule.
Embodiment two
Fig. 2 is a kind of flow chart of the separation method for touch data that the embodiment of the present invention two provides, and the present embodiment is upper On the basis of stating embodiment, " being filtered according to current application model to touch data " is optimized.With reference to figure 2, This method specifically may include steps of:
S210, judge current time touch point touch data type, if the touch data is at least two different Type, if current application model is preferential contention mode, when to detect current touch data be the first touch data, sentence Whether the data type of the data type of the second touch data caused by disconnected first preset time and first touch data It is identical, if it is not, then being filtered to second touch data.
Wherein, it is preferentially to seize in current application model so that the type of touch data is two kinds of different types as an example Under pattern, when to detect current touch data be the first touch data, judge in the first preset time caused by second touch Whether the data type of data is identical with the data type of the first touch data, if it is different, then the second touch data is filtered, if It is identical, then continue to judge.It should be noted that during the data type difference of touch data, the data content of touch data Also differ, and the second touch data is different from the first touch data including two kinds of situations, the type of touch data it is different and The content of touch data is different.In this programme, what is compared is the data type and the first touch data of the second touch data Data type, that is, in the data type and the data type difference of the first touch data of the second touch data, touched to second Data are touched to be filtered.
Wherein, the data type of the first touch data touches data type or hand touch data type including style of writing, and second touches The data type for touching data touches data type or hand touch data type including style of writing, and preferential answering is current under preferential contention mode Touch data.
In a specific example, the first touch data includes a touch data or hand touch data, and second touches number According to including a touch data or hand touch data, when the first touch data is a touch data, and produced in the first preset time When the second raw touch data is hand touch data, then opponent's touch data is filtered.First preset time can be touched The duration of data, that is, touch condition marks the time, specific labeling method is described in detail later.
Specific application scenarios can be, such as time writer first carries out touch operation, detects that current touch data is Time writer touch data, then follow-up hand touch data is filtered without exception;Such as hand first carries out touch operation, detect current Touch data is hand touch data, then filters follow-up time writer touch data without exception.Optionally, when original mode of operation During stopping, later mode of operation could grab priority, and the scene can be that currently detected touch data is style of writing Data are touched, after the first preset time, the data detected are hand touch data, then hand touch operation is grabbed and arrives priority, That is, pentouch operable has stopped.
Exemplary, point situation illustrates to the mark of the touch data under preferential contention mode and filtering below.For Clearly it is described, first touch data is defined.Touch data caused by defining electromagnetism pentouch operable is P Touch data, touch data caused by definition hand touch operation is H touch datas, wherein, P touch datas and H touch datas Meet the touch agreement of standard universal.
(1) if current P touch datas produce, mark currently has time writer using.If currently only has time writer quilt Mark uses, then it is the preferential person of seizing to record time writer, and is filtered without any touch data;If currently there is hand It is labeled to use, if then determining whether that hand is the marked preferential person of seizing, filter P touch datas;If electromagnetism Pen has been marked as preferentially not seizing person, then filters H touch datas;Other situations do not filter any touch data.
(2) if current H touch datas produce, mark is current to have hand touch to use.If currently only hand is labeled makes With it is the preferential person of seizing then to record hand, and is filtered without any touch data;If currently had, time writer is labeled to be made With if then determining whether that time writer has been marked as preferentially not seizing person, filtering touch data;If hand has been marked as The preferential person of seizing, then filter P touch datas;Other situations do not filter any bag.
(3) other situations do not filter any bag
S220, determine whether the touch data meets default touch protocol rule, if it is not, S230 is then performed, if so, then Directly filtered.
S230, according to it is described it is default touch protocol rule the touch data is reissued.
In the embodiment of the present invention, in the case where current application model is preferential contention mode, if current application model is excellent First contention mode, when to detect current touch data be the first touch data, judge in the first preset time caused by second Whether the data type of touch data is identical with the data type of first touch data, if it is not, then being touched to described second Data are filtered.Realize the filtering of data under preferential contention mode.
Embodiment three
Fig. 3 is a kind of flow chart of the separation method for touch data that the embodiment of the present invention three provides, and the present embodiment is upper On the basis of stating embodiment, " being filtered according to current application model to touch data " is optimized.With reference to figure 3, This method specifically may include steps of:
S310, judge current time touch point touch data type, if the touch data is at least two different Type, if current application model is the first non-preferential contention mode, detect the first touch data and the second touch data In the presence of simultaneously, then second touch data is filtered;If current application model is the second non-preferential contention mode, detect First touch data and the second touch data simultaneously in the presence of, then filter first touch data.
Specifically, so that the type of touch data is two kinds of different types as an example, the first non-preferential contention mode is One touch data and the second touch data filter the second touch data in the presence of simultaneously;Second non-preferential contention mode is first Touch data and the second touch data filter the first touch data in the presence of simultaneously.
In a specific example, when the first touch data is a touch data, the second touch data is that hand touches number According to when, under the first non-preferential contention mode filter hand touch data, under the second non-preferential contention mode filter style of writing touch number According to.
Exemplary, point situation illustrates to the mark of the touch data under non-preferential contention mode and filtering below. In order to clearly be described, still illustrated using the above-mentioned definition to P touch datas and H touch datas, with current non-optimum First contention mode for filtering H touch datas exemplified by illustrate.
(1) if current P touch datas produce, mark currently has time writer using.If currently only time writer exists Use, then do not filter any touch data bag;If currently having hand using, H touch datas are filtered;Other situations are only Filter any touch data.
(2) if current H touch datas produce, mark currently has hand using.If currently only hand is using, Any touch data is not filtered;If currently having time writer using, H touch datas are filtered;Other situations, which do not filter, appoints What touch data.
S320, determine whether the touch data meets default touch protocol rule, if it is not, S330 is then performed, if so, then Directly filtered.
S330, according to it is described it is default touch protocol rule the touch data is reissued.
In the embodiment of the present invention, when current application model is non-preferential contention mode, wherein non-preferential contention mode bag In the case of including the first non-preferential contention mode and the second non-preferential contention mode, is filtered under the first non-preferential contention mode Two touch datas, the first touch data is filtered under the second non-preferential contention mode.It is right under non-preferential contention mode to realize The filtering of touch data.
Example IV
Fig. 4 a are a kind of flow chart of the separation method for touch data that the embodiment of the present invention four provides, and the present embodiment is upper On the basis of stating embodiment, " being reissued according to the default touch protocol rule the touch data " is carried out excellent Change.With reference to figure 4a, this method specifically may include steps of:
S410, the touch condition for obtaining each touch point.
Optionally, the touch condition of the touch point includes:Touch condition, touch lifting status and touch pending status letter Breath.
Wherein, the key that data are reissued is that each touch point is tracked and counted, under normal circumstances each touch point Touch condition can be expressed as gather { ID, STATUS }, wherein, STATUS ∈ { DOWN, UP, MOVE }, ID are yes IDENTIFY's writes a Chinese character in simplified form, one touch point of unique mark;STATUS represents the state of each touch point.DOWM is touch condition, Namely down state, such as the first touch point of the finger down touch apparatus of user;UP is to touch lifting status, such as user Finger leave the first touch point of touch apparatus;MOVE is to touch pending status, namely mobile and/or sliding mode, such as The finger of user is moved to the second touch point from the first touch point of touch apparatus.Wherein, touch condition is that hand or time writer connect Touch or be pressed against on touch point, touch lifting status to be that hand or time writer leave touch point, it is hand or electricity to touch pending status Magnetic pen is mobile and/or slide into the transition state of another touch point from touch point.
Optionally, the touch lifting status is:When detecting touch data, then labeled touch data are used, Whether the touch data can be detected after judging the second preset time, if so, then continuing after judging second preset time Whether the touch data can be detected, untill it can not detect the touch data, mark the state to be lifted to touch The state of rising;Wherein, second preset time is more than the cycle for producing the touch data.
Wherein, whether when detecting touch data, then labeled touch data are used, can after judging the second preset time The touch data is detected, optionally, the second preset time can be timing cycle, and specific cycle value can be according to tactile Touch data type and user is accustomed to setting, be not limited here.Untill it can not detect touch data, the state is marked to be Touch lifting status.It should be noted that the carrier of touch data is used in touch apparatus, labeled touch data, namely Touch apparatus is used, and specific example can be the touch-screen of the finger down touch apparatus of user.
The labeling method of the use state of following opponent is described.Assuming that the week of touch data caused by hand touch Phase is Th.Fig. 4 b show a kind of hand touch condition labeling method, and as shown in Figure 4 b, t represents the time, and 460, which represent H, touches number According to.It is T that hand, which is touched at the time of producing touch data, firsths, startup timer period is Th-up, meet Th< Th-up, when H is touched When data produce, mark hand, which touches, to be used, and resets timer, and reclocking, the cycle is still Th-up.When timer overflows When, then mark hand to touch and lifted.Specifically, the A point moment, hand touch data is produced, and mark hand, which touches, to be begun to use, and it is fixed to start When, timing cycle Th-up, at the B point moment, detecting still has the generation of hand touch data, then retimes, if in timing cycle Then still there is the generation of hand touch data, then continue to retime, as shown in C points, until timing cycle arrives, detect touch number in one's hands According to no longer producing, as shown in D points, then cancel hand and touch using mark.
Similarly, the labeling method of the use state of time writer is similar, is briefly described below.Assuming that time writer touches institute The cycle of caused touch data is Tp.Fig. 4 c show a kind of hand touch condition labeling method, as illustrated in fig. 4 c, when t is represented Between, 470 represent P touch datas.It is T that time writer, which is touched at the time of producing touch data, firstps, starting timer period is Tp-up, meet Tp< Tp-up, when P touch datas produce, mark time writer, which touches, to be used, and resets timer, is counted again When, the cycle is still Th-up.When timer overflows, then mark time writer to touch and lifted.Specifically, E point moment, time writer Touch data is produced, and mark time writer, which touches, to be begun to use, and starts timing, timing cycle Th-up, at the F point moment, detect Still there is a touch data to produce, then retime, timing, if then still having the generation of time writer touch data in timing cycle, Continue to retime, as shown in G points, until timing cycle arrives, detect that time writer touch data no longer produces, as shown in I points, Then cancel time writer to touch using mark.
In a specific example, under preferential contention mode, pen and hand should be in the state of fair competition, can be with Go to take Tp-up=Th-up;And under non-preferential contention mode, when pen is in it is absolute preferential when, it is necessary to meet Tp-up>Th-up
S420, judge current time touch point touch data type, if the touch data is at least two different Type, then touch data is filtered according to current application model.
S430, determine whether the touch data meets default touch protocol rule, if it is not, S440 is then performed, if so, then Directly filtered.
S440, for each touch point, if a upper touch condition for the touch point is touch condition or touches pending shape State, then according to it is described it is default touch protocol rule reissue the touch lifting status of the touch point corresponding to touch data information.
Wherein, by taking a touch point as an example, if a touch condition is touch condition or touches pending status on the aspect, That is, be MOVE or DOWN, then according to report point an agreement reissue the touch lifting status of the touch point corresponding to touch data information, That is, the touch data corresponding to UP events is reissued;If the laststate of the point is touch condition, namely UP states, then without Data are reissued, and are directly filtered.Optionally, built per touch data corresponding to class event with reference to report point agreement.
Next the concept that data are reissued is illustrated, when time writer and hand while acts on touch-control part, wherein, touch It is infrared touch frame, electromagnetic screen or capacitance plate to control part, then produced touch data and the touch data reported are very frequent (be typically all Millisecond).Therefore, it is simple at a time start to filter out hand touch caused by touch data, cause The data for reporting system are not completely to follow to touch agreement, then are possible to generation omission and report touch event problem (for example touch and lift event), cause system touch abnormal.Therefore, it is necessary to track and count shape caused by each touch point State, at the time of filter data was prepared from, decision-making subsequent time needs the touch data reissued.Touched according to what the needs were reissued Data are touched to reissue the touch data.
In the embodiment of the present invention, by tracking each touch point touch condition and the touch condition being judged, if A upper touch condition for the touch point is touch condition or touches pending status, then shape is lifted in the touch for reissuing the touch point Touch data information corresponding to state.Realize and touch data is reissued, ensure that the integrality of touch data transmission.
On the basis of above-mentioned technical proposal, this programme is illustrated with reference to a concrete application scene.With to infrared Exemplified by touching box power-up magnetic cup combination, when time writer is being write on electromagnetic screen, electromagnetic touch data and infrared can be concurrently produced Touch data, and pass through the processing of this programme, if using non-preferential contention mode, the data for filtering infrared touch can be set, Avoid the interference that infrared data is write to electromagnetism, and in time writer writing process, the smooth writing of screen can be rested the head on hand, also Clothing or other people interference can be avoided.Similarly, to capacitance plate power-up magnetic cup combination, it can equally set filtering hand and touch Data, avoid the false touch of hand and influence the writing of time writer.Optionally, in some occasions of such as playing, it can open and preferentially rob Pattern is accounted for, who first writes/and point touching can gets writing sovereignty.
Embodiment five
Fig. 5 be the present invention be embodiment five provide a kind of touch data separator structural representation, the device It is adapted for carrying out a kind of separation method for touch data that the embodiment of the present invention is supplied to.As shown in figure 5, the device specifically can be with Including:
Filtering module 510, the type of the touch data for judging current time touch point, if the touch data is extremely Few two kinds of different types, then filter according to current application model to touch data;
Data reissue module 520, for determining whether the touch data meets default touch protocol rule, if it is not, root The touch data is reissued according to the default touch protocol rule.
Further, described device also includes:
Touch condition acquisition module, for obtaining the touch condition of each touch point.
Further, filtering module 510 is specifically used for:
If current application model is preferential contention mode, when to detect current touch data be the first touch data, The data type of the second touch data and the data type of first touch data are caused by judging in the first preset time It is no identical, if it is not, then being filtered to second touch data;
Wherein, the data type of the first touch data touches data type or hand touch data type including style of writing, and second touches The data type for touching data touches data type or hand touch data type including style of writing, and preferential answering is current under preferential contention mode Touch data.
Further, filtering module 510 is specifically used for:
If current application model is the first non-preferential contention mode, the first touch data and the second touch data are detected In the presence of simultaneously, then second touch data is filtered;
If current application model is the second non-preferential contention mode, the first touch data and the second touch data are detected In the presence of simultaneously, then first touch data is filtered.
Further, the touch condition of the touch point includes:
Touch condition, touch lifting status and touch pending status information;
Data are reissued module 520 and are specifically used for:
For each touch point, if a upper touch condition for the touch point is touch condition or touches pending status, Reissue touch data information corresponding to the touch lifting status of the touch point.
Further, the touch lifting status is:
Whether when detecting touch data, then labeled touch data are used, can be examined after judging the second preset time The touch data is measured, if so, then continuing whether the touch data can be detected after judging second preset time, directly Untill it can not detect the touch data, the state is marked to touch lifting status;
Wherein, second preset time is more than the cycle for producing the touch data.
The separator of touch data provided in an embodiment of the present invention can perform the touch that any embodiment of the present invention provides The separation method of data, possess the corresponding functional module of execution method and beneficial effect.
Embodiment six
Fig. 6 is a kind of structural representation for computer equipment that the embodiment of the present invention six provides.Fig. 6 is shown suitable for being used for Realize the block diagram of the exemplary computer device 12 of embodiment of the present invention.The computer equipment 12 that Fig. 6 is shown is only one Example, any restrictions should not be brought to the function and use range of the embodiment of the present invention.
As shown in fig. 6, computer equipment 12 is showed in the form of universal computing device.The component of computer equipment 12 can be with Including but not limited to:One or more processor or processing unit 16, system storage 28, connect different system component The bus 18 of (including system storage 28 and processing unit 16).
Bus 18 represents the one or more in a few class bus structures, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.Lift For example, these architectures include but is not limited to industry standard architecture (ISA) bus, MCA (MAC) Bus, enhanced isa bus, VESA's (VESA) local bus and periphery component interconnection (PCI) bus.
Computer equipment 12 typically comprises various computing systems computer-readable recording medium.These media can be it is any can be by The usable medium that computer equipment 12 accesses, including volatibility and non-volatile media, moveable and immovable medium.
System storage 28 can include the computer system readable media of form of volatile memory, such as arbitrary access Memory (RAM) 30 and/or cache memory 32.Computer equipment 12 may further include it is other it is removable/can not Mobile, volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for read-write not Movably, non-volatile magnetic media (Fig. 6 is not shown, is commonly referred to as " hard disk drive ").Although not shown in Fig. 6, can with There is provided for the disc driver to may move non-volatile magnetic disk (such as " floppy disk ") read-write, and to removable non-volatile The CD drive of CD (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driving Device can be connected by one or more data media interfaces with bus 18.Memory 28 can include at least one program and produce Product, the program product have one group of (for example, at least one) program module, and these program modules are configured to perform of the invention each The function of embodiment.
Program/utility 40 with one group of (at least one) program module 42, such as memory 28 can be stored in In, such program module 42 includes --- but being not limited to --- operating system, one or more application program, other programs Module and routine data, the realization of network environment may be included in each or certain combination in these examples.Program mould Block 42 generally performs function and/or method in embodiment described in the invention.
Computer equipment 12 can also be with one or more external equipments 14 (such as keyboard, sensing equipment, display 24 Deng) communication, the equipment communication interacted with the computer equipment 12 can be also enabled a user to one or more, and/or with making Obtain any equipment that the computer equipment 12 can be communicated with one or more of the other computing device (such as network interface card, modulatedemodulate Adjust device etc.) communication.This communication can be carried out by input/output (I/O) interface 22.Also, computer equipment 12 may be used also To pass through network adapter 20 and one or more network (such as LAN (LAN), wide area network (WAN) and/or public network Network, such as internet) communication.As illustrated, network adapter 20 is led to by bus 18 and other modules of computer equipment 12 Letter.It should be understood that although not shown in Fig. 6, computer equipment 12 can be combined and use other hardware and/or software module, bag Include but be not limited to:Microcode, device driver, redundant processing unit, external disk drive array, RAID system, magnetic tape drive Device and data backup storage system etc..
Processing unit 16 is stored in program in system storage 28 by operation, so as to perform various function application and Data processing, such as realize the separation method for the touch data that the embodiment of the present invention is provided:
That is, the processing unit is realized when performing described program:Judge the class of the touch data of current time touch point Type, if the touch data is at least two different types, touch data is filtered according to current application model; Determine whether the touch data meets default touch protocol rule, if it is not, according to the default touch protocol rule to described Touch data is reissued.
Embodiment seven
The embodiment of the present invention seven provides a kind of computer-readable recording medium, is stored thereon with computer program, the journey The separation method of the touch data provided such as all inventive embodiments of the application is provided when sequence is executed by processor:
That is, the program is realized when being executed by processor:The type of the touch data of current time touch point is judged, if institute It is at least two different types to state touch data, then touch data is filtered according to current application model;Determine institute State whether touch data meets default touch protocol rule, if it is not, according to the default touch protocol rule to the touch number According to being reissued.
Any combination of one or more computer-readable media can be used.Computer-readable medium can be calculated Machine readable signal medium or computer-readable recording medium.Computer-readable recording medium for example can be --- but it is unlimited In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or it is any more than combination.Calculate The more specifically example (non exhaustive list) of machine readable storage medium storing program for executing includes:Electrical connection with one or more wires, just Take formula computer disk, hard disk, random access memory (RAM), read-only storage (ROM), erasable type and may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only storage (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In this document, computer-readable recording medium can any include or store journey The tangible medium of sequence, the program can be commanded the either device use or in connection of execution system, device.
Computer-readable signal media can include in a base band or as carrier wave a part propagation data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including --- but It is not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be Any computer-readable medium beyond computer-readable recording medium, the computer-readable medium can send, propagate or Transmit for by instruction execution system, device either device use or program in connection.
The program code included on computer-readable medium can be transmitted with any appropriate medium, including --- but it is unlimited In --- wireless, electric wire, optical cable, RF etc., or above-mentioned any appropriate combination.
It can be write with one or more programming languages or its combination for performing the computer that operates of the present invention Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, Also include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with Fully perform, partly perform on the user computer on the user computer, the software kit independent as one performs, portion Divide and partly perform or performed completely on remote computer or server on the remote computer on the user computer. Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including LAN (LAN) or Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as carried using Internet service Pass through Internet connection for business).
Pay attention to, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

  1. A kind of 1. separation method of touch data, it is characterised in that including:
    Judge the type of the touch data of current time touch point, if the touch data is at least two different types, Touch data is filtered according to current application model;
    Determine whether the touch data meets default touch protocol rule, if it is not, according to the default touch protocol rule pair The touch data is reissued.
  2. 2. according to the method for claim 1, it is characterised in that methods described also includes:Obtain the touch of each touch point State.
  3. 3. according to the method for claim 1, it is characterised in that touch data is filtered according to current application model Including:
    If current application model is preferential contention mode, when to detect current touch data be the first touch data, judge The data type of data type and first touch data of second touch data caused by first preset time whether phase Together, if it is not, then being filtered to second touch data;
    Wherein, the data type of the first touch data touches data type or hand touch data type including style of writing, and second touches number According to data type touch data type or hand touch data type including style of writing, preferential answering current touch under preferential contention mode Data.
  4. 4. according to the method for claim 1, it is characterised in that touch data is filtered according to current application model Including:
    If current application model is the first non-preferential contention mode, the first touch data and the second touch data are detected simultaneously In the presence of, then filter second touch data;
    If current application model is the second non-preferential contention mode, the first touch data and the second touch data are detected simultaneously In the presence of, then filter first touch data.
  5. 5. according to the method for claim 2, it is characterised in that the touch condition of the touch point includes:
    Touch condition, touch lifting status and touch pending status information;
    According to it is described it is default touch protocol rule the touch data is reissued including:
    For each touch point, if a upper touch condition for the touch point is touch condition or touches pending status, basis The default touch protocol rule reissues touch data information corresponding to the touch lifting status of the touch point.
  6. 6. according to the method for claim 5, it is characterised in that it is described touch lifting status be:
    Whether when detecting touch data, then labeled touch data are used, can be detected after judging the second preset time The touch data, if so, then continuing whether the touch data can be detected after judging second preset time, until not Untill the touch data can be detected, the state is marked to touch lifting status;
    Wherein, second preset time is more than the cycle for producing the touch data.
  7. A kind of 7. separator of touch data, it is characterised in that including:
    Filtering module, the type of the touch data for judging current time touch point, if the touch data is at least two Different types, then touch data is filtered according to current application model;
    Data reissue module, for determining whether the touch data meets default touch protocol rule, if it is not, according to described pre- If touch protocol rule to reissue the touch data.
  8. 8. device according to claim 7, it is characterised in that the filtering module is specifically used for:
    If current application model is preferential contention mode, when to detect current touch data be the first touch data, judge The data type of data type and first touch data of second touch data caused by first preset time whether phase Together, if it is not, then being filtered to second touch data;
    Wherein, the data type of the first touch data touches data type or hand touch data type including style of writing, and second touches number According to data type touch data type or hand touch data type including style of writing, preferential answering current touch under preferential contention mode Data.
  9. 9. a kind of computer equipment, including memory, processor and storage are on a memory and the meter that can run on a processor Calculation machine program, it is characterised in that the side as described in any in claim 1-6 is realized during the computing device described program Method.
  10. 10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is by processor The method as described in any in claim 1-6 is realized during execution.
CN201710867087.6A 2017-09-22 2017-09-22 A kind of separation method of touch data, device, equipment and storage medium Pending CN107704126A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710867087.6A CN107704126A (en) 2017-09-22 2017-09-22 A kind of separation method of touch data, device, equipment and storage medium
PCT/CN2017/116775 WO2019056614A1 (en) 2017-09-22 2017-12-17 Touch data separation method and apparatus, device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710867087.6A CN107704126A (en) 2017-09-22 2017-09-22 A kind of separation method of touch data, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN107704126A true CN107704126A (en) 2018-02-16

Family

ID=61174282

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710867087.6A Pending CN107704126A (en) 2017-09-22 2017-09-22 A kind of separation method of touch data, device, equipment and storage medium

Country Status (2)

Country Link
CN (1) CN107704126A (en)
WO (1) WO2019056614A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110221767A (en) * 2019-06-13 2019-09-10 广州视源电子科技股份有限公司 The control method and device of intelligent interaction device
CN111208917A (en) * 2019-12-31 2020-05-29 广州视源电子科技股份有限公司 Touch data processing method and device, intelligent equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101943968A (en) * 2009-07-06 2011-01-12 爱特梅尔公司 Sensitivity control as a function of touch shape
CN102163108A (en) * 2011-04-26 2011-08-24 广东威创视讯科技股份有限公司 Method and device for identifying multiple touch points
CN103207718A (en) * 2013-03-18 2013-07-17 敦泰科技有限公司 Mutual capacitance touch screen and touch sensing method thereof
CN103221914A (en) * 2010-09-24 2013-07-24 捷讯研究有限公司 Portable electronic device and method of controlling same
CN103294258A (en) * 2012-02-24 2013-09-11 三星电子株式会社 Hybrid touch screen device and method for operating the same
CN103513822A (en) * 2012-06-22 2014-01-15 三星电子株式会社 Method for improving touch recognition and electronic device thereof
CN104169874A (en) * 2012-03-15 2014-11-26 微软公司 Input data type profiles

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102436333B (en) * 2011-10-25 2014-11-19 汉王科技股份有限公司 Input device compatible with capacitance positioning and electromagnet positioning and input method thereof
CN103257729B (en) * 2012-02-17 2015-12-02 宏碁股份有限公司 The disposal route of touch signal and electronic installation
KR102040857B1 (en) * 2012-07-17 2019-11-06 삼성전자주식회사 Function Operation Method For Electronic Device including a Pen recognition panel And Electronic Device supporting the same
CN105975122A (en) * 2016-04-27 2016-09-28 集怡嘉数码科技(深圳)有限公司 Touch track compensation method and apparatus as well as terminal device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101943968A (en) * 2009-07-06 2011-01-12 爱特梅尔公司 Sensitivity control as a function of touch shape
CN103221914A (en) * 2010-09-24 2013-07-24 捷讯研究有限公司 Portable electronic device and method of controlling same
CN102163108A (en) * 2011-04-26 2011-08-24 广东威创视讯科技股份有限公司 Method and device for identifying multiple touch points
CN103294258A (en) * 2012-02-24 2013-09-11 三星电子株式会社 Hybrid touch screen device and method for operating the same
CN104169874A (en) * 2012-03-15 2014-11-26 微软公司 Input data type profiles
CN103513822A (en) * 2012-06-22 2014-01-15 三星电子株式会社 Method for improving touch recognition and electronic device thereof
CN103207718A (en) * 2013-03-18 2013-07-17 敦泰科技有限公司 Mutual capacitance touch screen and touch sensing method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110221767A (en) * 2019-06-13 2019-09-10 广州视源电子科技股份有限公司 The control method and device of intelligent interaction device
CN111208917A (en) * 2019-12-31 2020-05-29 广州视源电子科技股份有限公司 Touch data processing method and device, intelligent equipment and storage medium
WO2021136080A1 (en) * 2019-12-31 2021-07-08 广州视源电子科技股份有限公司 Touch data processing method and apparatus, intelligent device and storage medium

Also Published As

Publication number Publication date
WO2019056614A1 (en) 2019-03-28

Similar Documents

Publication Publication Date Title
CN103988193B (en) Manage the broadcasting of synchronizing content
CN106648434A (en) Method and device for controlling application interfaces through dragging gesture
WO2018098912A1 (en) Recording and playing method for screen video, and screen recording terminal and playing terminal
US8751550B2 (en) Freeform mathematical computations
JP2016534481A (en) System and method for providing a response to user input using information regarding state changes and predictions of future user input
US9317171B2 (en) Systems and methods for implementing and using gesture based user interface widgets with camera input
JP2010176332A (en) Information processing apparatus, information processing method, and program
WO2022237268A1 (en) Information input method and apparatus for head-mounted display device, and head-mounted display device
CN107193794A (en) The annotation method and device of display content
CN107463331A (en) Gesture path analogy method, device and electronic equipment
CN105005448B (en) Application program launching method, device and terminal device
CN107193519A (en) Display control method and device, computer installation and computer-readable recording medium
CN103324274A (en) Method and device for man-machine interaction
CN107194213A (en) A kind of personal identification method and device
CN107577415A (en) Touch operation response method and device
US20130127867A1 (en) Freestyle drawing supported by stencil edge shapes
CN107608550A (en) Touch operation response method and device
CN107608551A (en) Touch operation response method and device
CN107870667A (en) Method, electronic installation and program product for eye tracks selection checking
CN105843378A (en) Service terminal based on somatosensory interaction control and control method of the service terminal
CN107704126A (en) A kind of separation method of touch data, device, equipment and storage medium
CN103488321A (en) Method and device for recognizing touch action on touch screen terminal
CN108009073A (en) By method, terminal and the computer-readable recording medium of daily record reproduction touch trajectory
CN105829998B (en) Device is tied to calculating equipment
US20190101996A1 (en) Methods and apparatus to detect touch input gestures

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180216

RJ01 Rejection of invention patent application after publication