CN102929433A - Method for reducing dragging delay on embedded device through contact prediction - Google Patents
Method for reducing dragging delay on embedded device through contact prediction Download PDFInfo
- Publication number
- CN102929433A CN102929433A CN201210439278XA CN201210439278A CN102929433A CN 102929433 A CN102929433 A CN 102929433A CN 201210439278X A CN201210439278X A CN 201210439278XA CN 201210439278 A CN201210439278 A CN 201210439278A CN 102929433 A CN102929433 A CN 102929433A
- Authority
- CN
- China
- Prior art keywords
- prediction
- module
- contact
- responsible
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Position Input By Displaying (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a method for reducing dragging delay on an embedded device through contact prediction and belongs to the technical field of electric information. The method can determine a dragging motion through the contact prediction and dynamically adjust prediction distance according to user dragging speed. A system for implementing the method comprises a sampling module, a storage module, analysis prediction modules and an output module, wherein the sampling module is responsible for sampling at a certain frequency and scanning whether user click exists or not, the storage module is responsible for storing contact occurring time and contact position coordinate information relative to a touch screen, one analysis prediction module is responsible for fitting existing information, the other analysis prediction module is responsible for performing corresponding prediction for a dragging terminal point according to tracks after the fitting, and the output module is responsible for outputting the predicted terminal point position information. The method has the advantages that the dragging function on the whole touchpad can be achieved, the accurate prediction is achieved, the operation is simple, the method is convenient and efficient, the accuracy is high, the timeliness is high, and the like. Beside, the method can be widely applied to modern embedded devices and has excellent universality and practicability.
Description
Technical field
The present invention relates to a kind of the prediction by the contact and reduce the method that pulls delay on the embedded device, belong to electronic information technical field.
Background technology
Touch control induction equipment has been widely used on the embedded devices such as digital processing, mobile phone, palm PC, flat computer now.Touch control induction equipment provides the user and slides or the input equipment of contact at contact panel by hand or electric conductivity object (for example felt pen), cursor is produced relatively move and supports other extensibility functions.
The method that traditional realization pulls, to find the touch-control event by sampling, then put it into a pretreatment module, again these events being put into successively an event queue in this module goes, each event is processed accordingly, also be untreated but previous event will occur in processing procedure, this phenomenon has just occured in a rear event.Such treatment mechanism will be brought the delay of processing, and showing is exactly that the user exists delay phenomenon when carrying out drag motions.For embedded device, by for the research of the treatment mechanism that pulls the time and by a large amount of experiments, find that when carrying out drag motions, often there is the delay of 50-70ms in the user when pulling especially fast.That is to say that when the user carried out drag motions, finger position and picture mark position were asynchronous, screen can not be immediately following the track that drags of finger, but has certain distance, Here it is delay phenomenon.This delay phenomenon can cause very bad user to experience when the user uses.Existingly can be used for reducing the technology that pulls delay and exist again and can only realize drag motions, and can not predict and can not be according to deficiencies such as user moving speed dynamic adjustments prediction distances by the contact, the patent No. such as the application of the vast auspicious Electronics Co., Ltd. in Suzhou is 101482797A, and denomination of invention namely belongs to these row for the patent of " realize pull at touch control induction equipment method ".On the basis of this problem, propose a kind of by pulling the method for delay on the contact prediction reduction embedded device.Dope by the state to previous experience analysis and active user and to pull track and to determine the destination, and the speed dynamic adjustments prediction distance that can pull according to the user.By this Forecasting Methodology, can reduce time delay greatly.For the width of finger itself, as long as can ignore this error when predicting the outcome less than a suitable value, thereby reach the zero-lag state, greatly improve user experience.
Summary of the invention
Defective and deficiency for existing background technology existence, the present invention proposes a kind of by pulling the method for delay on the contact prediction reduction embedded device, be intended to solve the user and when using embedded device to carry out drag motions, have the problem that postpones, improve the user and experience.
Technical scheme of the present invention is as follows:
A kind of by pulling the method for delay on the contact prediction reduction embedded device, realized by following system, this system comprises sampling module, memory module, analyses and prediction module, output module, and wherein sampling module is responsible for sampling with certain frequency, and whether scanning has the user to click; Memory module is responsible for storing time that the contact occurs, contact with respect to position (being the position coordinates of the contact) relevant information of touch-screen; The analyses and prediction module is divided into two ones, is responsible for for one one existing information is carried out match, and another one is responsible for making corresponding prediction according to the track after the match to pulling terminal point; Output module is responsible for the endpoint information of the prediction of output; The method mainly comprises by the contact predicts to judge the method for drag motions and the method for the speed dynamic adjustments prediction distance that pulls according to the user, wherein predicts to judge the method for drag motions by the contact, and step is as follows:
A1) beginning;
A2) in counter, preset counting reference value N1 and offset deviation reference value Y1;
A3) sampling module scanning discovery user click event;
A4) built-in counter begins to record sampling number in the sampling module; If the sampling number of counter records is less than predefined counting reference value N1, and the displacement of contact is less than predefined offset deviation reference value Y1 within the time of sampling interval, judge that then the user leaves, otherwise judge that drag motions occurs, and contact time of origin and positional information are put into memory module;
A5) finish;
The method of the speed dynamic adjustments prediction distance that pulls according to the user, step is as follows:
B1) beginning;
B2) memory module outputs to the analyses and prediction module with corresponding contact information;
B3) the analyses and prediction module is carried out match according to existing information to pulling track;
B4) the speed dynamic adjustments prediction distance that pulls according to result and the user of match of analyses and prediction module, if greatly then prediction distance is long for the speed that the user pulls, the little then prediction distance of speed is short, and dopes and pull terminal point;
The endpoint information that pulls that b5) will dope is imported output module into;
B6) output module is determined cursor position according to endpoint information;
B7) finish.
Whether the present invention at first sampling module has touch object touching Trackpad to contact panel scanning, detection at a certain time interval, wherein sampled point is to determine according to sampling time and sample frequency, if the sampled value that detects is not undergone mutation, then any action can not done by system; Undergo mutation if detect sampled value, just expression has detected user click event.After having detected the user and having clicked, counter in the sampling module will record from the sampling number of sampled value sudden change beginning, then the information in the counter is judged, if the sampling number N of counter records presets less than this value of counting reference value N1(), and the displacement Y of contact presets less than this value of offset deviation reference value Y1(within the time of sampling interval), judge that then the user leaves, otherwise judge that drag motions occurs, and contact time of origin and positional information put into memory module, finish and pull judgement this moment.
The present invention is as follows according to the method for the speed dynamic adjustments prediction distance that the user pulls, at first, memory module outputs to the analyses and prediction module with corresponding contact information, the analyses and prediction module is analyzed each contact according to the information of each contact, because contact panel can continue scanning, detect the deformation trace of touch object, so when carrying out drag motions, when touch object (following with finger replace) when contact panel has moved a segment distance, movement along with finger, formed the sampled point of a series of deformation trace, and any two adjacent sampled points all can consist of a vector, and direction that should vector to be exactly finger pull mobile direction, the mould of the vector that current neighbouring sample point consists of with point the speed that pulls and be directly proportional.Then according to these information existing sampled point is carried out match, and then analyze current motion track, then dynamically determine prediction distance (speed that the user pulls greatly then prediction distance is long, if the little then prediction distance of speed is short) according to the translational speed of finger, dope at last and pull terminal point.The analyses and prediction module sends to output module to the positional information of the terminal point of prediction, and output module is determined cursor position according to endpoint information, finishes prediction.
Beneficial effect of the present invention and characteristics are for reducing the method that pulls delay on the embedded device by the contact prediction, can realize drag function at whole contact panel, and by accurately prediction, solved the user and pointed mobile and the nonsynchronous problem of cursor movement.The dirigibility, practicality and the user experience that use have greatly been increased.By detecting position and the user moving speed dynamic adjustments prediction distance of contact, have high, the ageing advantage such as strong of simple to operate, convenient and efficient, accuracy, and can be widely used in modern embedded device, have preferably popularization and practicality.
Embodiment
The present invention will be further described below in conjunction with embodiment, but be not limited to this.
Embodiment:
A kind of by pulling the method for delay on the contact prediction reduction embedded device, realized by following system, this system comprises sampling module, memory module, analyses and prediction module, output module, and wherein sampling module is responsible for sampling with certain frequency, and whether scanning has the user to click; Memory module is responsible for storing time that the contact occurs, contact with respect to position (being the position coordinates of the contact) relevant information of touch-screen; The analyses and prediction module is divided into two ones, is responsible for for one one existing information is carried out match, and another one is responsible for making corresponding prediction according to the track after the match to pulling terminal point; Output module is responsible for the endpoint information of the prediction of output; The method mainly comprises by the contact predicts to judge the method for drag motions and the method for the speed dynamic adjustments prediction distance that pulls according to the user, wherein predicts to judge the method for drag motions by the contact, and step is as follows:
A1) beginning;
A2) in counter, preset counting reference value N1 and offset deviation reference value Y1;
A3) sampling module scanning discovery user click event;
A4) built-in counter begins to record sampling number in the sampling module; If the sampling number of counter records is less than predefined counting reference value N1, and the displacement of contact is less than predefined offset deviation reference value Y1 within the time of sampling interval, judge that then the user leaves, otherwise judge that drag motions occurs, and contact time of origin and positional information are put into memory module;
A5) finish;
The method of the speed dynamic adjustments prediction distance that pulls according to the user, step is as follows:
B1) beginning;
B2) memory module outputs to the analyses and prediction module with corresponding contact information;
B3) the analyses and prediction module is carried out match according to existing information to pulling track;
B4) the speed dynamic adjustments prediction distance that pulls according to result and the user of match of analyses and prediction module is if the user pulls
Speed greatly then prediction distance is long, the little then prediction distance of speed is short, and dopes and pull terminal point;
The endpoint information that pulls that b5) will dope is imported output module into;
B6) output module is determined cursor position according to endpoint information;
B7) finish.
Claims (1)
1. method that reduces to pull delay on the embedded device by contact prediction, realized by following system, this system comprises sampling module, memory module, analyses and prediction module, output module, and wherein sampling module is responsible for sampling with certain frequency, and whether scanning has the user to click; Memory module is responsible for storing time that the contact occurs, contact with respect to the location dependent information of touch-screen; The analyses and prediction module is divided into two ones, is responsible for for one one existing information is carried out match, and another one is responsible for making corresponding prediction according to the track after the match to pulling terminal point; Output module is responsible for the endpoint information of the prediction of output; The method mainly comprises by the contact predicts to judge the method for drag motions and the method for the speed dynamic adjustments prediction distance that pulls according to the user, wherein predicts to judge the method for drag motions by the contact, and step is as follows:
A1) beginning;
A2) in counter, preset counting reference value N1 and offset deviation reference value Y1;
A3) sampling module scanning discovery user click event;
A4) built-in counter begins to record sampling number in the sampling module; If the sampling number of counter records is less than predefined counting reference value N1, and the displacement of contact is less than predefined offset deviation reference value Y1 within the time of sampling interval, judge that then the user leaves, otherwise judge that drag motions occurs, and contact time of origin and positional information are put into memory module;
A5) finish;
The method of the speed dynamic adjustments prediction distance that pulls according to the user, step is as follows:
B1) beginning;
B2) memory module outputs to the analyses and prediction module with corresponding contact information;
B3) the analyses and prediction module is carried out match according to existing information to pulling track;
B4) the speed dynamic adjustments prediction distance that pulls according to result and the user of match of analyses and prediction module, if greatly then prediction distance is long for the speed that the user pulls, the little then prediction distance of speed is short, and dopes and pull terminal point;
The endpoint information that pulls that b5) will dope is imported output module into;
B6) output module is determined cursor position according to endpoint information;
B7) finish.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210439278XA CN102929433A (en) | 2012-11-06 | 2012-11-06 | Method for reducing dragging delay on embedded device through contact prediction |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210439278XA CN102929433A (en) | 2012-11-06 | 2012-11-06 | Method for reducing dragging delay on embedded device through contact prediction |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102929433A true CN102929433A (en) | 2013-02-13 |
Family
ID=47644258
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210439278XA Pending CN102929433A (en) | 2012-11-06 | 2012-11-06 | Method for reducing dragging delay on embedded device through contact prediction |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102929433A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103268194A (en) * | 2013-04-18 | 2013-08-28 | 广州视睿电子科技有限公司 | Delay time testing method and testing tool for interactive intelligent tablet computer |
WO2018098960A1 (en) * | 2016-12-01 | 2018-06-07 | 华为技术有限公司 | Method for operating touchscreen device, and touchscreen device |
CN108885536A (en) * | 2017-03-07 | 2018-11-23 | 华为技术有限公司 | One kind is with chiral compensation method, device and terminal device |
CN109254708A (en) * | 2018-09-27 | 2019-01-22 | 努比亚技术有限公司 | Application icon control method, device and computer readable storage medium |
CN113311984A (en) * | 2020-02-27 | 2021-08-27 | 北京小米移动软件有限公司 | Touch screen track data processing method and device, mobile terminal and electronic equipment |
CN113448482A (en) * | 2020-03-25 | 2021-09-28 | 华为技术有限公司 | Sliding response control method and device of touch screen and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1185844A (en) * | 1996-03-28 | 1998-06-24 | 辛纳普蒂克斯有限公司 | Object position detector with edge motion feature and gesture recognition |
CN2655331Y (en) * | 2003-10-22 | 2004-11-10 | 仁宝电脑工业股份有限公司 | Touch-controlling input device for electronic device |
CN1624631A (en) * | 2003-12-04 | 2005-06-08 | 陞达科技股份有限公司 | Method of identifying drag gesture and controller |
CN101661350A (en) * | 2009-07-16 | 2010-03-03 | 苏州瀚瑞微电子有限公司 | Touch method of dragging and drag prolonging on touch panel |
CN101751195A (en) * | 2009-12-30 | 2010-06-23 | 中兴通讯股份有限公司 | Method and device for controlling move event on resistive touch screen |
-
2012
- 2012-11-06 CN CN201210439278XA patent/CN102929433A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1185844A (en) * | 1996-03-28 | 1998-06-24 | 辛纳普蒂克斯有限公司 | Object position detector with edge motion feature and gesture recognition |
CN2655331Y (en) * | 2003-10-22 | 2004-11-10 | 仁宝电脑工业股份有限公司 | Touch-controlling input device for electronic device |
CN1624631A (en) * | 2003-12-04 | 2005-06-08 | 陞达科技股份有限公司 | Method of identifying drag gesture and controller |
CN101661350A (en) * | 2009-07-16 | 2010-03-03 | 苏州瀚瑞微电子有限公司 | Touch method of dragging and drag prolonging on touch panel |
CN101751195A (en) * | 2009-12-30 | 2010-06-23 | 中兴通讯股份有限公司 | Method and device for controlling move event on resistive touch screen |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103268194A (en) * | 2013-04-18 | 2013-08-28 | 广州视睿电子科技有限公司 | Delay time testing method and testing tool for interactive intelligent tablet computer |
CN103268194B (en) * | 2013-04-18 | 2016-01-20 | 广州视睿电子科技有限公司 | A kind of method of testing and testing tool time delay of interactive intelligent tablet computer |
WO2018098960A1 (en) * | 2016-12-01 | 2018-06-07 | 华为技术有限公司 | Method for operating touchscreen device, and touchscreen device |
CN108885536A (en) * | 2017-03-07 | 2018-11-23 | 华为技术有限公司 | One kind is with chiral compensation method, device and terminal device |
CN109254708A (en) * | 2018-09-27 | 2019-01-22 | 努比亚技术有限公司 | Application icon control method, device and computer readable storage medium |
CN109254708B (en) * | 2018-09-27 | 2022-01-14 | 努比亚技术有限公司 | Application icon control method and device and computer readable storage medium |
CN113311984A (en) * | 2020-02-27 | 2021-08-27 | 北京小米移动软件有限公司 | Touch screen track data processing method and device, mobile terminal and electronic equipment |
CN113448482A (en) * | 2020-03-25 | 2021-09-28 | 华为技术有限公司 | Sliding response control method and device of touch screen and electronic equipment |
WO2021190314A1 (en) * | 2020-03-25 | 2021-09-30 | 华为技术有限公司 | Sliding response control method and apparatus of touch screen, and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102929433A (en) | Method for reducing dragging delay on embedded device through contact prediction | |
CN102402329B (en) | For parametrization and the method identifying circumference gesture in touch sensitive surface | |
US7701447B2 (en) | Method for multiple objects detection on a capacitive touchpad | |
CN102662462B (en) | Electronic installation, gesture identification method and gesture application process | |
CN101464750B (en) | Method for gesture recognition through detecting induction area of touch control panel | |
CN101882042B (en) | Palm judgment method of capacitive touch screen | |
US8692802B1 (en) | Method and apparatus for calculating coordinates with high noise immunity in touch applications | |
US20110242025A1 (en) | Hand Gesture Recognition Method for Touch Panel and Associated Apparatus | |
CN101482797B (en) | Method for implementing drag-and-draw function on touch control induction equipment | |
CN101556501B (en) | Computer mouse simulation system and method | |
CN103513811A (en) | Touch trajectory tracking method | |
US8810546B1 (en) | Touchscreen panel frequency response determination | |
CN105335089A (en) | Page switch method and device based on intelligent terminal | |
CN101458610B (en) | Control method for multi-point touch control controller | |
CN101727242A (en) | Method for sensing multiclutch on touch panel | |
CN101667077B (en) | Method for identifying single-click, double-click and drag motions and controller of touch device | |
CN101308414B (en) | Touch screen display processing method | |
Lin et al. | Tracking touched trajectory on capacitive touch panels using an adjustable weighted prediction covariance matrix | |
Park et al. | Maximizing responsiveness of touch sensing via charge multiplexing in touchscreen devices | |
CN103092498A (en) | Method and device for determining response mode and electronic device | |
CN102231091A (en) | Method and equipment for realizing multi-point recognition based on single-point touch screen | |
CN102214028B (en) | Gesture recognition method and device for touch panel | |
CN105892895A (en) | Multi-finger sliding gesture recognition method and device as well as terminal equipment | |
CN108418908A (en) | A kind of mobile phone right-hand man operates identification device and method | |
CN101661350A (en) | Touch method of dragging and drag prolonging on touch panel |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20130213 |