CN105224133B - A kind of pressure calibration method and device - Google Patents

A kind of pressure calibration method and device Download PDF

Info

Publication number
CN105224133B
CN105224133B CN201510650323.XA CN201510650323A CN105224133B CN 105224133 B CN105224133 B CN 105224133B CN 201510650323 A CN201510650323 A CN 201510650323A CN 105224133 B CN105224133 B CN 105224133B
Authority
CN
China
Prior art keywords
pressure
value
pressure value
calibration
touch
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.)
Expired - Fee Related
Application number
CN201510650323.XA
Other languages
Chinese (zh)
Other versions
CN105224133A (en
Inventor
张海平
周意保
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510650323.XA priority Critical patent/CN105224133B/en
Publication of CN105224133A publication Critical patent/CN105224133A/en
Application granted granted Critical
Publication of CN105224133B publication Critical patent/CN105224133B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Position Input By Displaying (AREA)

Abstract

The embodiment of the invention discloses a kind of pressure calibration method and device, wherein, this method includes:Pressure sensor by being arranged at terminal device obtains the initial pressure value of at least one location point on the touch-screen of the terminal device, obtain initial pressure value set, wherein, the initial pressure value set includes at least one initial pressure value, and each described initial pressure value is corresponding with location point each described;According to default pressure calibration rule, pressure calibration is carried out to the initial pressure value in the initial pressure value set.Implement the embodiment of the present invention, pressure calibration can be carried out to the initial pressure value of pressure sensor by default pressure calibration rule, so as to the accuracy of adherence pressure measurement.

Description

A kind of pressure calibration method and device
Technical field
The present invention relates to communication technical field, more particularly to a kind of pressure calibration method and device.
Background technology
With the development of terminal technology and the lifting of people's living standard, the work(that can be realized in various terminals such as mobile phone Can be also more and more, the life to people brings great convenience.For example all it is built-in with pressure sensor in current many mobile phones Sensor, for height above sea level measurement, assisting navigation, indoor positioning etc., it may also be used for user is to handset touch panel for detection Touch pressure, to perform corresponding function according to the touch pressure.However, the sensor in mobile phone is often because worker installs The otherness of problem or sensor devices in itself causes mobile phone pressure sensor to have an initial pressure value, and different mobile phones Pressure sensor initial pressure value is different, this allow for pressure sensor can not accurate measurement user's touch operation actually enter Touch pressure, cause Consumer's Experience effect poor.
The content of the invention
, can be right by default pressure calibration rule the embodiments of the invention provide a kind of pressure calibration method and device The initial pressure value of pressure sensor carries out pressure calibration, so as to the accuracy of adherence pressure measurement.
The embodiment of the invention discloses a kind of pressure calibration method, including:
Pressure sensor by being arranged at terminal device obtains at least one position on the touch-screen of the terminal device Initial pressure value a little is put, obtains initial pressure value set, wherein, the initial pressure value set includes at least one initial Pressure value, each described initial pressure value are corresponding with location point each described;
According to default pressure calibration rule, pressure school is carried out to the initial pressure value in the initial pressure value set It is accurate.
Optionally, it is described according to default pressure calibration rule, to the initial pressure value in the initial pressure value set Pressure calibration is carried out, including:
Obtain default pressure calibration value;
Using all initial pressure values in the initial pressure value set as target pressure value, and according to the pressure school Quasi- value carries out pressure calibration to the target pressure value.
Optionally, it is described according to default pressure calibration rule, to the initial pressure value in the initial pressure value set Pressure calibration is carried out, including:
Default pressure calibration value is obtained, and determines that pressure value is higher than the pressure from the initial pressure value set The initial pressure value of calibration value;
Using initial pressure value of the pressure value higher than the pressure calibration value as target pressure value, and according to the pressure school Quasi- value carries out pressure calibration to the target pressure value.
Optionally, it is described that pressure calibration is carried out to the target pressure value according to the pressure calibration value, including:
Calculate the difference between the pressure calibration value and each target pressure value;
The difference is stored, the target pressure value on the touch-screen is corresponded to so that the pressure sensor detects Location point when carrying out the pressure value that touch operation obtains, using the difference of the pressure value and the difference as to the target pressure Force value calibrated after pressure output value.
Optionally, obtained in the pressure sensor by being arranged at terminal device on the touch-screen of the terminal device At least one location point initial pressure value before, methods described also includes:
Whether the touch-screen of detection terminal equipment is in horizontality;
If the touch-screen is in horizontality, performs the pressure sensor by being arranged at terminal device and obtain The step of initial pressure value of at least one location point on the touch-screen of the terminal device.
Optionally, the touch-screen is divided into multiple touch areas in advance, each position at least one location point Put the touch area for a little belonging to different.
Correspondingly, the embodiment of the invention also discloses a kind of pressure calibration device, including:
Pressure acquisition module, for obtaining the touch of the terminal device by being arranged at the pressure sensor of terminal device The initial pressure value of at least one location point on screen, obtains initial pressure value set, wherein, in the initial pressure value set It is corresponding with location point each described including at least one initial pressure value, each described initial pressure value;
Calibration module, for regular according to default pressure calibration, to the initial pressure in the initial pressure value set Value carries out pressure calibration.
Optionally, the calibration module includes:
Determining unit, for obtaining default pressure calibration value, and will be all initial in the initial pressure value set Pressure value is as target pressure value;
Pressure calibration unit, for the pressure calibration value that is obtained according to the determining unit to the target pressure value Carry out pressure calibration.
Optionally, the calibration module includes:
Determining unit, for obtaining default pressure calibration value, pressure value is determined from the initial pressure value set Higher than the initial pressure value of the pressure calibration value, and using initial pressure value of the pressure value higher than the pressure calibration value as mesh Mark pressure value;
Pressure calibration unit, for the pressure calibration value that is obtained according to the determining unit to the target pressure value Carry out pressure calibration.
Optionally, the pressure calibration unit is specifically used for:
Calculate the difference between the pressure calibration value and each target pressure value;The difference is stored, so that institute State pressure sensor and detect what location point progress touch operation corresponding to the target pressure value on the touch-screen was obtained During pressure value, using the difference of the pressure value and the difference as the pressure output after being calibrated to the target pressure value Value.
Optionally, described device also includes:
Whether detection module, the touch-screen for detection terminal equipment are in horizontality;
Notification module, for when the detection module detects that the touch-screen is in horizontality, notifying the pressure It is at least one on the touch-screen that power acquisition module passes through the pressure sensor acquisition terminal device for being arranged at terminal device The initial pressure value of location point.
Optionally, the touch-screen is divided into multiple touch areas in advance, each position at least one location point Put the touch area for a little belonging to different.
The embodiment of the present invention can obtain the touch-screen of the terminal device by being arranged at the pressure sensor of terminal device On at least one location point initial pressure value, and according to default pressure calibration rule, realize and the initial pressure value entered Row pressure calibration, so as to realize the calibration to pressure sensor so that pressure sensor after calibration can accurate measurement obtain The touch pressure that user's touch operation actually enters, improves the accuracy of pressure measxurement, and enhances Consumer's Experience.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, it will use below required in embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of pressure calibration method provided in an embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another pressure calibration method provided in an embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another pressure calibration method provided in an embodiment of the present invention;
Fig. 4 is a kind of structural representation of pressure calibration device provided in an embodiment of the present invention;
Fig. 5 is the structural representation of another pressure calibration device provided in an embodiment of the present invention;
Fig. 6 is the structural representation of another pressure calibration device provided in an embodiment of the present invention;
Fig. 7 is a kind of structural representation of terminal device provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
, can be by pressure sensing the embodiment of the invention discloses a kind of pressure calibration method, apparatus and terminal device The initial pressure value of device carries out calibration of the pressure calibration realization to pressure sensor, so as to improve the accuracy of pressure measxurement. Describe in detail individually below.
Referring to Fig. 1, Fig. 1 is a kind of schematic flow sheet of pressure calibration method provided in an embodiment of the present invention, specifically, As shown in figure 1, the pressure calibration method may comprise steps of:
S101:Pressure sensor by being arranged at terminal device obtains at least one on the touch-screen of the terminal device The initial pressure value of individual location point, obtain initial pressure value set.
Wherein, the initial pressure value set includes at least one initial pressure value, each described initial pressure value It is corresponding with location point each described.
It should be noted that the methods described of the embodiment of the present invention can be applied particularly to terminal device (be also referred to as terminal, User terminal, mobile terminal, user equipment etc.) in, the terminal device can include but is not limited to smart mobile phone (such as Android phone, iOS mobile phones etc.), tablet personal computer, mobile internet device (Mobile Internet Devices, referred to as " MID "), personal digital assistant (Personal Digital Assistant, referred to as " PDA ") etc. be provided with pressure sensor Terminal.
In specific embodiment, the pressure of pressure sensor (sensor) detection terminal touch-screen of terminal built-in can be passed through Value, i.e. initial pressure value, multiple positions that specifically can be when terminal is completed to install by the pressure sensor to terminal touch screen Point measures to obtain multiple initial pressure values, the corresponding initial pressure value of each location point, with according to the initial pressure value Realize the calibration to pressure sensor.Wherein, the plurality of initial pressure value forms a pressure value set.Specifically, this is first Beginning pressure value can refer specifically to pressure value of no external force as the lower pressure sensor.
S102:According to default pressure calibration rule, the initial pressure value in the initial pressure value set is pressed Power is calibrated.
As an alternative embodiment, it is described according to default pressure calibration rule, to the initial pressure value collection Initial pressure value in conjunction carries out pressure calibration, can be specially:Obtain default pressure calibration value;By the initial pressure value All initial pressure values in set are carried out as target pressure value, and according to the pressure calibration value to the target pressure value Pressure calibration.
As an alternative embodiment, it is described according to default pressure calibration rule, to the initial pressure value collection Initial pressure value in conjunction carries out pressure calibration, can be specially:Obtain default pressure calibration value, and from the initial pressure Determine that pressure value is higher than the initial pressure value of the pressure calibration value in value set;Pressure value is higher than the pressure calibration value Initial pressure value as target pressure value, and according to the pressure calibration value to the target pressure value carry out pressure calibration.
In specific embodiment, detecting to obtain the initial of at least one location point of terminal touch screen by pressure sensor Pressure value, that is, the pressure sensor is detected after the initial pressure value of at least one location point of the terminal touch screen, i.e., Pressure calibration can be carried out to the initial pressure value by default pressure calibration rule, for example the initial pressure value is zeroed out Calibration etc., so as to realize the calibration to the pressure sensor, pressure inspection is carried out to lift the pressure sensor in practical application The accuracy of survey.
In embodiments of the present invention, touching for the terminal device can be obtained by being arranged at the pressure sensor of terminal device The initial pressure value of at least one location point on screen is touched, and according to default pressure calibration rule, is realized to the initial pressure Value carries out pressure calibration, so as to realize the calibration to pressure sensor so that the pressure sensor after calibration being capable of accurate measurement The touch pressure that user's touch operation actually enters is obtained, improves the accuracy of pressure measxurement, and enhances Consumer's Experience.
Further, referring to Fig. 2, the flow that Fig. 2 is another pressure calibration method provided in an embodiment of the present invention is shown It is intended to, specifically, as shown in Fig. 2 the methods described of the embodiment of the present invention may comprise steps of:
S201:Whether the touch-screen of detection terminal equipment is in horizontality.
S202:If the touch-screen is in horizontality, institute is obtained by the pressure sensor for being arranged at terminal device The initial pressure value of at least one location point on the touch-screen of terminal device is stated, obtains initial pressure value set.
Optionally, the touch-screen can be divided into multiple touch areas in advance, each at least one location point Location point can belong to different touch areas, to realize the equilibrium of pressure calibration.
In specific embodiment, when carrying out pressure calibration to pressure sensor, first terminal touch screen can be placed in horizontal State (can also further control terminal screen upward), to more precisely detect the first of multiple location points on terminal touch screen Beginning pressure value.Specifically, initial pressure value can be carried out to four corners of the multiple location points of terminal touch screen such as terminal touch screen Detection, also terminal touch screen can be divided into four touch areas in advance, and the location point in four corners is carried out respectively Pressure detecting.
S203:Obtain default pressure calibration value.
Wherein, the pressure calibration value can be set by system default in advance, or, can also be by Terminal Design personnel according to difference Terminal models and the element such as user's request carry out self-defined setting and obtain, the embodiment of the present invention does not limit.
S204:Using all initial pressure values in the initial pressure value set as target pressure value, and described in calculating Difference between pressure calibration value and each target pressure value.
S205:The difference is stored, so that the pressure sensor is detected to the goal pressure on the touch-screen When location point corresponding to value carries out the pressure value that touch operation obtains, using the poor as to described of the pressure value and the difference Target pressure value calibrated after pressure output value.
Wherein, location point can refer to the optional position of the target pressure value region corresponding to the target pressure value Point.
As an example it is assumed that the initial pressure value that the location point progress pressure detecting to four corners obtains respectively is distinguished For 0.1N (newton), 0.2N, 0.4N and 0.3N, the default pressure calibration value is 0.2N, then can be according to the 0.2N to the detection To initial pressure value calibrated so that the pressure value of each location point is balanced., can be by recording the pressure when being calibrated Power calibration value 0.2N and all initial pressure values (i.e. target pressure value) difference, that is, be followed successively by 0.1N, 0, -0.2N, -0.1N, The touch pressure that packing pressure sensor is inputted according to the difference to user is calibrated.For example, if user is at this Initial value is that the touch pressure of a certain location point input in 0.1N corresponding regions is that (0.5N is detected 0.5N for pressure sensor The value arrived), then can be by 0.5N difference 0.1Ns corresponding with the initial pressure value 0.1 (i.e. pressure calibration value 0.2N and initial pressure Force value 0.1N difference) difference be output valves of the 0.4N as the pressure sensor, the i.e. corresponding user of the output valve actually enters Pressure value be touch pressure.In another example the if touch of a certain location point input in the initial value is 0.4N corresponding regions Pressure is 0.5N (0.5N is the value that pressure sensor detects), then can be corresponding with the initial pressure value 0.4 by the 0.5N Difference (- 0.2) N (i.e. pressure calibration value 0.2N and initial pressure value 0.4N difference) difference is 0.7N as the pressure sensor Output valve.So as to realize the calibration to the pressure sensor, enabling the output valve is defined as into what user actually entered Pressure value, so as to perform operation corresponding to the output valve, for example perform preset function corresponding with the output valve.
In other alternative-embodiments, after the initial pressure value of multiple location points is acquired, can also be directed to should Initial pressure value is zeroed out calibration, and when carrying out touch operation to terminal touch screen so as to user, terminal can be pressed quickly Force-responsive, and the pressure value of each location point is balanced.
In embodiments of the present invention, touching for the terminal device can be obtained by being arranged at the pressure sensor of terminal device Touch the initial pressure value of multiple location points on screen, and according to default pressure calibration value acquire the pressure calibration value with it is each The difference of initial pressure value, the touch pressure so as to be inputted according to the difference to the user of subsequent detection are calibrated, from And realize the calibration to pressure sensor so that pressure sensor after calibration can accurate measurement obtain user's touch operation The touch pressure actually entered, improves the accuracy of pressure measxurement, and enhances Consumer's Experience.
Further, referring to Fig. 3, the flow that Fig. 3 is another pressure calibration method provided in an embodiment of the present invention is shown It is intended to, specifically, as shown in figure 3, the methods described of the embodiment of the present invention may comprise steps of:
S301:Whether the touch-screen of detection terminal equipment is in horizontality.
S302:If the touch-screen is in horizontality, institute is obtained by the pressure sensor for being arranged at terminal device The initial pressure value of at least one location point on the touch-screen of terminal device is stated, obtains initial pressure value set.
Optionally, the touch-screen can be divided into multiple touch areas in advance, each at least one location point Location point can belong to different touch areas.
In specific embodiment, when carrying out pressure calibration to pressure sensor, first terminal touch screen can be placed in horizontal State, to more precisely detect the initial pressure value of multiple location points on terminal touch screen.Specifically, terminal can be touched Four corners for shielding multiple location points such as terminal touch screen carry out initial pressure value detection, in advance can also draw terminal touch screen It is divided into four touch areas, and pressure detecting is carried out to the location point in four corners respectively.
S303:Default pressure calibration value is obtained, and determines that pressure value is higher than institute from the initial pressure value set State the initial pressure value of pressure calibration value.
Wherein, the pressure calibration value can be set by system default in advance, or, can also be by Terminal Design personnel according to difference Terminal models and the element such as user's request carry out self-defined setting and obtain, the embodiment of the present invention does not limit.
S304:Using initial pressure value of the pressure value higher than the pressure calibration value as target pressure value, and described in calculating Difference between pressure calibration value and each target pressure value.
S305:The difference is stored, so that the pressure sensor is detected to the goal pressure on the touch-screen When location point corresponding to value carries out the pressure value that touch operation obtains, using the poor as to described of the pressure value and the difference Target pressure value calibrated after pressure output value.
Wherein, location point can refer to the optional position of the target pressure value region corresponding to the target pressure value Point.
As an example it is assumed that the initial pressure value that the location point progress pressure detecting to four corners obtains respectively is distinguished For 0.1N (newton), 0.2N, 0.4N and 0.3N, the default pressure calibration value is 0.2N, then can be according to the 0.2N to the detection To initial pressure value calibrated.When being calibrated, it is initial higher than pressure calibration value 0.2N that pressure value can be filtered out Pressure value records the pressure calibration value 0.2N and the target pressure value difference as target pressure value, i.e. 0.4N, 0.3N, It is followed successively by -0.2N, -0.1N so that packing pressure sensor can be carried out according to the touch pressure that the difference inputs to user Calibration, initial pressure value 0.1N, 0.2N not higher than pressure calibration value 0.2N are then without processing.For example, if user is at this Initial value is that the touch pressure of a certain location point input in 0.4N corresponding regions is that (0.5N is detected 0.5N for pressure sensor The value arrived), then can by 0.5N difference (- 0.2) Ns corresponding with the initial pressure value 0.4 (i.e. pressure calibration value 0.2N with it is initial Pressure value 0.4N difference) difference be output valves of the 0.7N as the pressure sensor.So as to realize to the pressure sensor Calibration, by the way that more than 0.2N initial pressure value is pulled down into pressure calibration value 0.2, and for pressure calibration value below 0.2 Without processing, this allows for mobile phone pressure consistency and is protected pressure value.
In embodiments of the present invention, touching for the terminal device can be obtained by being arranged at the pressure sensor of terminal device Touch the initial pressure value of multiple location points on screen, and according to default pressure calibration value acquire the pressure calibration value with it is each Initial pressure value in initial pressure value higher than the pressure calibration value is the difference of target pressure value, so as to according to the difference The touch pressure inputted to the user of subsequent detection is calibrated, it is achieved thereby that the calibration to pressure sensor so that calibration Pressure sensor afterwards can accurate measurement obtain the touch pressure that user's touch operation actually enters, improve pressure measxurement Accuracy, and enhance Consumer's Experience.
Referring to Fig. 4, Fig. 4 is a kind of structural representation of pressure calibration device provided in an embodiment of the present invention, specifically, As shown in figure 4, the calibrating installation of the embodiment of the present invention can include pressure acquisition module 11 and calibration module 12.Its In,
The pressure acquisition module 11, the terminal device is obtained for the pressure sensor by being arranged at terminal device Touch-screen at least one location point initial pressure value, obtain initial pressure value set.
It should be noted that the described device of the embodiment of the present invention can specifically be arranged at terminal device (be also referred to as terminal, User terminal, mobile terminal, user equipment etc.) in, the terminal device can include but is not limited to smart mobile phone (such as Android phone, iOS mobile phones etc.), tablet personal computer, mobile internet device (Mobile Internet Devices, referred to as " MID "), personal digital assistant (Personal Digital Assistant, referred to as " PDA ") etc. be provided with pressure sensor Terminal.
Wherein, the initial pressure value set includes at least one initial pressure value, each described initial pressure value It is corresponding with location point each described.The touch-screen can be divided into multiple touch areas, at least one position in advance Each location point can belong to different touch areas in putting a little.
In specific embodiment, pressure acquisition module 11 can pass through pressure sensor (sensor) detection terminal of terminal built-in The pressure value of touch-screen, i.e. initial pressure value, terminal can specifically be touched by the pressure sensor when terminal is completed to install Multiple location points of screen measure to obtain multiple initial pressure values, the corresponding initial pressure value of each location point, with basis The initial pressure value realizes the calibration to pressure sensor, and the plurality of initial pressure value forms a pressure value set.Specifically , the initial pressure value can refer specifically to pressure value of no external force as the lower pressure sensor.
The calibration module 12, for regular according to default pressure calibration, to first in the initial pressure value set Beginning pressure value carries out pressure calibration.
In specific embodiment, detect by pressure sensor to obtain at least the one of terminal touch screen in pressure acquisition module 11 The initial pressure value of individual location point, that is, detect the pressure sensor the terminal touch screen at least one location point it is initial After pressure value, calibration module 12 can be calibrated by default pressure calibration rule to the initial pressure value, such as right The initial pressure value is zeroed out calibration etc., should in practical application to be lifted so as to realize the calibration to the pressure sensor Pressure sensor carries out the accuracy of pressure detecting.
Further, in an alternate embodiment of the invention, described device may also include (not shown):
Whether detection module 13, the touch-screen for detection terminal equipment are in horizontality;
Notification module 14, for when the detection module 13 detects that the touch-screen is in horizontality, notifying institute State pressure acquisition module 11 and obtained by being arranged at the pressure sensor of terminal device on the touch-screen of the terminal device extremely The initial pressure value of a few location point.
Specifically, before the initial pressure value that pressure acquisition module 11 obtains at least one location point, inspection can be first passed through Survey module 13 and determine whether upward whether terminal touch screen be in horizontality (can also further determine that terminal screen), and at this When detection module 13 determines to be in the horizontality, you can notify the pressure acquisition module 11 obtains should by notification module 14 Initial pressure value, to more precisely detect the initial pressure value of multiple location points on terminal touch screen.
In embodiments of the present invention, touching for the terminal device can be obtained by being arranged at the pressure sensor of terminal device The initial pressure value of at least one location point on screen is touched, and according to default pressure calibration rule, is realized to the initial pressure Value carries out pressure calibration, so as to realize the calibration to pressure sensor so that the pressure sensor after calibration being capable of accurate measurement The touch pressure that user's touch operation actually enters is obtained, improves the accuracy of pressure measxurement, and enhances Consumer's Experience.
Referring to Fig. 5, Fig. 5 is the structural representation of another pressure calibration device provided in an embodiment of the present invention, specifically , as shown in figure 5, the calibrating installation of the embodiment of the present invention can correspond to the calibrating installation of embodiment including above-mentioned Fig. 4 Pressure acquisition module 11 and calibration module 12.Further, in embodiments of the present invention, the calibration module 12 can be wrapped specifically Include:
Determining unit 121, for obtaining default pressure calibration value, and will be all first in the initial pressure value set Beginning, pressure value was as target pressure value;
Pressure calibration unit 122, for the pressure calibration value that is obtained according to the determining unit 121 to the target Pressure value carries out pressure calibration.
Further, the pressure calibration unit 122 can be specifically used for:
Calculate the difference between the pressure calibration value and each target pressure value;The difference is stored, so that institute State pressure sensor and detect what location point progress touch operation corresponding to the target pressure value on the touch-screen was obtained During pressure value, using the difference of the pressure value and the difference as the pressure output after being calibrated to the target pressure value Value.
Wherein, the pressure calibration value can be set by system default in advance, or, can also be by Terminal Design personnel according to difference Terminal models and the element such as user's request carry out self-defined setting and obtain, the embodiment of the present invention does not limit.
Specifically, pressure acquisition module 11 can enter to four corners of the multiple location points of terminal touch screen such as terminal touch screen Row initial pressure value detects, and also terminal touch screen can be divided into four touch areas in advance, so as to respectively to four angles The location point fallen carries out pressure detecting.
As an example it is assumed that pressure acquisition module 11 carries out what pressure detecting obtained to the location point in four corners respectively Initial pressure value is respectively 0.1N (newton), 0.2N, 0.4N and 0.3N, and the default pressure calibration value is that (or other set 0.2N Definite value), then calibration module 12 can be calibrated according to the 0.2N to the initial pressure value that this is detected so that each location point Pressure value is balanced.Calibration module 12 can determine target pressure value when being calibrated by determining unit 121, i.e., all is first Beginning pressure value, and the pressure calibration value 0.2N and all initial pressure value (i.e. goal pressures are recorded by pressure calibration unit 122 Value) difference, that is, be followed successively by 0.1N, 0, -0.2N, -0.1N so that packing pressure sensor can be defeated to user according to the difference The touch pressure entered is calibrated.If for example, a certain location point input of the user in the initial value is 0.1N corresponding regions Touch pressure is 0.5N (0.5N is the value that pressure sensor detects), then can be right by the 0.5N and the initial pressure value 0.1 The difference 0.1N (i.e. pressure calibration value 0.2N and initial pressure value 0.1N difference) answered difference i.e. 0.4N is as the pressure sensing The output valve of device, the output valve are the pressure value i.e. touch pressure that corresponding user actually enters.In another example if it is in the initial value The touch pressure of a certain location point input in 0.4N corresponding regions is 0.5N (0.5N is the value that pressure sensor detects), Then can be by the 0.5N corresponding with the initial pressure value 0.4 difference (- 0.2) N (i.e. pressure calibration value 0.2N and initial pressure value 0.4N difference) difference be output valves of the 0.7N as the pressure sensor.So as to realize the calibration to the pressure sensor, make The output valve can be defined as the pressure value that user actually enters by obtaining, and so as to perform operation corresponding to the output valve, for example be held The preset function corresponding with the output valve of row.
In embodiments of the present invention, touching for the terminal device can be obtained by being arranged at the pressure sensor of terminal device Touch the initial pressure value of multiple location points on screen, and according to default pressure calibration value acquire the pressure calibration value with it is each The difference of initial pressure value, the touch pressure so as to be inputted according to the difference to the user of subsequent detection are calibrated, from And realize the calibration to pressure sensor so that pressure sensor after calibration can accurate measurement obtain user's touch operation The touch pressure actually entered, improves the accuracy of pressure measxurement, and enhances Consumer's Experience.
Referring to Fig. 6, Fig. 6 is the structural representation of another pressure calibration device provided in an embodiment of the present invention, specifically , as shown in fig. 6, the calibrating installation of the embodiment of the present invention can correspond to the calibrating installation of embodiment including above-mentioned Fig. 4 Pressure acquisition module 11 and calibration module 12.Further, in embodiments of the present invention, the calibration module 12 can be wrapped specifically Include:
Determining unit 123, for obtaining default pressure calibration value, pressure is determined from the initial pressure value set Value higher than the pressure calibration value initial pressure value, and using pressure value higher than the pressure calibration value initial pressure value as Target pressure value;
Pressure calibration unit 124, for the pressure calibration value that is obtained according to the determining unit 123 to the target Pressure value carries out pressure calibration.
Further, the pressure calibration unit 124 can be specifically used for:
Calculate the difference between the pressure calibration value and each target pressure value;The difference is stored, so that institute State pressure sensor and detect what location point progress touch operation corresponding to the target pressure value on the touch-screen was obtained During pressure value, using the difference of the pressure value and the difference as the pressure output after being calibrated to the target pressure value Value.
Specifically, pressure acquisition module 11 can enter to four corners of the multiple location points of terminal touch screen such as terminal touch screen Row initial pressure value detects, and also terminal touch screen can be divided into four touch areas in advance, so as to respectively to four angles The location point fallen carries out pressure detecting.
As an example it is assumed that pressure acquisition module 11 carries out what pressure detecting obtained to the location point in four corners respectively Initial pressure value is respectively 0.1N (newton), 0.2N, 0.4N and 0.3N, and the default pressure calibration value is 0.2N, then calibrating die Block 12 can be calibrated according to the 0.2N to the initial pressure value that this is detected.Calibration module 12 can pass through when being calibrated Determining unit 123 filters out initial pressure value of the pressure value higher than pressure calibration value 0.2N as target pressure value, i.e. 0.4N, 0.3N, and record by pressure calibration unit 124 the pressure calibration value 0.2N and the target pressure value difference, that is, be followed successively by- 0.2N, -0.1N so that packing pressure sensor can be calibrated according to the touch pressure that the difference inputs to user, not high In pressure calibration value 0.2N initial pressure value 0.1N, 0.2N then without processing.For example, if user is in the initial value The touch pressure of a certain location point input in 0.4N corresponding regions is 0.5N (0.5N is the value that pressure sensor detects), Then can be by the 0.5N corresponding with the initial pressure value 0.4 difference (- 0.2) N (i.e. pressure calibration value 0.2N and initial pressure value 0.4N difference) difference be output valves of the 0.7N as the pressure sensor.So as to realize the calibration to the pressure sensor, lead to Cross and more than 0.2N initial pressure value is pulled down to pressure calibration value 0.2, and for pressure value of the pressure calibration value below 0.2 not Handled, this allows for mobile phone pressure consistency and is protected.
In embodiments of the present invention, touching for the terminal device can be obtained by being arranged at the pressure sensor of terminal device Touch the initial pressure value of multiple location points on screen, and according to default pressure calibration value acquire the pressure calibration value with it is each Initial pressure value in initial pressure value higher than the pressure calibration value is the difference of target pressure value, so as to according to the difference The touch pressure inputted to the user of subsequent detection is calibrated, it is achieved thereby that the calibration to pressure sensor so that calibration Pressure sensor afterwards can accurate measurement obtain the touch pressure that user's touch operation actually enters, improve pressure measxurement Accuracy, and enhance Consumer's Experience.
Referring to Fig. 7, Fig. 7 is a kind of structural representation of terminal device provided in an embodiment of the present invention.Specifically, as schemed Shown in 7, the terminal device of the embodiment of the present invention can include:At least one processor 100, at least one input unit 200, at least one output device 300, the grade component of memory 500.Wherein, these components are entered by one or more bus 400 Row communication connection.It will be understood by those skilled in the art that the structure of the terminal device shown in Fig. 7 is not formed to of the invention real The restriction of example is applied, it both can be busbar network or hub-and-spoke configuration, can also include more more or less than illustrating Part, either combine some parts or different parts arrangement.Wherein:
Processor 100 is the control centre of terminal device, utilizes each of various interfaces and the whole terminal device of connection Individual part, by running or performing the program and/or module that are stored in memory 500, and call and be stored in memory 500 Interior data, to perform the various functions of terminal device and processing data.Processor 100 can be by integrated circuit (Integrated Circuit, abbreviation IC) is formed, such as can be made up of the IC of single encapsulation, can also be by more of connection The encapsulation IC of identical function or difference in functionality and form.For example, processor 100 can only include central processing unit (Central Processing Unit, abbreviation CPU) or CPU, digital signal processor (digital signal Processor, abbreviation DSP), graphics processor (Graphic Processing Unit, abbreviation GPU) and various control chips Combination.In embodiments of the present invention, CPU can be single arithmetic core, can also include multioperation core.
It is first-class that input unit 200 can include the touch-screen of standard, keyboard, shooting, can also include wireline interface, wireless Interface etc..
Output device 300 can include display screen, loudspeaker etc., can also include wireline interface, wave point etc..
Memory 500 can be used for storage software program and module, processor 100, input unit 200 and output device 300 by calling the software program and module that are stored in memory 500, so as to perform the various functions application of terminal device And realize data processing.Memory 500 mainly includes program storage area and data storage area, wherein, program storage area can be deposited Application program needed for storage operating system, at least one function etc.;Data storage area can store uses institute according to terminal device Data of establishment etc..In embodiments of the present invention, operating system can be android system, iOS system or Windows operations System etc..
Specifically, processor 100 calls the application program being stored in memory 500, for performing following steps:
Pressure sensor by being arranged at terminal device obtains at least one position on the touch-screen of the terminal device Initial pressure value a little is put, obtains initial pressure value set, wherein, the initial pressure value set includes at least one initial Pressure value, each described initial pressure value are corresponding with location point each described;
According to default pressure calibration rule, pressure school is carried out to the initial pressure value in the initial pressure value set It is accurate.
Optionally, processor 100 calls the application program being stored in memory 500 to perform described according to default pressure Calibration rule, pressure calibration is carried out to the initial pressure value in the initial pressure value set, specifically performs following steps:
Obtain default pressure calibration value;
Using all initial pressure values in the initial pressure value set as target pressure value, and according to the pressure school Quasi- value carries out pressure calibration to the target pressure value.
Optionally, processor 100 calls the application program being stored in memory 500 to perform described according to default pressure Calibration rule, pressure calibration is carried out to the initial pressure value in the initial pressure value set, specifically performs following steps:
Default pressure calibration value is obtained, and determines that pressure value is higher than the pressure from the initial pressure value set The initial pressure value of calibration value;
Using initial pressure value of the pressure value higher than the pressure calibration value as target pressure value, and according to the pressure school Quasi- value carries out pressure calibration to the target pressure value.
Optionally, processor 100 calls the application program being stored in memory 500 to perform described according to the pressure school Quasi- value carries out pressure calibration to the target pressure value, specifically performs following steps:
Calculate the difference between the pressure calibration value and each target pressure value;
The difference is stored, the target pressure value on the touch-screen is corresponded to so that the pressure sensor detects Location point when carrying out the pressure value that touch operation obtains, using the difference of the pressure value and the difference as to the target pressure Force value calibrated after pressure output value.
Optionally, processor 100 calls the application program being stored in memory 500 to perform described by being arranged at terminal Before the pressure sensor of equipment obtains the initial pressure value of at least one location point on the touch-screen of the terminal device, also For performing following steps:
Whether horizontality is in the touch-screen of the detection terminal equipment;
If the touch-screen is in horizontality, performs the pressure sensor by being arranged at terminal device and obtain The step of initial pressure value of at least one location point on the touch-screen of the terminal device.
Optionally, the touch-screen is divided into multiple touch areas in advance, each position at least one location point Put the touch area for a little belonging to different.
In embodiments of the present invention, touching for the terminal device can be obtained by being arranged at the pressure sensor of terminal device The initial pressure value of at least one location point on screen is touched, and according to default pressure calibration rule, is realized to the initial pressure Value carries out pressure calibration, so as to realize the calibration to pressure sensor so that the pressure sensor after calibration being capable of accurate measurement The touch pressure that user's touch operation actually enters is obtained, improves the accuracy of pressure measxurement, and enhances Consumer's Experience.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiment.
In several embodiments provided by the present invention, it should be understood that disclosed apparatus and method, it can be passed through Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only Only a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple units or component can be tied Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or discussed Mutual coupling or direct-coupling or communication connection can be the INDIRECT COUPLINGs or logical by some interfaces, device or unit Letter connection, can be electrical, mechanical or other forms.
Described this as the unit that separating component illustrates can be or may not be it is physically separate, as unit The part of display can be or may not be physical location, you can with positioned at a place, or can also be distributed to more On individual NE.Some or all of unit therein can be selected to realize this embodiment scheme according to the actual needs Purpose.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit realized in the form of SFU software functional unit, can be stored in one and computer-readable deposit In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are causing a computer It is each that equipment (can be personal computer, server, or network equipment etc.) or processor (processor) perform the present invention The part steps of embodiment methods described.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (Read- Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. it is various Can be with the medium of store program codes.
Those skilled in the art can be understood that, for convenience and simplicity of description, only with above-mentioned each functional module Division progress for example, in practical application, can be complete by different functional modules by above-mentioned function distribution as needed Into the internal structure of device being divided into different functional modules, to complete all or part of function described above.On The specific work process of the device of description is stated, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
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.

Claims (6)

  1. A kind of 1. pressure calibration method, it is characterised in that including:
    Pressure sensor by being arranged at terminal device obtains at least one location point on the touch-screen of the terminal device Initial pressure value, obtain initial pressure value set, wherein, the initial pressure value set includes at least one initial pressure Value, each described initial pressure value are corresponding with location point each described;
    According to default pressure calibration rule, pressure calibration is carried out to the initial pressure value in the initial pressure value set;
    Wherein, it is described according to default pressure calibration rule, the initial pressure value in the initial pressure value set is pressed Power is calibrated, including:
    Obtain default pressure calibration value;
    Using all initial pressure values in the initial pressure value set as target pressure value, and according to the pressure calibration value Pressure calibration is carried out to the target pressure value;
    It is described that pressure calibration is carried out to the target pressure value according to the pressure calibration value, including:
    Calculate the difference between the pressure calibration value and each target pressure value;
    The difference is stored, so that the pressure sensor is detected to position corresponding to the target pressure value on the touch-screen When putting the pressure value that a progress touch operation obtains, using the difference of the pressure value and the difference as to the target pressure value Pressure output value after being calibrated.
  2. 2. according to the method for claim 1, it is characterised in that in the pressure sensor by being arranged at terminal device Before the initial pressure value for obtaining at least one location point on the touch-screen of the terminal device, methods described also includes:
    Whether the touch-screen of detection terminal equipment is in horizontality;
    If the touch-screen is in horizontality, perform described in the pressure sensor acquisition by being arranged at terminal device The step of initial pressure value of at least one location point on the touch-screen of terminal device.
  3. 3. according to the method for claim 1, it is characterised in that the touch-screen is divided into multiple touch areas in advance, Each location point belongs to different touch areas at least one location point.
  4. A kind of 4. pressure calibration device, it is characterised in that including:
    Pressure acquisition module, for obtaining the touch-screen of the terminal device by being arranged at the pressure sensor of terminal device At least one location point initial pressure value, obtain initial pressure value set, wherein, the initial pressure value set includes At least one initial pressure value, each described initial pressure value are corresponding with location point each described;
    Calibration module, for according to default pressure calibration rule, entering to the initial pressure value in the initial pressure value set Row pressure calibration;
    Wherein, the calibration module includes:
    Determining unit, for obtaining default pressure calibration value, and by all initial pressures in the initial pressure value set Value is used as target pressure value;
    Pressure calibration unit, for being carried out according to the pressure calibration value that the determining unit obtains to the target pressure value Pressure calibration;
    The pressure calibration unit is specifically used for:
    Calculate the difference between the pressure calibration value and each target pressure value;The difference is stored, so that the pressure Force snesor, which detects, carries out the pressure that touch operation obtains to location point corresponding to the target pressure value on the touch-screen During value, using the difference of the pressure value and the difference as the pressure output value after being calibrated to the target pressure value.
  5. 5. device according to claim 4, it is characterised in that described device also includes:
    Whether detection module, the touch-screen for detection terminal equipment are in horizontality;
    Notification module, for when the detection module detects that the touch-screen is in horizontality, notifying the pressure to obtain At least one position on touch-screen that modulus block passes through the pressure sensor acquisition terminal device for being arranged at terminal device The initial pressure value of point.
  6. 6. device according to claim 4, it is characterised in that the touch-screen is divided into multiple touch areas in advance, Each location point belongs to different touch areas at least one location point.
CN201510650323.XA 2015-10-08 2015-10-08 A kind of pressure calibration method and device Expired - Fee Related CN105224133B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510650323.XA CN105224133B (en) 2015-10-08 2015-10-08 A kind of pressure calibration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510650323.XA CN105224133B (en) 2015-10-08 2015-10-08 A kind of pressure calibration method and device

Publications (2)

Publication Number Publication Date
CN105224133A CN105224133A (en) 2016-01-06
CN105224133B true CN105224133B (en) 2018-01-23

Family

ID=54993149

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510650323.XA Expired - Fee Related CN105224133B (en) 2015-10-08 2015-10-08 A kind of pressure calibration method and device

Country Status (1)

Country Link
CN (1) CN105224133B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105681562B (en) * 2016-01-25 2019-03-01 Oppo广东移动通信有限公司 Touch-control dynamics acquisition methods, touch-control pressure calibration method and mobile terminal
CN105739776B (en) * 2016-01-29 2018-05-29 广东欧珀移动通信有限公司 A kind of calibration method of pressure value, device and mobile terminal
CN107609496B (en) * 2017-08-31 2020-06-12 北京集创北方科技股份有限公司 Calibration method and device of pressure fingerprint module
CN110427126B (en) * 2019-08-07 2020-11-03 北京航空航天大学 Pressure signal correction method and device
CN112558791B (en) * 2020-12-17 2022-11-01 深圳市汇顶科技股份有限公司 Pressure calibration method, test machine, touch chip and touch panel

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3934333C1 (en) * 1989-10-14 1991-03-21 Messerschmitt-Boelkow-Blohm Gmbh, 8012 Ottobrunn, De Tilt plate type keyboard with quartz pressure sensors - uses computer storing geometrical position of each key surface
CN102007465A (en) * 2008-02-28 2011-04-06 纽约大学 Method and apparatus for providing input to a processor, and a sensor pad
CN103019449A (en) * 2012-12-24 2013-04-03 江苏物联网研究发展中心 Three-dimensional multi-point type touch screen based on pressure sensor
KR20130060716A (en) * 2011-11-30 2013-06-10 삼성전자주식회사 Touch input apparatus and method based on pressure sensor
CN103440076A (en) * 2013-08-18 2013-12-11 江苏物联网研究发展中心 Three-dimensional multiple-point type touch screen based on thin film pressure sensors and triaxial accelerometer
CN103823592A (en) * 2014-02-26 2014-05-28 汕头超声显示器(二厂)有限公司 Display device with mechanical sensing function
CN104216597A (en) * 2014-08-18 2014-12-17 深圳市易联技术有限公司 Touch detection method and system of resistive touch screen

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012221310A (en) * 2011-04-11 2012-11-12 Fujitsu Ten Ltd Operation device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3934333C1 (en) * 1989-10-14 1991-03-21 Messerschmitt-Boelkow-Blohm Gmbh, 8012 Ottobrunn, De Tilt plate type keyboard with quartz pressure sensors - uses computer storing geometrical position of each key surface
CN102007465A (en) * 2008-02-28 2011-04-06 纽约大学 Method and apparatus for providing input to a processor, and a sensor pad
KR20130060716A (en) * 2011-11-30 2013-06-10 삼성전자주식회사 Touch input apparatus and method based on pressure sensor
CN103019449A (en) * 2012-12-24 2013-04-03 江苏物联网研究发展中心 Three-dimensional multi-point type touch screen based on pressure sensor
CN103440076A (en) * 2013-08-18 2013-12-11 江苏物联网研究发展中心 Three-dimensional multiple-point type touch screen based on thin film pressure sensors and triaxial accelerometer
CN103823592A (en) * 2014-02-26 2014-05-28 汕头超声显示器(二厂)有限公司 Display device with mechanical sensing function
CN104216597A (en) * 2014-08-18 2014-12-17 深圳市易联技术有限公司 Touch detection method and system of resistive touch screen

Also Published As

Publication number Publication date
CN105224133A (en) 2016-01-06

Similar Documents

Publication Publication Date Title
CN105224133B (en) A kind of pressure calibration method and device
KR102048727B1 (en) Multiple operation modes for a display of an electronic device
CN105159530B (en) A kind of the display object switching method and device of application
KR20140068257A (en) Display deformation detection
CN106468971A (en) The method of pressure and the electronic installation being suitable to the method are sensed by touch sensor
CN107728876A (en) A kind of method of split screen display available, terminal and computer-readable recording medium
EP3095013B1 (en) Method and system for use in connection with an industrial control system
CN107870706A (en) One kind management figure calibration method, terminal and computer-readable medium
US20140152682A1 (en) Display device for displaying multiple screens and method for controlling the same
CN104571829A (en) Display control method of terminal and terminal
CN107181858A (en) A kind of method and terminal for showing notification message
CN108038112A (en) Document handling method, mobile terminal and computer-readable recording medium
CN106651338A (en) Method for payment processing and terminal
CN109933252A (en) A kind of icon moving method and terminal device
CN109509257A (en) Indoor floor rank components pattern forming method, terminal and storage medium
CN105681562A (en) Touch force acquisition method, touch pressure calibration method and mobile terminal
CN106406938A (en) Application download method and terminal
CN105677081B (en) A kind of touch control method and terminal device
CN108052960A (en) Method, model training method and the terminal of identification terminal grip state
CN105159528A (en) Picture content display method and mobile terminal
CN108307055B (en) Electronic device, the guard method fallen and Related product
CN110853720A (en) Service data processing method, device, equipment and storage medium
CN103543933A (en) Method for selecting files and touch terminal
US20150160776A1 (en) Input device, input disabling method, input disabling program, and computer readable recording medium
CN108200290A (en) Electronic device falls damage bad determinations method and Related product

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180123