The content of the invention
The embodiment of the present invention provides a kind of touch screen calibration method and electronic equipment, to realize using electronic equipment itself
Weight serves as calibration of the normal pressure completion to touch-screen, convenient for the user to operate, improves Consumer's Experience.
In a first aspect, the embodiment of the present invention provides a kind of touch screen calibration method, including:
If detecting, electronic equipment is in first level position, to be calibrated in the touch screen display of the electronic equipment
Point, the point to be calibrated are used to prompt user to be used as the strong point so that the electronic equipment is in second using the point to be calibrated
Horizontal level;
If detect the pressure sensor on the electronic equipment described in distance in be calibrated pre-determined distance and the electricity
Capacitance between the hardware of sub- equipment generates the change more than predetermined threshold value, and detects at the electronic equipment
In second horizontal level, then all pressure sensors of the electronic equipment and the metal structure of the electronic equipment are detected
Capacitance between part, calibration capacitance value is determined according to the capacitance;
Offset data after calibration is determined according to the weight of the calibration capacitance value and the electronic equipment.
With reference in a first aspect, in the first possible implementation of first aspect, the point to be calibrated comprises at least
One or more points on the touch-screen.
In the first possible implementation with reference to first aspect, in second of possible implementation of first aspect
In, the point to be calibrated includes the center of gravity of the electronic equipment.
With reference to the possible implementation of the first of first aspect or first aspect, the third in first aspect is possible
It is described to detect that electronic equipment is in first level position in implementation, including:
Detect the first acceleration magnitude of the electronic equipment;
If first acceleration magnitude is g, the electronic equipment is in first level position, wherein, the g is gravity
Acceleration.
With reference to the third possible implementation of first aspect, in the 4th kind of possible implementation of first aspect
In, it is described to detect that the electronic equipment is in second horizontal level, including:
Detect the second acceleration magnitude of the electronic equipment;
If second acceleration magnitude is-g, the electronic equipment is in the second horizontal level.
With reference in a first aspect, in the 5th kind of possible implementation of first aspect, the detection electronic equipment
All pressure sensors and the electronic equipment hardware between capacitance, according to the capacitance determine calibrate
Capacitance, including:
The capacitance between all pressure sensors and hardware is detected at predetermined intervals, is obtained more
Group capacitance;
The average capacitance value of multigroup capacitance is determined, and using the average capacitance value as the calibration capacitance value.
With reference in the possible implementation of the first of first aspect or first aspect, in the 6th kind of possibility of first aspect
Implementation in, if described detect that electronic equipment is in first level position, on the touch-screen of the electronic equipment show
Before showing point to be calibrated, including:
Receive the calibration indication signal of user's input.
Second aspect, the embodiment of the present invention provide a kind of electronic equipment, including:
Display module, for when detecting that electronic equipment is in first level position, in the touch of the electronic equipment
Screen display point to be calibrated, the point to be calibrated are used to prompt user to be used as the strong point so that the electricity using the point to be calibrated
Sub- equipment is in the second horizontal level;
Detection module, detect that the pressure on the electronic equipment described in distance in be calibrated pre-determined distance passes for working as
Capacitance between the hardware of sensor and the electronic equipment generates the change more than predetermined threshold value, and detects institute
When stating electronic equipment and being in second horizontal level, then all pressure sensors of the electronic equipment and the electronics are detected
Capacitance between the hardware of equipment, calibration capacitance value is determined according to the capacitance;
Determining module, for determining the compensation number after calibration according to the weight of the calibration capacitance value and the electronic equipment
According to.
With reference to second aspect, in the first possible implementation of second aspect, the point to be calibrated comprises at least
One or more points on the touch-screen.
With reference to the first possible implementation of second aspect, in second of possible implementation of second aspect
In, the point to be calibrated includes the center of gravity of the electronic equipment.
With reference to the possible implementation of the first of second aspect or second aspect, the third in second aspect is possible
In implementation, the display module is specifically used for:
Detect the first acceleration magnitude of the electronic equipment;
If first acceleration magnitude is g, the electronic equipment is in first level position, wherein, the g is gravity
Acceleration.
In the third possible implementation with reference to second aspect, in the 4th kind of possible implementation of second aspect
In, the detection module is specifically used for:
Detect the second acceleration magnitude of the electronic equipment;
If second acceleration magnitude is-g, the electronic equipment is in the second horizontal level.
With reference to second aspect, in the 5th kind of possible implementation of second aspect, the detection module is specifically used for:
The capacitance between all pressure sensors and hardware is detected at predetermined intervals, is obtained more
Group capacitance;
The average capacitance value of multigroup capacitance is determined, and using the average capacitance value as the calibration capacitance value.
With reference in the possible implementation of the first of second aspect or second aspect, in the 6th kind of possibility of second aspect
Implementation in, the electronic equipment also includes:
Receiving module, for receiving the calibration indication signal of user's input.
Touch screen calibration method provided in an embodiment of the present invention and electronic equipment, if detecting, electronic equipment is in the first water
Prosposition is put, and in the touch screen display of electronic equipment point to be calibrated, point to be calibrated is used to prompt user to use to be calibrated conduct
The strong point is so that electronic equipment is horizontal, if detecting the pressure on electronic equipment in be calibrated pre-determined distance of distance
Capacitance between sensor and the hardware of electronic equipment generates the change more than predetermined threshold value, and detects electronics
Equipment is in the second horizontal level, then between the hardware of all pressure sensors and electronic equipment that detect electronic equipment
Capacitance, calibration capacitance value is determined according to capacitance, according to the weight of calibration capacitance value and electronic equipment determine calibration after
Offset data so that user is during using electronic equipment, when there are the failures such as touch-screen precise decreasing, false triggering,
User can voluntarily be calibrated or electronic equipment triggers calibration automatically, and during calibration, user uses point to be calibrated
As the strong point so that electronic equipment is in the second horizontal level, i.e. electronic equipment touch-screen when being supported is to face water
Average face, so as to serve as calibration of the normal pressure completion to touch-screen using the weight of electronic equipment itself, be easy to user to grasp
Make, improve Consumer's Experience.
Term " first ", " second ", " the 3rd " " in description and claims of this specification and above-mentioned accompanying drawing
The (if present)s such as four " are for distinguishing similar object, without for describing specific order or precedence.It should manage
The data that solution so uses can exchange in the appropriate case, so as to embodiments of the invention described herein for example can with except
Order beyond those for illustrating or describing herein is implemented.In addition, term " comprising " and " having " and theirs is any
Deformation, it is intended that cover it is non-exclusive include, for example, containing the process of series of steps or unit, method, system, production
Product or equipment are not necessarily limited to those steps clearly listed or unit, but may include not list clearly or for this
The intrinsic other steps of a little process, method, product or equipment or unit.
Touch screen calibration method provided in an embodiment of the present invention can apply to handheld device, mobile unit, wearable set
Standby, computing device, and various forms of user equipmenies (User Equipment;Referred to as:UE), mobile station (Mobile
Station;Referred to as:MS), in the electronic equipment such as terminal (terminal), terminal device (Terminal Equipment).Electronics
Equipment has touch-screen, and the touch-screen includes touch sensitive surface (touch-sensitive surface) and display screen, can show
Screen interface, touch action can also be received.
In touch screen calibration method provided in an embodiment of the present invention:If detecting, electronic equipment is in first level position,
In the touch screen display of electronic equipment point to be calibrated, point to be calibrated be used to prompting user use point to be calibrated be used as the strong point with
Electronic equipment is set to be in the second horizontal level, if detecting the pressure sensing on electronic equipment in be calibrated pre-determined distance of distance
Capacitance between device and the hardware of electronic equipment generates the change more than predetermined threshold value, and detects electronic equipment
In the second horizontal level, then the electricity between the hardware of all pressure sensors and electronic equipment that detect electronic equipment
Capacitance, calibration capacitance value is determined according to capacitance, the compensation after calibration is determined according to the weight of calibration capacitance value and electronic equipment
Data so that user is during using electronic equipment, when there are the failures such as touch-screen precise decreasing, false triggering, user
It can voluntarily be calibrated or electronic equipment triggers calibration automatically, during calibration, user uses to be calibrated conduct
For the strong point so that electronic equipment is in the second horizontal level, i.e. electronic equipment touch-screen when being supported is in face of horizontal flat
Face, so as to, calibration of the normal pressure completion to touch-screen is served as using the weight of electronic equipment itself, it is convenient for the user to operate,
Improve Consumer's Experience.
Technical scheme is described in detail with specifically embodiment below.These specific implementations below
Example can be combined with each other, and may be repeated no more for same or analogous concept or process in some embodiments.
Fig. 1 is the schematic flow sheet for the touch screen calibration method that the embodiment of the present invention one provides.It is as shown in figure 1, of the invention
The touch screen calibration method that embodiment provides includes:
S101:If detecting, electronic equipment is in first level position, to be calibrated in the touch screen display of electronic equipment
Point, point to be calibrated are used to prompt user to be used as the strong point so that electronic equipment is in the second horizontal level using point to be calibrated.
Specifically, electronic equipment can detect whether electronic equipment is in first level position by acceleration transducer.
Acceleration transducer is arranged in electronic equipment, the angle of inclination placed available for detection electronic equipment.Work as acceleration transducer
When the acceleration for detecting electronic equipment is acceleration of gravity, it is believed that electronic equipment is in first level position.Wherein, gravity adds
The value of speed is default in the electronic device.It is in touch-screen it should be noted that first level position is electronic equipment and puts upward
Put and placed down with plane-parallel, rear shell and with the position of plane-parallel.
When detecting that electronic equipment is in first level position, in the touch screen display of electronic equipment point to be calibrated.
Point to be calibrated is pre-set in electronic equipment.Point to be calibrated comprises at least the one or more points on touch-screen.Aobvious
After showing point to be calibrated, electronic equipment can be supported by user using point to be calibrated as the strong point, so that electronic equipment is in the
Two horizontal levels.
Electronic equipment can carry out detecting whether electronic equipment is in first level when user indicates to need calibration
On position, it can also voluntarily be detected with fixed frequency to trigger calibration mode, for example, at interval of triggering calibration in 1 month
Pattern.
Optionally, when whether detection electronic equipment is in first level position, can be shown on the touchscreen, example
Such as, a cross mark and central point can be shown, represents that electronics is set when the Center-to-Center point of cross mark overlaps
It is standby to be in first level position, represent to need to adjust the plane that electronic equipment is placed when both are misaligned.In such a side
In formula, user can adjust the placement location of electronic equipment according to the bias direction of the Center-to-Center point of cross mark.
S102:If detect pressure sensor on electronic equipment in be calibrated pre-determined distance of distance and electronic equipment
Capacitance between hardware generates the change more than predetermined threshold value, and detects that electronic equipment is in the second horizontal position
Put, then the capacitance between the hardware of all pressure sensors and electronic equipment that detect electronic equipment, according to electric capacity
Value determines calibration capacitance value.
Specifically, after point to be calibrated is shown, user needs to use support meanss to be supported electronic equipment, and user will
In on point to be calibrated, support meanss inversion means to be calibrated on the top and touch-screen of support meanss support meanss upside down
Point contact is placed down, bottom is placed upward, then electronic equipment is overturn electronic equipment branch using point to be calibrated as the strong point
Support.If the face where defining electronic device touchscreen is front, the face relative with touch-screen be defined as the back side, then now electronics
Equipment is supported by support meanss in a manner of front deviates from horizontal plane towards horizontal plane, the back side.
Now, the pressure sensor on electronic equipment detection electronic equipment in be calibrated pre-determined distance of distance is set with electronics
Whether the capacitance between standby hardware produces the change more than predetermined threshold value, and whether detects electronic equipment in the
Two horizontal levels.It should be noted that because electronic equipment can not determine when to be used as the strong point using point to be calibrated by user
It is supported, therefore, electronic equipment can be preset after S101 is performed with default frequency interval detecting distance point to be calibrated
Whether the pressure sensor in distance and the capacitance between the hardware of electronic equipment occur the change more than predetermined threshold value
Change, and whether detection electronic equipment is in the second horizontal level.
The pressure sensor of electronic equipment is located at the lower section of LCM in touch-screen, and hardware is to be arranged at apart from pressure
The plane of sensor distance below.The hardware of electronic equipment forms the both ends of electric capacity with multiple pressure sensors.
The pressure sensor of electronic equipment can be arranged at LCM lower section in an array manner.Apart from the pressure of to be calibrated pre-determined distance
Force snesor refer to using it is to be calibrated for the center of circle, using pre-determined distance as the pressure sensing below the touch-screen in the circular scope of radius
Device.Wherein, pre-determined distance rule of thumb data can be configured, and predetermined threshold value rule of thumb data can also be configured.
The processor of electronic equipment can be with the pressure sensor and the metal knot of electronic equipment in be calibrated pre-determined distance of detecting distance
Whether the capacitance between component occurs the change more than predetermined threshold value, specifically, pressure sensor is with fixed frequency detecting
Its capacitance between hardware is simultaneously sent to processor, and processor is received and stored.When processor receive away from
After the capacitance sent from the pressure sensor in be calibrated pre-determined distance, contrasted with the capacitance of its last moment,
If both differences are more than predetermined threshold value, then it is assumed that pressure sensor and metal structure in be calibrated pre-determined distance
Capacitance between part generates the change more than predetermined threshold value.Whether detection electronic equipment specifically may be used in the second horizontal level
To be detected by acceleration transducer.
It should be noted that the second horizontal level is electronic equipment be in touch-screen place down and with plane-parallel,
Rear shell place upward and with the position of plane-parallel.
When the metal for detecting pressure sensor and electronic equipment on electronic equipment in be calibrated pre-determined distance of distance
Change more than predetermined threshold value occurs for the capacitance between structural member, and detects that electronic equipment is in the second horizontal level, this
When, it is equivalent to put on point to be calibrated with the weight of electronic equipment, detects all pressure sensors and electricity of electronic equipment
Capacitance between the hardware of sub- equipment, calibration capacitance value is determined according to capacitance.Here all pressure sensors
Including the pressure sensor in be calibrated pre-determined distance.Now, electronic equipment detects all pressures by pressure sensor
Capacitance between force snesor and hardware can obtain multiple capacitances.Optionally, electronic equipment can be detected only
Once, using detect one group of multiple capacitance as calibration capacitance value;It can also detect repeatedly, obtain multigroup capacitance, will
Correspond and average in multigroup capacitance group, obtain one group of multiple condenser paper average, these average values are defined as
Calibration capacitance value.The present embodiment is without limitation.
S103:Offset data after calibration is determined according to the weight of calibration capacitance value and electronic equipment.
Specifically, can be using the weight of calibration capacitance value and electronic equipment as calibration after calibration capacitance value is determined
The input of algorithm determines the offset data after calibration according to calibration algorithm.Calibration algorithm can use existing calibration algorithm, its
Here is omitted for realization principle.Offset data after calibration can mend when user is using touch-screen to the pressure of user
Repay, to ensure that user uses the precision of touch-screen, solve because the shell during user's use due to electronic equipment occurs
Touch-screen false triggering or it the failure such as can not trigger caused by deformation.The weight of electronic equipment is defaulted in electronic equipment
's.
Touch screen calibration method provided in an embodiment of the present invention, if detecting, electronic equipment is in first level position,
The touch screen display point to be calibrated of electronic equipment, point to be calibrated be used to prompt user using point to be calibrated as the strong point so that
Electronic equipment is horizontal, if detecting the pressure sensor and electricity on electronic equipment in be calibrated pre-determined distance of distance
Capacitance between the hardware of sub- equipment generates the change more than predetermined threshold value, and detects that electronic equipment is in the
Two horizontal levels, then detect electronic equipment all pressure sensors and electronic equipment hardware between capacitance,
Calibration capacitance value is determined according to capacitance, the offset data after calibration is determined according to the weight of calibration capacitance value and electronic equipment,
So that user, during using electronic equipment, when there are the failures such as touch-screen precise decreasing, false triggering, user can be certainly
Row is calibrated or electronic equipment triggers calibration automatically, and during calibration, user is used as the strong point using point to be calibrated
So that electronic equipment is in the second horizontal level, i.e., electronic equipment when being supported touch-screen in face of horizontal plane,
So as to, calibration of the normal pressure completion to touch-screen is served as using the weight of electronic equipment itself, it is convenient for the user to operate, improve
Consumer's Experience.
Fig. 2 is the schematic flow sheet for the touch screen calibration method that the embodiment of the present invention two provides.It is as shown in Fig. 2 of the invention
Embodiment is on the basis of foregoing invention embodiment, and the step of to before S101, S102 and S103 be described in detail:
S201:Receive the calibration indication signal of user's input.
Specifically, the calibration indication signal of user can be inputted by touch-screen, can also be inputted by other means, example
Such as, rock mobile phone, tap the modes such as mobile phone.User can find to occur during electronic equipment is used false triggering or
Input calibration indication signal when can not trigger the failures such as touch-screen.
S202:If detecting, electronic equipment is in first level position, to be calibrated in the touch screen display of electronic equipment
Point, point to be calibrated are used to prompt user to be used as the strong point so that electronic equipment is in the second horizontal level using point to be calibrated.
Specifically, electronic equipment enters calibration mode after calibration indication signal is received, when detecting at electronic equipment
When first level position, point to be calibrated is shown on the touchscreen., can when whether detection electronic equipment is in first level position
To be the first acceleration magnitude for detecting electronic equipment, if the first acceleration magnitude is g, electronic equipment is in first level position.
Wherein, g is acceleration of gravity, and it is 9.8m/s typically to take it2。
It should be noted that in the embodiment of the present invention, in one implementation, point to be calibrated can be electronic equipment
Center of gravity so that support meanss using it is to be calibrated point support electronic equipment when, electronic equipment may be at the second horizontal level.Electronics
The position of the center of gravity of equipment is tested and stored in the electronic device when dispatching from the factory.In another implementation,
Point to be calibrated is at least two.For example, point to be calibrated can be 2 points on touch-screen diagonal, can be touch-screen four
Point on individual angle etc..As long as when using calibration point as the strong point, electronic equipment can be in the second horizontal level.
Optionally, after detecting that electronic equipment is in first level position, vibrating alert, sound prompting etc. can be passed through
Mode reminds user.
S203:If detect pressure sensor on electronic equipment in be calibrated pre-determined distance of distance and electronic equipment
Capacitance between hardware generates the change more than predetermined threshold value, and detects that electronic equipment is in the second horizontal position
Put, then detect the capacitance between all pressure sensors and hardware at predetermined intervals, obtain multigroup electric capacity
Value.
S204:The average capacitance value of multigroup capacitance is determined, and using average capacitance value as calibration capacitance value.
Specifically, in S203 and S204, electronic equipment can be to be calibrated by processor and pressure sensor judging distance
Whether the capacitance between pressure sensor and hardware in point pre-determined distance generates the change more than predetermined threshold value,
The acceleration magnitude of electronic equipment is detected by acceleration transducer.The second acceleration magnitude of electronic equipment is detected, if second accelerates
Angle value is-g, then electronic equipment is in the second horizontal level.
If capacitance generates the change more than predetermined threshold value and the second acceleration magnitude when being-g, illustrate now electronic equipment
The second horizontal level is in during support device by the strong point of point to be calibrated, now, detect all pressure sensors with
Capacitance between hardware.Specifically, detect at predetermined intervals between pressure sensor and hardware
Capacitance, obtain multigroup capacitance.Multigroup capacitance is averaged, average capacitance value can be obtained, it is final to determine to be somebody's turn to do
Average capacitance value is calibration capacitance value.Specifically, it can average, obtain multiple to being corresponded in multigroup capacitance group
Average capacitance value, it is calibration capacitance value to determine these average capacitance values.Compared to the mode for only detecting one group of data, such a mode
Precision is higher, and calibration effect is more preferable.
Fig. 3 is a kind of structural representation of the implementation for the support meanss that electronic equipment is supported in the embodiment of the present invention two
Figure.As shown in figure 3, the support meanss that this implementation provides include:Sucker 31 and bearing 32, sucker 31 are arranged at bearing 32
On.Bearing 32 can be cone.Sucker 31 can ensure to overturn electronic equipment support meanss are positioned over into point to be calibrated
When support meanss without departing from point to be calibrated.Further increase calibration accuracy.
Fig. 4 is the structural representation of another implementation for the support meanss that electronic equipment is supported in the embodiment of the present invention two
Figure.As shown in figure 4, the support meanss that this implementation provides include:Projection 42 and base 41, projection 42 are arranged at base 41
On, projection 42 is at least two, and the bottom of base 41 is plane.Projection 42 is used to contact with point to be calibrated.Projection 42 and base
41 set-up mode can removably be set, for example, clamping, threaded connection etc., so that user can be according to point to be calibrated
Quantity adjustment projection 42 quantity.
S205:Offset data after calibration is determined according to the weight of calibration capacitance value and electronic equipment.
It is similar with S103 implementation, and here is omitted.
Optionally, after the completion of calibration, user can be reminded by modes such as vibrating alert, sound promptings.
Touch screen calibration method provided in an embodiment of the present invention, the calibration indication signal inputted by receiving user, if inspection
Measure electronic equipment and be in first level position, in the touch screen display of electronic equipment point to be calibrated, point to be calibrated is used to carry
Show user using point to be calibrated as the strong point so that electronic equipment is in the second horizontal level, if detect on electronic equipment away from
Generated from the electric capacity between the pressure sensor and the hardware of electronic equipment in be calibrated pre-determined distance more than pre-
If the change of threshold value, and detect that electronic equipment is in the second horizontal level, then all pressure are detected at predetermined intervals
Capacitance between sensor and hardware, multigroup capacitance is obtained, determine the average capacitance value of multigroup capacitance, and will
Average capacitance value is as calibration capacitance value, the offset data after being calibrated according to the determination of the weight of calibration capacitance value and electronic equipment,
Calibration mode can be entered according to the demand of user by realizing, the capacitance between measurement pressure sensor and hardware
When, by the way of multiple measurement is averaged, so as to, calibration mode can be not only entered according to the selection of user, and should
Calibration method precision is good, further increases Consumer's Experience.
Fig. 5 is the structural representation for the electronic equipment that the embodiment of the present invention one provides.As shown in figure 5, the present embodiment provides
Electronic equipment include:
Display module 501, for when detecting that electronic equipment is in first level position, in the touch-screen of electronic equipment
Upper display point to be calibrated, point to be calibrated are used to prompt user to be used as the strong point so that electronic equipment is in second using point to be calibrated
Horizontal level;
Detection module 502, for the pressure sensor on electronic equipment in be calibrated pre-determined distance of distance ought to be detected
Capacitance between the hardware of electronic equipment generates the change more than predetermined threshold value, and detects at electronic equipment
When the second horizontal level, then the electricity between the hardware of all pressure sensors and electronic equipment that detect electronic equipment
Capacitance, calibration capacitance value is determined according to capacitance;
Determining module 503, for determining the offset data after calibration according to the weight of calibration capacitance value and electronic equipment.
Point to be calibrated comprises at least the one or more points on touch-screen.In one implementation, point to be calibrated includes
The center of gravity of electronic equipment.
The electronic equipment of the embodiment of the present invention is used for the technical scheme for performing embodiment of the method shown in Fig. 1, its realization principle
Similar with technique effect, here is omitted.
Fig. 6 is the structural representation for the electronic equipment that the embodiment of the present invention two provides.As shown in fig. 6, the embodiment of the present invention
The electronic equipment of offer on the basis of embodiment illustrated in fig. 5, in addition to:
Receiving module 601, for receiving the calibration indication signal of user's input.
Display module 501 is specifically used for:
The first acceleration magnitude of electronic equipment is detected, if the first acceleration magnitude is g, electronic equipment is in first level position
Put, wherein, g is acceleration of gravity.
Detection module 502 is specifically used for:
The second acceleration magnitude of electronic equipment is detected, if the second acceleration magnitude is-g, it is horizontal that electronic equipment is in second
Position.
Detection module 502 is specifically used for:
The capacitance between all pressure sensors and hardware is detected at predetermined intervals, obtains multigroup electricity
Capacitance;
The average capacitance value of multigroup capacitance is determined, and using average capacitance value as calibration capacitance value.
The electronic equipment of the embodiment of the present invention is used for the technical scheme for performing embodiment of the method shown in Fig. 2, its realization principle
Similar with technique effect, here is omitted.
Fig. 7 is the structural representation for the electronic equipment that the embodiment of the present invention three provides.As shown in fig. 7, the present embodiment provides
Electronic equipment include:
Memory 701 and processor 702.
Memory 701 is used to store execute instruction, and processor 702 can be a central processing unit (Central
Processing Unit, CPU), or specific integrated circuit (Application Specific Integrated
Circuit, ASIC), or complete to implement one or more integrated circuits of the embodiment of the present invention.When touch screen calibration program
During operation, communicated between processor 702 and memory 701, the call executive instruction of processor 702, for performing following operation:
If detecting, electronic equipment is in first level position, to be calibrated in the touch screen display of the electronic equipment
Point, the point to be calibrated are used to prompt user to be used as the strong point so that the electronic equipment is in second using the point to be calibrated
Horizontal level;
If detect the pressure sensor on the electronic equipment described in distance in be calibrated pre-determined distance and the electricity
Capacitance between the hardware of sub- equipment generates the change more than predetermined threshold value, and detects at the electronic equipment
In second horizontal level, then all pressure sensors of the electronic equipment and the metal structure of the electronic equipment are detected
Capacitance between part, calibration capacitance value is determined according to the capacitance;
Offset data after calibration is determined according to the weight of the calibration capacitance value and the electronic equipment.
Processor 702 is additionally operable to perform following operation:
Detect the first acceleration magnitude of the electronic equipment;
If first acceleration magnitude is g, the electronic equipment is in first level position, wherein, the g is gravity
Acceleration.
Processor 702 is additionally operable to perform following operation:
Detect the second acceleration magnitude of the electronic equipment;
If second acceleration magnitude is-g, the electronic equipment is in the second horizontal level.
Processor 702 is additionally operable to perform following operation:
The capacitance between all pressure sensors and hardware is detected at predetermined intervals, is obtained more
Group capacitance;
The average capacitance value of multigroup capacitance is determined, and using the average capacitance value as the calibration capacitance value.
Processor 702 is additionally operable to perform following operation:
Receive the calibration indication signal of user's input.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above-mentioned each method embodiment can lead to
The related hardware of programmed instruction is crossed to complete.Foregoing program can be stored in a computer read/write memory medium.The journey
Sequence upon execution, execution the step of including above-mentioned each method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or
Person's CD etc. is various can be with the medium of store program codes.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;To the greatest extent
The present invention is described in detail with reference to foregoing embodiments for pipe, it will be understood by those within the art that:Its according to
The technical scheme described in foregoing embodiments can so be modified, either which part or all technical characteristic are entered
Row equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention technology
The scope of scheme.