CN103116418B - A kind of method of dynamic conditioning touch-screen input detection rates and mobile terminal - Google Patents

A kind of method of dynamic conditioning touch-screen input detection rates and mobile terminal Download PDF

Info

Publication number
CN103116418B
CN103116418B CN201310042946.XA CN201310042946A CN103116418B CN 103116418 B CN103116418 B CN 103116418B CN 201310042946 A CN201310042946 A CN 201310042946A CN 103116418 B CN103116418 B CN 103116418B
Authority
CN
China
Prior art keywords
touch
screen
detection rates
gear
detection
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.)
Active
Application number
CN201310042946.XA
Other languages
Chinese (zh)
Other versions
CN103116418A (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

Landscapes

  • Telephone Function (AREA)

Abstract

The invention discloses method and the mobile terminal of a kind of dynamic conditioning touch-screen input detection rates.Specifically comprise the following steps: A, the detection rates of touch-screen is divided into from low to high the detection rates of multiple gear in advance in CPU; B, when receiving after the operational order of user lights screen, controlling to open touch-screen and detecting timer, detecting touch-screen input by the detection rates of acquiescence every a schedule time; C, record the testing result of nearest N time, and analysis is carried out to check result judge, when N continuous time all detects that touch-screen input, then control the detection rates of high one grade of the detection rates of touch-screen selection; When N continuous time does not all detect that touch-screen input, then control the detection rates of low one grade of the detection rates of touch-screen selection, wherein N be greater than 0 natural number.Adopt method of the present invention and terminal can improve touch-screen detection sensitivity, and reduce energy consumption.

Description

A kind of method of dynamic conditioning touch-screen input detection rates and mobile terminal
Technical field
The present invention relates to field of mobile terminals, in particular a kind of speed inputted on the touchscreen according to user carrys out mobile terminal and the method that dynamic conditioning CPU detects touch-screen speed.
Background technology
At present in smart mobile phone, the input operation of most of user is all realized by touch-screen, and existing smart mobile phone is commercially powerful, and user uses smart mobile phone to make a phone call, QQ chats, plays games.Clearly, the speed of user's touch-screen input when using smart mobile phone is through change of being everlasting, such as when making a phone call, touch-screen input rate is zero, and when QQ chats, touch-screen input rate is then sometimes fast and sometimes slow, and when playing games, touch-screen input may keep speed faster always.But be all the position that (such as 50ms) reads user's touch that touch-screen input detects by set intervals on existing technology realizes, send corresponding instruction according to this position CPU.
It is all adopt fixed rate that the touch-screen of prior art detects, and the touch-screen input detecting method of fixed rate detect user operation different application time have below defect: when user's low rate touch touch-screen time, because the speed detecting the input of user's touch-screen at mobile phone terminal is too fast, causing part to detect is useless in fact, consumes system resource in this case; When user's two-forty touches touch-screen, because the speed detecting 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, user is felt, and 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, for the above-mentioned defect of prior art, a kind of method providing dynamic conditioning touch-screen to input detection rates and mobile terminal, it makes mobile terminal add New function: the function with dynamic conditioning touch-screen input detection rates, automatically the touch-screen detection rates of CPU can be adjusted according to the speed of user's touch-screen input, improve detection sensitivity, and reduce energy consumption.
The technical scheme that technical solution problem of the present invention adopts is as follows:
A method for dynamic conditioning touch-screen input detection rates, wherein, comprises step:
A, the detection rates of touch-screen is divided into from low to high the detection rates of multiple gear in advance in CPU;
B, when receiving after the operational order of user lights screen, controlling to open touch-screen and detecting timer, detecting touch-screen input by the detection rates of acquiescence every a schedule time;
C, record the testing result of nearest N time, and analysis is carried out to check result judge, when N continuous time all detects that touch-screen input, then control the detection rates of high one grade of the detection rates of touch-screen selection; When N continuous time does not all detect that touch-screen input, then control the detection rates of low one grade of the detection rates of touch-screen selection, wherein N be greater than 0 natural number.
The method of described dynamic conditioning touch-screen input detection rates, wherein, described steps A also comprises: the detection rates detection rates of touch-screen being divided into from low to high 5 gears in CPU, and 1-5 shelves detection rates is respectively: detect a touch-screen input every 200ms, 160ms, 120ms, 80ms, 40ms.
The method of described dynamic conditioning touch-screen input detection rates, wherein, described step C also comprises:
C1, when detecting that detection rates that current touch shields has selected most high tap position, again receiving the signal raising gear then controls to keep former gear constant;
C2, when detecting that detection rates that current touch shields has selected lowest gear, again receiving the signal reducing gear and then controlling to keep former gear constant.
The method of described dynamic conditioning touch-screen input detection rates, wherein, described step B specifically comprises:
B1, when receiving after the operational order of user lights screen, control the detection rates that gear that selection one gives tacit consent to arranges touch-screen;
B2, control are opened touch-screen and are detected timer, and detect touch-screen input by the detection rates of this acquiescence gear every a schedule time.
The method of described dynamic conditioning touch-screen input detection rates, wherein, described step C specifically comprises:
Step S40, record nearest N testing result continuously, and store in memory, analysiss is carried out to each testing result and judges, judge whether the information input from touch screen at every turn detected is sky, if then enter step S50, otherwise enters step S80;
Step S50, by the bit shift register of the N number of trigger of band each all to moving to left one, and by rightmost one position zero, enter step S60 afterwards;
Step S60, by shift register, each is added, if result is zero, is judged to be that N continuous time does not all detect that touch-screen inputs, and enters step S70, otherwise enter step S110;
The detection rates of step S70, low one grade of control selection;
Step S80, by N number of for band trigger shift register each all to moving to left one, and by rightmost one position 1, enter step S90 afterwards;
Step S90, by shift register, each is added, if result equals N, judges that N continuous time all detects that touch-screen inputs and enters step S100, otherwise enters step S110;
The detection rates of step S100, high one grade of control selection;
Step S110, control keep the detection rates of former gear constant.
The method of described dynamic conditioning touch-screen input detection rates, wherein, described is for N time 10 times.
Adopt a mobile terminal for the method for dynamic conditioning touch-screen input detection rates described in above-mentioned any one, wherein, comprising:
Setting unit, for being divided into the detection rates of multiple gear in advance from low to high in CPU by the detection rates of touch-screen;
Detecting unit, after lighting screen when the operational order receiving user, controls to open touch-screen and detects timer, detect touch-screen input by the detection rates of acquiescence every a schedule time;
Detection rates selection unit, for recording the testing result of nearest N time, and carries out analysis judgement to check result, when N continuous time all detects that touch-screen inputs, then controls the detection rates detection rates of touch-screen being selected high a grade; When N continuous time does not all detect that touch-screen input, then control the detection rates of low one grade of the detection rates of touch-screen selection, wherein N be greater than 0 natural number.
Described mobile terminal, wherein, the detection rates of described multiple gear 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, after lighting screen when the operational order receiving user, the gear controlling selection one acquiescence arranges the detection rates of touch-screen;
Detection module, detects timer for controlling to open touch-screen, and detects touch-screen input by the detection rates of this acquiescence gear every a schedule time.
Described mobile terminal, wherein, described detection rates selection unit comprises:
Record and judge module, for recording nearest N testing result continuously, and storing in memory, carrying out analysis judge each testing result, judges whether the information input from touch screen at every turn detected is empty;
First control module, information input from touch screen for ought detect at every turn is sky, by band N number of trigger bit shift register each all to moving to left one, and by rightmost one position zero, by shift register, each is added, if result is zero, be judged to be that N continuous time does not all detect that touch-screen inputs, control the detection rates selecting low a grade;
Second control module, for the information input from touch screen that ought detect at every turn for empty, by N number of for band trigger shift register each all to moving to left one, and by rightmost one position 1, by shift register, each is added, if result equals N, judges that N continuous time all detects that touch-screen inputs and controls to select the detection rates of high a grade;
3rd control module, for when detecting that detection rates that current touch shields has selected most high tap position, again receiving the signal raising gear then controls to keep former gear constant; And for when detecting that detection rates that current touch shields has selected lowest gear, again receiving the signal reducing gear and then controlling to keep former gear constant.
The method of dynamic conditioning touch-screen input detection rates provided by the present invention and mobile terminal, owing to have employed touch-screen timing detection rates, make shift register pan position 0 or 1 when time-out time after, each in shift register is carried out being added the method judged, it makes mobile terminal add New function: the function with dynamic conditioning touch-screen input detection rates, automatically the touch-screen detection rates of CPU can be adjusted according to the speed of user's touch-screen input, improve detection sensitivity, and reduce energy consumption.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the preferred embodiment of the method that the present invention is based on a kind of dynamic conditioning touch-screen input detection rates.
Fig. 2 is the process flow diagram of the embody rule embodiment of the method that the present invention is based on a kind of dynamic conditioning 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 selection unit 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 the mobile terminal of the embodiment of the present invention.
Embodiment
For making object of the present invention, technical scheme and advantage clearly, clearly, 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, be not intended to limit the present invention.
Refer to Fig. 1, Fig. 1 is the process flow diagram of the preferred embodiment of the method that the present invention is based on a kind of dynamic conditioning touch-screen input detection rates.
Step S10, is divided into the detection rates of multiple gear in advance from low to high in CPU by the detection rates of touch-screen.
For smart mobile phone, as needs adjust touch-screen input detection rates dynamically, first the detection rates of multiple gear will be set in the CPU of mobile phone, and the detection rates of touch-screen is divided from low to high successively, makes handset touch panel in the process of detection rates, improve the sensitivity of recall precision and detection further like this.
Step S20, after the operational order receiving user lights screen, controls to open touch-screen and detects timer, detect touch-screen input by the detection rates of acquiescence every a schedule time.
After the touch-screen of user mobile phone receives operational order and is lighted by screen, the CPU of mobile phone will control the detection timer opening touch-screen, and according to the detection rates of acquiescence set after handset starting detecting the state that touch-screen receives input within a schedule time, can 200ms, 160ms, 120ms, 80ms, 40ms etc. be set to every a schedule time; To the schedule time arrange shorter its to touch-screen input detection rates larger, otherwise, the schedule time arrange longer its to touch-screen input detection rates less.Therefore, system can the touch-screen detection rates according to the speed of user's touch-screen input further for automatically adjusting CPU be prepared, and improves detection sensitivity simultaneously.
Step S30, records the testing result of nearest N time, and carries out analysis judgement to check result, when N continuous time all detects that touch-screen inputs, then controls the detection rates detection rates of touch-screen being selected high a grade; When N continuous time does not all detect that touch-screen input, then control the detection rates of low one grade of the detection rates of touch-screen selection, wherein N be greater than 0 natural number.
For example, system according to user to touch-screen input operation, beginning system uses the detection rates of acquiescence, when user inputs the touch-screen of mobile phone, system will record the testing result of nearest ten touch-screen detecting units, if all detect for continuous ten times, touch-screen inputs, and controls the detection rates of touch-screen rate selection unit Selection radio acquiescence high one grade of detection rates; If all do not detect for continuous ten times, touch-screen inputs, and controls the detection rates of touch-screen rate selection unit Selection radio acquiescence low one grade of detection rates.Wherein when arranging detection rates average time, can select to set the average detected for N time, but N should be the natural number being greater than 0, when user does not carry out any input operation on the touchscreen, system will not carry out the adjustment of detection rates to touch-screen.Therefore, contribute to system can adjust CPU further automatically touch-screen detection rates according to the speed of user's touch-screen input, while raising detection sensitivity, also reduce system energy consumption, avoid battery of mobile phone to be consumed by invisible in touch-screen detection rates.
The method of described dynamic conditioning touch-screen input detection rates, wherein, described step S10 also comprises: the detection rates detection rates of touch-screen being divided into from low to high 5 gears in CPU, and 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, 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 opening touch-screen, and in 200ms, 160ms, 120ms, 80ms, 40ms equal time, the state of touch-screen reception input is being detected, usually design mobile phone time by medium detection rates detection rates value by default, namely when starting hand-set lights touch-screen, general detection rates can be set to 120ms, when according to the detection rates of touch-screen, user judges that also adjustment, than the detection rates of high or low one grade of the detection rates of acquiescence, just can reduce energy consumption for user mobile phone further automatically when using mobile phone.
The method of described dynamic conditioning touch-screen input detection rates, wherein, described step S30 also comprises:
Step S31, when detecting that detection rates that current touch shields has selected most high tap position, again receiving the signal raising gear then controls to keep former gear constant;
The CPU detection rates of this style mobile phone namely used as user only arranges 5 gears, when user is very high to the incoming frequency of handset touch panel, and system is when automatically to adjust to most high tap position according to the input operation situation of user by the detection rates of touch-screen, so, the then system that again to receive subsequently when raising the signal of gear can control to keep former most high tap position constant.
Step S32, when detecting that detection rates that current touch shields has selected lowest gear, again receiving the signal reducing gear and then controlling to keep former gear constant;
Same, the CPU detection rates of this style mobile phone used as user only arranges 5 gears, when user is very low to the incoming frequency of handset touch panel, and system is when automatically adjusting to lowest gear according to the input operation situation of user by the detection rates of touch-screen, so, again to receive when reducing the signal of gear then system subsequently can control to keep former lowest gear constant.
The method of described dynamic conditioning touch-screen input detection rates, wherein, described step S20 specifically comprises:
Step S21, after the operational order receiving user lights screen, the gear controlling selection one acquiescence arranges the detection rates of touch-screen;
When the touch-screen of mobile phone receive user operational order and after lighting screen, it is the detection rates that the gear given tacit consent to is set to touch-screen that system now controls selection one grade, the gear of this acquiescence arranges in the process can set up at mobile phone and namely sets, usually can set a certain middle-grade for giving tacit consent to detection rates, or arrange medium-to-high grade, low and middle-grade is acquiescence detection rates, but the some gears in several gears from low to high that user also can set as required from system are set to the acquiescence gear adapting to oneself 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 of Operation system setting.So, have while mobile phone can be enable to save energy consumption and have more hommization, improve different levels crowd to the experience of sensitivity of touch screen.
Step S22, controls to open touch-screen and detects timer, and detects touch-screen input by the detection rates of this acquiescence gear every a schedule time;
After user normally starts mobile phone, system will control the detection timer opening touch-screen, and by the situation that the detection rates of acquiescence gear set in above-mentioned steps S2011 detects touch-screen input every a schedule time as 200ms, 160ms, 120ms, 80ms, 40ms etc. are continuous.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) composition, ten of mobile phone power-on backward shift register 323 are all 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 touch operation information of user from storer, and rightmost one position 1 in shift register 323, otherwise zero setting.
The method of described dynamic conditioning touch-screen input detection rates, wherein, described step S30 specifically comprises:
Step S40, records nearest N testing result continuously, and stores in memory, carries out analysis judge each testing result, judges whether the information input from touch screen at every turn detected is empty, if then enter step S50, otherwise enters step S80;
Step S50, by the shift register of the N number of trigger of band each all to moving to left one, and by rightmost one position zero, enter step S60 afterwards;
Step S60, by shift register, each is added, if result is zero, is judged to be that N continuous time does not all detect that touch-screen inputs, and enters step S70, otherwise enter step S110;
Step S70, controls the detection rates selecting low a grade;
Step S80, by N number of for band trigger shift register each all to moving to left one, and by rightmost one position 1, enter step S90 afterwards;
Step S90, by shift register, each is added, if result equals N, judges that N continuous time all detects that touch-screen inputs and enters step S100, otherwise enters step S110;
Step S100, controls the detection rates selecting high a grade;
Step S110, controls to keep the detection rates of former gear constant.
The method of described dynamic conditioning touch-screen input detection rates, wherein, described is for N time 10 times.
Roughly can recognize that CPU controls the concrete ins and outs of touch-screen detection rates selection, the key effect that especially shift register 323 is risen in this course by the method for above-mentioned dynamic conditioning touch-screen input detection rates.
Fig. 2 is the process flow diagram of the embody rule embodiment of the method that the present invention is based on a kind of dynamic conditioning touch-screen input detection rates.As shown in Figure 2, the present invention is described for smart mobile phone, then the process flow diagram of this embodiment comprises the following steps:
Step S201, after user lights screen, touch-screen detection rates selection unit is selected the gear of an acquiescence to arrange and opens touch-screen to detect timer;
Set by this smart mobile phone that user is using, the detection rates of multiple gear comprises: 1-5 shelves detection rates, a touch-screen input is detected every 200ms, 160ms, 120ms, 80ms, 40ms, when its smart mobile phone is normally opened by user, after lighting mobile phone screen, touch-screen detection rates selection unit just can select the gear of the acquiescence arranged automatically, assumed by default gear is third gear, and the detection timer opening touch-screen is carrying out rate detection at the input condition of touch-screen every one period of regular time to user; 120ms timing interval time so just set by acquiescence gear detects, and enters step S202 simultaneously.
Whether overtime step S202, judge that touch-screen detects timer;
According to previous step S201 touch-screen detection rates select one acquiescence gear after and open touch-screen detect timer, when touch-screen reception user inputs, whether 120ms interval time corresponding to the detection rates of the third gear of acquiescence judges that touch-screen detects timer overtime; If be no more than the time 120ms that acquiescence gear detects timer setting, then continue to follow the tracks of user to the detection of touch-screen input state and waiting timer is overtime; If now exceed the time 120ms that acquiescence gear detects timer setting, then enter step S203.
Step S203, touch-screen detecting unit obtains the touch operation information of user from the storer of touch-screen;
Obtain touch-screen according to previous step S202 and detect the situation that timer detects time-out, so, touch-screen detecting unit will obtain user's touch operation information before the timeout from the storer of touch-screen, and information is passed to other functional part process of mobile phone.In addition, the touch operation information getting user from storer according to whether also handles accordingly to touch-screen detection rates selection unit by touch-screen detecting unit; Enter step S204 simultaneously.
Step S204, judges whether this information is empty;
Namely this step determines whether according to previous step S203 touch-screen detecting unit the touch operation information getting user from storer, and whether be empty, if so, then enter step S205 if namely obtaining touch operation information; If not, then step S206 is entered.
Step S205, by the shift register in touch-screen detecting unit each all to moving to left one, and by rightmost one position zero;
Owing to arranging a shift register in touch-screen detecting unit inside, this shift register has ten (10bit) composition, ten of mobile phone power-on backward shift register are all set to 0, each in each touch-screen detection timer expiry backward shift register is all to moving to left one, if touch-screen detecting unit fails to get the touch operation information of user from storer, rightmost one position zero in shift register, and should be noted that, this step and following steps S206 are shifted in same shift register, and preserve in a shift register.
Step S206, by the shift register in touch-screen detecting unit each all to moving to left one, and by rightmost one position 1;
Same, judge that the touch operation information getting user from storer is not as empty according to step S204 touch-screen detecting unit, i.e. touch-screen detecting unit rightmost one position 1 of touch operation information then in shift register that get user from storer, the result of this step and the result of step S205 are kept in same shift register in the lump;
Step S207, by shift register, each is added, if result is greater than 0 and be less than 10;
When step S204 is after 10 times judge, again by each shift result that step S205 and S206 store in a shift register, then each is added, if when result is greater than 0 and is less than 10, then directly enter step S210 by shift register to enter this step; If result is not in the scope of this setting, then enters next step S208 and judge.
Step S208, by shift register, each is added, if result equals 0;
Learn according to step S205, if touch-screen detecting unit fails to get the touch operation information of user from storer, then rightmost one position zero in shift register; Judge that now each addition result of shift register is not being greater than 0 and being less than in the scope of 10 according to previous step S207 again, so continue that each in shift register is carried out addition judged result and whether equal 0, if result equals 0, then enter step S211, if result is not equal to 0, then enters step S209 and again judge.
Step S209, by shift register, each is added, if result equals 10;
Learn according to previous step S206, if touch-screen detecting unit can get the touch operation information of user from storer, rightmost one position 1 in shift register; Judge that now each addition result of shift register is not being greater than 0 and being less than in the scope of 10 according to step S207 again, so continue to enter previous step S208 each in shift register is carried out addition judged result whether to equal 0, because judging that its result is not equal to 0, then enter this step again to judge, so each in shift register is carried out addition to judge, if result equals 10, then enter step S212, if result is not equal to 10, then turn back to step S207.
Step S210, touch-screen detection rates selection unit keeps former gear constant;
According to the judged result of step S207, namely each addition result of shift register is greater than 0 and is less than 10, now enters this step and makes system continuation control touch-screen detection rates selection unit keep former gear constant.
Step S211, touch-screen detection rates selection unit selects the detection rates of low a grade;
Obtain each addition result of shift register according to previous step S208 and equal 0, then Systematical control touch-screen detection rates selection unit selects the detection rates of low a grade.
Step S212, touch-screen detection rates selection unit keeps the detection rates selecting high a grade;
Obtain each addition result of shift register according to previous step S209 and equal 10, then Systematical control touch-screen detection rates selection unit selects the detection rates of high a grade.
As mentioned in the embodiment of figure 2, recognize that touch-screen detection rates to adjust the detailed process of its touch-screen detection rates automatically along with user to the frequency change of touch-screen input state further, illustrate that this method has the function of dynamic conditioning touch-screen input detection rates, automatically the touch-screen detection rates of CPU can be adjusted according to the speed of user's touch-screen input, improve detection sensitivity, and reduce energy consumption.
Based on a kind of method based on dynamic conditioning touch-screen input detection rates of above-described embodiment, the embodiment of the present invention additionally provides a kind of mobile terminal, be illustrated in figure 3 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, for being divided into the detection rates of multiple gear in advance from low to high in CPU by the detection rates of touch-screen; Specifically as described in above-mentioned steps S10.
Detecting unit 320, after lighting screen when the operational order receiving user, controls to open touch-screen and detects timer, detect touch-screen input by the detection rates of acquiescence every a schedule time; Specifically as described in above-mentioned steps S20.
Detection rates selection unit 330, for recording the testing result of nearest N time, and carries out analysis judgement to check result, when N continuous time all detects that touch-screen inputs, then controls the detection rates detection rates of touch-screen being selected high a grade; When N continuous time does not all detect that touch-screen input, then control the detection rates of low one grade of the detection rates of touch-screen selection, wherein N be greater than 0 natural number; Specifically as described in above-mentioned steps S30.
Described mobile terminal, wherein, the detection rates of described multiple gear comprises: 1-5 shelves detection rates, is respectively: detect a touch-screen input every 200ms, 160ms, 120ms, 80ms, 40ms; Specifically as above-mentioned steps S10 further as described in.
Fig. 4 is the detecting unit modular structure schematic diagram of the mobile terminal that the present invention is based on a kind of dynamic conditioning touch-screen input detection rates method.As shown in Figure 4, described detecting unit 320 comprises:
Trigger module 321, after lighting screen when the operational order receiving user, the gear controlling selection one acquiescence arranges the detection rates of touch-screen; Specifically as described in above-mentioned steps S21.
Detection module 322, detects timer for controlling to open touch-screen, and detects touch-screen input by the detection rates of this acquiescence gear every a schedule time; Specifically as described in above-mentioned steps S22.
Fig. 5 is the detection rates selection unit modular structure schematic diagram of the mobile terminal that the present invention is based on a kind of dynamic conditioning touch-screen input detection rates method.As shown in Figure 5, described detection rates selection unit 31 comprises:
Record and judge module 61, for recording nearest N testing result continuously, and storing in memory, carrying out analysis judge each testing result, judges whether the information input from touch screen at every turn detected is empty; Specifically as described in above-mentioned steps S40.
First control module 71, information input from touch screen for ought detect at every turn is sky, by band N number of trigger bit shift register each all to moving to left one, and by rightmost one position zero, by shift register, each is added, if result is zero, be judged to be that N continuous time does not all detect that touch-screen inputs, control the detection rates selecting low a grade; Specifically as described in above-mentioned steps S50, S60, S70.
Second control module 81, information input from touch screen for ought detect at every turn is not sky, by N number of for band trigger shift register each all to moving to left one, and by rightmost one position 1, by shift register, each is added, if result equals N, judges that N continuous time all detects that touch-screen inputs and controls to select the detection rates of high a grade; Specifically as described in above-mentioned steps S80, S90, S100.
3rd control module 91, for when detecting that detection rates that current touch shields has selected most high tap position, again receiving the signal raising gear then controls to keep former gear constant; And for when detecting that detection rates that current touch shields has selected lowest gear, again receiving the signal reducing gear and then controlling to keep former gear constant.Specifically as described in above-mentioned steps S31 and S32.
In sum, the method of dynamic conditioning touch-screen input detection rates provided by the present invention and mobile terminal, owing to have employed touch-screen timing detection rates, make shift register pan position 0 or 1 when time-out after, each in shift register is carried out being added the method judged, it makes mobile terminal add New function: the function with dynamic conditioning touch-screen input detection rates, automatically the touch-screen detection rates of CPU can be adjusted according to the speed of user's touch-screen input, improve detection sensitivity, and reduce energy consumption.
Should be understood that; application of the present invention is not limited to above-mentioned citing; for those of ordinary skills; can be improved according to the above description or be converted; such as can use the screen of the various instrument and equipments of touch recognition have Ipad, MP4 MP5 etc., all these improve and conversion all should belong to the protection domain of claims of the present invention.

Claims (8)

1. a method for dynamic conditioning touch-screen input detection rates, is characterized in that, comprise step:
A, the detection rates of touch-screen is divided into from low to high the detection rates of multiple gear in advance in CPU;
B, when receiving after the operational order of user lights screen, controlling to open touch-screen and detecting timer, detecting touch-screen input by the detection rates of acquiescence every a schedule time;
C, record the testing result of nearest N time, and analysis is carried out to check result judge, when N continuous time all detects that touch-screen input, then control the detection rates of high one grade of the detection rates of touch-screen selection; When N continuous time does not all detect that touch-screen input, then control the detection rates of low one grade of the detection rates of touch-screen selection, wherein N be greater than 0 natural number;
Described step C specifically comprises:
Step S40, record nearest N testing result continuously, and store in memory, analysiss is carried out to each testing result and judges, judge whether the information input from touch screen at every turn detected is sky, if then enter step S50, otherwise enters step S80;
Step S50, by bit shift register each all to moving to left one, and by rightmost one position zero, enter step S60 afterwards;
Step S60, by shift register, each is added, if result is zero, is judged to be that N continuous time does not all detect that touch-screen inputs, and enters step S70, otherwise enter step S110;
The detection rates of step S70, low one grade of control selection;
Step S80, by N number of for band trigger shift register each all to moving to left one, and by rightmost one position 1, enter step S90 afterwards;
Step S90, by shift register, each is added, if result equals N, judges that N continuous time all detects that touch-screen inputs and enters step S100, otherwise enters step S110;
The detection rates of step S100, high one grade of control selection;
Step S110, control keep the detection rates of former gear constant.
2. dynamic conditioning touch-screen inputs the method for detection rates according to claim 1, it is characterized in that, described steps A also comprises: the detection rates detection rates of touch-screen being divided into from low to high 5 gears in CPU, and 1-5 shelves detection rates is respectively: detect a touch-screen input every 200ms, 160ms, 120ms, 80ms, 40ms.
3. dynamic conditioning touch-screen inputs the method for detection rates according to claim 1, and it is characterized in that, described step C also comprises:
C1, when detecting that detection rates that current touch shields has selected most high tap position, again receiving the signal raising gear then controls to keep former gear constant;
C2, when detecting that detection rates that current touch shields has selected lowest gear, again receiving the signal reducing gear and then controlling to keep former gear constant.
4. dynamic conditioning touch-screen inputs the method for detection rates according to claim 1, and it is characterized in that, described step B specifically comprises:
B1, when receiving after the operational order of user lights screen, control the detection rates that gear that selection one gives tacit consent to arranges touch-screen;
B2, control are opened touch-screen and are detected timer, and detect touch-screen input by the detection rates of this acquiescence gear every a schedule time.
5. dynamic conditioning touch-screen inputs the method for detection rates according to claim 1, and it is characterized in that, described is for N time 10 times.
6. adopt a mobile terminal for the method for dynamic conditioning touch-screen input detection rates described in any one of claim 1-5, it is characterized in that, comprising:
Setting unit, for being divided into the detection rates of multiple gear in advance from low to high in CPU by the detection rates of touch-screen;
Detecting unit, after lighting screen when the operational order receiving user, controls to open touch-screen and detects timer, detect touch-screen input by the detection rates of acquiescence every a schedule time;
Detection rates selection unit, for recording the testing result of nearest N time, and carries out analysis judgement to check result, when N continuous time all detects that touch-screen inputs, then controls the detection rates detection rates of touch-screen being selected high a grade; When N continuous time does not all detect that touch-screen input, then control the detection rates of low one grade of the detection rates of touch-screen selection, wherein N be greater than 0 natural number;
Described detection rates selection unit comprises:
Record and judge module, for recording nearest N testing result continuously, and storing in memory, carrying out analysis judge each testing result, judges whether the information input from touch screen at every turn detected is empty;
First control module, information input from touch screen for ought detect at every turn is sky, by band N number of trigger bit shift register each all to moving to left one, and by rightmost one position zero, by shift register, each is added, if result is zero, be judged to be that N continuous time does not all detect that touch-screen inputs, control the detection rates selecting low a grade;
Second control module, information input from touch screen for ought detect at every turn is not sky, by N number of for band trigger shift register each all to moving to left one, and by rightmost one position 1, by shift register, each is added, if result equals N, judges that N continuous time all detects that touch-screen inputs and controls to select the detection rates of high a grade;
3rd control module, for when detecting that detection rates that current touch shields has selected most high tap position, again receiving the signal raising gear then controls to keep former gear constant; And for when detecting that detection rates that current touch shields has selected lowest gear, again receiving the signal reducing gear and then controlling to keep former gear constant.
7. mobile terminal according to claim 6, is characterized in that, the detection rates of described multiple gear comprises: 1-5 shelves detection rates, is respectively: detect a touch-screen input every 200ms, 160ms, 120ms, 80ms, 40ms.
8. mobile terminal according to claim 6, is characterized in that, described detecting unit comprises:
Trigger module, after lighting screen when the operational order receiving user, the gear controlling selection one acquiescence arranges the detection rates of touch-screen;
Detection module, detects timer for controlling to open touch-screen, and detects touch-screen input by the detection rates of this acquiescence gear every a schedule time.
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 CN103116418A (en) 2013-05-22
CN103116418B true 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)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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
TWI643093B (en) * 2017-03-08 2018-12-01 緯創資通股份有限公司 Method, electronic device, and computer-readable recording medium for setting screen timeout time
CN107391328A (en) * 2017-07-11 2017-11-24 Tcl移动通信科技(宁波)有限公司 A kind of mobile terminal key control method, mobile terminal and storage device
CN107734165B (en) * 2017-10-10 2020-06-09 惠州Tcl移动通信有限公司 Mobile terminal, display screen register read-write overrun early warning method and storage medium
CN112416106B (en) * 2019-08-22 2023-11-21 Oppo(重庆)智能科技有限公司 Control method, device, equipment and storage medium of electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7711966B2 (en) * 2004-08-31 2010-05-04 Qualcomm Incorporated Dynamic clock frequency adjustment based on processor load

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN103116418A (en) 2013-05-22

Similar Documents

Publication Publication Date Title
CN103116418B (en) A kind of method of dynamic conditioning touch-screen input detection rates and mobile terminal
US10917515B2 (en) Method for switching applications in split screen mode, computer device and computer-readable storage medium
KR101681618B1 (en) Method and device for automatically displaying application component on desktop
CN101102569B (en) Mobile communication terminal including rotary key and method of controlling operation thereof
CN104237789B (en) The method and device that battery life is estimated
CN107463403A (en) Course control method, device, storage medium and electronic equipment
CN104967731B (en) A kind of terminal notifying method and terminal
CN106775185B (en) Desktop display method and terminal
CN105760094A (en) Frame rate controlling method and device and terminal
CN109413715A (en) It quickly accesses the implementation method of Internet of Things, realize equipment and computer readable storage medium
CN106445304A (en) Application icon management method and mobile terminal
CN108351741B (en) Method for adjusting screen-on duration of terminal and terminal
CN105472679A (en) Communication terminal network switching method and device
CN108564539B (en) Method and device for displaying image
CN107635277B (en) Power saving management method of terminal equipment of Internet of things and terminal equipment of Internet of things
CN111984337B (en) Operation mode collection method, terminal device, massage device and storage medium
CN110688339B (en) Data transmission method and device, mobile terminal and storage medium
CN108901062B (en) Wireless communication transmission method, device, mobile terminal and computer readable storage medium
CN105208225A (en) Method and device for reducing power consumption of smart watch
CN110049537A (en) A kind of electricity saving method of intelligent wearable device, device, equipment and storage medium
CN110912628B (en) Interference test method, device, terminal and storage medium
CN100559354C (en) Portable electronic device status intelligent prompt method
CN112199245B (en) Mobile terminal screen detection method, system, storage medium and mobile terminal
CN111182615B (en) Sensor starting method and device, storage medium and terminal
CN112433694B (en) Light intensity adjusting method and device, storage medium and mobile terminal

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