CN113934322A - Touch drift calibration method and device for touch screen, storage medium and touch screen - Google Patents

Touch drift calibration method and device for touch screen, storage medium and touch screen Download PDF

Info

Publication number
CN113934322A
CN113934322A CN202111192719.6A CN202111192719A CN113934322A CN 113934322 A CN113934322 A CN 113934322A CN 202111192719 A CN202111192719 A CN 202111192719A CN 113934322 A CN113934322 A CN 113934322A
Authority
CN
China
Prior art keywords
drift
touch
output point
point location
allowable
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.)
Granted
Application number
CN202111192719.6A
Other languages
Chinese (zh)
Other versions
CN113934322B (en
Inventor
赵越
蒋雪
关富文
彭嘉欣
康文斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202111192719.6A priority Critical patent/CN113934322B/en
Publication of CN113934322A publication Critical patent/CN113934322A/en
Application granted granted Critical
Publication of CN113934322B publication Critical patent/CN113934322B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

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)
  • Position Input By Displaying (AREA)

Abstract

The invention provides a touch drift calibration method and device of a touch screen, a storage medium and the touch screen, wherein the method comprises the following steps: detecting whether the current touch output point position of the touch screen is within a preset allowable drift range; and if the touch output point position is detected not to be in the allowable drifting range, determining that touch drifting occurs. The scheme of the invention can realize automatic detection of whether touch drift occurs and self-adaptive calibration.

Description

Touch drift calibration method and device for touch screen, storage medium and touch screen
Technical Field
The invention relates to the field of control, in particular to a touch drift calibration method and device for a touch screen, a storage medium and the touch screen.
Background
At present, after a touch screen of a large-scale working condition unit is used for a long time, due to the influence of factors such as temperature, humidity, vibration, electromagnetic interference and the like of the surrounding environment, touch can generate drift, the existing method solves the drift phenomenon through a method of manually calibrating the screen, and automatic detection of touch drift and automatic calibration cannot be realized.
Disclosure of Invention
The main purpose of the present invention is to overcome the above-mentioned drawbacks of the related art, and to provide a method and an apparatus for calibrating touch drift of a touch screen, a storage medium, and a touch screen, so as to solve the problem that automatic detection of touch drift and automatic calibration cannot be implemented in the related art.
The invention provides a touch drift calibration method of a touch screen, which is characterized by comprising the following steps: detecting whether the current touch output point position of the touch screen is within a preset allowable drift range; if the touch output point position is detected not to be within the allowable drifting range, determining that touch drifting occurs; and if the touch drift is determined to occur, calibrating the current touch output point position of the touch screen.
Optionally, the method further comprises: if the touch drift is determined to occur, judging the drift degree according to the intersection area of the output point location region of the current touch output point location and the drift allowable region corresponding to the current touch input point location; the output point location area is determined according to the coordinates of the current touch output point location; the drift allowable area is determined according to the coordinates of the current touch input point position and the drift allowable range.
Optionally, the degree of drift comprises a first degree of drift and a second degree of drift, the first degree of drift being less than the second degree of drift; judging the drift degree according to the intersection area of the output point location area of the current touch output point location and the drift allowable area corresponding to the current touch input point location, and the method comprises the following steps: if the intersection area is not zero, determining a first drift degree; and if the intersection area is zero, determining that the second drift degree is achieved.
Optionally, if it is determined that the touch drift occurs, calibrating the current touch output point of the touch screen, including: if the first drift degree is determined, calculating the drift distance according to the distance between the output point location region of the current touch output point location and the intersection point of the drift allowable region corresponding to the current touch input point location, the radius of the drift allowable region and the radius of the output point location region of the current touch output point location; calibrating the current touch output point position according to the drift distance; and if the second drift degree is determined, shielding the output points outside the drift allowable region.
Optionally, the preset allowable drift range includes: and (4) presetting the maximum allowable point position offset.
In another aspect, the present invention provides a touch drift calibration apparatus for a touch screen, including: the detection unit is used for detecting whether the current touch output point position of the touch screen is within a preset allowable drift range; the determining unit is used for determining that touch drift occurs if the detecting unit detects that the touch output point position is not in the drift allowable range; and the calibration unit is used for calibrating the current touch output point position of the touch screen if the determination unit determines that the touch drift occurs.
Optionally, the method further comprises: the judging unit is used for judging the drifting degree according to the intersection area of the output point location area of the current touch output point location and the drifting allowed area corresponding to the current touch input point location if the determining unit determines that the touch drifting occurs; the output point location area is determined according to the coordinates of the current touch output point location; the drift allowable area is determined according to the coordinates of the current touch input point position and the drift allowable range.
Optionally, the degree of drift comprises a first degree of drift and a second degree of drift, the first degree of drift being less than the second degree of drift; the determining unit determines the drift degree according to the intersection area of the output point location region of the current touch output point location and the drift allowable region corresponding to the current touch input point location, and includes: if the intersection area is not zero, determining a first drift degree; and if the intersection area is zero, determining that the second drift degree is achieved.
Optionally, the calibrating unit calibrates the current touch output point of the touch screen, including: if the judging unit judges that the first drift degree exists, calculating the drift distance according to the distance between the output point location region of the current touch output point location and the intersection point of the drift allowable region corresponding to the current touch input point location, the radius of the drift allowable region and the radius of the output point location region of the current touch output point location; calibrating the current touch output point position according to the drift distance; and if the judging unit judges that the second drift degree exists, shielding the output points outside the drift allowable region.
Optionally, the preset allowable drift range includes: and (4) presetting the maximum allowable point position offset.
A further aspect of the invention provides a storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of any of the methods described above.
Yet another aspect of the present invention provides a touch screen comprising a processor, a memory, and a computer program stored on the memory and operable on the processor, wherein the processor executes the program to implement the steps of any of the methods described above.
In a further aspect, the invention provides a touch screen comprising a touch drift calibration device as described in any of the preceding claims.
According to the technical scheme of the invention, whether the touch output point position is within the preset allowable drift range or not is determined according to the touch output point position, whether the touch drift occurs or not is determined, self-adaptive calibration can be realized on the touch screen according to different drift conditions during touch, and different allowable drift ranges can be set according to the accuracy of the touch point position of the touch screen. The screen does not need to be manually calibrated, so that the repeated and complicated operation steps are avoided, the screen only needs to be calibrated through one-time factory setting, and then the manual calibration is not needed, so that the maintenance risk is reduced, and the efficiency is improved; aiming at drifts of different degrees, the method can be realized in a self-adaptive calibration mode, and the cost of later maintenance is reduced.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
FIG. 1 is a schematic diagram of a touch drift calibration method for a touch screen according to an embodiment of the present invention;
fig. 2a is a schematic diagram of a position relationship among an input point location region, a drift-allowable region, and an output point location region according to an embodiment of the present invention;
FIG. 2b is a schematic diagram illustrating a position relationship among an input point location region, a drift-allowable region, and an output point location region according to another embodiment of the present invention;
FIG. 2c is a schematic diagram illustrating a position relationship among the input point location region, the drift-allowable region, and the output point location region according to another embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating a touch drift calibration method for a touch screen according to an embodiment of the present invention;
fig. 4 is a block diagram of an embodiment of a touch drift calibration apparatus for a touch screen according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the specific embodiments of the present invention and the accompanying drawings. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
At present, after a touch screen of a large-scale working condition unit is used for a long time, due to the influence of factors such as temperature, humidity, vibration and electromagnetic interference of the surrounding environment, touch can generate drift, the existing method solves the drift phenomenon through a method of manually calibrating the screen, and the operation is complex, and the efficiency is low. In addition, the drift caused by the influence of external environmental factors is irreversible and serious drift, cannot be recovered through manual calibration and can only be solved by replacing a screen.
The invention provides a touch drift calibration method of a touch screen. The touch screen may be any one of a resistive type, a capacitive type, an infrared type, and a surface acoustic wave type touch screen.
Fig. 1 is a schematic method diagram of an embodiment of a touch drift calibration method for a touch screen according to the present invention.
As shown in fig. 1, according to one embodiment of the present invention, the method includes at least step S110, step S120, and step S130.
And step S110, detecting whether the current touch output point position of the touch screen is within a preset allowable drift range.
And step S120, if the touch output point position is detected not to be in the allowable drift range, determining that touch drift occurs.
When the initial setting is performed before the touch screen leaves the factory, the screen is calibrated (for example, screen calibration options or buttons are manually clicked to enter calibration, and four corners and the center of the screen are clicked to perform screen calibration). After the initial calibration of the touch screen is completed, recording the calibrated touch point position, and determining the point reference coordinate of the whole screen for subsequently determining the coordinate of the touch input point position. When the touch screen is touched, the position of the touch output point is detected, and the coordinate of the touch output point is determined based on the reference coordinate, so that whether the touch output point is within a preset allowable range of drift is determined. After initial calibration, the calibration is equivalent to a reference with one coordinate axis of the screen, and then each time the screen is touched, the corresponding coordinate point input is recorded.
The drift allowable range is set in advance. The allowable drift range may specifically be a maximum allowable point offset. For example, if the maximum allowable dot offset amount is set to 10, a shift of 10 pixel dots or more is determined as a touch drift, and a shift within 10 pixel dots is determined.
Optionally, different allowable drift ranges may be set according to the requirement on the accuracy of the touch point locations of the touch screen, if the requirement on the accuracy of the touch point locations is not high, a higher allowable drift range may be set, otherwise, a lower allowable drift range is set to ensure the accuracy of the touch point locations.
For example, as shown in fig. 2a, 2b, and 2c, the drift allowable range may be represented by a drift allowable region determined according to the coordinates of the current touch input point position and the drift allowable range. Specifically, a circular region determined with the current coordinate of the touch input point location as a center of a circle and the maximum allowable point location offset as a radius is used as the drift allowable region. The circular region 1 shown in fig. 2a, 2b, and 2c is a drift-allowable region, and a larger area of the drift-allowable region indicates a larger drift-allowable range, whereas a smaller area indicates a smaller drift-allowable range. The allowable drift range may be set by an option, and for example, the maximum allowable point position offset amount may be set by an option. Different maximum allowable point location offset amounts may be set to different drift levels, for example, 10 drift levels are set for selection, every 5 point location offset amounts are taken as one level, that is, when the point location offset amount is 5, the drift level is 1 level, when the point location offset amount is 10, the drift level is 2 levels, and so on, when the point location offset amount is 50, the drift level is 10 levels, and the setting can be selected by a user.
Step S130, if the touch drift is determined to occur, calibrating the current touch output point position of the touch screen.
In a specific embodiment, if it is determined that the touch drift occurs, the drift degree is determined according to a meeting area of a drift allowed region corresponding to an output point position region of the current touch output point position and the current touch input point position. And calibrating the current touch output point position of the touch screen according to the determined drift degree.
The input point location area is an area formed at a touch position when the touch screen is touched, and when the touch screen is touched (for example, a finger touches the screen), an approximately circular area at the touch position is the input point location area (when an optical imaging material is added to the back of the liquid crystal, the touch liquid crystal covers one area, and the area is approximately circular, namely the input point location area).
And the output point location area is determined according to the coordinates of the current touch output point location. Specifically, the coordinates of the output point location can be identified through the photosensitive characteristics of the touch screen, so that an output point location area is obtained, the output point location area cannot be actually displayed on the screen and is only used for virtual calculation, the output point location is actually responded according to the input point location, the electric signal is converted into an optical signal (photosensitive material), and then the optical signal is converted into corresponding coordinates to obtain the output point location area. In other words, the screen itself responds to the touched point, which is a characteristic of the touch screen, and only the subsequent calculation is performed by photoelectric conversion into corresponding coordinates.
As shown in fig. 2a, 2b, and 2c, the circle 2 is an input point location region, the circle 1 indicates a drift allowable range corresponding to an input point location, i.e., a drift allowable region, theoretically, the size of the drift allowable region is equal to or larger than that of the input point location region, and the circle 3 shown in fig. 2a, 2b, and 2c indicates an output point location region, i.e., a response after input, and the drift degree is determined according to the intersection relationship between the three regions.
In one embodiment, the degree of drift includes a first degree of drift and a second degree of drift. The first degree of drift is less than the second degree of drift. Judging the drift degree according to the intersection area of the output point location area of the current touch output point location and the drift allowable area corresponding to the current touch input point location, and the method comprises the following steps: if the intersection area is not zero, determining a first drift degree; and if the intersection area is zero, determining that the second drift degree is achieved. For example, the first degree of drift is a slight drift and the second degree of drift is a severe drift. If there is a meeting plane (the meeting area is not zero), it is determined to be a slight drift, as shown in fig. 2b, and if there is no meeting plane (the meeting area is zero), it is determined to be a severe drift, as shown in fig. 2 c.
The calibrating the current touch output point location of the touch screen may specifically include: if the second drift degree is determined, calculating the drift distance according to the distance between the output point location region of the current touch output point location and the intersection point of the drift allowable region corresponding to the current touch input point location, the radius of the drift allowable region and the radius of the output point location region of the current touch output point location; calibrating the current touch output point position according to the calculated drift distance; and if the first drift degree is determined, shielding output points outside the drift allowable region.
Specifically, if it is determined that the first drift degree is present, the drift distance may be calculated according to a distance between an output point location region of the current touch output point and an intersection of the drift allowed region corresponding to the current touch input point (that is, an intersection of an edge of the output point location region of the current touch output point and an edge of the drift allowed region corresponding to the current touch input point), a radius of the drift allowed region, and a radius of the output point location region of the current touch output point; according to the calculated drift distance, the drift distance is offset on the basis of the output point location, so that the current touch output point location is calibrated. That is, the output point location and the input point location are made to coincide with each other by the movement of the coordinate location, and can be offset. The output point location area determines the radius according to the actual response area (approximately circular). If the input point location area and the output point location area are not drifted at all, the sizes and the positions of the input point location area and the output point location area are theoretically the same, but the drift occurs, the position of the output point location area is changed definitely, the area size of the output point location area is influenced by the characteristics of the touch device, the size of the output point location area may be the same as or different from that of the input point location area, and the radius of the output point location area is calculated according to the actual response area.
As shown in fig. 2b, the distance between the intersection points C and D can be calculated according to the coordinates of the intersection points C and D of the two regions, and the drift distance AB can be obtained by combining the radius (AC) of the drift-allowable region and the radius (BC) of the output point region.
If the second drift degree (for example, severe drift) is determined, all output points outside the drift allowable region are directly shielded, so as to achieve the purpose of calibration.
In order to clearly illustrate the technical solution of the present invention, an implementation flow of the touch drift calibration method of the touch screen according to the present invention is described below with an embodiment.
Fig. 3 is a schematic method diagram of a touch drift calibration method of a touch screen according to an embodiment of the present invention. As shown in fig. 3, when the touch screen is initially set (e.g., before factory shipment), the screen is calibrated (e.g., manually clicking a screen calibration option or button to enter calibration, clicking the four corners and center of the screen to perform screen calibration). After the initial calibration of the touch screen is completed, the well-calibrated point location position is recorded, so that the point location reference coordinates of the whole screen are determined, and the coordinates of the touch input point location are determined for the follow-up. Different drift allowable ranges are set in advance according to the accuracy of touch point positions of the touch screen, whether the touch output point positions are within the drift allowable range or not is detected, if the touch output point positions are within the drift allowable range, it is judged that no drift phenomenon occurs, and if the touch output point positions are outside the drift allowable range, it is judged that drift occurs. After the drift is judged to occur, the drift degree is judged according to the size of the intersection area of the output point position region and the corresponding drift allowable region, and the judgment is divided into slight drift and severe drift. If there is a meeting surface, as shown in fig. 2b, it is determined to be a slight drift, and if there is no meeting surface, it is determined to be a severe drift, as shown in fig. 2 c. If slight drift occurs, the drift distance is calculated according to the intersection point distance, the radius of the drift allowable area and the radius of the output point area, and the drift distance is offset on the basis of the output point, so that calibration is realized. And if serious drift occurs, directly offsetting all output point positions outside the allowable range of the drift, and realizing calibration.
The invention also provides a touch drift calibration device of the touch screen. The touch screen may be any one of a resistive type, a capacitive type, an infrared type, and a surface acoustic wave type touch screen.
Fig. 4 is a block diagram of an embodiment of a touch drift calibration apparatus for a touch screen according to the present invention. As shown in fig. 4, the touch drift calibration apparatus 100 includes a detection unit 110, a determination unit 120, and a calibration unit 130.
The detecting unit 110 is configured to detect whether a current touch output point position of the touch screen is within a preset allowable drift range; a determining unit 120, configured to determine that touch drift occurs if the detecting unit 110 detects that the touch output point location is not within the drift allowable range; the calibration unit 130 is configured to calibrate a current touch output point of the touch screen if the determining unit determines that the touch drift occurs.
When the initial setting is performed before the touch screen leaves the factory, the screen is calibrated (for example, screen calibration options or buttons are manually clicked to enter calibration, and four corners and the center of the screen are clicked to perform screen calibration). After the initial calibration of the touch screen is completed, recording the calibrated touch point position, and determining the point reference coordinate of the whole screen for subsequently determining the coordinate of the touch input point position. When the touch screen is touched, the detection unit 110 detects a touch output point location position, and determines a touch output point location coordinate based on the reference coordinate, thereby determining whether the touch output point location is within a preset allowable drift range. After initial calibration, the calibration is equivalent to a reference with one coordinate axis of the screen, and then each time the screen is touched, the corresponding coordinate point input is recorded.
The drift allowable range is set in advance. The allowable drift range may specifically be a maximum allowable point offset. For example, if the maximum allowable dot offset amount is set to 10, a shift of 10 pixel dots or more is determined as a touch drift, and a shift within 10 pixel dots is determined.
Optionally, different allowable drift ranges may be set according to the requirement on the accuracy of the touch point locations of the touch screen, if the requirement on the accuracy of the touch point locations is not high, a higher allowable drift range may be set, otherwise, a lower allowable drift range is set to ensure the accuracy of the touch point locations.
For example, as shown in fig. 2a, 2b, and 2c, the drift allowable range may be represented by a drift allowable region determined according to the coordinates of the current touch input point position and the drift allowable range. Specifically, a circular region determined with the current coordinate of the touch input point location as a center of a circle and the maximum allowable point location offset as a radius is used as the drift allowable region. The circular region 1 shown in fig. 2a, 2b, and 2c is a drift-allowable region, and a larger area of the drift-allowable region indicates a larger drift-allowable range, whereas a smaller area indicates a smaller drift-allowable range. The allowable drift range may be set by an option, and for example, the maximum allowable point position offset amount may be set by an option. Different maximum allowable point location offset amounts may be set to different drift levels, for example, 10 drift levels are set for selection, every 5 point location offset amounts are taken as one level, that is, when the point location offset amount is 5, the drift level is 1 level, when the point location offset amount is 10, the drift level is 2 levels, and so on, when the point location offset amount is 50, the drift level is 10 levels, and the setting can be selected by a user.
In a specific embodiment, the touch drift calibration apparatus 100 further includes a determining unit (not shown), where the determining unit 120 is configured to determine a drift degree according to an intersection area of an output point location region of the current touch output point location and a drift allowable region corresponding to the current touch input point location if the determining unit determines that the touch drift occurs. The calibration unit 130 calibrates the current touch output point position of the touch screen based on the drift degree determined by the determination unit.
The input point location area is an area formed at a touch position when the touch screen is touched, and when the touch screen is touched (for example, a finger touches the screen), an approximately circular area at the touch position is the input point location area (when an optical imaging material is added to the back of the liquid crystal, the touch liquid crystal covers one area, and the area is approximately circular, namely the input point location area).
And the output point location area is determined according to the coordinates of the current touch output point location. Specifically, the coordinates of the output point location can be identified through the photosensitive characteristics of the touch screen, so that an output point location area is obtained, the output point location area cannot be actually displayed on the screen and is only used for virtual calculation, the output point location is actually responded according to the input point location, the electric signal is converted into an optical signal (photosensitive material), and then the optical signal is converted into corresponding coordinates to obtain the output point location area. In other words, the screen itself responds to the touched point, which is a characteristic of the touch screen, and only the subsequent calculation is performed by photoelectric conversion into corresponding coordinates.
As shown in fig. 2a, 2b, and 2c, the circle 2 is an input point location region, the circle 1 indicates a drift allowable range corresponding to an input point location, i.e., a drift allowable region, theoretically, the size of the drift allowable region is equal to or larger than that of the input point location region, and the circle 3 shown in fig. 2a, 2b, and 2c indicates an output point location region, i.e., a response after input, and the drift degree is determined according to the intersection relationship between the three regions.
In one embodiment, the drift degree includes a first drift degree and a second drift degree, the first drift degree being less than the second drift degree; the determining unit, which determines the drift degree according to the intersection area of the output point location region of the current touch output point location and the drift allowed region corresponding to the current touch input point location, may specifically include: if the intersection area is not zero, determining a first drift degree; and if the intersection area is zero, determining that the second drift degree is achieved. For example, the first degree of drift is a slight drift and the second degree of drift is a severe drift. If there is a meeting plane (the meeting area is not zero), it is determined to be a slight drift, as shown in fig. 2b, and if there is no meeting plane (the meeting area is zero), it is determined to be a severe drift, as shown in fig. 2 c.
The calibrating unit 130 may specifically calibrate the current touch output point position of the touch screen, including: if the judging unit judges that the second drift degree exists, calculating the drift distance according to the distance between the output point location region of the current touch output point location and the intersection point of the drift allowable region corresponding to the current touch input point location, the radius of the drift allowable region and the radius of the output point location region of the current touch output point location; calibrating the current touch output point position according to the drift distance; and if the judging unit judges that the first drift degree exists, shielding output points outside the drift allowable region.
Specifically, if it is determined that the second drift degree is present, the drift distance may be calculated according to a distance between an output point location region of the current touch output point and an intersection of the drift allowed region corresponding to the current touch input point (that is, an intersection of an edge of the output point location region of the current touch output point and an edge of the drift allowed region corresponding to the current touch input point), a radius of the drift allowed region, and a radius of the output point location region of the current touch output point; according to the calculated drift distance, the drift distance is offset on the basis of the output point location, so that the current touch output point location is calibrated. That is, the output point location and the input point location are made to coincide with each other by the movement of the coordinate location, and can be offset. The output point location area determines the radius according to the actual response area (approximately circular). If the input point location area and the output point location area are not drifted at all, the sizes and the positions of the input point location area and the output point location area are theoretically the same, but the drift occurs, the position of the output point location area is changed definitely, the area size of the output point location area is influenced by the characteristics of the touch device, the size of the output point location area may be the same as or different from that of the input point location area, and the radius of the output point location area is calculated according to the actual response area.
As shown in fig. 2b, the distance between the intersection points C and D can be calculated from the coordinates of the intersection points C and D in the two regions, and the drift distance AB can be obtained by combining the radius (AC) of the drift-allowable region and the radius (BC) of the output point region.
If the second drift degree (for example, severe drift) is determined, all output points outside the drift allowable region are directly shielded, so as to achieve the purpose of calibration.
The invention also provides a storage medium corresponding to the method for protecting a magnetic bearing system, on which a computer program is stored which, when being executed by a processor, carries out the steps of any of the methods described above.
The invention also provides a touch screen corresponding to the touch drift calibration method of the touch screen, which comprises a processor, a memory and a computer program stored in the memory and capable of running on the processor, wherein the processor realizes the steps of any one of the methods when executing the program.
The invention also provides a touch screen corresponding to the touch drift calibration device of the touch screen, which comprises the protection device of the magnetic suspension bearing system.
Therefore, according to the scheme provided by the invention, whether the touch output point position is within the preset allowable drift range or not is determined, whether the touch drift occurs or not is determined, self-adaptive calibration can be realized on the touch screen according to different drift conditions during touch, and different allowable drift ranges can be set according to the accuracy of the touch point position of the touch screen. The screen does not need to be manually calibrated, so that the repeated and complicated operation steps are avoided, the screen only needs to be calibrated through one-time factory setting, and then the manual calibration is not needed, so that the maintenance risk is reduced, and the efficiency is improved; aiming at drifts of different degrees, the method can be realized in a self-adaptive calibration mode, and the cost of later maintenance is reduced.
The functions described herein may be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Other examples and implementations are within the scope and spirit of the invention and the following claims. For example, due to the nature of software, the functions described above may be implemented using software executed by a processor, hardware, firmware, hardwired, or a combination of any of these. In addition, each functional unit may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and the parts serving as the control device may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The above description is only an example of the present invention, and is not intended to limit the present invention, and it is obvious to those skilled in the art that various modifications and variations can be made in the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims (12)

1. A touch drift calibration method for a touch screen, comprising:
detecting whether the current touch output point position of the touch screen is within a preset allowable drift range;
if the touch output point position is detected not to be within the allowable drifting range, determining that touch drifting occurs;
and if the touch drift is determined to occur, calibrating the current touch output point position of the touch screen.
2. The method of claim 1, further comprising:
if the touch drift is determined to occur, judging the drift degree according to the intersection area of the output point location region of the current touch output point location and the drift allowable region corresponding to the current touch input point location;
the output point location area is determined according to the coordinates of the current touch output point location; the drift allowable area is determined according to the coordinates of the current touch input point position and the drift allowable range.
3. The method of claim 2, wherein the degree of drift comprises a first degree of drift and a second degree of drift, the first degree of drift being less than the second degree of drift; judging the drift degree according to the intersection area of the output point location area of the current touch output point location and the drift allowable area corresponding to the current touch input point location, and the method comprises the following steps:
if the intersection area is not zero, determining a first drift degree; and if the intersection area is zero, determining that the second drift degree is achieved.
4. The method of claim 3, wherein calibrating the current touch output point location of the touch screen if it is determined that the touch drift occurs comprises:
if the first drift degree is determined, calculating the drift distance according to the distance between the output point location region of the current touch output point location and the intersection point of the drift allowable region corresponding to the current touch input point location, the radius of the drift allowable region and the radius of the output point location region of the current touch output point location; calibrating the current touch output point position according to the drift distance;
and if the second drift degree is determined, shielding the output points outside the drift allowable region.
5. The method according to any one of claims 1 to 4, wherein the preset allowable drift range comprises: and (4) presetting the maximum allowable point position offset.
6. A touch drift calibration apparatus for a touch screen, comprising:
the detection unit is used for detecting whether the current touch output point position of the touch screen is within a preset allowable drift range;
the determining unit is used for determining that touch drift occurs if the detecting unit detects that the touch output point position is not in the drift allowable range;
and the calibration unit is used for calibrating the current touch output point position of the touch screen if the determination unit determines that the touch drift occurs.
7. The apparatus of claim 6, further comprising:
the judging unit is used for judging the drifting degree according to the intersection area of the output point location area of the current touch output point location and the drifting allowed area corresponding to the current touch input point location if the determining unit determines that the touch drifting occurs;
the output point location area is determined according to the coordinates of the current touch output point location; the drift allowable area is determined according to the coordinates of the current touch input point position and the drift allowable range.
8. The apparatus of claim 7, wherein the degree of drift comprises a first degree of drift and a second degree of drift, the first degree of drift being less than the second degree of drift; the determining unit determines the drift degree according to the intersection area of the output point location region of the current touch output point location and the drift allowable region corresponding to the current touch input point location, and includes:
if the intersection area is not zero, determining a first drift degree; and if the intersection area is zero, determining that the second drift degree is achieved.
9. The apparatus of claim 8, wherein the calibrating unit calibrates the current touch output point location of the touch screen, and comprises:
if the judging unit judges that the first drift degree exists, calculating the drift distance according to the distance between the output point location region of the current touch output point location and the intersection point of the drift allowable region corresponding to the current touch input point location, the radius of the drift allowable region and the radius of the output point location region of the current touch output point location; calibrating the current touch output point position according to the drift distance; and if the judging unit judges that the second drift degree exists, shielding the output points outside the drift allowable region.
10. The apparatus according to any one of claims 6-9, wherein the preset allowable drift range comprises: and (4) presetting the maximum allowable point position offset.
11. A storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 5.
12. A touch screen comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method of any of claims 1 to 5 when executing the program or comprising the touch drift calibration device of any of claims 6 to 10.
CN202111192719.6A 2021-10-13 2021-10-13 Touch drift calibration method and device of touch screen, storage medium and touch screen Active CN113934322B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111192719.6A CN113934322B (en) 2021-10-13 2021-10-13 Touch drift calibration method and device of touch screen, storage medium and touch screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111192719.6A CN113934322B (en) 2021-10-13 2021-10-13 Touch drift calibration method and device of touch screen, storage medium and touch screen

Publications (2)

Publication Number Publication Date
CN113934322A true CN113934322A (en) 2022-01-14
CN113934322B CN113934322B (en) 2024-04-05

Family

ID=79278678

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111192719.6A Active CN113934322B (en) 2021-10-13 2021-10-13 Touch drift calibration method and device of touch screen, storage medium and touch screen

Country Status (1)

Country Link
CN (1) CN113934322B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004054413A (en) * 2002-07-17 2004-02-19 Casio Comput Co Ltd Input position adjusting device and input position adjusting program
CN1815429A (en) * 2006-01-24 2006-08-09 中国电子科技集团公司第五十五研究所 Method and device for automatically removing temperature difference drift of contact coordinate for touch screen
CN101627352A (en) * 2007-03-07 2010-01-13 日本电气株式会社 Display terminal with touch panel function and calibration method
US20100214253A1 (en) * 2009-02-25 2010-08-26 Ite Tech. Inc. Drift compensation apparatus of capacitive touch panel and drift compensation method thereof
CN102411448A (en) * 2011-10-26 2012-04-11 苏州瀚瑞微电子有限公司 Automatic calibration method for touch screens
CN102566822A (en) * 2012-01-17 2012-07-11 苏州瀚瑞微电子有限公司 Automatic calibration method for touch screen
JP2012234476A (en) * 2011-05-09 2012-11-29 Casio Comput Co Ltd Information processor and program
CN105242804A (en) * 2015-09-21 2016-01-13 京东方科技集团股份有限公司 Touch compensation circuit, compensating method for touch compensation circuit, touch screen and display apparatus
CN105807998A (en) * 2016-03-09 2016-07-27 周奇 Correction method and device of capacitive touch screen

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004054413A (en) * 2002-07-17 2004-02-19 Casio Comput Co Ltd Input position adjusting device and input position adjusting program
CN1815429A (en) * 2006-01-24 2006-08-09 中国电子科技集团公司第五十五研究所 Method and device for automatically removing temperature difference drift of contact coordinate for touch screen
CN101627352A (en) * 2007-03-07 2010-01-13 日本电气株式会社 Display terminal with touch panel function and calibration method
US20100214253A1 (en) * 2009-02-25 2010-08-26 Ite Tech. Inc. Drift compensation apparatus of capacitive touch panel and drift compensation method thereof
JP2012234476A (en) * 2011-05-09 2012-11-29 Casio Comput Co Ltd Information processor and program
CN102411448A (en) * 2011-10-26 2012-04-11 苏州瀚瑞微电子有限公司 Automatic calibration method for touch screens
CN102566822A (en) * 2012-01-17 2012-07-11 苏州瀚瑞微电子有限公司 Automatic calibration method for touch screen
CN105242804A (en) * 2015-09-21 2016-01-13 京东方科技集团股份有限公司 Touch compensation circuit, compensating method for touch compensation circuit, touch screen and display apparatus
CN105807998A (en) * 2016-03-09 2016-07-27 周奇 Correction method and device of capacitive touch screen

Also Published As

Publication number Publication date
CN113934322B (en) 2024-04-05

Similar Documents

Publication Publication Date Title
EP3483706A1 (en) Method and device for preventing mistouch on touch screen, mobile terminal, and storage medium
US8970518B2 (en) Click position control apparatus, click position control method, and touch sensor system
CN102662578B (en) Switching control method of desktop container and terminal
CN108027692B (en) Method for improving fault tolerance of touch screen and touch screen terminal
WO2014160436A1 (en) Baseline management for sensing device
US10338741B2 (en) Failure detection device and failure detection method for input interface device
US9104265B2 (en) Touch device and operating method thereof
JP6320256B2 (en) Electrostatic touch panel control device
US20150242053A1 (en) Systems and methods for improved touch screen accuracy
CN108089813B (en) Touch screen scribing operation processing method and device, electronic equipment and storage medium
KR102390783B1 (en) Probabilistic touch sensing
JP2016528657A (en) Data reporting method and apparatus, and terminal device
CN102750034A (en) Method for reporting coordinate point of touch screen and mobile terminal
CN104049786A (en) Electronic device, system and correcting method capable of automatically correcting touch position
CN103376945A (en) Information processing apparatus and method for controlling the same
EP3264249B1 (en) Touch event processing method, apparatus and terminal device
CN109683841A (en) Control display methods and calculating equipment under multiple display environment
KR101451534B1 (en) Portable electronic device and method of controlling same
US10268362B2 (en) Method and system for realizing functional key on side surface
US11656761B2 (en) Touch hotspot adjustment method, apparatus, and device, and touchscreen terminal device
CN113934322A (en) Touch drift calibration method and device for touch screen, storage medium and touch screen
CN107980116B (en) Floating touch sensing method, floating touch sensing system and floating touch electronic equipment
CN107506067B (en) Method and device for debugging working frequency of touch screen and terminal equipment
US20160364066A1 (en) Information Processing Method and Electronic Device
CN109634455A (en) A kind of calibration method and calibration system based on touch screen

Legal Events

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