CN110502153A - Method of adjustment, touch screen, electronic equipment and the storage medium of touch screen report point rate - Google Patents

Method of adjustment, touch screen, electronic equipment and the storage medium of touch screen report point rate Download PDF

Info

Publication number
CN110502153A
CN110502153A CN201910812509.9A CN201910812509A CN110502153A CN 110502153 A CN110502153 A CN 110502153A CN 201910812509 A CN201910812509 A CN 201910812509A CN 110502153 A CN110502153 A CN 110502153A
Authority
CN
China
Prior art keywords
touch
report point
point rate
control
touch screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910812509.9A
Other languages
Chinese (zh)
Other versions
CN110502153B (en
Inventor
林进全
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology 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 Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201910812509.9A priority Critical patent/CN110502153B/en
Publication of CN110502153A publication Critical patent/CN110502153A/en
Application granted granted Critical
Publication of CN110502153B publication Critical patent/CN110502153B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3262Power saving in digitizer or tablet
    • 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

Landscapes

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

Abstract

The embodiment of the present application discloses method of adjustment, device, electronic equipment and the storage medium of a kind of touch screen report point rate, this includes: the touch information for obtaining touch screen and detecting;Wherein, the touch information includes touch type and touch location;Based on preset recognition strategy, the corresponding target control type of the touch information is determined;Wherein, the target control type is a kind of Control Cooling of the touch-control component;Determine the corresponding target report point rate of the target control type;The current report point rate of the touch screen is adjusted to the target report point rate.So, the report point rate of touch screen is adjusted flexibly using the corresponding report point rate of different Control Coolings, it can be using high report point rate, to improve the sensitivity of touch screen for the report point demanding Control Cooling of rate, require low touch type can be using low report point rate, to reduce energy consumption report point rate.

Description

Method of adjustment, touch screen, electronic equipment and the storage medium of touch screen report point rate
Technical field
This application involves electronic technology more particularly to a kind of methods of adjustment of touch screen report point rate, touch screen, electronic equipment And storage medium.
Background technique
With the development of electronic technology, the function of electronic equipment is also more and more abundant, such as the screen of electronic equipment can be with As touch screen, user is by executing touch event to touch screen, including presses (down) event and lift (up) event and shifting Dynamic (move) event, realizes the control to electronic equipment.
Touch screen report point rate refers to the quantity for the maximum effectively report point data that touch screen is capable of providing within the unit time, Touch screen is characterized to the response speed of touch (touch) event.Electronic equipment is all to report point rate using fixed in the prior art, than Such as: low side devices report point rate is 60Hz, and middle and high end equipment report point rate is 120Hz, 180Hz or 240Hz.This fixed report point rate Equipment when low report point rate is set, although it is slower to the response speed of touch event to save power consumption, setting is high when reporting rate, Although improving the response speed to touch event but there are power problems.
Summary of the invention
In order to solve the above technical problems, the embodiment of the present application is intended to provide a kind of method of adjustment of touch screen report point rate, touching Touch screen, electronic equipment and storage medium.
The technical solution of the application is achieved in that
In a first aspect, a kind of method of adjustment of touch screen report point rate is provided, this method comprises:
Obtain the touch information that touch screen detects;Wherein, the touch information includes touch type and touch location;
Based on preset recognition strategy, the corresponding target control type of the touch information is determined;Wherein, the target control Type processed is a kind of Control Cooling of the touch-control component;
Determine the corresponding target report point rate of the target control type;
The current report point rate of the touch screen is adjusted to the target report point rate.
Second aspect provides a kind of touch screen, which includes:
Detection unit, for detecting user to the touch information of the touch screen;Wherein, the touch information includes touching Type and touch location;
Determination unit determines the corresponding target control type of the touch information for being based on preset recognition strategy;With And determine the corresponding target report point rate of the target control type;Wherein, the target control type is the touch-control component A kind of Control Cooling;
Adjustment unit, for the current report point rate of the touch screen to be adjusted to the target report point rate.
The third aspect provides a kind of electronic equipment, which includes: processor and be configured to store and can locate The memory of the computer program run on reason device,
Wherein, it is performed the steps of when computer program in processor run memory
Obtain the touch information that touch screen detects;Wherein, the touch information includes touch type and touch location;
Based on preset recognition strategy, the corresponding target control type of the touch information is determined;Wherein, the target control Type processed is a kind of Control Cooling of the touch-control component;
Determine the corresponding target report point rate of the target control type;
The current report point rate of the touch screen is adjusted to the target report point rate.
Fourth aspect provides a kind of computer readable storage medium, is stored thereon with computer program, wherein the meter The step of preceding method is realized when calculation machine program is executed by processor.
By adopting the above technical scheme, the touch information that touch screen detects is obtained;Wherein, touch information includes touch type And touch location;Based on preset recognition strategy, the corresponding target control type of touch information is determined;Determine target control type Corresponding target report point rate;The current report point rate of touch screen is adjusted to target report point rate.In this way, each using different Control Coolings The report point rate of touch screen is adjusted flexibly in self-corresponding report point rate, can be using high report point for the report point demanding Control Cooling of rate Rate requires low touch type can be using low report point rate, to reduce energy consumption report point rate to improve the sensitivity of touch screen.
Detailed description of the invention
Fig. 1 is the first pass schematic diagram of the method for adjustment of touch screen report point rate in the embodiment of the present application;
Fig. 2 is the second procedure schematic diagram of the method for adjustment of touch screen report point rate in the embodiment of the present application;
Fig. 3 is the third flow diagram of the method for adjustment of touch screen report point rate in the embodiment of the present application;
Fig. 4 is the composed structure schematic diagram of touch screen in the embodiment of the present application;
Fig. 5 is the composed structure schematic diagram of electronic equipment in the embodiment of the present application.
Specific embodiment
The characteristics of in order to more fully hereinafter understand the embodiment of the present application and technology contents, with reference to the accompanying drawing to this Shen Please the realization of embodiment be described in detail, appended attached drawing purposes of discussion only for reference is not used to limit the embodiment of the present application.
Embodiment one
The embodiment of the present application provides a kind of method of adjustment of touch screen report point rate, and Fig. 1 is to touch in the embodiment of the present application The first pass schematic diagram of the method for adjustment of screen report point rate, as shown in Figure 1, this method can specifically include:
Step 101: obtaining the touch information that touch screen detects;Wherein, the touch information includes touch type and touching Touch position;
Step 102: being based on preset recognition strategy, determine the corresponding target control type of the touch information;Wherein, institute State a kind of Control Cooling that target control type is the touch-control component;
Step 103: determining the corresponding target report point rate of the target control type;
Step 104: the current report point rate of the touch screen is adjusted to the target report point rate.
Here, the executing subject of step 101 to step 104 can be the processor of electronic equipment.Here, electronic equipment can Think mobile terminal or fixed terminal with touch screen.For example, smart phone, PC are (such as tablet computer, desk-top Computer, notebook, net book, palm PC), mobile phone, E-book reader, portable media player, audio/view Frequency player, video camera and wearable device etc..
Here, it is by Types Below or to lift type that touch type, which is used to indicate touch type,.Specifically, when touch screen is examined When measuring the pressing operation of user, it is determined as pressing type, and obtain position of touch;When the pressing of user is not detected in touch screen When operation, it is determined as lifting operation, position of touch can be sky.
Further, corresponding target control type is determined according to touch type.Illustratively, the Control Cooling includes sliding Dynamic control, long-pressing control and click control.It includes down thing lasting in the first segment time that sliding, which controls corresponding touch information, Part, and touch location variation range is greater than the first change threshold, it includes in the second segment time that long-pressing, which controls corresponding touch information, Lasting down event, and touch location variation range is less than the second change threshold, clicking and controlling corresponding touch information includes the Lasting down event in three periods, and touch location variation range is less than third change threshold.Here, first time period is big In the third period, second time period is greater than the third period, and the first change threshold is greater than the second change threshold, the first variation threshold Value is greater than third change threshold.
In practical application, this method further include: preset the corresponding report point rate of at least two Control Coolings;Wherein, no Different report point rates are corresponded to Control Cooling.Here, different Control Coolings can also correspond to identical report point rate, but at least two controls The corresponding report point rate of type processed is not exactly the same.
Illustratively, the corresponding first report point rate of the sliding control, the corresponding second report point rate of long-pressing control, the point Hit the corresponding third report point rate of control;Wherein, the first report point rate is greater than the second report point rate and the third report point rate.
Here, for sliding control, user's finger or other physical feelings touch screen it is mobile when, touch screen inspection Measure the touch area for the event of pressing be it is continually changing, in order to promote user experience, need to improve the report point rate of touch screen, with Accelerate response speed.For long-pressing control, touch screen detects that the touch area for the event of pressing is substantially fixed constant, compared with Low report point rate can guarantee response speed.It is the touch that touch screen most detects due to pressing event for clicking for control Event, therefore the default report point rate of touch screen can be used.That is, the first report point rate is greater than the second report point rate, the second report Point rate is less than third report point rate, and the second report point rate can also be equal to third report point rate.
Further, after the current report point rate of the touch screen being adjusted to the target report point rate, the touching is controlled Control component is based on the target report point rate and reports target control type, is grasped with responding target control type to the control of touch-control component Make.
By adopting the above technical scheme, the touch information that touch screen detects is obtained;Wherein, touch information includes touch type And touch location;Based on preset recognition strategy, the corresponding target control type of touch information is determined;Determine target control type Corresponding target report point rate;The current report point rate of touch screen is adjusted to target report point rate.In this way, each using different Control Coolings The report point rate of touch screen is adjusted flexibly in self-corresponding report point rate, can be using high report point for the report point demanding Control Cooling of rate Rate requires low touch type can be using low report point rate, to reduce energy consumption report point rate to improve the sensitivity of touch screen.
Fig. 2 is the second procedure schematic diagram of the method for adjustment of touch screen report point rate in the embodiment of the present application;As shown in Fig. 2, It how shows in particular based on preset recognition strategy, determines the corresponding target control type of the touch information, this method tool Body may include:
Step 201: the current report point rate based on the touch screen obtains at least two moment that the touch screen detects Touch information;Wherein, touch information includes touch type and touch location;
Here, refer to that touch screen is that timing detects to touch information, obtain collected at least two in a period of time The touch information at moment judges the touch control type that user executes touch screen according to the touch information at least two moment. For example, acquiring 100 touch informations when current report point rate is 100Hz in 1s, acquiring a touch information at interval of 10ms.
Here, it is by Types Below or to lift type that touch type, which is used to indicate touch type,.Specifically, when touch screen is examined When measuring the pressing operation of user, it is determined as pressing type, and obtain position of touch;When the pressing of user is not detected in touch screen When operation, it is determined as lifting operation, position of touch can be sky.
Step 202: when touch type is to lift type, and the touch information at the i-th moment in the touch information at the (i-1)-th moment When middle touch type is by Types Below, using touch location in the touch information at the i-th moment as first position;When the i-th+j moment Touch information in touch type be by Types Below when, using touch location in the touch information of i-th+n-hour as the second position; Wherein, i takes positive integer, and j takes 1 to N integer;
Here it is possible to by touch type in touch information of the setting first identifier information to indicate for the (i-1)-th moment whether To lift type, wherein first identifier information characterizes touch type in the touch information at the (i-1)-th moment when invalid be to lift class Type;First identifier information characterizes touch type in the touch information at the (i-1)-th moment when effective be by Types Below.
That is, step 202 can be with are as follows: touch type is by Types Below and first in the touch information at the i-th moment When identification information is invalid, using touch location in the touch information at the i-th moment as first position, and by first identifier information It is set as effective;When touch type is by Types Below, j=1,2 ..., N, and first identifier in the touch information at the i-th+j moment When information is effective, using touch location in the touch information of i-th+n-hour as the second position.
Step 203: being based on the first position and the second position, determine the target control type;
In practical application, this method further include: preset the corresponding report point rate of at least two Control Coolings;Wherein, no Different report point rates are corresponded to Control Cooling.
Specifically, the Control Cooling includes sliding control, long-pressing control and clicks control;Sliding control corresponding the One report point rate, the corresponding second report point rate of long-pressing control, the click control corresponding third report point rate;Wherein, described first Report point rate is greater than the second report point rate and the third report point rate.
Correspondingly, step 203 specifically includes: being based on the first position and the second position, determine the touching at the i-th moment Touch the target range between position and the touch location of i-th+n-hour;When the target range is more than or equal to distance threshold When, determine the target control type for sliding control;When the target range is more than or equal to distance threshold, institute is determined Target control type is stated as long-pressing control.
In practical application, touch location can be the coordinate of touch screen pixel, for example first position coordinate is X1= 110, Y1=200;Second position coordinate is X2=100, and Y2=200, distance threshold is 8 pixels.When between any axial position When being more than or equal to distance threshold, it is determined as sliding control;When all axial location intervals are less than distance threshold, really It is set to long-pressing control.
In practical application, the determination method for clicking operation includes: when touch type in the touch information at the (i-1)-th moment To lift type, and touch type is by Types Below, the touching at the i-th+M+1 moment in the touch information at the i-th moment to the i-th+M moment Touching touch type in information is to determine target control type for long-pressing control when lifting type;Wherein, M is less than N.Here, due to Click control relative to sliding control and long-pressing control for it is short with touch screen time of contact, therefore, detect by Types Below Touch information it is few, for example, M be 0,1,2 or 4 etc., N 8,16 or 32 etc..
Step 204: determining the corresponding target report point rate of the target control type;
Specifically, target control type is being determined due to presetting the corresponding report point rate of at least two Control Coolings Later, the corresponding target report point rate of target control type is obtained from the corresponding report point rate of at least two Control Coolings.
Step 205: the current report point rate of the touch screen is adjusted to the target report point rate.
Specifically, when the current report point rate of the touch screen and the target report point rate difference, by working as the touch screen Preceding report point rate is adjusted to the target report point rate.
In practical application, can indicate whether report point rate is the first report point rate, second by setting second identifier information Report point rate or third report point rate.
Illustratively, it is assumed that second identifier information is used to indicate a report point rate when whether being the first report point rate, when the target When report point rate is the first report point rate and second indication information is effective, then the current report point rate of touch screen is not adjusted;When When the target report point rate is the first report point rate and second indication information is invalid, then by the current report point rate tune of the touch screen Whole is the first report point rate.
In some embodiments, after the current report point rate of the touch screen being adjusted to the target report point rate, the party Method further include: be based on the target report point rate, the touch information of control touch screen detection next time.
That is, target report point rate adjusted is applied not only to this touch control, also as touch control operation next time Report point rate;If user's continuous several times Control Cooling is identical, without changing current report point rate;Until Control Cooling change, when Preceding report point rate also changes correspondingly.
In some embodiments, after the current report point rate of the touch screen being adjusted to the target report point rate, the party Method further include: when touch type is to lift type in the touch information that the touch screen detects, by working as the touch screen Preceding report point rate is adjusted to default report point rate.Here, default report point rate can report point rate, third report point rate for second or be other Default report point rate.
That is, if detecting, the event of lifting will be worked as after adjusting current frequency for this target control type Preceding report point rate is set as default report point rate, readjusts current frequency for next target control type.
In some embodiments, before the touch information that the acquisition touch screen detects, this method further include: initial Change and the first identifier information, the second identifier information and the distance threshold are set.
For example, Initialize installation first identifier information is invalid, second identifier letter in electronic equipment factory or when booting Breath is set as invalid and distance threshold.
By adopting the above technical scheme, the touch information that touch screen detects is obtained;Wherein, touch information includes touch type And touch location;Based on preset recognition strategy, the corresponding target control type of touch information is determined;Determine target control type Corresponding target report point rate;The current report point rate of touch screen is adjusted to target report point rate.In this way, each using different Control Coolings The report point rate of touch screen is adjusted flexibly in self-corresponding report point rate, can be using high report point for the report point demanding Control Cooling of rate Rate requires low touch type can be using low report point rate, to reduce energy consumption report point rate to improve the sensitivity of touch screen.
Fig. 3 is the third flow diagram of the method for adjustment of touch screen report point rate in the embodiment of the present application;As shown in figure 3, This method can specifically include:
Step 301: initialization distance threshold, down_flag=0, h_report_rate=0;
Here, down_flag is the first instruction information, and down_flag=0 indicates that the touch type of previous moment is up, Down_flag=1 indicates that the touch type of previous moment is down;H_report_rate is second indication information, is used to indicate Current report point rate is the corresponding first report point rate of sliding control, and the current report point rate of h_report_rate=0 instruction is not the first report Point rate, the current report point rate of h_report_rate=1 instruction are the first report point rate.When the first report point rate is high report point rate, h_ The current report point rate of report_rate=0 instruction is low report point rate, and the current report point rate of h_report_rate=1 instruction is high report point Rate.
Distance threshold can be set to 8 pixels.
Step 302: touch screen timing detection touch signal;
In practical application, the touch type of touch signal is divided into down event, up event and move event;Wherein move thing Part also belongs to a kind of down event.
Step 303: judging whether current time touch type is down;If so, executing step 305;If it is not, executing step 304;
Step 304: current touch movement is over, then current report point rate reverts to default report point rate, and down_ is arranged Flag=0, h_report_rate=0;
Step 305: judging whether down_flag is 0;If so, executing step 306;If it is not, executing step 307;
Down_flag is the flag bit that record triggers down event for the first time, the down_flag when detecting down event It is 0, representative is that occur down event for the first time;When detecting down event, down_flag is 1, and representative can't not be for the first time Existing down event.
Step 306: record touch position coordinates (X1, Y1) is first position, juxtaposition down_flag=1;
Step 307: timing detection subsequent time touch information, and obtain second position coordinate (X2, Y2);
Here, the down event of timing detection needs not stop to compare subsequent time and the first moment (i.e. first position correspondence At the time of) it just can determine that Control Cooling.
Here, subsequent time refers to the collected touch information of later point, and it is non-limiting adjacent with current time when It carves.
In practical application, when in the touch information for only detecting a moment or several moment touch type be down, really It is set to clicking operation, default report point rate can be used.
Step 308: whether judgement the distance between (X1, Y1) and (X2, Y2) are less than distance threshold value;If so, executing step Rapid 309;If it is not, executing step 310;
For example, distance threshold is 8 pixels, first position coordinate is X1=110, Y1=200;Second position coordinate is X2= 100, Y2=200, when any axial location interval is more than or equal to distance threshold, it is determined as sliding control;When all When axial location interval is less than distance threshold, it is determined as long-pressing control.
Step 309: Control Cooling is long-pressing control, sets h_report_rate=0, using low report point rate reported data, it Return step 302 afterwards.
In practical application, judge whether the current report point rate of touch screen and low report point rate difference are identical, do not adjust when identical It is whole;It just adjusts when not identical.
Step 310: judging whether h_report_rate is 1;If so, executing step 312;If it is not, executing step 311;
Step 311: Control Cooling is sliding control, sets h_report_rate=1;
Step 312: reporting point rate reported data using high, later return step 302.
By adopting the above technical scheme, the touch information that touch screen detects is obtained;Wherein, touch information includes touch type And touch location;Based on preset recognition strategy, the corresponding target control type of touch information is determined;Determine target control type Corresponding target report point rate;The current report point rate of touch screen is adjusted to target report point rate.In this way, each using different Control Coolings The report point rate of touch screen is adjusted flexibly in self-corresponding report point rate, can be using high report point for the report point demanding Control Cooling of rate Rate requires low touch type can be using low report point rate, to reduce energy consumption report point rate to improve the sensitivity of touch screen.
A kind of touch screen is additionally provided in the embodiment of the present application, as shown in figure 4, the touch screen includes:
Detection unit 401, for detecting user to the touch information of the touch screen;Wherein, the touch information includes Touch type and touch location;
Determination unit 402 determines the corresponding target control class of the touch information for being based on preset recognition strategy Type;And determine the corresponding target report point rate of the target control type;Wherein, the target control type is the touch control part A kind of Control Cooling of part;
Adjustment unit 403, for the current report point rate of the touch screen to be adjusted to the target report point rate.
In some embodiments, touch screen further includes initialization unit, initialization unit, for presetting at least two The corresponding report point rate of Control Cooling;Wherein, different Control Coolings correspond to different report point rates.
In some embodiments, the Control Cooling includes sliding control, long-pressing control and clicks control;The sliding control The corresponding first report point rate of system, the corresponding second report point rate of long-pressing control, the click control corresponding third report point rate;Wherein, The first report point rate is greater than the second report point rate and the third report point rate.
In some embodiments, the acquiring unit 401 is obtained specifically for the current report point rate based on the touch screen The touch information at least two moment for taking the touch screen to detect.
In some embodiments, the determination unit 402, specifically for class ought be touched in the touch information at the (i-1)-th moment Type be lift type, and in the touch information at the i-th moment touch type be by Types Below when, will be in the touch information at the i-th moment Touch location is as first position;When touch type is by Types Below in the touch information at the i-th+j moment, by i-th+n-hour Touch information in touch location as the second position;Wherein, i takes positive integer, and j takes 1 to N integer;Based on described first Set with the second position, determine the target control type.
In some embodiments, the determination unit 402 is specifically used for being based on the first position and the second It sets, determines the target range between the touch location at the i-th moment and the touch location of i-th+n-hour;When the target range is big When distance threshold, determine the target control type for sliding control;When the target range is greater than or waits When distance threshold, determine the target control type for long-pressing control.
In some embodiments, the adjustment unit 403, current report point rate and the mesh specifically for the touch screen When mark report point rate difference, the current report point rate of the touch screen is adjusted to the target report point rate.
The embodiment of the present application also provides another electronic equipments, as shown in figure 5, the electronic equipment includes: processor 501 With the memory 502 for being configured to the computer program that storage can be run on a processor;501 run memory 501 of processor It is performed the steps of when middle computer program
Obtain the touch information that touch screen detects;Wherein, the touch information includes touch type and touch location;
Based on preset recognition strategy, the corresponding target control type of the touch information is determined;Wherein, the target control Type processed is a kind of Control Cooling of the touch-control component;
Determine the corresponding target report point rate of the target control type;
The current report point rate of the touch screen is adjusted to the target report point rate.
In some embodiments, it is also performed the steps of when computer program in 501 run memory 501 of processor pre- The corresponding report point rate of at least two Control Coolings is first set;Wherein, different Control Coolings correspond to different report point rates.
In some embodiments, the Control Cooling includes sliding control, long-pressing control and clicks control;The sliding control The corresponding first report point rate of system, the corresponding second report point rate of long-pressing control, the click control corresponding third report point rate;Wherein, The first report point rate is greater than the second report point rate and the third report point rate.
In some embodiments, following steps are implemented when computer program in 501 run memory 501 of processor: Current report point rate based on the touch screen, obtains the touch information at least two moment that the touch screen detects.
In some embodiments, following steps are implemented when computer program in 501 run memory 501 of processor: When touch type is to lift type, and touch type is to press in the touch information at the i-th moment in the touch information at the (i-1)-th moment When type, using touch location in the touch information at the i-th moment as first position;It is touched when in the touch information at the i-th+j moment When type is by Types Below, using touch location in the touch information of i-th+n-hour as the second position;Wherein, i takes positive integer, j Take 1 to N integer;Based on the first position and the second position, the target control type is determined.
In some embodiments, following steps are implemented when computer program in 501 run memory 501 of processor: Based on the first position and the second position, determine between the touch location at the i-th moment and the touch location of i-th+n-hour Target range;When the target range is more than or equal to distance threshold, determine the target control type for sliding control System;When the target range is more than or equal to distance threshold, determine the target control type for long-pressing control.
In some embodiments, following steps are implemented when computer program in 501 run memory 501 of processor: When the current report point rate and the target report point rate difference of the touch screen, the current report point rate of the touch screen is adjusted to institute State target report point rate.
Certainly, when practical application, as shown in figure 5, the various components in the electronic equipment are coupled in by bus system 503 Together.It is understood that bus system 503 is for realizing the connection communication between these components.It includes that data are total that bus system 503, which is removed, It further include power bus, control bus and status signal bus in addition except line.It, will be each in Fig. 5 but for the sake of clear explanation Kind bus is all designated as bus system 503.
In practical applications, above-mentioned processor can be application-specific IC (ASIC, Application Specific Integrated Circuit), digital signal processing device (DSPD, Digital Signal Processing Device), programmable logic device (PLD, Programmable Logic Device), field programmable gate array At least one of (Field-Programmable Gate Array, FPGA), controller, microcontroller, microprocessor.It can To understand ground, for different equipment, the electronic device for realizing above-mentioned processor function can also be other, the application reality Example is applied to be not especially limited.
Above-mentioned memory can be volatile memory (volatile memory), such as random access memory (RAM, Random-Access Memory);Or nonvolatile memory (non-volatile memory), such as read-only memory (ROM, Read-Only Memory), flash memory (flash memory), hard disk (HDD, Hard Disk Drive) or solid State hard disk (SSD, Solid-State Drive);Or the combination of the memory of mentioned kind, and to processor provide instruction and Data.
That is, can realize the adjustment of above-mentioned report point rate in the embodiment of the present application by touch screen or this electronic equipment The step of method.When by electronic equipment to realize, the touch information that touch screen will test is reported to the processing of electronic equipment Device carries out data processing by processor and determines target report point rate, and utilizes the current report point rate of target report point rate adjustment touch screen.
By adopting the above technical scheme, the touch information that touch screen detects is obtained;Wherein, touch information includes touch type And touch location;Based on preset recognition strategy, the corresponding target control type of touch information is determined;Determine target control type Corresponding target report point rate;The current report point rate of touch screen is adjusted to target report point rate.In this way, each using different Control Coolings The report point rate of touch screen is adjusted flexibly in self-corresponding report point rate, can be using high report point for the report point demanding Control Cooling of rate Rate requires low touch type can be using low report point rate, to reduce energy consumption report point rate to improve the sensitivity of touch screen.
The embodiment of the present application also provides a kind of computer readable storage mediums, for storing computer program.
Optionally, which can be applied to any one touch screen or electricity in the embodiment of the present application In sub- equipment, and the computer program executes computer in each method of the embodiment of the present application by processor realization Corresponding process, for sake of simplicity, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.Apparatus embodiments described above are merely indicative, for example, the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, such as: multiple units or components can combine, or It is desirably integrated into another system, or some features can be ignored or not executed.In addition, shown or discussed each composition portion Mutual coupling or direct-coupling or communication connection is divided to can be through some interfaces, the INDIRECT COUPLING of equipment or unit Or communication connection, it can be electrical, mechanical or other forms.
Above-mentioned unit as illustrated by the separation member, which can be or may not be, to be physically separated, aobvious as unit The component shown can be or may not be physical unit, it can and it is in one place, it may be distributed over multiple network lists In member;Some or all of units can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be fully integrated into a processing module, it can also To be each unit individually as a unit, can also be integrated in one unit with two or more units;It is above-mentioned Integrated unit both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.This Field those of ordinary skill, which is understood that, realizes that all or part of the steps of above method embodiment can be by program instruction phase The hardware of pass is completed, and program above-mentioned can be stored in a computer readable storage medium, which when being executed, holds Row step including the steps of the foregoing method embodiments;And storage medium above-mentioned include: movable storage device, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. it is various It can store the medium of program code.
Disclosed method in several embodiments of the method provided herein, in the absence of conflict can be any group It closes, obtains new embodiment of the method.
Disclosed feature in several product embodiments provided herein, in the absence of conflict can be any group It closes, obtains new product embodiments.
Disclosed feature in several methods provided herein or apparatus embodiments, in the absence of conflict can be with Any combination obtains new embodiment of the method or apparatus embodiments.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (10)

1. a kind of method of adjustment of touch screen report point rate, which is characterized in that the described method includes:
Obtain the touch information that touch screen detects;Wherein, the touch information includes touch type and touch location;
Based on preset recognition strategy, the corresponding target control type of the touch information is determined;Wherein, the target control class Type is a kind of Control Cooling of the touch-control component;
Determine the corresponding target report point rate of the target control type;
The current report point rate of the touch screen is adjusted to the target report point rate.
2. the method according to claim 1, wherein the method also includes: preset at least two controls The corresponding report point rate of type;Wherein, different Control Coolings correspond to different report point rates.
3. according to the method described in claim 2, it is characterized in that, the Control Cooling include sliding control, long-pressing control and Click control;
The corresponding first report point rate of sliding control, the corresponding second report point rate of long-pressing control, the clicks control correspond to the Three report point rates;Wherein, the first report point rate is greater than the second report point rate and the third report point rate.
4. the method according to claim 1, wherein the touch information for obtaining touch screen and detecting, comprising:
Current report point rate based on the touch screen, obtains the touch information at least two moment that the touch screen detects.
5. according to the method described in claim 4, it is characterized in that, it is described be based on preset recognition strategy, determine the touch The corresponding target control type of information, comprising:
When touch type is to lift type, and touch type is in the touch information at the i-th moment in the touch information at the (i-1)-th moment When by Types Below, using touch location in the touch information at the i-th moment as first position;
When touch type is by Types Below in the touch information at the i-th+j moment, position will be touched in the touch information of i-th+n-hour It sets as the second position;Wherein, i takes positive integer, and j takes 1 to N integer;
Based on the first position and the second position, the target control type is determined.
6. according to the method described in claim 5, it is characterized in that, it is described be based on the first position and the second position, Determine the target control type, comprising:
Based on the first position and the second position, the touch location at the i-th moment and the touch location of i-th+n-hour are determined Between target range;
When the target range is more than or equal to distance threshold, determine the target control type for sliding control;
When the target range is more than or equal to distance threshold, determine the target control type for long-pressing control.
7. the method according to claim 1, wherein described be adjusted to institute for the current report point rate of the touch screen State target report point rate, comprising:
When the current report point rate and the target report point rate difference of the touch screen, the current report point rate of the touch screen is adjusted For the target report point rate.
8. a kind of touch screen, which is characterized in that the touch screen includes:
Detection unit, for detecting user to the touch information of the touch screen;Wherein, the touch information includes touch type And touch location;
Determination unit determines the corresponding target control type of the touch information for being based on preset recognition strategy;And really Determine the corresponding target report point rate of the target control type;Wherein, the target control type is one kind of the touch-control component Control Cooling;
Adjustment unit, for the current report point rate of the touch screen to be adjusted to the target report point rate.
9. a kind of electronic equipment, which is characterized in that the electronic equipment include: processor and be configured to storage can be in processor The memory of the computer program of upper operation,
Wherein, it is performed the steps of when the processor runs the computer program in the memory
Obtain the touch information that touch screen detects;Wherein, the touch information includes touch type and touch location;
Based on preset recognition strategy, the corresponding target control type of the touch information is determined;Wherein, the target control class Type is a kind of Control Cooling of the touch-control component;
Determine the corresponding target report point rate of the target control type;
The current report point rate of the touch screen is adjusted to the target report point rate.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt The step of claim 1 to 7 described in any item methods are realized when processor executes.
CN201910812509.9A 2019-08-30 2019-08-30 Touch screen point reporting rate adjusting method, touch screen, electronic device and storage medium Active CN110502153B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910812509.9A CN110502153B (en) 2019-08-30 2019-08-30 Touch screen point reporting rate adjusting method, touch screen, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910812509.9A CN110502153B (en) 2019-08-30 2019-08-30 Touch screen point reporting rate adjusting method, touch screen, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN110502153A true CN110502153A (en) 2019-11-26
CN110502153B CN110502153B (en) 2022-11-11

Family

ID=68590644

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910812509.9A Active CN110502153B (en) 2019-08-30 2019-08-30 Touch screen point reporting rate adjusting method, touch screen, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN110502153B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110928068A (en) * 2019-11-28 2020-03-27 厦门天马微电子有限公司 Display panel, driving method thereof and display device
CN111338508A (en) * 2020-02-20 2020-06-26 Oppo(重庆)智能科技有限公司 Touch screen point reporting method, terminal and storage medium
TWI699688B (en) * 2019-11-26 2020-07-21 大陸商北京集創北方科技股份有限公司 Touch information processing method with high reporting rate and touch control system and electronic device using the same
CN113138693A (en) * 2021-04-13 2021-07-20 Oppo广东移动通信有限公司 Operation identification method and device, electronic equipment and storage medium
CN113568527A (en) * 2021-07-27 2021-10-29 京东方科技集团股份有限公司 Multi-point touch point reporting method, touch panel and display device
CN115933952A (en) * 2021-08-28 2023-04-07 荣耀终端有限公司 Touch sampling rate adjusting method and related device
US11789565B2 (en) 2020-08-18 2023-10-17 Intel Corporation Lid controller hub architecture for improved touch experiences

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201232356A (en) * 2011-01-28 2012-08-01 Focaltech Systems Ltd Method of reporting touch information for touch panel
EP2549726A1 (en) * 2011-07-22 2013-01-23 LG Electronics Inc. Mobile terminal and vibration power control method thereof
US20140139471A1 (en) * 2011-07-22 2014-05-22 Kddi Corporation User interface device capable of image scrolling not accompanying finger movement, image scrolling method, and program
CN104238812A (en) * 2014-08-22 2014-12-24 合肥鑫晟光电科技有限公司 Transferring method for touch data in touch screen and related device
CN104252273A (en) * 2013-06-27 2014-12-31 中兴通讯股份有限公司 Contact reporting rate processing method and device of touch screen
CN105164618A (en) * 2013-11-15 2015-12-16 华为终端有限公司 Data reporting method, apparatus and terminal device
US20160224180A1 (en) * 2015-02-03 2016-08-04 Samsung Electronics Co., Ltd. Method for controlling touch screen and electronic device supporting thereof
CN106648400A (en) * 2015-11-03 2017-05-10 华为终端(东莞)有限公司 Touch-data reporting method and electronic device
US20180095657A1 (en) * 2015-04-14 2018-04-05 Huawei Technologies Co., Ltd. Gesture Control Method, Apparatus, Terminal Device, and Storage Medium
US20180181257A1 (en) * 2016-12-27 2018-06-28 Industrial Technology Research Institute Method for user interface of foldable display apparatus
CN108804008A (en) * 2018-05-29 2018-11-13 Oppo广东移动通信有限公司 A kind of control method and its device of terminal, equipment and storage medium
CN110162215A (en) * 2019-05-10 2019-08-23 Oppo广东移动通信有限公司 Control method, control device, electronic equipment and computer readable storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201232356A (en) * 2011-01-28 2012-08-01 Focaltech Systems Ltd Method of reporting touch information for touch panel
EP2549726A1 (en) * 2011-07-22 2013-01-23 LG Electronics Inc. Mobile terminal and vibration power control method thereof
US20140139471A1 (en) * 2011-07-22 2014-05-22 Kddi Corporation User interface device capable of image scrolling not accompanying finger movement, image scrolling method, and program
CN104252273A (en) * 2013-06-27 2014-12-31 中兴通讯股份有限公司 Contact reporting rate processing method and device of touch screen
CN105164618A (en) * 2013-11-15 2015-12-16 华为终端有限公司 Data reporting method, apparatus and terminal device
CN104238812A (en) * 2014-08-22 2014-12-24 合肥鑫晟光电科技有限公司 Transferring method for touch data in touch screen and related device
US20160224180A1 (en) * 2015-02-03 2016-08-04 Samsung Electronics Co., Ltd. Method for controlling touch screen and electronic device supporting thereof
US20180095657A1 (en) * 2015-04-14 2018-04-05 Huawei Technologies Co., Ltd. Gesture Control Method, Apparatus, Terminal Device, and Storage Medium
CN106648400A (en) * 2015-11-03 2017-05-10 华为终端(东莞)有限公司 Touch-data reporting method and electronic device
US20180181257A1 (en) * 2016-12-27 2018-06-28 Industrial Technology Research Institute Method for user interface of foldable display apparatus
CN108804008A (en) * 2018-05-29 2018-11-13 Oppo广东移动通信有限公司 A kind of control method and its device of terminal, equipment and storage medium
CN110162215A (en) * 2019-05-10 2019-08-23 Oppo广东移动通信有限公司 Control method, control device, electronic equipment and computer readable storage medium

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI699688B (en) * 2019-11-26 2020-07-21 大陸商北京集創北方科技股份有限公司 Touch information processing method with high reporting rate and touch control system and electronic device using the same
CN110928068A (en) * 2019-11-28 2020-03-27 厦门天马微电子有限公司 Display panel, driving method thereof and display device
CN111338508A (en) * 2020-02-20 2020-06-26 Oppo(重庆)智能科技有限公司 Touch screen point reporting method, terminal and storage medium
CN111338508B (en) * 2020-02-20 2023-02-28 Oppo(重庆)智能科技有限公司 Touch screen point reporting method, terminal and storage medium
US11789565B2 (en) 2020-08-18 2023-10-17 Intel Corporation Lid controller hub architecture for improved touch experiences
CN113138693A (en) * 2021-04-13 2021-07-20 Oppo广东移动通信有限公司 Operation identification method and device, electronic equipment and storage medium
CN113568527A (en) * 2021-07-27 2021-10-29 京东方科技集团股份有限公司 Multi-point touch point reporting method, touch panel and display device
CN113568527B (en) * 2021-07-27 2024-04-05 京东方科技集团股份有限公司 Multi-point touch point reporting method, touch panel and display device
CN115933952A (en) * 2021-08-28 2023-04-07 荣耀终端有限公司 Touch sampling rate adjusting method and related device
CN115933952B (en) * 2021-08-28 2023-11-24 荣耀终端有限公司 Touch sampling rate adjusting method and related device

Also Published As

Publication number Publication date
CN110502153B (en) 2022-11-11

Similar Documents

Publication Publication Date Title
CN110502153A (en) Method of adjustment, touch screen, electronic equipment and the storage medium of touch screen report point rate
CN105807997B (en) A kind of touch screen sensitivity regulation method and device
CN104991696B (en) A kind of information processing method and electronic equipment
EP2857944A1 (en) Mobile communication terminal, screen adjusting method and storage medium
EP2674844B1 (en) Display screen management method and device
CN104778009A (en) Driving method, driving device and display device
CN104683598A (en) Proximity sensor threshold adjusting method and device and intelligent device
CN109074216A (en) A kind of method of toch control and device
CN108920066B (en) Touch screen sliding adjustment method and device and touch equipment
CN105320417A (en) Webpage switching method and client side
CN106791021B (en) A kind of control method and mobile terminal of flash lamp
CN109104521B (en) Method and device for correcting approaching state, mobile terminal and storage medium
CN106060391A (en) Method and device for processing working mode of camera, and electronic equipment
US20150138141A1 (en) Control method and control apparatus of electronic device, and electronic device
CN103870193A (en) Information processing method and electronic equipment
CN105573582A (en) Display method and terminal
CN106502477B (en) Touch control method and device for terminal with pressure sensing layer
CN109165075A (en) Application display method, device, electronic equipment and storage medium
CN108803986A (en) A kind of method of adjustment and device of mobile terminal virtual key
CN111064842B (en) Method, terminal and storage medium for recognizing special-shaped touch
CN103870120A (en) Information processing method and electronic equipment
CN107797832B (en) Application cleaning method and device, storage medium and electronic equipment
CN103914228A (en) Mobile terminal and touch screen operating method thereof
CN104714675A (en) Gesture recognition method and device
CN109074211A (en) The method and relevant device of adjustment interface rolling speed, computer program product

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
GR01 Patent grant
GR01 Patent grant