[go: up one dir, main page]

CN106557201B - Pressure detection method and device - Google Patents

Pressure detection method and device Download PDF

Info

Publication number
CN106557201B
CN106557201B CN201610911459.6A CN201610911459A CN106557201B CN 106557201 B CN106557201 B CN 106557201B CN 201610911459 A CN201610911459 A CN 201610911459A CN 106557201 B CN106557201 B CN 106557201B
Authority
CN
China
Prior art keywords
semaphore
preset position
terminal screen
preset
pressure
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610911459.6A
Other languages
Chinese (zh)
Other versions
CN106557201A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610911459.6A priority Critical patent/CN106557201B/en
Publication of CN106557201A publication Critical patent/CN106557201A/en
Application granted granted Critical
Publication of CN106557201B publication Critical patent/CN106557201B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Measuring Fluid Pressure (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure provides a pressure detection method and device, and belongs to the technical field of terminals. The method comprises the following steps: when the terminal screen is in a natural state, acquiring the semaphore of a preset position of the terminal screen, wherein the natural state is that the terminal screen is in an unpressed state; determining a difference value between the semaphore of the preset position and a reference semaphore of the preset position; if the difference value is larger than the preset threshold value, updating the reference semaphore of the preset position by using the semaphore of the preset position; and when the pressing operation on the terminal screen is detected, performing pressure detection based on the updated reference signal quantity of the preset position. This is disclosed through based on the semaphore of presetting the position when the terminal screen is in the natural state to and the reference semaphore of presetting the position when the terminal screen that stores in the terminal is in the natural state, upgrade this reference semaphore, realize the purpose of calibration, avoid because carry out the problem that press operation leads to the pressure detection accuracy to reduce to the terminal screen for a long time, can improve pressure detection's accuracy.

Description

Pressure detection method and device
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a pressure detection method and apparatus.
Background
The pressure touch technology applied to a terminal screen is one of the most important technical innovations in the terminal technical field in recent years, and the pressure touch technology is that a terminal executes different operations according to different screen pressing pressures of a user so as to achieve the purpose of simplifying user operations. In the pressure touch technology, when a user presses a screen, a pressure sensor detects the magnitude of the pressure based on structural deformation generated by the pressure.
In the related art, the pressure detection method may be: when the terminal detects the pressing operation on the terminal screen, the pressing operation causes the structural deformation of the pressure sensor, the structural deformation generates corresponding pressure semaphore change, the pressure sensor sends the pressure semaphore change to the pressure touch circuit, and the pressure touch circuit determines the pressure value of the pressing operation according to the pressure semaphore change.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a pressure detection method and apparatus.
According to a first aspect of the embodiments of the present disclosure, there is provided a pressure detection method, including:
when a terminal screen is in a natural state, acquiring a semaphore of a preset position of the terminal screen, wherein the natural state is that the terminal screen is in an unpressed state;
determining a difference between the semaphore of the preset position and a reference semaphore of the position;
if the difference value is larger than a preset threshold value, updating the reference semaphore of the preset position by using the semaphore of the preset position;
and when the pressing operation on the terminal screen is detected, performing pressure detection based on the updated reference signal quantity of the preset position.
The reference semaphore is updated based on the semaphore of the preset position when the terminal screen is in the natural state and the reference semaphore of the preset position when the terminal screen stored in the terminal is in the natural state, so that the aim of calibration is fulfilled, pressure detection is carried out according to the updated reference semaphore of the preset position, the problem that the accuracy of pressure detection is reduced due to long-term execution of pressing operation on the terminal screen is avoided, and the aim of improving the accuracy of pressure detection is fulfilled.
In a first possible implementation manner of the first aspect of the present disclosure, the reference semaphore is a semaphore of the preset position when the terminal screen is in a natural state after last calibration; or the like, or, alternatively,
the reference semaphore is the semaphore of the preset position when the terminal screen stored in the terminal is in a natural state when the terminal leaves a factory.
When the pressure detection method provided by the disclosure is calibrated, the calibration can be performed based on the reference signal quantity of the preset position after delivery, and the calibration can also be performed based on the reference signal quantity of the preset position after the last calibration, so that the application scenario of the pressure detection method provided by the disclosure is improved.
In a second possible implementation manner of the first aspect of the present disclosure, the acquiring the semaphore at the preset position of the terminal screen includes:
according to a first preset period, when the terminal screen is in a natural state in the current period, executing the step of acquiring the semaphore of the preset position of the terminal screen.
By periodically calibrating, inconvenience caused by untimely calibration to normal use of a user can be effectively avoided.
In a third possible implementation manner of the first aspect of the present disclosure, updating the reference semaphore at the preset position by using the semaphore at the preset position includes:
determining a preset step length according to the semaphore of the preset position and the reference semaphore of the preset position;
and updating the reference semaphore of the preset position based on the preset step length and the semaphore of the preset position.
In order to avoid the situation that the normal use of the user is influenced by replacing the reference signal quantity of the preset position with the signal quantity of the preset position at one time when the difference value is too large, the calibration is carried out by adopting a segmented updating method, so that the normal use of the user is ensured while the calibration purpose is achieved, and the accuracy of pressure detection is improved.
In a fourth possible implementation manner of the first aspect of the present disclosure, the updating the reference semaphore at the preset position based on the preset step size and the semaphore at the preset position includes:
and gradually updating the reference semaphore of the preset position to the semaphore at any time in each period based on the preset step length according to a second preset period.
By periodically updating the reference semaphore to the semaphore step by step, the accuracy and stability of calibration can be improved, and the accuracy of pressure detection can be further improved.
In a fifth possible implementation manner of the first aspect of the present disclosure, the method further includes:
when the terminal screen comprises a plurality of pressure sensing modules, a calibration base point is selected based on the semaphore and the reference semaphore of each pressure sensing module in the plurality of pressure sensing modules corresponding to a preset position, the reference semaphore of each pressure sensing module corresponding to the preset position is updated based on the semaphore and the reference semaphore of the calibration base point, and the calibration base point is the preset position corresponding to any pressure sensor in the plurality of pressure sensors.
For a terminal comprising a plurality of pressure sensors, a calibration base point is selected according to the semaphore of each pressure sensing module corresponding to the preset position and the reference semaphore, and each pressure sensing module is calibrated based on the calibration base point, so that the calibration precision can be improved, and the accuracy of pressure detection is further improved.
In a sixth possible implementation manner of the first aspect of the present disclosure, the selecting a calibration base point based on the semaphore and the reference semaphore of each pressure sensing module in the plurality of pressure sensing modules corresponding to a preset position includes:
calculating the difference between the semaphore of each pressure sensing module corresponding to the preset position and the reference semaphore;
and selecting the preset position corresponding to the pressure sensing module with the minimum difference value as the calibration base point.
By acquiring the preset position corresponding to the pressure sensing module with the minimum difference between the semaphore and the reference semaphore as the calibration base point, it can be ensured that each pressure sensing module in the plurality of pressure sensing modules can use the same calculation method, pressure detection is performed based on the deformation quantity, and it can be ensured that the sensitivity of each pressure sensing module is not different much, so as to further improve the accuracy of pressure detection.
In a seventh possible implementation manner of the first aspect of the present disclosure, the method further includes:
updating a detection function used for the pressure detection based on the updated reference signal amount, the detection function being a function between the deformation amount of the pressure sensor and the signal amount of the pressure signal.
By updating the detection function for detecting the magnitude of the pressure signal according to the deformation amount, the detection function can be correspondingly adjusted along with the change of the signal amount of the preset position when the terminal screen is in the initial state, and the accuracy of pressure detection can be further improved.
In an eighth possible implementation manner of the first aspect of the present disclosure, the semaphore and the reference semaphore are both the semaphore of the capacitance signal or the semaphore of the pressure signal at a preset position of the terminal screen when the terminal screen is in a natural state.
The reference signal quantity of the preset position is updated according to the pressure signal and the capacitance signal which can visually reflect the use condition of the pressure sensor on the terminal screen, so that the calibration accuracy can be improved, and a foundation is laid for improving the accuracy of pressure measurement.
According to a second aspect of the embodiments of the present disclosure, there is provided a pressure detection apparatus including:
the device comprises a semaphore acquisition module, a semaphore acquisition module and a semaphore acquisition module, wherein the semaphore acquisition module is used for acquiring a semaphore of a preset position of a terminal screen when the terminal screen is in a natural state, and the natural state is that the terminal screen is in an unpressed state;
a difference value determining module, configured to determine a difference value between the semaphore of the preset position acquired by the signal acquiring module and the reference semaphore of the position;
the updating module is used for updating the reference semaphore of the preset position by adopting the semaphore of the preset position if the difference determined by the difference determining module is larger than a preset threshold;
and the pressure detection module is used for carrying out pressure detection on the basis of the updated reference signal quantity of the preset position obtained by updating the updating module when the pressing operation on the terminal screen is detected.
The reference semaphore is updated based on the semaphore of the preset position when the terminal screen is in the natural state and the reference semaphore of the preset position when the terminal screen stored in the terminal is in the natural state, so that the calibration purpose is realized, pressure detection is performed according to the updated reference semaphore of the preset position, the problem that the accuracy of pressure detection is reduced due to long-term execution of pressing operation on the terminal screen is avoided, and the purpose of improving the accuracy of pressure detection is achieved.
In a first possible implementation manner of the second aspect of the present disclosure, the reference semaphore is a semaphore of the preset position when the terminal screen is in a natural state after last calibration; or the like, or, alternatively,
the reference semaphore is the semaphore of the preset position when the terminal screen stored in the terminal is in a natural state when the terminal leaves a factory.
When the pressure detection method provided by the disclosure is calibrated, the calibration can be performed based on the reference signal quantity of the preset position after delivery, and the calibration can also be performed based on the reference signal quantity of the preset position after the last calibration, so that the application scenario of the pressure detection method provided by the disclosure is improved.
In a second possible implementation manner of the second aspect of the present disclosure, the semaphore acquisition module is configured to:
according to a first preset period, when the terminal screen is in a natural state in the current period, executing the step of acquiring the semaphore of the preset position of the terminal screen.
By periodically calibrating, inconvenience caused by untimely calibration to normal use of a user can be effectively avoided.
In a third possible implementation manner of the second aspect of the present disclosure, the update module is configured to:
determining a preset step length according to the semaphore of the preset position and the reference semaphore of the preset position;
and updating the reference semaphore of the preset position based on the preset step length and the semaphore of the preset position.
In order to avoid the situation that the normal use of the user is influenced by replacing the reference signal quantity of the preset position with the signal quantity of the preset position at one time when the difference value is too large, the calibration is carried out by adopting a segmented updating method, so that the normal use of the user is ensured while the calibration purpose is achieved, and the accuracy of pressure detection is improved.
In a fourth possible implementation manner of the second aspect of the present disclosure, the update module is further configured to
And gradually updating the reference semaphore of the preset position to the semaphore at any time in each period based on the preset step length according to a second preset period.
By periodically updating the reference semaphore to the semaphore step by step, the accuracy and stability of calibration can be improved, and the accuracy of pressure detection can be further improved.
In a fifth possible implementation manner of the second aspect of the present disclosure, the apparatus further includes:
the terminal comprises a selecting module and a calibrating base point, wherein the selecting module is used for selecting the calibrating base point based on the semaphore and the reference semaphore of each pressure sensing module in the plurality of pressure sensing modules corresponding to the preset position when the terminal screen comprises the plurality of pressure sensing modules, so that the reference semaphore of each pressure sensing module corresponding to the preset position is updated based on the semaphore and the reference semaphore of the calibrating base point, and the calibrating base point is the preset position corresponding to any pressure sensor in the plurality of pressure sensors.
For a terminal comprising a plurality of pressure sensing modules, a calibration base point is selected according to the semaphore and the reference semaphore of each pressure sensing module corresponding to the preset position, and each pressure sensing module is calibrated based on the calibration base point, so that the calibration precision can be improved, and the accuracy of pressure detection is further improved.
In a sixth possible implementation manner of the second aspect of the present disclosure, the selecting module is configured to:
calculating the difference between the semaphore of each pressure sensing module corresponding to the preset position and the reference semaphore;
and selecting the preset position corresponding to the pressure sensing module with the minimum difference value as the calibration base point.
By acquiring the position corresponding to the pressure sensor with the minimum difference between the signal quantity and the reference signal quantity as the calibration base point, it can be ensured that each of the plurality of pressure sensing modules can use the same calculation method, perform pressure detection based on the deformation quantity, and ensure that the sensitivity of each pressure sensing module is not different much, so as to further improve the accuracy of pressure detection.
In a seventh possible implementation manner of the second aspect of the present disclosure, the update module is further configured to:
updating a detection function used for the pressure detection based on the updated reference signal amount, the detection function being a function between the deformation amount of the pressure sensor and the signal amount of the pressure signal.
By updating the detection function for detecting the magnitude of the pressure signal according to the deformation amount, the detection function can be correspondingly adjusted along with the change of the signal amount of each position when the terminal screen is in the initial state, and the accuracy of pressure detection can be further improved.
In an eighth possible implementation manner of the second aspect of the present disclosure, the semaphore and the reference semaphore are both a semaphore of a capacitance signal or a semaphore of a pressure signal at a preset position of the terminal screen when the terminal screen is in a natural state.
The reference signal quantity of the preset position is updated according to the pressure signal and the capacitance signal which can visually reflect the use condition of the pressure sensor on the terminal screen, so that the calibration accuracy can be improved, and a foundation is laid for improving the accuracy of pressure measurement.
In a third aspect, there is provided a pressure detection apparatus, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when a terminal screen is in a natural state, acquiring a semaphore of a preset position of the terminal screen, wherein the natural state is that the terminal screen is in an unpressed state;
determining a difference between the semaphore of the preset position and a reference semaphore of the position;
if the difference value is larger than a preset threshold value, updating the reference semaphore of the preset position by using the semaphore of the preset position;
and when the pressing operation on the terminal screen is detected, performing pressure detection based on the updated reference signal quantity of the preset position.
The technical scheme provided by the embodiment of the disclosure has the following beneficial effects:
according to the method, the reference semaphore is updated based on the semaphore of the preset position when the terminal screen is in the natural state and the reference semaphore of the preset position when the terminal screen stored in the terminal is in the natural state, the purpose of calibration is achieved, pressure detection is carried out according to the updated reference semaphore of the preset position, the problem that the accuracy of pressure detection is reduced due to the fact that long-term pressing operation is carried out on the terminal screen is avoided, and the purpose of improving the accuracy of pressure detection is achieved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow chart illustrating a method of pressure detection according to an exemplary embodiment;
FIG. 2A is a flow chart illustrating a method of pressure detection according to an exemplary embodiment;
FIG. 2B is a diagram illustrating a terminal screen according to an exemplary embodiment;
FIG. 2C is a diagram illustrating another terminal screen according to an exemplary embodiment;
FIG. 2D is a graph illustrating a detection function according to an exemplary embodiment;
FIG. 3 is a block diagram illustrating a pressure sensing device according to an exemplary embodiment;
fig. 4 is a block diagram illustrating a pressure detection device 400 according to an exemplary embodiment.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure more apparent, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings.
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a pressure detection method according to an exemplary embodiment, where the pressure detection method is used in a terminal as shown in fig. 1, and includes the following steps.
In step 101, when a terminal screen is in a natural state, a semaphore of a preset position of the terminal screen is acquired, where the natural state is that the terminal screen is in an unpressed state.
In step 102, a difference between the semaphore for the preset position and the reference semaphore for the position is determined.
In step 103, if the difference is greater than the preset threshold, the reference semaphore at the preset position is updated with the semaphore at the preset position.
In step 104, when the pressing operation to the terminal screen is detected, pressure detection is performed based on the updated reference signal amount at the preset position.
According to the method provided by the embodiment of the disclosure, the reference semaphore is updated based on the semaphore of the preset position when the terminal screen is in the natural state and the reference semaphore of the preset position when the terminal screen stored in the terminal is in the natural state, so that the purpose of calibration is achieved, pressure detection is performed according to the updated reference semaphore of the preset position, the problem that the accuracy of pressure detection is reduced due to long-term pressing operation performed on the terminal screen is avoided, and the purpose of improving the accuracy of pressure detection is achieved.
In a first possible implementation manner of the present disclosure, the reference semaphore is a semaphore of the preset position when the terminal screen is in a natural state after the last calibration; or the like, or, alternatively,
the reference semaphore is a semaphore of the preset position when the terminal screen stored in the terminal is in a natural state when the terminal leaves a factory.
In a second possible implementation manner of the present disclosure, the acquiring the semaphore at the preset position of the terminal screen includes:
and according to a first preset period, when the terminal screen is in a natural state in the current period, executing the step of acquiring the semaphore of the preset position of the terminal screen.
In a third possible implementation manner of the present disclosure, updating the reference semaphore at the preset position by using the semaphore at the preset position includes:
determining a preset step length according to the semaphore of the preset position and the reference semaphore of the preset position;
and updating the reference semaphore of the preset position based on the preset step length and the semaphore of the preset position.
In a fourth possible implementation manner of the present disclosure, the updating the reference semaphore at the preset position based on the preset step size and the semaphore at the preset position includes:
and gradually updating the reference semaphore of the preset position to the semaphore at any time in each period based on the preset step length according to a second preset period.
In a fifth possible implementation manner of the present disclosure, the method further includes:
when the terminal screen comprises a plurality of pressure sensing modules, a calibration base point is selected based on the semaphore and the reference semaphore of each pressure sensing module in the plurality of pressure sensing modules corresponding to the preset position, the reference semaphore of each pressure sensing module corresponding to the preset position is updated based on the semaphore and the reference semaphore of the calibration base point, and the calibration base point is the preset position corresponding to any pressure sensor in the plurality of pressure sensors.
In a sixth possible implementation manner of the present disclosure, selecting a calibration base point based on the semaphore and the reference semaphore of each pressure sensing module in the plurality of pressure sensing modules corresponding to the preset position includes:
calculating the difference between the semaphore of each pressure sensing module corresponding to the preset position and the reference semaphore;
and selecting the preset position corresponding to the pressure sensing module with the minimum difference value as the calibration base point.
In a seventh possible implementation manner of the present disclosure, the method further includes:
based on the updated reference signal quantity, a detection function used for the pressure detection is updated, the detection function being a function between the deformation quantity of the pressure sensor and the signal quantity of the pressure signal.
In an eighth possible implementation manner of the present disclosure, the semaphore and the reference semaphore are both the semaphore of the capacitance signal or the semaphore of the pressure signal at a preset position of the terminal screen when the terminal screen is in a natural state.
All the above optional technical solutions may be combined arbitrarily to form the optional embodiments of the present disclosure, and are not described herein again.
FIG. 2A is a flow chart illustrating a method of pressure detection according to an exemplary embodiment. The execution subject of this embodiment may be a terminal, and referring to fig. 2A, this embodiment specifically includes:
in step 201, when the terminal screen is in a natural state, the semaphore at the preset position of the terminal screen is acquired, where the natural state is that the terminal screen is in an unpressed state.
In order to avoid the situation that the pressure sensor is deformed due to long-term pressing, and then the accuracy of pressure detection is reduced, the pressure sensor on the terminal screen is calibrated after the terminal leaves a factory when the terminal screen is in a natural state, so that the accuracy of pressure detection of the terminal is improved.
In this disclosure, the semaphore is a semaphore of a capacitance signal or a pressure signal at a preset position on the terminal screen, and the semaphore may also be a deformation signal of the pressure sensor, or another signal capable of representing structural deformation of the pressure sensor.
The preset position may be any position on the terminal screen, such as a middle position or other positions such as an upper left corner, and the specific position and setting method of the preset position are not limited in the embodiments of the present disclosure. It should be noted that, the size of the area occupied by the preset position is not limited in the embodiment of the present disclosure, and the preset position may be formed by a plurality of areas.
In the current terminal using the pressure touch technology, at least one pressure sensing module is generally disposed under a display screen of the terminal, and the at least one pressure sensing module is connected to a pressure touch integrated circuit, as shown in fig. 2B. Based on the terminal shown in fig. 2B, the method for acquiring the semaphore at the preset position of the terminal screen may be: and at any moment when the terminal screen is in a natural state, acquiring the semaphore of a preset position based on the deformation quantity of the pressure sensor module in the natural state through the pressure touch integrated circuit.
In another embodiment of the present disclosure, in order to avoid the irregular calibration causing inconvenience to the normal use of the user, the calibration may be performed periodically, and the specific method may be: and according to a first preset period, when the terminal screen is in a natural state in the current period, executing the step of acquiring the semaphore of the preset position of the terminal screen.
The first preset period may be determined according to the frequency of use of the user, that is, the first preset period is determined according to the number of times that the user presses the terminal screen every day. When the user usage frequency is greater than the preset frequency, the first preset period is determined as a first period, and when the user usage frequency is not greater than the preset frequency, the first preset period is determined as a second period, the first period is smaller than the second period, and the preset frequency may be determined as any fixed value.
For example, when the preset frequency is 50 times/day, if the user usage frequency is greater than the preset frequency, the first preset period is determined to be three months; and if the user use frequency is less than the preset frequency, determining the first preset period as six months.
By determining the first preset period according to the pressing frequency of the user on the terminal screen, the pressure sensor on the terminal of each user can be calibrated in a targeted manner according to the use habits of the user, and the accuracy of pressure detection of each terminal can be further ensured.
Of course, the first preset period may also be determined as a fixed value, or the first preset period is determined by using other methods. By periodically calibrating, inconvenience caused by untimely calibration to normal use of a user can be effectively avoided.
In step 202, a difference between the semaphore for the preset position and the reference semaphore for the position is determined.
The reference signal is the same as the reference signal in step 201, that is, the signal quantity of the capacitance signal or the signal quantity of the pressure signal at the preset position of the terminal screen is also the same when the terminal screen is in the natural state. In the embodiment of the present disclosure, the definition of the reference semaphore may include the following two cases:
in the first case, the reference semaphore is the semaphore of the preset position when the terminal screen stored in the terminal is in a natural state when the terminal leaves the factory.
The reference signal storage method may be: storing the reference signal quantity of the preset position of the terminal screen in a form of a table; of course, the reference semaphore of the corresponding position may also be stored according to the pixel point where the preset position is located, or the reference semaphore of the preset position is stored in other manners.
It should be noted that, when the reference semaphore is a semaphore at a preset position of a screen when the screen is in a natural state when the terminal leaves a factory, the method for acquiring the reference semaphore may be: before leaving the factory, when the terminal screen is in a natural state, recording the semaphore of the preset position, and storing the recorded semaphore of the preset position in the terminal.
In the second case, the reference semaphore is the semaphore at the preset position when the terminal screen is in the natural state after the last calibration.
That is, the basis of the calibration is the semaphore of the preset position when the terminal screen is in the natural state, which is stored after the last calibration. For example, the set of signal quantities T1 represents the signal quantities of the preset positions at the time of factory shipment, the set of signal quantities T2 represents the signal quantities of the preset positions after the first calibration, and the reference signal quantities of the preset positions at the time of the second calibration are the signal quantities of the preset positions represented by the set of signal quantities T2.
In another embodiment of the present disclosure, when a plurality of pressure sensing modules are included on the terminal screen, before determining a difference between a signal quantity of a preset position of the terminal and a reference signal quantity, a calibration base point needs to be selected to calibrate the plurality of pressure sensing modules based on the calibration base point. The specific method for selecting the calibration base point may be as follows: selecting a calibration base point based on the semaphore and the reference semaphore of the corresponding position of each pressure sensor in the plurality of pressure sensors, and updating the reference semaphore of the preset position based on the semaphore and the reference semaphore of the calibration base point, wherein the calibration base point is the position corresponding to any one of the plurality of pressure sensors.
It should be noted that the pressure sensing modules may be a plurality of modules determined according to manual division of the terminal screen by the user, that is, one pressure sensor is included below the terminal screen, and the pressure sensor is divided into a plurality of pressure sensing modules according to the manual division of the user; the plurality of pressure sensing modules may also be a plurality of pressure sensors disposed below the terminal screen, that is, each pressure sensing module corresponds to one pressure sensor, and this is not particularly limited in the embodiments of the present disclosure.
As shown in fig. 2C, the terminal includes a plurality of pressure sensing modules, and the terminal includes 4 pressure sensing modules under a screen, and each pressure sensing module is connected to a pressure touch integrated circuit.
For a terminal comprising a plurality of pressure sensing modules, a calibration base point is selected according to the semaphore and the reference semaphore of each pressure sensing module corresponding to the preset position, and each pressure sensing module is calibrated based on the calibration base point, so that the calibration precision can be improved, and the accuracy of pressure detection is further improved.
Based on the semaphore and the reference semaphore of each pressure sensing module in the plurality of pressure sensing modules corresponding to the preset position, a specific method for selecting the calibration base point may be as follows: calculating the difference between the semaphore of each pressure sensing module corresponding to the preset position and the reference semaphore; and selecting the preset position where the pressure sensing module with the minimum difference is located as the calibration base point.
For example, for the terminal shown in fig. 2C, the terminal screen includes 4 pressure sensing modules numbered i, ii, iii and iv, and if the difference between the semaphore of the preset position and the reference semaphore of the pressure sensing module numbered i is D1, the difference between the semaphore of the preset position and the reference semaphore of the pressure sensing module numbered ii is D2, the difference between the semaphore of the preset position and the reference semaphore of the pressure sensing module numbered iii is D3, the difference between the semaphore of the preset position and the reference semaphore of the pressure sensing module numbered iv is D4, and D1< D2< D3< D4, the preset position corresponding to the pressure sensing module numbered i is selected as the calibration base point.
By acquiring the preset position corresponding to the pressure sensing module with the minimum difference between the signal quantity and the reference signal quantity as the calibration base point, it can be ensured that each of the plurality of pressure sensors can use the same calculation method, pressure detection is performed based on the deformation quantity, and it can be ensured that the sensitivity of each pressure sensing module is not greatly different, so as to further improve the accuracy of pressure detection.
In step 203, if the difference is greater than the preset threshold, the reference semaphore at the preset position is updated with the semaphore at the preset position.
The preset threshold value can be determined to be any fixed value, and the determination method and the specific numerical value of the preset threshold value are not limited in the embodiment of the disclosure. If the difference is greater than the preset threshold, the method for updating the reference semaphore by using the semaphore may be: and replacing the reference signal quantity of the preset position stored in the terminal with the signal quantity of the corresponding position.
It should be noted that, when it is detected that the difference between the semaphore and the reference semaphore is greater than the preset threshold, the updating step may be executed immediately, or may be executed after a preset time interval.
When the difference value between the semaphore at the preset position and the reference semaphore at the preset position is detected to be larger than the preset threshold value, the updating process is executed, the problem that the pressure detection accuracy is reduced due to long-term pressing operation on the terminal screen can be solved, and therefore the purpose of improving the pressure detection accuracy is achieved.
In another embodiment of the present disclosure, in order to avoid a situation that the pressure cannot be normally detected due to an excessively large primary calibration amplitude, the updating step may be executed in a step-by-step calibration manner, and the specific method may be as follows: determining a preset step length according to the semaphore of the preset position and the reference semaphore of the preset position; and updating the reference semaphore of the preset position based on the preset step length and the semaphore of the preset position.
The method for determining the preset step length according to the semaphore at the preset position and the reference semaphore at the preset position may be: and acquiring a difference value between the reference signal quantity and the signal quantity of the preset position, dividing the difference value into preset equal parts, and determining a sub-difference value corresponding to each equal part as the preset step length. For example, when the semaphore at the position and the reference semaphore are 5 and 1, respectively, the difference is 4, the difference is divided into two equal parts, the sub-difference corresponding to each equal part is 2, and the preset step size is 2.
It should be noted that the preset equal division may be determined as any fixed value, and the determination method and the specific numerical value of the preset equal division are not limited in the embodiment of the present disclosure. In order to avoid the situation that the normal use of a user is influenced by replacing the reference signal quantity of the position with the signal quantity of the position at one time when the difference value is too large, the calibration is carried out by adopting a segmented updating method, so that the normal use of the user is ensured while the calibration purpose is achieved, and the accuracy of pressure detection is improved.
In another embodiment of the present disclosure, when the reference semaphore is updated by a piecewise updating method, based on the preset step and the semaphore at the preset position, a specific method for updating the reference semaphore at the preset position may be: and gradually updating the reference semaphore of the preset position to the semaphore at any time in each period based on the preset step length according to a second preset period. The second preset period is smaller than the first preset period, and the determining method and the specific numerical value of the second preset period are not limited in the embodiment of the disclosure.
By periodically updating the reference semaphore to the semaphore step by step, the accuracy and stability of calibration can be improved, and the accuracy of pressure detection can be further improved.
It should be noted that, if the difference is not greater than the preset threshold, it indicates that the reference semaphore currently stored by the terminal can still be used as the reference for pressure detection, and an update operation does not need to be performed, that is, the reference semaphore at the position is still kept unchanged.
In step 204, a detection function used for the pressure detection is updated based on the updated reference signal amount, the detection function being a function between the amount of deformation of the pressure sensor and the signal amount of the pressure signal.
In the embodiment of the disclosure, the magnitude of the pressure signal generated when the user performs the pressing operation on the terminal screen is calculated based on the detection function, that is, the input of the detection function is the deformation amount of the pressure sensor, and the output is the signal amount of the pressure signal. Based on the semaphore at the preset position and the reference semaphore at the preset position, the method for updating the detection function may be: and moving the position of the starting point of the detection function, namely the corresponding deformation amount when the pressure signal is 0, according to the semaphore of the preset position and the reference semaphore of the preset position, and updating the detection function based on the moved position of the starting point of the detection function.
For example, when the detection function is a logarithmic function, the function image corresponding to the detection function is as shown in fig. 2D, if the detection function before update is y kln (x +1), x represents a pressure signal, k represents a coefficient, ln represents a natural logarithmic function with e as a base, y represents a deformation amount or a pressure value, the start point position of the detection function before calibration is a position O (0,0), and when the start point position after the movement is moved to D (e-1, k) as shown in fig. 2D, the detection function after calibration is y kln (x-e +2) + k.
By updating the detection function for detecting the magnitude of the pressure signal according to the deformation amount, the detection function can be correspondingly adjusted along with the change of the signal amount of the preset position when the terminal screen is in the initial state, and the accuracy of pressure detection can be further improved.
It should be noted that, the step 204 is an optional step of the embodiment of the present disclosure, and may or may not be executed, and this is not specifically limited by the embodiment of the present disclosure.
In step 205, when the pressing operation to the terminal screen is detected, pressure detection is performed based on the updated reference signal amount at the preset position.
When the terminal detects the pressing operation of a user on a terminal screen with a pressure sensor arranged below, the pressure sensor uploads the deformation quantity of the pressure sensor caused by the pressing operation to a pressure touch integrated circuit through connection with the pressure touch integrated circuit, so that the pressure touch integrated circuit determines the signal quantity of a pressure signal corresponding to the pressing operation based on the deformation quantity, and corresponding operation can be executed based on the signal quantity of the pressure signal.
For example, when the semaphore of the pressure signal is smaller than a preset magnitude, opening a display interface of an application or an option according to the application or the option corresponding to the pressing operation; and when the semaphore of the pressure signal is larger than or equal to the preset magnitude, displaying a menu bar at the position corresponding to the pressing operation. The determining method and the specific numerical value of the preset size are not limited in the embodiments of the present disclosure.
According to the method provided by the embodiment of the disclosure, the reference semaphore is updated based on the semaphore at the preset position when the terminal screen is in the natural state and the reference semaphore at the preset position when the terminal screen stored in the terminal is in the natural state, so that the aim of calibration is fulfilled, pressure detection is performed according to the updated reference semaphore at the preset position, the problem of reduced pressure detection accuracy caused by long-term pressing operation on the terminal screen is avoided, and the aim of improving the pressure detection accuracy is fulfilled; in order to avoid the situation that the normal use of a user is influenced by replacing the reference signal quantity of the position with the signal quantity of the position at one time when the difference value is too large, the calibration is carried out by adopting a segmented updating method, so that the normal use of the user is ensured while the calibration purpose is achieved, and the accuracy of pressure detection is improved.
FIG. 3 is a block diagram illustrating a pressure detection device according to an exemplary embodiment. Referring to fig. 3, the apparatus includes a semaphore acquisition module 301, a difference determination module 302, an update module 303, and a pressure detection module 304.
The semaphore obtaining module 301 is configured to obtain a semaphore at a preset position of a terminal screen when the terminal screen is in a natural state, where the natural state is that the terminal screen is not pressed;
a difference determining module 302, configured to determine a difference between the semaphore of the preset position acquired by the signal acquiring module 301 and the reference semaphore of the position;
an updating module 303, configured to update the reference semaphore of the preset position by using the semaphore of the preset position if the difference determined by the difference determining module 302 is greater than a preset threshold;
a pressure detection module 304, configured to, when a pressing operation on the terminal screen is detected, perform pressure detection based on the updated reference signal quantity of the preset position updated by the updating module 303.
In a first possible implementation manner provided by the present disclosure, the reference semaphore is a semaphore at the preset position when the terminal screen is in a natural state after the previous calibration; or the like, or, alternatively,
the reference semaphore is the semaphore of the preset position when the terminal screen stored in the terminal is in a natural state when the terminal leaves a factory.
In a second possible implementation manner provided by the present disclosure, the semaphore acquisition module 301 is configured to:
according to a first preset period, when the terminal screen is in a natural state in the current period, executing the step of acquiring the semaphore of the preset position of the terminal screen.
In a third possible implementation manner provided by the present disclosure, the updating module 303 is configured to:
determining a preset step length according to the semaphore of the preset position and the reference semaphore of the preset position;
and updating the reference semaphore of the preset position based on the preset step length and the semaphore of the preset position.
In a fourth possible implementation manner provided by the present disclosure, the updating module 303 is further configured to
And gradually updating the reference semaphore of the preset position to the semaphore at any time in each period based on the preset step length according to a second preset period.
In a fifth possible implementation manner provided by the present disclosure, the apparatus further includes:
the terminal comprises a selecting module and a calibrating base point, wherein the selecting module is used for selecting the calibrating base point based on the semaphore and the reference semaphore of each pressure sensing module in the plurality of pressure sensing modules corresponding to the preset position when the terminal screen comprises the plurality of pressure sensing modules, so that the reference semaphore of each pressure sensing module corresponding to the preset position is updated based on the semaphore and the reference semaphore of the calibrating base point, and the calibrating base point is the preset position corresponding to any pressure sensor in the plurality of pressure sensors.
In a sixth possible implementation manner provided by the present disclosure, the selecting module is configured to:
calculating the difference between the semaphore of each pressure sensing module corresponding to the preset position and the reference semaphore;
and selecting the preset position corresponding to the pressure sensing module with the minimum difference value as the calibration base point.
In a seventh possible implementation manner provided by the present disclosure, the updating module 303 is further configured to:
updating a detection function used for the pressure detection based on the updated reference signal amount, the detection function being a function between the deformation amount of the pressure sensor and the signal amount of the pressure signal.
In an eighth possible implementation manner provided by the present disclosure, the semaphore and the reference semaphore are both the semaphore of the capacitance signal or the semaphore of the pressure signal at a preset position of the terminal screen when the terminal screen is in a natural state.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 4 is a block diagram illustrating a pressure detection device 400 according to an exemplary embodiment. For example, the apparatus 400 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 4, the apparatus 400 may include one or more of the following components: processing component 402, memory 404, power component 406, multimedia component 408, audio component 410, input/output (I/O) interface 412, sensor component 414, and communication component 416.
The processing component 402 generally controls overall operation of the apparatus 400, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 402 can include one or more modules that facilitate interaction between the processing component 402 and other components. For example, the processing component 402 can include a multimedia module to facilitate interaction between the multimedia component 408 and the processing component 402.
The memory 404 is configured to store various types of data to support operations at the apparatus 400. Examples of such data include instructions for any application or method operating on the device 400, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 404 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power supply components 406 provide power to the various components of device 400. The power components 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 400.
The multimedia component 408 includes a screen that provides an output interface between the device 400 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 408 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 400 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 410 is configured to output and/or input audio signals. For example, audio component 410 includes a Microphone (MIC) configured to receive external audio signals when apparatus 400 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 404 or transmitted via the communication component 416. In some embodiments, audio component 410 also includes a speaker for outputting audio signals.
The I/O interface 412 provides an interface between the processing component 402 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 414 includes one or more sensors for providing various aspects of status assessment for the apparatus 400. For example, the sensor assembly 414 may detect an open/closed state of the apparatus 400, the relative positioning of the components, such as a display and keypad of the apparatus 400, the sensor assembly 414 may also detect a change in the position of the apparatus 400 or a component of the apparatus 400, the presence or absence of user contact with the apparatus 400, orientation or acceleration/deceleration of the apparatus 400, and a change in the temperature of the apparatus 400. The sensor assembly 414 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 414 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 416 is configured to facilitate wired or wireless communication between the apparatus 400 and other devices. The apparatus 400 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 416 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 400 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the pressure detection methods described above.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 404 comprising instructions, executable by the processor 420 of the apparatus 400 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, there is also provided a non-transitory computer readable storage medium having instructions that, when executed by a processor of a mobile terminal, enable the mobile terminal to perform a pressure detection method of:
when a terminal screen is in a natural state, acquiring a semaphore of each position of the terminal screen, wherein the natural state is that the terminal screen is in an unpressed state;
for each of the positions, determining a difference between the semaphore for that position and a reference semaphore for that position;
if the difference value is larger than a preset threshold value, updating the reference signal quantity of the position by adopting the signal quantity of the position;
and when the pressing operation on the terminal screen is detected, performing pressure detection based on the updated reference signal quantity of each position.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (15)

1. A method of pressure detection, the method comprising:
when a terminal screen is in a natural state, acquiring a semaphore of a preset position of the terminal screen, wherein the natural state is that the terminal screen is in an unpressed state;
determining a difference between the semaphore of the preset position and a reference semaphore of the position;
if the difference is larger than a preset threshold value, determining a preset step length according to the semaphore of the preset position and the reference semaphore of the preset position;
according to a second preset period, at any time in each period, gradually updating the reference semaphore of the preset position to the semaphore based on the preset step length;
and when the pressing operation on the terminal screen is detected, performing pressure detection based on the updated reference signal quantity of the preset position.
2. The method according to claim 1, wherein the reference semaphore is the semaphore of the preset position when the terminal screen is in a natural state after the last calibration; or the like, or, alternatively,
the reference semaphore is the semaphore of the preset position when the terminal screen stored in the terminal is in a natural state when the terminal leaves a factory.
3. The method according to claim 1, wherein the obtaining the semaphore at the preset position of the terminal screen comprises:
according to a first preset period, when the terminal screen is in a natural state in the current period, executing the step of acquiring the semaphore of the preset position of the terminal screen.
4. The method of claim 1, further comprising:
when the terminal screen comprises a plurality of pressure sensing modules, a calibration base point is selected based on the semaphore and the reference semaphore of each pressure sensing module in the plurality of pressure sensing modules corresponding to a preset position, the reference semaphore of each pressure sensing module corresponding to the preset position is updated based on the semaphore and the reference semaphore of the calibration base point, and the calibration base point is the preset position corresponding to any pressure sensor in the plurality of pressure sensors.
5. The method according to claim 4, wherein selecting a calibration base point based on the semaphore and the reference semaphore of each of the plurality of pressure sensing modules corresponding to the preset position comprises:
calculating the difference between the semaphore of each pressure sensing module corresponding to the preset position and the reference semaphore;
and selecting the preset position corresponding to the pressure sensing module with the minimum difference value as the calibration base point.
6. The method of claim 1, further comprising:
updating a detection function used for the pressure detection based on the updated reference signal amount, the detection function being a function between the deformation amount of the pressure sensor and the signal amount of the pressure signal.
7. The method according to any one of claims 1 to 6, wherein the semaphore and the reference semaphore are both the semaphore of the capacitance signal or the semaphore of the pressure signal at a preset position of the terminal screen when the terminal screen is in a natural state.
8. A pressure sensing device, the device comprising:
the device comprises a semaphore acquisition module, a semaphore acquisition module and a semaphore acquisition module, wherein the semaphore acquisition module is used for acquiring a semaphore of a preset position of a terminal screen when the terminal screen is in a natural state, and the natural state is that the terminal screen is in an unpressed state;
a difference value determining module, configured to determine a difference value between the semaphore of the preset position acquired by the signal acquiring module and the reference semaphore of the position;
an updating module, configured to determine a preset step length according to the semaphore of the preset position and the reference semaphore of the preset position if the difference determined by the difference determining module is greater than a preset threshold;
according to a second preset period, at any time in each period, gradually updating the reference semaphore of the preset position to the semaphore based on the preset step length;
and the pressure detection module is used for carrying out pressure detection on the basis of the updated reference signal quantity of the preset position obtained by updating the updating module when the pressing operation on the terminal screen is detected.
9. The apparatus according to claim 8, wherein the reference semaphore is a semaphore of the preset position when the terminal screen is in a natural state after last calibration; or the like, or, alternatively,
the reference semaphore is the semaphore of the preset position when the terminal screen stored in the terminal is in a natural state when the terminal leaves a factory.
10. The apparatus of claim 8, wherein the semaphore acquisition module is configured to:
according to a first preset period, when the terminal screen is in a natural state in the current period, executing the step of acquiring the semaphore of the preset position of the terminal screen.
11. The apparatus of claim 8, further comprising:
the terminal comprises a selecting module and a calibrating base point, wherein the selecting module is used for selecting the calibrating base point based on the semaphore and the reference semaphore of each pressure sensing module in the plurality of pressure sensing modules corresponding to the preset position when the terminal screen comprises the plurality of pressure sensing modules, so that the reference semaphore of each pressure sensing module corresponding to the preset position is updated based on the semaphore and the reference semaphore of the calibrating base point, and the calibrating base point is the preset position corresponding to any pressure sensor in the plurality of pressure sensors.
12. The apparatus of claim 11, wherein the selection module is configured to:
calculating the difference between the semaphore of each pressure sensing module corresponding to the preset position and the reference semaphore;
and selecting the preset position corresponding to the pressure sensing module with the minimum difference value as the calibration base point.
13. The apparatus of claim 8, wherein the update module is further configured to:
updating a detection function used for the pressure detection based on the updated reference signal amount, the detection function being a function between the deformation amount of the pressure sensor and the signal amount of the pressure signal.
14. The device according to any one of claims 8 to 13, wherein the semaphore and the reference semaphore are both the semaphore of the capacitance signal or the semaphore of the pressure signal at a preset position of the terminal screen when the terminal screen is in a natural state.
15. A pressure detection device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when a terminal screen is in a natural state, acquiring a semaphore of a preset position of the terminal screen, wherein the natural state is that the terminal screen is in an unpressed state;
determining a difference between the semaphore of the preset position and a reference semaphore of the position;
if the difference is larger than a preset threshold value, determining a preset step length according to the semaphore of the preset position and the reference semaphore of the preset position;
according to a second preset period, at any time in each period, gradually updating the reference semaphore of the preset position to the semaphore based on the preset step length;
and when the pressing operation on the terminal screen is detected, performing pressure detection based on the updated reference signal quantity of the preset position.
CN201610911459.6A 2016-10-19 2016-10-19 Pressure detection method and device Active CN106557201B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610911459.6A CN106557201B (en) 2016-10-19 2016-10-19 Pressure detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610911459.6A CN106557201B (en) 2016-10-19 2016-10-19 Pressure detection method and device

Publications (2)

Publication Number Publication Date
CN106557201A CN106557201A (en) 2017-04-05
CN106557201B true CN106557201B (en) 2020-06-02

Family

ID=58443294

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610911459.6A Active CN106557201B (en) 2016-10-19 2016-10-19 Pressure detection method and device

Country Status (1)

Country Link
CN (1) CN106557201B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019125858A (en) * 2018-01-12 2019-07-25 シャープ株式会社 Electronic device, control device, and control program
CN108255346B (en) * 2018-01-25 2021-04-20 深圳市万普拉斯科技有限公司 Method and device for dynamic adjustment of pressure touch threshold
CN208675579U (en) * 2018-05-01 2019-03-29 上海晶丰明源半导体股份有限公司 Power control circuit, drive system and chip
CN113669846B (en) * 2018-09-12 2022-10-18 奥克斯空调股份有限公司 Touch sensitivity adjusting method and air conditioner
CN109002230B (en) * 2018-10-26 2022-03-22 广东美的制冷设备有限公司 Touch screen calibration method and device and electronic equipment
CN111831144B (en) * 2019-04-23 2024-06-18 北京小米移动软件有限公司 Touch abnormity adjustment method and device
CN113419646B (en) * 2021-06-03 2023-05-16 维沃移动通信有限公司 Calibration method and device of pressure sensing channel and electronic equipment
CN114176365A (en) * 2021-12-07 2022-03-15 珠海格力电器股份有限公司 Data processing method and device, electronic equipment and storage medium
CN117707355B (en) * 2023-08-24 2024-10-11 荣耀终端有限公司 Threshold calibration method, key assembly and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101681156A (en) * 2007-07-11 2010-03-24 伊莱克斯家用产品股份有限公司 A system and a method for processing a signal from an electric device
CN102427355A (en) * 2011-09-30 2012-04-25 苏州瀚瑞微电子有限公司 Touch key state judgment method
CN103135810A (en) * 2011-11-24 2013-06-05 比亚迪股份有限公司 Pressure sensitivity adjustment method of touch screen and pressure sensitivity adjustment system of touch screen
CN105677130A (en) * 2016-04-08 2016-06-15 京东方科技集团股份有限公司 Pressure sensing touch control method, pressure sensing touch control device and pressure sensing type touch screen
CN105681562A (en) * 2016-01-25 2016-06-15 广东欧珀移动通信有限公司 Touch force acquisition method, touch pressure calibration method and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5567727B1 (en) * 2013-09-17 2014-08-06 株式会社フジクラ Electronic device and control method of electronic device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101681156A (en) * 2007-07-11 2010-03-24 伊莱克斯家用产品股份有限公司 A system and a method for processing a signal from an electric device
CN102427355A (en) * 2011-09-30 2012-04-25 苏州瀚瑞微电子有限公司 Touch key state judgment method
CN103135810A (en) * 2011-11-24 2013-06-05 比亚迪股份有限公司 Pressure sensitivity adjustment method of touch screen and pressure sensitivity adjustment system of touch screen
CN105681562A (en) * 2016-01-25 2016-06-15 广东欧珀移动通信有限公司 Touch force acquisition method, touch pressure calibration method and mobile terminal
CN105677130A (en) * 2016-04-08 2016-06-15 京东方科技集团股份有限公司 Pressure sensing touch control method, pressure sensing touch control device and pressure sensing type touch screen

Also Published As

Publication number Publication date
CN106557201A (en) 2017-04-05

Similar Documents

Publication Publication Date Title
CN106557201B (en) Pressure detection method and device
CN107102772B (en) Touch control method and device
EP3173970A1 (en) Image processing method and apparatus
CN106766022B (en) Sensor control method and device
CN105487805B (en) Object operation method and device
EP3024211B1 (en) Method and device for announcing voice call
CN109189185B (en) Terminal temperature adjusting method and device
US11011124B2 (en) Method and device for adjusting current of backlight, and storage medium
CN109324846B (en) Application display method and device and storage medium
CN105446616A (en) Screen display control method, apparatus and device
CN106371643A (en) Touch chip failure processing method and apparatus
CN111880681A (en) Touch screen sampling rate adjusting method and device and computer storage medium
CN105094626A (en) Method and device for selecting text contents
CN107402677B (en) Method and device for recognizing finger lifting in touch operation and terminal
CN107656694B (en) Display control method and device of user interface
CN106599858B (en) Fingerprint identification method and device and electronic equipment
CN106775210B (en) Wallpaper changing method and device
CN109215615B (en) Display unit working parameter compensation method and device
CN105204841B (en) Range method of adjustment and device
CN107390929A (en) Control method, device and the storage medium of touch-control system
EP3171326A1 (en) Contact managing method and apparatus, computer program and recording medium
CN108762554B (en) Touch event response method and device
CN108319899B (en) Fingerprint identification method and device
CN107203315B (en) Click event processing method and device and terminal
CN111383568A (en) Display control method and apparatus, electronic device, and computer-readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant