CN106453769A - Measurement apparatus and measurement method of mobile phone touch screen delay - Google Patents
Measurement apparatus and measurement method of mobile phone touch screen delay Download PDFInfo
- Publication number
- CN106453769A CN106453769A CN201610973636.3A CN201610973636A CN106453769A CN 106453769 A CN106453769 A CN 106453769A CN 201610973636 A CN201610973636 A CN 201610973636A CN 106453769 A CN106453769 A CN 106453769A
- Authority
- CN
- China
- Prior art keywords
- mobile phone
- measurement
- delay
- time
- touch screen
- 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
- 238000005259 measurement Methods 0.000 title claims abstract description 40
- 238000000691 measurement method Methods 0.000 title claims abstract description 6
- 238000000034 method Methods 0.000 claims abstract description 15
- 238000006243 chemical reaction Methods 0.000 claims abstract description 8
- 230000001133 acceleration Effects 0.000 claims abstract description 5
- 230000002093 peripheral effect Effects 0.000 claims description 6
- 238000013459 approach Methods 0.000 claims description 3
- 230000003111 delayed effect Effects 0.000 claims 1
- 238000012163 sequencing technique Methods 0.000 claims 1
- 238000004590 computer program Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 4
- 230000008520 organization Effects 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 1
- 210000004247 hand Anatomy 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/24—Arrangements for testing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/22—Details of telephonic subscriber devices including a touch pad, a touch sensor or a touch detector
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Position Input By Displaying (AREA)
- Telephone Function (AREA)
Abstract
The invention relates to a measurement apparatus and a measurement method of mobile phone touch screen delay. The measurement apparatus comprises a mobile phone, a lower computer, a capacitance pen and an accelerometer. The mobile phone and the lower computer are connected by a wired connector, and the accelerometer is fixed to the capacitance pen. The mobile phone is used for providing an upper computer program and displayed delay measurement information. The capacitance pen is used for touching a screen of the mobile phone. The accelerometer is used for detecting the acceleration in the case of a touch action of the capacitance pen and generating corresponding output. The lower computer is used for collecting output data of the accelerometer and sending information to the mobile phone according to the size of the data. In the delay measurement method, the whole measurement process is divided into three steps according to the execution sequence: rough synchronization, fine synchronization and measurement. The error of rough synchronization is at a millisecond level; in the fine synchronization, an optimal delay error manner is found by multiple times of iterative approximation, and the delay error is reduced to a microsecond level; and in the delay measurement step, the touch screen delay is measured, and a final measurement result is displayed by the upper computer. By adoption of the measurement apparatus and the measurement method provided by the invention, the measurement precision of the reaction delay of the mobile phone touch screen can be effectively improved and reaches the microsecond level.
Description
Technical field
The present invention relates to a kind of Time delay measurement apparatus and method, particularly to a kind of mobile phone touch Time delay measurement device and survey
Amount method.
Background technology
At present, mobile phone is consumer electronics market utilization rate highest product.Audio-visual, game based on touch-screen mobile phone etc. should
Got a lot of applications in daily life with program.However, the latency issue of touch screen, have a strong impact on the body using mobile phone
Test, especially the sensitive mobile phone games of a lot of touch screen response times are applied.
In the case of being often used without peripheral hardware, if wanting to measure the time delay of handset touch panel, need to utilize high-definition camera
Machine shoots the action touching LCD of mobile phone display screen, by identifying and counting touch action, the frame between screen reaction occurs
Count and to calculate the touch screen response time.However, this measuring method is limited by the speed of capture apparatus, usual precision is all in millisecond
Magnitude., its certainty of measurement is 1 millisecond taking the high-speed camera of 1000 frames/second as a example.This needs in microsecond amount for certainty of measurement
It is clear that being inadequate for the touch screen time delay of level.
Content of the invention
Problems to be solved by the invention
The technical problem to be solved in the present invention is, how to improve mobile phone touch time delay by external Time delay measurement device
Certainty of measurement.
For solution to problem
In view of this, the present invention proposes a kind of mobile phone touch Time delay measurement device and measuring method, for the problems referred to above
Solution is proposed.
On the one hand it is proposed that a kind of measurement apparatus, including:Mobile phone, slave computer, capacitance pen and accelerometer.Wherein, described
Mobile phone and described slave computer adopt wired connector to connect, and described accelerometer is fixed on described capacitance pen.Described mobile phone is used
In the Time delay measurement information providing host computer procedure and display.Described capacitance pen is used for touching the screen of mobile phone.Described acceleration
Count for detecting that described capacitance pen occurs acceleration during touch action and produce corresponding output.Described slave computer is used for gathering institute
State the output data of accelerometer, and information is sent to described mobile phone according to the size of data.
Described slave computer, including:Microcontroller, AD conversion module, USB turn serial port module, power module and other outside
If module.Wherein, described AD conversion module, described USB turn serial port module, described power module and other peripheral modules described
All corresponding with described microcontroller pin is joined directly together.
On the other hand it is proposed that a kind of measuring method, sequentially it is divided into three step execution, implements step as follows:
Step 1:Coarse synchronization, refers to allow upper and lower computer start simultaneously at timing from a certain moment, and this moment definition is base
Punctual quarter T0, the now time delay between upper and lower computer is defined as initial time delay error E, and this initial time delay error is millisecond magnitude.
Step 2:Fine synchronization, find by way of successive ignition approaches optimum delay time error offline value-minE and
Value of reaching the standard grade-maxE, makes the range shorter of synchronizing relay error, the fiducial time of system will be more accurate, order T now0For system
Fiducial time, fine synchronization completes, and now delay time error will be kept to musec order.
Step 3:Time delay measurement, refers to calculate measuring and showing final measurement by host computer of touch screen time delay.
When described mobile phone has detected contact action, obtain current time t at once1(i) send order to described slave computer.Described
Current time t when slave computer receives order and thinks that touch screen is effective2I () is sent to described mobile phone.Described touch screen time delay Dt
=t1(i)-t1(0)-t2(i), wherein, Dt:The delay time of certain touch screen;i:Which time contact action.
Brief description
Fig. 1:It is the schematic diagram of the measurement apparatus of the present invention;
Fig. 2:Be the present invention measurement apparatus in controlling organization schematic diagram;
Fig. 3:It is the measuring process of the measurement apparatus of the present invention;
Fig. 4:Be the present invention measuring process in touch-screen event occur after flow chart;
Specific embodiment
Describe various exemplary embodiments, feature and the aspect of the present invention below with reference to accompanying drawing in detail.Identical in accompanying drawing
Reference represent the same or analogous element of function.Although the various aspects of embodiment shown in the drawings, remove
Non-specifically points out it is not necessary to accompanying drawing drawn to scale.
Special word " exemplary " means " as example, embodiment or illustrative " here.Here as " exemplary "
Illustrated any embodiment should not necessarily be construed as preferred or advantageous over other embodiments.
In addition, in order to better illustrate the present invention, giving numerous details in specific embodiment below.
It will be appreciated by those skilled in the art that not having some details, the present invention equally can be implemented.In some instances, for
Method well known to those skilled in the art, means, element and circuit are not described in detail, in order to highlight the purport of the present invention.
Because Android system is for the opening of self-defined peripheral hardware, the present invention with Android mobile phone for being embodied as object, but
This set measuring apparatus and measuring method are not limited only to Android mobile phone, are applicable to any kind of touch-screen mobile phone.
Fig. 1 illustrates the schematic diagram of the measurement apparatus 100 of one embodiment of the invention.This measurement apparatus 100 includes handss
Machine 101, slave computer 102, capacitance pen 104 and accelerometer 103.Wherein, mobile phone 101 and slave computer 102 adopt USB (OTG) even
Connect, accelerometer 103 is fixed on capacitance pen 104.Described mobile phone 101 is used for providing host computer procedure and display and operation and measurement
Information.Described capacitance pen 104 is used for touching the screen of described mobile phone 101.Described accelerometer 103 is used for detecting described capacitance pen
Acceleration during 104 touch action simultaneously produces corresponding output.Described slave computer 102 is used for gathering the defeated of described accelerometer 103
Go out data, and information is sent to described mobile phone 101 according to the size of data.
Fig. 2 illustrates the schematic diagram of controlling organization in the measurement apparatus of one embodiment of the invention, as shown in Fig. 2 this control machine
Structure includes microcontroller 201, AD conversion module 202, USB turn serial port module 203, power module 204 and other peripheral modules
205.Wherein, described AD conversion module 202, described USB turn serial port module 203, described power module 204 and described outside other
If all corresponding with described microcontroller 201 pin of module 205 is joined directly together.
Fig. 3 illustrates that the present invention provides a kind of mobile phone touch Time delay measurement method.Implement step as follows:
Step 1:Coarse synchronization 301
In a kind of possible implementation, described mobile phone is initiated synch command and is obtained current time t1(0), under described
Position machine receives order to start from 0 timing, and returns answer signal to described mobile phone, in one embodiment:
(1) obtain current time T in host computer0=current_time ();
(2) send order to slave computer:By the time zero setting of slave computer, and slave computer is waited to return confirmation signal;
(3) obtain current time T again1=current_time ();Then maximum delay error during synchronization is:
MaxE=T1-T0(1)
The current time of host computer hereafter all acquisitions is all with T0On the basis of.Because the time zero setting of slave computer is in T0With
Afterwards, so the time lag of slave computer is in the host computer E moment, i.e. 0≤minE < E < maxE.
Step 2:Fine synchronization 302
In a kind of possible implementation, this step can be divided into again, and the mode that successive ignition approaches finds prolonging of optimum
Offline-the minE of the time error and-maxE that reaches the standard grade.Host computer sends some information to slave computer, and records current time before sending
t_app.Slave computer, according to the clock of oneself, returns current time t_tee of described slave computer immediately after receiving information:
T_tee=t_app-E+t_delay (2)
Obtained by formula (2), delay time error E:
E=t_app-t_tee+t_delay (3)
Because t_delay > 0 is permanent setting up,
E > t_app-t_tee (4)
Order:
T0=max (T0,t_app-t_tee) (5)
In a kind of possible implementation, slave computer sends some information and current time t_tee of oneself is sent out
Go, host computer receives record current time t_app during information.
T_app=t_tee+E+t_delay (6)
As available from the above equation:
E=t_app-t_tee-t_delay (7)
Because t_delay > 0 is permanent setting up,:
E < t_app-t_tee (8)
Order:
T1=min (T1,t_app-t_tee) (9)
Thus 0 < T0< E < T1< maxE, makes the range shorter of synchronizing relay error, T0And T1Closer to the base of system
Will be more accurate between punctual, order T now0For the fiducial time of system, synchronously complete.
Step 3:Time delay measurement 303
In a kind of possible implementation, when described mobile phone has detected contact action, obtain current time at once
t1(i) send order to described slave computer.Current time t when described slave computer receives order and thinks that touch screen is effective2
I () is sent to described mobile phone.Described mobile phone detects t2The correctness of (i), and computation delay.Touch screen time delay Dt=t1(i)-t1
(0)-t2(i), wherein, Dt:The delay time of certain touch screen;i:Which time contact action;
The flow chart that Fig. 4 is shown for step 3 Time delay measurement
In a kind of possible implementation, after touch action occurs, the accekeration of described capacitance pen is by described
Accelerometer passes to described slave computer, makes described mobile phone produce touch-screen event, described mobile phone terminal host computer first obtains currently simultaneously
Time t1I (), and then judges whether touch-screen event is move type.If so, then exit Time delay measurement, if it is not, then to described
Slave computer sends order.Described slave computer obtains accekeration V after receiving order, and judges whether V exceedes threshold value, if not surpassing
Cross then it is assumed that touch screen is invalid, if exceeding then it is assumed that touch screen effectively, current time t is assigned to t2(i) by t2I () resets, afterwards
Send t to described mobile phone2(i).Described mobile phone receives t2After (i), first calculate Dt=t1(i)-t1(0)-t2I (), judges t2(i)
Whether it is zero.If so, then touch screen is invalid, and measurement terminates, if it is not, continuing to judge DtWhether it is more than 2000.If so, then transmit wrong
By mistake, terminate measurement, if it is not, DtIt is exactly the time of touch screen time delay.
Claims (7)
1. mobile phone touch Time delay measurement device is it is characterised in that include:
Mobile phone, for providing host computer procedure and display delayed metrical information;
Capacitance pen, is used for fixing described accelerometer and touches described mobile phone screen;
Accelerometer, for detecting that described capacitance pen occurs acceleration during touch action and produce corresponding output;And
Slave computer, is connected using wired connector with described mobile phone, for gathering the output data of described accelerometer, and according to
The size of data sends information to described mobile phone.
2. slave computer according to claim 1 is it is characterised in that include:Microcontroller, AD conversion module, USB turn serial ports
Module, power module and other peripheral modules.
3. measurement apparatus according to claim 2 it is characterised in that
Described AD conversion module, described USB turn serial port module, described power module and other peripheral modules described all with described
The corresponding pin of microcontroller is joined directly together.
4. a kind of Time delay measurement method, it is characterised in that whole measurement process is pressed execution sequencing, is divided into three steps:
Coarse synchronization, fine synchronization and measurement.
5. coarse synchronization according to claim 4 is it is characterised in that allow upper and lower computer start simultaneously at meter from a certain moment
When, moment T on the basis of this moment definition0, the now time delay between upper and lower computer is defined as initial time delay error E, and this initially prolongs
Time error is millisecond magnitude.
6. fine synchronization according to claim 4 is it is characterised in that find optimum by way of successive ignition approaches
The delay time error offline value-minE and value-maxE that reaches the standard grade, makes the range shorter of synchronizing relay error, the fiducial time of system will more
Accurately, order T now0For the fiducial time of system, fine synchronization completes, and now delay time error will be kept to musec order.
7. Time delay measurement according to claim 4 it is characterised in that
Calculate measuring and final measurement being shown by host computer of touch screen time delay;
When described mobile phone has detected contact action, obtain current time t at once1(i) send order to described slave computer;
Current time t when described slave computer receives order and thinks that touch screen is effective2I () is sent to described mobile phone;
Described touch screen time delay Dt=t1(i)-t1(0)-t2(i), wherein, Dt:The delay time of certain touch screen;i:Which time touch screen behaviour
Make.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610973636.3A CN106453769A (en) | 2016-11-04 | 2016-11-04 | Measurement apparatus and measurement method of mobile phone touch screen delay |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610973636.3A CN106453769A (en) | 2016-11-04 | 2016-11-04 | Measurement apparatus and measurement method of mobile phone touch screen delay |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106453769A true CN106453769A (en) | 2017-02-22 |
Family
ID=58180331
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610973636.3A Pending CN106453769A (en) | 2016-11-04 | 2016-11-04 | Measurement apparatus and measurement method of mobile phone touch screen delay |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106453769A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108021319A (en) * | 2017-12-07 | 2018-05-11 | 北京小米移动软件有限公司 | The method and apparatus of smart machine on probation |
CN114647336A (en) * | 2022-03-15 | 2022-06-21 | Oppo广东移动通信有限公司 | Click delay measuring method and device, storage medium and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102983488A (en) * | 2012-11-26 | 2013-03-20 | 核工业理化工程研究院 | Laser pulse synchronous controller |
CN103826117A (en) * | 2014-01-17 | 2014-05-28 | 浙江大学 | Method of measuring end-to-end delay of mobile phone video communication application |
CN104570838A (en) * | 2014-12-02 | 2015-04-29 | 中国科学院西安光学精密机械研究所 | Asynchronous external triggering device and method for multipath trigger time delay |
-
2016
- 2016-11-04 CN CN201610973636.3A patent/CN106453769A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102983488A (en) * | 2012-11-26 | 2013-03-20 | 核工业理化工程研究院 | Laser pulse synchronous controller |
CN103826117A (en) * | 2014-01-17 | 2014-05-28 | 浙江大学 | Method of measuring end-to-end delay of mobile phone video communication application |
CN104570838A (en) * | 2014-12-02 | 2015-04-29 | 中国科学院西安光学精密机械研究所 | Asynchronous external triggering device and method for multipath trigger time delay |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108021319A (en) * | 2017-12-07 | 2018-05-11 | 北京小米移动软件有限公司 | The method and apparatus of smart machine on probation |
CN114647336A (en) * | 2022-03-15 | 2022-06-21 | Oppo广东移动通信有限公司 | Click delay measuring method and device, storage medium and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103440076B (en) | The three-dimensional multi-point type touch screen of based thin film pressure transducer and three axis accelerometer | |
CN104267819B (en) | Can gesture wake up electronic equipment and electronic equipment gesture awakening method | |
CN104008031B (en) | The method and apparatus of testing capacitor formula touch-screen response time | |
KR102050385B1 (en) | Touch sensing system and method of reducing latency thereof | |
US20190129570A1 (en) | Anti-mistouch apparatus and method of flexible screen | |
CN102662573A (en) | Method and terminal for obtaining options by pressing | |
CN103676272A (en) | Liquid crystal display device | |
KR20180059181A (en) | Touch sensing system and contrlling method of the same | |
KR100777107B1 (en) | apparatus and method for handwriting recognition using acceleration sensor | |
CN106997255A (en) | Touch-sensing system and touch drive device with active touch control pen | |
US20170045967A1 (en) | Method and device for detecting touch pressure in mobile terminal | |
CN102830247A (en) | Method and device for detecting rotation state of rotation part | |
CN104765487A (en) | Input apparatus | |
CN105596006B (en) | A kind of height measurement method, device and the electronic equipment with acquisition device | |
CN107621912B (en) | Correlated data acquisition between different touch sensors | |
WO2019141085A1 (en) | Electronic device, collision data processing method and related products | |
KR20180042509A (en) | Touch display device, touch system, touch master and communication method | |
CN106453769A (en) | Measurement apparatus and measurement method of mobile phone touch screen delay | |
KR20130137403A (en) | Liquid crystal display device and driving method thereof | |
CN105468211A (en) | Data transmission method, system and device between capacitive stylus and touch screen | |
CN105511774A (en) | Method and device for displaying display terminal interface | |
CN106026232A (en) | Detecting method and apparatus for USB port type | |
CN104850417B (en) | A kind of method and electronic equipment of information processing | |
CN106997246A (en) | Drawing stylus | |
CN115834958A (en) | Touch screen writing delay test method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170222 |
|
RJ01 | Rejection of invention patent application after publication |