CN110780771A - Touch screen calibration method and related product - Google Patents

Touch screen calibration method and related product Download PDF

Info

Publication number
CN110780771A
CN110780771A CN201911023023.3A CN201911023023A CN110780771A CN 110780771 A CN110780771 A CN 110780771A CN 201911023023 A CN201911023023 A CN 201911023023A CN 110780771 A CN110780771 A CN 110780771A
Authority
CN
China
Prior art keywords
target
touch
screen
touch screen
preset
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
CN201911023023.3A
Other languages
Chinese (zh)
Other versions
CN110780771B (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.)
Medcaptain Medical Technology Co Ltd
Original Assignee
Medcaptain Medical Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Medcaptain Medical Technology Co Ltd filed Critical Medcaptain Medical Technology Co Ltd
Priority to CN201911023023.3A priority Critical patent/CN110780771B/en
Publication of CN110780771A publication Critical patent/CN110780771A/en
Application granted granted Critical
Publication of CN110780771B publication Critical patent/CN110780771B/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

Landscapes

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

Abstract

The embodiment of the application discloses a touch screen calibration method and a related product, which are applied to electronic equipment, wherein the electronic equipment comprises a touch screen, and the method comprises the following steps: detecting a target touch parameter of a target touch operation for the touch screen; judging whether the target touch parameter meets a preset condition or not; displaying a screen calibration confirmation interface on the touch screen when the target touch parameter meets the preset condition; and if a confirmation instruction aiming at the screen calibration operation is received, carrying out the screen calibration operation on the touch screen. By adopting the method and the device, the screen can still be effectively calibrated when the touch screen is out of alignment, and the condition of mis-calibration is avoided.

Description

Touch screen calibration method and related product
Technical Field
The application relates to the technical field of electronics, in particular to a touch screen calibration method and a related product.
Background
The touch screen is an independent coordinate positioning system on a physical layer, and is mutually independent from a screen display coordinate system, and data touched each time can be mapped into coordinates on the screen only through calibration data conversion. Therefore, the output data of the same point is required to be stable under any condition of the set of coordinates of the touch screen, if the set of coordinates of the touch screen is unstable, the touch screen cannot guarantee absolute coordinate positioning, and the condition of point inaccuracy (misalignment) occurs, and at this time, the touch screen needs to be calibrated, and the calibration data can be updated to be calibrated.
In the prior art, when calibrating a touch screen, there is a problem of operation failure or mis-calibration according to the current common practice, such as: 1. if the screen calibration is triggered through the control on the screen, the target control in the point may not be touched (operation failure) when the touch screen is misaligned, and then the screen calibration cannot be triggered; 2. when the calibration of the screen is triggered by mistake, any place where the screen is clicked is regarded as a recalibration screen (mis-calibration), and the operation may damage the original normal screen calibration data.
Disclosure of Invention
The embodiment of the application provides a touch screen calibration method and a related product, and the touch screen calibration accuracy can be improved.
In a first aspect, an embodiment of the present application provides a touch screen calibration method, which is applied to an electronic device, where the electronic device includes a touch screen, and the method includes:
detecting a target touch parameter of a target touch operation for the touch screen;
judging whether the target touch parameter meets a preset condition or not;
displaying a screen calibration confirmation interface on the touch screen when the target touch parameter meets the preset condition;
and if a confirmation instruction aiming at the screen calibration operation is received, carrying out the screen calibration operation on the touch screen.
In a second aspect, an embodiment of the present application provides a touch screen calibration apparatus, which is applied to an electronic device, where the electronic device includes a touch screen, and the apparatus includes: a detection unit, a judgment unit, a display unit and a calibration unit, wherein,
the detection unit is used for detecting a target touch parameter of a target touch operation aiming at the touch screen;
the judging unit is used for judging whether the target touch parameter meets a preset condition;
the display unit is used for displaying a screen calibration confirmation interface on the touch screen when the target touch parameter meets the preset condition;
the calibration unit is used for performing screen calibration operation on the touch screen if a confirmation instruction for the screen calibration operation is received.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps in the first aspect of the embodiment of the present application.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program enables a computer to perform some or all of the steps described in the first aspect of the embodiment of the present application.
In a fifth aspect, embodiments of the present application provide a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to perform some or all of the steps as described in the first aspect of the embodiments of the present application. The computer program product may be a software installation package.
The embodiment of the application has the following beneficial effects:
it can be seen that the touch screen calibration method and the related product described in the embodiments of the present application are applied to an electronic device, where the electronic device includes a touch screen, detects a target touch parameter for a target touch operation on the touch screen, and determines whether the target touch parameter meets a preset condition, when the target touch parameter meets the preset condition, a screen calibration confirmation interface is displayed on the touch screen, and if a confirmation instruction for the screen calibration operation is received, the screen calibration operation is performed on the touch screen.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1A is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 1B is a schematic flowchart of a touch screen calibration method according to an embodiment of the present disclosure;
FIG. 1C is a schematic illustration of an interface demonstration of a touch screen provided by an embodiment of the present application;
FIG. 1D is a schematic illustration of another interface demonstration of a touch screen provided by an embodiment of the present application;
FIG. 1E is a schematic illustration of another interface demonstration of a touch screen provided by an embodiment of the present application;
FIG. 1F is a schematic illustration of another interface demonstration of a touch screen provided by an embodiment of the present application;
FIG. 2 is a schematic flowchart of another touch screen calibration method provided in the embodiments of the present application;
fig. 3 is a schematic structural diagram of another electronic device provided in an embodiment of the present application;
fig. 4A is a block diagram illustrating functional units of a touch screen calibration apparatus according to an embodiment of the present disclosure;
fig. 4B is a block diagram of functional units of another touch screen calibration apparatus according to an embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. 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 application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The electronic Devices described in the embodiments of the present invention may include a smart phone (e.g., an Android phone, an iOS phone, a windows phone, etc.), a tablet computer, a palm computer, a Mobile medical device (e.g., an electronic sphygmomanometer, a blood glucose meter, a monitor, etc.), a notebook computer, a Mobile Internet device (MID, Mobile Internet Devices), or a wearable device (e.g., a smart watch, a bluetooth headset), which are merely examples, and are not exhaustive, and include but not limited to the above electronic Devices.
The following describes embodiments of the present application in detail.
Referring to fig. 1A, fig. 1A is a schematic view of an architecture of an electronic device for implementing a touch screen calibration method according to an embodiment of the present application, where the electronic device includes a touch screen and a display screen, where the touch screen is used for implementing touch operation, the display screen is used for implementing a display function, and the touch screen and the display screen may be integrated together.
In an embodiment of the application, an electronic device may include a control circuit and a storage circuit and a processing circuit. The storage circuit may be a memory, such as a hard disk drive memory, a non-volatile memory (e.g., a flash memory or other electronically programmable read-only memory used to form a solid state drive, etc.), a volatile memory (e.g., a static or dynamic random access memory, etc.), etc., and the embodiments of the present application are not limited thereto. The processing circuitry may be used to control the operation of the electronic device. The processing circuitry may be implemented based on one or more microprocessors, microcontrollers, digital signal processors, baseband processors, power management units, audio codec chips, application specific integrated circuits, display driver integrated circuits, and the like.
The electronic device described above with reference to fig. 1A may be configured to implement the following functions:
detecting a target touch parameter of a target touch operation for the touch screen;
judging whether the target touch parameter meets a preset condition or not;
displaying a screen calibration confirmation interface on the touch screen when the target touch parameter meets the preset condition;
and if a confirmation instruction aiming at the screen calibration operation is received, carrying out the screen calibration operation on the touch screen.
It can be seen that the electronic device described in the embodiment of the present application includes a touch screen, detects a target touch parameter of a target touch operation for the touch screen, determines whether the target touch parameter meets a preset condition, displays a screen calibration confirmation interface on the touch screen when the target touch parameter meets the preset condition, and performs a screen calibration operation on the touch screen if a confirmation instruction for the screen calibration operation is received.
Referring to fig. 1B, fig. 1B is a schematic flowchart of a touch screen calibration method provided in an embodiment of the present application, and is applied to the electronic device shown in fig. 1A, where the electronic device includes a touch screen, and as shown in the figure, the touch screen calibration method includes:
101. and detecting a target touch parameter of a target touch operation aiming at the touch screen.
In the embodiment of the present application, the target touch operation may be at least one of the following: a pressing operation, a sliding operation, an air-gap approaching operation, and the like, which are not limited herein, the target touch parameter may be at least one of the following: the pressing force for pressing the touch screen, the pressing duration for pressing the touch screen, the pressing times for pressing the touch screen, the pressing area for pressing the touch screen, the number of touch points for pressing the touch screen (the number of fingers when pressing the touch screen), the touch trajectory of the touch screen, the space gesture close to the touch screen, and the like, which are not limited herein.
In addition, the pressing force for pressing the touch screen may be at least one of: the maximum pressing force, the minimum pressing force, the average pressing force, the pressing force curve, the pressing force with the pressing time as the preset time, and the like are not limited herein, and the preset time may be set by the user or default by the system.
In addition, the pressing duration for pressing the touch screen may be a pressing duration corresponding to a pressing degree greater than a preset pressing degree, a pressing duration corresponding to a pressing area greater than a preset area, a pressing duration corresponding to a pressing number greater than a preset pressing number, and the like, which are not limited herein. The preset pressing degree, the preset area and the preset pressing times can be set by a user or defaulted by a system.
In addition, the number of presses to press the touch screen may be the number of presses within a specified time period, which may be set by the user or by default by the system.
In addition, the pressing area for pressing the touch screen may be at least one of: maximum pressing area, average pressing area, minimum pressing area, pressing area curve, etc., without limitation.
102. And judging whether the target touch parameter meets a preset condition.
The preset condition may be set by a user or default to a system, specifically, the preset touch parameter may be stored in the electronic device in advance, the preset touch parameter may be set by the user or default to the system, specifically, the target touch parameter may be compared with the preset touch parameter, when the target touch parameter is successfully compared with the preset touch parameter, it is determined that the target touch parameter satisfies the preset condition, otherwise, it is determined that the target touch parameter does not satisfy the preset condition. For example, the number of touches is greater than a certain threshold, for example, the duration of touches is greater than a certain threshold, for example, the touch trajectory is similar to the preset trajectory, and the like, which are not limited herein.
In one possible example, when the target touch parameter is a target touch frequency for the touch screen within a first preset time period; in step 102, it is determined whether the target touch operation satisfies a preset condition, and the method may be implemented as follows:
and when the target touch frequency is in a first preset range, confirming that the target touch parameter meets the preset condition.
In a specific implementation, the target touch parameter may be a target touch frequency for the touch screen within a first preset time period, and then, if the target touch frequency is within the first preset range, it is determined that the target touch parameter meets a preset condition, as shown in fig. 1C, the electronic device may detect that the user performs multiple touch operations for the touch screen within the first preset time period, and count the touch frequency, and when the target touch frequency is within the first preset range, it is determined that the user intentionally triggers a screen calibration operation, so that a false touch can be prevented to a certain extent, and the user is promoted to embody the calibration.
In one possible example, when the target touch parameter is a target touch trajectory for the touch screen within a second preset time period; in step 102, it is determined whether the target touch operation satisfies a preset condition, and the method may be implemented as follows:
and when the similarity between the target touch track and a preset track is in a second preset range, confirming that the target touch parameter meets the preset condition.
The second preset range and the second preset time period can be set by the user or defaulted by the system, and the preset track can be stored in the electronic equipment in advance. In a specific implementation, when the target touch parameter is a target touch trajectory for the touch screen within a second preset time period, the similarity between the target touch trajectory and the preset trajectory may be determined, and when the similarity between the target touch trajectory and the preset trajectory is within a second preset range, it is determined that the target touch parameter meets a preset condition.
103. And when the target touch parameter meets the preset condition, displaying a screen calibration confirmation interface on the touch screen.
In a specific implementation, the electronic device may display a screen calibration confirmation interface on the touch screen when the target touch parameter meets a preset condition, as shown in fig. 1E, the screen calibration confirmation interface may display a sliding track guide control and a return control, and when the user slides according to the sliding track guide control, the electronic device may confirm that a confirmation instruction for the screen calibration operation is received, and when the user touches the return control, the electronic device may confirm that the screen calibration operation is abandoned. Further, as shown in fig. 1F (the symbols shown in the figure are pixel points, and 5 similarity is taken as an example), for example, after the sliding distance > in any direction is 90 pixels, the screen calibration interface may be entered, and the specified calibration position (up, down, left, right, and middle) is clicked to complete the screen calibration.
104. And if a confirmation instruction aiming at the screen calibration operation is received, carrying out the screen calibration operation on the touch screen.
In a specific implementation, if the electronic device receives a confirmation instruction for the screen calibration operation, the screen calibration operation may be performed on the touch screen, for example, the screen calibration operation may be performed by a five-point method, during the screen calibration operation, the user may be prompted not to perform a touch operation, and after the screen calibration operation is completed, the user may be prompted that the screen calibration operation is completed.
In one possible example, the screen calibration display interface further includes a return control; the following operations may also be performed:
and when the touch operation aiming at the return control is detected, abandoning the screen calibration operation.
In a specific implementation, the electronic device may detect a touch operation for the return control, and when the touch operation for the return control is detected, the electronic device may abandon the screen calibration operation.
In a possible example, between the step 103 and the step 104, the following steps may be further included:
a1, detecting a target sliding distance aiming at the touch screen;
and A2, confirming that a confirmation instruction for the screen calibration operation is received when the target sliding distance is larger than the preset sliding distance.
In a specific implementation, the electronic device may detect a target sliding distance for the touch screen, and when the target sliding distance is greater than the preset sliding distance, may confirm that a confirmation instruction for the screen calibration operation is received, otherwise, abandon the screen calibration operation.
In one possible example, the electronic device may include an infrared camera, and before step 101, the method may further include the following steps:
b1, shooting through the infrared camera to obtain a target iris image;
b2, matching the target iris image with a preset iris template;
b3, when the target iris image is successfully matched with the preset iris template, executing the step of detecting the target touch parameters of the target touch operation aiming at the touch screen.
In specific implementation, the electronic device may include an infrared camera, and the infrared camera may shoot the target iris image to obtain a target iris image, and then may match the target iris image with a preset iris template, and when the matching of the target iris image with the preset iris template fails, step 101 is not performed, whereas when the matching of the target iris image with the preset iris template succeeds, step 101 may be performed.
Further, in a possible example, the step B2, matching the target iris image with a preset iris template, may include the following steps:
b21, carrying out region segmentation on the target iris image to obtain a target iris region;
b22, performing binarization processing on the target iris area to obtain a binarized iris image;
b23, dividing the binary iris image into a plurality of areas;
b24, extracting characteristic points of the binary iris image to obtain a plurality of characteristic points;
b25, determining the distribution density of the characteristic points corresponding to each of the plurality of areas according to the plurality of characteristic points to obtain a plurality of distribution densities of the characteristic points;
b26, determining a target mean square error according to the distribution densities of the plurality of feature points;
b27, determining a target image quality evaluation value corresponding to the target mean square error according to a mapping relation between a preset mean square error and an image quality evaluation value;
b28, when the target image quality evaluation value is smaller than the preset image quality evaluation value, performing image enhancement processing on the target iris image, and matching the target iris image subjected to the image enhancement processing with a preset iris template to obtain a matching value;
b29, when the matching value is larger than a preset threshold value, determining that the target iris image is successfully matched with the preset iris template.
The preset threshold value and the preset image quality evaluation value can be set by a user or defaulted by a system, the preset iris template can be stored in the electronic equipment in advance, and the preset iris template can be recorded in advance through the infrared camera.
In the embodiment of the application, the electronic device may perform region segmentation on the target iris image to obtain a target iris region, the target iris region is a region which does not include a background and only includes an iris, the binarization processing may be performed on the target iris region to obtain a binarization iris image, the binarization iris image is divided into a plurality of regions, the binarization iris image is subjected to feature point extraction to obtain a plurality of feature points, and the feature point extraction algorithm may be at least one of the following: harris corner detection algorithm, wavelet transform, contourlet transform algorithm, artificial neural network algorithm, etc., and is not limited herein.
Further, in the embodiment of the present application, the areas of the plurality of regions may be equal, the electronic device may determine the distribution density of the feature points corresponding to each of the plurality of regions according to the plurality of feature points to obtain a plurality of distribution densities of the feature points, where the distribution density of the feature points is the total number of feature points in any region/the area of the region, and may determine the target mean square error according to the plurality of distribution densities of the feature points, and a mean square error calculation formula may be implemented, the electronic device may store a mapping relationship between a preset mean square error and an image quality evaluation value in advance, and determine the target image quality evaluation value corresponding to the target mean square error according to the mapping relationship between the preset mean square error and the image quality evaluation value, where the smaller the mean square error is, the larger the image quality evaluation value is, and when the target image quality evaluation value is larger than the preset image quality evaluation value, and directly matching the target iris image with a preset iris template, confirming that the target iris image is successfully matched with the preset iris template when the matching value between the target iris image and the preset iris template is greater than a preset threshold value, and otherwise, considering that the target iris image and the preset iris template are not matched.
Further, when the target image quality evaluation value is smaller than the preset image quality evaluation value, performing image enhancement processing on the target iris image, matching the target iris image subjected to the image enhancement processing with a preset iris template, wherein a matching value between the target iris image and the preset iris template is larger than a preset threshold value, and confirming that the target iris image is successfully matched with the preset iris template, otherwise, confirming that the target iris image is not matched with the preset iris template, in the embodiment of the present application, the corresponding algorithm of the image enhancement processing may be at least one of the following: histogram equalization, gray stretching algorithm, contrast enhancement algorithm, laplace, LOG algorithm, Gamma algorithm, etc., without limitation.
It can be seen that the touch screen calibration method described in the embodiment of the present application is applied to an electronic device, where the electronic device includes a touch screen, detects a target touch parameter of a target touch operation for the touch screen, determines whether the target touch parameter meets a preset condition, displays a screen calibration confirmation interface on the touch screen when the target touch parameter meets the preset condition, and performs a screen calibration operation on the touch screen if a confirmation instruction for the screen calibration operation is received.
Referring to fig. 2, referring to fig. 2 in accordance with the embodiment shown in fig. 1B, fig. 2 is a schematic flowchart of a touch screen calibration method provided in an embodiment of the present application, and the method is applied to an electronic device including a touch screen, where as shown in the figure, the touch screen calibration method includes:
201. and detecting a target touch parameter of a target touch operation aiming at the touch screen.
202. And judging whether the target touch parameter meets a preset condition.
203. And when the target touch parameter meets the preset condition, displaying a screen calibration confirmation interface on the touch screen, wherein the screen calibration confirmation interface comprises a return control.
204. And if a confirmation instruction aiming at the screen calibration operation is received, carrying out the screen calibration operation on the touch screen.
205. And when the touch operation aiming at the return control is detected, abandoning the screen calibration operation.
For the detailed description of the steps 201 to 205, reference may be made to the corresponding steps of the touch screen calibration method described in the foregoing fig. 1B, and details are not repeated here.
It can be seen that the touch screen calibration method described in the embodiments of the present application is applied to an electronic device, which includes a touch screen, and detects a target touch parameter of a target touch operation for the touch screen, determines whether the target touch parameter satisfies a preset condition, and displays a screen calibration confirmation interface on the touch screen when the target touch parameter satisfies the preset condition, where the screen calibration confirmation interface includes a return control, and performs a screen calibration operation on the touch screen when a confirmation instruction for the screen calibration operation is received, and abandons the screen calibration operation when the touch operation for the return control is detected, so that the screen calibration operation can be triggered when the touch operation satisfies a certain condition, and the screen calibration operation can be performed when the confirmation instruction for the screen calibration operation is received, and the screen calibration can still be performed effectively when the touch screen is misaligned, and avoid the case of mis-calibration.
In accordance with the foregoing embodiment, please refer to fig. 3, where fig. 3 is a schematic structural diagram of an electronic device provided in an embodiment of the present application, and as shown in the drawing, the electronic device includes a processor, a memory, a communication interface, and one or more programs, and may further include a touch screen, where the one or more programs are stored in the memory and configured to be executed by the processor, and in an embodiment of the present application, the programs include instructions for performing the following steps:
detecting a target touch parameter of a target touch operation for the touch screen;
judging whether the target touch parameter meets a preset condition or not;
displaying a screen calibration confirmation interface on the touch screen when the target touch parameter meets the preset condition;
and if a confirmation instruction aiming at the screen calibration operation is received, carrying out the screen calibration operation on the touch screen.
It can be seen that the electronic device described in the embodiment of the present application includes a touch screen, detects a target touch parameter of a target touch operation for the touch screen, determines whether the target touch parameter meets a preset condition, displays a screen calibration confirmation interface on the touch screen when the target touch parameter meets the preset condition, and performs a screen calibration operation on the touch screen if a confirmation instruction for the screen calibration operation is received.
In one possible example, when the target touch parameter is a target touch frequency for the touch screen within a first preset time period;
in the aspect of determining whether the target touch operation meets a preset condition, the program includes instructions for executing the following steps:
and when the target touch frequency is in a first preset range, confirming that the target touch parameter meets the preset condition.
In one possible example, when the target touch parameter is a target touch trajectory for the touch screen within a second preset time period;
in the aspect of determining whether the target touch operation meets a preset condition, the program includes instructions for executing the following steps:
and when the similarity between the target touch track and a preset track is in a second preset range, confirming that the target touch parameter meets the preset condition.
In one possible example, the screen calibration display interface further includes a return control; the program further includes instructions for performing the steps of:
and when the touch operation aiming at the return control is detected, abandoning the screen calibration operation.
In one possible example, the program further includes instructions for performing the steps of:
detecting a target sliding distance for the touch screen;
and when the target sliding distance is greater than the preset sliding distance, confirming that a confirmation instruction for the screen calibration operation is received.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above-mentioned functions. Those of skill in the art will readily appreciate that the present application is capable of hardware or a combination of hardware and computer software implementing the various illustrative elements and algorithm steps described in connection with the embodiments provided herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 4A is a block diagram of functional units of a touch screen calibration apparatus 400 according to an embodiment of the present application. The touch screen calibration apparatus 400 is applied to an electronic device including a touch screen, and the apparatus includes: a detection unit 401, a determination unit 402, a display unit 403, and a calibration unit 404, wherein,
the detection unit 401 is configured to detect a target touch parameter of a target touch operation for the touch screen;
the determining unit 402 is configured to determine whether the target touch parameter meets a preset condition;
the display unit 403 is configured to display a screen calibration confirmation interface on the touch screen when the target touch parameter meets the preset condition;
the calibration unit 404 is configured to perform a screen calibration operation on the touch screen if a confirmation instruction for the screen calibration operation is received.
It can be seen that the touch screen calibration apparatus described in the embodiment of the present application is applied to an electronic device, where the electronic device includes a touch screen, detects a target touch parameter of a target touch operation for the touch screen, determines whether the target touch parameter meets a preset condition, displays a screen calibration confirmation interface on the touch screen when the target touch parameter meets the preset condition, and performs a screen calibration operation on the touch screen if a confirmation instruction for the screen calibration operation is received.
In one possible example, when the target touch parameter is a target touch frequency for the touch screen within a first preset time period;
in the aspect of determining whether the target touch operation satisfies the preset condition, the determining unit 402 is specifically configured to:
and when the target touch frequency is in a first preset range, confirming that the target touch parameter meets the preset condition.
In one possible example, when the target touch parameter is a target touch trajectory for the touch screen within a second preset time period;
in the aspect of determining whether the target touch operation satisfies the preset condition, the determining unit 402 is specifically configured to:
and when the similarity between the target touch track and a preset track is in a second preset range, confirming that the target touch parameter meets the preset condition.
In one possible example, the screen calibration display interface further includes a return control; as shown in fig. 4B, fig. 4B is a further modified structure of the touch screen calibration apparatus shown in fig. 4A, which may further include, compared with fig. 4A: the return unit 405 is specifically as follows:
the return unit 405 is configured to abandon the screen calibration operation when the touch operation for the return control is detected.
In one possible example, the following functionality may also be implemented:
the detecting unit 401 is further specifically configured to detect a target sliding distance for the touch screen;
confirming, by the calibration unit 404, that a confirmation instruction for a screen calibration operation is received when the target sliding distance is greater than a preset sliding distance.
It can be understood that the functions of each program module of the touch screen calibration apparatus in this embodiment may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the related description of the foregoing method embodiment, which is not described herein again.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, the computer program enabling a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes an electronic device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising an electronic device.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of 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 of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several 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 above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: 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.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A touch screen calibration method is applied to an electronic device, wherein the electronic device comprises a touch screen, and the method comprises the following steps:
detecting a target touch parameter of a target touch operation for the touch screen;
judging whether the target touch parameter meets a preset condition or not;
displaying a screen calibration confirmation interface on the touch screen when the target touch parameter meets the preset condition;
and if a confirmation instruction aiming at the screen calibration operation is received, carrying out the screen calibration operation on the touch screen.
2. The method according to claim 1, wherein when the target touch parameter is a target touch frequency for the touch screen within a first preset time period;
the judging whether the target touch operation meets a preset condition includes:
and when the target touch frequency is in a first preset range, confirming that the target touch parameter meets the preset condition.
3. The method according to claim 1, wherein when the target touch parameter is a target touch trajectory for the touch screen within a second preset time period;
the judging whether the target touch operation meets a preset condition includes:
and when the similarity between the target touch track and a preset track is in a second preset range, confirming that the target touch parameter meets the preset condition.
4. The method of any of claims 1-3, wherein the screen calibration display interface further comprises a return control; the method further comprises the following steps:
and when the touch operation aiming at the return control is detected, abandoning the screen calibration operation.
5. The method according to any one of claims 1-4, further comprising:
detecting a target sliding distance for the touch screen;
and when the target sliding distance is greater than the preset sliding distance, confirming that a confirmation instruction for the screen calibration operation is received.
6. A touch screen calibration device applied to an electronic device, wherein the electronic device comprises a touch screen, the device comprising: a detection unit, a judgment unit, a display unit and a calibration unit, wherein,
the detection unit is used for detecting a target touch parameter of a target touch operation aiming at the touch screen;
the judging unit is used for judging whether the target touch parameter meets a preset condition;
the display unit is used for displaying a screen calibration confirmation interface on the touch screen when the target touch parameter meets the preset condition;
the calibration unit is used for performing screen calibration operation on the touch screen if a confirmation instruction for the screen calibration operation is received.
7. The apparatus according to claim 6, wherein when the target touch parameter is a target number of touches on the touch screen within a first preset time period;
in the aspect of determining whether the target touch operation meets a preset condition, the determining unit is specifically configured to:
and when the target touch frequency is in a first preset range, confirming that the target touch parameter meets the preset condition.
8. The apparatus according to claim 6, wherein when the target touch parameter is a target touch trajectory for the touch screen within a second preset time period;
in the aspect of determining whether the target touch operation meets a preset condition, the determining unit is specifically configured to:
and when the similarity between the target touch track and a preset track is in a second preset range, confirming that the target touch parameter meets the preset condition.
9. An electronic device comprising a processor, a memory for storing one or more programs and configured for execution by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-5.
10. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-5.
CN201911023023.3A 2019-10-25 2019-10-25 Touch screen calibration method and related products Active CN110780771B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911023023.3A CN110780771B (en) 2019-10-25 2019-10-25 Touch screen calibration method and related products

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911023023.3A CN110780771B (en) 2019-10-25 2019-10-25 Touch screen calibration method and related products

Publications (2)

Publication Number Publication Date
CN110780771A true CN110780771A (en) 2020-02-11
CN110780771B CN110780771B (en) 2024-03-12

Family

ID=69386452

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911023023.3A Active CN110780771B (en) 2019-10-25 2019-10-25 Touch screen calibration method and related products

Country Status (1)

Country Link
CN (1) CN110780771B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113741780A (en) * 2020-05-29 2021-12-03 上海惠芽信息技术有限公司 Touch screen detection method, device and system
CN113805731A (en) * 2021-09-23 2021-12-17 珠海格力电器股份有限公司 Touch screen calibration method and device, storage medium and touch screen
CN113988649A (en) * 2021-10-30 2022-01-28 深圳曦华科技有限公司 Display function testing method of display screen and related device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101727243A (en) * 2010-02-02 2010-06-09 中兴通讯股份有限公司 Method and device for acquiring calibration parameters of touch screen
JP2012014500A (en) * 2010-07-01 2012-01-19 Alpine Electronics Inc Electronic equipment and calibration method of touch panel
US20160098149A1 (en) * 2014-10-07 2016-04-07 General Electric Company Intuitive Touch Screen Calibration Device And Method
CN108363517A (en) * 2018-04-20 2018-08-03 深圳市沃特沃德股份有限公司 The triggering method and device of touch screen calibration
CN109144304A (en) * 2018-02-13 2019-01-04 北京仁光科技有限公司 At least one display window distributing adjustment and touch-control automatic calibrating method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101727243A (en) * 2010-02-02 2010-06-09 中兴通讯股份有限公司 Method and device for acquiring calibration parameters of touch screen
JP2012014500A (en) * 2010-07-01 2012-01-19 Alpine Electronics Inc Electronic equipment and calibration method of touch panel
US20160098149A1 (en) * 2014-10-07 2016-04-07 General Electric Company Intuitive Touch Screen Calibration Device And Method
CN109144304A (en) * 2018-02-13 2019-01-04 北京仁光科技有限公司 At least one display window distributing adjustment and touch-control automatic calibrating method and system
CN108363517A (en) * 2018-04-20 2018-08-03 深圳市沃特沃德股份有限公司 The triggering method and device of touch screen calibration

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113741780A (en) * 2020-05-29 2021-12-03 上海惠芽信息技术有限公司 Touch screen detection method, device and system
CN113805731A (en) * 2021-09-23 2021-12-17 珠海格力电器股份有限公司 Touch screen calibration method and device, storage medium and touch screen
CN113988649A (en) * 2021-10-30 2022-01-28 深圳曦华科技有限公司 Display function testing method of display screen and related device
CN113988649B (en) * 2021-10-30 2023-04-18 深圳曦华科技有限公司 Display function testing method of display screen and related device

Also Published As

Publication number Publication date
CN110780771B (en) 2024-03-12

Similar Documents

Publication Publication Date Title
US10048804B2 (en) Method for preventing false touches on terminal and terminal
CN110780771A (en) Touch screen calibration method and related product
WO2016127736A1 (en) Computing method for area of fingerprint overlapping area and electronic apparatus
US20170344796A1 (en) Fingerprint unlocking method and terminal
CN110765891B (en) Engineering drawing identification method, electronic equipment and related product
US10395095B2 (en) Face model matrix training method and apparatus, and storage medium
CN109376702B (en) Fingerprint identification method and related product
CN110796016A (en) Engineering drawing identification method, electronic equipment and related product
US9824072B2 (en) Adjusting layout size of hyperlink
CN111881813B (en) Data storage method and system of face recognition terminal
CN113282317B (en) Optical fingerprint parameter upgrading method and related product
CN110765893A (en) Drawing file identification method, electronic equipment and related product
JP7150896B2 (en) Face recognition method and device, electronic device, and storage medium
CN110796673B (en) Image segmentation method and related product
CN109919164B (en) User interface object identification method and device
CN106951243A (en) screen control method and terminal device
CN114816130B (en) Writing recognition method and system of electronic whiteboard, storage medium and electronic whiteboard
CN111563898B (en) Image segmentation method, electronic equipment and related products
CN116109572A (en) Workpiece edge weak defect detection method and device and electronic equipment
CN109583453B (en) Image identification method and device, data identification method and terminal
CN110543864A (en) Sensor and fake finger identification method
CN111930826A (en) Order generation method and system of software interface
WO2024016809A1 (en) Palm scan verification guidance method and apparatus, terminal, storage medium, and program product
CN110401749B (en) Display control method and related equipment
CN111142766B (en) Area dynamic adjustment method and device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 518000 12th floor, building 1, Baiwang R & D building, 5158 xilishahe West Road, Nanshan District, Shenzhen City, Guangdong Province

Applicant after: Shenzhen maiketian Biomedical Technology Co.,Ltd.

Address before: 518000 12th floor, building 1, Baiwang R & D building, 5158 xilishahe West Road, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: Medcaptain Medical Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant