CN103116418A - Method for dynamically adjusting touch screen input detection rate and mobile terminal - Google Patents

Method for dynamically adjusting touch screen input detection rate and mobile terminal Download PDF

Info

Publication number
CN103116418A
CN103116418A CN201310042946XA CN201310042946A CN103116418A CN 103116418 A CN103116418 A CN 103116418A CN 201310042946X A CN201310042946X A CN 201310042946XA CN 201310042946 A CN201310042946 A CN 201310042946A CN 103116418 A CN103116418 A CN 103116418A
Authority
CN
China
Prior art keywords
touch
screen
detection rates
detection
input
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
CN201310042946XA
Other languages
Chinese (zh)
Other versions
CN103116418B (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.)
TCL Communication Ningbo Ltd
Original Assignee
TCL Communication Ningbo 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 TCL Communication Ningbo Ltd filed Critical TCL Communication Ningbo Ltd
Priority to CN201310042946.XA priority Critical patent/CN103116418B/en
Publication of CN103116418A publication Critical patent/CN103116418A/en
Application granted granted Critical
Publication of CN103116418B publication Critical patent/CN103116418B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for dynamically adjusting touch screen input detection rate and a mobile terminal. The method for dynamically adjusting the touch screen input detection rate particularly comprises the following steps: A, dividing the detection rate of the touch screen which is in a central processing unit (CPU) into a plurality of gears from low to high in advance; B, when the screen is lightened after an operating instruction of a user is received, controlling start of a detection timing device of the touch screen, and detecting input of the touch screen every other presetting time according to the default detection rate; and C, recording the latest N times of detection results, analyzing and judging detection results, and when the input of the touch screen are detected for continuous N times, controlling the detection rate of the touch screen to select a higher gear of the detection rate; and when the input of the touch screen are not detected for continuous N times, controlling the detection rate of the touch screen to select a lower gear of the detection rate, wherein the N is a natural number which is larger than 0. The method for dynamically adjusting the touch screen input detection rate and the mobile terminal have the advantages of being capable of improving detection sensitivity of the touch screen and reducing energy consumption.

Description

A kind of method and mobile terminal of dynamic adjustment touch-screen input detection rates
Technical field
The present invention relates to field of mobile terminals, in particular a kind of speed of inputting on touch-screen according to the user is dynamically adjusted mobile terminal and the method that CPU detects touch-screen speed.
Background technology
At present in smart mobile phone, most of user's input operation all realizes by touch-screen, and the smart mobile phone on market is powerful now, and the user uses that smart mobile phone is made a phone call, QQ chats, play games etc.Clearly, the speed of user's touch-screen input when using smart mobile phone is through the variation of being everlasting, for example the touch-screen input rate is zero when making a phone call, and the touch-screen input rate is sometimes fast and sometimes slow when QQ chats, and the touch-screen input may keep speed faster always when playing games.But be all that (for example 50ms) reads the position that user that the touch-screen input detects touches by at set intervals on existing technology realizes, CPU sends corresponding instruction according to this position.
It is all to adopt fixed rate that the touch-screen of prior art detects, and the touch-screen input detecting method of fixed rate is in the defective that detects below having when the user operates different application: when user's low rate touches touch-screen, because the speed that detects the input of user's touch-screen at mobile phone terminal is too fast, causing part to detect is useless in fact, has consumed in this case system resource; When user's two-forty touches touch-screen, because the speed that detects the input of user's touch-screen at mobile phone terminal is excessively slow, cause the input of certain customers to fail to be detected, make the user feel that touch-screen is ineffective, reaction is slow.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
The technical problem to be solved in the present invention is, defects for prior art, a kind of method and mobile terminal of dynamic adjustment touch-screen input detection rates are provided, it makes mobile terminal increase new function: the function with dynamic adjustment touch-screen input detection rates, can automatically adjust according to the speed of user's touch-screen input the touch-screen detection rates of CPU, improve detection sensitivity, and reduced energy consumption.
The technical scheme that technical solution problem of the present invention adopts is as follows:
A kind of method of dynamic adjustment touch-screen input detection rates wherein, comprises step:
A, the detection rates of touch-screen is divided into from low to high in advance the detection rates of a plurality of gears in CPU;
B, after the operational order that receives the user is lighted screen, control and open touch-screen and detect timer, detect the touch-screen input by the detection rates of acquiescence every a schedule time;
C, record the testing result of nearest N time, and check result is analyzed judgement, when N continuous time all detects the touch-screen input, control and the detection rates of touch-screen is selected the detection rates of high a grade; The touch-screen input all do not detected when N continuous is inferior, control and the detection rates of touch-screen is selected the detection rates of low a grade, wherein N is the natural number greater than 0.
The method of described dynamic adjustment touch-screen input detection rates, wherein, described steps A also comprises: the detection rates of touch-screen is divided into from low to high the detection rates of 5 gears in CPU, 1-5 shelves detection rates is respectively: detect a touch-screen input every 200ms, 160ms, 120ms, 80ms, 40ms.
The method of described dynamic adjustment touch-screen input detection rates, wherein, described step C also comprises:
C1, when the detection rates that current touch-screen detected has been selected high tap position, the signal that again receives the rising gear is controlled and is kept former gear constant;
C2, when the detection rates that current touch-screen detected has been selected lowest gear, again receive the signal that reduces gear and control and keep former gear constant.
The method of described dynamic adjustment touch-screen input detection rates, wherein, described step B specifically comprises:
B1, after the operational order that receives the user is lighted screen, control the detection rates that the gear of selecting an acquiescence arranges touch-screen;
B2, control are opened touch-screen and are detected timer, and press this detection rates of giving tacit consent to gear every the input of schedule time detection touch-screen.
The method of described dynamic adjustment touch-screen input detection rates, wherein, described step C specifically comprises:
Step S40, nearest N the testing result of continuous recording, and be stored in storer, each testing result is analyzed judgement, whether the information input from touch screen that judgement detects at every turn is empty, if enter step S50, otherwise enters step S80;
Step S50, will with the bit shift register of N trigger each all to moving to left one, and with rightmost one position zero, enter afterwards step S60;
Step S60, with each addition of shift register, be judged to be N continuous and time the touch-screen input all do not detected if result is zero, and enter step S70, otherwise enter step S110;
The detection rates of low one grade is selected in step S70, control;
Step S80, will be with N trigger shift register each all to moving to left one, and with rightmost one position 1, enter afterwards step S90;
Step S90, with each addition of shift register, judge that N continuous time all detects touch-screen and inputs and enter step S100 if result equals N, otherwise enter step S110;
The detection rates of high one grade is selected in step S100, control;
Step S110, control keep the detection rates of former gear constant.
The method of described dynamic adjustment touch-screen input detection rates, wherein, described N time is 10 times.
A kind of mobile terminal that adopts the method for the described dynamic adjustment touch-screen input detection rates of above-mentioned any one wherein, comprising:
Setting unit is used at CPU, the detection rates of touch-screen being divided into from low to high in advance the detection rates of a plurality of gears;
Detecting unit is used for after the operational order that receives the user is lighted screen, and control unlatching touch-screen detects timer, inputs every schedule time detection touch-screen by the detection rates of acquiescence;
The detection rates selected cell is used for recording the testing result of nearest N time, and check result is analyzed judgement, the touch-screen input all detected when N continuous is inferior, controls and the detection rates of touch-screen is selected the detection rates of high a grade; The touch-screen input all do not detected when N continuous is inferior, control and the detection rates of touch-screen is selected the detection rates of low a grade, wherein N is the natural number greater than 0.
Described mobile terminal, wherein, the detection rates of described a plurality of gears comprises: 1-5 shelves detection rates is respectively: detect a touch-screen input every 200ms, 160ms, 120ms, 80ms, 40ms.
Described mobile terminal, wherein, described detecting unit comprises:
Trigger module is used for controlling the detection rates that the gear of selecting an acquiescence arranges touch-screen after the operational order that receives the user is lighted screen;
Detection module is used for controlling and opens touch-screen detection timer, and detects the touch-screen input by the detection rates of this acquiescence gear every a schedule time.
Described mobile terminal, wherein, described detection rates selected cell comprises:
Record and judge module are used for nearest N the testing result of continuous recording, and are stored in storer, and each testing result is analyzed judgement, and whether the information input from touch screen that judgement detects at every turn is empty;
The first control module, the information input from touch screen that is used at every turn detecting is to be sky, with with the bit shift register of N trigger each all to moving to left one, and with rightmost one position zero, with each addition of shift register, if being zero, result is judged to be inferior touch-screen input, the detection rates that the control selection is low a grade of all not detecting of N continuous;
The second control module, the information input from touch screen that is used at every turn detecting are not sky, to be with N trigger shift register each all to moving to left one, and with rightmost one position 1, with each addition of shift register, if equaling N, result judges that N continuous time all detects the detection rates that high one grade of selection input and controlled to touch-screen;
The 3rd control module is used for when the detection rates that current touch-screen detected has been selected high tap position, and it is constant that the signal that again receives the rising gear is controlled the former gear of maintenance; And be used for when the detection rates that current touch-screen detected has been selected lowest gear, again receiving the signal that reduces gear, to control the former gear of maintenance constant.
Method and the mobile terminal of dynamic adjustment touch-screen input detection rates provided by the present invention, owing to having adopted regularly detection rates of touch-screen, make when overtime the time after shift register pan position 0 or 1 each in shift register is carried out the method for addition judgement, it makes mobile terminal increase new function: the function with dynamic adjustment touch-screen input detection rates, can automatically adjust according to the speed of user's touch-screen input the touch-screen detection rates of CPU, improve detection sensitivity, and reduced energy consumption.
Description of drawings
Fig. 1 is the process flow diagram of preferred embodiment that the present invention is based on a kind of method of dynamic adjustment touch-screen input detection rates.
Fig. 2 is the process flow diagram of concrete Application Example that the present invention is based on a kind of method of dynamic adjustment touch-screen input detection rates.
Fig. 3 is the functional schematic block diagram of the mobile terminal of the embodiment of the present invention.
Fig. 4 is the detecting unit modular structure schematic diagram of the mobile terminal of the embodiment of the present invention.
Fig. 5 is the detection rates selected cell modular structure schematic diagram of the mobile terminal of the embodiment of the present invention.
Fig. 6 is the shift register inner structure schematic diagram in the detecting unit of mobile terminal of the embodiment of the present invention.
Embodiment
For making purpose of the present invention, technical scheme and advantage clearer, clear and definite, developing simultaneously referring to accompanying drawing, the present invention is described in more detail for embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
See also Fig. 1, Fig. 1 is the process flow diagram of preferred embodiment that the present invention is based on a kind of method of dynamic adjustment touch-screen input detection rates.
Step S10 is divided into the detection rates of touch-screen the detection rates of a plurality of gears in advance from low to high in CPU.
Take smart mobile phone as example, adjust dynamically touch-screen input detection rates as needs, at first the detection rates of a plurality of gears will be set in the CPU of mobile phone, and the detection rates of touch-screen is divided from low to high successively, make like this handset touch panel further improve the sensitivity of recall precision and detection in the process of detection rates.
Step S20 after the operational order that receives the user is lighted screen, controls and opens touch-screen detection timer, and the detection rates of pressing acquiescence detects the touch-screen input every a schedule time.
After the touch-screen of user mobile phone receives operational order and screen is lighted, the CPU of mobile phone will control the detection timer of opening touch-screen, and detect at the state to touch-screen reception input within a schedule time according to the detection rates of acquiescence set after handset starting, can be set to 200ms, 160ms, 120ms, 80ms, 40ms etc. every a schedule time; Arrange shortlyer to the schedule time that it is larger to touch-screen input detection rates, otherwise the schedule time arranges longlyer that it is less to touch-screen input detection rates.Therefore, system can further prepare for the touch-screen detection rates of automatically adjusting CPU according to the speed of user's touch-screen input, has improved simultaneously detection sensitivity.
Step S30 records the testing result of nearest N time, and check result is analyzed judgement, the touch-screen input all detected when N continuous is inferior, controls and the detection rates of touch-screen is selected the detection rates of high a grade; The touch-screen input all do not detected when N continuous is inferior, control and the detection rates of touch-screen is selected the detection rates of low a grade, wherein N is the natural number greater than 0.
For example, system according to the user to the touch-screen input operation, the beginning system uses the detection rates of acquiescence, when the user inputs the touch-screen of mobile phone, system will record the testing result of nearest ten touch-screen detecting units, control if the touch-screen input all detected for continuous ten times the detection rates that touch-screen speed selected cell is selected high one grade of ratio acquiescence detection rates; Do not control if the touch-screen input all detected for continuous ten times the detection rates that touch-screen speed selected cell is selected low one grade of ratio acquiescence detection rates.Wherein when the detection rates average time is set, can select to set the average that detects for N time, but N should be the natural number greater than 0, when the user does not have to carry out any input operation on touch-screen, system will not carry out the adjustment of detection rates to touch-screen.Therefore, help system can further automatically adjust according to the speed of user's touch-screen input the touch-screen detection rates of CPU, when improving detection sensitivity, also reduced system energy consumption, avoid battery of mobile phone in the touch-screen detection rates by invisible consuming.
The method of described dynamic adjustment touch-screen input detection rates, wherein, described step S10 also comprises: the detection rates of touch-screen is divided into from low to high the detection rates of 5 gears in CPU, 1-5 shelves detection rates is respectively: detect a touch-screen input every 200ms, 160ms, 120ms, 80ms, 40ms.
Namely after the touch-screen of user mobile phone is lit startup, at first the detection rates of touch-screen is divided into from low to high the detection rates of 5 gears in CPU, and 1-5 shelves detection rates is set to respectively: detect a touch-screen input every 200ms, 160ms, 120ms, 80ms, 40ms.The CUP of mobile phone will control the detection timer of opening touch-screen, and detect at the state to touch-screen reception input in 200ms, 160ms, 120ms, 80ms, 40ms equal time, usually design during mobile phone with medium detection rates detection rates value by default, be starting hand-set when lighting touch-screen general detection rates can be set to 120ms, when the user judges and the automatic detection rates of adjusting than high or low one grade of the detection rates of giving tacit consent to according to the detection rates to touch-screen, just can further reduce energy consumption for user mobile phone when using mobile phone.
The method of described dynamic adjustment touch-screen input detection rates, wherein, described step S30 also comprises:
Step S31, when the detection rates that current touch-screen detected had been selected high tap position, the signal that again receives the rising gear was controlled and is kept former gear constant;
The CPU detection rates of this style mobile phone that namely uses as the user only arranges 5 gears, when the user very high to the incoming frequency of handset touch panel, and system is when automatically adjusting to high tap position according to user's input operation situation with the detection rates of touch-screen, when again receiving so, subsequently the signal of rising gear system can control and keep former high tap position constant.
Step S32 when the detection rates that current touch-screen detected has been selected lowest gear, again receives the signal that reduces gear and controls and keep former gear constant;
Same, the CPU detection rates of this style mobile phone that uses as the user only arranges 5 gears, when the user very low to the incoming frequency of handset touch panel, and system is when automatically adjusting to lowest gear according to user's input operation situation with the detection rates of touch-screen, when again receiving so, subsequently the signal that reduces gear system can control and keep former lowest gear constant.
The method of described dynamic adjustment touch-screen input detection rates, wherein, described step S20 specifically comprises:
Step S21 after the operational order that receives the user is lighted screen, controls the detection rates that the gear of selecting an acquiescence arranges touch-screen;
after the touch-screen of mobile phone receives user's operational order and lights screen, system controls at this moment selects one grade of gear for acquiescence to be set to the detection rates of touch-screen, the gear setting of this acquiescence can namely be set in the process that mobile phone is set up, usually can set a certain middle-grade acquiescence detection rates that is, perhaps arrange medium-to-high grade, low and middle-grade for giving tacit consent to detection rates, but the some gears in several gears from low to high that the user also can set from system as required are set to adapt to the acquiescence gear of own input speed, or the detection rates that a self-defined detection rates is given tacit consent to as its touch-screen in the sensing range of the height gear that system arranges.So, the hommization of having more is arranged when can make mobile phone save energy consumption, improve the different levels crowd to the experience of sensitivity of touch screen.
Step S22 controls and opens touch-screen detection timer, and detects the touch-screen input by detection rates of this acquiescence gear every a schedule time;
After the user normally starts mobile phone, system will control the detection timer of opening touch-screen, and constantly detect the situation of touch-screen input by the detection rates of the acquiescence gear that sets in above-mentioned steps S2011 every a schedule time such as 200ms, 160ms, 120ms, 80ms, 40ms etc.Then get the mean value of N detection rates and automatically adjust, to reduce energy consumption and to increase sensitivity of touch screen.
In addition, as shown in Figure 6, in touch-screen detecting unit 320 inside, a shift register 323 is set, this shift register 323 has ten (10bit) and forms, ten of mobile phone power-on backward shift register 323 all are set to 0, each touch-screen detects each in timer expiry backward shift register 323 all to moving to left one, if touch-screen detecting unit 320 gets the user from storer touch operation information rightmost one position 1 in shift register 323, otherwise zero setting.
The method of described dynamic adjustment touch-screen input detection rates, wherein, described step S30 specifically comprises:
Step S40, nearest N the testing result of continuous recording, and be stored in storer, each testing result is analyzed judgement, whether the information input from touch screen that judgement detects at every turn is empty, if enter step S50, otherwise enters step S80;
Step S50, with the shift register of N trigger each all to moving to left one, and with rightmost one position zero, enter afterwards step S60;
Step S60 with each addition of shift register, is judged to be N continuous and time the touch-screen input is not detected if result is zero, and enter step S70, otherwise enter step S110;
Step S70 controls and selects the detection rates of low a grade;
Step S80, will be with N trigger shift register each all to moving to left one, and with rightmost one position 1, enter afterwards step S90;
Step S90 with each addition of shift register, judges that N continuous time all detects touch-screen and inputs and enter step S100 if result equals N, otherwise enters step S110;
Step S100 controls and selects the detection rates of high a grade;
Step S110, the detection rates of controlling the former gear of maintenance is constant.
The method of described dynamic adjustment touch-screen input detection rates, wherein, described N time is 10 times.
Can roughly recognize by the method for above-mentioned dynamic adjustment touch-screen input detection rates the key effect that concrete ins and outs, the especially shift register 323 of the selection of CPU control touch-screen detection rates are risen in this course.
Fig. 2 is the process flow diagram of concrete Application Example that the present invention is based on a kind of method of dynamic adjustment touch-screen input detection rates.As shown in Figure 2, the present invention describes as an example of smart mobile phone example, and the process flow diagram of this embodiment comprises the following steps:
After step S201, user light screen, touch-screen detection rates selected cell is selected the gear setting of an acquiescence and opens touch-screen and detect timer;
The detection rates of the set a plurality of gears of this a smart mobile phone that using as the user comprises: 1-5 shelves detection rates, detect a touch-screen input every 200ms, 160ms, 120ms, 80ms, 40ms, when the user normally opens its smart mobile phone, light touch-screen detection rates selected cell after mobile phone screen and just can automatically select the gear of an acquiescence having arranged, the assumed by default gear is third gear, and the detection timer of unlatching touch-screen is carrying out rate detection at the input condition of touch-screen every one period regular time to the user; So just regularly detect according to set 120ms interval time of acquiescence gear, enter simultaneously step S202.
Step S202 judges whether touch-screen detects timer overtime;
Select the gear of an acquiescence according to previous step S201 touch-screen detection rates after and open touch-screen and detect timer, when touch-screen reception user inputs, whether overtime according to detection rates corresponding interval time of the 120ms judgement touch-screen detection timer of the third gear of giving tacit consent to; Detect if be no more than the acquiescence gear time 120ms that timer is set, continue to follow the tracks of the user overtime to detection and the waiting timer of touch-screen input state; Detect if surpass the acquiescence gear this moment time 120ms that timer is set, enter step S203.
Step S203, touch-screen detecting unit obtain user's touch operation information from the storer of touch-screen;
Obtain touch-screen detection timer according to previous step S202 and overtime situation detected, so, the touch-screen detecting unit will obtain the touch operation information of user before overtime from the storer of touch-screen, and other functional parts that information passes to mobile phone are processed.In addition, the touch-screen detecting unit touch operation information that also will according to whether gets the user from storer handles accordingly to touch-screen detection rates selected cell; Enter simultaneously step S204.
Step S204 judges whether this information is empty;
This step namely determines whether to get user's touch operation information from storer according to previous step S203 touch-screen detecting unit, whether be empty, if so, enter step S205 if namely obtaining touch operation information; If not, enter step S206.
Step S205, with the shift register in the touch-screen detecting unit each all to moving to left one, and with rightmost one position zero;
Owing in touch-screen detecting unit inside, one shift register being set, this shift register has ten (10bit) and forms, ten of mobile phone power-on backward shift register all are set to 0, each in each touch-screen detection timer expiry backward shift register is all to moving to left one, if the touch-screen detecting unit fails to get the user from storer touch operation information is rightmost one position zero in shift register, and should be noted that, this step all is shifted in same shift register with following steps S206, and is kept in shift register.
Step S206, with the shift register in the touch-screen detecting unit each all to moving to left one, and with rightmost one position 1;
Same, judgement gets user's touch operation information not for empty from storer according to step S204 touch-screen detecting unit, be the touch-screen detecting unit gets the user from storer touch operation information rightmost one position 1 in shift register, the result of the result of this step and step S205 is kept in same shift register in the lump;
Step S207 is with each addition of shift register, if result is greater than 0 and less than 10;
After step S204 was through 10 judgements, each shift result of storing in shift register by step S205 and S206 again entered this step with each addition of shift register, if result greater than 0 and less than 10 o'clock, directly enters step S210; If result not in the scope of this setting, enters next step S208 and judges.
Step S208 is with each addition of shift register, if result equals 0;
S205 learns according to step, if the touch-screen detecting unit fails to get user's touch operation information from storer, and one position zero of the rightmost in shift register; Again according to each addition result of previous step S207 shift register judgement this moment not greater than 0 and less than 10 scope in, continue that so each in shift register is carried out the addition judged result and whether equal 0, if result equals 0, enter step S211, if result is not equal to 0, enters step S209 and again judge.
Step S209 is with each addition of shift register, if result equals 10;
S206 learns according to previous step, if the touch-screen detecting unit can get the user from storer touch operation information rightmost one position 1 in shift register; Again according to each addition result of step S207 shift register judgement this moment not greater than 0 and less than 10 scope in, continuing so to enter previous step S208 carries out the addition judged result with each in shift register and whether equals 0, because judging that its result is not equal to 0, entering this step judges again, so each in shift register is carried out the addition judgement, if result equals 10, enter step S212, if result is not equal to 10, turn back to step S207.
Step S210, touch-screen detection rates selected cell keep former gear constant;
According to the judged result of step S207, namely each addition result of shift register greater than 0 and less than 10, enters this step this moment and makes system's continuation control touch-screen detection rates selected cell keep former gear constant.
Step S211, touch-screen detection rates selected cell is selected the detection rates of low a grade;
Obtain each addition result of shift register according to previous step S208 and equal 0, system controls touch-screen detection rates selected cell and selects the detection rates of low a grade.
Step S212, touch-screen detection rates selected cell keep selecting the detection rates of high a grade;
Obtain each addition result of shift register according to previous step S209 and equal 10, system controls touch-screen detection rates selected cell and selects the detection rates of high a grade.
Embodiment as described in Figure 2, recognized that further the touch-screen detection rates adjusts the detailed process of its touch-screen detection rates automatically to the frequency change of touch-screen input state along with the user, illustrate that this method has the function of dynamic adjustment touch-screen input detection rates, can automatically adjust according to the speed of user's touch-screen input the touch-screen detection rates of CPU, improve detection sensitivity, and reduced energy consumption.
A kind of method based on dynamic adjustment touch-screen input detection rates based on above-described embodiment, the embodiment of the present invention also provides a kind of mobile terminal, be illustrated in figure 3 as the functional schematic block diagram of the mobile terminal of the embodiment of the present invention, as shown in Figure 3, described mobile terminal comprises:
Setting unit 310 is used at CPU, the detection rates of touch-screen being divided into from low to high in advance the detection rates of a plurality of gears; Specifically as described in above-mentioned step S10.
Detecting unit 320 is used for after the operational order that receives the user is lighted screen, and control unlatching touch-screen detects timer, inputs every schedule time detection touch-screen by the detection rates of acquiescence; Specifically as described in above-mentioned step S20.
Detection rates selected cell 330 is used for recording the testing result of nearest N time, and check result is analyzed judgement, the touch-screen input all detected when N continuous is inferior, controls and the detection rates of touch-screen is selected the detection rates of high a grade; The touch-screen input all do not detected when N continuous is inferior, control and the detection rates of touch-screen is selected the detection rates of low a grade, wherein N is the natural number greater than 0; Specifically as described in above-mentioned step S30.
Described mobile terminal, wherein, the detection rates of described a plurality of gears comprises: 1-5 shelves detection rates is respectively: detect a touch-screen input every 200ms, 160ms, 120ms, 80ms, 40ms; Specifically as above-mentioned step S10 further as described in.
Fig. 4 is the detecting unit modular structure schematic diagram that the present invention is based on a kind of mobile terminal of dynamic adjustment touch-screen input detection rates method.As shown in Figure 4, described detecting unit 320 comprises:
Trigger module 321 is used for controlling the detection rates that the gear of selecting an acquiescence arranges touch-screen after the operational order that receives the user is lighted screen; Specifically as described in above-mentioned step S21.
Detection module 322 is used for controlling and opens touch-screen detection timer, and detects the touch-screen input by the detection rates of this acquiescence gear every a schedule time; Specifically as described in above-mentioned step S22.
Fig. 5 is the detection rates selected cell modular structure schematic diagram that the present invention is based on a kind of mobile terminal of dynamic adjustment touch-screen input detection rates method.As shown in Figure 5, described detection rates selected cell 31 comprises:
Record and judge module 61 are used for nearest N the testing result of continuous recording, and are stored in storer, and each testing result is analyzed judgement, and whether the information input from touch screen that judgement detects at every turn is empty; Specifically as described in above-mentioned step S40.
The first control module 71, the information input from touch screen that is used at every turn detecting is to be sky, with with the bit shift register of N trigger each all to moving to left one, and with rightmost one position zero, with each addition of shift register, if being zero, result is judged to be inferior touch-screen input, the detection rates that the control selection is low a grade of all not detecting of N continuous; Specifically as described in above-mentioned step S50, S60, S70.
The second control module 81, the information input from touch screen that is used at every turn detecting is not for empty, to be with N trigger shift register each all to moving to left one, and with rightmost one position 1, with each addition of shift register, if equaling N, result judges that N continuous time all detects the detection rates that high one grade of selection input and controlled to touch-screen; Specifically as described in above-mentioned step S80, S90, S100.
The 3rd control module 91 is used for when the detection rates that current touch-screen detected has been selected high tap position, and it is constant that the signal that again receives the rising gear is controlled the former gear of maintenance; And be used for when the detection rates that current touch-screen detected has been selected lowest gear, again receiving the signal that reduces gear, to control the former gear of maintenance constant.Specifically as described in above-mentioned step S31 and S32.
In sum, method and the mobile terminal of dynamic adjustment touch-screen input detection rates provided by the present invention, owing to having adopted regularly detection rates of touch-screen, make when overtime after shift register pan position 0 or 1 each in shift register is carried out the method for addition judgement, it makes mobile terminal increase new function: the function with dynamic adjustment touch-screen input detection rates, can automatically adjust according to the speed of user's touch-screen input the touch-screen detection rates of CPU, improve detection sensitivity, and reduced energy consumption.
Should be understood that; application of the present invention is not limited to above-mentioned giving an example; for those of ordinary skills; can be improved according to the above description or conversion; screen such as the various instrument and equipments that can use touch recognition has Ipad, MP4 MP5 etc., and all these improve and conversion all should belong to the protection domain of claims of the present invention.

Claims (10)

1. a method of dynamically adjusting touch-screen input detection rates, is characterized in that, comprises step:
A, the detection rates of touch-screen is divided into from low to high in advance the detection rates of a plurality of gears in CPU;
B, after the operational order that receives the user is lighted screen, control and open touch-screen and detect timer, detect the touch-screen input by the detection rates of acquiescence every a schedule time;
C, record the testing result of nearest N time, and check result is analyzed judgement, when N continuous time all detects the touch-screen input, control and the detection rates of touch-screen is selected the detection rates of high a grade; The touch-screen input all do not detected when N continuous is inferior, control and the detection rates of touch-screen is selected the detection rates of low a grade, wherein N is the natural number greater than 0.
2. dynamically adjust according to claim 1 the method for touch-screen input detection rates, it is characterized in that, described steps A also comprises: the detection rates of touch-screen is divided into from low to high the detection rates of 5 gears in CPU, 1-5 shelves detection rates is respectively: detect a touch-screen input every 200ms, 160ms, 120ms, 80ms, 40ms.
3. dynamically adjust according to claim 1 the method for touch-screen input detection rates, it is characterized in that, described step C also comprises:
C1, when the detection rates that current touch-screen detected has been selected high tap position, the signal that again receives the rising gear is controlled and is kept former gear constant;
C2, when the detection rates that current touch-screen detected has been selected lowest gear, again receive the signal that reduces gear and control and keep former gear constant.
4. dynamically adjust according to claim 1 the method for touch-screen input detection rates, it is characterized in that, described step B specifically comprises:
B1, after the operational order that receives the user is lighted screen, control the detection rates that the gear of selecting an acquiescence arranges touch-screen;
B2, control are opened touch-screen and are detected timer, and press this detection rates of giving tacit consent to gear every the input of schedule time detection touch-screen.
5. dynamically adjust according to claim 1 the method for touch-screen input detection rates, it is characterized in that, described step C specifically comprises:
Step S40, nearest N the testing result of continuous recording, and be stored in storer, each testing result is analyzed judgement, whether the information input from touch screen that judgement detects at every turn is empty, if enter step S50, otherwise enters step S80;
Step S50, will with the bit shift register of N trigger each all to moving to left one, and with rightmost one position zero, enter afterwards step S60;
Step S60, with each addition of shift register, be judged to be N continuous and time the touch-screen input all do not detected if result is zero, and enter step S70, otherwise enter step S110;
The detection rates of low one grade is selected in step S70, control;
Step S80, will be with N trigger shift register each all to moving to left one, and with rightmost one position 1, enter afterwards step S90;
Step S90, with each addition of shift register, judge that N continuous time all detects touch-screen and inputs and enter step S100 if result equals N, otherwise enter step S110;
The detection rates of high one grade is selected in step S100, control;
Step S110, control keep the detection rates of former gear constant.
6. dynamically adjust according to claim 1 the method for touch-screen input detection rates, it is characterized in that, described N time is 10 times.
7. a mobile terminal that adopts the method for the described dynamic adjustment touch-screen input detection rates of claim 1-6 any one, is characterized in that, comprising:
Setting unit is used at CPU, the detection rates of touch-screen being divided into from low to high in advance the detection rates of a plurality of gears;
Detecting unit is used for after the operational order that receives the user is lighted screen, and control unlatching touch-screen detects timer, inputs every schedule time detection touch-screen by the detection rates of acquiescence;
The detection rates selected cell is used for recording the testing result of nearest N time, and check result is analyzed judgement, the touch-screen input all detected when N continuous is inferior, controls and the detection rates of touch-screen is selected the detection rates of high a grade; The touch-screen input all do not detected when N continuous is inferior, control and the detection rates of touch-screen is selected the detection rates of low a grade, wherein N is the natural number greater than 0.
8. mobile terminal according to claim 7, is characterized in that, the detection rates of described a plurality of gears comprises: 1-5 shelves detection rates is respectively: detect a touch-screen input every 200ms, 160ms, 120ms, 80ms, 40ms.
9. mobile terminal according to claim 7, is characterized in that, described detecting unit comprises:
Trigger module is used for controlling the detection rates that the gear of selecting an acquiescence arranges touch-screen after the operational order that receives the user is lighted screen;
Detection module is used for controlling and opens touch-screen detection timer, and detects the touch-screen input by the detection rates of this acquiescence gear every a schedule time.
10. mobile terminal according to claim 7, is characterized in that, described detection rates selected cell comprises:
Record and judge module are used for nearest N the testing result of continuous recording, and are stored in storer, and each testing result is analyzed judgement, and whether the information input from touch screen that judgement detects at every turn is empty;
The first control module, the information input from touch screen that is used at every turn detecting is to be sky, with with the bit shift register of N trigger each all to moving to left one, and with rightmost one position zero, with each addition of shift register, if being zero, result is judged to be inferior touch-screen input, the detection rates that the control selection is low a grade of all not detecting of N continuous;
The second control module, the information input from touch screen that is used at every turn detecting is not for empty, to be with N trigger shift register each all to moving to left one, and with rightmost one position 1, with each addition of shift register, if equaling N, result judges that N continuous time all detects the detection rates that high one grade of selection input and controlled to touch-screen;
The 3rd control module is used for when the detection rates that current touch-screen detected has been selected high tap position, and it is constant that the signal that again receives the rising gear is controlled the former gear of maintenance; And be used for when the detection rates that current touch-screen detected has been selected lowest gear, again receiving the signal that reduces gear, to control the former gear of maintenance constant.
CN201310042946.XA 2013-02-04 2013-02-04 A kind of method of dynamic conditioning touch-screen input detection rates and mobile terminal Active CN103116418B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310042946.XA CN103116418B (en) 2013-02-04 2013-02-04 A kind of method of dynamic conditioning touch-screen input detection rates and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310042946.XA CN103116418B (en) 2013-02-04 2013-02-04 A kind of method of dynamic conditioning touch-screen input detection rates and mobile terminal

Publications (2)

Publication Number Publication Date
CN103116418A true CN103116418A (en) 2013-05-22
CN103116418B CN103116418B (en) 2016-04-13

Family

ID=48414818

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310042946.XA Active CN103116418B (en) 2013-02-04 2013-02-04 A kind of method of dynamic conditioning touch-screen input detection rates and mobile terminal

Country Status (1)

Country Link
CN (1) CN103116418B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103761004A (en) * 2014-01-10 2014-04-30 广东欧珀移动通信有限公司 Touch panel, touch terminal and method for improving touch sensitivity of touch panel
CN106525013A (en) * 2016-10-20 2017-03-22 惠州Tcl移动通信有限公司 Mobile terminal based eCompass data detection method and system
CN107391328A (en) * 2017-07-11 2017-11-24 Tcl移动通信科技(宁波)有限公司 A kind of mobile terminal key control method, mobile terminal and storage device
CN107734165A (en) * 2017-10-10 2018-02-23 惠州Tcl移动通信有限公司 Mobile terminal and display screen register read-write super-limit prewarning method and storage medium
CN108572715A (en) * 2017-03-08 2018-09-25 纬创资通股份有限公司 Method for setting time-out of screen, electronic device and storage medium thereof
CN112416106A (en) * 2019-08-22 2021-02-26 Oppo(重庆)智能科技有限公司 Control method, device and equipment of electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060047987A1 (en) * 2004-08-31 2006-03-02 Rajeev Prabhakaran Dynamic clock frequency adjustment based on processor load
EP2131273A2 (en) * 2008-06-05 2009-12-09 Honeywell International Inc. System and method for adjusting a value using a touchscreen slider
CN101931384A (en) * 2009-06-22 2010-12-29 张中行 Power-saving trigger-type control device for instantly varying frequency and method thereof
CN102053700A (en) * 2009-11-06 2011-05-11 三星电子株式会社 Method of dynamically scaling a power level of a microprocessor
CN102129392A (en) * 2010-01-18 2011-07-20 扬智科技股份有限公司 Method for adaptive frequency regulation and electronic device related thereto
CN102722290A (en) * 2012-05-30 2012-10-10 深圳Tcl新技术有限公司 Touch screen interference preventing method and device and touch screen terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060047987A1 (en) * 2004-08-31 2006-03-02 Rajeev Prabhakaran Dynamic clock frequency adjustment based on processor load
EP2131273A2 (en) * 2008-06-05 2009-12-09 Honeywell International Inc. System and method for adjusting a value using a touchscreen slider
CN101931384A (en) * 2009-06-22 2010-12-29 张中行 Power-saving trigger-type control device for instantly varying frequency and method thereof
CN102053700A (en) * 2009-11-06 2011-05-11 三星电子株式会社 Method of dynamically scaling a power level of a microprocessor
CN102129392A (en) * 2010-01-18 2011-07-20 扬智科技股份有限公司 Method for adaptive frequency regulation and electronic device related thereto
CN102722290A (en) * 2012-05-30 2012-10-10 深圳Tcl新技术有限公司 Touch screen interference preventing method and device and touch screen terminal

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103761004A (en) * 2014-01-10 2014-04-30 广东欧珀移动通信有限公司 Touch panel, touch terminal and method for improving touch sensitivity of touch panel
CN103761004B (en) * 2014-01-10 2016-10-05 广东欧珀移动通信有限公司 A kind of improve the method for touch sensitivity of touch panel, touch screen and touch control terminal
CN106525013A (en) * 2016-10-20 2017-03-22 惠州Tcl移动通信有限公司 Mobile terminal based eCompass data detection method and system
CN106525013B (en) * 2016-10-20 2019-07-09 惠州Tcl移动通信有限公司 A kind of method and system of the electronic compass detection data based on mobile terminal
CN108572715A (en) * 2017-03-08 2018-09-25 纬创资通股份有限公司 Method for setting time-out of screen, electronic device and storage medium thereof
CN107391328A (en) * 2017-07-11 2017-11-24 Tcl移动通信科技(宁波)有限公司 A kind of mobile terminal key control method, mobile terminal and storage device
CN107734165A (en) * 2017-10-10 2018-02-23 惠州Tcl移动通信有限公司 Mobile terminal and display screen register read-write super-limit prewarning method and storage medium
CN107734165B (en) * 2017-10-10 2020-06-09 惠州Tcl移动通信有限公司 Mobile terminal, display screen register read-write overrun early warning method and storage medium
CN112416106A (en) * 2019-08-22 2021-02-26 Oppo(重庆)智能科技有限公司 Control method, device and equipment of electronic equipment and storage medium
CN112416106B (en) * 2019-08-22 2023-11-21 Oppo(重庆)智能科技有限公司 Control method, device, equipment and storage medium of electronic equipment

Also Published As

Publication number Publication date
CN103116418B (en) 2016-04-13

Similar Documents

Publication Publication Date Title
CN103116418A (en) Method for dynamically adjusting touch screen input detection rate and mobile terminal
CN107809793B (en) Awakening control method and device of intelligent terminal
US9549292B2 (en) Method for detecting context of a mobile device and a mobile device with a context detection module
CN103067578B (en) A kind of intelligent screen lock function realizing method based on mobile terminal and mobile terminal
US9113414B2 (en) Standby method for handheld mobile terminal, microprocessor, and mobile phone
CN108920156A (en) Application program prediction model method for building up, device, storage medium and terminal
CN103150112A (en) Method, device and terminal for controlling audio play
US11614790B2 (en) Electronic pen, method and device for controlling electronic pen, and computer-readable storage medium
CN106775185B (en) Desktop display method and terminal
CN105573461A (en) Intelligent power-saving method and device and terminal
CN202267942U (en) Mobile terminal
CN102158608A (en) Method and device for automatically changing mobile phone working mode
CN107544898A (en) Data capture method, device, equipment and storage medium
CN106095492A (en) The method for closing of a kind of application program and device
CN107219959B (en) Input control method and device for intelligent wearable device
CN105549377B (en) A kind of inspection method and smartwatch of smartwatch
CN108351741B (en) Method for adjusting screen-on duration of terminal and terminal
CN105472679A (en) Communication terminal network switching method and device
CN104714740A (en) Preset parameter adjusting method, adjusting device and electronic equipment
CN109413715A (en) It quickly accesses the implementation method of Internet of Things, realize equipment and computer readable storage medium
CN108073610B (en) Method and device for realizing webpage loading
CN108989561A (en) The method, apparatus of mobile terminal and starting screen
CN101772048A (en) Method and device for detecting failure of wireless link
CN105259746A (en) Method and system for reducing power consumption of smart watch
CN105446639A (en) Terminal awakening method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant