CN110471808A - A kind of pressure buttons detection method, device and mobile terminal - Google Patents
A kind of pressure buttons detection method, device and mobile terminal Download PDFInfo
- Publication number
- CN110471808A CN110471808A CN201910681217.6A CN201910681217A CN110471808A CN 110471808 A CN110471808 A CN 110471808A CN 201910681217 A CN201910681217 A CN 201910681217A CN 110471808 A CN110471808 A CN 110471808A
- Authority
- CN
- China
- Prior art keywords
- area
- pressure
- touch
- target
- value
- 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
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 37
- 230000035945 sensitivity Effects 0.000 claims abstract description 49
- 238000000034 method Methods 0.000 claims abstract description 25
- 238000003825 pressing Methods 0.000 claims description 141
- 238000004590 computer program Methods 0.000 claims description 9
- 238000004364 calculation method Methods 0.000 claims description 6
- 238000003860 storage Methods 0.000 description 13
- 230000006870 function Effects 0.000 description 12
- 230000002159 abnormal effect Effects 0.000 description 9
- 238000012545 processing Methods 0.000 description 7
- 230000001960 triggered effect Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000006854 communication Effects 0.000 description 4
- 230000006698 induction Effects 0.000 description 4
- 238000012360 testing method Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 210000003811 finger Anatomy 0.000 description 3
- 238000012544 monitoring process Methods 0.000 description 3
- 238000012935 Averaging Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000001105 regulatory effect Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000001755 vocal effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000001404 mediated effect Effects 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 210000003813 thumb Anatomy 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2205—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
- G06F11/2221—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test input/output devices or peripheral units
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0414—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Telephone Function (AREA)
Abstract
The present invention provides a kind of pressure buttons detection method, device and mobile terminals.The described method includes: obtaining touch area locating for touch operation on the screen when receiving the touch operation for the screen of mobile terminal;In the case where touch area is located in the corresponding target area of goal pressure key, the corresponding touch pressure value of touch operation and the corresponding touch area of touch operation are obtained;In the case where touching the largest face product value that area is greater than in target area range and the minimum pressure values that touch pressure value is less than in target pressure range, determine that goal pressure key has damaged;Or in the case where touching the minimal face product value that area is less than in target area range and the maximum pressure value that touch pressure value is greater than in target pressure range, determine that the sensitivity of goal pressure key is greater than the threshold of sensitivity.The present invention can achieve anticipation or detect the purpose whether pressure buttons damage, and remind the user that replacement pressure sensor in time.
Description
Technical field
The present invention relates to mobile communication technology fields, more particularly to a kind of pressure buttons detection method, device and movement
Terminal.
Background technique
With the popularization of Curved screen terminal, Curved screen terminal combination lateral pressure key scheme is also all the more mature, passes through side pressure
Power built-in key substitutes side physical button, including power key and volume key function, to reach the integral type appearance effect of complete machine
Fruit, while original function can be retained.
But since there are softwares for lateral pressure key, and pressure sensor detection and structure is needed to design as support,
I.e. software has abnormal situation, and in addition pressure sensor and structure are as collision or extruding are easily deformed generation mistake letter
Number, or damage, compared to physical button, the crash rate of pressure buttons can more increase, and therefore, how whether detect pressure buttons
Exception has become current urgent problem to be solved.
Summary of the invention
The embodiment of the present invention provides a kind of pressure buttons detection method, device and mobile terminal, to solve how to detect pressure
Power key whether Yi Chang problem.
In order to solve the above-mentioned technical problem, the embodiments of the present invention are implemented as follows:
In a first aspect, the embodiment of the invention provides a kind of pressure buttons detection methods, comprising: receiving for described
When the touch operation of the screen of mobile terminal, touch area locating for the touch operation on the screen is obtained;Described
In the case that touch area is located in the corresponding target area of goal pressure key, the corresponding touch pressure of the touch operation is obtained
Force value and the corresponding touch area of the touch operation;It is greater than the maximum in the target area range in the touch area
Area value, and the touch pressure value be less than the target pressure range in minimum pressure values in the case where, determine the mesh
Mark pressure buttons have damaged;Or it is less than the minimal face product value in the target area range, and the touching in the touch area
In the case where pressure value is touched greater than the maximum pressure value in the target pressure range, the sensitive of the goal pressure key is determined
Degree is greater than the threshold of sensitivity.
Second aspect, the embodiment of the invention provides a kind of pressure buttons detection devices, comprising: touch area obtains mould
Block, for obtaining the touch operation in the screen when receiving the touch operation for the screen of the mobile terminal
Upper locating touch area;Touch pressure obtains module, for being located at the corresponding mesh of goal pressure key in the touch area
In the case where marking in region, the corresponding touch pressure value of the touch operation and the corresponding touch surface of the touch operation are obtained
Product;Key damages determining module, for being greater than the largest face product value in the target area range, and institute in the touch area
In the case where touch pressure value is stated less than the minimum pressure values in the target pressure range, the goal pressure key has been determined
Damage;Or sensitivity exception determining module, for being less than the minimum area in the target area range in the touch area
Value, and the touch pressure value be greater than the target pressure range in maximum pressure value in the case where, determine the target pressure
The sensitivity of power key is greater than the threshold of sensitivity.
The third aspect the embodiment of the invention provides a kind of mobile terminal, including processor, memory and is stored in described
It is real when the computer program is executed by the processor on memory and the computer program that can run on the processor
The step of existing pressure buttons detection method described in any of the above embodiments.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage mediums, which is characterized in that the calculating
Computer program is stored on machine readable storage medium storing program for executing, is realized described in any of the above-described when the computer program is executed by processor
Pressure buttons detection method the step of.
In embodiments of the present invention, by obtaining and touching when receiving the touch operation for the screen of mobile terminal
Touch area locating for operation on the screen, is located at the situation in the corresponding target area of goal pressure key in touch area
Under, the corresponding touch pressure value of touch operation and the corresponding touch area of touch operation are obtained, is greater than target face touching area
Product range in largest face product value, and touch pressure value be less than target pressure range in minimum pressure values in the case where, determine
Goal pressure key has damaged;Area is being touched less than the minimal face product value in target area range, and touch pressure value is greater than
In the case where maximum pressure value in target pressure range, determine that the sensitivity of goal pressure key is greater than the threshold of sensitivity.This
Inventive embodiments determine whether pressure buttons are abnormal, can achieve anticipation or detection by combining touch pressure value and touching area
The purpose whether pressure buttons damage reminds the user that replacement pressure sensor in time.
Detailed description of the invention
Fig. 1 is a kind of step flow chart of pressure buttons detection method provided in an embodiment of the present invention;
Fig. 2 is a kind of step flow chart of pressure buttons detection method provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of pressure buttons detection device provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of pressure buttons detection device provided in an embodiment of the present invention;
Fig. 5 is a kind of structural block diagram of mobile terminal provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
Embodiment one
Referring to Fig.1, a kind of step flow chart of pressure buttons detection method provided in an embodiment of the present invention, the pressure are shown
Power key detecting method can be applied to mobile terminal, can specifically include following steps:
Step 101: when receiving the touch operation for the display screen of the mobile terminal, obtaining the touch behaviour
Make touch area locating on the display screen.
In embodiments of the present invention, mobile terminal may include mobile phone, (Portable Android Device is put down PAD
Plate computer) etc. have the mobile electronic device of touch screen.
Touch operation refers to the operation of the display screen for the touch mobile terminal that user executes, as user is pressed by finger
Show screen, or using other way pressing display screen etc..
When touch area refers to that user executes touch operation on the display screen, the region of touch.
It is previously provided with touch screen sensor in mobile terminal, position locating for touch operation can be incuded by touch screen sensor
It sets, so as to calculate region, i.e. touch area locating for touch operation on the display screen.
And the scheme for touching area is calculated for the induction changing value size of touch screen sensor sense node, it has been ability
The more mature technical solution in domain, the embodiment of the present invention are no longer described in detail this.
When receiving the touch operation for the display screen of mobile terminal, touch operation institute on the display screen is obtained
After the touch area at place, step 102 is executed.
Step 102: in the case where the touch area is located in the corresponding target area of goal pressure key, obtaining institute
State the corresponding touch pressure value of touch operation and the corresponding touch area of the touch operation.
Goal pressure key refers to the pre-set key for needing to be implemented trigger action on mobile terminal, and such as bright screen is pressed
Key, sound regulating key etc..
It touches area and refers to area occupied by the user performs a touch operation, for example, user uses thumb contact display screen
When curtain, when it is larger to touch area, and referring to touch display screen curtain in user's use, touch area is smaller etc..
By preassembled touch screen sensor touch area can be calculated with the induction changing value size of sense node.
Target area refers to the region that the correspondence event of goal pressure key is triggered on display screen, corresponding event refer to by
Pressure touches the event that goal pressure key is triggered, for example, passing through triggering when goal pressure key is audio conditions key
When the key of sound is turned up, volume can be turned up, i.e. the event of height-regulating volume can be used as corresponding event;For another example, in target pressure
When power key is bright screen key, display screen can be triggered by screen conversion of going out to bright screen by triggering bright screen key, i.e., will go out screen
The event of bright screen is converted to as corresponding event.Target area can be as being to be converted to bright screen by the screen that goes out in corresponding event
When event, when executing touch operation in the region a for showing screen, screen can be triggered by the screen that goes out and be converted to bright screen, then by the area a
Domain is as target area;And when corresponding event is that the event of volume is turned up, touch operation is executed in the region b of display screen
When, volume can be turned up, then using the region b as target area.
It is to be appreciated that above-mentioned example is merely to more fully understand the technical solution of the embodiment of the present invention and showing for enumerating
Example, not as the sole limitation to the embodiment of the present invention.
Touch pressure value refers to touch operation generated pressure value on the display screen, passes through the touching built in mobile terminal
Screen sensor can detecte the corresponding touch pressure value of touch operation.
When touch area is located in the corresponding target area of goal pressure key, the corresponding touching of available touch operation
Pressure value and the corresponding touch area of touch operation are touched, and executes step 103.
Step 103: being greater than the largest face product value in the target area range in the touch area, and the touch is pressed
In the case that force value is less than the minimum pressure values in the target pressure range, determine that the goal pressure key has damaged.
Target pressure range refers to the range of touch pressure value corresponding to pre-set touch operation, in touch operation
When corresponding touch pressure value is in target pressure range, indicate that the touch operation can trigger corresponding event.
Target pressure range can be as obtained from the test process first carried out in advance, and for the tool of target pressure range
Body acquisition process will be described in detail in following embodiments two, and the embodiment of the present invention is not repeated here herein.
Target area range refers to the range that area is touched corresponding to pre-set touch operation, in touch operation pair
When the touch area answered is within the scope of target area, indicate that the touch operation can trigger corresponding event.
Target area range can be as obtained from the test process first carried out in advance, and for the tool of target area range
Body acquisition process will be described in detail in following embodiments two, and the embodiment of the present invention is not repeated here herein.
It is to be appreciated that in the present invention, being only in target pressure range in touch pressure, and target area is in
In the case where within the scope of target area, it is possible to determine that goal pressure key is normally, otherwise to can be determined that goal pressure key
It is abnormal.
The specific value range of target pressure range and target area range can be tested to obtain according to the actual situation, it is right
In the specific value range of the two ranges, the embodiment of the present invention is without restriction.
Largest face product value refers to the Maximum Area in target area range, for example, target area range is 10~30, then
Largest face product value is 30.
Minimum pressure values refer to the pressure minimum in target pressure range, for example, target pressure range is 20~50, then
Minimum pressure values are 20.
It is to be appreciated that above-mentioned example is merely to more fully understand the technical solution of the embodiment of the present invention and showing for enumerating
Example, not as the sole limitation to the embodiment of the present invention.
And in the touch operation for monitoring that user executes in target area, and it is big in the corresponding touch area of touch operation
Largest face product value in target area range, and the corresponding touch pressure value of touch operation is less than in target pressure range most
It in the case where small pressure value, can determine that goal pressure key has damaged, may remind the user that in time to goal pressure key
Corresponding pressure sensor is replaced.
In the case where goal pressure key has damaged, prompt information can be generated, can prompt to use by prompt information
Goal pressure key is replaced at family in time, and prompt information can be text prompt information, such as shows text on the screen of the mobile terminal
Word prompt, such as " pressure buttons have damaged ";The prompt information is also possible to verbal cue information, that is, passes through the shape of voice broadcast
Formula prompt ownership goal pressure buttons have damaged.
Step 104: being less than the minimal face product value in the target area range in the touch area, and the touch is pressed
In the case that force value is greater than the maximum pressure value in the target pressure range, determine that the sensitivity of the goal pressure key is big
In the threshold of sensitivity.
Minimal face product value refers to the area minimum value in target area range, for example, target area range is 10~30, then
Minimal face product value is 10.
Maximum pressure value refers to the Pressure maximum value in target pressure range, for example, target pressure range is 20~50, then
Maximum pressure value is 50.
It is to be appreciated that above-mentioned example is merely to more fully understand the technical solution of the embodiment of the present invention and showing for enumerating
Example, not as the sole limitation to the embodiment of the present invention.
The threshold of sensitivity refers to the maximum value of the sensitivity by the pre-set goal pressure key of business personnel, in target
When the sensitivity of pressure buttons is greater than the threshold of sensitivity, indicate that goal pressure key is excessively sensitive.
And in the touch operation for monitoring that user executes in target area, and it is small in the corresponding touch area of touch operation
Minimal face product value in target area range, and the corresponding touch pressure value of touch operation is greater than in target pressure range most
In the case where big pressure value, it can determine that the sensitivity of goal pressure key is greater than the threshold of sensitivity, indicate goal pressure key
Sensitivity occur abnormal, i.e. goal pressure key is excessively sensitive, then can remind spirit of the user to goal pressure key in time
Sensitivity is adjusted.
In the case where the sensitivity of goal pressure key is greater than the threshold of sensitivity, prompt information can be generated, by mentioning
Show that information can prompt user to be adjusted in time to the sensitivity of goal pressure key, prompt information can be text prompt letter
Breath such as shows text prompt on the screen of the mobile terminal, such as " sensitivity of the pressure buttons is excessively high ";Prompt information can also be with
It is verbal cue information, i.e., prompts the sensitivity of ownership goal pressure buttons excessively high by way of voice broadcast.
The embodiment of the present invention by combine touch pressure value and touch area determine pressure buttons be damaged, or spirit
Sensitivity is excessively abnormal, can achieve anticipation or detection pressure buttons whether Yi Chang purpose.
Pressure buttons detection method provided in an embodiment of the present invention, by the touching for receiving the screen for mobile terminal
When touching operation, touch area locating for touch operation on the screen is obtained, it is corresponding to be located at goal pressure key in touch area
In the case where in target area, the corresponding touch pressure value of touch operation and the corresponding touch area of touch operation are obtained, is being touched
Area is touched greater than the largest face product value in target area range, and touch pressure value is less than the minimum pressure in target pressure range
In the case where value, determine that goal pressure key has damaged;Area is being touched less than the minimal face product value in target area range, and
In the case that touch pressure value is greater than the maximum pressure value in target pressure range, determine that the sensitivity of goal pressure key is greater than
The threshold of sensitivity.The embodiment of the present invention determines whether pressure buttons are abnormal by combining touch pressure value and touching area, can be with
Achieve the purpose that whether anticipation or detection pressure buttons damage, reminds the user that replacement pressure sensor in time.
Embodiment two
Referring to Fig. 2, a kind of step flow chart of pressure buttons detection method provided in an embodiment of the present invention, the pressure are shown
Power key detecting method can be applied to mobile terminal, can specifically include following steps:
Step 201: obtaining the multiple pressing operation for being directed to the target area.
In embodiments of the present invention, mobile terminal may include mobile phone, (Portable Android Device is put down PAD
Plate computer) etc. have the mobile electronic device of touch screen.
Goal pressure key refers to the pre-set key for needing to be implemented trigger action on mobile terminal, and such as bright screen is pressed
Key, sound regulating key etc..
Target area refers to the region that the correspondence event of goal pressure key is pressed on screen, corresponding event refer to pressing or
The event that goal pressure key is triggered is touched, for example, being turned up when goal pressure key is audio conditions key by triggering
When the key of sound, volume can be turned up, i.e. the event of height-regulating volume can be used as corresponding event;For another example, it is pressed in goal pressure
When key is bright screen key, screen can be triggered by screen conversion of going out to bright screen by triggering bright screen key, i.e., the screen that will go out is converted to bright
The event of screen is as corresponding event.Target area can be as, when corresponding event is to be converted to the event of bright screen by the screen that goes out, In
When executing touch operation in the region a of screen, screen can be triggered by the screen that goes out and be converted to bright screen, then using the region a as target area
Domain;And when corresponding event is that the event of volume is turned up, when executing touch operation in the region b of screen, volume can be turned up,
Then using the region b as target area.
It is to be appreciated that above-mentioned example is merely to more fully understand the technical solution of the embodiment of the present invention and showing for enumerating
Example, not as the sole limitation to the embodiment of the present invention.
Pressing operation refers in the case where goal pressure key is in normal condition, tests goal pressure key
When press target area operation.
In the present invention, target area can be executed multiple in the case where goal pressure key is in normal condition
Pressing operation is tested, and to obtain the threshold area range and threshold pressure range in following step, and pressing operation is secondary
Number can be 5 times, 8 times, 15 times etc., specifically, can be depending on business demand, and the embodiment of the present invention does not limit this
System.
It is previously provided with touch screen sensor in mobile terminal, can detecte to obtain to target area by touch screen sensor
The number of the pressing operation of execution.
After obtaining the multiple pressing operation for target area, step 202 is executed.
Step 202: obtaining the corresponding initial press area of the pressing operation every time;The initial press area is described
Pressing area when pressing operation contacts the target area and do not generate pressure value.
Initial press area refers to there is no pressing operation contact target region still when executing pressing operation to target area
Generate pressing area when pressure value.
Touch screen sensor built in mobile terminal can calculate pressing area by the induction changing value size of sense node,
And when touch screen sensor is not detected pressing operation and generates pressure value, the pressing area that can will test as initially by
Pressure surface product.
In the multiple pressing operation executed for target area, it is corresponding that each pressing operation can be obtained in the manner described above
Initial press area, and execute step 203.
Step 203: obtaining the pressing when each pressing operation triggers the correspondence event of the goal pressure key
Pressure value and the corresponding target of the pressing operation press area.
Press pressure value, which refers to, executes pressing operation to target area, and triggers the correspondence event of goal pressure key
When, pressure value caused by pressing operation.
It is to execute pressing operation to target area, and trigger the correspondence event of goal pressure key that target, which presses area,
When, pressing operation is generated to press area.
Pressing can be calculated by the induction changing value size of sense node in touch screen sensor built in mobile terminal
Area, and when triggering the correspondence event of goal pressure key, it can be pressed the pressing area calculated at this time as target
Area.Also, can detect to obtain the pressure value of pressing operation generation by touch screen sensor at this time, and using the pressure value as
Press pressure value.
For multiple pressing operation, it can obtain according to above-mentioned implementation and trigger corresponding thing at each pressing operation
The corresponding target of press pressure value and pressing operation when part presses area, and executes step 204.
Step 204: based on multiple initial press areas, multiple press pressure values and multiple target pressings
Area determines the target area range and the target pressure range.
After obtaining initial press area corresponding to multiple pressing operation, press pressure value and target pressing area,
Area can be pressed according to multiple initial press areas, multiple press pressure values and multiple targets, determine target area range
And target pressure range, and the detailed description of embodiments discussed below is referred to for the process.
In one preferred embodiment of the invention, above-mentioned steps 204 may include:
Sub-step A1: it according to multiple target pressing areas and multiple initial press areas, is calculated multiple
Press area ratio.
In embodiments of the present invention, pressing area ratio refers to each pressing operation corresponding target pressing area and initial
The ratio of area is pressed, for example, being A in the corresponding target pressing area of a pressing operation, when initial press area is a, then
The corresponding pressing area ratio of the pressing operation is A/a.
After obtaining the corresponding target pressing area of multiple pressing operation and initial press area, it can be calculated every
The corresponding pressing area ratio of secondary pressing operation, i.e., the corresponding pressing area ratio=target pressing area of each pressing operation/
Initial press area.
Pressing area and multiple initial press areas according to multiple targets, be calculated multiple pressing area ratios it
Afterwards, sub-step A2 is executed.
Sub-step A2: according to multiple press pressure values and multiple pressing area ratios, the mesh is calculated
Mark areal extent and the target pressure range.
It, can be according to multiple press pressure values and more after the corresponding pressing area ratio of multiple pressing operation is calculated
A pressing area ratio, is calculated target area range and target pressure range, and calculating process can be tied further
Embodiments discussed below is closed to be described in detail.
In one preferred embodiment of the invention, above-mentioned sub-step A2 may include:
Sub-step B1: the maximum ratio and minimum ratio in multiple pressing area ratios are obtained.
In embodiments of the present invention, maximum ratio refers to the maximum value in multiple pressing area ratios, for example, multiple pressings
Area ratio includes: 1/3,1/2,1/4, then maximum ratio is 1/2.
Minimum ratio refers to the minimum value in multiple pressing area ratios, for example, accepting above-mentioned example, minimum ratio is
1/4。
It is to be appreciated that above-mentioned example is merely to more fully understand the technical solution of the embodiment of the present disclosure and showing for enumerating
Example, not as the sole limitation to the embodiment of the present invention.
After obtaining multiple pressing area ratios, can be obtained from multiple pressing area ratios maximum ratio therein with
Minimum ratio.
Sub-step B2: the maximum pressing area value and minimum pressing area value in multiple initial press areas are obtained.
Maximum pressing area value refers to the maximum value in multiple initial press areas, and minimum pressing area value is that finger is multiple
Minimum value in initial press area, for example, multiple initial press areas include: 5,8,10,9,7,6, wherein maximum press surface
Product value is 10, and minimum pressing area value is 5.
It is to be appreciated that above-mentioned example is merely to more fully understand the technical solution of the embodiment of the present invention and showing for enumerating
Example, not as the sole limitation to the embodiment of the present invention.
After obtaining multiple initial press areas, maximum pressing area value can be obtained from multiple initial press areas
Area value is pressed with minimum.
Sub-step B3: being calculated the corresponding pressure mean values of multiple press pressure values and multiple targets are pressed
The area average of pressure surface product.
Pressure mean values refer to the average value of multiple press pressure values.
Area average refers to the average value of multiple target pressing areas.
After obtaining multiple press pressure values, pressure mean values can be calculated according to multiple press pressure values, i.e.,
Multiple press pressure values are added and are summed, then averaging, can be obtained pressure mean values.
After obtaining multiple target pressing areas, it is average area can be calculated according to multiple targets pressing area
Multiple targets pressing area is added summation by value, then averaging, can be obtained area average.
Sub-step B4: based on the maximum ratio, the minimum ratio, the area average, the maximum press surface
Product value and the minimum pressing area value, are calculated the target pressure range.
Sub-step B5: based on the maximum ratio, the minimum ratio, the pressure mean values, the maximum press surface
Product value and the minimum pressing area value, are calculated the target area range.
Obtaining above-mentioned maximum ratio, minimum ratio, area average, maximum pressing area, minimum pressing area and pressure
After power average value, target pressure range and target area range, specifically, Ke Yiru can be calculated in conjunction with following formula
Shown in following formula (1) and formula (2):
Gx=[Bmin*z+Amax, Bmax*z+Amin] (1)
Zx=[g/Bmax+Amin, g/Bmin+Amax] (2)
In above-mentioned formula (1) and (2), gx indicates that target pressure range, zx indicate target area range, and Bmax indicates multiple
Maximum ratio in multiple pressing area ratios corresponding to pressing operation, Bmin indicate multiple corresponding to multiple pressing operation
The minimum ratio in area ratio is pressed, Amax indicates the maximum in multiple initial press areas corresponding to multiple pressing operation
Area value is pressed, Amin indicates the minimum pressing area value in multiple initial press areas corresponding to multiple pressing operation, g table
Show the pressure mean values of the corresponding multiple press pressure values of multiple pressing operation, z indicates that the area of multiple target pressing areas is flat
Mean value.
In above process, the corresponding multiple initial press areas of the multiple pressing operation acquired, multiple pressings pressure
After force value and multiple targets pressing area, minimum and maximum data can be rejected from these data, or use normal state
Bmin, Bmax, Amin, Amax, z and g in above-mentioned formula is calculated in the form of distribution, the data for obtaining intermediate region,
Specifically, can according to the actual situation depending on, the embodiments of the present invention are not limited thereto.
It is to be appreciated that above preferred embodiment is merely to more fully understanding the technical solution of the embodiment of the present invention and arranging
A kind of preferred embodiment lifted, and not as the sole limitation to the embodiment of the present invention.
Area is being pressed based on multiple initial press areas, multiple press pressure values and multiple targets, is determining target area
After range and target pressure range, step 205 is executed.
Step 205: when receiving the touch operation for the screen of the mobile terminal, obtaining the touch operation and exist
Locating touch area on the screen.
Step 206: in the case where the touch area is located in the corresponding target area of goal pressure key, obtaining institute
State the corresponding touch pressure value of touch operation and the corresponding touch area of the touch operation;The target area is triggering institute
State the region of the correspondence event of goal pressure key.
Step 207: being greater than the largest face product value in the target area range in the touch area, and the touch is pressed
In the case that force value is less than the minimum pressure values in the target pressure range, determine that the goal pressure key has damaged;Or
Step 208: being less than the minimal face product value in the target area range in the touch area, and the touch is pressed
In the case that force value is greater than the maximum pressure value in the target pressure range, determine that the sensitivity of the goal pressure key is big
In the threshold of sensitivity.
It is to be appreciated that step 101 in the specific embodiment of 205~step 208 of above-mentioned steps and above-described embodiment one
The specific embodiment of~step 104 is similar, and the embodiment of the present invention is not repeated here herein.
Step 209: being in the target area range in the touch area, and the touch pressure value is in the mesh
In the case where marking in pressure limit, determine that the goal pressure key is in normal condition.
After obtaining the corresponding touch pressure value of touch operation and touching area, whether touch pressure value can also be judged
In target pressure range, and touch whether area is within the scope of target area.
In the case where touch area is in target area range and touch pressure value is in target pressure range, i.e.,
In the case that the two is within the scope of two simultaneously, indicate that goal pressure key is in normal condition, i.e. goal pressure key not
It is abnormal.
The embodiment of the present invention can accurately learn that goal pressure key is by the judgement of touch area and touch pressure value
It is no normal, the perception of user can be improved.
Pressure buttons detection method provided in an embodiment of the present invention, in addition to having the pressure buttons of the offer of above-described embodiment one
Outside the beneficial effect that detection method has, phase can also be generated in the case where pressure buttons have damaged or sensitivity is excessively high
The prompt information answered, to prompt user to replace pressure buttons sensor module or adjustment lateral pressure keystroke sensitivity in time.
Embodiment three
Referring to Fig. 3, a kind of structural schematic diagram of pressure buttons detection device provided in an embodiment of the present invention, the pressure are shown
Power key detection device can be applied to mobile terminal, can specifically include following module:
It touches area and obtains module 301, for obtaining when receiving the touch operation for the screen of the mobile terminal
Take touch area locating for the touch operation on the screen;
Touch pressure obtains module 302, for being located at the corresponding target area of goal pressure key in the touch area
In the case where interior, the corresponding touch pressure value of the touch operation and the corresponding touch area of the touch operation are obtained;
Key damages determining module 303, for being greater than the largest face in the target area range in the touch area
Product value, and the touch pressure value be less than the target pressure range in minimum pressure values in the case where, determine the target
Pressure buttons have damaged;Or
Sensitivity exception determining module 304, for being less than the minimum in the target area range in the touch area
Area value, and the touch pressure value be greater than the target pressure range in maximum pressure value in the case where, determine the mesh
The sensitivity for marking pressure buttons is greater than the threshold of sensitivity.
Pressure buttons detection device provided in an embodiment of the present invention, by the touching for receiving the screen for mobile terminal
When touching operation, touch area locating for touch operation on the screen is obtained, it is corresponding to be located at goal pressure key in touch area
In the case where in target area, the corresponding touch pressure value of touch operation and the corresponding touch area of touch operation are obtained, is being touched
Area is touched greater than the largest face product value in target area range, and touch pressure value is less than the minimum pressure in target pressure range
In the case where value, determine that goal pressure key has damaged;Area is being touched less than the minimal face product value in target area range, and
In the case that touch pressure value is greater than the maximum pressure value in target pressure range, determine that the sensitivity of goal pressure key is greater than
The threshold of sensitivity.The embodiment of the present invention determines whether pressure buttons are abnormal by combining touch pressure value and touching area, can be with
Achieve the purpose that whether anticipation or detection pressure buttons damage, reminds the user that replacement pressure sensor in time.
Example IV
Referring to Fig. 4, a kind of structural schematic diagram of pressure buttons detection device provided in an embodiment of the present invention, the pressure are shown
Power key detection device can be applied to mobile terminal, can specifically include following module:
Pressing operation obtains module 401, for obtaining the multiple pressing operation for being directed to the target area;
Initial area obtains module 402, for obtaining the corresponding initial press area of the pressing operation every time;It is described first
Begin to press area to be the pressing area when pressing operation contacts the target area and do not generate pressure value;
Pressure area obtains module 403, for obtaining pressing when each pressing operation triggers the corresponding event
Pressure pressure value and the corresponding target of the pressing operation press area;
Target zone determining module 404, for based on multiple initial press areas, multiple press pressure values and
Multiple targets press area, determine the threshold area range and the threshold pressure range;
It touches area and obtains module 405, for obtaining when receiving the touch operation for the screen of the mobile terminal
Take touch area locating for the touch operation on the screen;
Touch pressure obtains module 406, for being located at the corresponding target area of goal pressure key in the touch area
In the case where interior, the corresponding touch pressure value of the touch operation and the corresponding touch area of the touch operation are obtained;
Key damages determining module 407, for being greater than the largest face in the target area range in the touch area
Product value, and the touch pressure value be less than the target pressure range in minimum pressure values in the case where, determine the target
Pressure buttons have damaged;Or
Sensitivity exception determining module 408, for being less than the minimum in the target area range in the touch area
Area value, and the touch pressure value be greater than the target pressure range in maximum pressure value in the case where, determine the mesh
The sensitivity for marking pressure buttons is greater than the threshold of sensitivity;
The normal determining module 409 of key, for being in the target area range, and the touch in the touch area
In the case that pressure value is in the target pressure range, determine that the goal pressure key is in normal condition.
Preferably, the target zone determining module 404 includes:
Ratio calculation submodule, for according to multiple target pressing areas and multiple initial press areas, meter
Calculation obtains multiple pressing area ratios;
Range computation submodule, for calculating according to multiple press pressure values and multiple pressing area ratios
Obtain the threshold area range and the threshold pressure range.
Preferably, the range computation submodule includes:
Ratio acquisition submodule, for obtaining maximum ratio and minimum ratio in multiple pressing area ratios;
Area value acquisition submodule, for obtaining maximum pressing area value and minimum in multiple initial press areas
Press area value;
Mean value calculation submodule, for the corresponding pressure mean values of multiple press pressure values to be calculated, and it is more
The area average of a target pressing area;
Pressure limit computational submodule, for based on the maximum ratio, the minimum ratio, the area average,
The maximum pressing area value and the minimum pressing area value, are calculated the target pressure range;
Areal extent computational submodule, for based on the maximum ratio, the minimum ratio, the pressure mean values,
The maximum pressing area value and the minimum pressing area value, are calculated the target area range.
Pressure buttons detection device provided in an embodiment of the present invention, in addition to having the pressure buttons of the offer of above-described embodiment three
Outside the beneficial effect that detection device has, phase can also be generated in the case where pressure buttons have damaged or sensitivity is excessively high
The prompt information answered, to prompt user to replace pressure buttons sensor module or adjustment lateral pressure keystroke sensitivity in time.
Embodiment five
Referring to Fig. 5, the hardware structural diagram of a kind of mobile terminal of each embodiment to realize the present invention.
The mobile terminal 500 includes but is not limited to: radio frequency unit 501, network module 502, audio output unit 503, defeated
Enter unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processor
The components such as 510 and power supply 511.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 5 is not constituted
Restriction to mobile terminal, mobile terminal may include than illustrating more or fewer components, perhaps combine certain components or
Different component layouts.In embodiments of the present invention, mobile terminal include but is not limited to mobile phone, tablet computer, laptop,
Palm PC, car-mounted terminal, wearable device and pedometer etc..
Processor 510, for obtaining the touch when receiving the touch operation for the screen of the mobile terminal
Touch area locating for operation on the screen;It is located in the corresponding target area of goal pressure key in the touch area
In the case where, obtain the corresponding touch pressure value of the touch operation and the corresponding touch area of the touch operation;Described
The largest face product value that area is greater than in the target area range is touched, and the touch pressure value is less than the goal pressure model
In the case where the minimum pressure values enclosed, determine that the goal pressure key has damaged;Or it is less than in the touch area described
Minimal face product value in target area range, and the touch pressure value is greater than the maximum pressure value in the target pressure range
In the case where, determine that the sensitivity of the goal pressure key is greater than the threshold of sensitivity.
In embodiments of the present invention, by obtaining and touching when receiving the touch operation for the screen of mobile terminal
Touch area locating for operation on the screen, is located at the situation in the corresponding target area of goal pressure key in touch area
Under, the corresponding touch pressure value of touch operation and the corresponding touch area of touch operation are obtained, is greater than target face touching area
Product range in largest face product value, and touch pressure value be less than target pressure range in minimum pressure values in the case where, determine
Goal pressure key has damaged;Area is being touched less than the minimal face product value in target area range, and touch pressure value is greater than
In the case where maximum pressure value in target pressure range, determine that the sensitivity of goal pressure key is greater than the threshold of sensitivity.This
Inventive embodiments determine whether pressure buttons are abnormal, can achieve anticipation or detection by combining touch pressure value and touching area
The purpose whether pressure buttons damage reminds the user that replacement pressure sensor in time.
It should be understood that the embodiment of the present invention in, radio frequency unit 501 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 510 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 501 includes but is not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 501 can also by wireless communication system and network and other set
Standby communication.
Mobile terminal provides wireless broadband internet by network module 502 for user and accesses, and such as user is helped to receive
It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 503 can be received by radio frequency unit 501 or network module 502 or in memory 509
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 503 can also be provided and be moved
The relevant audio output of specific function that dynamic terminal 500 executes is (for example, call signal receives sound, message sink sound etc.
Deng).Audio output unit 503 includes loudspeaker, buzzer and receiver etc..
Input unit 504 is for receiving audio or video signal.Input unit 504 may include graphics processor
(Graphics Processing Unit, GPU) 5041 and microphone 5042, graphics processor 5041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 506.Through graphics processor 5041, treated that picture frame can be deposited
Storage is sent in memory 509 (or other storage mediums) or via radio frequency unit 501 or network module 502.Mike
Wind 5042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be
The format output that mobile communication base station can be sent to via radio frequency unit 501 is converted in the case where telephone calling model.
Mobile terminal 500 further includes at least one sensor 505, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 5061, and proximity sensor can close when mobile terminal 500 is moved in one's ear
Display panel 5061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify mobile terminal posture (ratio
Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes
Sensor 505 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet
Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 506 is for showing information input by user or being supplied to the information of user.Display unit 506 can wrap
Display panel 5061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 5061.
User input unit 507 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family setting and the related key signals input of function control.Specifically, user input unit 507 include touch panel 5071 and
Other input equipments 5072.Touch panel 5071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 5071 or in touch panel 5071
Neighbouring operation).Touch panel 5071 may include both touch detecting apparatus and touch controller.Wherein, touch detection
Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control
Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 510, receiving area
It manages the order that device 510 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Seed type realizes touch panel 5071.In addition to touch panel 5071, user input unit 507 can also include other input equipments
5072.Specifically, other input equipments 5072 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 5071 can be covered on display panel 5061, when touch panel 5071 is detected at it
On or near touch operation after, send processor 510 to determine the type of touch event, be followed by subsequent processing device 510 according to touching
The type for touching event provides corresponding visual output on display panel 5061.Although in Fig. 5, touch panel 5071 and display
Panel 5061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodiments
In, can be integrated by touch panel 5071 and display panel 5061 and realize the function that outputs and inputs of mobile terminal, it is specific this
Place is without limitation.
Interface unit 508 is the interface that external device (ED) is connect with mobile terminal 500.For example, external device (ED) may include having
Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end
Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module
Mouthful etc..Interface unit 508 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and
By one or more elements that the input received is transferred in mobile terminal 500 or can be used in 500 He of mobile terminal
Data are transmitted between external device (ED).
Memory 509 can be used for storing software program and various data.Memory 509 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 509 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 510 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 509, and calls and is stored in storage
Data in device 509 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place
Managing device 510 may include one or more processing units;Preferably, processor 510 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 510.
Mobile terminal 500 can also include the power supply 511 (such as battery) powered to all parts, it is preferred that power supply 511
Can be logically contiguous by power-supply management system and processor 510, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
In addition, mobile terminal 500 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 510, and memory 509 is stored in
On memory 509 and the computer program that can run on the processor 510, the computer program are executed by processor 510
Each process of the above-mentioned pressure buttons detection method embodiment of Shi Shixian, and identical technical effect can be reached, to avoid repeating,
Which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the computer program realize each process of above-mentioned pressure buttons detection method embodiment when being executed by processor,
And identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium,
Such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, letter
Claim RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form belongs within protection of the invention.
Claims (11)
1. a kind of pressure buttons detection method is applied to mobile terminal characterized by comprising
When receiving the touch operation for the screen of the mobile terminal, touch operation institute on the screen is obtained
The touch area at place;
In the case where the touch area is located in the corresponding target area of goal pressure key, the touch operation pair is obtained
The corresponding touch area of touch pressure value and the touch operation answered;
It is greater than the largest face product value in the target area range in the touch area, and the touch pressure value is less than described
In the case where minimum pressure values in target pressure range, determine that the goal pressure key has damaged;Or
It is less than the minimal face product value in the target area range in the touch area, and the touch pressure value is greater than described
In the case where maximum pressure value in target pressure range, determine that the sensitivity of the goal pressure key is greater than the threshold of sensitivity
Value.
2. the method according to claim 1, wherein obtaining touch operation institute on the screen described
Before the step of touch area at place, further includes:
Obtain the multiple pressing operation for being directed to the target area;
Obtain the corresponding initial press area of the pressing operation every time;The initial press area is pressing operation contact
The target area and pressing area when not generating pressure value;
Obtain press pressure value when each pressing operation triggers the correspondence event of the goal pressure key and described
The corresponding target of pressing operation presses area;
Area is pressed based on multiple initial press areas, multiple press pressure values and multiple targets, determines institute
State target area range and the target pressure range.
3. according to the method described in claim 2, it is characterized in that, described be based on multiple initial press areas, Duo Gesuo
Press pressure value and multiple target pressing areas are stated, determines the step of the target area range and the target pressure range
Suddenly, comprising:
According to multiple target pressing areas and multiple initial press areas, multiple pressing area ratios are calculated;
According to multiple press pressure values and multiple pressing area ratios, the target area range and institute is calculated
State target pressure range.
4. according to the method described in claim 3, it is characterized in that, described according to multiple press pressure values and multiple described
The step of pressing area ratio, the target area range and the target pressure range be calculated, comprising:
Obtain the maximum ratio and minimum ratio in multiple pressing area ratios;
Obtain the maximum pressing area value and minimum pressing area value in multiple initial press areas;
The area that the corresponding pressure mean values of multiple press pressure values and multiple target pressing areas are calculated is flat
Mean value;
Based on the maximum ratio, the minimum ratio, the area average, the maximum pressing area value and the minimum
Area value is pressed, the target pressure range is calculated;
Based on the maximum ratio, the minimum ratio, the pressure mean values, the maximum pressing area value and the minimum
Area value is pressed, the target area range is calculated.
5. the method according to claim 1, wherein obtaining the corresponding touch pressure of the touch operation described
After the step of value and the touch operation corresponding touch area, further includes:
It is in the target area range in the touch area, and the touch pressure value is in the target pressure range
In the case where, determine that the goal pressure key is in normal condition.
6. a kind of pressure buttons detection device is applied to mobile terminal characterized by comprising
Touch area obtains module, for when receiving the touch operation for the screen of the mobile terminal, described in acquisition
Touch area locating for touch operation on the screen;
Touch pressure obtains module, the situation for being located in the corresponding target area of goal pressure key in the touch area
Under, obtain the corresponding touch pressure value of the touch operation and the corresponding touch area of the touch operation;
Key damages determining module, for being greater than the largest face product value in the target area range in the touch area, and
In the case that the touch pressure value is less than the minimum pressure values in the target pressure range, the goal pressure key is determined
It has damaged;Or
Sensitivity exception determining module, for being less than the minimal face product value in the target area range in the touch area,
And the touch pressure value be greater than the target pressure range in maximum pressure value in the case where, determine the goal pressure by
The sensitivity of key is greater than the threshold of sensitivity.
7. device according to claim 6, which is characterized in that further include:
Pressing operation obtains module, for obtaining the multiple pressing operation for being directed to the target area;
Initial area obtains module, for obtaining the corresponding initial press area of the pressing operation every time;The initial press
Area is the pressing area when pressing operation contacts the target area and do not generate pressure value;
Pressure area obtains module, triggers the correspondence event of the goal pressure key in each pressing operation for obtaining
When the corresponding target of press pressure value and the pressing operation press area;
Target zone determining module, for being based on multiple initial press areas, multiple press pressure values and multiple institutes
Target pressing area is stated, determines the target area range and the target pressure range.
8. device according to claim 7, which is characterized in that the target zone determining module includes:
Ratio calculation submodule, for calculating according to multiple target pressing areas and multiple initial press areas
To multiple pressing area ratios;
Range computation submodule, for being calculated according to multiple press pressure values and multiple pressing area ratios
The target area range and the target pressure range.
9. device according to claim 8, which is characterized in that the range computation submodule includes:
Ratio acquisition submodule, for obtaining maximum ratio and minimum ratio in multiple pressing area ratios;
Area value acquisition submodule, for obtaining maximum pressing area value and minimum pressing in multiple initial press areas
Area value;
Mean value calculation submodule, for the corresponding pressure mean values of multiple press pressure values and multiple institutes to be calculated
State the area average of target pressing area;
Pressure limit computational submodule, for based on the maximum ratio, minimum ratio, the area average, described
Maximum pressing area value and the minimum pressing area value, are calculated the target pressure range;
Areal extent computational submodule, for based on the maximum ratio, minimum ratio, the pressure mean values, described
Maximum pressing area value and the minimum pressing area value, are calculated the target area range.
10. device according to claim 6, which is characterized in that further include:
The normal determining module of key, for being in the target area range, and the touch pressure value in the touch area
In the case where in the target pressure range, determine that the goal pressure key is in normal condition.
11. a kind of mobile terminal, which is characterized in that including processor, memory and be stored on the memory and can be in institute
The computer program run on processor is stated, such as claim 1 to 5 is realized when the computer program is executed by the processor
Any one of described in pressure buttons detection method the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910681217.6A CN110471808B (en) | 2019-07-25 | 2019-07-25 | Pressure key detection method and device and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910681217.6A CN110471808B (en) | 2019-07-25 | 2019-07-25 | Pressure key detection method and device and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110471808A true CN110471808A (en) | 2019-11-19 |
CN110471808B CN110471808B (en) | 2023-12-29 |
Family
ID=68509299
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910681217.6A Active CN110471808B (en) | 2019-07-25 | 2019-07-25 | Pressure key detection method and device and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110471808B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111459323A (en) * | 2020-03-26 | 2020-07-28 | 维沃移动通信有限公司 | Manipulation method, electronic device, and medium |
CN113176836A (en) * | 2021-05-25 | 2021-07-27 | 安徽华森九源光电科技有限公司 | Film key pressure detection method |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102047009A (en) * | 2008-05-27 | 2011-05-04 | 伊顿公司 | Method and apparatus for detecting and compensating for pressure transducer errors |
JP2013239070A (en) * | 2012-05-16 | 2013-11-28 | Fujitsu Ten Ltd | Touch panel device, method for detecting contact position, and program |
CN105571777A (en) * | 2015-12-23 | 2016-05-11 | 努比亚技术有限公司 | Sensitivity calibration method and device, and mobile terminal |
CN106293213A (en) * | 2016-08-01 | 2017-01-04 | 联想(北京)有限公司 | A kind of method adjusting pressure sensitive sensitivity and electronic equipment |
CN106484176A (en) * | 2015-08-31 | 2017-03-08 | 希迪普公司 | Pressure detector and the touch input device containing which of pressure-sensitivity can be adjusted |
WO2017128584A1 (en) * | 2016-01-27 | 2017-08-03 | 中兴通讯股份有限公司 | Method and apparatus for identifying type of pressure on pressure screen |
WO2018000297A1 (en) * | 2016-06-30 | 2018-01-04 | 华为技术有限公司 | Touch response method and apparatus for use in touch panel and terminal thereof |
WO2018124583A1 (en) * | 2016-12-26 | 2018-07-05 | 주식회사 하이딥 | Method for compensating for touch pressure sensitivity of touch input device and computer-readable recording medium |
CN109828688A (en) * | 2019-01-23 | 2019-05-31 | 努比亚技术有限公司 | Screen damage processing method, mobile terminal and computer readable storage medium |
WO2019135548A1 (en) * | 2018-01-02 | 2019-07-11 | 삼성전자 주식회사 | Method for compensating for pressure value of force sensor and electronic device using same |
-
2019
- 2019-07-25 CN CN201910681217.6A patent/CN110471808B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102047009A (en) * | 2008-05-27 | 2011-05-04 | 伊顿公司 | Method and apparatus for detecting and compensating for pressure transducer errors |
JP2013239070A (en) * | 2012-05-16 | 2013-11-28 | Fujitsu Ten Ltd | Touch panel device, method for detecting contact position, and program |
CN106484176A (en) * | 2015-08-31 | 2017-03-08 | 希迪普公司 | Pressure detector and the touch input device containing which of pressure-sensitivity can be adjusted |
CN105571777A (en) * | 2015-12-23 | 2016-05-11 | 努比亚技术有限公司 | Sensitivity calibration method and device, and mobile terminal |
WO2017128584A1 (en) * | 2016-01-27 | 2017-08-03 | 中兴通讯股份有限公司 | Method and apparatus for identifying type of pressure on pressure screen |
WO2018000297A1 (en) * | 2016-06-30 | 2018-01-04 | 华为技术有限公司 | Touch response method and apparatus for use in touch panel and terminal thereof |
CN106293213A (en) * | 2016-08-01 | 2017-01-04 | 联想(北京)有限公司 | A kind of method adjusting pressure sensitive sensitivity and electronic equipment |
WO2018124583A1 (en) * | 2016-12-26 | 2018-07-05 | 주식회사 하이딥 | Method for compensating for touch pressure sensitivity of touch input device and computer-readable recording medium |
WO2019135548A1 (en) * | 2018-01-02 | 2019-07-11 | 삼성전자 주식회사 | Method for compensating for pressure value of force sensor and electronic device using same |
CN109828688A (en) * | 2019-01-23 | 2019-05-31 | 努比亚技术有限公司 | Screen damage processing method, mobile terminal and computer readable storage medium |
Non-Patent Citations (2)
Title |
---|
SI-YU SHAO;WEN-JUN SUN;RU-QIANG YAN;PENG WANG;ROBERT X GAO;: "A Deep Learning Approach for Fault Diagnosis of Induction Motors in Manufacturing", CHINESE JOURNAL OF MECHANICAL ENGINEERING, no. 06 * |
江秀红;段富海;曹阳;: "WinCE下的触摸屏驱动设计与触摸压力判定", 测控技术, no. 06 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111459323A (en) * | 2020-03-26 | 2020-07-28 | 维沃移动通信有限公司 | Manipulation method, electronic device, and medium |
CN113176836A (en) * | 2021-05-25 | 2021-07-27 | 安徽华森九源光电科技有限公司 | Film key pressure detection method |
CN113176836B (en) * | 2021-05-25 | 2024-08-02 | 安徽华森九源光电科技有限公司 | Film key pressure detection method |
Also Published As
Publication number | Publication date |
---|---|
CN110471808B (en) | 2023-12-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108491123A (en) | A kind of adjusting application program image target method and mobile terminal | |
CN107911445A (en) | A kind of information push method, mobile terminal and storage medium | |
CN108227996A (en) | A kind of display control method and mobile terminal | |
CN108319390A (en) | A kind of control method and mobile terminal of flexible screen | |
CN109788136A (en) | Information display method and mobile terminal | |
CN110413172A (en) | A kind of key indicating means and electronic equipment | |
CN109871174A (en) | A kind of virtual key display methods and mobile terminal | |
CN108509141A (en) | A kind of generation method and mobile terminal of control | |
CN108762869A (en) | A kind of information processing method and mobile terminal | |
CN110018805A (en) | A kind of display control method and mobile terminal | |
CN109885153A (en) | A kind of screen control method and mobile terminal | |
CN108196815A (en) | A kind of adjusting method and mobile terminal of sound of conversing | |
CN110471559A (en) | A kind of false-touch prevention method and mobile terminal | |
CN110138963A (en) | A kind of message treatment method and mobile terminal | |
CN109542572A (en) | A kind of interface display method and mobile terminal | |
CN108388400A (en) | A kind of operation processing method and mobile terminal | |
CN110471808A (en) | A kind of pressure buttons detection method, device and mobile terminal | |
CN108540642A (en) | The operating method and mobile terminal of mobile terminal | |
CN108632535A (en) | A kind of image processing method and mobile terminal | |
CN108718360A (en) | A kind of charging method and mobile terminal | |
CN109164908A (en) | A kind of interface control method and mobile terminal | |
CN108650392A (en) | A kind of call recording method and mobile terminal | |
CN108170310A (en) | A kind of touch screen control method and mobile terminal | |
CN108363914A (en) | Unlocked by fingerprint control method and device | |
CN109327605A (en) | A kind of display control method, device and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TG01 | Patent term adjustment |