CN104035714B - Event processing method, device and equipment based on Android system - Google Patents

Event processing method, device and equipment based on Android system Download PDF

Info

Publication number
CN104035714B
CN104035714B CN201410288685.4A CN201410288685A CN104035714B CN 104035714 B CN104035714 B CN 104035714B CN 201410288685 A CN201410288685 A CN 201410288685A CN 104035714 B CN104035714 B CN 104035714B
Authority
CN
China
Prior art keywords
event
touch
touch event
prediction
module
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.)
Active
Application number
CN201410288685.4A
Other languages
Chinese (zh)
Other versions
CN104035714A (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.)
Zhongke Chuang Da (Chongqing) Automotive Technology Co., Ltd.
Original Assignee
ThunderSoft 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 ThunderSoft Co Ltd filed Critical ThunderSoft Co Ltd
Priority to CN201410288685.4A priority Critical patent/CN104035714B/en
Publication of CN104035714A publication Critical patent/CN104035714A/en
Application granted granted Critical
Publication of CN104035714B publication Critical patent/CN104035714B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides event processing method, device and equipment based on the Android system. The method includes acquiring a currently-triggered touch event; judging whether the current touch event is a press event or not; if so, triggering a touch event predicting process including judging whether the time difference between the occurring time of the last triggered event and the current time is larger than a preset touch time interval or not, if so, predicting the next touch event according to a preset predicting event model; determining the predicted next touch event as a touch event to be processed. According to an embodiment, the problem that in the prior art, the large delay exists in user's touch operation can be solved, the finger of a user sliding on a touch screen can be locked to react to the touch event of the user rapidly, the response speed of the Android system can be increased, and using experience of the user can be improved.

Description

It is a kind of based on the touch event processing method of Android system, device and equipment
Technical field
The application is related to the ARIXTRA android system field of smart machine, the more particularly to touch based on android system Event-handling method, device and equipment.
Background technology
With the progress of science and technology, on the mobile device of ARIXTRA (Android) system, touch screen reality is typically all adopted Existing display interface.Therefore, user manipulates the fluency of mobile device on the touchscreen and is just particularly important, and this is also to affect to use The very key factor of family experience.This seems especially prominent when user triggers drag operation in Touch screen, such as:Slide screen Curtain, dragging list etc..
Inventor had found in research process, smart machine of the prior art, such as smart mobile phone or panel computer The touch operation produced Deng, user typically has larger time delay, it is impossible to cling the finger that user slides in Touch screen, also not The touch event of user can quickly be made a response.
The content of the invention
Technical problems to be solved in this application are to provide a kind of touch event processing method based on android system, To solve the problems, such as in prior art for the touch operation of user has larger time delay such that it is able to cling user and touching The finger slided on screen, was quickly made a response with the touch time to user, not only improved the response speed of android system Degree, additionally it is possible to lift the experience of user.
Present invention also provides a kind of touch event processing meanss and equipment based on android system, on ensureing State method realization in practice and application.
In order to solve the above problems, this application discloses a kind of touch event processing method based on android system, bag Include:
Obtain the touch event of current triggering;
Judge whether current touch event is to press event, if pressing event, then trigger the pre- flow gauge of touch event, The pre- flow gauge of the touch event includes:Judge whether the time that last touch event occurs is big with the time difference of current time In default touch time interval, if it is greater, then according to default predicted events model prediction touch event next time;
The touch event next time of the prediction is responded as pending touch event.
Optionally, in the case of not being to press event in the current touch event, also include:
Judge whether the current touch event is release event, if it is, stop the pre- flow gauge of the touch event, If it is not, then determining that the current touch event is moving event, and judge that the moving event whether there is corresponding prediction Touch event, if it is present obtain the prediction touch event the generation position that position and the moving event occur it Between pixel value difference.
Optionally, also include:
Whether the pixel value difference is judged more than default error threshold, if it is, the prediction touch event is remembered Record as anomalous event.
Optionally, the event prediction model includes higher-order function model and linear function model, then also include:
The frequency of the anomalous event is judged whether more than predeterminated frequency threshold value, if it is, by default higher-order function Model is defined as the event prediction model used during the pre- flow gauge of trigger event next time, if it is not, then by default linear letter The event prediction model used during pre- as the trigger event next time flow gauge of exponential model.
Optionally, the current touch event is stored in event queue, then stopping the pre- flow gauge of the touch event Afterwards, also include:
Remove all touch events in the event queue.
Optionally, also include:
The default touch time interval is adjusted according to the cpu load situation of the android system.
Present invention also provides a kind of touch event processing meanss based on android system, including:
Event module is obtained, for obtaining the touch event of current triggering;
First judge module, for judging whether current touch event is to press event;
Trigger module, for when the result of first judge module is to be, triggering touch event prediction module;
Touch event prediction module includes:Judging submodule and prediction submodule, the judging submodule, for judgement Whether the time of touch event generation is more than default touch time interval, prediction with the time difference of current time Module in the result of the judging submodule in the case of being, to touch according to default predicted events model prediction next time Touch event;
Determining module, for the touch event next time of the prediction is responded as pending touch event.
Optionally, in the case of not being to press event in the current touch event, also include:
Second judge module, for judging whether the current touch event is release event;
Stopping modular, in the case of being to be in the result of second judge module, stops trigger module;
Determining module, in the case of being no in the result of second judge module, determines the current touch thing Part is moving event;
3rd judge module, for judging that the moving event whether there is corresponding prediction touch event;
Pixel value difference module is obtained, in the case of being to be in the result of the 3rd judge module, is obtained described pre- Survey the pixel value difference occurred between position that position and the moving event occur of touch event.
Optionally, also include:
4th judge module, for judging the pixel value difference whether more than default error threshold;
Logging modle, in the case of being to be in the result of the 4th judge module, by the prediction touch event It is recorded as anomalous event.
Optionally, also include:
5th judge module, for judging the frequency of the anomalous event whether more than predeterminated frequency threshold value;
First determining module, in the case of being no in the result of the 5th judge module, by default high-order letter Exponential model is defined as the event prediction model used during the pre- flow gauge of trigger event next time;
Second determining module, in the case of being to be in the result of the 5th judge module, by default linear letter The event prediction model used during pre- as the trigger event next time flow gauge of exponential model.
Optionally, the current touch event is stored in event queue, then also include:
Module is removed, for removing all touch events in the event queue.
Optionally, also include:
Adjusting module, for the cpu load situation according to the android system to the default touch time interval It is adjusted.
Compared with prior art, the application includes advantages below:
In this application, due to when the time occurred in upper once touch event is exceeded with the time difference of current time to be touched Between when be spaced, touch event next time will be predicted, so as to system can respond the touch event of the prediction, rather than Wait the touch event that actually occurs of user to be responded again, can thus solve in prior art for the touch operation of user There is larger time delay such that it is able to cling the finger that user slides in Touch screen, with the touch time to user Quickly make a response, not only improve the response speed of android system, additionally it is possible to lift the experience of user.
Description of the drawings
For the technical scheme being illustrated more clearly that in the embodiment of the present application, below will be to making needed for embodiment description Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present application, for For those of ordinary skill in the art, without having to pay creative labor, can be obtaining which according to these accompanying drawings His accompanying drawing.
Fig. 1 is a kind of flow chart of touch event processing method embodiment 1 based on android system of the application;
Fig. 2 is a kind of flow chart of touch event processing method embodiment 2 based on android system of the application;
Fig. 3 is a kind of structured flowchart of touch event processing meanss embodiment based on android system of the application.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is carried out clear, complete Site preparation is described, it is clear that described embodiment is only some embodiments of the present application, rather than the embodiment of whole.It is based on Embodiment in the application, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of the application protection.
The application can be used in numerous general or special purpose computing device environment or configuration.For example:Personal computer, service Device computer, handheld device or portable set, laptop device, multi-processor device, including any of the above device or equipment Distributed computing environment etc..
The application can be described in the general context of computer executable instructions, such as program Module.Usually, program module includes execution particular task or realizes the routine of particular abstract data type, program, object, group Part, data structure etc..The application is put into practice in a distributed computing environment can also, in these distributed computing environment, by The remote processing devices connected by communication network are performing task.In a distributed computing environment, program module can be with In local and remote computer-readable storage medium including including storage device.
With reference to Fig. 1, a kind of stream of the touch event processing method embodiment 1 based on android system of the application is shown Cheng Tu, may comprise steps of:
Step 101:Obtain the touch event of current triggering.
In the embodiment of the present application, when user triggers touch event on the touch screen of smart machine, obtain first To the touch event of user's currently triggering.Wherein, touch event is referred to Raw touch event.For example, active user opens wechat, then be accomplished by catching user in the present embodiment when front opening Slip (move) event on wechat interface.And if user has been switched to the interface of Taobao from wechat, then in such case Under the touch event that captures be exactly slip event that user is triggered on the interface of Taobao.Further for example, user is set in intelligence Slip event when switching between the multi-screen of standby desktop application, etc..
Step 102:Judge whether current touch event is to press event, if pressing event, then into step 103.
Whether the current touch event to getting in step 101 is to press event to judge, if pressing event, It is follow-up just to trigger the pre- flow gauge of touch event.In the present embodiment, touch event is divided into three kinds:Press, unclamp and move, work as product Life can trigger touch event pre- flow gauge when pressing event.
Step 103:The triggering pre- flow gauge of touch event, the pre- flow gauge of the touch event can include:Judge last Whether the time that touch event occurs is more than default touch time interval with the time difference of current time, if it is greater, then according to According to default predicted events model prediction touch event next time.
In the present embodiment, when generate press event when, the pre- flow gauge of touch event of triggering may determine that first Whether the time of touch event generation is more than a default touch time interval with the time difference of current time, for example 10ms, if this time difference is also bigger than default touch time interval, illustrates that the touch event that user produces has time delay, In this case just occur interface on touch screen drafting is discontinuous or the situation of time delay, in order to avoid such case, just Touch event next time can be predicted according to default predicted events model.For example, prediction touch event next time occurs Position, that is, predict which position on current touch interface may produce touch event.
It is understood that the numerical value of touch time interval can be by those skilled in the art are according to actual demand or answer Independently arranged with scene, for example, according to the cpu load situation of the android system to the default touch time interval It is adjusted.Wherein, if cpu load is larger, can will touch that time interval arranges accordingly is somewhat a little bit smaller, and such as Fruit cpu load is less, then can will touch the slightly larger of time interval setting accordingly.For example, when cpu load exceedes When 70%, illustrate that the speed of the touch event of system response user can be slow, then now by the default touch time Interval is adjusted to 10ms, thus can predict touch event next time faster, and if cpu load is less than or waits In 70%, illustrate that the Performance comparision of system is good, it is inherently corresponding very fast to the touch event of user, now just can be by Touch time interval and be adjusted to 20ms, less frequently touch event is predicted.Certainly, above-mentioned numerical value simply specifically shows Example, should not be construed as the restriction to the application.
Step 104:The touch event next time of the prediction is defined as into pending touch event.
Then the touch event predicted in step 103 is just defined as pending touch event by system.
Using the embodiment of the present invention, when user carries out finger on touch apparatus to slide, once touch default Touch and touch operation does not occur in time interval, will predict the position of the touch event that may occur next time, then by being The touch event to the prediction of uniting is responded.So as to faster response user's operation on the touchscreen, so not The response speed of system is only improved, the touch time of user is quickly made a response, so as to solve the touch operation of user There is larger time delay, it is also possible to which the effect of the finger that user slides in Touch screen is clung in generation, so as to improve The experience of user.
With reference to Fig. 2, a kind of stream of the touch event processing method embodiment 2 based on android system of the application is shown Cheng Tu, the present embodiment is the specific example of embodiment 1, and this specific example may comprise steps of:
Step 201:Obtain the touch event of current triggering.
Step 202:Judge whether current touch event is to press event, if pressing event, then into step 203, If not event is pressed, then into step 204.
Step 201~step 202 is consistent with embodiment 1, will not be described here.
Step 203:The pre- flow gauge of trigger event, and enter step 213.
In the present embodiment, event prediction flow process can adopt an independent prediction thread to realize.When need trigger thing When part pre- flow gauge, the independent prediction thread is just triggered.It is understood that the independent prediction thread is in triggering Afterwards, it can be determined that current setting exits mark, and whether such as user triggers release event, if it is, the prediction Thread can stop, and if user does not trigger release event, then predict that thread can be got between the default touch time Every, and get last time touch event generation time obtain time difference so as to subtract each other with current time.If the time difference is big In time interval is touched, then can call default predicted events model to generate touch event next time, if time difference does not have Have more than time interval is touched, then the independent prediction thread can enter dormancy, and the length of dormant event can be default The length at touch event interval, so as to wait user to be next time waken up when event is pressed in generation.
Step 204:Judge whether the current touch event is release event, if it is, step 205 is entered, if It is no, then into step 206.
In the present embodiment, if current touch event is not event of pressing, continuation judges that current touch event is not It is release event.
Step 205:Stop the pre- flow gauge of touch event, and remove all touch events in the event queue, terminate Current process.
If current touch event is release event, illustrate that user currently has been completed the operation to touch screen, then The pre- flow gauge of touch event can now be stopped.
In the present embodiment, the event queue of a FIFO can be set up, and touch event is preserved successively to this In event queue, then after the pre- flow gauge of touch event is stopped, the touch event in the event queue being reset, from And it is convenient when trigger the pre- flow gauge of touch event next time, then touch event is stored toward the event queue.
Step 206:Determine that the current touch event is moving event, and judge the moving event with the presence or absence of correspondence Prediction touch event, if it is present enter step 207, if it does not, terminate current process.
In current touch event neither pressing event nor in the case of release event, determining that current touch event is Mobile (move) event, then, judge that the moving event, with the presence or absence of corresponding prediction touch event, is to judge whether also have Predicted events and the moving event match.When implementing, predicted events can be put in prediction queue, when user triggers During touch event, predicted events are taken out from the head of prediction queue, can be put in event queue together with touch event.Such as No touch event in fruit prediction queue, then illustrate that the moving event does not have corresponding predicted events.
Step 207:Obtain the prediction touch event occurs between position and the generation position of the moving event Pixel value difference.
When moving event has corresponding prediction touch event, the generation position of prediction touch event is got, It is prediction abscissa X and vertical coordinate Y value of the touch event on touch-screen display interface, and same gets mobile thing The generation position of part, is abscissa X and vertical coordinate Y value of the moving event on touch-screen display interface, by both coordinates Value is subtracted each other and obtains pixel value difference.
Step 208:Whether the pixel value difference is judged more than default error threshold, if it is, step 209 is entered, If it is not, then terminating current process.
Judge whether the pixel value difference that step 207 is obtained is more than default error threshold.The error threshold can be with value as 5 ~8, generally, 5~8 pixels when user's finger is pressed, can be covered on the interface of touch screen.If it is not greater, then Terminate current process.
Step 209:The prediction touch event is recorded as into anomalous event.
When pixel value difference is more than default error threshold, for example, have been above the picture covered when user averagely touches Vegetarian refreshments region, then illustrate that this prediction touch event is relatively not accurate enough, in this case, by the prediction touch event It is recorded as anomalous event.
Step 210:Whether the frequency of the anomalous event is judged more than predeterminated frequency threshold value, if it is, entering step 211, if it is not, then entering step 212.
In actual applications, if continuously all there is anomalous event several times, the frequency for being anomalous event is more than default frequency Rate threshold value, for example, has 3 to be all anomalous event in nearest continuous 8 predictions touch event, and possible predicted events model is selected It is not accurate enough.
Step 211:The event used when default higher-order function model is defined as the pre- flow gauge of trigger event next time Forecast model, terminates current process.
When the number of times that anomalous event occurs is more, just using default higher-order function model as predicted events mould Type, in the pre- flow gauge of upper once trigger event, will predict the generation of touch event using default higher-order function model Position.
Step 212:The event used during using flow gauge default linear function model pre- as trigger event next time is pre- Model is surveyed, terminates current process.
When the number of times that anomalous event occurs is less, just using default linear function model as predicted events mould Type, in the pre- flow gauge of next trigger event, will predict the generation position of touch event using default linear function model Put.
Step 213:The touch event next time of the prediction is defined as into pending touch event.
When touch event is predicted, just using the touch event next time of prediction as pending touch event. It is follow-up in the real touch event of user and when be not transferred to input window processor, just directly in response to the touch of the prediction Event.
Using the embodiment of the present invention, response user's operation on the touchscreen that can not only be faster improves system Response speed, the touch time of user is quickly made a response, so as to the touch operation for solving user has larger time delay Problem, it is also possible to the effect of the finger that user slides in Touch screen is clung in generation, so as to improve the use body of user Test.
For aforesaid each method embodiment, in order to be briefly described, therefore which is all expressed as a series of combination of actions, but It is that those skilled in the art should know, the application is not limited by described sequence of movement, because according to the application, certain A little steps can adopt other orders or while carry out.Secondly, those skilled in the art should also know, be retouched in description The embodiment stated belongs to preferred embodiment, necessary to involved action and module not necessarily the application.
The method provided by the touch event processing method embodiment 1 based on android system a kind of with above-mentioned the application It is corresponding, referring to Fig. 3, present invention also provides a kind of touch event processing meanss embodiment 1 based on android system, In the present embodiment, can include:
Event module 301 is obtained, for obtaining the touch event of current triggering;
First judge module 302, for judging whether current touch event is to press event;
Trigger module 303, for when the result of first judge module is to be, triggering touch event prediction module 304;
Touch event prediction module 304 includes:Judging submodule 3041 and prediction submodule 3042, the judgement submodule Block, for judging whether the time of last touch event generation and the time difference of current time are more than between the default touch time Every, the prediction submodule in the result of the judging submodule in the case of being, according to default predicted events mould Type predicts touch event next time;
Determining module 305, for the touch event next time of the prediction is defined as pending touch event.
Using the embodiment of the present invention, when user carries out finger on touch apparatus to slide, once touch default Touch and touch operation does not occur in time interval, will predict the position of the touch event that may occur next time, then by being The touch event to the prediction of uniting is responded.Because system response can also take the regular hour, therefore, it is real in user Touch event also not in time transmit when with regard to response prediction touch event such that it is able to response user faster is on the touchscreen Operation, so not only improve the response speed of system, the touch time of user quickly made a response, so as to solve use There is larger time delay in the touch operation at family, it is also possible to which the effect of the finger that user slides in Touch screen is clung in generation Really, so as to improving the experience of user.
In various embodiments, the touch event in addition to the modules shown in Fig. 3, based on android system Processing meanss embodiment 2 can also specifically include:
Second judge module, for judging whether the current touch event is release event.
Stopping modular, in the case of being to be in the result of second judge module, stops trigger module.
Determining module, in the case of being no in the result of second judge module, determines the current touch thing Part is moving event.
3rd judge module, for judging that the moving event whether there is corresponding prediction touch event.
Pixel value difference module is obtained, in the case of being to be in the result of the 3rd judge module, is obtained described pre- Survey the pixel value difference occurred between position that position and the moving event occur of touch event.
4th judge module, for judging the pixel value difference whether more than default error threshold.
Logging modle, in the case of being to be in the result of the 4th judge module, by the prediction touch event It is recorded as anomalous event.
5th judge module, for judging the frequency of the anomalous event whether more than predeterminated frequency threshold value;
First determining module, in the case of being no in the result of the 5th judge module, by default high-order letter Exponential model is defined as the event prediction model used during the pre- flow gauge of trigger event next time.
Second determining module, in the case of being to be in the result of the 5th judge module, by default linear letter The event prediction model used during pre- as the trigger event next time flow gauge of exponential model.
Module is removed, for removing all touch events in the event queue.
Adjusting module, for the cpu load situation according to the android system to the default touch time interval It is adjusted.
Present invention also provides a kind of intelligence of the concrete touch screen such as equipment, the equipment such as smart mobile phone or panel computer Energy equipment, is integrated with aforesaid any one device on its CPU.
It should be noted that each embodiment in this specification is described by the way of progressive, each embodiment weight Point explanation is all difference with other embodiment, between each embodiment identical similar part mutually referring to. For device class embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, related part ginseng See the part explanation of embodiment of the method.
Finally, in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by One entity or operation are made a distinction with another entity or operation, and are not necessarily required or implied these entities or operation Between there is any this actual relation or order.And, term " including ", "comprising" or its any other variant are anticipated Covering including for nonexcludability, so that a series of process, method, article or equipment including key elements not only includes that A little key elements, but also including other key elements being not expressly set out, or also include for this process, method, article or The intrinsic key element of equipment.In the absence of more restrictions, the key element for being limited by sentence "including a ...", does not arrange Except also there is other identical element in including the process of the key element, method, article or equipment.
Safety access method above to a kind of ECU provided herein, ECU and host computer are described in detail, Specific case used herein is set forth to the principle and embodiment of the application, and the explanation of above example is simply used The present processes and its core concept are understood in help;Simultaneously for one of ordinary skill in the art, according to the application's Thought, will change in specific embodiments and applications, and in sum, this specification content should not be construed as Restriction to the application.

Claims (6)

1. a kind of touch event processing method based on android system, it is characterised in that include:
Obtain the touch event of current triggering;
Judge whether current touch event is to press event, if pressing event, then trigger the pre- flow gauge of touch event, it is described The pre- flow gauge of touch event includes:Judge whether the time that last touch event occurs is more than in advance with the time difference of current time If touch time interval, if it is greater, then according to default predicted events model prediction touch event next time;The prediction Event model includes higher-order function model and linear function model;
If not event of pressing, then judge whether the current touch event is release event, if the event of release, then stop The only pre- flow gauge of touch event;If not the event of release, it is determined that the current touch event is moving event, and judges institute Moving event is stated with the presence or absence of corresponding prediction touch event, if it is present obtaining the generation position of the prediction touch event Put and the pixel value difference between the generation position of the moving event, and judge the pixel value difference whether more than default error Threshold value, if no more than described error threshold, terminates current process;If greater than the error threshold, then by the prediction Touch event is recorded as anomalous event, and judges whether the frequency of the anomalous event is more than predeterminated frequency threshold value, if greater than The predeterminated frequency threshold value, the then thing used when default higher-order function model being defined as the pre- flow gauge of trigger event next time Part forecast model, if no more than described predeterminated frequency threshold value, using default linear function model as triggering thing next time The event prediction model used during the pre- flow gauge of part;
The touch event next time of the prediction is defined as into pending touch event.
2. method according to claim 1, it is characterised in that the current touch event is stored in event queue, then After the pre- flow gauge of the touch event is stopped, also including:
Remove all touch events in the event queue.
3. the method according to any one of claim 1~2, it is characterised in that also include:
The default touch time interval is adjusted according to the cpu load situation of the android system.
4. a kind of touch event processing meanss based on android system, it is characterised in that include:
Event module is obtained, for obtaining the touch event of current triggering;
First judge module, for judging whether current touch event is to press event;
Trigger module, for when the result of first judge module is to be, triggering touch event prediction module;
Touch event prediction module includes:Judging submodule and prediction submodule, the judging submodule, for judging the last time Whether the time that touch event occurs is more than default touch time interval, the prediction submodule with the time difference of current time In the case of being to be in the result of the judging submodule, thing is touched next time according to default predicted events model prediction Part;
Second judge module, for the result in first judge module for it is no when, whether judge the current touch event To unclamp event;
Stopping modular, in the case of being to be in the result of second judge module, stops trigger module;
Determining module, in the case of being no in the result of second judge module, determines that the current touch event is Moving event;
3rd judge module, for judging that the moving event whether there is corresponding prediction touch event;
Pixel value difference module is obtained, for touching in the case of being, to obtain the prediction in the result of the 3rd judge module Touch the pixel value difference occurred between position that position and the moving event occur of event;
4th judge module, for judging the pixel value difference whether more than default error threshold;
Logging modle, in the case of being to be in the result of the 4th judge module, by the prediction touch event record For anomalous event;
5th judge module, for judging the frequency of the anomalous event whether more than predeterminated frequency threshold value;
First determining module, in the case of being no in the result of the 5th judge module, by default higher-order function mould Type is defined as the event prediction model used during the pre- flow gauge of trigger event next time;
Second determining module, in the case of being to be in the result of the 5th judge module, by default linear function mould The event prediction model used during pre- as the trigger event next time flow gauge of type;
Determining module, for the touch event next time of the prediction is defined as pending touch event.
5. device according to claim 4, it is characterised in that the current touch event is stored in event queue, then Also include:
Module is removed, for removing all touch events in the event queue.
6. the device according to any one of claim 4~5, it is characterised in that also include:
Adjusting module, for carrying out to the default touch time interval according to the cpu load situation of the android system Adjustment.
CN201410288685.4A 2014-06-24 2014-06-24 Event processing method, device and equipment based on Android system Active CN104035714B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410288685.4A CN104035714B (en) 2014-06-24 2014-06-24 Event processing method, device and equipment based on Android system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410288685.4A CN104035714B (en) 2014-06-24 2014-06-24 Event processing method, device and equipment based on Android system

Publications (2)

Publication Number Publication Date
CN104035714A CN104035714A (en) 2014-09-10
CN104035714B true CN104035714B (en) 2017-05-03

Family

ID=51466497

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410288685.4A Active CN104035714B (en) 2014-06-24 2014-06-24 Event processing method, device and equipment based on Android system

Country Status (1)

Country Link
CN (1) CN104035714B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105912319B (en) * 2016-03-31 2019-03-12 百度在线网络技术(北京)有限公司 The method and apparatus of the Reverse Turning Control mobile terminal page
CN108055405B (en) * 2017-12-26 2020-12-15 重庆传音通讯技术有限公司 Terminal and method for awakening same
CN112748845B (en) * 2019-10-31 2022-05-13 屈国栋 Control method and device, electronic equipment and display system
CN113448482B (en) * 2020-03-25 2024-09-13 华为技术有限公司 Sliding response control method and device of touch screen and electronic equipment
CN114103845B (en) * 2022-01-25 2022-04-15 星河智联汽车科技有限公司 Vehicle central control screen operator identity recognition method and device and vehicle
CN116909433A (en) * 2023-09-12 2023-10-20 宁波普瑞均胜汽车电子有限公司 Touch event detection method, device and system and computer equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609130A (en) * 2010-12-29 2012-07-25 微软公司 Touch event anticipation in a computing device
CN102622127A (en) * 2011-02-12 2012-08-01 微软公司 Prediction-based touch contact tracking
CN103403665A (en) * 2012-08-29 2013-11-20 华为终端有限公司 Instruction-obtaining method for a terminal device and terminal device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6323846B1 (en) * 1998-01-26 2001-11-27 University Of Delaware Method and apparatus for integrating manual input

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609130A (en) * 2010-12-29 2012-07-25 微软公司 Touch event anticipation in a computing device
CN102622127A (en) * 2011-02-12 2012-08-01 微软公司 Prediction-based touch contact tracking
CN103403665A (en) * 2012-08-29 2013-11-20 华为终端有限公司 Instruction-obtaining method for a terminal device and terminal device

Also Published As

Publication number Publication date
CN104035714A (en) 2014-09-10

Similar Documents

Publication Publication Date Title
CN104035714B (en) Event processing method, device and equipment based on Android system
US8276085B2 (en) Image navigation for touchscreen user interface
CN104364734B (en) Remote session control using multi-touch inputs
US8890825B2 (en) Apparatus and method for determining the position of user input
US20130044062A1 (en) Method and apparatus for translating between force inputs and temporal inputs
CN105518587B (en) Terminal device display methods and terminal device
CN103995660B (en) The method and device of touch screen browser switch window
CN107122111A (en) The conversion of touch input
CN111831182B (en) Application icon control method and device and electronic equipment
KR20130011437A (en) Method and apparatus for managing icon in portable terminal
JP2014522054A5 (en)
CN102117140A (en) Touch processing method and mobile terminal
US20150286283A1 (en) Method, system, mobile terminal, and storage medium for processing sliding event
CN103793137A (en) Display method and electronic device
WO2021164460A1 (en) Touch response method and apparatus, electronic device, and storage medium
US20090160794A1 (en) Method for Scroll Control on Window by a Touch Panel
CN109144370A (en) A kind of screenshotss method, apparatus, terminal and computer-readable medium
WO2014056338A1 (en) Method and device for interaction of list data of mobile terminal
CN104461312A (en) Display control method and electronic equipment
CN105824491A (en) Split screen processing method and device in mobile equipment
CN104267812B (en) A kind of information processing method and electronic equipment
CN103513871B (en) The method and apparatus of control mobile terminal
CN112269501A (en) Icon moving method and device and electronic equipment
CN105468182A (en) Virtual keyboard displaying system and method
CN107092433B (en) Touch control method and device of touch control all-in-one machine

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20190822

Address after: 401120, Chongqing, Yubei District, Xiantao street, No. 19 East Valley Road

Patentee after: Zhongke Chuang Da (Chongqing) Automotive Technology Co., Ltd.

Address before: 100191 Beijing Haidian District Lung Cheung Road No. 1 Tai Xiang business building 4 layer 401-409

Patentee before: Thunder Software Technology Co., Ltd.

TR01 Transfer of patent right