Touch screen calibration method and device, terminal and storage medium

By detecting touch pressure and deformation, calibrating the reference data of the touch screen, the error detection problem caused by touch screen deformation is solved, and operation accuracy and user experience are improved.

CN112328123BActive Publication Date: 2025-01-14BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011364131.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-27
Publication Date
2025-01-14
Estimated Expiration
2040-11-27

AI Technical Summary

Technical Problem

The touch screen is prone to deformation when squeezed or collided, resulting in capacitance changes, resulting in inaccurate touch detection and insensitive operation.

Method used

By detecting the touch pressure and deformation conditions, after cancellation, calibrate the reference data based on the touch data and pressure, determine the deformation coefficient, and adjust the touch position or full-screen reference data to reduce false detection.

Benefits of technology

有效减少了由于触控屏形变导致的误检测和操作不灵敏情况,提高了用户体验。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112328123B_ABST
    Figure CN112328123B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a touch screen calibration method, device and storage medium. The method is applied to a terminal, and includes: detecting the touch pressure acting on the touch screen, and detecting touch data reflecting the deformation of the touch screen when the touch pressure acts on the touch screen; after the touch pressure is cancelled, calibrating the reference data of the touch screen according to the touch data and the touch pressure; wherein the reference data is the touch data corresponding to when the touch screen confirms that no touch operation is detected. Through the technical solution of the embodiment of the present disclosure, when the touch pressure causes the touch screen to deform slightly and the detection data of the touch sensor changes, the touch screen can be calibrated to adjust the touch data detected after deformation to the reference data, thereby reducing the false detection and touch insensitivity caused by the change of touch screen data caused by the deformation of the touch screen.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to electronic technology, and in particular to a touch screen calibration method and device, a terminal and a storage medium. Background Art

[0002] With the development of electronic technology, touch screens are widely used in various terminal electronic devices, and have gradually developed into large-sized full-screen, curved screens, and even surround screens. When users use electronic devices, they are more likely to touch or squeeze the surface of the touch screen. Since touch screens often use the principle of capacitive sensing to detect touch operations, when the touch screen is squeezed or collided and deformed, it is easy to produce changes in capacitance, resulting in inaccurate touch detection and insensitive touch operations. Summary of the invention

[0003] The present invention provides a touch screen calibration method and device, a terminal and a storage medium.

[0004] According to a first aspect of an embodiment of the present disclosure, a touch screen calibration method is provided, the method being applied to a terminal and comprising:

[0005] Detecting touch pressure applied to the touch screen, and detecting touch data reflecting a deformation condition of the touch screen when the touch pressure acts on the touch screen;

[0006] After the touch pressure is cancelled, the reference data of the touch screen is calibrated according to the touch data and the touch pressure; wherein the reference data is the touch data corresponding to when the touch screen confirms that no touch operation is detected.

[0007] In some embodiments, the method further comprises:

[0008] Determining a deformation coefficient of the touch screen according to the touch data and the touch pressure;

[0009] After the touch pressure is cancelled, calibrating the reference data of the touch screen according to the touch data and the touch pressure includes:

[0010] Determining a touch position according to the touch data;

[0011] After the touch pressure is cancelled, the reference data of the touch position is adjusted according to the deformation coefficient.

[0012] In some embodiments, the method further comprises:

[0013] Determining whether the deformation coefficient is within a pre-stored deformation coefficient range;

[0014] After the touch pressure is cancelled, adjusting the reference data of the touch position according to the deformation coefficient and the touch position includes:

[0015] If the deformation coefficient is within the deformation coefficient range, then after the touch pressure is cancelled, the reference data of the touch position is adjusted according to the deformation coefficient.

[0016] In some embodiments, the method further comprises:

[0017] If the deformation coefficient is outside the deformation coefficient range, then after the touch pressure is canceled, all the reference data of the touch screen are adjusted according to the touch data detected by the touch sensor on the touch screen.

[0018] In some embodiments, determining the deformation coefficient of the touch screen according to the touch data and the touch pressure includes:

[0019] Determining a relationship curve between the touch pressure and the touch data during a period of time when the touch pressure on the touch screen is detected;

[0020] The deformation coefficient is determined according to the rate of change of the relationship curve.

[0021] According to a second aspect of an embodiment of the present disclosure, a touch screen calibration device is provided, the device being applied to a terminal, comprising:

[0022] A detection module, used to detect the touch pressure acting on the touch screen, and detect touch data reflecting the deformation condition of the touch screen when the touch pressure acts on the touch screen;

[0023] A calibration module is used to calibrate the reference data of the touch screen according to the touch data and the touch pressure after the touch pressure is cancelled; wherein the reference data is the touch data corresponding to when the touch screen confirms that no touch operation is detected.

[0024] In some embodiments, the apparatus further comprises:

[0025] A first determination module, configured to determine a deformation coefficient of the touch screen according to the touch data and the touch pressure;

[0026] The calibration module comprises:

[0027] A first determination submodule, configured to determine a touch position according to the touch data;

[0028] The adjustment submodule is used to adjust the reference data of the touch position according to the deformation coefficient after the touch pressure is cancelled.

[0029] In some embodiments, the apparatus further comprises:

[0030] A second determination module, used to determine whether the deformation coefficient is within a pre-stored deformation coefficient range;

[0031] The adjustment submodule is specifically used for:

[0032] If the deformation coefficient is within the deformation coefficient range, then after the touch pressure is cancelled, the reference data of the touch position is adjusted according to the deformation coefficient.

[0033] In some embodiments, the apparatus further comprises:

[0034] The adjustment module is used to adjust all the 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 outside the deformation coefficient range.

[0035] In some embodiments, the first determining module includes:

[0036] A second determination submodule, configured to determine a relationship curve between the touch pressure and the touch data within a period of time when the touch pressure on the touch screen is detected;

[0037] The third determination submodule is used to determine the deformation coefficient according to the change rate of the relationship curve.

[0038] According to a third aspect of an embodiment of the present disclosure, a terminal is provided, the terminal comprising at least: a processor and a memory for storing executable instructions that can be run on the processor, wherein:

[0039] When the processor is used to run the executable instructions, the executable instructions execute the steps in any one of the above touch screen calibration methods.

[0040] According to a fourth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, can implement the steps in any of the above-mentioned touch screen calibration methods.

[0041] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: through the technical solution of the embodiments of the present 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. In this way, when the touch pressure causes the touch screen to deform slightly and the capacitance of the touch sensor changes, the touch data detected after the deformation can be adjusted to the reference data through calibration, thereby reducing the false detection and touch insensitivity caused by the change of touch screen data caused by the deformation of the touch screen.

[0042] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] 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.

[0044] Figure 1 A touch screen calibration method according to an exemplary embodiment is shown in FIG. Figure 1 ;

[0045] Figure 2 A touch screen calibration method according to an exemplary embodiment is shown in FIG. Figure 2 ;

[0046] Figure 3 A touch screen calibration method according to an exemplary embodiment is shown in FIG. Figure 3 ;

[0047] Figure 4 is a structural block diagram of a touch screen calibration device according to an exemplary embodiment;

[0048] Figure 5 The figure is a block diagram of a physical structure of a terminal according to an exemplary embodiment. DETAILED DESCRIPTION

[0049] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same 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. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.

[0050] Figure 1 is a flow chart of a touch screen calibration method according to an exemplary embodiment. Figure 1As shown, the method is applied to a terminal and comprises the following steps:

[0051] Step S101, detecting touch pressure acting on the touch screen, and detecting touch data reflecting a deformation condition of the touch screen when the touch pressure acts on the touch screen;

[0052] Step S102: after the touch pressure is cancelled, calibrate the reference data of the touch screen according to the touch data and the touch pressure; wherein the reference data is the touch data corresponding to when the touch screen confirms that no touch operation is detected.

[0053] In the embodiments of the present disclosure, the pressure on the touch screen can be detected by a pressure sensor to obtain the touch pressure at the location where the pressure is pressed or slightly squeezed. While detecting the pressure, the touch screen can detect touch data through the touch sensor. The type of touch data is determined by the 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 touch sensor is pressure value data.

[0054] Taking a capacitive touch sensor as an example, when there is touch pressure on the touch screen, the touch screen will produce a slight deformation, causing the capacitance value of the touch sensor detected by the capacitance to change, and the touch operation based on the surface of the touch screen will further cause the capacitance value to change. After the touch pressure is removed, there is still a slight deformation on the touch screen. Since the capacitance structure of the touch sensor has changed slightly, the touch sensor can still detect touch data after the touch pressure is removed.

[0055] If the area where the touch pressure acts is not calibrated, the touch screen will be incorrectly detected, and touch data will still be reported when there is no touch operation. For example, in the area where the touch pressure acts, the touch operation is still reported after the touch pressure is cancelled, resulting in erroneous operation. Therefore, in the embodiment of the present disclosure, after the touch pressure is cancelled, the baseline data of the touch screen is calibrated according to the touch data detected by the touch sensor based on the location of the touch pressure. When calibrating, calibration can be performed only on the area where the touch pressure acts, or the entire touch screen can be calibrated.

[0056] It is understandable that since the deformation caused by the touch pressure may recover within a period of time, in the embodiment of the present disclosure, the process of calibrating the baseline data of the touch screen may also last for a period of time. For example, the touch data of the position where the touch pressure acts is continuously monitored within a few seconds after the touch pressure is released. Since the touch data may change with the recovery of the deformation during this period of time, the touch data can be used for calibration during the process of deformation recovery. In this way, during this period of calibration, false detection caused by deformation can be reduced. After the deformation is recovered, since the touch data at this time also corresponds to the restored capacitance value, the baseline data of the touch screen is finally restored after calibration.

[0057] In this way, the false detection of the touch screen after the touch pressure disappears can be reduced, so that the touch screen can still accurately detect the touch operation when it is slightly squeezed or collided and slightly deformed, thereby improving the user experience.

[0058] In some embodiments, Figure 2 As shown, the method also includes:

[0059] Step S201, determining a deformation coefficient of the touch screen according to the touch data and the touch pressure;

[0060] In the above 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 includes:

[0061] Step S202: determining a touch position according to the touch data;

[0062] Step S203: After the touch pressure is cancelled, adjust the reference data of the touch position according to the deformation coefficient.

[0063] In the disclosed embodiment, the deformation caused by the touch pressure and the deformation coefficient of the touch data can be determined based on the relationship between the touch data and the touch pressure, and the deformation coefficient reflects the deformation of the touch screen under the pressure. Since the deformation caused by the touch pressure still exists after the touch pressure is cancelled, the reference data of the position where the touch pressure acts 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 that does not report the touch operation.

[0064] Here, the deformation coefficient includes the ratio between the touch pressure and the touch data. Since within a certain range, the touch pressure is positively correlated with the deformation of the touch screen, and thus the touch pressure and the touch data are positively correlated, the deformation coefficient can be determined based on the ratio between the touch pressure and the touch data. When adjusting the reference data of the touch position, the reference data can be adjusted to a corresponding ratio based on the deformation coefficient, thereby achieving calibration.

[0065] Here, since the touch sensor of the touch screen carries the coordinates of the touch position when detecting touch data, the touch data can be used to determine the position where the touch pressure acts, that is, the above-mentioned touch position. After the touch pressure is removed, calibration is performed for the position.

[0066] It should be noted that during the period of touch pressure, since the touch pressure may be generated by the user's touch operation, the touch screen needs to report the coordinates of the corresponding touch position according to the touch data as the detected touch operation. Then, the corresponding touch command is executed based on the touch operation, for example, clicking the control at the touch position.

[0067] After the touch pressure is cancelled, since the pressure sensor cannot detect the pressure at this time, it can be determined that the touch data detected in the area where the touch pressure is applied is the change in capacitance caused by the slight deformation of the touch screen caused by the touch pressure. Therefore, here, after the touch pressure is cancelled, the deformation coefficient is used to calibrate the area where the touch pressure is applied, and the reference value in the area is adjusted, thereby eliminating the influence of the deformation from the data adjustment.

[0068] In some embodiments, the method further comprises:

[0069] Determining whether the deformation coefficient is within a pre-stored deformation coefficient range;

[0070] After the touch pressure is cancelled, adjusting the reference data of the touch position according to the deformation coefficient and the touch position includes:

[0071] If the deformation coefficient is within the deformation coefficient range, then after the touch pressure is cancelled, the reference data of the touch position is adjusted according to the deformation coefficient.

[0072] Here, the deformation coefficient range can be obtained through experiments before the terminal leaves the factory, for example, within the range of a linear relationship between touch data and touch pressure, or within the range of a recoverable touch deformation caused by touch pressure.

[0073] In the embodiment of the present disclosure, since there is a certain correspondence between the deformation on the touch screen and the touch data within a certain range, calibration can be directly performed according to the above-mentioned deformation coefficient. However, if the deformation generated on the touch screen is too large, the impact on the touch data has exceeded the correspondence within the above-mentioned range. At this time, calibration using the deformation coefficient may be inaccurate.

[0074] Therefore, in the embodiments of the present disclosure, it is possible to first determine whether the deformation coefficient corresponding to the touch pressure is within a predetermined range. If it is within the predetermined range, the deformation coefficient can be used for calibration. In one embodiment, since there is a corresponding relationship between the touch pressure and the deformation coefficient, it is possible to directly determine whether the touch pressure value is within the predetermined pressure range. If the touch pressure value is within the predetermined pressure range, it means that the above deformation coefficient is within the predetermined deformation coefficient range. At this time, the corresponding deformation coefficient is determined, and the area where the touch pressure acts is calibrated. Since only the touch area can be calibrated using the deformation coefficient, the calibration can be completed quickly with a small amount of calculation.

[0075] In addition, since the deformation caused by the touch pressure can be restored after a period of time when the deformation coefficient is within the above deformation coefficient range, the calibration of the reference data of the touch position can be continued for a predetermined time, and the deformation coefficient corresponding to the detected touch data and the touch pressure is used for calibration within the predetermined time until the deformation is restored. In this way, the touch false alarm or touch failure before the slight deformation caused by the touch pressure is restored can be reduced.

[0076] In some embodiments, the method further comprises:

[0077] If the deformation coefficient is outside the deformation coefficient range, then after the touch pressure is canceled, all the reference data of the touch screen are adjusted according to the touch data detected by the touch sensor on the touch screen.

[0078] Compared with the above embodiments, 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 no longer continue to change with the change of the touch pressure. In other words, at this time, the deformation coefficient can no longer accurately reflect 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.

[0079] At this time, the original calibration procedure can be used to scan and force calibration of the touch screen's full-screen touch sensor, without considering the area where the touch pressure acts and the size of the touch pressure. In addition, the result of the forced calibration is the final calibration result, thereby compensating for the irreversible deformation caused by the touch pressure. In this way, the accuracy of the overall touch screen detection can be improved, and accurate touch data can still be detected when the touch screen is deformed.

[0080] In some embodiments, determining the deformation coefficient of the touch screen according to the touch data and the touch pressure includes:

[0081] Determining a relationship curve between the touch pressure and the touch data during a period of time when the touch pressure on the touch screen is detected;

[0082] The deformation coefficient is determined according to the rate of change of the relationship curve.

[0083] In the disclosed embodiment, the deformation coefficient can be determined by using the change rate of the relationship curve between the touch pressure value and the corresponding touch data during the period of time when the touch pressure is detected. Compared with the touch data generated by using the recorded touch pressure and deformation after the touch pressure is cancelled, a more accurate deformation coefficient can be obtained, thereby realizing the calibration of the touch pressure action range.

[0084] The present disclosure also provides the following examples:

[0085] When a user puts a terminal device with a touch screen in a bag or pocket, the surface of the touch screen is easily squeezed or collided with other objects to cause slight deformation. After the deformation, the data processing of the terminal device may be abnormal, such as touch failure or touch false alarm.

[0086] In the disclosed embodiment, a software algorithm is used to compensate the data to make up for the data anomaly caused by physical deformation. The data compensation can be processed using the deformation coefficient, which can be obtained through the pressure value and the corresponding touch data. Figure 3 As shown, the following steps are included:

[0087] Step S301, using a pressure sensor to detect touch pressure, and sensing the moment when the touch pressure is cancelled;

[0088] Step S302: During the process of detecting the touch pressure, continuously reporting the touch data;

[0089] Step S303, storing the pressure value of the touch pressure in a register at the moment when the touch pressure is cancelled;

[0090] Step S304, determining whether the touch pressure is within a predetermined range;

[0091] Here, the pressure value of the touch pressure F = K*△data, where K is the deformation coefficient, which is a dynamically changing data (0% to 100%), and △data is the touch data, such as the change in the capacitance value of the touch capacitor. The pressure sensor detects that the finger is lifted and transmits the pressure value to the register. The relationship curve library between the pressure value, the predetermined pressure value and the touch data is used to determine whether the pressure value belongs to the predetermined range. If the pressure value belongs to the predetermined range, calibration is performed according to the deformation coefficient corresponding to the pressure value until the deformation of the touch screen returns to normal. If the pressure value is no longer within the predetermined range, forced calibration is performed after the finger is lifted. If the pressure sensor detects that the finger is not lifted, the pressure value continues to be detected and the coordinates corresponding to the touch data are reported.

[0092] Step S305: if the touch pressure is within a predetermined range, detecting a change value of the touch data;

[0093] Step S306, calibrating the reference data based on the touch pressure and the deformation coefficient determined by the touch data;

[0094] Step S307: If the touch pressure is no longer within the predetermined range, the touch screen is forcibly calibrated.

[0095] Through the technical solution of the embodiment of the present disclosure, a software algorithm is used to compensate for the touch detection anomaly caused by physical deformation, thereby improving the user experience.

[0096] Figure 4 is a structural block diagram of a touch screen calibration device according to an exemplary embodiment. Figure 4 As shown, the device 400 is applied to a terminal, and includes:

[0097] A detection module 401 is used to detect the touch pressure acting on the touch screen, and detect touch data reflecting the deformation of the touch screen when the touch pressure acts on the touch screen;

[0098] The calibration module 402 is used to calibrate the reference data of the touch screen according to the touch data and the touch pressure after the touch pressure is cancelled; wherein the reference data is the touch data corresponding to when the touch screen confirms that no touch operation is detected.

[0099] In some embodiments, the apparatus further comprises:

[0100] A first determination module, configured to determine a deformation coefficient of the touch screen according to the touch data and the touch pressure;

[0101] The calibration module comprises:

[0102] A first determination submodule, configured to determine a touch position according to the touch data;

[0103] The adjustment submodule is used to adjust the reference data of the touch position according to the deformation coefficient after the touch pressure is cancelled.

[0104] In some embodiments, the apparatus further comprises:

[0105] A second determination module, used to determine whether the deformation coefficient is within a pre-stored deformation coefficient range;

[0106] The adjustment submodule is specifically used for:

[0107] If the deformation coefficient is within the deformation coefficient range, then after the touch pressure is cancelled, the reference data of the touch position is adjusted according to the deformation coefficient.

[0108] In some embodiments, the apparatus further comprises:

[0109] The adjustment module is used to adjust all the 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 outside the deformation coefficient range.

[0110] In some embodiments, the first determining module includes:

[0111] A second determination submodule, configured to determine a relationship curve between the touch pressure and the touch data within a period of time when the touch pressure on the touch screen is detected;

[0112] The third determination submodule is used to determine the deformation coefficient according to the change rate of the relationship curve.

[0113] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0114] Figure 5 1 is a block diagram of a terminal 500 according to an exemplary 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, etc.

[0115] Reference Figure 5 The terminal 500 may include one or more of the following components: a processing component 501 , a memory 502 , a power component 503 , a multimedia component 504 , an audio component 505 , an input / output (I / O) interface 506 , a sensor component 507 , and a communication component 508 .

[0116] The processing component 501 generally controls the overall operation of the terminal 500, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 501 may include one or more processors 510 to execute instructions to complete all or part of the steps of the above method. In addition, the processing component 501 may also include one or more modules to facilitate the interaction between the processing component 501 and other components. For example, the processing component 501 may include a multimedia module to facilitate the interaction between the multimedia component 504 and the processing component 501.

[0117] 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 the terminal 500, contact data, phone book data, messages, pictures, videos, etc. The memory 502 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as a static random access memory (SRAM), an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a programmable read-only memory (PROM), a read-only memory (ROM), a magnetic memory, a flash memory, a magnetic disk, or an optical disk.

[0118] The power supply component 503 provides power to various components of the terminal 500. The power supply component 503 may include: a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the terminal 500.

[0119] The multimedia component 504 includes 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 input signals from the 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 boundaries of the 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 camera and / or a rear camera. When the terminal 500 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and / or the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0120] The audio component 505 is configured to output and / or input audio signals. For example, the audio component 505 includes a microphone (MIC), and when the terminal 500 is in an operation mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 510 or sent via the communication component 508. In some embodiments, the audio component 505 also includes a speaker for outputting audio signals.

[0121] I / O interface 506 provides an interface between processing component 501 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.

[0122] The sensor assembly 507 includes one or more sensors for providing various aspects of status assessment for the terminal 500. For example, the sensor assembly 507 can detect the open / closed state of the terminal 500, the relative positioning of the components, such as the display and keypad of the terminal 500, and the sensor assembly 507 can also detect the position change of the terminal 500 or a component of the terminal 500, the presence or absence of contact between the user and the terminal 500, the orientation or acceleration / deceleration of the terminal 500, and the temperature change of the terminal 500. The sensor assembly 507 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 507 may also include an optical 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.

[0123] The communication component 508 is configured to facilitate wired or wireless communication between the terminal 500 and other devices. The terminal 500 can 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 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology or other technologies.

[0124] In an exemplary embodiment, 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, microcontrollers, microprocessors, or other electronic components to perform the above methods.

[0125] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 502 including instructions, and the instructions can be executed by a processor 510 of a terminal 500 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0126] The embodiments of the present disclosure also provide a non-temporary computer-readable storage medium. When the instructions in the storage medium are executed by the processor of the mobile terminal, the mobile terminal can execute the method provided by any of the above embodiments.

[0127] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed in this disclosure. The specification and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.

[0128] It should be understood that the present invention is not limited to the exact construction that has been 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 invention is limited only by the appended claims.

Claims

1. A touch screen calibration method, characterized in that: include: Detecting touch pressure applied to the touch screen, and detecting touch data reflecting a deformation condition of the touch screen when the touch pressure acts on the touch screen; 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; wherein the reference data is the touch data corresponding to when the touch screen confirms that no touch operation is detected; Among them, after the touch pressure is cancelled, the baseline data of the touch screen is calibrated according to the touch data and the touch pressure, including: determining the touch position according to the touch data; after the touch pressure is cancelled, adjusting the baseline data of the touch position according to the deformation coefficient.

2. The method according to claim 1, characterized in that 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 includes: If the deformation coefficient is within the deformation coefficient range, then after the touch pressure is cancelled, the reference data of the touch position is adjusted according to the deformation coefficient.

3. The method according to claim 2, characterized in that The method further comprises: If the deformation coefficient is outside the deformation coefficient range, then after the touch pressure is canceled, all the reference data of the touch screen are adjusted according to the touch data detected by the touch sensor on the touch screen.

4. The method according to any one of claims 1 to 3, characterized in that: The step of determining the deformation coefficient of the touch screen according to the touch data and the touch pressure includes: Determining a relationship curve between the touch pressure and the touch data during a period of time when the touch pressure on the touch screen is detected; The deformation coefficient is determined according to the rate of change of the relationship curve.

5. A touch screen calibration device, characterized in that: include: A detection module, used to detect the touch pressure acting on the touch screen, and detect touch data reflecting the deformation condition of the touch screen when the touch pressure acts on the touch screen; A first determination module, configured to determine a deformation coefficient of the touch screen according to the touch data and the touch pressure; A calibration module, configured to calibrate the reference data of the touch screen according to the touch data and the touch pressure after the touch pressure is cancelled; wherein the reference data is the touch data corresponding to when the touch screen confirms that no touch operation is detected; The calibration module includes: a first determination submodule for determining the touch position according to the touch data; and an adjustment submodule for adjusting the reference data of the touch position according to the deformation coefficient after the touch pressure is cancelled.

6. The device according to claim 5, characterized in that The device also includes: A second determination module, used to determine whether the deformation coefficient is within a pre-stored deformation coefficient range; The adjustment submodule is specifically used for: If the deformation coefficient is within the deformation coefficient range, then after the touch pressure is cancelled, the reference data of the touch position is adjusted according to the deformation coefficient.

7. The device according to claim 6, characterized in that The device also includes: The adjustment module is used to adjust all the 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 outside the deformation coefficient range.

8. The device according to any one of claims 5 to 7, characterized in that: The first determining module includes: A second determination submodule, configured to determine a relationship curve between the touch pressure and the touch data within a period of time when the touch pressure on the touch screen is detected; The third determination submodule is used to determine the deformation coefficient according to the change rate of the relationship curve.

9. A touch screen calibration device, characterized in that: The apparatus comprises at least: a processor and a memory for storing executable instructions that can be run on the processor, wherein: When the processor is used to run the executable instructions, the executable instructions execute the steps in the touch screen calibration method provided in any one of claims 1 to 4 above.

10. A non-transitory computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, implement the steps of the touch screen calibration method provided in any one of claims 1 to 4 above.

Citation Information

Patent Citations

  • Touch pressure sensitivity correction method and computer-readable recording medium

    CN106371647A

  • Touch operation calibration method and mobile terminal

    CN106445264A