CN118394256A - Effective touch judgment method, system, software and equipment - Google Patents
Effective touch judgment method, system, software and equipment Download PDFInfo
- Publication number
- CN118394256A CN118394256A CN202410544051.4A CN202410544051A CN118394256A CN 118394256 A CN118394256 A CN 118394256A CN 202410544051 A CN202410544051 A CN 202410544051A CN 118394256 A CN118394256 A CN 118394256A
- Authority
- CN
- China
- Prior art keywords
- touch
- sub
- capacitance
- effective
- module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 230000008859 change Effects 0.000 claims abstract description 43
- 238000001514 detection method Methods 0.000 claims description 31
- 238000004590 computer program Methods 0.000 claims description 7
- 239000003990 capacitor Substances 0.000 claims description 6
- 230000001360 synchronised effect Effects 0.000 claims description 4
- 230000007613 environmental effect Effects 0.000 abstract description 7
- 230000000694 effects Effects 0.000 abstract description 5
- 230000006399 behavior Effects 0.000 description 7
- 230000008569 process Effects 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 238000007670 refining Methods 0.000 description 4
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 4
- 238000013461 design Methods 0.000 description 3
- 239000004020 conductor Substances 0.000 description 2
- 238000002347 injection Methods 0.000 description 2
- 239000007924 injection Substances 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000001747 exhibiting effect Effects 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 239000000243 solution Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000010408 sweeping Methods 0.000 description 1
Landscapes
- Electronic Switches (AREA)
Abstract
The application provides an effective touch judgment method, an effective touch judgment system, effective touch judgment software and effective touch judgment equipment, wherein a touch area of target equipment is equally divided into a plurality of sub-touch modules; detecting a change in capacitance of each of the sub-touch modules when the touch device is contacted; judging that the capacitance increment of the sub-touch module is unchanged in a specified time, and judging that the effective touch is performed when the capacitance increment of the sub-touch module in a central range is larger than the capacitance increment of surrounding sub-touch modules; otherwise, judging that the touch is invalid. The application realizes the accurate judgment of the effective touch generated by the finger touch, avoids the false touch caused by other environmental factors, especially rain in rainy days, is easier to realize compared with the prior art, and has better application effect in actual scenes.
Description
Technical Field
The application belongs to the technical field of touch judgment, and particularly relates to an effective touch judgment method, an effective touch judgment system, effective touch judgment software and effective touch judgment equipment.
Background
Currently, a capacitive touch unit in practical application judges whether the touch is effective or not according to whether the capacitance signal value exceeds a preset threshold value through the capacitance signal value acquired in real time, and judges that the touch is effective or not when the capacitance signal value exceeds the preset threshold value. The preset threshold value is generally an average capacitance signal value when a finger touches the finger through a large number of experiments. However, this method of judging an effective touch has a design disadvantage. When the application scene is rainy days, rainwater can also have a certain influence on the capacitance of the capacitive touch unit when flowing through the capacitive touch unit. When the rainfall is large, the capacitance signal value generated by the rainwater may exceed the capacitance preset threshold value set according to the capacitance signal value generated by the finger touch, so that the effective touch is judged, and the false triggering operation is caused. If such a capacitive touch unit is applied to a door handle, a false triggering operation caused by a large amount of rainwater may bring about a certain safety hazard.
In order to avoid false triggering caused by rainwater, in order to eliminate interference of the rainwater on touch judgment in the prior art, a large amount of environment judgment is usually added into an algorithm, but the method is complex, and the application effect in a practical scene is not ideal.
Disclosure of Invention
Aiming at the technical problems, the application provides an effective touch judgment method, an effective touch judgment system, effective touch judgment software and effective touch judgment equipment.
Specifically, the application provides an effective touch judgment method, which comprises the following steps:
s1: equally dividing a touch area of the target device into a plurality of sub-touch modules;
S2: detecting a change in capacitance of each of the sub-touch modules when the touch device is contacted;
S3: judging that the capacitance increment of the sub-touch module is unchanged in a specified time, and switching to S4;
S4: when the capacitance increment of the sub-touch module in a central range is larger than that of surrounding sub-touch modules, judging that the touch is effective; otherwise, turning to S5;
s5: and judging that the touch is invalid.
When the touch equipment is contacted, each sub-touch module is subjected to real-time capacitance detection, and the change condition of the capacitance value is recorded.
If the capacitance increment of a certain sub-touch module is kept unchanged in a specified time window, namely a stable state is reached, entering the next step; otherwise, judging that the touch is invalid;
For sub-touch modules within the center range, if the capacitance increment is larger than that of other surrounding sub-touch modules, the touch is considered to be an effective touch, because the probability that the user touch point is positioned at the center of the screen is larger in general, and the touch force can cause the capacitance change of the center area to be more obvious. Otherwise, if the condition is not met, the method goes to invalid touch judgment;
in addition, in step S2, it is ensured that after the capacitance increment of the sub-touch module in all the touched areas increases synchronously and reaches stability, the current capacitance change value is collected as the final detection result;
Further refining the judgment standard of invalid touch, if the capacitance increment of the sub-touch module continuously changes or the capacitance increment of the sub-touch module in the touch area is not synchronously and sequentially changed, the invalid touch is also judged, because the invalid touch may be caused by environmental interference or other non-user intended touch behaviors.
Further, the touch area of the target device comprises an inner ring capacitance of the touch device; wherein the inner ring capacitor is a self-capacitor;
the plurality of sub-touch modules simultaneously perform individual capacitance detection when touched.
Further, the step S2 includes:
After the capacitance increment of a plurality of sub-touch modules in the touched area is synchronously increased to a stable value, acquiring a current capacitance change value as a detection result; the detection result is a fixed number of different capacitance increments existing in the touched area.
Further, the step S3 further includes:
And when the capacitance increment of the sub-touch module is continuously changed within a specified time, turning to S5.
Further, the capacitance increment of the sub-touch module continuously changes, and the method further includes:
the capacitance increment of the sub-touch module with a plurality of sub-areas in the touched area is sequentially changed, and the changing time is not synchronous.
Based on the same inventive concept, the application also provides a system according to the effective touch judgment method, wherein the system comprises:
the dividing unit is used for equally dividing the touch area of the target device into a plurality of sub-touch modules;
A detection unit for detecting a capacitance change of each of the sub-touch modules when the touch device is contacted;
And the judging unit is used for judging whether the touch is effective.
Further, the judging unit includes:
The first judging module is used for judging whether the capacitance increment of the sub-touch module is changed or not within a specified time;
and the second judging module is used for judging whether the capacitance increment of the sub-touch module with a central range is larger than that of surrounding sub-touch modules.
Further, the system further comprises:
The control unit comprises a designated number of pins which are connected with the sub-touch modules one by one so as to independently detect the capacitance change of each sub-touch module.
The system is an intelligent touch judgment system based on a capacitance detection technology, and specifically comprises the following components:
The dividing unit is responsible for equally dividing a touch area of a target device (such as a mobile phone, a tablet computer or other touch interfaces) into a plurality of sub-touch modules according to a specific rule. These sub-touch modules are the basic units for achieving accurate touch recognition.
And the detection unit is used for monitoring and recording the capacitance change condition of each sub-touch module in real time when the touch equipment is contacted. By high-precision capacitive sensing technology, it is ensured that small capacitance value changes can be captured.
The judging unit comprises a first judging module and a second judging module.
And the first judging module is used for analyzing whether the capacitance increment of each sub-touch module is kept unchanged in a specified time window, namely whether the capacitance increment reaches a stable state or not. If the capacitance delta continues to change, an invalid touch event is possible.
And the second judging module is used for comparing the capacitance increment sizes of the sub-touch modules in the central range and the surrounding sub-touch modules. When the capacitance increase in the central area is significantly greater than the peripheral sub-touch modules, the system may initially determine that this is likely to be a valid touch event in conjunction with the results of the first determination module.
The control unit comprises a group of pins which are connected with the sub-touch modules in a one-to-one correspondence manner. These pins are directly connected to a microcontroller or processing chip, and can independently and synchronously read and process the capacitance signals of each sub-touch module to ensure quick response and accurate judgment of the system.
According to the system, the touch area is finely divided, and effective touch and interference events can be effectively identified through an efficient detection and judgment mechanism, so that user experience and touch operation accuracy are improved.
When the touch equipment is contacted, the detection unit detects the capacitance of the sub-touch modules formed by dividing each dividing unit in real time, and records the change condition of the capacitance value of the sub-touch modules.
The first judging module judges whether the capacitance increment of the sub-touch module is changed or not within a specified time; if the capacitance increment of a certain sub-touch module is kept unchanged in a specified time window, namely a stable state is reached, entering the next step; otherwise, judging that the touch is invalid;
The second judging module judges whether the capacitance increment of the sub-touch module with a central range is larger than that of surrounding sub-touch modules; for sub-touch modules within the center range, if the capacitance increment is larger than that of other surrounding sub-touch modules, the touch is considered to be an effective touch, because the probability that the user touch point is positioned at the center of the screen is larger in general, and the touch force can cause the capacitance change of the center area to be more obvious. Otherwise, if the condition is not met, the method goes to invalid touch judgment;
In addition, after the capacitance increment of the sub-touch modules in all the touched areas is synchronously increased and stabilized, the current capacitance change value is collected as a final detection result;
Further refining the judgment standard of invalid touch, if the capacitance increment of the sub-touch module continuously changes or the capacitance increment of the sub-touch module in the touch area is not synchronously and sequentially changed, the invalid touch is also judged, because the invalid touch may be caused by environmental interference or other non-user intended touch behaviors.
Based on the same inventive concept, the application also provides effective touch judgment software, which adopts an effective touch judgment method to complete effective touch judgment.
Based on the same inventive concept, the application also proposes a computer device comprising a processor and a memory for storing a computer program which, when executed by the processor, implements the effective touch determination method as described.
In summary, the touch area of the target device is equally divided into a plurality of sub-touch modules; detecting a change in capacitance of each of the sub-touch modules when the touch device is contacted; judging that the capacitance increment of the sub-touch module is unchanged in a specified time, and judging that the effective touch is performed when the capacitance increment of the sub-touch module in a central range is larger than the capacitance increment of surrounding sub-touch modules; otherwise, judging that the touch is invalid. The application realizes the accurate judgment of the effective touch generated by the finger touch, avoids the false touch caused by rain in rainy days, is easier to realize compared with the prior art, and has better application effect in actual scenes.
Compared with the prior art, the application has at least the following beneficial effects:
According to the application, the target touch area is equally divided into a plurality of sub-touch modules, and whether the effective touch is generated by finger touch is judged through design judgment logic, so that the effective touch generated by finger touch can be accurately judged, and meanwhile, other environmental factors, particularly false touch caused by rain in rainy days, are avoided; compared with the method for adding complex logic for eliminating rainwater interference in the algorithm adopted in the prior art, the method is easier to realize, lower in cost and better in application effect in actual scenes.
Drawings
Fig. 1 is a flowchart of an effective touch determination method according to an embodiment of the present application.
FIG. 2 is a schematic diagram of a finger touch area in accordance with a preferred embodiment of the present application.
Fig. 3 is a schematic view showing rainwater flowing through a touch area according to a preferred embodiment of the present application.
FIG. 4 is a schematic diagram of a computer device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Embodiment one:
referring to fig. 1, a flowchart of an effective touch determination method according to an embodiment of the present application is shown.
Specifically, the application provides an effective touch judgment method, which comprises the following steps:
s1: equally dividing a touch area of the target device into a plurality of sub-touch modules;
S2: detecting a change in capacitance of each of the sub-touch modules when the touch device is contacted;
S3: judging that the capacitance increment of the sub-touch module is unchanged in a specified time, and switching to S4;
S4: when the capacitance increment of the sub-touch module in a central range is larger than that of surrounding sub-touch modules, judging that the touch is effective; otherwise, turning to S5;
s5: and judging that the touch is invalid.
When the touch equipment is contacted, each sub-touch module is subjected to real-time capacitance detection, and the change condition of the capacitance value is recorded.
If the capacitance increment of a certain sub-touch module is kept unchanged in a specified time window, namely a stable state is reached, entering the next step; otherwise, judging that the touch is invalid;
For sub-touch modules within the center range, if the capacitance increment is larger than that of other surrounding sub-touch modules, the touch is considered to be an effective touch, because the probability that the user touch point is positioned at the center of the screen is larger in general, and the touch force can cause the capacitance change of the center area to be more obvious. Otherwise, if the condition is not met, the method goes to invalid touch judgment;
in addition, in step S2, it is ensured that after the capacitance increment of the sub-touch module in all the touched areas increases synchronously and reaches stability, the current capacitance change value is collected as the final detection result;
Further refining the judgment standard of invalid touch, if the capacitance increment of the sub-touch module continuously changes or the capacitance increment of the sub-touch module in the touch area is not synchronously and sequentially changed, the invalid touch is also judged, because the invalid touch may be caused by environmental interference or other non-user intended touch behaviors.
Referring to FIG. 2, a schematic diagram of a finger touch area is shown in accordance with a preferred embodiment of the present application.
Further, in a preferred embodiment, as shown in fig. 2, the touch area of the target device is divided into 9 sub-touch modules.
In the preferred embodiment, a door handle touch unit based on a capacitive touch technology is provided, and the touch area of the door handle touch unit is a square panel. In order to realize more accurate touch detection and effective touch judgment, a high-precision capacitive touch chip is integrated in the panel, and the whole touch area is equally divided into 9 square sub-touch modules (pads), which are similar to a nine-grid layout. In addition, each of the sub-touch modules is independently connected with one pin in the control unit, and in this embodiment, the control unit is an MCU.
When a user's finger or other conductor touches the touch panel, each sub-touch module may change in capacitance due to its additional capacitance with the human body. The method comprises the following specific steps:
The inner ring of the touch panel is used as a self-capacitance sensing area and divided into 9 independent sub-touch modules, namely No. 1-No. 9 modules, in a nine-grid mode.
Once a touch occurs, the capacitive touch chip monitors the capacitance change of all 9 sub-touch modules simultaneously.
The system continuously monitors the capacitance increment of each sub-touch module, and in a set time window (for example, 50 ms), if the capacitance increment of a certain sub-touch module is found to be stable, the point is considered to be an effective touch point; if the capacitance increase continuously fluctuates during this time, the process goes to S5 to perform the invalid touch process.
If the capacitance increment of the 1 st sub-touch module in the center is obviously larger than that of other surrounding sub-touch modules and the stability condition is met, judging that the touch is effective, if the finger directly touches the center area. Otherwise, if no obvious central concentration phenomenon occurs, other conditions are continuously judged.
For those cases where the capacitance increase of the sub-touch module or sub-touch modules is unstable and changes in capacitance increase sequentially and asynchronously (such as water flowing or large area sliding touches), the system marks these changes as invalid touch events due to non-conforming to the valid touch characteristics.
By the design, the device can accurately distinguish effective touch behaviors (such as single-finger clicking, tapping and the like) and ineffective touch disturbances (such as water drops, sundry contact, false touch and the like) of the user.
Referring to FIG. 3, a schematic view of rain water flowing through a touch area is shown in accordance with a preferred embodiment of the present application.
In the touch area including the plurality of sub-touch modules provided in the embodiment of the present application, the condition that rainwater flows through the touch area is judged includes the following points:
the continuity varies. In the flowing process, rainwater can sequentially pass through the plurality of sub-touch modules, so that the capacitance increment of each sub-touch module can show a continuous and asynchronous change characteristic. Namely, detecting that the capacitance increment of the sub-touch module of the touched area with a plurality of sub-areas is changed in sequence, and the time points of the changes are not consistent;
And the distribution is uniform. Compared with larger capacitance increment concentrated at a certain point or adjacent points when the finger is contacted, when rainwater covers the whole touch area, the capacitance increment of each sub-touch module is relatively uniform, and no obvious central concentration phenomenon exists;
There is no stationary peak. The capacitance increase of the sub-touch module through which rainwater flows does not generally reach a stable peak value within a specified time, but continuously fluctuates with the change of the position through which rainwater flows.
Further, the touch area of the target device comprises an inner ring capacitance of the touch device; wherein the inner ring capacitor is a self-capacitor; each sub-touch module is independently connected with one pin in the control unit, which is an MCU in this embodiment.
The plurality of sub-touch modules simultaneously perform individual capacitance detection when touched.
The touch area is divided equally into a plurality of sub-touch modules (e.g., 9) each having an independent self-capacitance sensing function. When a user's finger or other conductor approaches or contacts the touch area, the capacitance value between the sub-touch module and the ground layer is changed. Each sub-touch module is connected to one input pin of a Micro Controller Unit (MCU), which can synchronously perform capacitance detection on all sub-touch modules.
In the detection process, the MCU continuously monitors the capacitance value of each sub-touch module and converts the capacitance value into a digital signal for processing. When the capacitance value of a certain sub-touch module is changed obviously due to touch and reaches a stable state, the system records the change and compares and analyzes the change with the change of other sub-touch modules.
When judging the effective touch, the system pays attention to whether the capacitance increment of the central area sub-touch module is larger than that of the surrounding sub-touch modules, and simultaneously considers the time characteristic and the change range of the capacitance increment change. If the specific effective touch condition is met, judging that the user performs effective touch operation; if these conditions are not met, such as unstable capacitance increases, a changing profile exhibiting water flow characteristics, etc., it may be determined that rain or other non-valid touch events are occurring.
Further, the step S2 includes:
After the capacitance increment of a plurality of sub-touch modules in the touched area is synchronously increased to a stable value, acquiring a current capacitance change value as a detection result; the detection result is a fixed number of different capacitance increments existing in the touched area.
Further, the step S3 further includes:
And when the capacitance increment of the sub-touch module is continuously changed within a specified time, turning to S5.
Further, the capacitance increment of the sub-touch module continuously changes, and the method further includes:
the capacitance increment of the sub-touch module with a plurality of sub-areas in the touched area is sequentially changed, and the changing time is not synchronous.
In the touch judgment system, the specific implementation process of the step S2 is as follows:
When a user touches a touch area of the target device, the detection unit can monitor the capacitance change condition of all the sub-touch modules in real time. When the capacitance increase of the plurality of sub-touch modules synchronously rises to a steady state (i.e., reaches a relatively constant value), the system considers that steady contact information has been obtained.
Under the stable state, the capacitance change value of each current sub-touch module is acquired, and the different capacitance increment is recorded as a detection result. This means that the system is able to obtain accurate capacitance change profiles at different locations within the touched area.
In step S3, if the capacitance increment of a sub-touch module is detected to be not stable but continuously changed within a specified period of time (e.g., several milliseconds to several tens of milliseconds) in order to exclude the non-valid touch or interference signal, this may mean that the contact is not generated by a valid touch of a finger or the like, or there is a continuous movement, sliding or the like, and may be influenced by environmental factors such as humidity, electromagnetic interference.
In particular, if the sub-touch module capacitance increases for multiple sub-areas within the touched area are found to vary in sequence and the time of these variations is not synchronized, such a feature is often not consistent with the characteristics of effective touch behavior (e.g., single point hits), but rather is more prone to represent a continuous, non-punctiform touch event, such as rain flowing through, large area sweeping across the touch screen, etc.
Therefore, in these cases, the system proceeds to step S5 to perform the judgment processing of the invalid touch.
Embodiment two:
Based on the same inventive concept, the application also provides a system according to the effective touch judgment method, wherein the system comprises:
the dividing unit is used for equally dividing the touch area of the target device into a plurality of sub-touch modules;
A detection unit for detecting a capacitance change of each of the sub-touch modules when the touch device is contacted;
And the judging unit is used for judging whether the touch is effective.
Further, the judging unit includes:
The first judging module is used for judging whether the capacitance increment of the sub-touch module is changed or not within a specified time;
and the second judging module is used for judging whether the capacitance increment of the sub-touch module with a central range is larger than that of surrounding sub-touch modules.
Further, the system further comprises:
The control unit comprises a designated number of pins which are connected with the sub-touch modules one by one so as to independently detect the capacitance change of each sub-touch module.
In a specific embodiment, the system is an intelligent touch judgment system based on a capacitance detection technology, and specifically comprises the following components:
The dividing unit is responsible for equally dividing a touch area of a target device (such as a mobile phone, a tablet computer or other touch interfaces) into a plurality of sub-touch modules according to a specific rule. These sub-touch modules are the basic units for achieving accurate touch recognition.
And the detection unit is used for monitoring and recording the capacitance change condition of each sub-touch module in real time when the touch equipment is contacted. By high-precision capacitive sensing technology, it is ensured that small capacitance value changes can be captured.
The judging unit comprises a first judging module and a second judging module.
And the first judging module is used for analyzing whether the capacitance increment of each sub-touch module is kept unchanged in a specified time window, namely whether the capacitance increment reaches a stable state or not. If the capacitance delta continues to change, an invalid touch event is possible.
And the second judging module is used for comparing the capacitance increment sizes of the sub-touch modules in the central range and the surrounding sub-touch modules. When the capacitance increase in the central area is significantly greater than the peripheral sub-touch modules, the system may initially determine that this is likely to be a valid touch event in conjunction with the results of the first determination module.
The control unit comprises a group of pins which are connected with the sub-touch modules in a one-to-one correspondence manner. These pins are directly connected to a microcontroller or processing chip, and can independently and synchronously read and process the capacitance signals of each sub-touch module to ensure quick response and accurate judgment of the system.
According to the system, the touch area is finely divided, and effective touch and interference events can be effectively identified through an efficient detection and judgment mechanism, so that user experience and touch operation accuracy are improved.
When the touch equipment is contacted, the detection unit detects the capacitance of the sub-touch modules formed by dividing each dividing unit in real time, and records the change condition of the capacitance value of the sub-touch modules.
The first judging module judges whether the capacitance increment of the sub-touch module is changed or not within a specified time; if the capacitance increment of a certain sub-touch module is kept unchanged in a specified time window, namely a stable state is reached, entering the next step; otherwise, judging that the touch is invalid;
The second judging module judges whether the capacitance increment of the sub-touch module with a central range is larger than that of surrounding sub-touch modules; for sub-touch modules within the center range, if the capacitance increment is larger than that of other surrounding sub-touch modules, the touch is considered to be an effective touch, because the probability that the user touch point is positioned at the center of the screen is larger in general, and the touch force can cause the capacitance change of the center area to be more obvious. Otherwise, if the condition is not met, the method goes to invalid touch judgment;
In addition, after the capacitance increment of the sub-touch modules in all the touched areas is synchronously increased and stabilized, the current capacitance change value is collected as a final detection result;
Further refining the judgment standard of invalid touch, if the capacitance increment of the sub-touch module continuously changes or the capacitance increment of the sub-touch module in the touch area is not synchronously and sequentially changed, the invalid touch is also judged, because the invalid touch may be caused by environmental interference or other non-user intended touch behaviors.
Embodiment III:
based on the same inventive concept, the application also provides effective touch judgment software, which adopts an effective touch judgment method to complete effective touch judgment.
The effective touch judgment software is intelligent algorithm software designed based on the hardware system, and has the core function of realizing the effective judgment of the touch behavior of the target equipment.
Embodiment four:
Based on the same inventive concept, the application also proposes a computer device comprising a processor and a memory for storing a computer program which, when executed by the processor, implements the effective touch determination method as described.
Referring to FIG. 4, a schematic diagram of a computer device is shown according to an embodiment of the present application.
In particular, the application also proposes a computer device comprising a processor and a memory for storing a computer program which, when executed by the processor, implements a key injection method as described.
As shown in fig. 4, the computer device 4 of this embodiment includes: at least one processor 40 (only one is shown in fig. 4), a memory 41 and a computer program 42 stored in the memory 41 and executable on the at least one processor 40, the processor 40 implementing the steps in any of the method embodiments described above when executing the computer program 42.
The computer device 4 may be a mobile device, including but not limited to a mobile device for a user such as a mobile phone, a notebook computer, a tablet computer, a smart watch, etc.; and can also be a vehicle-end mobile device, including but not limited to a vehicle-mounted information entertainment system, a central control large screen and the like. It will be appreciated that the specific structure and function of the vehicle-end mobile device varies from vehicle model to vehicle manufacturer. The electronic device may include, but is not limited to, a processor 40, a memory 41. It will be appreciated by those skilled in the art that fig. 3 is merely an example of the computer device 4 and is not meant to be limiting as the computer device 4 may include more or fewer components than shown, or may combine certain components, or different components, such as may also include input-output devices, network access devices, etc.
The Processor 40 may be a central processing unit (Central Processing Unit, CPU), the Processor 40 may also be other general purpose processors, digital signal processors (DIGITAL SIGNAL processors, DSP), application SPECIFIC INTEGRATED Circuit (ASIC), off-the-shelf Programmable gate array (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 41 may in some embodiments be an internal storage unit of the computer device 4, such as a hard disk or a memory of the computer device 4. The memory 41 may in other embodiments also be an external storage device of the computer device 4, such as a plug-in hard disk, a smart memory card (SMART MEDIA CARD, SMC), a Secure Digital (SD) card, a flash memory card (FLASH CARD) or the like, which are provided on the computer device 4. Further, the memory 41 may also include both an internal storage unit and an external storage device of the computer device 4. The memory 41 is used for storing an operating system, application programs, boot loader (BootLoader), data, other programs, etc., such as program codes of the computer program. The memory 41 may also be used for temporarily storing data that has been output or is to be output.
Embodiment four:
The application further provides an automobile, which comprises a receiving module and a storage module, wherein the receiving module and the storage module are used for realizing the key injection method.
In summary, the touch area of the target device is equally divided into a plurality of sub-touch modules; detecting a change in capacitance of each of the sub-touch modules when the touch device is contacted; judging that the capacitance increment of the sub-touch module is unchanged in a specified time, and judging that the effective touch is performed when the capacitance increment of the sub-touch module in a central range is larger than the capacitance increment of surrounding sub-touch modules; otherwise, judging that the touch is invalid. The application realizes the accurate judgment of the effective touch generated by the finger touch, avoids the false touch caused by rain in rainy days, is easier to realize compared with the prior art, and has better application effect in actual scenes.
In several embodiments provided by the present application, it will be understood that each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in the form of a software product stored in a storage medium, comprising several instructions for causing an electronic device to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing embodiments have been provided for the purpose of illustrating the general principles of the present application, and are not to be construed as limiting the scope of the application. It should be noted that any modifications, equivalent substitutions, improvements, etc. made by those skilled in the art without departing from the spirit and principles of the present application are intended to be included in the scope of the present application.
Claims (10)
1. The effective touch judging method is characterized by comprising the following steps of:
s1: equally dividing a touch area of the target device into a plurality of sub-touch modules;
S2: detecting a change in capacitance of each of the sub-touch modules when the touch device is contacted;
S3: judging that the capacitance increment of the sub-touch module is unchanged in a specified time, and switching to S4;
S4: when the capacitance increment of the sub-touch module in a central range is larger than that of surrounding sub-touch modules, judging that the touch is effective; otherwise, turning to S5;
s5: and judging that the touch is invalid.
2. The method of claim 1, wherein the touch area of the target device comprises an inner circle capacitance of the touch device; wherein the inner ring capacitor is a self-capacitor;
the plurality of sub-touch modules simultaneously perform individual capacitance detection when touched.
3. The method according to claim 2, wherein the step S2 includes:
After the capacitance increment of a plurality of sub-touch modules in the touched area is synchronously increased to a stable value, acquiring a current capacitance change value as a detection result; the detection result is a fixed number of different capacitance increments existing in the touched area.
4. The method according to claim 3, wherein the step S3 further comprises:
And when the capacitance increment of the sub-touch module is continuously changed within a specified time, turning to S5.
5. The method for determining an effective touch of claim 4, wherein the increment of capacitance of the sub-touch module is continuously changed, further comprising:
the capacitance increment of the sub-touch module with a plurality of sub-areas in the touched area is sequentially changed, and the changing time is not synchronous.
6. A system of an active touch determination method according to any one of claims 1-5, the system comprising:
the dividing unit is used for equally dividing the touch area of the target device into a plurality of sub-touch modules;
A detection unit for detecting a capacitance change of each of the sub-touch modules when the touch device is contacted;
And the judging unit is used for judging whether the touch is effective.
7. The effective touch determination system according to claim 6, wherein the determination unit includes:
The first judging module is used for judging whether the capacitance increment of the sub-touch module is changed or not within a specified time;
and the second judging module is used for judging whether the capacitance increment of the sub-touch module with a central range is larger than that of surrounding sub-touch modules.
8. The active touch determination system of claim 7, further comprising:
The control unit comprises a designated number of pins which are connected with the sub-touch modules one by one so as to independently detect the capacitance change of each sub-touch module.
9. An effective touch determination software, wherein the effective touch determination software employs an effective touch determination method according to any one of claims 1 to 5 to complete effective touch determination.
10. A computer device comprising a processor and a memory for storing a computer program which when executed by the processor implements the effective touch determination method of any of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410544051.4A CN118394256A (en) | 2024-04-30 | 2024-04-30 | Effective touch judgment method, system, software and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410544051.4A CN118394256A (en) | 2024-04-30 | 2024-04-30 | Effective touch judgment method, system, software and equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118394256A true CN118394256A (en) | 2024-07-26 |
Family
ID=91993837
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410544051.4A Pending CN118394256A (en) | 2024-04-30 | 2024-04-30 | Effective touch judgment method, system, software and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118394256A (en) |
-
2024
- 2024-04-30 CN CN202410544051.4A patent/CN118394256A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1828877B1 (en) | Methods and systems for detecting noise in a position sensor using minor shifts in sensing frequency | |
CN109976500B (en) | Fingerprint identification device, mobile terminal and awakening method of fingerprint identification device | |
US10489632B2 (en) | Electronic device and detection method | |
US7831070B1 (en) | Dynamic finger detection mechanism for a fingerprint sensor | |
CN105446612A (en) | Terminal control method and terminal | |
TWI659342B (en) | Touch sensor type electronic device and sensor control method | |
CN106662970B (en) | Method and device for setting interruption threshold of fingerprint identifier and terminal equipment | |
CN114063802B (en) | Touch detection method, device, storage medium, microprocessor and touch control device | |
CN106547395B (en) | Touch key, anti-misoperation control method and device for touch key and terminal | |
CN112204576B (en) | Method for determining finger movements on a fingerprint sensor | |
CN109656406B (en) | Anti-interference method and device for touch keys of display screen and readable storage medium | |
CN104035702A (en) | Method for preventing intelligent terminal operation error and intelligent terminal | |
CN105867822B (en) | Information processing method and electronic equipment | |
CN113126815A (en) | Key response control method and device, terminal equipment and storage medium | |
CN103324964A (en) | System and method for identity recognition | |
CN118394256A (en) | Effective touch judgment method, system, software and equipment | |
CN107292279B (en) | Display method, display device, terminal and computer-readable storage medium | |
CN110308821B (en) | Touch response method and electronic equipment | |
CN113541668A (en) | Touch sensing method, circuit and electronic equipment | |
CN115802561A (en) | Intelligent household lighting method and device and storage medium | |
CN114211486B (en) | Robot control method, robot and storage medium | |
CN112416128B (en) | Gesture recognition method and terminal equipment | |
US9507454B1 (en) | Enhanced linearity of gestures on a touch-sensitive surface | |
CN110825300A (en) | Touch sensing method, electronic device and non-transitory computer readable recording medium device | |
CN111404534B (en) | Triggering judgment method and device of capacitive touch switch |
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 |