CN109144309A - Touch control method and device, storage medium and terminal equipment - Google Patents

Touch control method and device, storage medium and terminal equipment Download PDF

Info

Publication number
CN109144309A
CN109144309A CN201810793710.2A CN201810793710A CN109144309A CN 109144309 A CN109144309 A CN 109144309A CN 201810793710 A CN201810793710 A CN 201810793710A CN 109144309 A CN109144309 A CN 109144309A
Authority
CN
China
Prior art keywords
touch
current
equipment
event
touch apparatus
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
CN201810793710.2A
Other languages
Chinese (zh)
Other versions
CN109144309B (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.)
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 CN201810793710.2A priority Critical patent/CN109144309B/en
Publication of CN109144309A publication Critical patent/CN109144309A/en
Priority to PCT/CN2019/096543 priority patent/WO2020015704A1/en
Application granted granted Critical
Publication of CN109144309B publication Critical patent/CN109144309B/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/0416Control or interface arrangements specially adapted for digitisers

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)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a touch control method and a device, when a down event to one touch device is detected at any time, if the touch data reported by other touch devices is judged to exist at the current time and the response priority of the other touch devices is higher than that of the current touch device, the touch data of the other touch devices are continuously reported until the up event to the other touch devices is detected, the touch data of the current touch device in a preset first time period is discarded, and when the priority of the other touch devices is higher than that of the current touch device, the down event is supplemented for the current touch device when the up event to the other touch devices is detected at any time, so that the phenomenon of time sequence conflict caused by the simultaneous report of the touch data by a plurality of touch devices at the same time can be avoided, and the original Android original frame can be not changed, the problem of touch abnormity caused by simultaneous operation of multiple touch devices is solved.

Description

Method of toch control and device, storage medium, terminal device
Technical field
The present invention relates to touch screen fields more particularly to a kind of method of toch control and device, storage medium, terminal to set It is standby.
Background technique
Growing day by day with multimedia information inquiry, people speak of touch screen more and more, because of touch screen conduct A kind of newest computer input apparatus, it is to be suitable for Chinese multimedia messages most simply, conveniently, naturally and again at present to look into The input equipment of national conditions is ask, touch screen has many advantages such as that sturdy and durable, reaction speed is fast, saves space, is easy to exchange.Benefit With this technology, as long as user lightly refers to that the icon touched on computer display screen or text can be achieved with grasping host with finger Make, to keep human-computer interaction more simple and direct, this technology greatly facilitates those users for being ignorant of computation, this people Machine interactive mode imparts multimedia with brand-new.
And the appearance of multi-touch screen technology undoubtedly further improves the operating experience of user, the skill of existing multi-point touch panel What art was mainly designed based on capacitive touch screen principle, display screen can receive the analysis of two or more contact points More complicated procedure operation is completed in judgement with this, for example two fingers act on zoom in or out picture simultaneously, also browsable net Page, fixed point amplification, no longer hard using mobile phone access internet at any time.
As shown in Figure 1, touch apparatus 1 and touch apparatus 2 are connect with driving layer respectively according to Android system framework, pass through The directly incoming USB control centre of the touch data of touch apparatus 1 and touch apparatus 2, then multiple spot is transferred directly to by control centre Interface is touched, then the Framework layer of layer and application layer report directly up by multiple point touching interface.As shown in Fig. 2, working as system During reporting the touch data of touch apparatus 1, if at a time detecting the down event of source touch apparatus 2 When, the touch data while reported data of two touch apparatus, in addition to will lead to timing conflict, so that one of touch apparatus Track drafting can not be shown within probabilistic time, and when 1 all touch point Up of touch apparatus, touch apparatus 2 State is equally impacted on the upper layer Android, causes the subsequent data of touch apparatus 2 that abnormal has occurred
Summary of the invention
The technical problem to be solved by the embodiment of the invention is that providing a kind of method of toch control and device, storage are situated between Matter, terminal device can effectively solve existing multiple touch apparatus while reporting touch data and leading to timing conflict phenomenon, it is ensured that Synchronization only has a kind of touch apparatus toward upper layer count off evidence.
In order to solve the above-mentioned technical problem, the embodiment of the invention provides one kind to be suitable for n touch apparatus, n >=2, packet Include following steps:
When any time detecting the down event to a wherein touch apparatus, judge current time with the presence or absence of other Touch apparatus reports touch data;
If judging, current time, there are other touch apparatus to report touch data, obtains other described touch apparatus and works as The response priority of preceding touch apparatus;Wherein, the current touch equipment is to detect that the touch of down event is set at current time It is standby;
When the response priority of other touch apparatus be greater than the current touch equipment response priority when, then after The continuous touch data for reporting other touch apparatus abandons pre- until detecting the up event to other touch apparatus If first time period in the current touch equipment touch data;Wherein, the first time period is to detect described work as Between time between at the time of at the time of the down event of preceding touch apparatus and detecting the up event of other touch apparatus Every;
If the priority of other touch apparatus is greater than the current touch equipment, detect when any time to it When the up event of his touch apparatus, down event is mended for current touch equipment, and start to report the touching of the current touch equipment Touch data.
As an improvement of the above scheme, the method also includes steps:
When the response priority of other touch apparatus is less than the response priority of the current touch equipment, then stop The touch data of other touch apparatus is only reported, mends up event for other described touch apparatus, and starts to report described work as The touch data of preceding touch apparatus is until detecting the up event to the current touch equipment.
As an improvement of the above scheme, if the priority of other touch apparatus is greater than the current touch and sets It is standby, then when any time detecting the up event to other touch apparatus, down event is mended for current touch equipment, and start The touch data for reporting the current touch equipment includes:
If the priority of other touch apparatus is greater than the current touch equipment, detect when any time to it When the up event of his touch apparatus, judge whether the quantity of the touch apparatus in the benefit down list of thing is equal to 1;
If the quantity for mending the touch apparatus in down list of thing is equal to 1, for current touch equipment benefit Down event starts the touch data for reporting the current touch equipment, is and by the current touch equipment in the benefit It is deleted in down list of thing.
As an improvement of the above scheme, the method also includes steps:
If the quantity for mending the touch apparatus in down list of thing is greater than 1, according to the benefit down list of thing Described in touch apparatus response priority, generation response sequence is ranked up to the touch apparatus;
Each touching is successively reported since first touch apparatus in the response sequence according to the response sequence Touch the touch data of equipment.
As an improvement of the above scheme, it further comprises the steps of:
When any time being detected simultaneously by the down event to multiple touch apparatus, the multiple touch apparatus is added Extremely in the benefit down list of thing, according to the response priority of touch apparatus described in the benefit down list of thing, to institute It states touch apparatus and is ranked up generation response sequence;
Each touching is successively reported since first touch apparatus in the response sequence according to the response sequence Touch the touch data of equipment.
As an improvement of the above scheme, described since first touch apparatus in the response sequence, successively report The touch data of each touch apparatus includes:
Start the up for reporting the touch data of first touch apparatus until detecting first touch apparatus Event;
It is next touching in the Response List when any time detecting the up event of first touch apparatus It touches equipment and mends down event, and first touch apparatus is deleted in the benefit down list of thing;
In response to any time to the wherein down event of a touch apparatus in the response sequence, start to report the touching Up event of the touch data of equipment until detecting the touch apparatus is touched, by the touch apparatus from the response sequence It deletes, and abandons the touch data of the remaining touch apparatus in preset second time period in the response sequence;Wherein, described At the time of second time period is the down event for detecting the touch apparatus and detect the up event of the touch apparatus Time interval between moment;
It is next touch apparatus in the Response List when any time detecting the up event of the touch apparatus Down event is mended, and the current touch equipment is deleted in the benefit down list of thing.
The present invention, which must correspond to, provides a kind of touch control device, is suitable for n touch apparatus, n >=2, comprising:
First judgment module, when for detecting the down event to a wherein touch apparatus when any time, judgement is worked as The preceding moment reports touch data with the presence or absence of other touch apparatus;
It responds priority and obtains module, for judging that current time, there are other touch apparatus to report touch data, obtains Take the response priority of described other touch apparatus and current touch equipment;Wherein, the current touch equipment is current time Detect the touch apparatus of down event;
Data discard module, for being greater than the current touch equipment when the response priority of other touch apparatus When responding priority, then continue to report the touch data of other touch apparatus until detecting to other described touch apparatus Up event, and abandon the touch data of the current touch equipment in preset first time period;Wherein, the first time Section is at the time of detecting the down event of the current touch equipment and to detect the up events of other touch apparatus Time interval between moment;
Down event complementary module, if the priority for other touch apparatus is greater than the current touch equipment, Then when any time detecting the up event to other touch apparatus, down event is mended for current touch equipment, and on starting Report the touch data of the current touch equipment.
As an improvement of the above scheme, described device further include:
Up event complementary module, for being less than the current touch equipment when the response priority of other touch apparatus Response priority when, then stop the touch data for reporting other touch apparatus, mend up thing for other described touch apparatus Part, and start to report the touch data of the current touch equipment until detecting the up event to the current touch equipment.
The embodiment of the invention also provides a kind of storage medium, the storage medium includes the program of storage, wherein in institute It states the equipment where controlling the storage medium when program operation and executes method of toch control described in any of the above embodiments.
The embodiment of the invention also provides a kind of terminal devices, including one or more processors, memory and one Or multiple programs, in which:
One or more of programs are stored in the memory, and are configured as by one or more of It manages device to execute, described program includes for executing method of toch control described in any of the above embodiments.
Compared with prior art, method of toch control and device provided in an embodiment of the present invention, storage medium, terminal are set Standby, when detecting the down event to a wherein touch apparatus by any time, if judging, current time, there are other touches Equipment is when reporting touch data, and the response priority of other touch apparatus is greater than the response of the current touch equipment When priority, then continue to report the touch data of other touch apparatus until detecting the up to other touch apparatus Event, and the touch data of the current touch equipment in preset first time period is abandoned, and when other described touch apparatus Priority be greater than the current touch equipment, then when any time detecting the up event to other touch apparatus, for institute It states current touch equipment and mends down event, can avoid multiple touch apparatus while reporting touch data and causing timing conflict existing As, it is ensured that synchronization only has a kind of touch apparatus toward upper layer count off evidence, original Android original frame situation can not changed Under, solve a variety of touch apparatus work at the same time cause touch abnormal problem.
Detailed description of the invention
Fig. 1 is that the data of multi-touch equipment in the prior art report schematic diagram;
Fig. 2 is the data flow diagram for the equipment of multi-touch in the prior art that the prior art provides;
Fig. 3 is a kind of flow chart for method of toch control that the embodiment of the present invention 1 provides;
Fig. 4 is the data flow diagram of multi-touch equipment in the embodiment of the present invention 1;
Fig. 5 is a kind of flow chart for method of toch control that the embodiment of the present invention 2 provides;
Fig. 6 is the data flow diagram of multi-touch equipment in the embodiment of the present invention 2;
Fig. 7 is that the data of multi-touch equipment in the present invention report schematic diagram;
Fig. 8 is a kind of flow chart for method of toch control that the embodiment of the present invention 3 provides;
Fig. 9 is the flow chart for the touch data that the embodiment of the present invention 3 successively reports each touch apparatus;
Figure 10 is a kind of structural block diagram for touch control device that the embodiment of the present invention 4 provides.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained all without creative efforts Other embodiments shall fall within the protection scope of the present invention.
Shown in Figure 2, Fig. 2 is a kind of method flow diagram for method of toch control that the embodiment of the present invention 1 provides, described Method of toch control is suitable for n touch apparatus, n >=2, comprising the following steps:
S101, when any time detecting the down event to a wherein touch apparatus, judge whether current time deposits Touch data is reported in other touch apparatus;
It should be noted that there are corresponding down event and up event in each touch point for touch apparatus, Wherein,
Down event: finger or pen touch touch screen (including infrared screen, capacitance plate, electromagnetic screen etc.), by not in contact with To the event generated in a flash contacted, as down event;
Up event: corresponding, finger or pen touch touch screen (including infrared screen, capacitance plate, electromagnetic screen etc.) by Touch the event generated in a flash for leaving touch screen, as up event.
For Android system, each touch apparatus is to there are corresponding down event and up events, wherein down thing Part refer to for a certain touch apparatus by not in contact with to contacted in a flash caused by event;Two up events refer to Mr. Yu One touch apparatus leaves the event of touch screen generated in a flash by having touched.This programme is related in the data of multi-touch screen Report problem, the case where being suitable for for above-mentioned for Android system.
When any time detecting the down event to a wherein touch apparatus, and judge that current time, there is no other Touch apparatus reports touch data, directly can accordingly change the down event of touch apparatus, start the touching for reporting the touch apparatus Touch data.
If S102, judging that current time, there are other touch apparatus to report touch data, obtains other described touches and set Standby and current touch equipment response priority;Wherein, the current touch equipment is to detect down event at current time Touch apparatus;
Wherein, the response priority in step S102 is preset by user or system, can be by touch apparatus type, big Small and model etc. is configured.When the response priority of a certain touch apparatus is higher, the touching of the priority processing touch apparatus is needed Touch data;When the response priority of a certain touch apparatus is lower, other higher touches of response priority of priority processing is needed to set Standby touch data.
S103, when other touch apparatus response priority be greater than the current touch equipment response priority When, then continue to report the touch data of other touch apparatus until detecting the up event to other touch apparatus, And abandon the touch data of the current touch equipment in preset first time period;Wherein, the first time period is detection To the current touch equipment down event at the time of and at the time of detecting the up event of other touch apparatus between Time interval;
If the priority of S104, other touch apparatus is greater than the current touch equipment, detected when any time When to up event to other touch apparatus, down event is mended for current touch equipment, and start that the current touch is reported to set Standby touch data.
The above process is described in detail by taking n=2 as an example below.As shown in figure 4, when system reports touch apparatus 1 Touch data during, if any time detects the down event of source touch apparatus 2, first determine whether touch apparatus 1 and touch apparatus 2 response priority.If the response priority of touch apparatus 1 is greater than the response priority of touch apparatus 2, Before touch apparatus 1 not yet up, the data of touch apparatus 2 are first shielded, as shown in phantom in Figure 4.It is set for example, it is assumed that touching Standby 1 is infrared touch panel, and touch apparatus 2 is electromagnetic touch screen, in the gesture erase process of infrared touch panel, at a time The writing operation for sensing time writer on electromagnetic touch screen, since the response priority of infrared touch panel is greater than electromagnetic touch screen Priority is responded, therefore the erasing move for needing to wait for infrared touch panel is completed, and could show the written handwriting on electromagnetic touch screen.
In another preferred embodiment, as shown in figure 5, on the basis of embodiment 1, the method for toch control further includes Step:
S105, when other touch apparatus response priority be less than the current touch equipment response priority When, then stop the touch data for reporting other touch apparatus, mends up event for other described touch apparatus, and start to report The touch data of the current touch equipment is until detecting the up event to the current touch equipment.
The above process is described in detail by taking n=2 as an example below.As shown in fig. 6, when system reports touch apparatus 1 Touch data during, if any time detects the down event of source touch apparatus 2, first determine whether touch apparatus 1 and touch apparatus 2 response priority.If the response priority of touch apparatus 1 is less than the response priority of touch apparatus 2, It needs touch apparatus 1 to mend up event, begins to respond to the touch operation of touch apparatus 2, and in 2 course of work of touch apparatus, The touch data of touch apparatus 1 is abandoned.For example, in above-mentioned example, it is assumed that touch apparatus 1 is infrared touch panel, touch apparatus 2 It is electromagnetic touch screen, in the gesture erase process of infrared touch panel, at a time senses time writer on electromagnetic touch screen Writing operation, since the response priority of electromagnetic touch screen is greater than the response priority of infrared touch panel, for infrared touching It touches screen and mends up event, stop the erasing operation of response infrared touch panel, start the writing in electromagnetic touch screen display time writer Person's handwriting.
As shown in fig. 7, driving layer USB control centre and multiple point touching interface between joined timing sequence process thread, this when Sequence handle thread using above-mentioned method of toch control to the upload of the touch data of touch apparatus 1 and touch apparatus 2 sequence into Row adjustment, avoiding the occurrence of two touch apparatus, reported data leads to timing conflict simultaneously, it is ensured that synchronization only has a kind of touch The touch data of equipment can be reported toward upper layer.As shown in figure 4, can normally be rung after all touch point up of touch apparatus 1 The touch operation for answering touch apparatus 2 will not influence touch apparatus 2 in the state on the upper layer Android, meet under Android frame The compatibility issue of multi-touch equipment.
Referring to Fig. 8, for a kind of flow chart for method of toch control that the embodiment of the present invention 3 provides
S201, when any time detecting the down event to a wherein touch apparatus, judge whether current time deposits Touch data is reported in other touch apparatus;
If S202, judging that current time, there are other touch apparatus to report touch data, obtains other described touches and set Standby and current touch equipment response priority;Wherein, the current touch equipment is to detect down event at current time Touch apparatus;
S203, when other touch apparatus response priority be greater than the current touch equipment response priority When, then continue to report the touch data of other touch apparatus until detecting the up event to other touch apparatus, And abandon the touch data of the current touch equipment in preset first time period;Wherein, the first time period is detection To the current touch equipment down event at the time of and at the time of detecting the up event of other touch apparatus between Time interval;
S204, when other touch apparatus response priority be greater than the current touch equipment response priority When, the current touch equipment is added to and is mended in down list of thing;
If the priority of S205, other touch apparatus is greater than the current touch equipment, detected when any time When to up event to other touch apparatus, judge whether the quantity of the touch apparatus in the benefit down list of thing is equal to 1;
If S206, the quantity for mending the touch apparatus in down list of thing are equal to 1, for the current touch equipment Down event is mended, starts the touch data for reporting the current touch equipment, is and by the current touch equipment in the benefit It is deleted in down list of thing.
That is, only it is described benefit down list of thing in touch apparatus quantity be equal to 1 in the case where, just without It need to determine and first mend down event for that touch apparatus, it is only necessary to respond the touch data of a remaining touch apparatus.It is above-mentioned can There are two kinds of situations, the case where one kind is n=2, another kind is has shifted to an earlier date up in the touch apparatus mended in down list of thing , such case also can delete it in the benefit down list of thing.
And another situation is, if if it is described mend down list of thing in touch apparatus quantity be greater than 1 when, root According to the response priority of touch apparatus described in the benefit down list of thing, generation response is ranked up to the touch apparatus Sequence;According to the response sequence, since first touch apparatus in the response sequence, each touch is successively reported to set Standby touch data.
Preferably, as shown in figure 9, the touch data that following manner successively reports each touch apparatus can be used:
S301, start to report the touch data of first touch apparatus until detecting first touch apparatus Up event;
S302, when any time detecting the up event of first touch apparatus, be the Response List under One touch apparatus mends down event, and first touch apparatus is deleted in the benefit down list of thing;
S303, in response to any time to the wherein down event of a touch apparatus in the response sequence, start to report Up event of the touch data of the touch apparatus until detecting the touch apparatus, by the touch apparatus from the response It is deleted in sequence, and abandons the touch data of the remaining touch apparatus in preset second time period in the response sequence;Its In, at the time of the second time period is the down event for detecting the touch apparatus and detect the up of the touch apparatus Time interval between at the time of event;
S304, when any time detecting the up event of the touch apparatus, be the Response List in next touching It touches equipment and mends down event, and the current touch equipment is deleted in the benefit down list of thing.
It, can will be described more in addition, be that synchronization detects the down events of multiple touch apparatus there is also a kind of situation A touch apparatus is added in the benefit down list of thing, according to the sound of touch apparatus described in the benefit down list of thing Priority is answered, generation response sequence is ranked up to the multiple touch apparatus, then according to the response sequence, from the sound It answers first in sequence touch apparatus to start, successively reports the touch data of each touch apparatus.Preferably, it can be used such as figure Method shown in 9 successively reports the touch data of each touch apparatus.
It is the touch control device that the embodiment of the present invention 4 provides referring to Figure 10, is suitable for n touch apparatus, n >=2, packet It includes:
First judgment module 11, when for detecting the down event to a wherein touch apparatus when any time, judgement Current time reports touch data with the presence or absence of other touch apparatus;
It responds priority and obtains module 12, for judging that current time, there are other touch apparatus to report touch data, Obtain the response priority of described other touch apparatus and current touch equipment;Wherein, when the current touch equipment is current Carve the touch apparatus for detecting down event;
Data discard module 13, for being greater than the current touch equipment when the response priority of other touch apparatus Response priority when, then continue to report the touch data of other touch apparatus to set until detecting to other described touches Standby up event, and abandon the touch data of the current touch equipment in preset first time period;Wherein, described first when Between section be at the time of detecting the down event of the current touch equipment and to detect the up events of other touch apparatus At the time of between time interval;
Down event complementary module 14 is set if the priority for other touch apparatus is greater than the current touch It is standby, then when any time detecting the up event to other touch apparatus, down event is mended for current touch equipment, and start Report the touch data of the current touch equipment.
Preferably, described device further includes up event complementary module, and the response for other touch apparatus described in is preferential When grade is less than the response priority of the current touch equipment, then stops the touch data for reporting other touch apparatus, be Other described touch apparatus mend up event, and start to report the touch data of the current touch equipment until detecting to described The up event of current touch equipment.
Preferably, described device further includes mending down list of thing adding module, for when other touch apparatus When responding response priority of the priority greater than the current touch equipment, the current touch equipment is added to and mends down thing In part list.
The down event complementary module 14 includes the second judgment module and benefit down list of thing removing module, wherein If priority of second judgment module for other touch apparatus is greater than the current touch equipment, when any When quarter detects the up event to other touch apparatus, whether the quantity for mending the touch apparatus in down list of thing is judged Equal to 1;If the quantity for mending down list of thing removing module for the touch apparatus in the benefit down list of thing is equal to 1, Down event then is mended for the current touch equipment, starts the touch data for reporting the current touch equipment, is and will be described Current touch equipment is deleted in the benefit down list of thing.
Preferably, corresponding device further includes the first response sequence generation module and the first reporting module, wherein described first If quantity of the response sequence generation module for the touch apparatus in the benefit down list of thing is greater than 1, according to the benefit The response priority of touch apparatus described in down list of thing is ranked up generation response sequence to the touch apparatus;The One reporting module according to the response sequence since first touch apparatus in the response sequence for successively reporting The touch data of each touch apparatus.
Preferably, described device further includes the second response sequence generation module and the second reporting module, wherein described second Response sequence generation module is used for when any time being detected simultaneously by the down event to multiple touch apparatus, will be the multiple Touch apparatus is added in the benefit down list of thing, according to the response of touch apparatus described in the benefit down list of thing Priority is ranked up generation response sequence to the touch apparatus;Second reporting module is used for according to the response sequence Column, since first touch apparatus in the response sequence, successively report the touch data of each touch apparatus.
Preferably, the touch data that following manner successively reports each touch apparatus can be used:
Start the up for reporting the touch data of first touch apparatus until detecting first touch apparatus Event;
It is next touching in the Response List when any time detecting the up event of first touch apparatus It touches equipment and mends down event, and first touch apparatus is deleted in the benefit down list of thing;
In response to any time to the wherein down event of a touch apparatus in the response sequence, start to report the touching Up event of the touch data of equipment until detecting the touch apparatus is touched, by the touch apparatus from the response sequence It deletes, and abandons the touch data of the remaining touch apparatus in preset second time period in the response sequence;Wherein, described At the time of second time period is the down event for detecting the touch apparatus and detect the up event of the touch apparatus Time interval between moment;
It is next touch apparatus in the Response List when any time detecting the up event of the touch apparatus Down event is mended, and the current touch equipment is deleted in the benefit down list of thing.
The embodiment of the invention also provides a kind of storage medium, the storage medium includes the program of storage, wherein in institute It states the equipment where controlling the storage medium when program operation and executes method of toch control described in any of the above embodiments
The embodiment of the invention also provides a kind of terminal devices, including one or more processors, memory and one Or multiple programs, in which:
One or more of programs are stored in the memory, and are configured as by one or more of It manages device to execute, described program includes for executing method of toch control described in any of the above embodiments.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, without departing from the technical principles of the invention, several improvement and deformations can also be made, these improvement and deformations Also it should be regarded as protection scope of the present invention.

Claims (11)

1. a kind of method of toch control is suitable for n touch apparatus, n >=2, comprising the following steps:
When any time detecting the down event to a wherein touch apparatus, judge current time with the presence or absence of other touches Equipment reports touch data;
If judging, current time, there are other touch apparatus to report touch data, obtains other described touch apparatus and current touching Touch the response priority of equipment;Wherein, the current touch equipment is the touch apparatus for detecting down event at current time;
When the response priority of other touch apparatus be greater than the current touch equipment response priority when, then continue on It reports the touch data of other touch apparatus until detecting the up event to other touch apparatus, and abandons preset The touch data of the current touch equipment in first time period;Wherein, the first time period is to detect the current touching Time interval between at the time of at the time of touching the down event of equipment and detecting the up event of other touch apparatus;
If the priority of other touch apparatus is greater than the current touch equipment, detect when any time to other touchings When touching the up event of equipment, down event is mended for current touch equipment, and start to report the touch number of the current touch equipment According to.
2. method of toch control as described in claim 1, which is characterized in that further comprise the steps of:
When the response priority of other touch apparatus is less than the response priority of the current touch equipment, then in stopping The touch data of other touch apparatus is reported, mends up event for other described touch apparatus, and start to report the current touching The touch data of equipment is touched until detecting the up event to the current touch equipment.
3. method of toch control as described in claim 1, which is characterized in that further comprise the steps of:
When the response priority of other touch apparatus is greater than the response priority of the current touch equipment, work as by described in Preceding touch apparatus, which is added to, to be mended in down list of thing.
4. method of toch control as claimed in claim 3, which is characterized in that if the priority of other touch apparatus Greater than the current touch equipment, then when any time detecting the up event to other touch apparatus, set for current touch Next choice down event, and start to report the touch data of the current touch equipment include:
If the priority of other touch apparatus is greater than the current touch equipment, detect when any time to other touchings When touching the up event of equipment, judge whether the quantity of the touch apparatus in the benefit down list of thing is equal to 1;
If the quantity for mending the touch apparatus in down list of thing is equal to 1, down thing is mended for the current touch equipment Part starts the touch data for reporting the current touch equipment, and by the current touch equipment in the benefit down event column It is deleted in table.
5. method of toch control as claimed in claim 4, which is characterized in that the method also includes steps:
If the quantity for mending the touch apparatus in down list of thing is greater than 1, according to institute in the benefit down list of thing The response priority for stating touch apparatus is ranked up generation response sequence to the touch apparatus;
According to the response sequence, since first touch apparatus in the response sequence, each touch is successively reported to set Standby touch data.
6. method of toch control as described in claim 1, which is characterized in that further comprise the steps of:
When any time being detected simultaneously by the down event to multiple touch apparatus, the multiple touch apparatus is added to institute It states and mends in down list of thing, according to the response priority of touch apparatus described in the benefit down list of thing, to the touching It touches equipment and is ranked up generation response sequence;
According to the response sequence, since first touch apparatus in the response sequence, each touch is successively reported to set Standby touch data.
7. such as method of toch control described in claim 5 or 6, which is characterized in that first from the response sequence A touch apparatus starts, and successively reports the touch data of each touch apparatus to include:
Start the up event for reporting the touch data of first touch apparatus until detecting first touch apparatus;
When any time detecting the up event of first touch apparatus, set for next touch in the Response List Next choice down event, and first touch apparatus is deleted in the benefit down list of thing;
In response to any time to the wherein down event of a touch apparatus in the response sequence, start that the touch is reported to set Up event of the standby touch data until detecting the touch apparatus, the touch apparatus is deleted from the response sequence It removes, and abandons the touch data of the remaining touch apparatus in preset second time period in the response sequence;Wherein, described At the time of two periods were the down event for detecting the touch apparatus and detect the touch apparatus up event when Time interval between quarter;
It is that next touch apparatus in the Response List is mended when any time detecting the up event of the touch apparatus Down event, and the current touch equipment is deleted in the benefit down list of thing.
8. a kind of touch control device is suitable for n touch apparatus, n >=2, comprising:
First judgment module, when for detecting the down event to a wherein touch apparatus when any time, when judging current It carves and reports touch data with the presence or absence of other touch apparatus;
It responds priority and obtains module, for judging that current time, there are other touch apparatus to report touch data, obtains institute State the response priority of other touch apparatus and current touch equipment;Wherein, the current touch equipment is current time detection To the touch apparatus of down event;
Data discard module, for being greater than the response of the current touch equipment when the response priority of other touch apparatus When priority, then continue to report the touch data of other touch apparatus until detecting the up to other touch apparatus Event, and abandon the touch data of the current touch equipment in preset first time period;Wherein, the first time period is At the time of detecting at the time of the down event of the current touch equipment and detect the up event of other touch apparatus Between time interval;
Down event complementary module, if the priority for other touch apparatus is greater than the current touch equipment, when When any time detects the up event to other touch apparatus, down event is mended for current touch equipment, and start to report institute State the touch data of current touch equipment.
9. touch control device as claimed in claim 6, which is characterized in that described device further include:
Up event complementary module, for being less than the sound of the current touch equipment when the response priority of other touch apparatus When answering priority, then stop the touch data for reporting other touch apparatus, mends up event for other described touch apparatus, and Start to report the touch data of the current touch equipment until detecting the up event to the current touch equipment.
10. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein run in described program When the equipment perform claim that controls where the storage medium require 1~7 described in any item method of toch control.
11. a kind of terminal device, which is characterized in that including one or more processors, memory and one or more program, Wherein:
One or more of programs are stored in the memory, and are configured as by one or more of processors It executes, described program includes requiring 1~7 described in any item method of toch control for perform claim.
CN201810793710.2A 2018-07-18 2018-07-18 Touch control method and device, storage medium and terminal equipment Active CN109144309B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810793710.2A CN109144309B (en) 2018-07-18 2018-07-18 Touch control method and device, storage medium and terminal equipment
PCT/CN2019/096543 WO2020015704A1 (en) 2018-07-18 2019-07-18 Touch control method and apparatus, storage medium, and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810793710.2A CN109144309B (en) 2018-07-18 2018-07-18 Touch control method and device, storage medium and terminal equipment

Publications (2)

Publication Number Publication Date
CN109144309A true CN109144309A (en) 2019-01-04
CN109144309B CN109144309B (en) 2020-11-10

Family

ID=64800876

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810793710.2A Active CN109144309B (en) 2018-07-18 2018-07-18 Touch control method and device, storage medium and terminal equipment

Country Status (2)

Country Link
CN (1) CN109144309B (en)
WO (1) WO2020015704A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109947287A (en) * 2019-02-20 2019-06-28 广州华欣电子科技有限公司 A kind of processing method, device, equipment and the storage medium of touch data missing
CN110221767A (en) * 2019-06-13 2019-09-10 广州视源电子科技股份有限公司 Control method and device of intelligent interaction equipment
WO2020015704A1 (en) * 2018-07-18 2020-01-23 广州视源电子科技股份有限公司 Touch control method and apparatus, storage medium, and terminal device
CN111208917A (en) * 2019-12-31 2020-05-29 广州视源电子科技股份有限公司 Touch data processing method and device, intelligent equipment and storage medium
WO2021102677A1 (en) * 2019-11-26 2021-06-03 深圳市欢太科技有限公司 Touch response method, touch screen system, terminal, storage medium, and chip

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101046715A (en) * 2006-03-28 2007-10-03 Lg电子株式会社 Mobile communications terminal having key input error prevention function and its method
CN102681710A (en) * 2011-03-17 2012-09-19 联芯科技有限公司 Electronic equipment input method, device and electronic equipment based on device
CN102968183A (en) * 2011-12-20 2013-03-13 微软公司 Content system with auxiliary touch controller
CN103403648A (en) * 2011-02-10 2013-11-20 三星电子株式会社 Apparatus including multiple touch screens and method of changing screens therein

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102693024A (en) * 2011-03-21 2012-09-26 汉王科技股份有限公司 Dual-touch apparatus and positioning method thereof
KR102126500B1 (en) * 2013-06-28 2020-06-25 삼성전자주식회사 Electronic apparatus and touch sensing method using the smae
CN107592556B (en) * 2017-08-08 2020-02-04 福建星网视易信息系统有限公司 Control information synthesis method based on mobile terminal, controlled terminal and mobile terminal
CN107729131A (en) * 2017-09-25 2018-02-23 努比亚技术有限公司 A kind of event-handling method, terminal and computer-readable recording medium
CN109144309B (en) * 2018-07-18 2020-11-10 广州视源电子科技股份有限公司 Touch control method and device, storage medium and terminal equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101046715A (en) * 2006-03-28 2007-10-03 Lg电子株式会社 Mobile communications terminal having key input error prevention function and its method
CN103403648A (en) * 2011-02-10 2013-11-20 三星电子株式会社 Apparatus including multiple touch screens and method of changing screens therein
CN102681710A (en) * 2011-03-17 2012-09-19 联芯科技有限公司 Electronic equipment input method, device and electronic equipment based on device
CN102968183A (en) * 2011-12-20 2013-03-13 微软公司 Content system with auxiliary touch controller

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020015704A1 (en) * 2018-07-18 2020-01-23 广州视源电子科技股份有限公司 Touch control method and apparatus, storage medium, and terminal device
CN109947287A (en) * 2019-02-20 2019-06-28 广州华欣电子科技有限公司 A kind of processing method, device, equipment and the storage medium of touch data missing
CN110221767A (en) * 2019-06-13 2019-09-10 广州视源电子科技股份有限公司 Control method and device of intelligent interaction equipment
WO2020249103A1 (en) * 2019-06-13 2020-12-17 广州视源电子科技股份有限公司 Control method and apparatus for intelligent interactive device
WO2021102677A1 (en) * 2019-11-26 2021-06-03 深圳市欢太科技有限公司 Touch response method, touch screen system, terminal, storage medium, and chip
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
CN109144309B (en) 2020-11-10
WO2020015704A1 (en) 2020-01-23

Similar Documents

Publication Publication Date Title
CN109144309A (en) Touch control method and device, storage medium and terminal equipment
CN102880332A (en) Local control method and system of touch panel
TWI505155B (en) Touch-control method for capactive and electromagnetic dual-mode touch screen and handheld electronic device
CN102346592A (en) Touch input transitions
CN103268184A (en) Method and device for moving text cursor
CN102768595B (en) A kind of method and device identifying touch control operation instruction on touch-screen
CN102609184A (en) Method and apparatus for providing mouse right click function in touch screen terminal
CN103064627A (en) Application management method and device
CN103389876A (en) Function switching method based on touch display equipment and touch display equipment
CN104111785A (en) Method and device for responding to touch gestures
CN105159552A (en) Page flipping control method for browsing web page and user terminal
CN103677577A (en) Terminal object operating method and terminal
CN111610855A (en) Gesture advertisement removing method, device, terminal and computer readable storage medium
CN105389116A (en) Terminal application processing method and system for terminal device, and terminal device
CN102289318B (en) Method and device for processing writing of touch screen
CN103440191B (en) The lookup method and device of application program
CN103092389A (en) Touch screen device and method for achieving virtual mouse action
EP3992768A1 (en) Human-computer interaction method, device, and system
CN113031817B (en) Multi-touch gesture recognition method and false touch prevention method
CN102855076A (en) Control method and control device of touch screen and mobile terminal device
CN102073415A (en) Touch system, auxiliary device and input method thereof
CN108255558A (en) Writing software calling method, device, equipment and computer readable storage medium
KR101865638B1 (en) Click disambiguation on a touch-sensitive input device
CN108446069A (en) A kind of display methods and device of scroll bar
CN102455848A (en) Input control method for screen touch type keyboard, and electronic device

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
GR01 Patent grant
GR01 Patent grant