CN117555440A - Automatic adjustment method and device for touch report rate, touch screen and electronic equipment - Google Patents

Automatic adjustment method and device for touch report rate, touch screen and electronic equipment Download PDF

Info

Publication number
CN117555440A
CN117555440A CN202311491447.9A CN202311491447A CN117555440A CN 117555440 A CN117555440 A CN 117555440A CN 202311491447 A CN202311491447 A CN 202311491447A CN 117555440 A CN117555440 A CN 117555440A
Authority
CN
China
Prior art keywords
touch
time
adjusting
continuous
rate
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
CN202311491447.9A
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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202311491447.9A priority Critical patent/CN117555440A/en
Publication of CN117555440A publication Critical patent/CN117555440A/en
Pending legal-status Critical Current

Links

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5021Priority

Landscapes

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

Abstract

The invention discloses a method and a device for automatically adjusting the speed of a touch point, a touch screen and electronic equipment. Wherein the method comprises the following steps: determining a touch area capable of supporting continuous touch control on a current interface; when detecting that continuous touch operation exists in the touch area, recording duration time of the continuous touch operation and touch times in the duration time; and adjusting the touch point reporting rate according to the duration time and the touch times. According to the invention, under the condition that a user performs long-time rapid continuous touch, the touch point reporting rate is reduced, the reported touch data is slowed down, so that the display frequent refreshing caused by rapid touch is reduced, the situation that the low-priority task cannot be allocated with resources due to excessive resources occupied by the high-priority task is avoided, the problem that the low-priority task cannot be allocated with resources due to long-time rapid continuous pressing of the touch screen is solved, the reset is caused, the reliability of equipment is improved, and the user experience is improved.

Description

Automatic adjustment method and device for touch report rate, touch screen and electronic equipment
Technical Field
The invention relates to the technical field of touch control, in particular to a method and a device for automatically adjusting the speed of a touch control report, a touch screen and electronic equipment.
Background
The display screen is used as a terminal for man-machine interaction, and operation of the device is often required to be controlled through the display screen. With the development of technology, touch screens become the mainstream of man-machine interaction terminals, and are increasingly popular with users.
For a touch screen with limited chip resources, because the priority of display is relatively high, when irregular operations such as continuous touch operation for a long time are encountered, too many chip resources are occupied by frequent display refreshing too fast in order to respond to the touch operation, so that the low-priority tasks cannot be allocated with the resources, and the phenomena of error, blocking and the like occur, thereby easily causing problems of resetting and the like and affecting the user experience.
Aiming at the problem that the low-priority task cannot be allocated to the resource and the reset occurs due to the fact that the touch screen is pressed continuously for a long time in the prior art, no effective solution is proposed at present.
Disclosure of Invention
The embodiment of the invention provides a method and a device for automatically adjusting the speed of a touch control report, a touch screen and electronic equipment, and aims to at least solve the problem that resources are not allocated to low-priority tasks and reset due to the fact that the touch screen is quickly pressed for a long time in the prior art.
In order to solve the above technical problems, an embodiment of the present invention provides a method for automatically adjusting a speed of a touch report, including:
determining a touch area capable of supporting continuous touch control on a current interface;
when detecting that continuous touch operation exists in the touch area, recording duration time of the continuous touch operation and touch times in the duration time;
and adjusting the touch point reporting rate according to the duration time and the touch times.
Optionally, after the current interface determines the touch area capable of supporting continuous touch, the method further includes:
detecting whether the interval time between two adjacent touch operations in the touch area is smaller than or equal to a preset interval time;
if so, determining that continuous touch operation exists in the touch area.
Optionally, adjusting the touch point reporting rate according to the duration and the touch times includes:
when the recorded duration time is longer than a preset time, judging whether the touch times are longer than the preset times or not;
if the touch times are greater than the preset times, reducing the touch point reporting rate;
and if the touch times are smaller than or equal to the preset times, adjusting the starting value of the next recording according to a preset rule, wherein the starting value of the duration of the next recording is designated time, the starting value of the touch times of the next recording is designated times, and the designated time and the designated times are not 0.
Optionally, reducing the touch point reporting rate includes:
if the touch point reporting rate is the initial default value, the touch point reporting rate is reduced;
and if the touch report rate is smaller than the initial default value, keeping the current touch report rate unchanged.
Optionally, adjusting the start value of the next recording according to a preset rule includes:
judging whether the number of times of continuously adjusting the initial value reaches a set number of times;
if yes, the touch control report speed is restored to an initial default value;
if not, the starting value of the next record is adjusted according to a preset rule.
Optionally, after the touch report rate is reduced, or after the current touch report rate is kept unchanged, or after the touch report rate is restored to the initial default value, the method further includes:
adjusting the initial value of the next record according to a preset rule; or,
and resetting the number of times of continuously adjusting the starting value, and adjusting the starting value of the next record according to a preset rule.
Optionally, the method further comprises:
if the interval time between two adjacent touch operations is detected to be larger than the preset interval time, the duration time and the touch times which are recorded currently are cleared, the touch point speed is restored to the initial default value, and the times of continuously adjusting the start value recorded next time are cleared.
The embodiment of the invention also provides an automatic adjusting device for the speed of the touch control report point, which comprises the following steps:
the determining module is used for determining a touch area capable of supporting continuous touch on the current interface;
the recording module is used for recording duration time of continuous touch operation and touch times in the duration time when the continuous touch operation exists in the touch area;
and the adjusting module is used for adjusting the touch point reporting rate according to the duration time and the touch times.
The embodiment of the invention also provides a touch screen, which comprises: the embodiment of the invention discloses an automatic adjusting device for the speed of a touch control report point.
The embodiment of the invention also provides electronic equipment, which comprises: the touch screen provided by the embodiment of the invention.
The embodiments of the present invention also provide a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method of the embodiments of the present invention.
By applying the technical scheme of the invention, aiming at the touch area supporting continuous touch, the duration time of continuous touch operation in the touch area and the touch times in the duration time are recorded, and the touch report rate is adjusted according to the duration time and the touch times, so that the touch report rate can be reduced under the condition that a user performs long-time rapid continuous touch, the reported touch data is slowed down, the frequent refreshing of display caused by rapid touch is reduced, the condition that low-priority tasks cannot be allocated due to the fact that high-priority tasks occupy excessive resources is avoided, the problem that the low-priority tasks cannot be allocated due to the fact that the touch screen is rapidly pressed for a long time is solved, the reliability of equipment is improved, and the use experience of the user is improved.
Drawings
Fig. 1 is a flowchart of a method for automatically adjusting a speed of a touch pad according to an embodiment of the present invention;
FIG. 2 is a flowchart of an automatic adjustment of a touch report rate according to a second embodiment of the present invention;
fig. 3 is a specific flow of automatically adjusting the rate of a touch point according to the second embodiment of the present invention;
fig. 4 is a block diagram of a touch-control message rate automatic adjustment device according to a third embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail below with reference to the accompanying drawings, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that the terms "first," "second," and the like in the description and the claims and drawings of the present invention are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is illustrated in the flowcharts, in some cases the steps illustrated or described may be performed in an order other than that illustrated herein.
It should be understood that the term "and/or" as used herein is merely one relationship describing the association of the associated objects, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
Alternative embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
Example 1
The embodiment provides a method for automatically adjusting the speed of a touch control point, which is applicable to a touch screen.
Fig. 1 is a flowchart of a method for automatically adjusting a speed of a touch point according to an embodiment of the present invention, as shown in fig. 1, the method includes the following steps:
s101, determining a touch area capable of supporting continuous touch control on a current interface.
And S102, when the existence of continuous touch operation in the touch area is detected, recording the duration time of the continuous touch operation and the touch times in the duration time.
And S103, adjusting the touch report rate according to the duration time and the touch times.
Continuous touch refers to at least two times of touch in the same position of the touch screen in a short time, namely quick continuous pressing.
The touch point reporting rate refers to the number of times or the data volume of reporting a touch event to the application layer by the driving layer in unit time.
The touch screen can display at least one interface, the area which can be touched by a user on each interface can be different, and the touched mode can also be different, for example, a selection button is displayed on some areas, the user can complete the selection operation by touching the button once, the continuous touch is invalid to the area, and the points are not reported, such as selecting an air conditioner operation mode; and the two buttons support continuous touch control, namely the user can quickly and continuously press the "+" to realize temperature setting.
When the continuous touch operation exists in the touch area, triggering the recording of the duration time and the touch times, along with the long-time continuous touch operation of the user on the touch area, the recorded duration time can be always increased, the recorded touch times can also be always increased, and then stopping the recording when the continuous touch operation does not exist in the touch area, or stopping the recording when other conditions are met (such as the touch report rate is reduced), continuously monitoring the touch operation of the user, and performing the next recording when the continuous touch operation exists in the touch area again.
Whether the user performs continuous touch operation for a long time can be determined through the duration time, and the speed of continuous touch of the user can be determined through the touch times in the duration time.
According to the embodiment, aiming at the touch area supporting continuous touch, the duration time of continuous touch operation in the touch area and the touch times in the duration time are recorded, and the touch report rate is adjusted according to the duration time and the touch times, so that the touch report rate can be reduced and the touch data can be slowly reported under the condition that a user performs long-time rapid continuous touch, frequent refreshing of display caused by rapid touch is reduced, the situation that low-priority tasks cannot be allocated due to the fact that high-priority tasks occupy excessive resources is avoided, the problem that the low-priority tasks cannot be allocated due to the fact that the touch screen is rapidly pressed for a long time is solved, the reliability of equipment is improved, and the use experience of the user is improved.
In one embodiment, after the current interface determines the touch area capable of supporting continuous touch, the method further includes: detecting whether the interval time between two adjacent touch operations in the touch area is smaller than or equal to a preset interval time; if so, determining that continuous touch operation exists in the touch area. The preset interval time is used for measuring whether two adjacent touch operations belong to continuous touch or not, and the preset interval time can be set according to actual conditions. The embodiment can simply and reliably identify continuous touch operation.
In one embodiment, adjusting the touch report rate according to the duration and the touch number includes:
when the recorded duration time is longer than a preset time, judging whether the touch times are longer than the preset times or not;
if the touch times are greater than the preset times, reducing the touch point reporting rate, wherein the specific reduction amplitude can be set according to comprehensive consideration of chip resources and affected degrees;
if the touch number is less than or equal to the preset number, the start value of the next recording is adjusted according to a preset rule, and step S102 is executed in a return manner, when the continuous touch operation exists in the touch area, the duration of the continuous touch operation and the touch number in the duration are recorded, wherein the start value of the duration of the next recording is designated time, the start value of the touch number of the next recording is designated number, and both the designated time and the designated number are not 0.
The preset time is used for measuring whether the user performs continuous touch operation for a long time, and the preset time can be set according to actual conditions. The preset times are used for measuring the speed of continuous touch of a user, the preset times can be set according to actual conditions, the continuous touch is too fast, and the risk of resetting is caused.
The preset rule refers to a rule for adjusting the duration of the next recording and the start value of the touch number. The preset rules include the number of adjustments and the target value of each adjustment, the target value including the specified time and the specified number of times, i.e. the number of adjustments, to what value the start value is adjusted each time. The start value of recording means that recording is started from the start value, for example, if the start value is 0, the next recording is accumulated on the basis of 0, and if the start value is 3, the next recording is accumulated on the basis of 3.
The designated time and the designated number of times may be preset values, or may be determined according to the duration of the current recording and the number of times of touch, for example, k times of the duration of the current recording and the number of times of touch are taken as the starting value of the next recording, 0 < k < 1, for example, k=1/2, the duration of the current recording is 4 seconds, the number of times of touch is 10 times, the starting value of the duration of the next recording is 2 seconds, the starting value of the number of times of touch is 5 times of the next recording, that is, the next recording is not started from 0, but is accumulated on the basis of 2 seconds and 5 times.
In specific implementation, the variable t may be set to record the duration, the variable N may be set to record the touch times, and when the device is started, t=0, n=0, t=4, n=10 of the current record, and then the start value of the next record is adjusted, for example, the value t=2, n=5 is assigned.
According to the method and the device, under the condition that the user is determined to perform long-time rapid continuous touch operation, the touch point reporting rate is reduced, so that the situation that resources cannot be allocated to low-priority tasks due to the fact that the high-priority tasks occupy too many resources is avoided. Considering that the speed change of the user in touch is uncertain, the embodiment adjusts the starting value of the next record under the condition that the long-time quick continuous pressing is not detected, and ensures that the detection time for continuous touch after one round of detection is shortened, so that the quick continuous touch operation can be timely identified, and the problem of untimely detection when the speed of the touch operation changes is prevented.
Further, reducing the touch point reporting rate includes: if the touch point reporting rate is the initial default value, the touch point reporting rate is reduced; if the touch report rate is smaller than the initial default value (which is equivalent to that the touch report rate has been reduced), the current touch report rate is kept unchanged. In the embodiment, considering that the one-time touch point reporting rate is reduced, the situation that the low-priority task cannot be allocated with resources due to the fact that the high-priority task occupies too many resources can be basically avoided, and the touch point reporting rate is not required to be reduced for many times.
In one embodiment, adjusting the start value of the next recording according to a preset rule includes: judging whether the number of times of continuously adjusting the initial value reaches a set number of times; if yes, the touch control report speed is restored to an initial default value; if not, the starting value of the next record is adjusted according to a preset rule. The setting number may be set according to the actual hardware resources, for example, 2 times.
According to the embodiment, the fact that continuous touch can not be performed all the time by the user is considered, and through the set times, the long-time continuous touch operation of the user can be detected more effectively, so that the touch point reporting rate can be adjusted more reasonably. And the touch report rate is restored to the initial default value, so that the follow-up timely response to the touch operation of the user can be ensured, the sensitivity is ensured, and the use experience of the user is ensured.
In one embodiment, after the touch report rate is reduced, or after the current touch report rate is kept unchanged, or after the touch report rate is restored to the initial default value, the method further includes: adjusting the initial value of the next record according to a preset rule; or, resetting the number of times of continuously adjusting the starting value, and adjusting the starting value of the next record according to a preset rule.
In the embodiment, after the touch report rate is adjusted, the starting value of the next record is adjusted, so that continuous touch operation of changing the touch speed is ensured to be recognized in time. If the adjustment times of the starting value are involved, after the speed of the touch control report point is adjusted, the adjustment times are cleared, and then the starting value recorded next time is adjusted, so that the touch control operation of a user is more effectively detected.
In one embodiment, the method further comprises: if the interval time between two adjacent touch operations is detected to be larger than the preset interval time, the duration time and the touch times which are recorded currently are cleared, the touch point speed is restored to the initial default value, and the times of continuously adjusting the start value recorded next time are cleared.
In the embodiment, under the condition that discontinuous touch operation is detected, related data is cleared or restored in time, so that the influence on the next recording and adjustment is avoided.
Example two
The method for automatically adjusting the speed of the touch point is described below with reference to a specific embodiment, however, it should be noted that the specific embodiment is only for better illustrating the present application and is not meant to be unduly limiting. The same or corresponding terms as those of the above embodiments are explained, and the present embodiment will not be repeated.
Referring to fig. 2, a flowchart for automatically adjusting the touch point rate includes the following steps:
s201, in the operation process, the touch area which can be quickly pressed is transmitted into the driving layer.
S202, the driving layer detects and records the duration time of continuous touch in the touch area and the touch times in the duration time.
S203, comparing the recorded duration and the touch times with the corresponding preset thresholds.
And S204, adjusting the touch control report rate according to the comparison result, and specifically, when the recorded duration exceeds the preset time and the recorded touch control times exceed the preset times, properly adjusting the touch control report rate.
Referring to fig. 3, a specific flow for automatically adjusting the touch point rate includes the following steps:
s301, the touch area supporting the rapid connection is transmitted into the driving layer. The touch area supporting the quick continuous pressing can cause frequent refreshing of the display under the condition that the user quickly presses for a long time, so that the low-priority task cannot be allocated with resources, and reset occurs.
S302, in response to touch, the driving layer detects and records duration t of continuous touch in the touch area and number N of touch times in the duration t.
S303, judging whether the response interval time between two adjacent touch operations is larger than the preset interval time t1, if so, entering S308, otherwise, entering S304.
S304, judging whether the duration t exceeds the preset time t2, if so, entering S305, and if not, returning to S302 to continue detection.
S305, judging whether the touch times N are larger than the preset times N0, if so, entering S306, otherwise, entering S310.
S306, judging whether the touch report rate is reduced, if so, entering S312, otherwise, entering S307.
S307, the touch point reporting rate is reduced.
S308, resetting t and N recorded currently.
S309, resetting the halving times, recovering the touch control report speed to the initial default value, and returning to S302 to continue detection.
S310, judging whether the halving times are greater than 2, if so, proceeding to S311, otherwise proceeding to S313.
S311, the touch report speed is restored to the initial default value, and then S312 is performed.
S312, resetting the halving times.
S313, halving t and N (namely, giving non-zero values to the variables t and N), adding 1 to the halving times, returning to S302, continuing to detect, and accumulating on the basis of the current assignment of t and N when t and N are recorded next time.
In this embodiment, if the interval time between two adjacent touch operations is less than or equal to the preset interval time t1, the touch is considered to be continuous. If the duration t of the continuous touch is longer than the preset time t2, the duration t of the continuous touch is considered to be longer. If the touch number N within the duration t is greater than the preset number N0, the touch is considered to be too fast at this time, and there is a risk of causing reset.
And when the duration time t exceeds the preset time t2, judging the touch times N. If the touch times N is smaller than or equal to the preset times N0, the duration t and the touch times N are halved for continuous detection; if the touch times N is greater than the preset times N0, the touch point reporting rate is slowed down to reduce the display frequent refreshing caused by the quick touch, resources are not robbed with low-priority tasks if less reports are reported in unit time, the problems of resetting and the like caused by the fact that the low-priority tasks cannot be allocated with resources are avoided, and meanwhile, the duration t and the touch times N are halved for continuous detection.
In the process of continuing detection by halving the duration t and the touch times N, judging the touch times N when the duration t exceeds the preset time t2, and if the touch times N are smaller than or equal to the preset times N0, continuing detection by halving the duration t and the touch times N; if the touch times N are greater than the preset times N0 and the touch report rate is slowed down, the current touch report rate is kept unchanged, otherwise, the touch report rate is slowed down, and the duration t and the touch times N are halved for continuous detection. If the touch times N are still smaller than or equal to the preset times N0 after the continuous halving, the touch report rate is restored to the initial default value, otherwise, the current touch report rate is kept unchanged.
If the response interval time of two adjacent touch controls is larger than the preset interval time t1, the timing count is cleared, specifically, t and N are cleared, and half times are cleared. When the timing count is clear, the touch control reporting speed is synchronously restored to an initial default value, so that timely response to touch control operation of a user is ensured, the sensitivity is ensured, and the use experience of the user is ensured.
The halving operation can shorten the detection time when the touch control is still continued after one round of detection, prevent the untimely problem of detection when the touch control operation is fast and slow to change, realize timely detection's purpose. In actual implementation, the ratio is not necessarily halved, other ratios, such as 2/3, can be reduced, and the preset values can be directly used for assigning the values of t and N instead of halving.
In the continuous detection process, if the touch number N is not up to the preset number N0 for several times, the touch operation is considered to be relatively slow and the reset is not caused, so that the normal touch reporting rate can be restored.
According to the method for automatically adjusting the touch point reporting rate, in the operation process of the touch screen, by transmitting the application layer touch area into the driving layer, when the driving layer detects that the duration and the times of the quick continuous pressing of the corresponding touch area exceed the threshold values, the reported touch data are slowed down, the problems that the low-priority tasks cannot be allocated due to the fact that the display frequently refreshes and occupies too many resources to cause the occurrence of reset and the like are prevented, the reliability of the controller is improved, the use experience of a user is improved, and the problem that the low-priority tasks cannot be allocated due to the fact that the low-priority tasks cannot be allocated due to the long-time quick continuous pressing of the touch screen to cause the occurrence of reset is solved.
Example III
Based on the same inventive concept, the embodiment provides an automatic adjustment device for the speed of the touch point, which can be used for realizing the automatic adjustment method for the speed of the touch point described in the above embodiment. The automatic adjustment device for the touch point speed can be realized through software and/or hardware, and can be generally integrated in a touch screen.
Fig. 4 is a block diagram of a touch report rate automatic adjustment device according to a third embodiment of the present invention, where, as shown in fig. 4, the touch report rate automatic adjustment device includes:
a determining module 41, configured to determine, at a current interface, a touch area capable of supporting continuous touch;
a recording module 42, configured to record a duration of the continuous touch operation and a number of touches within the duration when the continuous touch operation is detected to exist in the touch area;
the adjusting module 43 is configured to adjust the touch report rate according to the duration and the touch times.
Optionally, the automatic adjustment device for the speed of the touch point further includes:
the detection module is used for detecting whether the interval time between two adjacent touch operations is smaller than or equal to the preset interval time or not in the touch area after the current interface determines the touch area capable of supporting continuous touch;
and the operation determining module is used for determining that continuous touch operation exists in the touch area if the interval time between two adjacent touch operations is smaller than or equal to the preset interval time.
Optionally, the adjustment module 43 includes:
the judging unit is used for judging whether the touch control times are larger than preset times or not when the recorded duration time is larger than preset time;
the reduction unit is used for reducing the touch point reporting rate if the touch times are larger than the preset times;
and the adjusting unit is used for adjusting the starting value of the next recording according to a preset rule if the touch control times are smaller than or equal to the preset times, wherein the starting value of the duration of the next recording is designated time, the starting value of the touch control times of the next recording is designated times, and the designated time and the designated times are not 0.
Optionally, the reducing unit is specifically configured to:
if the touch point reporting rate is the initial default value, the touch point reporting rate is reduced;
and if the touch report rate is smaller than the initial default value, keeping the current touch report rate unchanged.
Optionally, the adjusting unit includes:
a judging subunit, configured to judge whether the number of times of continuously adjusting the start value reaches a set number of times;
a recovery subunit, configured to recover the touch report rate to an initial default value if the number of times of continuously adjusting the start value reaches a set number of times;
and the adjustment subunit is used for adjusting the starting value of the next record according to a preset rule if the number of times of continuously adjusting the starting value does not reach the set number of times.
Optionally, the adjusting module 43 further includes:
the processing unit is used for adjusting the starting value of the next record according to a preset rule after the touch report point speed is reduced or after the current touch report point speed is kept unchanged or after the touch report point speed is restored to an initial default value; or, resetting the number of times of continuously adjusting the starting value, and adjusting the starting value of the next record according to a preset rule.
Optionally, the apparatus further includes:
and the processing module is used for clearing the duration time and the touch times which are recorded currently if the interval time between two adjacent touch operations is detected to be greater than the preset interval time, recovering the touch point speed to the initial default value, and clearing the times of continuously adjusting the start value recorded next time.
The automatic adjustment device for the touch report rate can execute the automatic adjustment method for the touch report rate, and has the corresponding functional modules and beneficial effects of the execution method. Technical details which are not described in detail in the embodiment of the present invention can be referred to the method for automatically adjusting the speed of the touch control report provided by the embodiment of the present invention.
Example IV
The present embodiment provides a touch screen, including: the embodiment of the invention discloses an automatic adjusting device for the speed of a touch control report point.
Example five
The present embodiment provides an electronic device, including: the touch screen provided by the embodiment of the invention. For example, an embedded air conditioner controller using a touch screen, etc.
Example six
The present embodiment provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method according to the embodiments of the present invention.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (11)

1. The automatic adjustment method for the touch control report rate is characterized by comprising the following steps:
determining a touch area capable of supporting continuous touch control on a current interface;
when detecting that continuous touch operation exists in the touch area, recording duration time of the continuous touch operation and touch times in the duration time;
and adjusting the touch point reporting rate according to the duration time and the touch times.
2. The method of claim 1, further comprising, after the current interface determines the touch area that can support continuous touch:
detecting whether the interval time between two adjacent touch operations in the touch area is smaller than or equal to a preset interval time;
if so, determining that continuous touch operation exists in the touch area.
3. The method of claim 1, wherein adjusting the touch report rate according to the duration and the number of touches comprises:
when the recorded duration time is longer than a preset time, judging whether the touch times are longer than the preset times or not;
if the touch times are greater than the preset times, reducing the touch point reporting rate;
and if the touch times are smaller than or equal to the preset times, adjusting the starting value of the next recording according to a preset rule, wherein the starting value of the duration of the next recording is designated time, the starting value of the touch times of the next recording is designated times, and the designated time and the designated times are not 0.
4. The method of claim 3, wherein reducing the touch point rate comprises:
if the touch point reporting rate is the initial default value, the touch point reporting rate is reduced;
and if the touch report rate is smaller than the initial default value, keeping the current touch report rate unchanged.
5. A method according to claim 3, wherein adjusting the start value of the next recording according to a preset rule comprises:
judging whether the number of times of continuously adjusting the initial value reaches a set number of times;
if yes, the touch control report speed is restored to an initial default value;
if not, the starting value of the next record is adjusted according to a preset rule.
6. The method according to any one of claims 3 to 5, further comprising, after reducing the touch point rate, or after maintaining the current touch point rate unchanged, or after restoring the touch point rate to an initial default value:
adjusting the initial value of the next record according to a preset rule; or,
and resetting the number of times of continuously adjusting the starting value, and adjusting the starting value of the next record according to a preset rule.
7. The method according to any one of claims 1 to 5, further comprising:
if the interval time between two adjacent touch operations is detected to be larger than the preset interval time, the duration time and the touch times which are recorded currently are cleared, the touch point speed is restored to the initial default value, and the times of continuously adjusting the start value recorded next time are cleared.
8. The utility model provides a touch-control report point rate automatic regulating apparatus which characterized in that includes:
the determining module is used for determining a touch area capable of supporting continuous touch on the current interface;
the recording module is used for recording duration time of continuous touch operation and touch times in the duration time when the continuous touch operation exists in the touch area;
and the adjusting module is used for adjusting the touch point reporting rate according to the duration time and the touch times.
9. A touch screen, comprising: the automatic touch point rate adjustment device of claim 8.
10. An electronic device, comprising: the touch screen of claim 9.
11. A non-transitory computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method according to any one of claims 1 to 7.
CN202311491447.9A 2023-11-09 2023-11-09 Automatic adjustment method and device for touch report rate, touch screen and electronic equipment Pending CN117555440A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311491447.9A CN117555440A (en) 2023-11-09 2023-11-09 Automatic adjustment method and device for touch report rate, touch screen and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311491447.9A CN117555440A (en) 2023-11-09 2023-11-09 Automatic adjustment method and device for touch report rate, touch screen and electronic equipment

Publications (1)

Publication Number Publication Date
CN117555440A true CN117555440A (en) 2024-02-13

Family

ID=89822488

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311491447.9A Pending CN117555440A (en) 2023-11-09 2023-11-09 Automatic adjustment method and device for touch report rate, touch screen and electronic equipment

Country Status (1)

Country Link
CN (1) CN117555440A (en)

Similar Documents

Publication Publication Date Title
US10048804B2 (en) Method for preventing false touches on terminal and terminal
CN107273130B (en) Method, device and terminal for accelerating interface drawing
US11573688B2 (en) Method, apparatus, and terminal for processing notification information
CN107422901B (en) Method and system for preventing mistaken touch of touch screen
CN106886331B (en) Data processing method and device of touch terminal and touch terminal
CN105607853B (en) A kind of information processing method and electronic equipment
KR101870392B1 (en) Method for processing touch signal and terminal device
CN110703937A (en) Abnormity detection method, abnormity detection device, storage medium and terminal equipment
CN110580234A (en) Fusing method suitable for micro server and external system
CN105068719A (en) Information processing method and electronic device
CN117555440A (en) Automatic adjustment method and device for touch report rate, touch screen and electronic equipment
CN108287658B (en) Mobile terminal control touch processing method, storage device and mobile terminal
CN106126099B (en) Information processing method and electronic equipment
CN110703942B (en) Touch signal processing method and device, main chip terminal and touch display panel
CN110652724B (en) Display control method and device in game
CN104932927B (en) A kind of application control method and electronic equipment
CN112596663A (en) Method and device for adjusting played content, computer equipment and storage medium
EP3200060A1 (en) Touch screen operating method and device
CN113190121A (en) Key control method, system and device and computer readable storage medium
CN110989895A (en) Control display state detection method and device
CN106095322B (en) Control method and electronic equipment
CN111444086A (en) Method and system for estimating fluency of terminal application
CN104932819A (en) Mobile terminal and control method thereof
CN114448927B (en) Function management and control method and system for social application, storage medium and computer equipment
US20200319744A1 (en) Input apparatus that receives, after fixed period, position on screen of display device specified by touch operation

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