CN109240531A - Sampling compensation method, device, mobile terminal and the storage medium of touch data - Google Patents
Sampling compensation method, device, mobile terminal and the storage medium of touch data Download PDFInfo
- Publication number
- CN109240531A CN109240531A CN201810778147.1A CN201810778147A CN109240531A CN 109240531 A CN109240531 A CN 109240531A CN 201810778147 A CN201810778147 A CN 201810778147A CN 109240531 A CN109240531 A CN 109240531A
- Authority
- CN
- China
- Prior art keywords
- point
- sampled
- touch
- sampling
- sample reference
- 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
Classifications
-
- 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/0416—Control or interface arrangements specially adapted for digitisers
- G06F3/0418—Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Position Input By Displaying (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention provides sampling compensation method, device, mobile terminal and the storage mediums of touch data, include multiple sampled points in the touch data this method comprises: acquiring touch data;Sampled point of the selection in report point critical range, as sample reference point;The sampled targets point that touch-control triggers under non-holding state is identified according to the sampled point adjacent with the sample reference point;Sampling compensation is carried out to the sampled targets point.The sampled targets point that touch-control triggers under non-holding state is identified by sample reference point and adjacent sampled point combination, accuracy is high, sampling compensation is carried out after identifying sampled targets point, improve the accuracy rate that touch is identified under non-holding state, to improve the accuracy rate of report point, it is executed under non-holding state and refers to touch more, the probability for failing to report touch point is reduced, to reduce the probability of maloperation.
Description
Technical field
The present invention relates to the technical fields of communication, eventually more particularly to the sampling compensation method of touch data, device, movement
End and storage medium.
Background technique
With the development of science and technology, the mobile terminals such as mobile phone, tablet computer, in the work of people, study, daily exchange
Etc. various aspects utilization rate it is also higher and higher.
Currently, mobile terminal uses touch screen more, touch control operation is supported, in non-holding state, if user is by mobile terminal
It is put into desktop, the sampling changing value of touch screen is lower, is easy to determine not touch, i.e., does not report touch point.
Refer to that touching is one of common function of touch screen, that is, supports multiple fingers while touching, under non-holding state more
It executes and refers to touch more, be easy to fail to report touch point, to cause maloperation.
Summary of the invention
The embodiment of the present invention proposes sampling compensation method, device, mobile terminal and the storage medium of a kind of touch data,
It is easy to fail to report touch point to execute under solution by no means holding state, thus the problem of causing maloperation.
According to one aspect of the present invention, a kind of sampling compensation method of touch data is provided, comprising:
Touch data is acquired, includes multiple sampled points in the touch data;
Sampled point of the selection in report point critical range, as sample reference point;
The sampled targets that touch-control triggers under non-holding state are identified according to the sampled point adjacent with the sample reference point
Point;
Sampling compensation is carried out to the sampled targets point.
Optionally, the sampled point of the selection in report point critical range, as sample reference point, comprising:
It takes the first ratio, the second ratio respectively on the basis of preset change threshold, obtains critical report point lower limit value, faces
Boundary's report point upper limit value, wherein for first ratio less than 1, second ratio is greater than 1;
If the sampling changing value of the sampled point be located at the critical report point lower limit value and the critical report point upper limit value it
Between, then sample reference point is set by the sampled point.
Optionally, the basis sampled point adjacent with the sample reference point identifies that touch-control triggers under non-holding state
Sampled targets point, comprising:
Determine the sampled point adjacent with the sample reference point;
Judge the sampling amplitude of variation between the sample reference point and the adjacent sampled point whether in preset width
It spends in range;
If so, determining the sampled targets point that touch-control triggers under non-holding state by the sample reference point.
Optionally, the adjacent sampled point includes sampled point adjacent in the first range, adjacent in the second range adopts
Sampling point, first range are less than second range;
Whether the sampling amplitude of variation judged between the sample reference point and the adjacent sampled point is default
Amplitude range in, comprising:
Third ratio, the 4th ratio are taken on the basis of the sampling changing value of the sample reference point, obtain the first variation
Threshold value, the second change threshold;
In second range in adjacent sampled point, statistic sampling changing value is greater than adopting for second change threshold
The quantity of sampling point;
Judge whether sampled point adjacent in first range is greater than or equal to first change threshold, also, institute
Quantity is stated more than or equal to preset amount threshold;
If so, the sampling amplitude of variation between the determining sample reference point and the adjacent sampled point is preset
In amplitude range.
Optionally, the sampled targets point for determining that touch-control is triggered under non-holding state by the sample reference point,
Include:
Third range is determined using the sample reference point as benchmark;
By the sampled point within the scope of the third labeled as the sampled targets point that touch-control triggers under non-holding state.
It is optionally, described that sampling compensation is carried out to the sampled targets point, comprising:
5th ratio is taken to the sampling changing value of the sampled targets point, obtains and samples compensated sampling changing value.
According to another aspect of the present invention, a kind of sampling compensation device of touch data is provided, comprising:
Touch data acquisition module includes multiple sampled points in the touch data for acquiring touch data;
Sample reference point selection module, for selecting the sampled point in report point critical range, as sample reference point;
Sampled targets point identification module, for being identified according to the sampled point adjacent with the sample reference point in non-holding shape
The sampled targets point that touch-control triggers under state;
Compensating module is sampled, for carrying out sampling compensation to the sampled targets point.
Optionally, the sample reference point selection module includes:
Critical report point value computational submodule, for taking the first ratio, second respectively on the basis of preset change threshold
Ratio obtains critical report point lower limit value, critical report point upper limit value, wherein for first ratio less than 1, second ratio is big
In 1;
Submodule is arranged in sample reference point, if the sampling changing value for the sampled point is located at the critical report point lower limit
Between value and the critical report point upper limit value, then sample reference point is set by the sampled point.
Optionally, the sampled targets point identification module includes:
Neighbouring sample point determines submodule, for determining the sampled point adjacent with the sample reference point;
Amplitude of variation judging submodule is sampled, for judging between the sample reference point and the adjacent sampled point
Amplitude of variation is sampled whether in preset amplitude range;If so, sampled targets point is called to determine submodule;
Sampled targets point determines submodule, for determining that touch-control triggers under non-holding state by the sample reference point
Sampled targets point.
Optionally, the adjacent sampled point includes sampled point adjacent in the first range, adjacent in the second range adopts
Sampling point, first range are less than second range;
The sampling amplitude of variation judging submodule includes:
Change threshold computing unit, for taken on the basis of the sampling changing value of the sample reference point third ratio,
4th ratio obtains the first change threshold, the second change threshold;
Quantity statistics unit, in adjacent sampled point in second range, statistic sampling changing value to be greater than institute
State the quantity of the sampled point of the second change threshold;
Whether condition judgment unit, the sampled point for judging adjacent in first range are greater than or equal to described first
Change threshold, also, the quantity is greater than or equal to preset amount threshold;If so, calling variation determination unit;
Change determination unit, for determining that the sampling between the sample reference point and the adjacent sampled point changes width
Degree is in preset amplitude range.
Optionally, the sampled targets point determines that submodule includes:
Range determination unit, for determining third range using the sample reference point as benchmark;
Range flags unit is triggered for the sampled point within the scope of the third to be labeled as the touch-control under non-holding state
Sampled targets point.
Optionally, the sampling compensating module includes:
Ratio value submodule takes the 5th ratio for the sampling changing value to the sampled targets point, obtains sampling and mends
Sampling changing value after repaying.
According to another aspect of the present invention, it 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 sampling compensation method of the existing touch data.
According to another aspect of the present invention, a kind of computer readable storage medium, the computer-readable storage are provided
Computer program is stored on medium, and the sampling compensation of the touch data is realized when the computer program is executed by processor
The step of method.
The embodiment of the present invention includes following advantages:
In embodiments of the present invention, touch data is acquired, includes multiple sampled points in touch data, selection is faced in report point
The sampled point of boundary's range, as sample reference point, according to the sampled point identification sample reference point adjacent with sample reference point be
The sampled targets point that touch-control triggers under non-holding state carries out sampling compensation to sampled point using sampled targets point as benchmark, leads to
Over-sampling reference point and the combination of adjacent sampled point identify the sampled targets point that touch-control triggers under non-holding state, accuracy
Height carries out sampling compensation after identifying sampled targets point, and raising identifies the accuracy rate of touch under non-holding state, to mention
The accuracy rate of height report point executes mostly finger under non-holding state and touches, the probability for failing to report touch point reduced, to reduce maloperation
Probability.
Detailed description of the invention
Fig. 1 is a kind of step flow chart of the sampling compensation method of touch data of one embodiment of the invention;
Fig. 2 is the step flow chart of the sampling compensation method of another touch data of one embodiment of the invention;
Fig. 3 A to Fig. 3 D is a kind of exemplary diagram of touch data of one embodiment of the invention;
Fig. 4 is a kind of structural block diagram of the sampling compensation device of touch data of one embodiment of the invention;
A kind of hardware structural diagram of Fig. 5 mobile terminal of each embodiment to realize the present invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real
Applying mode, the present invention is described in further detail.
Referring to Fig.1, a kind of step process of the sampling compensation method of touch data of one embodiment of the invention is shown
Figure, can specifically include following steps:
Step 101, touch data is acquired.
In the concrete realization, the embodiment of the present invention can be using in the terminal, for example, mobile phone, tablet computer, can wear
Wear equipment (such as VR (Virtual Reality, virtual reality) glasses, the VR helmet, smartwatch) etc., the embodiment of the present invention pair
This is without restriction.
It is configured with touch screen, the induction type display device of input signal ready to receive in the terminal.
Touch screen is distinguished from technical principle, can be divided including vector pressure sensing touch screen, electric resistance touch screen, capacitance touch
Screen, infrared touch panel, surface acoustic wave touch screen, etc..
In touch screen operation, multiframe touch data is acquired, wherein there are multiple sampled points in touch data, each adopt
There is sampling changing value in sampling point.
Embodiment in order to enable those skilled in the art to better understand the present invention in the present specification makees capacitance touch screen
It is illustrated for a kind of example of touch screen.
For capacitance touch screen, sampling changing value is diff, i.e. capacitance variations value.
Step 102, sampled point of the selection in report point critical range, as sample reference point.
In the concrete realization, for different touch screens, a corresponding report point threshold value can be set, using the report point threshold value as
Neighbouring range is determined as reporting point critical range by benchmark.
In a frame touch data, in the sampled point reported within the scope of point critical, sampling changing value is lower, it may be possible to
Under non-holding state touch-control touch and the sampled point that detects, then can choose as sample reference point, further to be identified.
Step 103, the touch-control triggering under non-holding state is identified according to the sampled point adjacent with the sample reference point
Sampled targets point.
In a frame touch data, using the sampling changing value of sample reference point as references object, compares other and adjacent adopt
The sampling changing value of sampling point, if the amplitude of variation of sampling changing value is smaller, it may be considered that sample reference point and surrounding
Sampled point is the sampled targets point that touch-control triggers under non-holding state.
Step 104, sampling compensation is carried out to the sampled targets point.
If it is determined that sampled targets points, then to sampled point can carry out sampling compensation based on sampled targets point, that is, improve and adopt
The sampling changing value of sampling point.
It should be noted that can directly carry out sampling compensation to every frame touch data for the touch data detected
(i.e. step 102- step 104) also can decide whether to meet preset condition, such as whether static, (i.e. acceleration is less than one
Lesser threshold value, close to 0), if meeting the condition, at this time, it is possible to non-holding state occur, then carry out sampling compensation and (walk
Rapid 102- step 104), etc., the embodiments of the present invention are not limited thereto.
In embodiments of the present invention, touch data is acquired, includes multiple sampled points in touch data, selection is faced in report point
The sampled point of boundary's range, as sample reference point, according to the sampled point identification sample reference point adjacent with sample reference point be
The sampled targets point that touch-control triggers under non-holding state carries out sampling compensation to sampled point using sampled targets point as benchmark, leads to
Over-sampling reference point and the combination of adjacent sampled point identify the sampled targets point that touch-control triggers under non-holding state, accuracy
Height carries out sampling compensation after identifying sampled targets point, and raising identifies the accuracy rate of touch under non-holding state, to mention
The accuracy rate of height report point executes mostly finger under non-holding state and touches, the probability for failing to report touch point reduced, to reduce maloperation
Probability.
Referring to Fig. 2, the step of showing the sampling compensation method of another touch data of one embodiment of the invention stream
Cheng Tu can specifically include following steps:
Step 201, touch data is acquired.
It wherein, include multiple sampled points in touch data.
Referring to Fig. 3 A to Fig. 3 D, a kind of exemplary diagram of touch data of one embodiment of the invention is shown.
In Fig. 3 A to Fig. 3 D, each numerical value is the position represented where collection point, also represents the collection point
Diff (sampling changing value).
The touch-control that Fig. 3 A holds mobile terminal by one hand of user, another hand is triggered with 3 finger touching touch screens
Data, the diff (i.e. boxed area in Fig. 3 A) of the collection point touched by user's finger, maximum value all 600 or more, count
It is larger according to the amplitude of variation.
Fig. 3 B- Fig. 3 D is that mobile phone prevents from pondering in plastics, and a hand uses 4,3,2 finger touching touch screen institutes respectively
The touch data of triggering, the diff (i.e. boxed area in Fig. 3 B- Fig. 3 D) of the collection point touched by user's finger, maximum value
Substantially 200 hereinafter, the amplitude of data variation is smaller.
Step 202, the first ratio, the second ratio are taken respectively on the basis of preset change threshold, obtains critical report point
Lower limit value, critical report point upper limit value.
Step 203, if the sampling changing value of the sampled point is located at the critical report point lower limit value and the critical report point
Between upper limit value, then sample reference point is set by the sampled point.
In embodiments of the present invention, the sampling changing value of sample reference point be can be obtained into critical report multiplied by the first ratio
Point lower limit value.
By the sampling changing value of sample reference point multiplied by the second ratio, critical report point upper limit value can be obtained.
Wherein, the first ratio is greater than 1 less than 1, second ratio, and therefore, critical report point lower limit value is less than a report point threshold value, critical
Report point upper limit value is greater than report point threshold value, to form report point critical range.
Under normal circumstances, critical report point upper limit value is less than finger report point lower limit value.
The finger report point lower limit value is the characteristic for user's finger, by report point threshold value multiplied by a certain multiple number obtained
Value.
For example, setting sampled point as X, report point threshold value is Limit, and finger report point lower limit value is generally higher than 3*Limit, then first
Ratio is set as 0.7, and the second ratio is set as 2, and using diff as sampling changing value, then the sampling changing value of X is expressed as diff (X),
2*Limit < diff (X) < 0.7*Limit, then be defined as sample reference point for X.
By the sampling changing value of the sampled point in a frame touch data and critical report point lower limit value, critical report point upper limit value into
Row compares, and therefrom the sampling changing value between critical report point lower limit value and critical report point upper limit value, is set to sample
Central point.
Step 204, the sampled point adjacent with the sample reference point is determined.
Step 205, judge sampling amplitude of variation between the sample reference point and the adjacent sampled point whether
In preset amplitude range;If so, thening follow the steps 206.
In embodiments of the present invention, by a certain range of sampled point of distance samples reference point, referred to as adjacent sampling
Point.
For example, 0 sampled point of distance samples reference point, 1 sampled point of distance samples reference point, distance samples reference point 2
A sampled point etc., the embodiments of the present invention are not limited thereto.
The sampling changing value of sample reference point is compared with the sampling changing value of neighbouring sample point, obtains sampling variation
Amplitude.
If sampling amplitude of variation in the amplitude range of setting, indicate that sampling amplitude of variation is smaller, it is believed that this is adopted
Sample reference point is the sampled targets point that touch-control triggers under non-holding state.
In one embodiment of the invention, using sample reference point as benchmark, the first range, the second range are marked off,
The sampled point adjacent with sample reference point includes sampled point adjacent in the first range, sampled point adjacent in the second range.
Wherein, the first range is less than the second range.
In one example, the first range is as shown in the table:
* | ||
* | A | * |
* |
Second range is as shown in the table:
* | * | * |
* | A | * |
* | * | * |
Wherein, " A " represents sample reference point, and " * " represents adjacent sampled point.
In embodiments of the present invention, step 205 may include following sub-step:
Sub-step S11 takes third ratio, the 4th ratio on the basis of the sampling changing value of the sample reference point, obtains
Obtain the first change threshold, the second change threshold.
By the sampling changing value of sample reference point multiplied by third ratio, the first change threshold can be obtained.
By the sampling changing value of sample reference point multiplied by the 4th ratio, the second change threshold can be obtained.
Wherein, third ratio and the 4th ratio are respectively less than 1, also, third ratio, less than the 4th ratio, therefore, first becomes
Change threshold value less than the second change threshold.
Sub-step S12, in second range in adjacent sampled point, statistic sampling changing value is greater than described second and becomes
Change the quantity of the sampled point of threshold value.
Sub-step S13, judges whether sampled point adjacent in first range is greater than or equal to the first variation threshold
Value, also, the quantity is greater than or equal to preset amount threshold;If so, executing sub-step S14.
Sub-step S14 determines the sampling amplitude of variation between the sample reference point and the adjacent sampled point pre-
If amplitude range in.
If the sampling changing value of adjacent sampled point is greater than or equal in the first range around sample reference point A
First change threshold, also, in the second range around sample reference point A, sampling changing value is greater than or equal to the second variation
The quantity of threshold value, adjacent sampled point is greater than or equal to amount threshold, it may be considered that sample reference point and adjacent sampling
For sampling amplitude of variation between point in preset amplitude range, i.e. sampling amplitude of variation is smaller.
For example, setting sample reference point as A, third ratio is 0.25, and the 4th ratio is 0.5, is changed using diff as sampling
Value is greater than or equal to 0.25*diff (A) in the diff of 4 adjacent sampled points of the identical row and column of A, in 8 adjacent samplings of A
In point (8 sampled points of remaining in nine grids), the number of sampled point of the diff more than or equal to 0.5*diff (A) is greater than or equal to
3, it may be considered that the sampling amplitude of variation between sample reference point and adjacent sampled point is in preset amplitude range.
Step 206, the sampled targets point of the touch-control triggering under non-holding state is determined by the sample reference point.
In the concrete realization, third range can be determined using sampled targets point as benchmark, i.e., by distance samples target point
The range delineation of certain distance is third range (third range may include sample reference point).
By the sampled point within the scope of third labeled as the sampled targets point that touch-control triggers under non-holding state.
In one example, third range is as shown in the table:
# | # | # |
# | A | # |
# | # | # |
Wherein, " A " represents sample reference point, and " # " represents the sampled point (including A itself) within the scope of third.
Step 207, sampling compensation is carried out to the sampled targets point.
In the concrete realization, the 5th ratio can be taken to the sampling changing value of sampled targets point, and it is compensated to obtain sampling
Sample changing value.
Wherein, the 5th ratio is greater than 1, such as 1.5 (compensating 50%);The compensated sampling changing value of sample reference point sampling
At least more than report point threshold value.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method
It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to
According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should
Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented
Necessary to example.
Referring to Fig. 4, a kind of structural block diagram of the sampling compensation device of touch data of one embodiment of the invention is shown,
It can specifically include following module:
Touch data acquisition module 401 includes multiple sampled points in the touch data for acquiring touch data;
Sample reference point selection module 402, for selecting the sampled point in report point critical range, as sample reference
Point;
Sampled targets point identification module 403, for being identified according to the sampled point adjacent with the sample reference point in non-hand
Hold the sampled targets point that touch-control triggers under state;
Compensating module 404 is sampled, for carrying out sampling compensation to the sampled targets point.
In one embodiment of the invention, the sample reference point selection module 402 includes:
Critical report point value computational submodule, for taking the first ratio, second respectively on the basis of preset change threshold
Ratio obtains critical report point lower limit value, critical report point upper limit value, wherein for first ratio less than 1, second ratio is big
In 1;
Submodule is arranged in sample reference point, if the sampling changing value for the sampled point is located at the critical report point lower limit
Between value and the critical report point upper limit value, then sample reference point is set by the sampled point.
In one embodiment of the invention, the sampled targets point identification module 403 includes:
Neighbouring sample point determines submodule, for determining the sampled point adjacent with the sample reference point;
Amplitude of variation judging submodule is sampled, for judging between the sample reference point and the adjacent sampled point
Amplitude of variation is sampled whether in preset amplitude range;If so, sampled targets point is called to determine submodule;
Sampled targets point determines submodule, for determining that touch-control triggers under non-holding state by the sample reference point
Sampled targets point.
In one embodiment of the invention, the adjacent sampled point includes sampled point adjacent in the first range,
Adjacent sampled point in two ranges, first range are less than second range;
The sampling amplitude of variation judging submodule includes:
Change threshold computing unit, for taken on the basis of the sampling changing value of the sample reference point third ratio,
4th ratio obtains the first change threshold, the second change threshold;
Quantity statistics unit, in adjacent sampled point in second range, statistic sampling changing value to be greater than institute
State the quantity of the sampled point of the second change threshold;
Whether condition judgment unit, the sampled point for judging adjacent in first range are greater than or equal to described first
Change threshold, also, the quantity is greater than or equal to preset amount threshold;If so, calling variation determination unit;
Change determination unit, for determining that the sampling between the sample reference point and the adjacent sampled point changes width
Degree is in preset amplitude range.
In one embodiment of the invention, the sampled targets point determines that submodule includes:
Range determination unit, for determining third range using the sample reference point as benchmark;
Range flags unit is triggered for the sampled point within the scope of the third to be labeled as the touch-control under non-holding state
Sampled targets point.
In one embodiment of the invention, the sampling compensating module 404 includes:
Ratio value submodule takes the 5th ratio for the sampling changing value to the sampled targets point, obtains sampling and mends
Sampling changing value after repaying.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple
Place illustrates referring to the part of embodiment of the method.
In embodiments of the present invention, touch data is acquired, includes multiple sampled points in touch data, selection is faced in report point
The sampled point of boundary's range, as sample reference point, according to the sampled point identification sample reference point adjacent with sample reference point be
The sampled targets point that touch-control triggers under non-holding state carries out sampling compensation to sampled point using sampled targets point as benchmark, leads to
Over-sampling reference point and the combination of adjacent sampled point identify the sampled targets point that touch-control triggers under non-holding state, accuracy
Height carries out sampling compensation after identifying sampled targets point, and raising identifies the accuracy rate of touch under non-holding state, to mention
The accuracy rate of height report point executes mostly finger under non-holding state and touches, the probability for failing to report touch point reduced, to reduce maloperation
Probability.
A kind of hardware structural diagram of Fig. 5 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..
Wherein, processor 510 include multiple sampled points in the touch data for acquiring touch data;Selection is in
The sampled point for reporting point critical range, as sample reference point;It is identified according to the sampled point adjacent with the sample reference point non-
The sampled targets point that touch-control triggers under holding state;Sampling compensation is carried out to the sampled targets point.
In embodiments of the present invention, touch data is acquired, includes multiple sampled points in touch data, selection is faced in report point
The sampled point of boundary's range, as sample reference point, according to the sampled point identification sample reference point adjacent with sample reference point be
The sampled targets point that touch-control triggers under non-holding state carries out sampling compensation to sampled point using sampled targets point as benchmark, leads to
Over-sampling reference point and the combination of adjacent sampled point identify the sampled targets point that touch-control triggers under non-holding state, accuracy
Height carries out sampling compensation after identifying sampled targets point, and raising identifies the accuracy rate of touch under non-holding state, to mention
The accuracy rate of height report point executes mostly finger under non-holding state and touches, the probability for failing to report touch point reduced, to reduce maloperation
Probability.
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 sampling compensation method embodiment of the above-mentioned touch data of Shi Shixian, and identical technical effect can be reached, to keep away
Exempt to repeat, 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 of the sampling compensation method embodiment of above-mentioned touch data when being executed by processor
Process, 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, abbreviation 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 (10)
1. a kind of sampling compensation method of touch data characterized by comprising
Touch data is acquired, includes multiple sampled points in the touch data;
Sampled point of the selection in report point critical range, as sample reference point;
The sampled targets point that touch-control triggers under non-holding state is identified according to the sampled point adjacent with the sample reference point;
Sampling compensation is carried out to the sampled targets point.
2. the method according to claim 1, wherein the sampled point of the selection in report point critical range, makees
For sample reference point, comprising:
It takes the first ratio, the second ratio respectively on the basis of preset change threshold, obtains critical report point lower limit value, critical report
Point upper limit value, wherein for first ratio less than 1, second ratio is greater than 1;
If the sampling changing value of the sampled point between the critical report point lower limit value and the critical report point upper limit value,
Sample reference point is set by the sampled point.
3. the method according to claim 1, wherein the sampled point that the basis is adjacent with the sample reference point
Identify the sampled targets point that touch-control triggers under non-holding state, comprising:
Determine the sampled point adjacent with the sample reference point;
Judge the sampling amplitude of variation between the sample reference point and the adjacent sampled point whether in preset amplitude model
In enclosing;
If so, determining the sampled targets point that touch-control triggers under non-holding state by the sample reference point.
4. according to the method described in claim 3, it is characterized in that, the adjacent sampled point includes adjacent in the first range
Adjacent sampled point in sampled point, the second range, first range are less than second range;
Whether the sampling amplitude of variation judged between the sample reference point and the adjacent sampled point is in preset width
It spends in range, comprising:
Take third ratio, the 4th ratio on the basis of the sampling changing value of the sample reference point, obtain the first change threshold,
Second change threshold;
In second range in adjacent sampled point, statistic sampling changing value is greater than the sampled point of second change threshold
Quantity;
Judge whether sampled point adjacent in first range is greater than or equal to first change threshold, also, the number
Amount is greater than or equal to preset amount threshold;
If so, the sampling amplitude of variation between the determining sample reference point and the adjacent sampled point is in preset amplitude
In range.
5. according to the method described in claim 3, it is characterized in that, described determined by the sample reference point in non-holding shape
The sampled targets point that touch-control triggers under state, comprising:
Third range is determined using the sample reference point as benchmark;
By the sampled point within the scope of the third labeled as the sampled targets point that touch-control triggers under non-holding state.
6. method according to claim 1-5, which is characterized in that described to be sampled to the sampled targets point
Compensation, comprising:
5th ratio is taken to the sampling changing value of the sampled targets point, obtains and samples compensated sampling changing value.
7. a kind of sampling compensation device of touch data characterized by comprising
Touch data acquisition module includes multiple sampled points in the touch data for acquiring touch data;
Sample reference point selection module, for selecting the sampled point in report point critical range, as sample reference point;
Sampled targets point identification module, for being identified under non-holding state according to the sampled point adjacent with the sample reference point
The sampled targets point of touch-control triggering;
Compensating module is sampled, for carrying out sampling compensation to the sampled targets point.
8. device according to claim 7, which is characterized in that the sample reference point selection module includes:
Critical report point value computational submodule, for taking the first ratio, the second ratio respectively on the basis of preset change threshold,
Obtain critical report point lower limit value, critical report point upper limit value, wherein for first ratio less than 1, second ratio is greater than 1;
Sample reference point be arranged submodule, if the sampling changing value for the sampled point be located at the critical report point lower limit value and
Between the critical report point upper limit value, then sample reference point is set by the sampled point.
9. a kind of mobile terminal, which is characterized in that including processor, memory and be stored on the memory and can be described
The computer program run on processor is realized when the computer program is executed by the processor as in claim 1 to 6
The step of sampling compensation method of described in any item touch datas.
10. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium
Sequence realizes the sampling such as touch data described in any one of claims 1 to 6 when the computer program is executed by processor
The step of compensation method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810778147.1A CN109240531B (en) | 2018-07-16 | 2018-07-16 | Touch data sampling compensation method and device, mobile terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810778147.1A CN109240531B (en) | 2018-07-16 | 2018-07-16 | Touch data sampling compensation method and device, mobile terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109240531A true CN109240531A (en) | 2019-01-18 |
CN109240531B CN109240531B (en) | 2022-02-22 |
Family
ID=65071926
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810778147.1A Active CN109240531B (en) | 2018-07-16 | 2018-07-16 | Touch data sampling compensation method and device, mobile terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109240531B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111665985A (en) * | 2020-05-29 | 2020-09-15 | 西安芯海微电子科技有限公司 | Touch sampling control method, device, terminal and storage medium |
WO2021036718A1 (en) * | 2019-08-29 | 2021-03-04 | 京东方科技集团股份有限公司 | Touch point determining method and device |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20010037687A1 (en) * | 2000-02-25 | 2001-11-08 | Brovold Thomas E. | Compact hollow cylinder tensile tester |
US20060134662A1 (en) * | 2004-10-25 | 2006-06-22 | Pratt Mark R | Method and system for genotyping samples in a normalized allelic space |
CN101354621A (en) * | 2008-09-12 | 2009-01-28 | 青岛海信移动通信技术股份有限公司 | Method and apparatus for determining touch screen calibration parameter |
CN101639896A (en) * | 2009-05-19 | 2010-02-03 | 上海闻泰电子科技有限公司 | Data filtering and smoothing method applied to touch screen |
US20120256868A1 (en) * | 2011-04-11 | 2012-10-11 | Yun Young Choi | Apparatus for sensing a touch |
CN102819475A (en) * | 2011-06-08 | 2012-12-12 | 鸿富锦精密工业(深圳)有限公司 | System and method for calibrating touch screen of electronic device |
CN102945109A (en) * | 2012-11-29 | 2013-02-27 | 锐迪科科技有限公司 | Method for detecting touch regions of mutual capacitance screen |
CN105183669A (en) * | 2015-09-22 | 2015-12-23 | 珠海格力电器股份有限公司 | Data storage method and device |
CN106557208A (en) * | 2016-11-30 | 2017-04-05 | 无锡华润矽科微电子有限公司 | Realize the method that touch-screen is calibrated automatically |
CN107678594A (en) * | 2017-09-30 | 2018-02-09 | 努比亚技术有限公司 | Calibration method, device, terminal device and the storage medium of touch screen |
-
2018
- 2018-07-16 CN CN201810778147.1A patent/CN109240531B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20010037687A1 (en) * | 2000-02-25 | 2001-11-08 | Brovold Thomas E. | Compact hollow cylinder tensile tester |
US20060134662A1 (en) * | 2004-10-25 | 2006-06-22 | Pratt Mark R | Method and system for genotyping samples in a normalized allelic space |
CN101354621A (en) * | 2008-09-12 | 2009-01-28 | 青岛海信移动通信技术股份有限公司 | Method and apparatus for determining touch screen calibration parameter |
CN101639896A (en) * | 2009-05-19 | 2010-02-03 | 上海闻泰电子科技有限公司 | Data filtering and smoothing method applied to touch screen |
US20120256868A1 (en) * | 2011-04-11 | 2012-10-11 | Yun Young Choi | Apparatus for sensing a touch |
CN102819475A (en) * | 2011-06-08 | 2012-12-12 | 鸿富锦精密工业(深圳)有限公司 | System and method for calibrating touch screen of electronic device |
CN102945109A (en) * | 2012-11-29 | 2013-02-27 | 锐迪科科技有限公司 | Method for detecting touch regions of mutual capacitance screen |
CN105183669A (en) * | 2015-09-22 | 2015-12-23 | 珠海格力电器股份有限公司 | Data storage method and device |
CN106557208A (en) * | 2016-11-30 | 2017-04-05 | 无锡华润矽科微电子有限公司 | Realize the method that touch-screen is calibrated automatically |
CN107678594A (en) * | 2017-09-30 | 2018-02-09 | 努比亚技术有限公司 | Calibration method, device, terminal device and the storage medium of touch screen |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021036718A1 (en) * | 2019-08-29 | 2021-03-04 | 京东方科技集团股份有限公司 | Touch point determining method and device |
US11353978B2 (en) | 2019-08-29 | 2022-06-07 | Hefei Boe Optoelectronics Technology Co, Ltd. | Method and apparatus for determining a touch point |
CN111665985A (en) * | 2020-05-29 | 2020-09-15 | 西安芯海微电子科技有限公司 | Touch sampling control method, device, terminal and storage medium |
CN111665985B (en) * | 2020-05-29 | 2024-04-12 | 西安芯海微电子科技有限公司 | Touch sampling control method, device, terminal and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109240531B (en) | 2022-02-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108845853A (en) | A kind of application program launching method and mobile terminal | |
CN109697010A (en) | A kind of suspended window position control method, terminal and computer readable storage medium | |
CN110413364A (en) | A kind of information processing method and terminal | |
CN108920059A (en) | Message treatment method and mobile terminal | |
CN107748648A (en) | Prevent the method and terminal device of fingerprint sensor false triggering | |
CN108628521A (en) | A kind of screen operating method and mobile terminal | |
CN110196667A (en) | A kind of processing method and terminal of notification message | |
CN109871174A (en) | A kind of virtual key display methods and mobile terminal | |
CN108572767A (en) | A kind of method in determining external object orientation, mobile terminal | |
CN109739394A (en) | A kind of processing method of SAR value, mobile terminal | |
CN109144225A (en) | One kind, which is gone out, shields control method, device and mobile terminal | |
CN108984066A (en) | A kind of application icon display methods and mobile terminal | |
CN110209313A (en) | Icon moving method and terminal device | |
CN110531915A (en) | Screen operating method and terminal device | |
CN109343788A (en) | A kind of method of controlling operation thereof and mobile terminal of mobile terminal | |
CN109144228A (en) | A kind of fingerprint identification method and mobile terminal | |
CN108196815A (en) | A kind of adjusting method and mobile terminal of sound of conversing | |
CN110096203A (en) | A kind of screenshot method and mobile terminal | |
CN107728923A (en) | The processing method and mobile terminal of a kind of operation | |
CN108108113A (en) | Webpage switching method and device | |
CN109521937A (en) | A kind of control method for screen display and mobile terminal | |
CN110162234A (en) | A kind of application control method and terminal device | |
CN109857659A (en) | A kind of operating method and device of control | |
CN109614185A (en) | A kind of display methods and terminal | |
CN109976844A (en) | A kind of message display method 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 | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11 Patentee after: Qingdao Hisense Mobile Communication Technology Co.,Ltd. Address before: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11 Patentee before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd. |