CN112783368A - Method for optimizing touch screen point reporting stability, storage medium and terminal equipment - Google Patents

Method for optimizing touch screen point reporting stability, storage medium and terminal equipment Download PDF

Info

Publication number
CN112783368A
CN112783368A CN202110049243.4A CN202110049243A CN112783368A CN 112783368 A CN112783368 A CN 112783368A CN 202110049243 A CN202110049243 A CN 202110049243A CN 112783368 A CN112783368 A CN 112783368A
Authority
CN
China
Prior art keywords
touch screen
finger
touch
finger operation
jitter
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
Application number
CN202110049243.4A
Other languages
Chinese (zh)
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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN202110049243.4A priority Critical patent/CN112783368A/en
Publication of CN112783368A publication Critical patent/CN112783368A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • G06F3/04186Touch location disambiguation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0412Digitisers structurally integrated in a display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/04166Details of scanning methods, e.g. sampling time, grouping of sub areas or time sharing with display driving
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method for optimizing touch screen point reporting stability, a storage medium and a terminal device, wherein the method comprises the following steps: monitoring whether finger operation occurs on the touch screen; when the fact that finger operation occurs on the touch screen is monitored, acquiring the finger operation type and the characteristic change of a Diff value of the touch screen in the finger operation; the jitter parameter is dynamically set according to the finger operation type and the characteristic change of the Diff value. The method judges whether a finger lifting event occurs according to the characteristic change of the Diff value in the finger operation on the touch screen, and then dynamically sets the size of the key point parameter according to the finger operation type and whether the finger lifting event occurs, so that the report point stability during the hand lifting is realized, and the requirements of smooth sliding operation, easy sliding and the like are ensured. According to the touch screen touch point reporting method and device, touch screen touch point reporting stability is improved from a software end, accessory cost is not brought, better touch experience is brought to a user, and therefore product competitiveness is improved.

Description

Method for optimizing touch screen point reporting stability, storage medium and terminal equipment
Technical Field
The invention relates to the technical field of touch screen operation, in particular to a method for optimizing touch screen point reporting stability, a storage medium and a terminal device.
Background
Touch screens have become standard components of electronic devices, especially mobile electronic devices, and are controlled by separate processors, so that when a user touches a screen of the touch screen, capacitance changes are caused, and corresponding coordinate information is calculated by detecting the capacitance changes caused by the screen of the touch screen of the user and reported to a central processing unit of the electronic device.
At present, in the process of the Ottawa touch experience of a newly developed flagship project of a mobile phone, for example, when a gunfight game is played for shooting a mirror, if the report point is not stable enough in the process of lifting the hand, the aiming position of the finger after being lifted can generate deviation; for example, when a finger slides a web page, if the finger lifts up and then the report point is unstable, the problem of marking back is caused, and then the mobile phone system recognizes that the finger slides in the opposite direction, which causes misoperation and brings great inconvenience to the user.
Accordingly, the prior art is yet to be improved and developed.
Disclosure of Invention
In view of the foregoing defects of the prior art, an object of the present invention is to provide a method, a storage medium, and a terminal device for optimizing touch screen touch point reporting stability, which aim to solve the problem that touch coordinate touch point reporting is unstable when the existing touch screen is prone to sliding and raising hands.
The technical scheme of the invention is as follows:
a method for optimizing touch screen touch point reporting stability comprises the following steps:
monitoring whether finger operation occurs on the touch screen;
when the fact that finger operation occurs on the touch screen is monitored, acquiring the finger operation type and the characteristic change of a Diff value of the touch screen in the finger operation;
and dynamically setting a jitter parameter according to the finger operation type and the characteristic change of the Diff value.
The method for optimizing touch screen touch point reporting stability comprises the following steps of:
monitoring a Diff value on a touch screen in real time;
and comparing the monitored Diff value with a touch threshold TP _ TH, and judging whether the touch screen has finger operation according to the comparison result.
The method for optimizing touch screen touch point reporting stability comprises the following steps of:
if the monitored Diff value is larger than or equal to the touch threshold value TP _ TH, judging that finger operation occurs on the touch screen;
and if the monitored Diff value is smaller than the touch threshold TP _ TH, judging that no finger operation occurs on the touch screen.
The method for optimizing touch screen touch point reporting stability comprises the following steps of:
after the finger operation is monitored, acquiring a touch coordinate of the touch screen within a preset time;
if the touch coordinate of the touch screen in the preset time is not changed, judging that the finger operation is a click operation;
and if the touch coordinate of the touch screen changes within the preset time, judging that the finger operation is a sliding operation.
The method for optimizing touch screen touch point reporting stability comprises the following steps of:
after detecting the finger operation, acquiring a touch coordinate of the touch screen in a stage from the finger operation to the hand lifting operation;
if the touch coordinate of the touch screen in the stage from finger operation to hand-lifting operation is not changed, judging that the finger operation is a click operation;
and if the touch coordinate of the touch screen changes from the finger operation to the hand-lifting operation, judging that the finger operation is the sliding operation.
The method for optimizing touch screen touch point reporting stability comprises the following steps of:
acquiring the maximum Diff value of the touch screen in different frames in the finger operation process, and recording the maximum Diff value as Diff _ max;
in N continuous frames of the touch screen, if the Diff _ max difference value of two adjacent frames is greater than or equal to a preset value TH0, judging that the finger is lifted;
if the Diff _ max difference between two adjacent frames is not larger than or equal to the preset value TH0, the finger is judged not to be lifted.
The method for optimizing touch screen click stability, wherein the step of dynamically setting the jitter parameter according to the finger operation type and the characteristic change of the Diff value comprises the following steps:
if the finger operation type is click operation and the finger is judged to be lifted according to the characteristic change of the Diff value, dynamically setting a Jitter parameter as Jitter _ C + TH1, wherein the Jitter _ C is a default Jitter parameter under the click operation, and TH1 is an increased Jitter value under the click operation condition;
if the finger operation type is a sliding operation and the finger is judged to be lifted according to the characteristic change of the Diff value, dynamically setting a Jitter parameter as Jitter _ M + TH2, wherein the Jitter _ M is a default Jitter parameter under the sliding operation, TH2 is a Jitter value increased under the sliding operation condition, and TH2 is more than TH 1.
The method for optimizing touch screen click stability, wherein the step of dynamically setting the jitter parameter according to the finger operation type and the characteristic change of the Diff value further comprises the following steps:
if the finger operation type is click operation and the finger is judged not to be lifted according to the characteristic change of the Diff value, keeping the Jitter parameter Jitter _ C unchanged, wherein the default Jitter parameter Jitter _ C is the default parameter Jitter _ C under the click operation;
and if the finger operation type is sliding operation and the finger is judged not to be lifted according to the characteristic change of the Diff value, keeping the default Jitter parameter Jitter _ M under the sliding operation unchanged.
A storage medium, wherein the storage medium stores one or more programs, and the one or more programs are executable by one or more processors to implement the steps of the method for optimizing touch screen touch point stability of the present invention.
A terminal device, comprising a processor adapted to implement instructions; and a storage medium adapted to store a plurality of instructions, the instructions adapted to be loaded by a processor and to perform the steps of any one of the methods for optimizing touch screen touch point stability of the present invention.
Has the advantages that: the method comprises the steps of firstly judging whether a finger lifting event occurs according to the characteristic change of a Diff value in finger operation on a touch screen, and then dynamically setting the size of a key point parameter according to the type of the finger operation and whether the finger lifting event occurs, so that the stability of a hand lifting time report point is realized, and the requirements of smooth sliding operation, easy sliding and the like are met.
Drawings
Fig. 1 is a flowchart illustrating a method for optimizing touch screen touch point stability according to a preferred embodiment of the present invention.
Fig. 2 is a flowchart illustrating step S10 in fig. 1 according to the present invention.
Fig. 3 is a flowchart illustrating step S20 in fig. 1 according to an embodiment of the present invention.
FIG. 4 is another detailed flowchart of step S20 in FIG. 1 according to the present invention.
FIG. 5 is a touch Diff of the nth frame of screen after the finger leaves the touch screen according to the embodiment of the present invention.
FIG. 6 is a touch Diff of the (n + 1) th frame of the screen after the finger leaves the touch screen according to the embodiment of the present invention.
FIG. 7 is a touch Diff of the (n + 2) th frame of the screen after the finger leaves the touch screen according to the embodiment of the present invention.
FIG. 8 is a touch Diff of the (n + 3) th frame of the screen after the finger leaves the touch screen according to the embodiment of the present invention.
FIG. 9 is a flowchart illustrating step S30 of FIG. 1 according to the present invention.
Fig. 10 is a schematic block diagram of the terminal device of the present invention.
Detailed Description
The invention provides a method, a storage medium and a terminal device for optimizing touch screen touch point reporting stability, and the invention is further described in detail below in order to make the purpose, technical scheme and effect of the invention clearer and clearer. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
The touch screen is the most important input component, and most input operations of the existing terminal equipment are completed through the touch screen; some terminal devices do not have keys, and all operations of the terminal devices are finished by means of touch screens. As the screen of the terminal device is continuously developed to a large screen, the touch screen is also larger and larger; meanwhile, the precision requirement on the touch screen is higher and higher.
The touch-control hit stability can be controlled by a hit parameter, which can be called as a dot jitter, and can be understood as a circle, a circle center coordinate point (x0, y0), sliding from the circle center, when the sliding displacement is smaller than the radius touch-control hit (x0, y0), otherwise, a new point (x1, y1) is reported. For example, when a point is reported in a circle with radius R, the same point, i.e., the coordinate (x, y), is reported without change. And reporting a new coordinate point when the sliding distance exceeds the radius R. When the touch report point is calculated by an interpolation algorithm in the process of using the terminal equipment, if the value of the jitter is set to be too small, a new coordinate is identified when the finger is judged to be lifted, so that the report point is unstable.
In order to solve the abnormal problems of back-hooking after the hand is lifted and point-reporting shaking after the hand is lifted and the like of the sliding touch screen caused by the unstable touch coordinate point-reporting during the sliding hand-lifting, the embodiment of the invention provides a method for optimizing the point-reporting stability of the touch screen, as shown in fig. 1, the method comprises the following steps:
s10, monitoring whether the touch screen is subjected to finger operation;
s20, when the condition that the finger operation occurs on the touch screen is monitored, acquiring the finger operation type and the characteristic change of a Diff value of the touch screen in the finger operation;
and S30, dynamically setting the jitter parameter according to the finger operation type and the characteristic change of the Diff value.
In this embodiment, after it is monitored that a finger operation occurs on the touch screen, the type of the finger operation and whether a finger lift event occurs after the finger operation are further determined, wherein whether the finger lift event occurs is determined by characteristic changes of Diff values in the finger operation, and finally a jitter parameter is dynamically set according to the type of the finger operation and whether the finger lift event occurs, so that the requirements of stable reporting point when the hand is lifted are met, and meanwhile, smooth sliding operation, easy sliding and the like are ensured, and thus, the user experience is improved. According to the touch screen touch point reporting method and device, touch screen touch point reporting stability is improved from the software end, accessory cost is not brought, better touch experience can be brought to a user, and therefore product competitiveness is improved.
In some embodiments, as shown in fig. 2, the step S10 of monitoring whether the touch screen is operated by a finger includes:
s11, monitoring the Diff value on the touch screen in real time;
s12, comparing the monitored Diff value with a touch threshold TP _ TH, and judging whether the touch screen has finger operation according to the comparison result.
Specifically, the touch screen is divided into two types, two types are resistance touch screen and capacitance touch screen respectively, the capacitive touch screen is taken as an example in this embodiment, and the basic working principle of the capacitive touch screen is as follows: when the touch screen is touched, parasitic capacitance changes, an emitter emits signals, the signals are advanced or delayed after passing through impedance and capacitive reactance, a receiver receives the signals, then the whole specific numerical value is calculated, and then the whole screen is scanned to generate a data matrix; compared with the reference data matrix, a DIFF value matrix is generated and is mapped to the resolution of the LCD by using a gravity center algorithm, so that specific coordinate values are obtained and are given to ID numbers. In this embodiment, the Diff value on the touch screen refers to a difference between a current touch capacitance value and a touch reference capacitance value, where the difference is a difference between a touch capacitance value of the touch screen and a touch capacitance difference caused by finger touch or environmental interference.
Based on the definition of the Diff value, on the premise of stable environment, the Diff value on the touch screen is monitored in real time, and whether finger operation occurs on the touch screen can be judged. Specifically, a touch threshold TP _ TH may be preset, a Diff value obtained by real-time monitoring may be compared with the touch threshold TP _ TH, and whether the touch screen is operated by a finger may be determined according to a comparison result.
In some embodiments, the step of monitoring that a finger operation occurs on the touch screen includes:
if the monitored Diff value is larger than or equal to the touch threshold value TP _ TH, judging that finger operation occurs on the touch screen;
and if the monitored Diff value is smaller than the touch threshold TP _ TH, judging that no finger operation occurs on the touch screen.
In this embodiment, whether finger operation occurs on the touch screen is determined by comparing the monitored Diff value with the touch threshold TP _ TH. For example, the size of the touch threshold TP _ TH may be set to any integer value of 200 and 500.
In some embodiments, the size of the touch threshold TP _ TH is 300. In this embodiment, if the monitored Diff value is greater than or equal to 300, it is determined that a finger operation occurs on the touch screen, and if the monitored Diff value is less than 300, it is determined that no finger operation occurs on the touch screen.
In some embodiments, as shown in fig. 3, in step S20, after it is detected that the finger operation occurs on the touch screen, the step of obtaining the type of the finger operation includes:
s21, acquiring touch coordinates of the touch screen within preset time after the finger operation is monitored;
s22, if the touch coordinates of the touch screen do not change within the preset time, judging that the finger operation is a click operation;
and S23, if the touch coordinate of the touch screen changes within the preset time, judging that the finger operation is a sliding operation.
Specifically, the finger operation on the touch screen generally includes a click operation or a slide operation, and the type of the finger operation can be determined by comparing whether or not the touch coordinates of the touch screen change within a predetermined time. Whether the operation is the click operation or the sliding operation, the operation of the two operations on the touch screen usually occurs in a short time, and therefore, the type of the finger operation is judged by comparing whether the touch coordinate of the touch screen changes in a short time. By way of example, the predetermined time may be 0.2s-1 s.
In some specific embodiments, when the touch coordinate received by the touch screen within 0.5s does not change, it is determined that the finger operation is a click operation; and when the touch screen receives that the touch coordinate changes within 0.5, judging that the finger operation is a sliding operation.
In other embodiments, as shown in fig. 4, after the step S20 of monitoring that the finger operation occurs on the touch screen, the step of acquiring the type of the finger operation includes:
s211, after the finger operation is detected, acquiring a touch coordinate of the touch screen in a stage from the finger operation to the hand-lifting operation;
s212, if the touch coordinate of the touch screen in the stage from the finger operation to the hand lifting operation is not changed, judging that the finger operation is a click operation;
and S213, if the touch coordinate of the touch screen changes from the finger operation stage to the hand-up operation stage, judging that the finger operation is the sliding operation.
In this embodiment, since the click operation on the touch screen may be any one of a single click operation, a double click operation, and a long press operation, it is not very accurate to determine the type of the finger operation according to whether the touch coordinates received within a predetermined time have changed. For example, if two click operations at different positions occur on the touch screen within 1s, the touch coordinates received by the touch screen are changed, and if the criteria of the above embodiment are taken as the determination, the click operation may be determined as the sliding operation.
Based on this, in this embodiment, whether the touch coordinate of the touch screen changes in the stage from the finger operation to the hand-up operation is used as the judgment condition of the finger operation type, that is, whether the touch coordinate received by the touch screen changes in the process from one finger operation to the hand-up operation is monitored, and if the touch coordinate does not change, the touch screen is judged to be the click operation; if the change occurs, it is determined that the slide operation is performed. The method and the device can effectively eliminate the influence of double-click operation or long-press operation on the accuracy of judgment of the finger operation type.
In some embodiments, the step of obtaining the characteristic change of the Diff value of the touch screen in the finger operation includes:
acquiring the maximum Diff value of the touch screen in different frames in the finger operation process, and recording the maximum Diff value as Diff _ max;
in N continuous frames of the touch screen, if the Diff _ max difference value of two adjacent frames is greater than or equal to a preset value TH0, judging that the finger is lifted;
if the Diff _ max difference between two adjacent frames is not larger than or equal to the preset value TH0, the finger is judged not to be lifted.
Specifically, after the touch screen is operated by a finger, in the process of lifting the finger off the touch screen, the Diff value of the pressed point on the touch screen is changed, as shown in fig. 5-8, the maximum value of the pressed point Diff is abbreviated as Diff _ max, as can be seen from fig. 5-8, after synchronously monitoring the Diff value of the touch screen for 2 frames when the finger is off, the touch Diff _ max value is changed greatly, and the Diff _ max is reduced from 1624 to 64, and based on this, whether the finger is lifted can be determined by detecting the difference value of the Diff _ max in different frames.
In this embodiment, in N consecutive frames of the touch screen, if the difference value between Diff _ max of two adjacent frames is greater than or equal to the preset value TH0, it is determined that the finger is lifted; if the Diff _ max difference between two adjacent frames is not larger than or equal to the preset value TH0, the finger is judged not to be lifted. The preset value TH0 can be set according to requirements, for example, the TH0 is any integer within 200-500, for example, the TH0 can be 300, in this embodiment, if it is detected that the difference value of Diff _ max between two adjacent frames is greater than or equal to 300, it is determined that the finger is lifted; if the difference value of Diff _ max of two adjacent frames is less than 300, the finger is judged not to be lifted.
In some embodiments, as shown in fig. 9, the step S30 of dynamically setting the jitter parameter according to the finger operation type and the characteristic change of Diff value includes:
s31, if the finger operation type is click operation and the finger is judged to be lifted according to the characteristic change of the Diff value, dynamically setting a Jitter parameter as Jitter _ C + TH1, wherein the Jitter _ C is a default Jitter parameter under the click operation, and TH1 is an increased Jitter value under the click operation condition;
and S32, if the finger operation type is a sliding operation and the finger is judged to be lifted according to the characteristic change of the Diff value, dynamically setting the Jitter parameter as Jitter _ M + TH2, wherein the Jitter _ M is a default Jitter parameter under the sliding operation, TH2 is an increased Jitter value under the sliding condition, and TH2 is more than TH 1.
In this embodiment, the Jitter parameter is dynamically set according to the finger operation type and whether a finger lift event occurs, and when the finger operation type is a click operation and the finger is lifted, the Jitter parameter is dynamically set to Jitter _ C + TH 1; when the finger operation type is a slide operation and the finger is raised, then the Jitter parameter is dynamically set to Jitter _ M + TH2, and TH2> TH 1. According to the embodiment, the jitter parameter is dynamically set according to different finger operation types, so that the report point stability during hand lifting can be realized, and the requirements of smooth sliding operation, easiness in sliding and the like are met, so that the user experience is improved. According to the touch screen touch point reporting method and device, touch screen touch point reporting stability is improved from the software end, accessory cost is not brought, better touch experience can be brought to a user, and therefore product competitiveness is improved.
In some embodiments, the step of dynamically setting the jitter parameter according to the finger operation type and the characteristic change of the Diff value further comprises: if the finger operation type is click operation and the finger is judged not to be lifted according to the characteristic change of the Diff value, keeping the Jitter parameter Jitter _ C unchanged, wherein the default Jitter parameter Jitter _ C is the default parameter Jitter _ C under the click operation; and if the finger operation type is sliding operation and the finger is judged not to be lifted according to the characteristic change of the Diff value, keeping the default Jitter parameter Jitter _ M under the sliding operation unchanged.
In some embodiments, a storage medium is further provided, where the storage medium stores one or more programs that are executable by one or more processors to implement the steps in a method for optimizing touch screen pointing stability of the present invention.
In some embodiments, there is also provided a terminal device, as shown in fig. 10, comprising at least one processor (processor) 20; a display screen 21; and a memory (memory)22, and may further include a communication Interface (Communications Interface)23 and a bus 24. The processor 20, the display 21, the memory 22 and the communication interface 23 can communicate with each other through the bus 24. The display screen 21 is configured to display a user guidance interface preset in the initial setting mode. The communication interface 23 may transmit information. The processor 20 may call logic instructions in the memory 22 to perform the methods in the embodiments described above.
Furthermore, the logic instructions in the memory 22 may be implemented in software functional units and stored in a computer readable storage medium when sold or used as a stand-alone product.
The memory 22, which is a computer-readable storage medium, may be configured to store a software program, a computer-executable program, such as program instructions or modules corresponding to the methods in the embodiments of the present disclosure. The processor 20 executes the functional application and data processing, i.e. implements the method in the above-described embodiments, by executing the software program, instructions or modules stored in the memory 22.
The memory 22 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. Further, the memory 22 may include a high speed random access memory and may also include a non-volatile memory. For example, a variety of media that can store program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, may also be transient storage media.
In addition, the specific processes loaded and executed by the storage medium and the instruction processors in the terminal device are described in detail in the method, and are not stated herein.
In some specific embodiments, the processor in the terminal device may execute the following instructions:
monitoring whether finger operation occurs on the touch screen;
when the fact that finger operation occurs on the touch screen is monitored, acquiring the finger operation type and the characteristic change of a Diff value of the touch screen in the finger operation;
and dynamically setting a jitter parameter according to the finger operation type and the characteristic change of the Diff value.
In this embodiment, after monitoring that a finger operation occurs on the touch screen, the terminal device further determines the type of the finger operation and whether a finger lift event occurs after the finger operation, where whether the finger lift event occurs is determined by a characteristic change of a Diff value in the finger operation, and finally dynamically sets a jitter parameter according to the type of the finger operation and whether the finger lift event occurs, so as to achieve stable reporting during hand lifting, and meanwhile, ensure smooth sliding operation, easy sliding, and other requirements, thereby improving user experience. According to the embodiment, the touch screen point reporting stability is improved from the software end, the accessory cost is not brought, and better touch experience can be brought to a user, so that the competitiveness of terminal equipment is improved.
In this embodiment, the terminal device may be any device including a touch screen, such as a mobile phone and a tablet.
In summary, the present invention determines whether a finger lift event occurs according to the characteristic change of the Diff value in the finger operation on the touch screen, and then dynamically sets the size of the key point jitter parameter according to the type of the finger operation and whether the finger lift event occurs, so as to achieve the stable reporting point when the hand is lifted, and meanwhile, ensure the requirements of smooth sliding operation, easy sliding, etc. According to the touch screen touch point reporting method and device, touch screen touch point reporting stability is improved from a software end, accessory cost is not brought, better touch experience is brought to a user, and therefore product competitiveness is improved.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.

Claims (10)

1. A method for optimizing touch screen touch point reporting stability is characterized by comprising the following steps:
monitoring whether finger operation occurs on the touch screen;
when the fact that finger operation occurs on the touch screen is monitored, acquiring the finger operation type and the characteristic change of a Diff value of the touch screen in the finger operation;
and dynamically setting a jitter parameter according to the finger operation type and the characteristic change of the Diff value.
2. The method of claim 1, wherein the step of monitoring whether the touch screen is operated by a finger comprises:
monitoring a Diff value on a touch screen in real time;
and comparing the monitored Diff value with a touch threshold TP _ TH, and judging whether the touch screen has finger operation according to the comparison result.
3. The method of claim 2, wherein the step of monitoring the occurrence of finger operations on the touch screen comprises:
if the monitored Diff value is larger than or equal to the touch threshold value TP _ TH, judging that finger operation occurs on the touch screen;
and if the monitored Diff value is smaller than the touch threshold TP _ TH, judging that no finger operation occurs on the touch screen.
4. The method for optimizing touch screen pointing stability according to claim 3, wherein the step of obtaining the finger operation type comprises:
after the finger operation is monitored, acquiring a touch coordinate of the touch screen within a preset time;
if the touch coordinate of the touch screen in the preset time is not changed, judging that the finger operation is a click operation;
and if the touch coordinate of the touch screen changes within the preset time, judging that the finger operation is a sliding operation.
5. The method for optimizing touch screen pointing stability according to claim 3, wherein the step of obtaining the finger operation type comprises:
after detecting the finger operation, acquiring a touch coordinate of the touch screen in a stage from the finger operation to the hand lifting operation;
if the touch coordinate of the touch screen in the stage from finger operation to hand-lifting operation is not changed, judging that the finger operation is a click operation;
and if the touch coordinate of the touch screen changes from the finger operation to the hand-lifting operation, judging that the finger operation is the sliding operation.
6. The method of claim 3, wherein the step of obtaining the characteristic change of the Diff value of the touch screen during the finger operation comprises:
acquiring the maximum Diff value of the touch screen in different frames in the finger operation process, and recording the maximum Diff value as Diff _ max;
in N continuous frames of the touch screen, if the Diff _ max difference value of two adjacent frames is greater than or equal to a preset value TH0, judging that the finger is lifted;
if the Diff _ max difference between two adjacent frames is not larger than or equal to the preset value TH0, the finger is judged not to be lifted.
7. The method for optimizing touch screen click stability according to claim 6, wherein the step of dynamically setting the jitter parameter according to the finger operation type and the characteristic change of the Diff value comprises:
if the finger operation type is click operation and the finger is judged to be lifted according to the characteristic change of the Diff value, dynamically setting a Jitter parameter as Jitter _ C + TH1, wherein the Jitter _ C is a default Jitter parameter under the click operation, and TH1 is an increased Jitter value under the click operation condition;
if the finger operation type is a sliding operation and the finger is judged to be lifted according to the characteristic change of the Diff value, dynamically setting a Jitter parameter as Jitter _ M + TH2, wherein the Jitter _ M is a default Jitter parameter under the sliding operation, TH2 is a Jitter value increased under the sliding operation condition, and TH2 is more than TH 1.
8. The method for optimizing touch screen click stability according to claim 6, wherein the step of dynamically setting the jitter parameter according to the finger operation type and the characteristic change of the Diff value further comprises:
if the finger operation type is click operation and the finger is judged not to be lifted according to the characteristic change of the Diff value, keeping the Jitter parameter Jitter _ C unchanged, wherein the default Jitter parameter Jitter _ C is the default parameter Jitter _ C under the click operation;
and if the finger operation type is sliding operation and the finger is judged not to be lifted according to the characteristic change of the Diff value, keeping the default Jitter parameter Jitter _ M under the sliding operation unchanged.
9. A storage medium storing one or more programs, the one or more programs being executable by one or more processors to perform the steps of the method for optimizing touch screen pointing stability according to any one of claims 1-8.
10. A terminal device comprising a processor adapted to implement instructions; and a storage medium adapted to store a plurality of instructions adapted to be loaded by a processor and to perform the steps of the method of optimizing touch screen click stability of any one of claims 1-8.
CN202110049243.4A 2021-01-14 2021-01-14 Method for optimizing touch screen point reporting stability, storage medium and terminal equipment Pending CN112783368A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110049243.4A CN112783368A (en) 2021-01-14 2021-01-14 Method for optimizing touch screen point reporting stability, storage medium and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110049243.4A CN112783368A (en) 2021-01-14 2021-01-14 Method for optimizing touch screen point reporting stability, storage medium and terminal equipment

Publications (1)

Publication Number Publication Date
CN112783368A true CN112783368A (en) 2021-05-11

Family

ID=75756731

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110049243.4A Pending CN112783368A (en) 2021-01-14 2021-01-14 Method for optimizing touch screen point reporting stability, storage medium and terminal equipment

Country Status (1)

Country Link
CN (1) CN112783368A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101689091A (en) * 2007-06-13 2010-03-31 苹果公司 techniques for reducing jitter for taps
CN102968258A (en) * 2012-12-07 2013-03-13 张兴杰 Touch method for accurate sliding control over touch screen
CN103472986A (en) * 2013-08-09 2013-12-25 深圳Tcl新技术有限公司 Touch sliding operation self adaption control method, device and touch plate
CN105549854A (en) * 2015-12-01 2016-05-04 上海斐讯数据通信技术有限公司 Mobile terminal and operation method for scroll bar
CN108693986A (en) * 2018-07-11 2018-10-23 歌尔科技有限公司 A kind of touch plate response method, system and a kind of touch tablet and storage medium
CN109992156A (en) * 2019-03-25 2019-07-09 努比亚技术有限公司 A kind of false-touch prevention method, mobile terminal and computer readable storage medium
WO2020000406A1 (en) * 2018-06-29 2020-01-02 深圳市汇顶科技股份有限公司 Touch screen adjustment method, touch chip and electronic terminal
CN110652725A (en) * 2019-09-29 2020-01-07 网易(杭州)网络有限公司 Method and device for controlling aiming direction in game, electronic equipment and storage medium
CN111625134A (en) * 2020-05-18 2020-09-04 Oppo(重庆)智能科技有限公司 Display refresh rate synchronization method and device, terminal and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101689091A (en) * 2007-06-13 2010-03-31 苹果公司 techniques for reducing jitter for taps
CN102968258A (en) * 2012-12-07 2013-03-13 张兴杰 Touch method for accurate sliding control over touch screen
CN103472986A (en) * 2013-08-09 2013-12-25 深圳Tcl新技术有限公司 Touch sliding operation self adaption control method, device and touch plate
CN105549854A (en) * 2015-12-01 2016-05-04 上海斐讯数据通信技术有限公司 Mobile terminal and operation method for scroll bar
WO2020000406A1 (en) * 2018-06-29 2020-01-02 深圳市汇顶科技股份有限公司 Touch screen adjustment method, touch chip and electronic terminal
CN111344658A (en) * 2018-06-29 2020-06-26 深圳市汇顶科技股份有限公司 Touch screen adjusting method, touch chip and electronic terminal
CN108693986A (en) * 2018-07-11 2018-10-23 歌尔科技有限公司 A kind of touch plate response method, system and a kind of touch tablet and storage medium
CN109992156A (en) * 2019-03-25 2019-07-09 努比亚技术有限公司 A kind of false-touch prevention method, mobile terminal and computer readable storage medium
CN110652725A (en) * 2019-09-29 2020-01-07 网易(杭州)网络有限公司 Method and device for controlling aiming direction in game, electronic equipment and storage medium
CN111625134A (en) * 2020-05-18 2020-09-04 Oppo(重庆)智能科技有限公司 Display refresh rate synchronization method and device, terminal and storage medium

Similar Documents

Publication Publication Date Title
US9965158B2 (en) Touch screen hover input handling
JP5950597B2 (en) Information processing apparatus and control method thereof
US9891816B2 (en) Method and mobile terminal for processing touch input in two different states
US20190258380A1 (en) Method for False Touch Prevention and Terminal
CN107422915A (en) Response control mehtod, device, storage medium and the terminal of touch-screen
EP3605305B1 (en) Character input method of mobile terminal and mobile terminal
US20160117046A1 (en) Data Reporting Method and Apparatus, and Terminal Device
CN103718149A (en) Processing method of text and touch panel equipment
EP3678001B1 (en) Method and device for controlling output of report
CN105824496A (en) Method for setting icon brightness based on use of users and mobile terminal
CN113253878B (en) Touch screen report point determining method and device, electronic equipment and storage medium
US10990216B2 (en) Method for adjustment touch screen, touch chip, and electronic terminal
US20190339858A1 (en) Method and apparatus for adjusting virtual key of mobile terminal
CN104035713A (en) Soft keyboard operating method and device
US20140223328A1 (en) Apparatus and method for automatically controlling display screen density
US11656761B2 (en) Touch hotspot adjustment method, apparatus, and device, and touchscreen terminal device
CN109669567A (en) A kind of control method and terminal
CN112783368A (en) Method for optimizing touch screen point reporting stability, storage medium and terminal equipment
CN116661618A (en) Touch mode switching method and device for touch screen
CN107728898B (en) Information processing method and mobile terminal
CN108021313B (en) Picture browsing method and terminal
CN108595042B (en) Touch screen input control method, device, equipment and storage medium
US9274703B2 (en) Method for inputting instruction and portable electronic device and computer readable recording medium
CN104375659A (en) Information processing method and electronic equipment
WO2019072254A1 (en) Control method and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination