CN117135251A - Touch screen calibration method and device, storage medium and electronic equipment - Google Patents

Touch screen calibration method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN117135251A
CN117135251A CN202210609694.3A CN202210609694A CN117135251A CN 117135251 A CN117135251 A CN 117135251A CN 202210609694 A CN202210609694 A CN 202210609694A CN 117135251 A CN117135251 A CN 117135251A
Authority
CN
China
Prior art keywords
touch
screen
state
touch screen
folding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210609694.3A
Other languages
Chinese (zh)
Inventor
郭恒军
蔡乐晟
贾宇
阮思旭
赵允国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN202210609694.3A priority Critical patent/CN117135251A/en
Publication of CN117135251A publication Critical patent/CN117135251A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/24Arrangements for testing
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/0206Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings
    • H04M1/0208Portable telephones comprising a plurality of mechanically joined movable body parts, e.g. hinged housings characterized by the relative motions of the body parts
    • H04M1/0214Foldable telephones, i.e. with body parts pivoting to an open position around an axis parallel to the plane they define in closed position
    • H04M1/0216Foldable in one direction, i.e. using a one degree of freedom hinge
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0266Details of the structure or mounting of specific components for a display module assembly
    • H04M1/0268Details of the structure or mounting of specific components for a display module assembly including a flexible display panel

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (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 application discloses a touch screen calibration method, a device, a storage medium and electronic equipment, and relates to the technical field of Internet of things, wherein the method comprises the following steps: acquiring screen activity detection parameters of a touch screen; determining the current folding state of the touch screen based on the screen activity detection parameters; judging the screen touch state of the touch screen according to the current folding state; and if the touch state of the screen is abnormal, performing touch abnormal calibration on the touch screen. The application can perform timely and effective touch calibration on touch anomalies occurring when the equipment is in different folding states, effectively improves the service performance of the equipment and improves the user experience.

Description

Touch screen calibration method and device, storage medium and electronic equipment
Technical Field
The application relates to the technical field of the internet of things, in particular to a touch screen calibration method and device, a storage medium and electronic equipment.
Background
The screen folding function may be applied to a plurality of devices, for example, a folding screen mobile phone has a folding capability of a screen body, and the screen body of the device has a touch function at the same time. The applicant finds that when the equipment is in different folding states, the screen body can generate serious touch anomalies such as automatic false triggering, sliding touch breaking and the like due to folding.
At present, the industry has no related scheme, and touch abnormal conditions occurring when equipment is in different folding states can be timely and effectively calibrated, so that the service performance of the equipment is poor, and the user experience is poor.
Disclosure of Invention
The embodiment of the application provides a scheme which can perform timely and effective touch calibration on touch anomalies occurring when equipment is in different folding states, effectively improves the service performance of the equipment and improves the user experience.
The embodiment of the application provides the following technical scheme:
according to one embodiment of the present application, a touch screen calibration method includes: acquiring screen activity detection parameters of a touch screen; determining the current folding state of the touch screen based on the screen activity detection parameters; judging the screen touch state of the touch screen according to the current folding state; and if the touch state of the screen is abnormal, performing touch abnormal calibration on the touch screen.
In some embodiments of the present application, the touch screen includes at least two sub-folding screens, and the screen activity detection parameter includes a sub-activity parameter of the sub-folding screen; the determining the current folding state of the touch screen based on the screen activity detection parameter includes: and analyzing and processing the sub-activity parameters of the sub-folding screen to obtain the current folding state of the touch screen.
In some embodiments of the application, the sub-activity parameters include at least one of a gyroscope parameter and an acceleration sensor parameter in the sub-folding screen; the analyzing the sub-activity parameters of the sub-folding screen to obtain the current folding state of the touch screen comprises the following steps: and analyzing and processing the gyroscope parameters and/or the acceleration sensor parameters in the sub-folding screen to obtain the current folding state of the touch screen.
In some embodiments of the present application, the determining the screen touch state of the touch screen according to the current folding state includes: if the current folding state is the preset folding state, current touch data of the touch screen are obtained; calculating the current touch data and preset reference data to obtain a calculation result; and judging a screen touch state of the touch screen according to whether the calculated result exceeds a preset touch threshold value, wherein the screen touch state comprises one of an abnormal state and a normal state.
In some embodiments of the present application, the predetermined touch threshold is a unified touch threshold preset for the touch screen in different predetermined folding states; and judging the screen touch state of the touch screen according to whether the calculated result exceeds a preset touch threshold value, including: if the calculation result exceeds the unified touch threshold, the screen touch state of the touch screen is an abnormal state; and if the calculation result does not exceed the unified touch threshold, the screen touch state of the touch screen is a normal state.
In some embodiments of the present application, if the touch state of the screen is an abnormal state, performing touch abnormal calibration on the touch screen includes: and if the touch state of the screen is an abnormal state, performing abnormal calibration processing on the preset reference data to obtain the target reference data, so that calculation processing is performed in the touch screen according to the target reference data.
In some embodiments of the present application, performing an anomaly calibration process on the predetermined reference data to obtain the target reference data, including: and amplifying the preset reference data to obtain target reference data so that the calculation result of the current touch data and the target reference data does not exceed the unified touch threshold.
According to one embodiment of the present application, a touch screen calibration apparatus includes: the acquisition module is used for acquiring screen activity detection parameters of the touch screen; the determining module is used for determining the current folding state of the touch screen based on the screen activity detection parameters; the judging module is used for judging the screen touch state of the touch screen according to the current folding state; and the calibration module is used for carrying out touch abnormal calibration on the touch screen if the touch state of the screen is an abnormal state.
In some embodiments of the present application, the touch screen includes at least two sub-folding screens, and the screen activity detection parameter includes a sub-activity parameter of the sub-folding screen; the determining module is used for: and analyzing and processing the sub-activity parameters of the sub-folding screen to obtain the current folding state of the touch screen.
In some embodiments of the application, the sub-activity parameters include at least one of a gyroscope parameter and an acceleration sensor parameter in the sub-folding screen; the determining module is used for: and analyzing and processing the gyroscope parameters and/or the acceleration sensor parameters in the sub-folding screen to obtain the current folding state of the touch screen.
In some embodiments of the present application, the determining module is configured to: if the current folding state is the preset folding state, current touch data of the touch screen are obtained; calculating the current touch data and preset reference data to obtain a calculation result; and judging a screen touch state of the touch screen according to whether the calculated result exceeds a preset touch threshold value, wherein the screen touch state comprises one of an abnormal state and a normal state.
In some embodiments of the present application, the predetermined touch threshold is a unified touch threshold preset for the touch screen in different predetermined folding states; the judging module is used for: if the calculation result exceeds the unified touch threshold, the screen touch state of the touch screen is an abnormal state; and if the calculation result does not exceed the unified touch threshold, the screen touch state of the touch screen is a normal state.
In some embodiments of the application, the calibration module is configured to: and if the touch state of the screen is an abnormal state, performing abnormal calibration processing on the preset reference data to obtain the target reference data, so that calculation processing is performed in the touch screen according to the target reference data.
In some embodiments of the application, the calibration module is configured to: and amplifying the preset reference data to obtain target reference data so that the calculation result of the current touch data and the target reference data does not exceed the unified touch threshold.
According to another embodiment of the present application, a storage medium has a computer program stored thereon, which when executed by a processor of a computer, causes the computer to perform the method according to the embodiment of the present application.
According to another embodiment of the present application, an electronic device may include: a memory storing a computer program; and the processor reads the computer program stored in the memory to execute the method according to the embodiment of the application.
In the embodiment of the application, screen activity detection parameters of a touch screen are obtained; determining the current folding state of the touch screen based on the screen activity detection parameters; judging the screen touch state of the touch screen according to the current folding state; and if the touch state of the screen is abnormal, performing touch abnormal calibration on the touch screen.
In this way, by acquiring the screen activity detection parameters of the touch screen of the device, different current folding states of the touch screen can be timely and effectively determined, whether the screen touch state corresponding to the touch screen is an abnormal state or not can be timely judged according to the different current folding states, and further, when the screen touch state is the abnormal state, touch abnormal calibration can be timely and effectively carried out on the touch screen. The touch control abnormality occurring when the equipment is in different folding states is timely and effectively calibrated, the service performance of the equipment is effectively improved, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 shows a flowchart of a touch screen calibration method according to an embodiment of the application.
Fig. 2 shows a schematic diagram of a touch screen folding process according to one embodiment of the application.
FIG. 3 shows a schematic diagram of a calculation result according to an embodiment of the application.
Fig. 4 shows a schematic diagram of a calculation result according to another embodiment of the present application.
Fig. 5 shows a block diagram of a touch screen calibration device according to one embodiment of the application.
Fig. 6 shows a block diagram of an electronic device according to an embodiment of the application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to fall within the scope of the application.
Fig. 1 schematically shows a flowchart of a touch screen calibration method according to an embodiment of the application. The main execution body of the touch screen calibration method can be any equipment, such as a mobile phone.
As shown in fig. 1, the touch screen calibration method may include steps S110 to S140.
Step S110, obtaining screen activity detection parameters of a touch screen;
step S120, determining the current folding state of the touch screen based on the screen activity detection parameters;
step S130, judging the screen touch state of the touch screen according to the current folding state;
step S140, if the touch status of the screen is abnormal, performing touch abnormal calibration on the touch screen.
The touch screen may be a touch screen body, and the touch screen may include at least two sub-folding screens, for example, as shown in fig. 2, a touch screen 200 of a folding screen mobile phone may include a sub-folding screen (left) 210 and a sub-folding screen (right) 220. The screen activity detection parameters can be parameters describing the folding state of the touch screen, and the screen activity detection parameters can be obtained in real time through a preset sensor.
The current folding state is the folding state between the sub-folding screens included in the touch screen, which is determined in real time when the touch screen is calibrated. For example, as shown in fig. 2, when the sub-folding screen (left) 210 and the sub-folding screen (right) 220 of the touch screen are in different angles during the folding process, the touch screen corresponds to different folding states. The screen activity detection parameter is a parameter obtained by detecting the activity of the touch screen, and the current folding state of the touch screen can be timely and effectively determined by analyzing the screen activity detection parameter.
The screen touch state is a touch state of the touch screen, and the screen touch state can comprise a normal state and an abnormal state. After the current folding state of the touch screen is effectively determined in time, whether the touch screen is in an abnormal state or a normal state of touch in the current folding state can be timely judged according to the current folding state, namely the screen touch state of the touch screen in the current folding state is judged.
Furthermore, if the touch state of the screen is abnormal, the touch abnormal calibration can be timely and effectively carried out on the touch screen, and abnormal touch caused by different folding states in the folding process of the touch screen is avoided.
In this way, based on the steps S110 to S140, by acquiring the screen activity detection parameters of the touch screen of the device, different current folding states of the touch screen can be timely and effectively determined, whether the screen touch state corresponding to the touch screen is an abnormal state or not can be timely judged according to the different current folding states, and further, when the screen touch state is the abnormal state, touch abnormal calibration can be timely and effectively performed on the touch screen. The touch control abnormality occurring when the equipment is in different folding states is timely and effectively calibrated, the service performance of the equipment is effectively improved, and the user experience is improved.
The specific procedure of each step performed when the touch screen calibration is performed is described below.
In an embodiment, the screen activity detection parameters may include sub-activity parameters corresponding to a sub-folding screen of the touch screen, the sub-activity parameters may include gyroscope parameters and/or acceleration sensor parameters, and step S110 of obtaining the screen activity detection parameters of the touch screen may include: and acquiring gyroscope parameters detected by a gyroscope sensor at a position corresponding to the sub-folding screen in the equipment in real time, and/or acquiring acceleration sensor parameters detected by an acceleration sensor at a position corresponding to the sub-folding screen in the equipment in real time.
In the device, a gyro sensor and/or an acceleration sensor may be installed at a position corresponding to a sub-folding screen of the touch screen, for example, as shown in fig. 2, the touch screen 200 may include a sub-folding screen (left) 210 and a sub-folding screen (right) 220, a gyro sensor and/or an acceleration sensor may be installed at a specific position under the sub-folding screen (left) 210, and a gyro sensor and/or an acceleration sensor may be installed at a specific position under the sub-folding screen (right) 220.
Optionally, in another embodiment, the screen activity detection parameter may include a sub-activity parameter corresponding to a sub-folding screen of the touch screen, the sub-activity parameter may include a pressure variation parameter between sub-folding screens of the touch screen, and step S110 of obtaining the screen activity detection parameter of the touch screen may include: and acquiring pressure change parameters between the sub-folding screens detected by the pressure sensors arranged at the preset positions. Wherein a predetermined position, such as a hinge between the sub-folding screens or the like, can detect a position of a pressure change between the sub-folding screens.
In one embodiment, the touch screen includes at least two sub-folding screens, and the screen activity detection parameter includes a sub-activity parameter of the sub-folding screen; step S120, determining a current folding state of the touch screen based on the screen activity detection parameter, including: and analyzing and processing the sub-activity parameters of the sub-folding screen to obtain the current folding state of the touch screen.
The sub-activity parameters, namely the activity parameters corresponding to each sub-folding screen, are analyzed in combination with the sub-activity parameters of the sub-folding screen included in the touch screen, and the current folding state of the touch screen can be analyzed and determined.
In one embodiment, the sub-activity parameters include at least one of a gyroscope parameter and an acceleration sensor parameter in the sub-folding screen; the analyzing the sub-activity parameters of the sub-folding screen to obtain the current folding state of the touch screen comprises the following steps: and analyzing and processing the gyroscope parameters and/or the acceleration sensor parameters in the sub-folding screen to obtain the current folding state of the touch screen.
The gyroscope parameters can reflect the set small-amplitude inclination, deflection control direction and visual field; the acceleration sensor parameters can identify the shaking amplitude of the mobile phone, and the multi-axis gravity sensing can also detect the horizontal and vertical screen rotation of the object. At least one of the gyroscope parameters and the acceleration sensor parameters can accurately reflect the activity condition of the sub-folding screen, and the gyroscope parameters and/or the acceleration sensor parameters in the sub-folding screen are analyzed and processed, so that the current folding state of the touch screen can be accurately obtained.
In one example, the gyroscope parameters and the acceleration sensor parameters are used together in cooperation, so that the current folding state of the touch screen can be accurately identified, for example, the gyroscope parameters and the acceleration sensor parameters in the sub-folding screen can be calculated by using a preset function, the included angle of the sub-folding screen is obtained, and the corresponding current folding state is determined according to the included angle.
In one embodiment, the sub-activity parameter comprises a pressure variation parameter between sub-folding screens; the analyzing the sub-activity parameters of the sub-folding screen to obtain the current folding state of the touch screen comprises the following steps: and analyzing and processing the pressure change parameters between the sub-folding screens to obtain the current folding state of the touch screen. For example, according to the range size of the pressure change parameter, determining the folding state corresponding to the range size as the current folding state.
In one embodiment, step S130, determining a screen touch state of the touch screen according to the current folding state includes:
if the current folding state is the preset folding state, current touch data of the touch screen are obtained; calculating the current touch data and preset reference data to obtain a calculation result; and judging a screen touch state of the touch screen according to whether the calculated result exceeds a preset touch threshold value, wherein the screen touch state comprises one of an abnormal state and a normal state.
The predetermined folded state may be a state other than the unfolded state (i.e., the normal use state), and in particular, the predetermined folded state may refer to a state in which no finger touches on the touch screen and there is a fold between the sub-folded screens.
For example, when the sub-folding screen (left) 210 and the sub-folding screen (right) 220 of the touch screen shown in fig. 2 are 180 degrees, the touch screen is in an unfolded state (i.e., a normal use state); when there is no finger touch on the touch screen shown in fig. 2 and different angles between the sub-folding screen (left) 210 and the sub-folding screen (right) 220 are smaller than 180 degrees, the touch screen is in different predetermined folding states.
If the current folding state is determined to be the preset folding state, current touch data of the touch screen is acquired, the current touch data can be a touch capacitance value, and the preset reference data can be a preset reference capacitance value.
When the current touch data and the preset reference data are calculated to obtain a calculation result, in one mode, the preset reference data can be subtracted from the current touch data to obtain a difference value, namely the calculation result, and in the other mode, the current touch data and the preset reference data are calculated by using a specific function to obtain the calculation result.
Further, through the appointed preset touch threshold, the screen touch state of the touch screen can be accurately and efficiently judged to be an abnormal state or a normal state according to whether the calculated result exceeds the preset touch threshold.
In one embodiment, the predetermined touch threshold is a unified touch threshold preset for the touch screen in different predetermined folding states; and judging the screen touch state of the touch screen according to whether the calculated result exceeds a preset touch threshold value, including: if the calculation result exceeds the unified touch threshold, the screen touch state of the touch screen is an abnormal state; and if the calculation result does not exceed the unified touch threshold, the screen touch state of the touch screen is a normal state.
In this embodiment, a unified touch threshold is preset for the touch screen in different predetermined folding states. If the calculation result exceeds the unified touch threshold, the screen touch state of the touch screen is an abnormal state, and in the abnormal state, touch anomalies such as automatic false triggering, sliding touch breaking and the like can occur to the touch screen. If the calculated result does not exceed the unified touch threshold, the screen touch state of the touch screen is a normal state, and touch anomalies such as automatic false triggering, sliding touch breaking and the like cannot occur in the normal folding process of the touch screen in the normal state.
In one embodiment, the predetermined touch threshold includes a target touch threshold corresponding to each predetermined folding state; and judging the screen touch state of the touch screen according to whether the calculated result exceeds a preset touch threshold value, including: if the calculated result exceeds a target touch threshold corresponding to the preset folding state, the screen touch state of the touch screen is an abnormal state; and if the calculated result does not exceed the target touch threshold corresponding to the preset folding state, the screen touch state of the touch screen is a normal state.
In this embodiment, target touch thresholds are preset for the touch screen in different predetermined folding states. If the calculated result exceeds the target touch threshold, the screen touch state of the touch screen is an abnormal state, and touch anomalies such as automatic false triggering, sliding touch breaking and the like can occur on the touch screen under the abnormal state. If the calculated result does not exceed the target touch threshold, the screen touch state of the touch screen is a normal state, and touch anomalies such as automatic false triggering, sliding touch breaking and the like can not occur in the normal folding process of the touch screen in the normal state.
Referring to fig. 3 and 4, the current touch data is a touch capacitance value, and the predetermined reference data is a reference capacitance value. Fig. 3 illustrates a calculation result obtained by subtracting the reference capacitance value from the touch capacitance value when the screen touch state of the touch screen is an abnormal state in an example, where the calculation result exceeds the unified touch threshold/target touch threshold. Fig. 4 illustrates a calculation result of subtracting the reference capacitance value from the touch capacitance value when the screen touch state of the touch screen is a normal state in an example, where the calculation result does not exceed the unified touch threshold/target touch threshold.
Further, in an embodiment, if the calculation result exceeds the unified touch threshold, the screen touch state of the touch screen is an abnormal state, and further includes: if the calculated result of the continuous multi-frame (such as 3 frames or 5 frames) based on the current touch data exceeds the unified touch threshold, the screen touch state of the touch screen is an abnormal state.
In an embodiment, if the calculation result exceeds the target touch threshold corresponding to the predetermined folding state, the screen touch state of the touch screen is an abnormal state, and further including: if the calculated result of the continuous multi-frame (for example, 3 frames or 5 frames, etc.) based on the current touch data exceeds the target touch threshold corresponding to the preset folding state, the screen touch state of the touch screen is an abnormal state.
In an embodiment, if the touch state of the screen is an abnormal state, performing touch anomaly calibration on the touch screen includes:
and if the touch state of the screen is an abnormal state, performing abnormal calibration processing on the preset reference data to obtain the target reference data, so that calculation processing is performed in the touch screen according to the target reference data.
The method comprises the steps of performing calculation according to preset reference data before a touch screen, executing touch operation according to a calculation result, automatically triggering touch abnormality such as sliding touch interruption when the touch state of the screen is abnormal, performing abnormal calibration processing on the preset reference data to obtain target reference data when the touch state of the screen is abnormal, performing calculation processing according to the target reference data in the touch screen, and calibrating the touch screen according to the calculation result to avoid the touch abnormality in the abnormal state in the folding process, so that quick touch abnormality calibration can be realized.
In one embodiment, the performing an anomaly calibration process on the predetermined reference data to obtain the target reference data includes: and amplifying the preset reference data to obtain target reference data so that the calculation result of the current touch data and the target reference data does not exceed the unified touch threshold. In one embodiment, the performing an anomaly calibration process on the predetermined reference data to obtain the target reference data includes: and amplifying the preset reference data to obtain target reference data so that the calculation result of the current touch data and the target reference data does not exceed a target touch threshold corresponding to a preset folding state.
For example, referring to fig. 3 and 4, the calculation result calculated based on the predetermined reference data is shown in fig. 3, and after the predetermined reference data is amplified to obtain the target reference data, the calculation result calculated based on the target reference data is shown in fig. 4, so that the touch anomaly can be effectively avoided.
In order to facilitate better implementation of the touch screen calibration method provided by the embodiment of the application, the embodiment of the application also provides a touch screen calibration device based on the touch screen calibration method. The meaning of the term is the same as that in the touch screen calibration method, and specific implementation details can be referred to in the description of the method embodiment. Fig. 5 shows a block diagram of a touch screen calibration device according to one embodiment of the application.
As shown in fig. 5, the touch screen calibration device 300 may include an acquisition module 310, a determination module 320, a judgment module 330, and a calibration module 340.
The acquisition module 310 may be configured to acquire screen activity detection parameters of the touch screen; the determining module 320 may be configured to determine a current folding state of the touch screen based on the screen activity detection parameter; the judging module 330 may be configured to judge a screen touch state of the touch screen according to the current folding state; the calibration module 340 may be configured to calibrate the touch screen for touch anomalies if the touch status of the screen is abnormal.
In some embodiments of the present application, the touch screen includes at least two sub-folding screens, and the screen activity detection parameter includes a sub-activity parameter of the sub-folding screen; the determining module is used for: and analyzing and processing the sub-activity parameters of the sub-folding screen to obtain the current folding state of the touch screen.
In some embodiments of the application, the sub-activity parameters include at least one of a gyroscope parameter and an acceleration sensor parameter in the sub-folding screen; the determining module is used for: and analyzing and processing the gyroscope parameters and/or the acceleration sensor parameters in the sub-folding screen to obtain the current folding state of the touch screen.
In some embodiments of the present application, the determining module is configured to: if the current folding state is the preset folding state, current touch data of the touch screen are obtained; calculating the current touch data and preset reference data to obtain a calculation result; and judging a screen touch state of the touch screen according to whether the calculated result exceeds a preset touch threshold value, wherein the screen touch state comprises one of an abnormal state and a normal state.
In some embodiments of the present application, the predetermined touch threshold is a unified touch threshold preset for the touch screen in different predetermined folding states; the judging module is used for: if the calculation result exceeds the unified touch threshold, the screen touch state of the touch screen is an abnormal state; and if the calculation result does not exceed the unified touch threshold, the screen touch state of the touch screen is a normal state.
In some embodiments of the application, the calibration module is configured to: and if the touch state of the screen is an abnormal state, performing abnormal calibration processing on the preset reference data to obtain the target reference data, so that calculation processing is performed in the touch screen according to the target reference data.
In some embodiments of the application, the calibration module is configured to: and amplifying the preset reference data to obtain target reference data so that the calculation result of the current touch data and the target reference data does not exceed the unified touch threshold.
It should be noted that although in the above detailed description several modules or units of a device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functions of two or more modules or units described above may be embodied in one module or unit in accordance with embodiments of the application. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
In addition, the embodiment of the present application further provides an electronic device, which may be a terminal or a server, as shown in fig. 6, which shows a schematic structural diagram of the electronic device according to the embodiment of the present application, specifically:
the electronic device may include one or more processing cores 'processors 401, one or more computer-readable storage media's memory 402, power supply 403, and input unit 404, among other components. It will be appreciated by those skilled in the art that the electronic device structure shown in fig. 6 is not limiting of the electronic device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. Wherein:
the processor 401 is a control center of the electronic device, connects various parts of the entire computer device using various interfaces and lines, and performs various functions of the computer device and processes data by running or executing software programs and/or modules stored in the memory 402, and calling data stored in the memory 402, thereby performing overall monitoring of the electronic device. Optionally, processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user page, an application program, etc., and the modem processor mainly processes wireless communication. It will be appreciated that the modem processor described above may not be integrated into the processor 401.
The memory 402 may be used to store software programs and modules, and the processor 401 executes various functional applications and data processing by executing the software programs and modules stored in the memory 402. The memory 402 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the computer device, etc. In addition, memory 402 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.
The electronic device further comprises a power supply 403 for supplying power to the various components, preferably the power supply 403 may be logically connected to the processor 401 by a power management system, so that functions of managing charging, discharging, and power consumption are performed by the power management system. The power supply 403 may also include one or more of any of a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
The electronic device may further comprise an input unit 404, which input unit 404 may be used for receiving input digital or character information and generating keyboard, mouse, joystick, optical or trackball signal inputs in connection with user settings and function control.
Although not shown, the electronic device may further include a display unit or the like, which is not described herein. In particular, in this embodiment, the processor 401 in the electronic device loads executable files corresponding to the processes of one or more computer programs into the memory 402 according to the following instructions, and the processor 401 executes the computer programs stored in the memory 402, so as to implement the functions in the foregoing embodiments of the present application, for example, the processor 401 may perform the following steps:
acquiring screen activity detection parameters of a touch screen; determining the current folding state of the touch screen based on the screen activity detection parameters; judging the screen touch state of the touch screen according to the current folding state; and if the touch state of the screen is abnormal, performing touch abnormal calibration on the touch screen.
In some embodiments of the present application, the touch screen includes at least two sub-folding screens, and the screen activity detection parameter includes a sub-activity parameter of the sub-folding screen; the determining the current folding state of the touch screen based on the screen activity detection parameter includes: and analyzing and processing the sub-activity parameters of the sub-folding screen to obtain the current folding state of the touch screen.
In some embodiments of the application, the sub-activity parameters include at least one of a gyroscope parameter and an acceleration sensor parameter in the sub-folding screen; the analyzing the sub-activity parameters of the sub-folding screen to obtain the current folding state of the touch screen comprises the following steps: and analyzing and processing the gyroscope parameters and/or the acceleration sensor parameters in the sub-folding screen to obtain the current folding state of the touch screen.
In some embodiments of the present application, the determining the screen touch state of the touch screen according to the current folding state includes: if the current folding state is the preset folding state, current touch data of the touch screen are obtained; calculating the current touch data and preset reference data to obtain a calculation result; and judging a screen touch state of the touch screen according to whether the calculated result exceeds a preset touch threshold value, wherein the screen touch state comprises one of an abnormal state and a normal state.
In some embodiments of the present application, the predetermined touch threshold is a unified touch threshold preset for the touch screen in different predetermined folding states; and judging the screen touch state of the touch screen according to whether the calculated result exceeds a preset touch threshold value, including: if the calculation result exceeds the unified touch threshold, the screen touch state of the touch screen is an abnormal state; and if the calculation result does not exceed the unified touch threshold, the screen touch state of the touch screen is a normal state.
In some embodiments of the present application, if the touch state of the screen is an abnormal state, performing touch abnormal calibration on the touch screen includes: and if the touch state of the screen is an abnormal state, performing abnormal calibration processing on the preset reference data to obtain the target reference data, so that calculation processing is performed in the touch screen according to the target reference data.
In some embodiments of the present application, performing an anomaly calibration process on the predetermined reference data to obtain the target reference data, including: and amplifying the preset reference data to obtain target reference data so that the calculation result of the current touch data and the target reference data does not exceed the unified touch threshold.
It will be appreciated by those of ordinary skill in the art that all or part of the steps of the various methods of the above embodiments may be performed by a computer program, or by computer program control related hardware, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present application also provides a storage medium in which a computer program is stored, the computer program being capable of being loaded by a processor to perform the steps of any of the methods provided by the embodiments of the present application.
Wherein the storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
The steps of any one of the methods provided in the embodiments of the present application may be executed by the computer program stored in the storage medium, so that the beneficial effects that can be achieved by the methods provided in the embodiments of the present application may be achieved, which are detailed in the previous embodiments and are not described herein.
Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains.
It will be understood that the application is not limited to the embodiments which have been described above and shown in the drawings, but that various modifications and changes can be made without departing from the scope thereof.

Claims (10)

1. A touch screen calibration method, comprising:
acquiring screen activity detection parameters of a touch screen;
determining the current folding state of the touch screen based on the screen activity detection parameters;
judging the screen touch state of the touch screen according to the current folding state;
and if the touch state of the screen is abnormal, performing touch abnormal calibration on the touch screen.
2. The method of claim 1, wherein the touch screen comprises at least two sub-folded screens, and the screen activity detection parameter comprises a sub-activity parameter of the sub-folded screen;
the determining the current folding state of the touch screen based on the screen activity detection parameter includes:
and analyzing and processing the sub-activity parameters of the sub-folding screen to obtain the current folding state of the touch screen.
3. The method of claim 2, wherein the sub-activity parameters include at least one of gyroscope parameters and acceleration sensor parameters in the sub-folding screen;
the analyzing the sub-activity parameters of the sub-folding screen to obtain the current folding state of the touch screen comprises the following steps:
and analyzing and processing the gyroscope parameters and/or the acceleration sensor parameters in the sub-folding screen to obtain the current folding state of the touch screen.
4. The method according to claim 1, wherein the determining the screen touch state of the touch screen according to the current folding state includes:
if the current folding state is the preset folding state, current touch data of the touch screen are obtained;
calculating the current touch data and preset reference data to obtain a calculation result;
and judging a screen touch state of the touch screen according to whether the calculated result exceeds a preset touch threshold value, wherein the screen touch state comprises one of an abnormal state and a normal state.
5. The method of claim 4, wherein the predetermined touch threshold is a unified touch threshold preset for the touch screen in different predetermined folding states;
and judging the screen touch state of the touch screen according to whether the calculated result exceeds a preset touch threshold value, including:
if the calculation result exceeds the unified touch threshold, the screen touch state of the touch screen is an abnormal state;
and if the calculation result does not exceed the unified touch threshold, the screen touch state of the touch screen is a normal state.
6. The method according to claim 4 or 5, wherein if the touch state of the screen is an abnormal state, performing touch abnormal calibration on the touch screen includes:
and if the touch state of the screen is an abnormal state, performing abnormal calibration processing on the preset reference data to obtain the target reference data, so that calculation processing is performed in the touch screen according to the target reference data.
7. The method of claim 6, wherein performing an anomaly calibration process on the predetermined reference data to obtain the target reference data comprises:
and amplifying the preset reference data to obtain target reference data so that the calculation result of the current touch data and the target reference data does not exceed the unified touch threshold.
8. A touch screen calibration device, comprising:
the acquisition module is used for acquiring screen activity detection parameters of the touch screen;
the determining module is used for determining the current folding state of the touch screen based on the screen activity detection parameters;
the judging module is used for judging the screen touch state of the touch screen according to the current folding state;
and the calibration module is used for carrying out touch abnormal calibration on the touch screen if the touch state of the screen is an abnormal state.
9. A storage medium having stored thereon a computer program which, when executed by a processor of a computer, causes the computer to perform the method of any of claims 1 to 7.
10. An electronic device, comprising: a memory storing a computer program; a processor reading a computer program stored in a memory to perform the method of any one of claims 1 to 7.
CN202210609694.3A 2022-05-31 2022-05-31 Touch screen calibration method and device, storage medium and electronic equipment Pending CN117135251A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210609694.3A CN117135251A (en) 2022-05-31 2022-05-31 Touch screen calibration method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210609694.3A CN117135251A (en) 2022-05-31 2022-05-31 Touch screen calibration method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN117135251A true CN117135251A (en) 2023-11-28

Family

ID=88861612

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210609694.3A Pending CN117135251A (en) 2022-05-31 2022-05-31 Touch screen calibration method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN117135251A (en)

Similar Documents

Publication Publication Date Title
KR100897849B1 (en) Apparatus and Method for finding malicious process
CN110405388B (en) Method and device for predicting welding quality and electronic equipment
CN107145269B (en) Data rotation method and device
US10761655B2 (en) Display device, management device, management system, and control program
CN112817807A (en) Chip detection method, device and storage medium
CN108806019B (en) Driving record data processing method and device based on acceleration sensor
CN117135251A (en) Touch screen calibration method and device, storage medium and electronic equipment
CN111124774B (en) Method and related device for testing stability of server in starting process
CN111045876A (en) Splash screen detection method and device, storage medium and electronic equipment
CN111403318A (en) Method and device for detecting state of wafer in process chamber
CN111614412B (en) Radio frequency test method, device, electronic equipment and readable storage medium
CN115525499A (en) Data analysis method and device for hard disk, electronic equipment and storage medium
WO2021009949A1 (en) Control method, touch panel device, control program, and recording medium
CN115336981A (en) Wearable device wearing state detection method and related components
CN111291239B (en) Method, device, equipment and storage medium for testing unit
JP2012173200A (en) Abnormality state detection method and electronic apparatus
JP6882772B2 (en) Inspection equipment, inspection method and inspection program
CN109614015B (en) Touch method and touch device
TWI778428B (en) Method, device and system for detecting memory installation state
CN115426282B (en) Voltage abnormality detection method, system, electronic device and storage medium
CN117055718B (en) System, method, device, equipment and storage medium for detecting power consumption of server
CN115208760B (en) Configuration method, device and medium of motion detection chip
JPH0854922A (en) Process controller
CN110626904B (en) Elevator safety detection method and device, electronic equipment and readable storage medium
JP2007218669A (en) Device and program for detecting abnormality

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