CN107562266B - Capacitive screen calibration method and device and terminal equipment - Google Patents

Capacitive screen calibration method and device and terminal equipment Download PDF

Info

Publication number
CN107562266B
CN107562266B CN201710730717.5A CN201710730717A CN107562266B CN 107562266 B CN107562266 B CN 107562266B CN 201710730717 A CN201710730717 A CN 201710730717A CN 107562266 B CN107562266 B CN 107562266B
Authority
CN
China
Prior art keywords
screen
capacitive screen
capacitive
sensitivity
adjusting
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.)
Active
Application number
CN201710730717.5A
Other languages
Chinese (zh)
Other versions
CN107562266A (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.)
Meizhi Photoelectric Technology Co ltd
Original Assignee
Midea Intelligent Lighting and Controls 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 Midea Intelligent Lighting and Controls Technology Co Ltd filed Critical Midea Intelligent Lighting and Controls Technology Co Ltd
Priority to CN201710730717.5A priority Critical patent/CN107562266B/en
Publication of CN107562266A publication Critical patent/CN107562266A/en
Application granted granted Critical
Publication of CN107562266B publication Critical patent/CN107562266B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Position Input By Displaying (AREA)

Abstract

The invention provides a capacitive screen calibration method, a capacitive screen calibration device and terminal equipment, wherein the method comprises the following steps: dividing the capacitive screen into N different areas according to a preset rule, wherein N is a positive integer greater than 1; simulating K times of touch screen events in an ith area, wherein i is a positive integer which is greater than or equal to 1 and less than or equal to N, and K is a positive integer; counting the number L of touch screen events actually acquired in the ith area; and adjusting the sensitivity of the capacitive screen according to the difference value of the K and the L corresponding to each area. The method realizes the automatic calibration of the capacitive screen, reduces the cost of manual calibration, saves the calibration time, effectively improves the efficiency of the capacitive screen calibration, and improves the user experience.

Description

Capacitive screen calibration method and device and terminal equipment
Technical Field
The invention relates to the technical field of electronics, in particular to a method and a device for calibrating a capacitive screen and terminal equipment.
Background
With the further development of electronic information technology, the application of touch screen technology is more and more extensive. The touch screen comprises a capacitive touch screen, a resistive touch screen and an infrared touch screen. Among them, the capacitive touch screen is widely applied to various terminal devices due to factors such as light transmittance, definition, and reliability.
In practical application, although the capacitive touch screen has many advantages, the capacitive touch screen is easily subjected to screen jumping due to the influence of temperature, humidity, static electricity and the like of the environment, so that the problem of inaccurate positioning of the touch screen is caused. In this regard, most manufacturers typically manually calibrate the screen jump of the touch screen under different environmental influences, so as to improve the accuracy of the touch screen positioning.
However, the manual calibration of the touch screen is not only costly, but also takes a long time and is inefficient.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art.
Therefore, a first object of the present invention is to provide a capacitive screen calibration method, which implements automatic calibration of a capacitive screen, reduces the cost of manual calibration, saves calibration time, effectively improves the efficiency of capacitive screen calibration, and improves user experience.
The second purpose of the invention is to provide a capacitive screen calibration device.
A third object of the present invention is to provide a terminal device.
A fourth object of the invention is to propose a computer-readable storage medium.
To achieve the above object, according to a first aspect of the present invention, a capacitive screen calibration method is provided, including:
dividing the capacitive screen into N different areas according to a preset rule, wherein N is a positive integer greater than 1;
simulating K times of touch screen events in an ith area, wherein i is a positive integer which is greater than or equal to 1 and less than or equal to N, and K is a positive integer;
counting the number L of touch screen events actually acquired in the ith area;
and adjusting the sensitivity of the capacitive screen according to the difference value of the K and the L corresponding to each area.
In the calibration method for the capacitive screen, the capacitive screen is divided into N different areas according to a preset rule, then a plurality of touch screen events are simulated in an ith area of the N different areas, the number of times of touch screen events actually acquired in the ith area is counted, and the sensitivity of the capacitive screen is adjusted according to the difference between the simulated K touch screen events respectively corresponding to each area and the actually acquired number of times of touch screen events. From this, through dividing into a plurality of regions with the electric capacity screen to according to the screen jumping number of times in each region, carry out automatic calibration to the electric capacity screen, reduced the cost of artifical calibration cost, saved calibration time, effectively improved the efficiency of electric capacity screen calibration, promoted user experience.
In addition, the calibration method for the capacitive screen provided by the above embodiment of the present invention may further have the following additional technical features:
in an embodiment of the present invention, the dividing the capacitive screen into N different areas according to a preset rule includes:
and dividing the capacitive screen into N different areas according to the size of the capacitive screen and/or the performance parameters of the terminal to which the capacitive screen belongs.
In an embodiment of the present invention, the adjusting the sensitivity of the capacitive screen according to the difference between K and L corresponding to each region includes:
acquiring a difference reference set according to the difference value of the K and the L corresponding to each region;
determining the average screen jumping times corresponding to the capacitive screen according to the difference value reference set;
and adjusting the sensitivity of the capacitive screen according to the average screen jumping times.
In an embodiment of the present invention, after the adjusting the sensitivity of the capacitive screen, the method further includes:
and repeatedly executing the operations of simulating K times of touch screen events in the ith area and adjusting the sensitivity of the capacitive screen according to the difference value between the number L of times of actually acquired touch screen events and K on the basis of the adjusted sensitivity parameters until the difference value between K and L corresponding to each area is determined to be in a preset range.
In an embodiment of the present invention, before adjusting the sensitivity of the capacitive screen according to the difference between K and L corresponding to each region, the method further includes:
if the difference values of K and L corresponding to each region are all larger than a threshold value, or if the difference values of K and L corresponding to at least M regions are all larger than the threshold value, adjusting the technical parameters of the capacitive screen, wherein M is a positive integer larger than 1.
In order to achieve the above object, a second embodiment of the present invention provides a capacitive screen calibration apparatus, including:
the dividing module is used for dividing the capacitive screen into N different areas according to a preset rule, wherein N is a positive integer greater than 1;
the touch screen display device comprises an operation module, a display module and a display module, wherein the operation module is used for simulating K times of touch screen events in an ith area, i is a positive integer which is greater than or equal to 1 and less than or equal to N, and K is a positive integer;
the counting module is used for counting the frequency L of touch screen events actually acquired in the ith area;
and the first adjusting module is used for adjusting the sensitivity of the capacitive screen according to the difference value of the K and the L corresponding to each area.
In the calibration device for the capacitive screen provided in this embodiment, the capacitive screen is divided into N different areas according to a preset rule, then multiple touch screen events are simulated in an ith area of the N different areas, the number of times of touch screen events actually acquired in the ith area is counted, and the sensitivity of the capacitive screen is adjusted according to the difference between the number of times of simulated K touch screen events respectively corresponding to each area and the number of times of touch screen events actually acquired. From this, through dividing into a plurality of regions with the electric capacity screen to according to the screen jumping number of times in each region, carry out automatic calibration to the electric capacity screen, reduced the cost of artifical calibration cost, saved calibration time, effectively improved the efficiency of electric capacity screen calibration, promoted user experience.
In addition, the capacitive screen calibration apparatus provided by the above embodiment of the present invention may further have the following additional technical features:
in an embodiment of the present invention, the adjusting module includes:
the acquisition unit is used for acquiring a difference value reference set according to the difference value of the K and the L respectively corresponding to each region;
the determining unit is used for determining the average screen jumping times corresponding to the capacitive screen according to the difference value reference set;
and the adjusting unit is used for adjusting the sensitivity of the capacitive screen according to the average screen jumping times.
In another embodiment of the present invention, after the adjusting module, the method further includes:
and the second adjusting module is used for repeatedly executing operations of simulating K times of touch screen events in the ith area based on the adjusted sensitivity parameters and adjusting the sensitivity of the capacitive screen according to the difference value between the number L of times of the touch screen events and the number K of times of the touch screen events which are actually acquired until the difference value between the number K and the number L which respectively correspond to each area is determined to be within the preset range.
To achieve the above object, a third aspect of the present invention provides a terminal device, including: the device comprises a capacitive screen, a memory and a processor;
the capacitive screen is used for responding to the operation input by the user;
the memory for storing executable program code;
the processor is configured to read the executable program code stored in the memory to run a program corresponding to the executable program code, so as to implement the capacitive screen calibration method described in the embodiment of the first aspect.
In the terminal device provided in this embodiment, the capacitive screen is divided into N different areas according to a preset rule, then a touch screen event is simulated for multiple times in an ith area of the N different areas, the number of times of the touch screen event actually acquired in the ith area is counted, and the sensitivity of the capacitive screen is adjusted according to a difference between the simulated K touch screen events respectively corresponding to each area and the actually acquired number of times of the touch screen event. From this, through dividing into a plurality of regions with the electric capacity screen to according to the screen jumping number of times in each region, carry out automatic calibration to the electric capacity screen, reduced the cost of artifical calibration cost, saved calibration time, effectively improved the efficiency of electric capacity screen calibration, promoted user experience.
To achieve the above object, a fourth embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the capacitive screen calibration method according to the first embodiment.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a flow chart of a capacitive screen calibration method according to an embodiment of the present invention;
FIG. 2 is a flow chart of a capacitive screen calibration method according to another embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a capacitive screen calibration apparatus according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a capacitive screen calibration apparatus according to another embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
The embodiment of the invention provides a capacitive screen calibration method, which mainly aims at the problems of high cost, long time, low efficiency and the like when a capacitive screen is calibrated in a manual mode in the prior art.
The capacitive screen calibration method provided by the invention divides the capacitive screen into N different areas according to a preset rule, then simulates K touch screen events in the ith area of the N different areas, counts the number L of touch screen events actually acquired in the ith area, and finally adjusts the sensitivity of the capacitive screen according to the difference value between the simulated K touch screen events and the actually acquired number L of touch screen events respectively corresponding to each area. From this, when carrying out the calibration to the electric capacity screen, realized automatic calibration, reduced the cost of artifical calibration cost, saved calibration time, effectively promoted the efficiency of electric capacity screen calibration, promoted user experience.
The following describes in detail a calibration method for a capacitive screen according to an embodiment of the present invention with reference to the accompanying drawings.
Fig. 1 is a flowchart of a capacitive screen calibration method according to an embodiment of the present invention.
As shown in fig. 1, the capacitive screen calibration method may include the following steps:
step 101, dividing the capacitive screen into N different areas according to a preset rule, wherein N is a positive integer greater than 1.
Specifically, the capacitive screen calibration method provided in this embodiment may be executed by the capacitive screen calibration apparatus provided in the present invention, where the capacitive screen calibration apparatus is configured in a terminal device to perform calibration control on a capacitive screen.
In specific implementation, the capacitive screen can be divided into N different areas according to the size of the capacitive screen; or dividing the capacitive screen into N different areas according to the performance parameters of the terminal to which the capacitive screen belongs; or, the capacitive screen is divided into N different areas according to the size of the capacitive screen and the performance parameters of the terminal to which the capacitive screen belongs.
Preferably, in this embodiment, the capacitive screen is divided into N different areas according to the size of the capacitive screen and the performance parameters of the terminal to which the capacitive screen belongs.
The performance parameters of the terminal to which the capacitive screen belongs may include, but are not limited to, a Central Processing Unit (CPU) core number, a CPU frequency, and the like, which is not specifically limited in this application.
For example, if the size of the capacitive screen in this embodiment is 5.5 inches, the central processing unit of the device to which the capacitive screen belongs is dual core, and the frequency is 1.4GHz, the capacitive screen may be divided into 2000 different areas.
For another example, if the size of the capacitive screen is 5.5 inches, the central processing unit of the terminal to which the capacitive screen belongs is four cores, and the frequency is 2.4GHz, then the capacitive screen can be divided into 3000 different areas.
That is to say, the number of the divided areas of the capacitive screen is determined according to the processing capacity of the central processing unit of the terminal to which the capacitive screen belongs and the size of the capacitive screen, so that the problem that the central processing unit in the terminal equipment is mainly used for processing the calibration of the capacitive screen due to the limited capacity of the central processing unit of the terminal and the excessive division of the area of the capacitive screen, so that other programs cannot normally run can be effectively avoided, the programs in the equipment to which the capacitive screen belongs and the calibration of the capacitive screen can be simultaneously carried out, and the requirement that the terminal normally runs other programs is met.
And 102, simulating K times of touch screen events in the ith area, wherein i is a positive integer which is greater than or equal to 1 and less than or equal to N, and K is a positive integer.
Specifically, after the capacitive screen is divided into N different regions, a simulated touch event may be performed on each of the N different regions.
The times of the simulation touch events corresponding to each area can be the same or different, and the K times of simulation touch screen events can be adaptively set according to actual needs. Such as 10, 20, etc., which is not specifically limited by the present application.
For example, if the number of N different areas is 20, and the number of times of simulating the touch screen event in each area is 10 times of touching in 10 seconds(s), the operation of simulating the number of times of the touch screen event in 10 seconds may be performed in each of the 20 different areas.
And 103, counting the number L of touch screen events actually acquired in the ith area.
Specifically, the capacitive screen may jump due to the influence of the temperature, humidity, static electricity, etc. of the environment where the capacitive screen is located. Therefore, the frequency L of the touch screen event actually acquired may be different from the frequency K of the actual simulation, and therefore, in the embodiment of the application, the probability of screen jump occurring in each area of the current capacitive screen may be determined by counting the frequency of the touch screen event actually acquired in each area.
And 104, adjusting the sensitivity of the capacitive screen according to the difference value of the K and the L corresponding to each area.
Specifically, the difference between K and L corresponding to each region is the number of screen skipping in the region. Different electronic devices are distributed at different positions of the terminal mainboard, so that screen jumping times corresponding to different positions of the capacitive screen under the same environment are possibly different. Therefore, in the embodiment of the application, the capacitive screen is divided into the plurality of areas, and the sensitivity of the capacitive screen is adjusted according to the screen jumping times corresponding to each area, so that the overall reliability and accuracy of the capacitive screen are improved.
In specific implementation, the difference value between the simulated touch screen event frequency K and the actual touch screen event frequency L can be differentiated from the threshold value to obtain compensation values for sensitivity adjustment of different areas, and then the sensitivity of different areas in the capacitive screen is adjusted according to the compensation values, so that the purpose of sensitivity adjustment of the capacitive screen is achieved.
In the calibration method for the capacitive screen, the capacitive screen is divided into N different areas according to a preset rule, then multiple touch screen events are simulated in an ith area of the N different areas in sequence, the number of times of touch screen events actually acquired in the ith area is counted, and the sensitivity of the capacitive screen is adjusted according to the difference between the number of times of simulated K touch screen events and the number of times of touch screen events actually acquired, which correspond to each area. From this, through dividing into a plurality of regions with the electric capacity screen to according to the screen jumping number of times in each region, carry out automatic calibration to the electric capacity screen, reduced the cost of artifical calibration cost, saved calibration time, effectively improved the efficiency of electric capacity screen calibration, promoted user experience.
According to the analysis, the sensitivity of the capacitive screen is adjusted according to the difference value between the number of times of the simulated touch screen events corresponding to each area and the number of times of the touch screen events actually acquired. In a possible implementation scenario of the present invention, when the difference value corresponding to each different area is large, each area may be first screened according to the difference value corresponding to each area, and then the sensitivity of the capacitive screen is adjusted only according to the difference value corresponding to a part of the areas. The calibration method of the capacitive screen in the above case is further described with reference to fig. 2.
Fig. 2 is a flowchart of a capacitive screen calibration method according to another embodiment of the invention.
As shown in fig. 2, the calibration method for a capacitive screen according to an embodiment of the present invention may include the following steps:
step 201, dividing the capacitive screen into N different areas according to a preset rule, where N is a positive integer greater than 1.
Step 202, simulating K times of touch screen events in the ith area, wherein i is a positive integer which is greater than or equal to 1 and less than or equal to N, and K is a positive integer.
And step 203, counting the number L of touch screen events actually acquired in the ith area.
And step 204, determining whether to adjust the sensitivity of the capacitive screen or not according to the difference value of the K and the L and the threshold value respectively corresponding to each area, if so, executing step 205, and otherwise, not performing any processing.
Specifically, the difference between K and L corresponding to each region is the number of screen skipping in the region. Different electronic devices are distributed at different positions of the terminal mainboard, so that screen jumping times corresponding to different positions of the capacitive screen under the same environment are possibly different. Therefore, in the embodiment of the application, the capacitive screen is divided into the plurality of areas, and whether the sensitivity of the capacitive screen is adjusted or not is determined according to the screen jumping times and the threshold value corresponding to each area, so that the overall reliability and accuracy of the capacitive screen are improved.
In specific implementation, the difference between K and L corresponding to each region is compared with a threshold, and if the difference between K and L corresponding to each region is greater than the threshold, or if the difference between K and L corresponding to at least M regions is greater than the threshold, the technical parameter of the capacitive screen is adjusted, where M is a positive integer greater than 1.
The threshold may be specifically set according to an actual use condition, and the present application is not particularly limited to this.
It should be noted that, in this embodiment, when it is determined that the sensitivity of the capacitive screen needs to be adjusted, parameters of the capacitive screen, such as operating voltage, current, self-capacitance, and mutual capacitance, may be adjusted to achieve the purpose of adjusting the sensitivity of the capacitive screen.
Step 205, obtaining a difference reference set according to the difference between K and L corresponding to each region.
For example, if the number of N different regions of the capacitive screen is 10, and the number of times of simulating the touch screen event in each region is 10 times per 10 seconds(s), and the difference threshold is 5, when the number of times of acquiring the touch screen actually acquired by 2 regions in 10s among the 10 regions is as many as 70 times, the difference is much greater than 5, the number of times of acquiring the touch screen actually acquired by the remaining 8 regions in 10s is all around 10 times, and the difference is less than 5, the number of times of acquiring the touch screen actually is as many as 70 times, and the difference of the 2 regions greater than 5 is excluded, and the difference obtained by the remaining 8 regions is used as a difference reference set.
That is to say, the area where the difference between the actually captured touch screen times and the simulated touch screen times is far larger than or far smaller than the threshold is removed, so as to avoid the adverse effect of the abnormal area on the calibration of the sensitivity of the capacitive screen.
And step 206, determining the average screen jumping times corresponding to the capacitive screen according to the difference value reference set.
Specifically, the obtained difference values in the difference value reference set are weighted and averaged to obtain the average screen jumping times corresponding to the capacitive screen.
And step 207, adjusting the sensitivity of the capacitive screen according to the average screen jumping times.
And the difference value between the average screen jumping number and the threshold value is used as a compensation value of the sensitivity, and the sensitivity compensation is carried out on the capacitive screen.
Further, in another embodiment of the present invention, the capacitive screen calibration method further includes:
and 208, repeatedly executing operations of simulating K times of touch screen events in the ith area based on the adjusted sensitivity parameters and adjusting the sensitivity of the capacitive screen according to the difference value between the number L of times of actually acquired touch screen events and K until the difference value between the K and the L corresponding to each area is determined to be in a preset range.
Specifically, after the sensitivity of the capacitive screen is adjusted once, the difference between K and L corresponding to each of N different regions in the capacitive screen is not all within the preset range.
Therefore, in order to enable the difference value of the K and the L corresponding to each of the N different areas to be within a preset range, so as to ensure that the sensitivity of the capacitive screen meets the requirement and is relatively stable, the method and the device further repeat the sensitivity adjustment of the capacitive screen for multiple times in each area, iterate the sensitivity for multiple times until the sensitivity of the capacitive screen is within the preset range, thereby eliminating the existing error and enabling the sensitivity of the adjusted capacitive screen to be more stable.
In the calibration method for the capacitive screen, the difference reference set is determined according to the difference value of the K and the L corresponding to each region in the capacitive screen, the average screen jumping frequency corresponding to the capacitive screen is determined according to the difference reference set, and the sensitivity of the capacitive screen is adjusted according to the average screen jumping frequency, so that the calibration of the capacitive screen is more accurate, the calibration precision of the capacitive screen is improved, the user requirements are further met, and the user experience is improved.
The following describes a capacitive screen calibration apparatus according to an embodiment of the present invention with reference to the drawings.
Fig. 3 is a schematic structural diagram of a capacitive screen calibration apparatus according to an embodiment of the present invention.
Referring to fig. 3, the capacitive screen calibration apparatus includes: a dividing module 11, an operation module 12, a statistic module 13 and a first adjusting module 14.
The dividing module 11 is configured to divide the capacitive screen into N different regions according to a preset rule, where N is a positive integer greater than 1;
the operation module 12 is configured to simulate K times of touch screen events in an ith area, where i is a positive integer greater than or equal to 1 and less than or equal to N, and K is a positive integer;
the counting module 13 is configured to count the number L of touch screen events actually acquired in the ith area;
the first adjusting module 14 is configured to adjust the sensitivity of the capacitive screen according to the difference between K and L corresponding to each region.
Further, as shown in fig. 4, in another embodiment of the present invention, the adjusting module 14 includes:
the obtaining unit 141 is configured to obtain a difference reference set according to the difference between K and L corresponding to each of the regions;
the determining unit 142 determines the average screen-skipping times corresponding to the capacitive screen according to the difference reference set;
the adjusting unit 143 adjusts the sensitivity of the capacitive screen according to the average screen skipping frequency.
Further, according to the present application, after the adjusting module 14, the capacitive screen calibration apparatus further includes: and a second adjusting module.
The second adjusting module is used for repeatedly executing operations of simulating K times of touch screen events in the ith area based on the adjusted sensitivity parameters and adjusting the sensitivity of the capacitive screen according to the difference value between the number L of times of actually acquired touch screen events and K until the difference value between the K and the L corresponding to each area is determined to be in a preset range.
It should be noted that, for the implementation process and the technical principle of the capacitive screen calibration apparatus of this embodiment, reference is made to the foregoing explanation of the capacitive screen calibration method embodiment, and details are not described here again.
In the calibration device for the capacitive screen provided in this embodiment, the capacitive screen is divided into N different areas according to a preset rule, then multiple touch screen events are simulated in an ith area of the N different areas, the number of times of touch screen events actually acquired in the ith area is counted, and the sensitivity of the capacitive screen is adjusted according to the difference between the number of times of simulated K touch screen events respectively corresponding to each area and the number of times of touch screen events actually acquired. From this, through dividing into a plurality of regions with the electric capacity screen to according to the screen jumping number of times in each region, carry out automatic calibration to the electric capacity screen, reduced the cost of artifical calibration cost, saved calibration time, effectively improved the efficiency of electric capacity screen calibration, promoted user experience.
In order to implement the above embodiments, the present invention further provides a terminal device.
Fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
As shown in fig. 5, the terminal device 20 includes: a capacitive screen 21, a memory 22 and a processor 23;
the capacitive screen 21 is used for responding to the operation input by a user;
the memory 22 is used for storing executable program codes;
the processor 23 is configured to read the executable program code stored in the memory to run a program corresponding to the executable program code, so as to implement the capacitive screen calibration method described in the embodiment of the first aspect.
In this embodiment, the terminal device may be any smart device with a capacitive touch screen. For example, a smart phone, a smart watch, a portable Computer (Tablet Personal Computer, abbreviated as Tablet PC), and the like.
It should be noted that, for the implementation process and the technical principle of the terminal device of this embodiment, reference is made to the explanation of the foregoing embodiment of the object capacitive screen calibration method, and details are not described here again.
In the terminal device provided in this embodiment, the capacitive screen is divided into N different areas according to a preset rule, then a touch screen event is simulated for multiple times in an ith area of the N different areas, the number of times of the touch screen event actually acquired in the ith area is counted, and the sensitivity of the capacitive screen is adjusted according to a difference between the simulated K touch screen events respectively corresponding to each area and the actually acquired number of times of the touch screen event. From this, through dividing into a plurality of regions with the electric capacity screen to according to the screen jumping number of times in each region, carry out automatic calibration to the electric capacity screen, reduced the cost of artifical calibration cost, saved calibration time, effectively improved the efficiency of electric capacity screen calibration, promoted user experience.
In order to implement the above embodiments, the present invention also provides a computer-readable storage medium.
The computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the capacitive screen calibration method of an embodiment of the first aspect. The capacitive screen calibration method comprises the following steps: dividing the capacitive screen into N different areas according to a preset rule, wherein N is a positive integer greater than 1; sequentially simulating K times of touch screen events in an ith area, wherein i is a positive integer which is greater than or equal to 1 and less than or equal to N, and K is a positive integer; counting the number L of touch screen events actually acquired in the ith area; and adjusting the sensitivity of the capacitive screen according to the difference value of the K and the L corresponding to each area.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (7)

1. A capacitive screen calibration method is characterized by comprising the following steps:
dividing the capacitive screen into N different areas according to a preset rule, wherein N is a positive integer greater than 1; wherein, with preset rule, divide into N different regions with the electric capacity screen, include: dividing the capacitive screen into N different areas according to the size of the capacitive screen and/or the performance parameters of the terminal to which the capacitive screen belongs;
simulating K times of touch screen events in an ith area, wherein i is a positive integer which is greater than or equal to 1 and less than or equal to N, and K is a positive integer;
counting the number L of touch screen events actually acquired in the ith area;
adjusting the sensitivity of the capacitive screen according to the difference value of K and L corresponding to each area; wherein, according to the difference of K and L that each region corresponds respectively, adjust the sensitivity of capacitive screen, include:
acquiring a difference reference set according to the difference value of the K and the L corresponding to each region;
determining the average screen jumping times corresponding to the capacitive screen according to the difference value reference set;
and adjusting the sensitivity of the capacitive screen according to the average screen jumping times.
2. The method of claim 1, wherein after adjusting the sensitivity of the capacitive screen, further comprising:
and repeatedly executing the operations of simulating K times of touch screen events in the ith area and adjusting the sensitivity of the capacitive screen according to the difference value between the number L of times of actually acquired touch screen events and K on the basis of the adjusted sensitivity parameters until the difference value between K and L corresponding to each area is determined to be in a preset range.
3. The method according to any one of claims 1-2, wherein before adjusting the sensitivity of the capacitive screen according to the difference between K and L corresponding to each of the regions, the method further comprises:
if the difference values of K and L corresponding to each region are all larger than a threshold value, or if the difference values of K and L corresponding to at least M regions are all larger than the threshold value, adjusting the technical parameters of the capacitive screen, wherein M is a positive integer larger than 1.
4. A capacitive screen calibration device, comprising:
the dividing module is used for dividing the capacitive screen into N different areas according to a preset rule, wherein N is a positive integer greater than 1; wherein, the dividing module is specifically configured to: dividing the capacitive screen into N different areas according to the size of the capacitive screen and/or the performance parameters of the terminal to which the capacitive screen belongs;
the touch screen display device comprises an operation module, a display module and a display module, wherein the operation module is used for simulating K times of touch screen events in an ith area, i is a positive integer which is greater than or equal to 1 and less than or equal to N, and K is a positive integer;
the counting module is used for counting the frequency L of touch screen events actually acquired in the ith area;
the first adjusting module is used for adjusting the sensitivity of the capacitive screen according to the difference value of K and L corresponding to each area; wherein the first adjusting module comprises:
the acquisition unit is used for acquiring a difference value reference set according to the difference value of the K and the L respectively corresponding to each region;
the determining unit is used for determining the average screen jumping times corresponding to the capacitive screen according to the difference value reference set;
and the adjusting unit is used for adjusting the sensitivity of the capacitive screen according to the average screen jumping times.
5. The apparatus of claim 4, wherein the first adjustment module is followed by further comprising:
and the second adjusting module is used for repeatedly executing operations of simulating K times of touch screen events in the ith area based on the adjusted sensitivity parameters and adjusting the sensitivity of the capacitive screen according to the difference value between the number L of times of the touch screen events and the number K of times of the touch screen events which are actually acquired until the difference value between the number K and the number L which respectively correspond to each area is determined to be within the preset range.
6. A terminal device, comprising: the device comprises a capacitive screen, a memory and a processor;
the capacitive screen is used for responding to the operation input by the user;
the memory for storing executable program code;
the processor is used for reading the executable program codes stored in the memory to run programs corresponding to the executable program codes, so as to realize the capacitive screen calibration method as claimed in any one of claims 1 to 3.
7. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a capacitive screen calibration method according to any one of claims 1 to 3.
CN201710730717.5A 2017-08-23 2017-08-23 Capacitive screen calibration method and device and terminal equipment Active CN107562266B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710730717.5A CN107562266B (en) 2017-08-23 2017-08-23 Capacitive screen calibration method and device and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710730717.5A CN107562266B (en) 2017-08-23 2017-08-23 Capacitive screen calibration method and device and terminal equipment

Publications (2)

Publication Number Publication Date
CN107562266A CN107562266A (en) 2018-01-09
CN107562266B true CN107562266B (en) 2021-03-19

Family

ID=60976636

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710730717.5A Active CN107562266B (en) 2017-08-23 2017-08-23 Capacitive screen calibration method and device and terminal equipment

Country Status (1)

Country Link
CN (1) CN107562266B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110456175A (en) * 2018-05-08 2019-11-15 深圳市优必选科技有限公司 Screen-jumping detection method and device, terminal equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102707891A (en) * 2012-05-16 2012-10-03 华为终端有限公司 Method and mobile terminal for calibrating touch screen input
CN105335001A (en) * 2014-09-02 2016-02-17 三星电子株式会社 Electronic device with curved display and method for controlling thereof
US20170108992A1 (en) * 2015-10-14 2017-04-20 Samsung Electronics Co., Ltd. Apparatus and method for obtaining coordinate through touch panel thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775053B (en) * 2016-11-11 2019-08-16 广州视源电子科技股份有限公司 Method and device for determining sensitivity of touch screen

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102707891A (en) * 2012-05-16 2012-10-03 华为终端有限公司 Method and mobile terminal for calibrating touch screen input
CN105335001A (en) * 2014-09-02 2016-02-17 三星电子株式会社 Electronic device with curved display and method for controlling thereof
US20170108992A1 (en) * 2015-10-14 2017-04-20 Samsung Electronics Co., Ltd. Apparatus and method for obtaining coordinate through touch panel thereof

Also Published As

Publication number Publication date
CN107562266A (en) 2018-01-09

Similar Documents

Publication Publication Date Title
CN109274309B (en) Motor control method, motor control device, electronic device and storage medium
CN108875013B (en) Method and device for processing map data
CN105045713A (en) Data processing method and mobile terminal
CN105890624B (en) Calibration method and electronic equipment
CN109002230B (en) Touch screen calibration method and device and electronic equipment
CN107562266B (en) Capacitive screen calibration method and device and terminal equipment
CN110134598B (en) Batch processing method, device and system
CN116559528A (en) Chip frequency measuring method, circuit, device, storage medium and computer equipment
CN107506067B (en) Method and device for debugging working frequency of touch screen and terminal equipment
CN108922478B (en) Backlight brightness adjusting method and system and display device
CN110865785A (en) Method and device for acquiring pixel size and electronic equipment
CN114167132A (en) Power consumption detection method and device of wireless terminal, electronic equipment and storage medium
CN104467701B (en) A kind of voltage correction method and electric terminal of power amplifier
CN109413412B (en) Method and device for testing performance of gray card, electronic equipment and storage medium
CN117093463A (en) Test program scheduling strategy generation method and device, storage medium and electronic equipment
CN115051762B (en) Line loss calibration method, device, system, medium and equipment
CN113376564B (en) Smart electric meter metering correction method and device based on data analysis and terminal
CN113032232B (en) Correlation method, correlation device and equipment for performance detection of equipment
CN108269004B (en) Product life analysis method and terminal equipment
CN111026458B (en) Application program exit time setting method and device
CN107544713A (en) Capacitance plate control method, device and terminal device
CN108345940B (en) Data processing method, device and computer readable storage medium
US20140163917A1 (en) Multi-sensing-elements calibration system, multi-sensing-elements calibration method and recording medium
KR102413753B1 (en) Information processing apparatus, information processing method, and information processing program stored in a recording medium
CN110796996A (en) Color temperature calibration method and device for mobile terminal, electronic equipment 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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200529

Address after: 335400 No. 1 Industrial Park, Yingtan, Jiangxi, Guixi

Applicant after: MEIZHI PHOTOELECTRIC TECHNOLOGY Co.,Ltd.

Address before: 518000 Guangdong city of Shenzhen province Nanshan District Qianhai Shenzhen Hong Kong cooperation zone before the Bay Road No. 1 building 201 room A

Applicant before: MIDEA SMART HOME TECHNOLOGY Co.,Ltd.

Applicant before: MIDEA GROUP Co.,Ltd.

CB02 Change of applicant information
CB02 Change of applicant information

Address after: 335400 No. 1 Industrial Park, Yingtan, Jiangxi, Guixi

Applicant after: Meizhi Optoelectronic Technology Co., Ltd

Address before: 335400 No. 1 Industrial Park, Yingtan, Jiangxi, Guixi

Applicant before: MEIZHI PHOTOELECTRIC TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant