Touch screen parameter adaptive correction method, system, electronic device and storage medium

By training the capacitance deviation rate prediction model and real-time data collection in the touch screen, the capacitance reference value is dynamically adjusted, which solves the problem of the impact of environmental changes and device aging on the accuracy of the touch screen in the metaverse environment, achieving more accurate touch judgment and improving user experience. .

CN118012288BActive Publication Date: 2024-09-06HANGZHOU HALLED TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410130444.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-31
Publication Date
2024-09-06
Estimated Expiration
2044-01-31

AI Technical Summary

Technical Problem

It is difficult for the existing technology to effectively adapt to the impact of environmental changes and device aging on the accuracy and response speed of the touch screen in the metaverse environment, resulting in misjudgments and reduced user experience.

Method used

By collecting capacitance reference value and environmental data in advance, training the capacitance deviation rate prediction model, collecting user operation data in real time, and dynamically adjusting the capacitance reference value to adapt to environmental changes and hardware aging, achieving more accurate touch judgment.

Benefits of technology

It improves the accuracy and reliability of the touch screen and enhances the user experience in the Metaverse environment. Through quantitative analysis of environmental impact and hardware correction, the capacitance reference value is dynamically adjusted to avoid misjudgment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118012288B
    Figure CN118012288B
Patent Text Reader

Abstract

The present invention discloses a touch screen parameter adaptive correction method, system, electronic device and storage medium, and relates to the field of touch screen correction technology. By pre-collecting capacitance reference values, capacitance deviation rate training input data and capacitance deviation rate label data, a capacitance deviation rate prediction model is trained to predict the capacitance deviation rate generated by a touch screen after being pressed under different environmental conditions. Historical operation statistics are collected, real-time capacitance deviation rate real-time input data is collected in real time, and user touch frequency data of the touch screen to be corrected are collected to determine whether there is a hardware correction requirement. If there is a hardware correction requirement, capacitance reference adjustment parameters are output based on the capacitance deviation rate real-time input data, the capacitance deviation rate prediction model and the hardware correction parameters. Based on the capacitance reference adjustment parameters, the capacitance reference value is corrected to achieve more accurate and reliable effective touch judgment, thereby achieving a better user experience effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of touch screen correction, and in particular to a touch screen parameter adaptive correction method, system, electronic equipment and storage medium. Background Art

[0002] As one of the core components of modern interactive technology, touch screens are widely used in 3D modeling, video post-processing, and various interactive software. With the rise of metaverse-related technologies such as virtual reality (VR), augmented reality (AR), and mixed reality (MR), touch screen technology plays an increasingly important role in providing immersive experience and efficient interaction. In these application scenarios, users may perform complex operations in a virtual environment or interact highly with digital information, so the accuracy and response speed of the touch screen are extremely high.

[0003] However, in actual applications, many factors such as changes in ambient temperature, humidity, and device aging caused by long-term use will affect the accuracy and response speed of the touch screen. In the metaverse environment, these challenges may be more complex because more data may need to be processed while maintaining real-time interaction with users. This places higher demands on the performance stability and adaptability of the touch screen.

[0004] In addition, for capacitive touch screens, a capacitance reference value is usually set to prevent users from accidentally touching the device. However, in the Metaverse application scenario, users may use the device in more diverse environmental conditions. This fixed capacitance reference value is difficult to flexibly respond to environmental changes, which may lead to misjudgment and affect the user experience. Therefore, exploring how to make touch screen technology better adapt to the Metaverse environment has become an urgent problem that needs to be solved.

[0005] The Chinese patent with the authorization announcement number CN103488364B discloses a capacitive touch screen and its adaptive correction method and system. The method and system realize the adaptive adjustment of the reference value to follow the changes in the environment to a certain extent, which provides certain inspiration for the development of touch screen technology. However, the method fails to quantitatively analyze the impact of the environment on the accuracy of the touch screen, nor does it take into account the impact of complex and changeable virtual situations and machine aging in the metaverse environment.

[0006] To this end, the present invention proposes a touch screen parameter adaptive correction method, system, electronic device and storage medium, aiming to solve at least one of the technical problems existing in the prior art, achieve more accurate and reliable effective touch judgment, and provide a better user experience for Metaverse applications. Summary of the invention

[0007] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the present invention proposes a touch screen parameter adaptive correction method, system, electronic device and storage medium to achieve more accurate and reliable effective touch judgment and achieve better user experience.

[0008] To achieve the above object, a touch screen parameter adaptive correction method is proposed according to Embodiment 1 of the present invention, comprising the following steps:

[0009] Step 1: Collect the capacitance benchmark value in advance, and collect the capacitance deviation rate training input data and capacitance deviation rate label data in the test environment;

[0010] Step 2: Using the capacitance deviation rate training input data as input and the capacitance deviation rate label data as output, a capacitance deviation rate prediction model is trained to predict the capacitance deviation rate generated by the touch screen after being pressed under different environmental conditions;

[0011] Step 3: For the touch screen to be calibrated, collect historical operation statistics and collect real-time input data of capacitance deviation rate;

[0012] Step 4: Preset the hardware calibration parameter to 1; collect the user touch frequency data of the touch screen to be calibrated, and determine whether there is a hardware calibration requirement based on the user touch frequency data; if there is a hardware calibration requirement, go to step 5; if there is no hardware calibration requirement, go to step 6;

[0013] Step 5: Update hardware calibration parameters based on historical operation statistics;

[0014] Step 6: Based on the capacitance deviation rate real-time input data, the capacitance deviation rate prediction model and the hardware correction parameter, output the capacitance reference adjustment parameter; and based on the capacitance reference adjustment parameter, correct the capacitance reference value;

[0015] The method of collecting capacitance deviation rate training input data and capacitance deviation rate label data in the test environment is: setting a reference environment value for each environmental parameter in advance, and representing the environment of all environmental parameters under their corresponding reference environment values ​​as a standard environment;

[0016] In a standard environment, when the capacitance value generated by the touch screen is obtained by an experimental method to make the capacitance reference value, the contact area between the touch screen object and the touch screen is expressed as the standard area;

[0017] In a test environment, N unused test touch screens are selected, and each test touch screen is placed in a standard environment and another parameter environment respectively, and a contact object with another contact area is used to touch the test touch screen, and after each touch, a standard capacitance value and another parameter capacitance value generated by the test touch screen are collected respectively; the other parameter environment is an environment having at least one environmental parameter different from the environmental parameters of the standard environment, and the other contact area is an area value different from the standard area; N is the number of selected test touch screens;

[0018] For each touch in other parameter environments, calculate the environmental deviation rate of each environmental parameter, the area deviation rate of the contact area, and the capacitance deviation rate label of the generated capacitance value;

[0019] The area deviation rate group generated by each touch and the environmental deviation rate of each environmental parameter are combined into an environmental deviation feature vector, and all environmental deviation feature vectors are combined into capacitance deviation rate training input data; the capacitance deviation rate label generated by each touch is combined into capacitance deviation rate label data;

[0020] The calculation method of the environmental deviation rate, the area deviation rate and the capacitance deviation rate is:

[0021] In other parameter environments, for each environmental parameter, the environmental parameter value of each touch environment is divided by the corresponding reference environmental value to obtain the corresponding environmental deviation rate;

[0022] In other parameter environments, the area deviation rate is obtained by dividing the other contact areas by the standard area at each touch;

[0023] In other parameter environments, after each touch, the other parameter capacitance value generated by the test touch screen is divided by the standard capacitance value generated in the corresponding standard environment to obtain a capacitance deviation rate label;

[0024] The method of training a capacitance deviation rate prediction model for predicting the capacitance deviation rate generated by the touch screen after being pressed under different environmental conditions is as follows: each group of environmental deviation feature vectors in the capacitance deviation rate training input data is used as the input of the capacitance deviation rate prediction model, the capacitance deviation rate prediction model uses the predicted value of the capacitance deviation rate for each group of environmental deviation feature vectors as the output, uses the capacitance deviation rate label corresponding to the group of environmental deviation feature vectors as the prediction target, uses the difference between the predicted value of the capacitance deviation rate and the capacitance deviation rate label as the prediction error, and uses minimizing the sum of the prediction errors as the training target; the capacitance deviation rate prediction model is trained until the sum of the prediction errors converges and the training is stopped;

[0025] The method for collecting historical operation statistics is:

[0026] For each touch screen to be calibrated, the device background of the touch screen to be calibrated collects the usage time, average pressing force, number of pressings and sliding length of the touch screen to be calibrated in real time;

[0027] The method of real-time acquisition of capacitance deviation rate and real-time input data is as follows:

[0028] When a touch screen object is used to touch the touch screen to be calibrated, real-time environmental values ​​of various environmental parameters of the environment in which the touch screen to be calibrated is located and a real-time contact area between the touch screen object and the touch screen to be calibrated are collected;

[0029] Divide the real-time environmental value of each environmental parameter by the corresponding reference environmental value to obtain the corresponding real-time environmental deviation rate;

[0030] The real-time contact area is divided by the standard area to obtain the real-time area deviation rate;

[0031] The real-time environmental deviation rate and the real-time area deviation rate are combined into the capacitance deviation rate real-time input data;

[0032] The method of collecting the user touch frequency data of the touch screen to be calibrated is:

[0033] When a touch-screen object is used to touch the touch screen to be calibrated, the maximum number of consecutive times that the user performs the same touch operation is counted, and the maximum number of consecutive times is used as the user touch frequency data; the same touch operation includes pressing the same position and sliding along the same sliding route; the maximum number of consecutive times is the number of times the user performs the same touch operation continuously and uninterruptedly;

[0034] The method of judging whether there is a need for hardware correction based on the user touch frequency data is:

[0035] A threshold of the number of continuous operations is preset. If the user touch frequency data is greater than the threshold of the number of continuous operations, it is determined that there is a need for hardware correction. If the user touch frequency data is less than or equal to the threshold of the number of continuous operations, it is determined that there is no need for hardware correction.

[0036] The method of updating the hardware calibration parameters is:

[0037] The duration of use is marked as t, the average pressing force is marked as p, the number of presses is marked as m, and the sliding length is marked as c;

[0038] The hardware correction parameter is marked as Y, and the calculation formula of the hardware correction parameter Y is: Wherein, a1, a2, a3 and a4 are preset proportional coefficients respectively, e is a natural constant used to ensure that the denominator is greater than 1, and ln is a logarithmic function with e as the base;

[0039] The output capacitor reference adjustment parameter is as follows:

[0040] Inputting the capacitance deviation rate real-time input data into the capacitance deviation rate prediction model to obtain the capacitance deviation rate prediction value output by the capacitance deviation rate prediction model;

[0041] The predicted value of the output capacitance deviation rate is marked as Z;

[0042] The capacitance reference adjustment parameter is marked as B, and the calculation formula of the capacitance reference adjustment parameter B is:

[0043] A touch screen parameter adaptive correction system includes a pre-data collection module, a model training module, a real-time data collection module and an adaptive correction module; wherein each module is electrically connected;

[0044] A pre-data collection module is used to pre-collect the capacitance reference value, collect capacitance deviation rate training input data and capacitance deviation rate label data in a test environment, send the capacitance reference value to the adaptive correction module, and send the capacitance deviation rate training input data and capacitance deviation rate label data to the model training module;

[0045] A model training module is used to take the capacitance deviation rate training input data as input and the capacitance deviation rate label data as output, train a capacitance deviation rate prediction model for predicting the capacitance deviation rate generated by the touch screen after being pressed under different environmental conditions, and send the capacitance deviation rate prediction model to the adaptive correction module;

[0046] A real-time data collection module is used to collect historical operation statistics data for the touch screen to be corrected, and collect real-time input data of the capacitance deviation rate in real time, and send the historical operation statistics data and the real-time input data of the capacitance deviation rate to the adaptive correction module;

[0047] An adaptive correction module is used to preset a hardware correction parameter to 1; collect user touch frequency data of the touch screen to be calibrated, and determine whether there is a hardware correction requirement based on the user touch frequency data; if there is a hardware correction requirement, update the hardware correction parameters based on historical operation statistics; if there is no hardware correction requirement, output a capacitance baseline adjustment parameter based on the capacitance deviation rate real-time input data, the capacitance deviation rate prediction model and the hardware correction parameters; and calibrate the capacitance baseline value based on the capacitance baseline adjustment parameter.

[0048] An electronic device comprises: a processor and a memory, wherein the memory stores a computer program that can be called by the processor;

[0049] The processor executes the above touch screen parameter adaptive correction method by calling the computer program stored in the memory.

[0050] A computer-readable storage medium having a rewritable computer program stored thereon;

[0051] When the computer program is executed on a computer device, the computer device is enabled to execute the above touch screen parameter adaptive correction method.

[0052] Compared with the prior art, the present invention has the following beneficial effects:

[0053] The present invention collects capacitance reference values ​​in advance, and collects capacitance deviation rate training input data and capacitance deviation rate label data in a test environment, takes the capacitance deviation rate training input data as input, and takes the capacitance deviation rate label data as output, to train a capacitance deviation rate prediction model for predicting the capacitance deviation rate generated by a touch screen after being pressed under different environmental conditions, collects historical operation statistical data for the touch screen to be calibrated, and collects capacitance deviation rate real-time input data in real time, presets a hardware calibration parameter as 1, collects user touch frequency data of the touch screen to be calibrated, and determines whether there is a hardware calibration requirement based on the user touch frequency data, and if there is a hardware calibration requirement, determines whether there is a hardware calibration requirement based on the historical operation statistical data. The hardware correction parameters are updated based on historical operation statistics. If there is no hardware correction demand, the capacitance benchmark adjustment parameters are output based on the real-time input data of the capacitance deviation rate, the capacitance deviation rate prediction model and the hardware correction parameters; and the capacitance benchmark value is corrected based on the capacitance benchmark adjustment parameters; the neural network model is designed to analyze the influence of the touch screen environment on the touch screen sensing sensitivity, and then when it is determined that the touch screen is aging and becomes insensitive to user touch, the hardware-level correction parameters are dynamically generated, and the influence of the environment and the hardware level are comprehensively considered to dynamically adjust the capacitance benchmark value to achieve more accurate and reliable effective touch judgment and achieve a better user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 This is a flow chart of the touch screen parameter adaptive correction method in Embodiment 1 of the present invention;

[0055] Figure 2 This is the schematic diagram of a capacitive touch screen;

[0056] Figure 3 This is a module connection diagram of the touch screen parameter adaptive correction system in Example 2 of the present invention;

[0057] Figure 4 This is a schematic diagram of the structure of an electronic device in Embodiment 3 of the present invention;

[0058] Figure 5 This is a schematic diagram of the computer-readable storage medium structure in Example 4 of the present invention. DETAILED DESCRIPTION

[0059] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0060] Example 1

[0061] like Figure 1 As shown, the touch screen parameter adaptive correction method includes the following steps:

[0062] Step 1: Collect the capacitance benchmark value in advance, and collect the capacitance deviation rate training input data and capacitance deviation rate label data in the test environment;

[0063] Step 2: Using the capacitance deviation rate training input data as input and the capacitance deviation rate label data as output, a capacitance deviation rate prediction model is trained to predict the capacitance deviation rate generated by the touch screen after being pressed under different environmental conditions;

[0064] Step 3: For the touch screen to be calibrated, collect historical operation statistics and collect real-time input data of capacitance deviation rate;

[0065] Step 4: Preset the hardware calibration parameter to 1; collect the user touch frequency data of the touch screen to be calibrated, and determine whether there is a hardware calibration requirement based on the user touch frequency data; if there is a hardware calibration requirement, go to step 5; if there is no hardware calibration requirement, go to step 6;

[0066] Step 5: Update hardware calibration parameters based on historical operation statistics;

[0067] Step 6: Based on the capacitance deviation rate real-time input data, the capacitance deviation rate prediction model and the hardware correction parameter, output the capacitance reference adjustment parameter; and based on the capacitance reference adjustment parameter, correct the capacitance reference value;

[0068] like Figure 2 The figure shows the principle of capacitive touch screen. Capacitive touch screens are plated with narrow electrodes on all four sides of the touch screen to form a low-voltage AC electric field in the conductor. When a user touches the screen, due to the electric field of the human body, a coupling capacitor will be formed between the finger and the conductor layer. The current emitted by the electrodes on the four sides will flow to the contact point, and the strength of the current is proportional to the distance from the finger to the electrode. The controller behind the touch screen will calculate the proportion and strength of the current and accurately calculate the location of the touch point. In order to prevent users from touching by mistake, a capacitance reference value is generally set. Only when the actual capacitance generated is greater than the preset capacitance reference value will it be determined as a valid touch.

[0069] However, capacitive touch screens are inevitably affected by the surrounding environment, such as the temperature, humidity, air pressure, light intensity, etc. around the touch buttons. Moreover, capacitive touch screens will age as the usage time increases, making them less sensitive to changes in capacitance. As a result, when users touch the touch screen according to their past habits, the capacitance generated by the touch screen is less than the preset capacitance reference value, which is then misjudged as an invalid touch.

[0070] The method of collecting capacitance deviation rate training input data and capacitance deviation rate label data in the test environment is as follows:

[0071] A reference environment value is set for each environmental parameter in advance, and the environment of all environmental parameters under the corresponding reference environment value is represented as a standard environment; the environmental parameters include but are not limited to temperature, humidity, air pressure, light intensity, etc.; the reference environment value is set according to actual needs, for example, the reference environment value of temperature can be set to 273.15K (0 degrees Celsius);

[0072] In a standard environment, when the capacitance value generated by the touch screen is obtained by an experimental method as a capacitance reference value, the contact area between the touch screen object and the touch screen is expressed as the standard area; specifically, the touch screen object may be a finger or other conductive object; for example, the standard area is 0.5 cm 2 ;

[0073] In a test environment, N unused test touch screens are selected, and each test touch screen is placed in a standard environment and another parameter environment respectively, and a contact object with another contact area is used to touch the test touch screen, and after each touch, a standard capacitance value and another parameter capacitance value generated by the test touch screen are collected respectively; the other parameter environment is an environment having at least one environmental parameter different from the environmental parameters of the standard environment, and the other contact area is an area value different from the standard area; N is the number of selected test touch screens;

[0074] For each touch in other parameter environments, calculate the environmental deviation rate of each environmental parameter, the area deviation rate of the contact area, and the capacitance deviation rate label of the generated capacitance value;

[0075] The area deviation rate group generated by each touch and the environmental deviation rate of each environmental parameter are combined into an environmental deviation feature vector, and all environmental deviation feature vectors are combined into capacitance deviation rate training input data; the capacitance deviation rate label generated by each touch is combined into capacitance deviation rate label data;

[0076] Specifically, the calculation method of the environment deviation rate, the area deviation rate and the capacitance deviation rate is:

[0077] In other parameter environments, for each environmental parameter, the environmental parameter value of each touch environment is divided by the corresponding reference environmental value to obtain the corresponding environmental deviation rate;

[0078] In other parameter environments, the area deviation rate is obtained by dividing the other contact areas by the standard area at each touch;

[0079] In other parameter environments, after each touch, the other parameter capacitance value generated by the test touch screen is divided by the standard capacitance value generated in the corresponding standard environment to obtain a capacitance deviation rate label;

[0080] For example, at a temperature of 290K (the ambient temperature deviation rate is ) and the contact area is 0.7 cm 2 (The area deviation rate of the contact area is ) condition, the capacitance deviation rate of the tested touch screen is 1.1 (the capacitance value of other parameters is 110pF, and the standard capacitance value is 100pF); that is, the capacitance value generated by contact is different from the standard; it can be understood that the capacitance deviation rate measures the capacitance value generated by touching the touch screen by controlling different environmental parameters and comparing it with the standard value, so as to obtain the degree of deviation from the standard capacitance and achieve the quantitative effect of the degree of capacitance deviation;

[0081] Furthermore, the method of training a capacitance deviation rate prediction model to predict the capacitance deviation rate generated by the touch screen after being pressed under different environmental conditions by taking the capacitance deviation rate training input data as input and the capacitance deviation rate label data as output is as follows:

[0082] Each group of environmental deviation feature vectors in the capacitance deviation rate training input data is used as the input of the capacitance deviation rate prediction model, the capacitance deviation rate prediction model uses the predicted value of the capacitance deviation rate for each group of environmental deviation feature vectors as the output, uses the capacitance deviation rate label corresponding to the group of environmental deviation feature vectors as the prediction target, uses the difference between the predicted value of the capacitance deviation rate and the capacitance deviation rate label as the prediction error, and uses minimizing the sum of the prediction errors as the training target; the capacitance deviation rate prediction model is trained until the sum of the prediction errors reaches convergence, and the training is stopped, and a capacitance deviation rate prediction model is trained to predict the capacitance deviation rate generated according to the parameter values ​​of various environmental parameters and the contact area with the touch screen; the capacitance deviation rate prediction model is any one of a deep neural network model or a deep belief network model; the sum of the prediction errors can be a mean square error; further, the method of collecting historical operation statistical data is:

[0083] For each touch screen to be calibrated, the device background of the touch screen to be calibrated collects the usage time, average pressing force, number of pressings and sliding length of the touch screen to be calibrated in real time;

[0084] The usage time is the total time the user uses the touch screen to be calibrated;

[0085] The average pressing force is the average pressing force of the user when using the touch screen to be calibrated; it can be understood that the pressing force can be collected in real time by using a pressure sensor;

[0086] The sliding length is calculated by counting the total length of the user sliding the touch screen object on the touch screen to be calibrated; it can be understood that each time the user slides on the touch screen to be calibrated, the capacitance value at the sliding position will change, so the length of each sliding can be counted;

[0087] Furthermore, the method of real-time acquisition of capacitance deviation rate and real-time input data is as follows:

[0088] When a touch screen object is used to touch the touch screen to be calibrated, real-time environmental values ​​of various environmental parameters of the environment in which the touch screen to be calibrated is located and a real-time contact area between the touch screen object and the touch screen to be calibrated are collected;

[0089] Divide the real-time environmental value of each environmental parameter by the corresponding reference environmental value to obtain the corresponding real-time environmental deviation rate;

[0090] The real-time contact area is divided by the standard area to obtain the real-time area deviation rate;

[0091] The real-time environmental deviation rate and the real-time area deviation rate are combined into the capacitance deviation rate real-time input data;

[0092] Furthermore, the method of collecting the user touch frequency data of the touch screen to be calibrated is:

[0093] When a touch screen object is used to touch the touch screen to be calibrated, the maximum number of consecutive times that the user performs the same touch operation is counted, and the maximum number of consecutive times is used as the user touch frequency data; the same touch operation includes pressing the same position and sliding along the same sliding route; the maximum number of consecutive times is the number of times the user performs the same touch operation continuously and uninterruptedly, for example, the user clicks the same position on the touch screen to be calibrated 4 times in a row. It can be understood that when the user performs the same touch operation several times in a row, it means that the touch screen to be calibrated fails to effectively complete the user's expected operation purpose, and the possible reason is that the touch screen to be calibrated is aging, resulting in too small a change in the screen capacitance value after being touched, so that the capacitance reference value needs to be adjusted to ensure that the screen is more sensitive to touch;

[0094] Furthermore, the method of determining whether there is a need for hardware correction based on the user touch frequency data is:

[0095] A threshold of the number of continuous operations is preset. If the user touch frequency data is greater than the threshold of the number of continuous operations, it is determined that there is a need for hardware correction. If the user touch frequency data is less than or equal to the threshold of the number of continuous operations, it is determined that there is no need for hardware correction.

[0096] Furthermore, the method of updating the hardware calibration parameters based on the historical operation statistics is:

[0097] The duration of use is marked as t, the average pressing force is marked as p, the number of presses is marked as m, and the sliding length is marked as c;

[0098] The hardware correction parameter is marked as Y, and the calculation formula of the hardware correction parameter Y is: Wherein, a1, a2, a3 and a4 are preset proportional coefficients respectively, e is a natural constant used to ensure that the denominator is greater than 1, and ln is a logarithmic function with e as the base;

[0099] Furthermore, the method of outputting the capacitance reference adjustment parameter based on the capacitance deviation rate real-time input data, the capacitance deviation rate prediction model and the hardware correction parameter is as follows:

[0100] Inputting the capacitance deviation rate real-time input data into the capacitance deviation rate prediction model to obtain the capacitance deviation rate prediction value output by the capacitance deviation rate prediction model;

[0101] The predicted value of the output capacitance deviation rate is marked as Z;

[0102] The capacitance reference adjustment parameter is marked as B, and the calculation formula of the capacitance reference adjustment parameter B is: It can be understood that when the capacitance deviation rate is larger, for example, when the capacitance deviation rate is 1.1, it means that the touch screen to be calibrated is more sensitive in the current environment than in the standard environment, so the capacitance reference value can be set smaller;

[0103] Furthermore, the capacitance reference value is corrected based on the capacitance reference adjustment parameter in the following manner:

[0104] The capacitance reference value is updated to be the capacitance reference value multiplied by the capacitance reference adjustment parameter.

[0105] Example 2

[0106] like Figure 3 As shown, the touch screen parameter adaptive correction system includes a pre-data collection module, a model training module, a real-time data collection module and an adaptive correction module; wherein each module is electrically connected;

[0107] The pre-data collection module is mainly used to collect the capacitance reference value in advance, and collect the capacitance deviation rate training input data and the capacitance deviation rate label data in the test environment, and send the capacitance reference value to the adaptive correction module, and send the capacitance deviation rate training input data and the capacitance deviation rate label data to the model training module;

[0108] The model training module is mainly used to take the capacitance deviation rate training input data as input and the capacitance deviation rate label data as output, train a capacitance deviation rate prediction model for predicting the capacitance deviation rate generated by the touch screen after being pressed under different environmental conditions, and send the capacitance deviation rate prediction model to the adaptive correction module;

[0109] The real-time data collection module is mainly used to collect historical operation statistics data for the touch screen to be corrected, and collect the real-time input data of the capacitance deviation rate in real time, and send the historical operation statistics data and the real-time input data of the capacitance deviation rate to the adaptive correction module;

[0110] Among them, the adaptive correction module is mainly used to preset the hardware correction parameter to 1; collect user touch frequency data of the touch screen to be corrected, and judge whether there is a hardware correction requirement based on the user touch frequency data; if there is a hardware correction requirement, update the hardware correction parameters based on historical operation statistics; if there is no hardware correction requirement, output the capacitance baseline adjustment parameters based on the real-time input data of the capacitance deviation rate, the capacitance deviation rate prediction model and the hardware correction parameters; and correct the capacitance baseline value based on the capacitance baseline adjustment parameters.

[0111] Example 3

[0112] Figure 4 1 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Figure 4 As shown, according to another aspect of the present application, an electronic device 100 is also provided. The electronic device 100 may include one or more processors and one or more memories, and the processor may include a CPU 102 and a GPU 109. The memory stores a computer readable code, and when the computer readable code is executed by one or more processors, the touch screen parameter adaptive correction method as described above may be executed.

[0113] The method or system according to the embodiment of the present application can also be used by Figure 4 The electronic device architecture shown in FIG. Figure 4As shown, the electronic device 100 may include a bus 101, one or more CPUs 102, a read-only memory (ROM) 103, a random access memory (RAM) 104, a communication port 105 connected to a network, an input / output component 106, a hard disk 107, a GPU 109, etc. The storage device in the electronic device 100, such as the ROM 103 or the hard disk 107, may store the touch screen parameter adaptive correction method provided in the present application. The touch screen parameter adaptive correction method may, for example, include the following steps: Step 1: pre-collecting a capacitance reference value, and collecting capacitance deviation rate training input data and capacitance deviation rate label data in a test environment; Step 2: using the capacitance deviation rate training input data as input and the capacitance deviation rate label data as output, training a capacitance deviation rate prediction model that predicts the capacitance deviation rate generated by the touch screen after being pressed under different environmental conditions; Step 3: for the touch screen to be corrected, collecting historical operation statistics data, and collecting capacitance deviation rate real-time input data in real time; Step 4: presetting a hardware correction parameter to 1; collecting user touch frequency data of the touch screen to be corrected, and judging whether there is a hardware correction requirement based on the user touch frequency data, if there is a hardware correction requirement, go to step 5, if there is no hardware correction requirement, go to step 6; Step 5: updating the hardware correction parameters based on the historical operation statistics data; Step 6: outputting capacitance reference adjustment parameters based on the capacitance deviation rate real-time input data, the capacitance deviation rate prediction model and the hardware correction parameters; and correcting the capacitance reference value based on the capacitance reference adjustment parameters.

[0114] Furthermore, the electronic device 100 may further include a user interface 108. Figure 4 The architecture shown is only exemplary and can be omitted according to actual needs when implementing different devices. Figure 4 One or more components of an electronic device are shown.

[0115] Example 4

[0116] Figure 5 Schematic diagram of a computer-readable storage medium structure provided by an embodiment of the present application. Figure 5 As shown, a computer-readable storage medium 200 according to an embodiment of the present application is shown. Computer-readable instructions are stored on the computer-readable storage medium 200. When the computer-readable instructions are executed by the processor, the touch screen parameter adaptive correction method according to the embodiment of the present application described with reference to the above figures can be executed. The computer-readable storage medium 200 includes, but is not limited to, for example, volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and cache memory (cache), etc. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc.

[0117] In addition, according to the implementation of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the present application provides a non-transitory machine-readable storage medium, the non-transitory machine-readable storage medium stores machine-readable instructions, the machine-readable instructions can be run by a processor to execute instructions corresponding to the method steps provided by the present application, and when the computer program is executed by a central processing unit (CPU), the above functions defined in the method of the present application are executed.

[0118] The methods, apparatuses, and devices of the present application may be implemented in many ways. For example, the methods, apparatuses, and devices of the present application may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above order of steps for the method is for illustration only, and the steps of the method of the present application are not limited to the order specifically described above unless otherwise specified. In addition, in some embodiments, the present application may also be implemented as programs recorded in a recording medium, which include machine-readable instructions for implementing the method according to the present application. Therefore, the present application also covers recording media storing programs for executing the method according to the present application.

[0119] The above preset parameters or preset thresholds are all set by technicians in this field according to actual conditions or obtained through large-scale data simulation.

[0120] The above embodiments are only used to illustrate the technical method of the present invention. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical method of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical method of the present invention.

Claims

1. A touch screen parameter adaptive correction method, characterized in that: The following steps are involved: Step 1: Collect the capacitance benchmark value in advance, and collect the capacitance deviation rate training input data and capacitance deviation rate label data in the test environment; Step 2: Using the capacitance deviation rate training input data as input and the capacitance deviation rate label data as output, a capacitance deviation rate prediction model is trained to predict the capacitance deviation rate generated by the touch screen after being pressed under different environmental conditions; Step 3: For the touch screen to be calibrated, collect historical operation statistics and collect real-time input data of capacitance deviation rate; Step 4: Preset the hardware calibration parameter to 1; Collect user touch frequency data of the touch screen to be calibrated, and determine whether there is a hardware calibration requirement based on the user touch frequency data. If there is a hardware calibration requirement, go to step five; if there is no hardware calibration requirement, go to step six; Step 5: Update hardware calibration parameters based on historical operation statistics; Step 6: outputting a capacitance reference adjustment parameter based on the capacitance deviation rate real-time input data, the capacitance deviation rate prediction model and the hardware correction parameter; and correcting the capacitance reference value based on the capacitance reference adjustment parameter; The method of updating the hardware calibration parameters is: The duration of use is marked as t, the average pressing force is marked as p, the number of presses is marked as m, and the sliding length is marked as c; The hardware correction parameter is marked as Y, and the calculation formula of the hardware correction parameter Y is: ; Wherein, a1, a2, a3 and a4 are preset proportional coefficients respectively, e is a natural constant used to ensure that the denominator is greater than 1, and ln is a logarithmic function with e as the base; The output capacitor reference adjustment parameter is as follows: Inputting the capacitance deviation rate real-time input data into the capacitance deviation rate prediction model to obtain the capacitance deviation rate prediction value output by the capacitance deviation rate prediction model; The predicted value of the output capacitance deviation rate is marked as Z; The capacitance reference adjustment parameter is marked as B, and the calculation formula of the capacitance reference adjustment parameter B is: .

2. The touch screen parameter adaptive correction method according to claim 1, characterized in that: The method of collecting capacitance deviation rate training input data and capacitance deviation rate label data in the test environment is as follows: A reference environment value is set in advance for each environmental parameter, and the environment of all environmental parameters under their corresponding reference environment values ​​is represented as a standard environment; In a standard environment, when the capacitance value generated by the touch screen is obtained by an experimental method to make the capacitance reference value, the contact area between the touch screen object and the touch screen is expressed as the standard area; In a test environment, N unused test touch screens are selected, and each test touch screen is placed in a standard environment and another parameter environment, and a contact object with another contact area is used to touch the test touch screen, and after each touch, a standard capacitance value and another parameter capacitance value generated by the test touch screen are collected respectively; The other parameter environment is an environment in which the value of at least one environmental parameter is different from that of the standard environment, and the other contact area is an area value different from the standard area; N is the number of test touch screens selected; For each touch in other parameter environments, calculate the environment deviation rate of each environment parameter, the area deviation rate of the contact area, and the capacitance deviation rate label of the generated capacitance value; The area deviation rate group generated by each touch and the environmental deviation rate of each environmental parameter are combined into an environmental deviation feature vector, and all environmental deviation feature vectors are combined into capacitance deviation rate training input data; The capacitance deviation rate label generated for each touch is composed into capacitance deviation rate label data.

3. The touch screen parameter adaptive correction method according to claim 2, characterized in that: The calculation method of the environmental deviation rate, the area deviation rate and the capacitance deviation rate is: In other parameter environments, for each environmental parameter, the environmental parameter value of each touch environment is divided by the corresponding reference environmental value to obtain the corresponding environmental deviation rate; In other parameter environments, the area deviation rate is obtained by dividing the other contact areas by the standard area at each touch; In other parameter environments, after each touch, the other parameter capacitance value generated by the test touch screen is divided by the standard capacitance value generated in the corresponding standard environment to obtain a capacitance deviation rate label.

4. The touch screen parameter adaptive correction method according to claim 3, characterized in that: The method of training a prediction model for the capacitance deviation rate generated by the touch screen after being pressed under different environmental conditions is as follows: Each group of environmental deviation feature vectors in the capacitance deviation rate training input data is used as the input of the capacitance deviation rate prediction model, the capacitance deviation rate prediction model uses the predicted value of the capacitance deviation rate for each group of environmental deviation feature vectors as the output, uses the capacitance deviation rate label corresponding to the group of environmental deviation feature vectors as the prediction target, uses the difference between the predicted value of the capacitance deviation rate and the capacitance deviation rate label as the prediction error, and uses minimizing the sum of the prediction errors as the training target; the capacitance deviation rate prediction model is trained until the sum of the prediction errors reaches convergence and the training is stopped.

5. The touch screen parameter adaptive correction method according to claim 4, characterized in that: The method of real-time acquisition of capacitance deviation rate and real-time input data is as follows: When a touch screen object is used to touch the touch screen to be calibrated, real-time environmental values ​​of various environmental parameters of the environment in which the touch screen to be calibrated is located and a real-time contact area between the touch screen object and the touch screen to be calibrated are collected; Divide the real-time environmental value of each environmental parameter by the corresponding reference environmental value to obtain the corresponding real-time environmental deviation rate; The real-time contact area is divided by the standard area to obtain the real-time area deviation rate; The real-time environmental deviation rates and real-time area deviation rates are combined into capacitance deviation rate real-time input data.

6. The touch screen parameter adaptive correction method according to claim 5, characterized in that: The method of collecting the user touch frequency data of the touch screen to be calibrated is: When a touch-screen object is used to touch the touch screen to be calibrated, the maximum number of consecutive times that the user performs the same touch operation is counted, and the maximum number of consecutive times is used as the user touch frequency data; the same touch operation includes pressing the same position and sliding along the same sliding route; The maximum consecutive times is the number of times the user performs the same touch operation continuously and uninterruptedly.

7. A touch screen parameter adaptive correction system, which is used to implement the touch screen parameter adaptive correction method according to any one of claims 1 to 6, characterized in that: It includes a pre-data collection module, a model training module, a real-time data collection module and an adaptive correction module; wherein each module is electrically connected; A pre-data collection module is used to pre-collect the capacitance reference value, collect capacitance deviation rate training input data and capacitance deviation rate label data in a test environment, send the capacitance reference value to the adaptive correction module, and send the capacitance deviation rate training input data and capacitance deviation rate label data to the model training module; A model training module is used to take the capacitance deviation rate training input data as input and the capacitance deviation rate label data as output, train a capacitance deviation rate prediction model for predicting the capacitance deviation rate generated by the touch screen after being pressed under different environmental conditions, and send the capacitance deviation rate prediction model to the adaptive correction module; A real-time data collection module is used to collect historical operation statistics data for the touch screen to be corrected, and collect real-time input data of the capacitance deviation rate in real time, and send the historical operation statistics data and the real-time input data of the capacitance deviation rate to the adaptive correction module; An adaptive correction module is used to preset a hardware correction parameter to 1; collect user touch frequency data of the touch screen to be calibrated, and determine whether there is a hardware correction requirement based on the user touch frequency data; if there is a hardware correction requirement, update the hardware correction parameters based on historical operation statistics; if there is no hardware correction requirement, output a capacitance baseline adjustment parameter based on the capacitance deviation rate real-time input data, the capacitance deviation rate prediction model and the hardware correction parameters; and calibrate the capacitance baseline value based on the capacitance baseline adjustment parameter.

8. An electronic device, characterized in that: include: processor and memory, wherein The memory stores a computer program that can be called by the processor; The processor executes the touch screen parameter adaptive correction method according to any one of claims 1 to 6 in the background by calling the computer program stored in the memory.

9. A computer-readable storage medium, characterized in that: A rewritable computer program is stored thereon; When the computer program is executed on a computer device, the computer device is enabled to execute the touch screen parameter adaptive correction method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • A capacitive touch screen and its adaptive correction method and system

    CN103488364B

  • Capacitive touch screen calibration method and capacitive touch device

    CN103677452A

  • Correction method and device of capacitive touch screen

    CN105807998A

  • Method and apparatus for updating current reference value of touch screen, touch screen and electronic terminal

    CN109564481A

  • Method for detecting and correcting input accuracy of capacitive touch screen

    CN115079867A