CN103472946B - A kind of dynamic conditioning touch-screen reports the method for speed - Google Patents

A kind of dynamic conditioning touch-screen reports the method for speed Download PDF

Info

Publication number
CN103472946B
CN103472946B CN201310385235.2A CN201310385235A CN103472946B CN 103472946 B CN103472946 B CN 103472946B CN 201310385235 A CN201310385235 A CN 201310385235A CN 103472946 B CN103472946 B CN 103472946B
Authority
CN
China
Prior art keywords
touch
screen
speed
reports
finger
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
CN201310385235.2A
Other languages
Chinese (zh)
Other versions
CN103472946A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201310385235.2A priority Critical patent/CN103472946B/en
Publication of CN103472946A publication Critical patent/CN103472946A/en
Application granted granted Critical
Publication of CN103472946B publication Critical patent/CN103472946B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of method that dynamic conditioning touch-screen reports speed, comprise the following steps: (1) sets a detection time, according to the maximal value of the finger number that finger single on touch-screen reports the initial settings of speed and tactile touch-screen same time to identify, obtain the threshold value of the coordinate points number that application layer receives in detection time; (2) the coordinate points number threshold value received according to application layer in step (1) sets the setting value n that is less than threshold value 1; (3) within detection time, the current finger number touched of touch screen terminal identification; What shield single finger according to current touch reports speed, and touch screen terminal calculates the coordinate points number n that in detection time, application layer receives; (4) by n and n 1compare: if n 1when being greater than n, then that reduces that current touch shields single finger reports speed; If n 1when being less than n, then what raise that current touch shields single finger reports speed; What the present invention can adjust touch-screen dynamically reports speed, ensures the touch effect of touch-screen.

Description

A kind of dynamic conditioning touch-screen reports the method for speed
Technical field
The present invention relates to touching technique, particularly a kind of dynamic conditioning touch-screen reports the method for speed.
Background technology
Touch-screen is all report speed 80 points/second with fixing, coordinate points is reported to application layer, that is when finger slides on the touchscreen time, for each finger, touch-screen per secondly can report 80 point coordinate information to application layer, for otiose touch coordinate dot information, also according to 80 points/second reported data, take main frame ample resources.If refer to touch more, such as 5 fingers slide on the touchscreen simultaneously, application layer so per second will receive the touch coordinate dot information of about 400, and this will cause great burden to system, cause the problem that the not smooth card of system cloud gray model pauses, even lost part touch information.
The Chinese invention patent being CN101930319 at notification number discloses a kind of touch information reporting method of touch screen, and the method calculates the distance of previous frame touch point and present frame touch point according to the coordinate of the coordinate of previous frame touch point and present frame touch point; Determine the frequency reported according to the size of described distance, described distance is less, and the frequency reported is lower, and described distance is larger, and the frequency reported is higher.The method mainly adjusts according to the speed of touch point movement the frequency reported, and when the speed of touch point movement is slower, reduces the frequency reported, and can reduce the impact taking and run main frame on host resource.But in the method, when acting on touch-screen by multiple finger, and the touch speed of each finger (i.e. the speed of touch point movement) is than time very fast, still the problem causing application layer to cause system processing load excessive because receiving too many coordinate points number is easy to, therefore the method is only suitable for using within the unit interval, touch point number is few, is not suitable for using when referring to quick touch more.
Summary of the invention
The object of the invention is to overcome the shortcoming of prior art and deficiency, a kind of dynamic conditioning touch-screen is provided to report the method for speed, the method under referring to the state touched more, the speed that dynamic adjustment touch-screen reports, namely meet the touch-screen needs referring to touch more, touch screen terminal card can not be made again to pause.
Object of the present invention is achieved through the following technical solutions: a kind of dynamic conditioning touch-screen reports the method for speed, comprises the following steps:
(1) set a detection time, report the initial settings v of speed according to finger single on touch-screen maxand the maximal value of finger number that the touch-screen same time can identify, obtain the threshold value of the coordinate points number that application layer receives in detection time;
(2) the coordinate points number threshold value received according to application layer in step (1) sets the setting value n that is less than threshold value 1;
(3) within detection time, the current finger number touched of touch screen terminal identification; What shield single finger according to current touch reports speed, and touch screen terminal calculates the coordinate points number n that in detection time, application layer receives;
(4) coordinate points number n application layer in detection time in step (3) received and setting value n 1compare:
If setting value n 1when being greater than n, then that reduces that current touch shields single finger reports speed;
If setting value n 1when being less than n, then what raise that current touch shields single finger reports speed;
The single finger after adjusting is made to report speed to be adjusted to v now:
v n o w = a , a < v m a x v m a x , a &GreaterEqual; v m a x ;
Wherein a is:
a = n 1 t f ;
Wherein t is detection time, and f is the current finger number touched of touch screen terminal identification.
Preferably, the threshold value n of the coordinate points number that application layer receives in the detection time obtained in described step (1) maxfor:
n max=v max.f max.t;
Wherein v maxfor the initial settings reporting speed of finger single on touch-screen, namely the maximum of touch-screen reports speed; Described f maxfor the maximal value of the finger number that the touch-screen same time can identify, t is detection time.
Further, in described step (3), the coordinate points number n that the application layer of touch screen terminal receives within detection time is:
n=v.f.t;
Wherein v be current touch shield single finger report speed, f is the current finger number touched of touch screen terminal identification.
Further, described detection time, t was 0.1 second, and described touch-screen reports the initial settings v of speed maxbe 80 points/second, the maximal value f of the finger number that the described touch-screen same time can identify maxbe 5, then the detection time obtained the coordinate points number that application layer receives in t threshold value n maxbe 40 points.
Further, described setting value n 1for in detection time t not taking system ample resources, cause system card pause premised on time the application layer coordinate points number that receives, described setting value n 1be 24 points.
Preferably, the speed that reports of described touch-screen reports register to adjust by touch screen terminal.
The present invention has following advantage and effect relative to prior art:
(1) the report speed of coordinate points number to touch-screen that the present invention receives according to application layer in current sensing time carries out dynamic adjustment in real time; When the coordinate points number that application layer receives within detection time is greater than setting value, that then reduces single finger on touch-screen reports speed, bear with mitigation system, the coordinate points number avoiding application layer to receive too large quantity is run touch screen terminal and is caused burden, thus causes touch screen terminal to occur running not smooth and blocking phenomenons such as timing; When the coordinate points number that application layer receives within detection time is less than setting value, on rising touch-screen, single finger reports speed, to guarantee the work efficiency of touch screen terminal.What the inventive method adjusted the single finger of touch-screen in real time according to coordinate points number received in application layer detection time reports speed, ensure to refer to touch the burden that effectively can reduce system when bringing coordinate points number to report too much, ensure to touch effect more.Report the adjustment of speed both can not affect the touch effect of touch-screen by the inventive method touch-screen, the card of system can not be caused again to pause, also can promote the experience of user simultaneously.
(2) setting value in the inventive method not taking system ample resources, cause system card pause premised on lower set, after therefore ensure that touch-screen reports speed to adjust, touch effect unaffected.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the inventive method.
Embodiment
Below in conjunction with embodiment and accompanying drawing, the present invention is described in further detail, but embodiments of the present invention are not limited thereto.
Embodiment
As shown in Figure 1, present embodiment discloses a kind of method that dynamic conditioning touch-screen reports speed, comprise the following steps:
(1) set a detection time, report the initial settings v of speed according to finger single on touch-screen maxand the maximal value f of finger number that the touch-screen same time can identify max, obtain the threshold value n of the coordinate points number that application layer receives in t detection time maxfor:
n max=v max.f max.t;
V maxfor touch-screen reports the initial settings of speed, namely the maximum of touch-screen reports speed, f maxfor the maximal value of the finger number that the touch-screen same time can identify, t is detection time.V in the present embodiment max=80 points/second, t=0.1S, f max=5; Therefore n maxbe 40.
(2) according to establishing threshold value n maxset one and be less than threshold value n maxsetting value n 1, wherein n 1to refer in detection time not taking system ample resources, cause system card pause premised on time the application layer coordinate points number that receives.
(3) in detection time t=0.1S, the current finger number f touched of touch screen terminal identification; Report speed v according to current touch screen, touch screen terminal calculates the coordinate points number n that application layer receives in detection time, and the coordinate points number n that wherein in the present embodiment, the application layer of touch screen terminal receives in detection time t is:
n=v.f.t;
V be current touch shield single finger touch report speed, f is the current finger number touched of touch screen terminal identification.
(4) coordinate points number n application layer in step (3) t middle detection time received and the setting value n of coordinate points number 1compare:
If setting value n 1when being greater than n, then by touch screen terminal report register to reduce current touch shields single finger reports speed;
If setting value n 1when being less than n, then touch screen terminal report register to raise current touch shields single finger reports speed;
The single finger after adjusting is made to report speed to be adjusted to v now:
v n o w = a , a < v m a x v m a x , a &GreaterEqual; v m a x ;
Wherein a is:
a = n 1 t f ;
Setting value n in the present embodiment 1be 24 points, v max=80 points/second.
The coordinate points number n that in time t, application layer receives if detect in step (3) is 32, and the current finger number f touched of touch screen terminal identification is 4, then current each finger reports speed to be 80 points/second, now setting value n 1being less than n, needing by reducing the coordinate points number reporting the mode of speed to reduce application layer to receive; Calculating a by step (4) is 60, and now the value of a is less than v max, therefore finger reports speed to be adjusted to v from 80 points/second now=a=60.
The coordinate points number n that in time t, application layer receives if detect in step (3) is 20, and the current finger number f touched of touch screen terminal identification is 2, then current each finger reports speed to be 40 points/second, now setting value n 1being greater than n, needing by raising the coordinate points number reporting the mode of speed to increase application layer to receive, to ensure the work efficiency of touch-screen; Calculating a by step (4) is 120, now meets a>=v max, be report speed to be adjusted to v by finger now=60 points/second.
Above-described embodiment is the present invention's preferably embodiment; but embodiments of the present invention are not restricted to the described embodiments; change, the modification done under other any does not deviate from Spirit Essence of the present invention and principle, substitute, combine, simplify; all should be the substitute mode of equivalence, be included within protection scope of the present invention.

Claims (6)

1. dynamic conditioning touch-screen reports a method for speed, it is characterized in that, comprises the following steps:
(1) set a detection time, report the initial settings v of speed according to finger single on touch-screen maxand the maximal value of finger number that the touch-screen same time can identify, obtain the threshold value of the coordinate points number that application layer receives in detection time;
(2) the coordinate points number threshold value received according to application layer in step (1) sets the setting value n that is less than threshold value 1;
(3) within detection time, the current finger number touched of touch screen terminal identification; What shield single finger according to current touch reports speed, and touch screen terminal calculates the coordinate points number n that in detection time, application layer receives;
(4) coordinate points number n application layer in detection time in step (3) received and setting value n 1compare:
If setting value n 1when being greater than n, then that reduces that current touch shields single finger reports speed;
If setting value n 1when being less than n, then what raise that current touch shields single finger reports speed;
The single finger after adjusting is made to report speed to be adjusted to v now:
v n o w = a , a < v max v m a x , a &GreaterEqual; v m a x ;
Wherein a is:
a = n 1 t f ;
Wherein t is detection time, and f is the current finger number touched of touch screen terminal identification.
2. dynamic conditioning touch-screen according to claim 1 reports the method for speed, it is characterized in that, the threshold value n of the coordinate points number that application layer receives in the detection time obtained in described step (1) maxfor:
n max=v max.f max.t;
Wherein v maxfor the initial settings reporting speed of finger single on touch-screen, namely the maximum of touch-screen reports speed; Described f maxfor the maximal value of the finger number that the touch-screen same time can identify, t is detection time.
3. dynamic conditioning touch-screen according to claim 2 reports the method for speed, it is characterized in that, in described step (3), the coordinate points number n that the application layer of touch screen terminal receives within detection time is:
n=v.f.t;
Wherein v be current touch shield single finger report speed, f is the current finger number touched of touch screen terminal identification.
4. report the method for speed according to the dynamic conditioning touch-screen described in claim 3, it is characterized in that, described detection time, t was 0.1 second, and described touch-screen reports the initial settings v of speed maxbe 80 points/second, the maximal value f of the finger number that the described touch-screen same time can identify maxbe 5, then the detection time obtained the coordinate points number that application layer receives in t threshold value n maxbe 40 points.
5. report the method for speed according to the dynamic conditioning touch-screen described in claim 4, it is characterized in that, described setting value n 1be 24 points.
6. dynamic conditioning touch-screen according to claim 1 reports the method for speed, it is characterized in that, the speed that reports of described touch-screen reports register to adjust by touch screen terminal.
CN201310385235.2A 2013-08-29 2013-08-29 A kind of dynamic conditioning touch-screen reports the method for speed Active CN103472946B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310385235.2A CN103472946B (en) 2013-08-29 2013-08-29 A kind of dynamic conditioning touch-screen reports the method for speed

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310385235.2A CN103472946B (en) 2013-08-29 2013-08-29 A kind of dynamic conditioning touch-screen reports the method for speed

Publications (2)

Publication Number Publication Date
CN103472946A CN103472946A (en) 2013-12-25
CN103472946B true CN103472946B (en) 2016-03-09

Family

ID=49797827

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310385235.2A Active CN103472946B (en) 2013-08-29 2013-08-29 A kind of dynamic conditioning touch-screen reports the method for speed

Country Status (1)

Country Link
CN (1) CN103472946B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104679336B (en) * 2015-03-12 2017-10-17 广东欧珀移动通信有限公司 Adjust the method and device of touch-screen parameter
CN104991673A (en) * 2015-07-10 2015-10-21 上海斐讯数据通信技术有限公司 Method and system for self-matching data reporting rate of touch screen
CN105955611A (en) * 2016-04-26 2016-09-21 苏州乐聚堂电子科技有限公司 Multimedia file quick browsing method used for touch screen device
CN109842727B (en) * 2019-01-31 2021-03-09 Oppo广东移动通信有限公司 Touch signal reporting method and device, terminal and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1889022A (en) * 2005-06-28 2007-01-03 联想(北京)有限公司 Method and apparatus for switching contact control panel sampling rate
CN101930319A (en) * 2010-09-08 2010-12-29 敦泰科技有限公司 Touch information reporting method of touch screen
CN103235664A (en) * 2013-04-27 2013-08-07 深圳市金立通信设备有限公司 Terminal and control method of touch screen

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8922527B2 (en) * 2012-02-15 2014-12-30 Cypress Semiconductor Corporation Multi-purpose stylus antenna

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1889022A (en) * 2005-06-28 2007-01-03 联想(北京)有限公司 Method and apparatus for switching contact control panel sampling rate
CN101930319A (en) * 2010-09-08 2010-12-29 敦泰科技有限公司 Touch information reporting method of touch screen
CN103235664A (en) * 2013-04-27 2013-08-07 深圳市金立通信设备有限公司 Terminal and control method of touch screen

Also Published As

Publication number Publication date
CN103472946A (en) 2013-12-25

Similar Documents

Publication Publication Date Title
US9658757B2 (en) Method and device for managing progress indicator display
CN105518590B (en) System and method for improved processing of touch sensor data
US9910541B2 (en) Mis-touch recognition method and device
CN103472946B (en) A kind of dynamic conditioning touch-screen reports the method for speed
US20180365086A1 (en) Method for Processing Data Collected by Touch Panel, and Terminal Device
US20160117046A1 (en) Data Reporting Method and Apparatus, and Terminal Device
US20150242115A1 (en) Systems and methods for improved signal to noise ratio in touch systems
US20170123590A1 (en) Touch Point Recognition Method and Apparatus
CN102262510B (en) Device and method for amplifying display contents by using gestures
CN103019597A (en) Intelligent terminal with built-in screenshot functionality and realizing method of intelligent terminal
CN102902407B (en) A kind of touch-screen output display touches the method and apparatus of person&#39;s handwriting
CN103268184A (en) Method and device for moving text cursor
CN103354581A (en) Method and system for automatically adjusting mobile phone control with left or right hand
CN106502477B (en) Touch control method and device for terminal with pressure sensing layer
CN103235673B (en) Detection method of touch screen and touch-screen
CN104714675A (en) Gesture recognition method and device
CN104850417B (en) A kind of method and electronic equipment of information processing
CN105320316A (en) Method and device for debouncing of touch screen and terminal
CN103809909A (en) Information processing method and electronic devices
CN104850352A (en) Quick program starting method and quick program starting system based on touchpad
CN106547381A (en) A kind of method and apparatus of mobile terminal false-touch prevention
CN101957680B (en) Method and system for regulating handwriting recognition speed and touch screen equipment
CN104090681A (en) Method and system for shaking resistance of touch screen
CN104932755B (en) Input system and its operating method
CN103164126B (en) A kind of method avoiding mouse maloperation in main interface and Expansion Interface

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: Guangdong Opel Mobile Communications Co., Ltd.