Nothing Special   »   [go: up one dir, main page]

CN112328123A - Calibration method and device of touch screen, terminal and storage medium - Google Patents

Calibration method and device of touch screen, terminal and storage medium Download PDF

Info

Publication number
CN112328123A
CN112328123A CN202011364131.XA CN202011364131A CN112328123A CN 112328123 A CN112328123 A CN 112328123A CN 202011364131 A CN202011364131 A CN 202011364131A CN 112328123 A CN112328123 A CN 112328123A
Authority
CN
China
Prior art keywords
touch
data
touch screen
pressure
deformation coefficient
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.)
Pending
Application number
CN202011364131.XA
Other languages
Chinese (zh)
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 CN202011364131.XA priority Critical patent/CN112328123A/en
Publication of CN112328123A publication Critical patent/CN112328123A/en
Pending legal-status Critical Current

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/0412Digitisers structurally integrated in a display
    • 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/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means

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)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to a calibration method and device of a touch screen and a storage medium. The method is applied to the terminal and comprises the following steps: detecting touch pressure acting on a touch screen, and detecting touch data reflecting the deformation condition of the touch screen when the touch pressure acts on the touch screen; after the touch pressure is cancelled, calibrating reference data of the touch screen according to the touch data and the touch pressure; the reference data is corresponding touch data when the touch screen confirms that the touch operation is not detected. Through the technical scheme of the embodiment of the disclosure, when the touch pressure causes the touch screen to slightly deform so that the detection data of the touch sensor changes, the touch data detected after deformation can be adjusted to the reference data through the touch screen through calibration, so that the false detection and the touch insensitivity caused by the touch screen data change generated by the deformation of the touch screen are reduced.

Description

Calibration method and device of touch screen, terminal and storage medium
Technical Field
The present disclosure relates to electronic technologies, and in particular, to a method and an apparatus for calibrating a touch screen, a terminal, and a storage medium.
Background
With the development of electronic technology, touch screens are widely applied to various terminal electronic devices, and are gradually developed into large-sized full-screen, curved-surface screens, even surround screens, and the like. The surface of the touch screen is also more easily touched or pressed during use of the electronic device by a user. Because the touch screen usually uses the capacitance sensing principle to detect touch operation, the capacitance change is easily generated when the touch screen is deformed due to extrusion or collision, which causes inaccurate touch detection and insensitive touch operation.
Disclosure of Invention
The disclosure provides a calibration method and device of a touch screen, a terminal and a storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided a calibration method for a touch screen, where the method is applied to a terminal, and includes:
detecting touch pressure acting on a touch screen, and detecting touch data reflecting the deformation condition of the touch screen when the touch pressure acts on the touch screen;
after the touch pressure is cancelled, calibrating reference data of the touch screen according to the touch data and the touch pressure; the reference data is corresponding touch data when the touch screen confirms that the touch operation is not detected.
In some embodiments, the method further comprises:
determining a deformation coefficient of the touch screen according to the touch data and the touch pressure;
after the touch pressure is cancelled, calibrating the reference data of the touch screen according to the touch data and the touch pressure, including:
determining a touch position according to the touch data;
and after the touch pressure is cancelled, adjusting the reference data of the touch position according to the deformation coefficient.
In some embodiments, the method further comprises:
determining whether the deformation coefficient is within a pre-stored deformation coefficient range;
after the touch pressure is cancelled, adjusting the reference data of the touch position according to the deformation coefficient and the touch position, including:
and if the deformation coefficient is within the deformation coefficient range, adjusting the reference data of the touch position according to the deformation coefficient after the touch pressure is cancelled.
In some embodiments, the method further comprises:
and if the deformation coefficient is out of the deformation coefficient range, adjusting all reference data of the touch screen according to touch data detected by a touch sensor on the touch screen after the touch pressure is cancelled.
In some embodiments, the determining a deformation coefficient of the touch screen according to the touch data and the touch pressure includes:
determining a relation curve of touch pressure and touch data in a time period when the touch pressure on the touch screen is detected;
and determining the deformation coefficient according to the change rate of the relation curve.
According to a second aspect of the embodiments of the present disclosure, there is provided a calibration apparatus for a touch screen, where the apparatus is applied to a terminal, and the apparatus includes:
the detection module is used for detecting touch pressure acting on a touch screen and detecting touch data reflecting the deformation condition of the touch screen when the touch pressure acts on the touch screen;
the calibration module is used for calibrating the reference data of the touch screen according to the touch data and the touch pressure after the touch pressure is cancelled; the reference data is corresponding touch data when the touch screen confirms that the touch operation is not detected.
In some embodiments, the apparatus further comprises:
the first determining module is used for determining a deformation coefficient of the touch screen according to the touch data and the touch pressure;
the calibration module, comprising:
the first determining submodule is used for determining a touch position according to the touch data;
and the adjusting submodule is used for adjusting the datum data of the touch position according to the deformation coefficient after the touch pressure is cancelled.
In some embodiments, the apparatus further comprises:
the second determining module is used for determining whether the deformation coefficient is in a pre-stored deformation coefficient range or not;
the adjusting submodule is specifically configured to:
and if the deformation coefficient is within the deformation coefficient range, adjusting the reference data of the touch position according to the deformation coefficient after the touch pressure is cancelled.
In some embodiments, the apparatus further comprises:
and the adjusting module is used for adjusting all reference data of the touch screen according to the touch data detected by the touch sensor on the touch screen after the touch pressure is cancelled if the deformation coefficient is out of the deformation coefficient range.
In some embodiments, the first determining module comprises:
the second determining submodule is used for determining a relation curve of the touch pressure and the touch data in a time period when the touch pressure on the touch screen is detected;
and the third determining submodule is used for determining the deformation coefficient according to the change rate of the relation curve.
According to a third aspect of the embodiments of the present disclosure, there is provided a terminal, the terminal at least comprising: a processor and a memory for storing executable instructions operable on the processor, wherein:
when the processor is used for executing the executable instructions, the executable instructions execute the steps in any one of the calibration methods of the touch screen.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium having stored therein computer-executable instructions, which when executed by a processor, implement the steps in the calibration method of a touch screen of any one of the above.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: according to the technical scheme of the embodiment of the disclosure, the touch pressure is detected while the touch data is detected, and the reference data of the touch screen is calibrated after the touch pressure is cancelled. Therefore, when the touch screen slightly deforms due to touch pressure to change the capacitance of the touch sensor, the touch data detected after deformation can be adjusted to the reference data through calibration, and therefore the situations of false detection and touch insensitivity caused by touch screen data change generated due to deformation of the touch screen are reduced.
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 invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a first flowchart illustrating a method for calibrating a touch screen according to an exemplary embodiment;
FIG. 2 is a flowchart illustrating a second method for calibrating a touch screen according to an exemplary embodiment;
FIG. 3 is a flowchart illustrating a method for calibrating a touch screen according to an exemplary embodiment;
FIG. 4 is a block diagram illustrating a calibration apparatus for a touch screen according to an exemplary embodiment;
fig. 5 is a block diagram illustrating an entity structure of a terminal according to an exemplary embodiment.
Detailed Description
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 embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a calibration method for a touch screen according to an exemplary embodiment, where as shown in fig. 1, the method is applied to a terminal and includes the following steps:
step S101, detecting touch pressure acting on a touch screen, and detecting touch data reflecting the touch screen deformation condition when the touch pressure acts on the touch screen;
step S102, after the touch pressure is cancelled, calibrating reference data of the touch screen according to the touch data and the touch pressure; the reference data is corresponding touch data when the touch screen confirms that the touch operation is not detected.
In the embodiment of the disclosure, the pressure sensor may be used to detect the pressure on the touch screen, and obtain the touch pressure at the position where the press or the slight pressing exists. While detecting the pressure, the touch screen may detect touch data through the touch sensor, where the type of the touch data is determined by a detection principle of the touch sensor, for example, the touch data detected by the capacitive touch sensor is capacitance value data. The touch data detected by the pressure type touch sensor is pressure value data.
Taking the capacitive touch sensor as an example, when a touch pressure exists on the touch screen, the touch screen may slightly deform, which causes a capacitance value of the touch sensor detected by the capacitance to change, and further changes the capacitance value based on a touch operation on the surface of the touch screen. After the touch pressure is removed, slight deformation still exists on the touch screen. Because the capacitance structure of the touch sensor is slightly changed, the touch sensor can still detect touch data after touch pressure is removed.
If the area acted by the touch pressure is not calibrated, the touch screen is detected wrongly, and touch data are still reported when no touch operation is performed. For example, in the area where the touch pressure acts, the touch operation is still reported after the touch pressure is cancelled, resulting in an erroneous operation. Therefore, in the embodiment of the present disclosure, after the touch pressure is removed, the reference data of the touch screen is calibrated according to the touch data detected by the touch sensor based on the position of the touch pressure. During calibration, calibration can be performed only for the area on which the touch pressure acts, and calibration can also be performed on the whole touch screen.
It is understood that, since the deformation caused by the touch pressure may be recovered in a period of time, the process of calibrating the reference data of the touch screen may also last for a period of time in the embodiment of the present disclosure. For example, touch data of a position on which touch pressure acts is continuously monitored within a few seconds after touch pressure is removed, and since the touch data may change along with deformation recovery in this time, calibration may be performed by using the touch data in the deformation recovery process. In this way, false detection due to deformation can be reduced during this period of calibration. After the deformation is recovered, the touch data at this time also corresponds to the recovered capacitance value, so that the reference data of the touch screen is recovered after the calibration.
Therefore, false detection of the touch screen after the touch pressure disappears can be reduced, so that the touch screen can still accurately detect touch operation when slight deformation occurs in slight extrusion or collision and the like, and the use experience of a user is further improved.
In some embodiments, as shown in fig. 2, the method further comprises:
step S201, determining a deformation coefficient of the touch screen according to the touch data and the touch pressure;
in step S102, after the touch pressure is cancelled, calibrating the reference data of the touch screen according to the touch data and the touch pressure, including:
step S202, determining a touch position according to the touch data;
and step S203, after the touch pressure is cancelled, adjusting the reference data of the touch position according to the deformation coefficient.
In the embodiment of the disclosure, the deformation caused by the touch pressure and the deformation coefficient of the touch data can be determined according to the relationship between the touch data and the touch pressure, and the deformation coefficient represents the deformation of the touch screen under the action of the pressure. Since the deformation generated by the touch pressure still exists after the touch pressure is cancelled, the reference data of the position acted by the touch pressure can be adjusted according to the deformation coefficient. After the touch pressure is cancelled, the touch data of the position detected by the touch screen corresponds to the reference data of the touch operation which is not reported.
Here, the deformation coefficient includes a ratio between the touch pressure and the touch data. Because in a certain range, the touch pressure and the deformation of the touch screen are positively correlated, and further the touch pressure and the touch data are positively correlated, the deformation coefficient can be determined according to the ratio of the touch pressure to the touch data. When the reference data of the touch position is adjusted, the reference data can be adjusted by a corresponding proportion according to the deformation coefficient, and further calibration is achieved.
Here, since the touch sensor of the touch screen carries the coordinates of the touch position when detecting the touch data, the touch data can be used to determine the position where the touch pressure acts, i.e., the touch position. After the touch pressure is removed, calibration is performed for the position.
It should be noted that, in the time period when the touch pressure acts, because the touch pressure may be generated by the touch operation of the user, the touch screen needs to report the coordinates of the corresponding touch position according to the touch data as the detected touch operation. And then executing a corresponding touch instruction based on the touch operation, for example, clicking a control at the touch position.
After the touch pressure is cancelled, because the pressure sensor cannot detect the pressure at this time, it can be determined that the touch data detected in the area acted by the touch pressure at this time is the change of capacitance caused by slight deformation of the touch screen due to the touch pressure. Therefore, here, after the touch pressure is removed, the area on which the touch pressure acts is calibrated using the above-described deformation coefficient, and the reference value in the area is adjusted, thereby eliminating the influence of the deformation from the adjustment of the data.
In some embodiments, the method further comprises:
determining whether the deformation coefficient is within a pre-stored deformation coefficient range;
after the touch pressure is cancelled, adjusting the reference data of the touch position according to the deformation coefficient and the touch position, including:
and if the deformation coefficient is within the deformation coefficient range, adjusting the reference data of the touch position according to the deformation coefficient after the touch pressure is cancelled.
Here, the deformation coefficient range may be obtained through experiments before the terminal leaves a factory, for example, the touch data and the touch pressure are in a range of a linear relationship, or a range in which touch deformation caused by the touch pressure is recoverable.
In the embodiment of the present disclosure, since there is a certain corresponding relationship between the deformation on the touch screen and the touch data within a certain range, the calibration may be directly performed according to the deformation coefficient, and if the deformation generated on the touch screen is too large, the influence on the touch data exceeds the corresponding relationship within the above range, and at this time, the calibration using the deformation coefficient may be inaccurate.
Therefore, in the embodiment of the present disclosure, it may be determined whether the deformation coefficient corresponding to the touch pressure is within a predetermined range. If within the predetermined range, the deformation coefficient can be used for calibration. In an embodiment, since there is a corresponding relationship between the touch pressure and the deformation coefficient, it can be directly determined whether the touch pressure value is within a predetermined pressure range, and if the touch pressure value is within the predetermined pressure range, it indicates that the deformation coefficient is within the predetermined deformation coefficient range. At this time, the corresponding deformation coefficient is determined, and the area acted by the touch pressure is calibrated. Since the touch area can be calibrated only by using the deformation coefficient, the calibration can be completed quickly by a small amount of calculation.
In addition, when the deformation coefficient is within the deformation coefficient range, the deformation caused by the touch pressure can be recovered after a period of time. Therefore, the calibration of the reference data of the touch position may last for a predetermined time period, and the calibration is performed within the predetermined time period by using the deformation coefficient corresponding to the detected touch data and the touch pressure until the deformation is recovered. Therefore, false touch alarm or touch failure before slight deformation caused by touch pressure is not recovered can be reduced.
In some embodiments, the method further comprises:
and if the deformation coefficient is out of the deformation coefficient range, adjusting all reference data of the touch screen according to touch data detected by a touch sensor on the touch screen after the touch pressure is cancelled.
With respect to the above embodiment, when the touch pressure is not within the predetermined pressure range or the deformation coefficient is not within the predetermined deformation coefficient range, the touch data may not be changed continuously with the change of the touch pressure. That is, at this time, the deformation coefficient cannot accurately represent the accurate relationship between the deformation caused by the touch pressure and the touch data, and therefore, the deformation coefficient cannot be used for calibration.
At this time, the original calibration procedure can be used to scan and forcibly calibrate the full-screen touch sensor of the touch screen, without considering the area acted by the touch pressure and the size of the touch pressure. And the result of the calibration is forced to be the final calibration result, so that the unrecoverable deformation caused by the touch pressure is compensated. Therefore, the accuracy of the overall detection of the touch screen can be improved, and accurate touch data can be detected under the condition that the touch screen is deformed.
In some embodiments, the determining a deformation coefficient of the touch screen according to the touch data and the touch pressure includes:
determining a relation curve of touch pressure and touch data in a time period when the touch pressure on the touch screen is detected;
and determining the deformation coefficient according to the change rate of the relation curve.
In an embodiment of the disclosure, the deformation coefficient may be determined by using a change rate of a relationship curve between a touch pressure value and corresponding touch data in a time period when the touch pressure is detected. Compared with the touch data generated by recorded touch pressure and deformation after touch pressure is cancelled, the more accurate deformation coefficient can be obtained, and therefore calibration of the action range of the touch pressure is achieved.
The disclosed embodiments also provide the following examples:
when a user puts a terminal device with a touch screen in a bag or a pocket, the surface of the touch screen is easily squeezed or collided by other objects to generate slight deformation. After the deformation, the data processing of the terminal device may generate an abnormality, such as a touch failure or a touch false alarm.
In the embodiment of the disclosure, data are compensated by using a software algorithm, and data abnormity caused by physical deformation is compensated. The data compensation can be processed by using a deformation coefficient, and the deformation coefficient can be obtained by using the pressure value and the corresponding touch data. The processing flow is shown in fig. 3, and comprises the following steps:
step S301, detecting touch pressure by using a pressure sensor, and sensing the moment when the touch pressure is cancelled;
step S302, continuously reporting touch data in the process of detecting the touch pressure;
step S303, storing the pressure value of the touch pressure in a register at the moment when the touch pressure is cancelled;
step S304, judging whether the touch pressure is in a preset range;
here, the pressure value F of the touch pressure is K × Δ data, where K is a deformation coefficient and is data (0% to 100%) which dynamically changes, and Δ data is touch data, such as a capacitance variation of the touch capacitor. The pressure sensor detects the lifting of the finger and transmits the pressure value to the register. And determining whether the pressure value belongs to a preset range or not by utilizing a relation curve library of the pressure value, the preset pressure value and the touch data. And if the pressure value belongs to the preset range, calibrating according to the deformation coefficient corresponding to the pressure value until the deformation of the touch screen is recovered to be normal. If the pressure value is no longer within the predetermined range, a forced calibration is performed after the finger is lifted. And if the pressure sensor detects that the finger is not lifted, continuously detecting the pressure value and reporting the coordinate corresponding to the touch data.
Step S305, if the touch pressure is in a preset range, detecting a change value of the touch data;
step S306, calibrating reference data based on the touch pressure and the deformation coefficient determined by the touch data;
and step S307, if the touch pressure is not in the preset range, forcibly calibrating the touch screen.
According to the technical scheme of the embodiment of the disclosure, the software algorithm is used for compensating the touch detection abnormity caused by physical deformation, and the use experience of a user is improved.
Fig. 4 is a block diagram illustrating a calibration apparatus for a touch screen according to an exemplary embodiment, and as shown in fig. 4, the apparatus 400 is applied to a terminal and includes:
the detection module 401 is configured to detect a touch pressure acting on a touch screen, and detect touch data reflecting a deformation condition of the touch screen when the touch pressure acts on the touch screen;
a calibration module 402, configured to calibrate, after the touch pressure is cancelled, reference data of the touch screen according to the touch data and the touch pressure; the reference data is corresponding touch data when the touch screen confirms that the touch operation is not detected.
In some embodiments, the apparatus further comprises:
the first determining module is used for determining a deformation coefficient of the touch screen according to the touch data and the touch pressure;
the calibration module, comprising:
the first determining submodule is used for determining a touch position according to the touch data;
and the adjusting submodule is used for adjusting the datum data of the touch position according to the deformation coefficient after the touch pressure is cancelled.
In some embodiments, the apparatus further comprises:
the second determining module is used for determining whether the deformation coefficient is in a pre-stored deformation coefficient range or not;
the adjusting submodule is specifically configured to:
and if the deformation coefficient is within the deformation coefficient range, adjusting the reference data of the touch position according to the deformation coefficient after the touch pressure is cancelled.
In some embodiments, the apparatus further comprises:
and the adjusting module is used for adjusting all reference data of the touch screen according to the touch data detected by the touch sensor on the touch screen after the touch pressure is cancelled if the deformation coefficient is out of the deformation coefficient range.
In some embodiments, the first determining module comprises:
the second determining submodule is used for determining a relation curve of the touch pressure and the touch data in a time period when the touch pressure on the touch screen is detected;
and the third determining submodule is used for determining the deformation coefficient according to the change rate of the relation curve.
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. 5 is a block diagram illustrating a terminal 500 according to an example embodiment. For example, the terminal 500 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and so forth.
Referring to fig. 5, terminal 500 may include one or more of the following components: processing component 501, memory 502, power component 503, multimedia component 504, audio component 505, input/output (I/O) interface 506, sensor component 507, and communication component 508.
The processing component 501 generally controls the overall operation of the terminal 500, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 501 may include one or more processors 510 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 501 may also include one or more modules that facilitate interaction between the processing component 501 and other components. For example, the processing component 501 may include a multimedia module to facilitate interaction between the multimedia component 504 and the processing component 501.
The memory 510 is configured to store various types of data to support operations at the terminal 500. Examples of such data include instructions for any application or method operating on terminal 500, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 502 may be implemented by any type or combination of volatile or non-volatile storage 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.
The power supply component 503 provides power to the various components of the terminal 500. The power supply component 503 may include: a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for terminal 500.
The multimedia components 504 include a screen that provides an output interface between the terminal 500 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 504 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 terminal 500 is in an operation mode, such as a photographing mode or a video mode. Each front camera and/or rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 505 is configured to output and/or input audio signals. For example, the audio component 505 includes a Microphone (MIC) configured to receive external audio signals when the terminal 500 is in an operating 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 510 or transmitted via the communication component 508. In some embodiments, audio component 505 further comprises a speaker for outputting audio signals.
The I/O interface 506 provides an interface between the processing component 501 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 assembly 507 includes one or more sensors for providing various aspects of status assessment for the terminal 500. For example, sensor component 507 can detect an open/closed state of terminal 500, the relative positioning of components such as a display and keypad of terminal 500, sensor component 507 can also detect a change in position of terminal 500 or a component of terminal 500, the presence or absence of user contact with terminal 500, orientation or acceleration/deceleration of terminal 500, and a change in temperature of terminal 500. The sensor assembly 507 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 507 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 507 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 508 is configured to facilitate communications between the terminal 500 and other devices in a wired or wireless manner. The terminal 500 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 508 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 508 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, or other technologies.
In an exemplary embodiment, the terminal 500 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 above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 502 comprising instructions, executable by the processor 510 of the terminal 500 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.
The embodiments of the present disclosure also provide a non-transitory computer-readable storage medium, where instructions in the storage medium, when executed by a processor of a mobile terminal, enable the mobile terminal to perform the method provided in any of the embodiments.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention 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 invention is limited only by the appended claims.

Claims (12)

1. A calibration method of a touch screen is applied to a terminal and comprises the following steps:
detecting touch pressure acting on a touch screen, and detecting touch data reflecting the deformation condition of the touch screen when the touch pressure acts on the touch screen;
after the touch pressure is cancelled, calibrating reference data of the touch screen according to the touch data and the touch pressure; the reference data is corresponding touch data when the touch screen confirms that the touch operation is not detected.
2. The method of claim 1, further comprising:
determining a deformation coefficient of the touch screen according to the touch data and the touch pressure;
after the touch pressure is cancelled, calibrating the reference data of the touch screen according to the touch data and the touch pressure, including:
determining a touch position according to the touch data;
and after the touch pressure is cancelled, adjusting the reference data of the touch position according to the deformation coefficient.
3. The method of claim 2, further comprising:
determining whether the deformation coefficient is within a pre-stored deformation coefficient range;
after the touch pressure is cancelled, adjusting the reference data of the touch position according to the deformation coefficient and the touch position, including:
and if the deformation coefficient is within the deformation coefficient range, adjusting the reference data of the touch position according to the deformation coefficient after the touch pressure is cancelled.
4. The method of claim 3, further comprising:
and if the deformation coefficient is out of the deformation coefficient range, adjusting all reference data of the touch screen according to touch data detected by a touch sensor on the touch screen after the touch pressure is cancelled.
5. The method according to any one of claims 2 to 4, wherein the determining the deformation coefficient of the touch screen according to the touch data and the touch pressure comprises:
determining a relation curve of touch pressure and touch data in a time period when the touch pressure on the touch screen is detected;
and determining the deformation coefficient according to the change rate of the relation curve.
6. A calibration device for a touch screen is applied to a terminal, and comprises:
the detection module is used for detecting touch pressure acting on a touch screen and detecting touch data reflecting the deformation condition of the touch screen when the touch pressure acts on the touch screen;
the calibration module is used for calibrating the reference data of the touch screen according to the touch data and the touch pressure after the touch pressure is cancelled; the reference data is corresponding touch data when the touch screen confirms that the touch operation is not detected.
7. The apparatus of claim 6, further comprising:
the first determining module is used for determining a deformation coefficient of the touch screen according to the touch data and the touch pressure;
the calibration module, comprising:
the first determining submodule is used for determining a touch position according to the touch data;
and the adjusting submodule is used for adjusting the datum data of the touch position according to the deformation coefficient after the touch pressure is cancelled.
8. The apparatus of claim 7, further comprising:
the second determining module is used for determining whether the deformation coefficient is in a pre-stored deformation coefficient range or not;
the adjusting submodule is specifically configured to:
and if the deformation coefficient is within the deformation coefficient range, adjusting the reference data of the touch position according to the deformation coefficient after the touch pressure is cancelled.
9. The apparatus of claim 8, further comprising:
and the adjusting module is used for adjusting all reference data of the touch screen according to the touch data detected by the touch sensor on the touch screen after the touch pressure is cancelled if the deformation coefficient is out of the deformation coefficient range.
10. The apparatus of any of claims 7 to 9, wherein the first determining module comprises:
the second determining submodule is used for determining a relation curve of the touch pressure and the touch data in a time period when the touch pressure on the touch screen is detected;
and the third determining submodule is used for determining the deformation coefficient according to the change rate of the relation curve.
11. A calibration device for a touch screen, the device comprising: a processor and a memory for storing executable instructions operable on the processor, wherein:
the processor is configured to execute the executable instructions, and the executable instructions perform the steps of the method for calibrating a touch screen provided in any one of the preceding claims 1 to 5.
12. A non-transitory computer-readable storage medium, wherein computer-executable instructions are stored in the computer-readable storage medium, and when executed by a processor, implement the steps in the calibration method for a touch screen provided in any one of claims 1 to 11.
CN202011364131.XA 2020-11-27 2020-11-27 Calibration method and device of touch screen, terminal and storage medium Pending CN112328123A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011364131.XA CN112328123A (en) 2020-11-27 2020-11-27 Calibration method and device of touch screen, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011364131.XA CN112328123A (en) 2020-11-27 2020-11-27 Calibration method and device of touch screen, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN112328123A true CN112328123A (en) 2021-02-05

Family

ID=74309232

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011364131.XA Pending CN112328123A (en) 2020-11-27 2020-11-27 Calibration method and device of touch screen, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN112328123A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106371647A (en) * 2015-07-24 2017-02-01 高深公司 Touch pressure sensitivity correction method and computer-readable recording medium
CN106445264A (en) * 2016-08-31 2017-02-22 维沃移动通信有限公司 Touch operation calibration method and mobile terminal
KR20170058891A (en) * 2017-05-17 2017-05-29 주식회사 하이딥 Sensitivity compensation method of touch input device being capable of touch pressure sensing and computer readable recording medium
CN106919283A (en) * 2017-02-20 2017-07-04 北京小米移动软件有限公司 The touch event processing method of terminal, device and terminal
CN106980402A (en) * 2016-01-18 2017-07-25 中兴通讯股份有限公司 Reset the determination methods and device, terminal of calibration
CN111443821A (en) * 2020-03-09 2020-07-24 维沃移动通信有限公司 Processing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106371647A (en) * 2015-07-24 2017-02-01 高深公司 Touch pressure sensitivity correction method and computer-readable recording medium
CN106980402A (en) * 2016-01-18 2017-07-25 中兴通讯股份有限公司 Reset the determination methods and device, terminal of calibration
CN106445264A (en) * 2016-08-31 2017-02-22 维沃移动通信有限公司 Touch operation calibration method and mobile terminal
CN106919283A (en) * 2017-02-20 2017-07-04 北京小米移动软件有限公司 The touch event processing method of terminal, device and terminal
KR20170058891A (en) * 2017-05-17 2017-05-29 주식회사 하이딥 Sensitivity compensation method of touch input device being capable of touch pressure sensing and computer readable recording medium
CN111443821A (en) * 2020-03-09 2020-07-24 维沃移动通信有限公司 Processing method and device

Similar Documents

Publication Publication Date Title
US20200035201A1 (en) Method, apparatus, electronic device and storage medium for controlling brightness of screen
CN105511686B (en) Call processing method, device and terminal electronic device
KR101903261B1 (en) Method and device for preventing accidental touch of terminal with touch screen
CN106802741B (en) Method and device for determining screen edge touch event and mobile terminal
CN106557201B (en) Pressure detection method and device
EP3232301B1 (en) Mobile terminal and virtual key processing method
EP3136206A1 (en) Method and apparatus for setting threshold
CN111104001B (en) Method and device for preventing screen from being touched mistakenly, mobile terminal and storage medium
CN106919283A (en) The touch event processing method of terminal, device and terminal
EP3629318B1 (en) Method and apparatus for compensating operating parameter of display circuit
CN106599858B (en) Fingerprint identification method and device and electronic equipment
CN107402677B (en) Method and device for recognizing finger lifting in touch operation and terminal
CN111756913A (en) Electronic equipment, key function calling method and device
US10671827B2 (en) Method and device for fingerprint verification
CN107390929A (en) Control method, device and the storage medium of touch-control system
US10679026B2 (en) Method and device for controlling fingerprint sensor and storage medium
CN112394825A (en) Method and device for calibrating capacitive touch module and storage medium
CN107203315B (en) Click event processing method and device and terminal
CN107832112B (en) Wallpaper setting method and device
CN112328123A (en) Calibration method and device of touch screen, terminal and storage medium
CN112416155B (en) Report point output control method, report point output control device and storage medium
CN114690955A (en) Touch screen calibration method and device, electronic equipment and storage medium
CN108459770B (en) Coordinate correction method and device
CN107329604B (en) Mobile terminal control method and device
CN111353427A (en) Fingerprint unlocking signal processing method, device and 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