[go: up one dir, main page]

CN103389847A - Touch control terminal and anti-interference method and system thereof - Google Patents

Touch control terminal and anti-interference method and system thereof Download PDF

Info

Publication number
CN103389847A
CN103389847A CN2013103118640A CN201310311864A CN103389847A CN 103389847 A CN103389847 A CN 103389847A CN 2013103118640 A CN2013103118640 A CN 2013103118640A CN 201310311864 A CN201310311864 A CN 201310311864A CN 103389847 A CN103389847 A CN 103389847A
Authority
CN
China
Prior art keywords
touch screen
capacitive touch
value
terminal
usb peripheral
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013103118640A
Other languages
Chinese (zh)
Other versions
CN103389847B (en
Inventor
靳勇
张冀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201310311864.0A priority Critical patent/CN103389847B/en
Publication of CN103389847A publication Critical patent/CN103389847A/en
Application granted granted Critical
Publication of CN103389847B publication Critical patent/CN103389847B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Position Input By Displaying (AREA)

Abstract

本发明公开了一种触控终端及其抗干扰方法和系统,触控终端包括抗干扰系统,抗干扰系统包括电容值获取模块和第一调整模块,方法包括:S1、若触控终端接入USB外设,则调整触控终端的电容式触摸屏的响应门限值,以降低电容式触摸屏的响应灵敏度;S2、若触控终端与USB外设分离,则将响应门限值调整为默认值,以恢复电容式触摸屏的响应灵敏度。实现了在检测到USB外设插入触控终端之后,提高电容式触摸屏的响应门限值,降低电容式触摸屏的灵敏度,解决了干扰问题。

Figure 201310311864

The invention discloses a touch terminal and its anti-interference method and system. The touch terminal includes an anti-interference system, and the anti-interference system includes a capacitance value acquisition module and a first adjustment module. The method includes: S1. If the touch terminal is connected to For USB peripherals, adjust the response threshold value of the capacitive touch screen of the touch terminal to reduce the response sensitivity of the capacitive touch screen; S2, if the touch terminal is separated from the USB peripherals, adjust the response threshold value to a default value , to restore the responsiveness of the capacitive touch screen. After detecting that the USB peripheral is inserted into the touch terminal, the response threshold value of the capacitive touch screen is increased, the sensitivity of the capacitive touch screen is reduced, and the interference problem is solved.

Figure 201310311864

Description

一种触控终端及其抗干扰方法及系统A touch terminal and its anti-interference method and system

技术领域 technical field

本发明涉及触摸传感技术,更具体地说,涉及一种触控终端及其抗干扰方法和系统。  The present invention relates to touch sensing technology, and more specifically, to a touch terminal and an anti-interference method and system thereof. the

背景技术 Background technique

现有的包括电容式触摸屏的触控终端接入USB设备时,USB设备会为触控终端充电,例如手机通过USB接口接入电脑,再如手机通过USB接口连接充电器进行充电,由于为触控终端充电的设备的开关频率和电容式触摸屏的扫描频率比较接近,充电过程中对电容式触摸屏的干扰较大,会导致触摸误操作的问题。传统的解决该干扰问题的方法是改变电容式触摸屏的扫描频率,以跳过干扰频率。但是市面上,USB设备的种类很多,例如,充电器的品牌众多,每个品牌的充电器的开关频率都不一样,这样就导致一个问题:解决其中一个充电器的干扰后,换一个充电器,由于开关频率不一样,又有可能存在干扰。也就是说上述抗干扰的方法,能够避开一个或者多个充电器的干扰频率,但不能避开所有充电器的干扰频率,因此该方法不能完全解决充电器对电容式触摸屏的干扰问题。  When an existing touch terminal including a capacitive touch screen is connected to a USB device, the USB device will charge the touch terminal. The switching frequency of the device charged by the control terminal is relatively close to the scanning frequency of the capacitive touch screen. During the charging process, the interference to the capacitive touch screen is relatively large, which will lead to the problem of touch misoperation. The traditional method to solve the interference problem is to change the scanning frequency of the capacitive touch screen to skip the interference frequency. However, there are many types of USB devices on the market. For example, there are many brands of chargers, and the switching frequency of each brand’s chargers is different. This leads to a problem: After solving the interference of one of the chargers, change a charger , due to the different switching frequencies, there may be interference. That is to say, the above-mentioned anti-interference method can avoid the interference frequency of one or more chargers, but cannot avoid the interference frequencies of all chargers, so this method cannot completely solve the problem of the interference of the charger to the capacitive touch screen. the

发明内容 Contents of the invention

本发明针对现有技术的上述缺陷,提供一种触控终端及其抗干扰方法和系 统,在触控终端接入USB外设时,降低触控终端的电容式显示屏的响应灵敏度,从而解决了因USB外设为触控终端充电过程中对电容式触摸屏的干扰而导致的触摸误操作问题。  The present invention aims at the above defects of the prior art, and provides a touch terminal and its anti-interference method and system. When the touch terminal is connected to a USB peripheral, the response sensitivity of the capacitive display screen of the touch terminal is reduced, thereby Solve the problem of touch misoperation caused by the interference of the capacitive touch screen when the USB peripheral is charging the touch terminal. the

本申请解决其技术问题采用的技术方案是:提供一种用于触控终端的电容式触摸屏的抗干扰方法,包括以下步骤:  The technical solution adopted by the present application to solve the technical problem is to provide an anti-jamming method for a capacitive touch screen of a touch terminal, comprising the following steps:

S1、若触控终端接入USB外设,则调整触控终端的电容式触摸屏的响应门限值,以降低电容式触摸屏的响应灵敏度;  S1. If the touch terminal is connected to the USB peripheral, adjust the response threshold value of the capacitive touch screen of the touch terminal to reduce the response sensitivity of the capacitive touch screen;

S2、若触控终端与USB外设分离,则将所述响应门限值调整为默认值,以恢复电容式触摸屏的响应灵敏度。  S2. If the touch terminal is separated from the USB peripheral, adjust the response threshold value to a default value, so as to restore the response sensitivity of the capacitive touch screen. the

优选地,所述方法还包括:  Preferably, the method also includes:

S0、为电容式触摸屏的电容值设置多个区间,并为每个区间分配门限调整值;  S0, setting multiple intervals for the capacitance value of the capacitive touch screen, and assigning a threshold adjustment value to each interval;

优选地,步骤S1包括以下子步骤:  Preferably, step S1 includes the following sub-steps:

S11、若触控终端接入USB外设,则获取接入该USB外设后电容式触摸屏的电容值;  S11. If the touch terminal is connected to a USB peripheral, obtain the capacitance value of the capacitive touch screen after the USB peripheral is connected;

S12、判断该电容值所属区间,根据该区间对应的门限调整值调整电容式触摸屏的响应门限值,以降低电容式触摸屏的响应灵敏度。  S12. Determine the interval to which the capacitance value belongs, and adjust the response threshold value of the capacitive touch screen according to the threshold adjustment value corresponding to the interval, so as to reduce the response sensitivity of the capacitive touch screen. the

优选地,步骤S1还包括以下子步骤:  Preferably, step S1 also includes the following sub-steps:

S13、每隔一定时间间隔,获取触控终端接入该USB外设后电容式触摸屏的电容值,判断电容值所属区间是否发生变化,若是则根据电容值当前所属区间对应的门限调整值调整电容式触摸屏的响应门限值。  S13. At regular time intervals, obtain the capacitance value of the capacitive touch screen after the touch terminal is connected to the USB peripheral, and determine whether the interval of the capacitance value changes, and if so, adjust the capacitance according to the threshold adjustment value corresponding to the current interval of the capacitance value The response threshold of the touch screen. the

提供一种用于触控终端的电容式触摸屏的抗干扰系统,包括:  An anti-jamming system for capacitive touch screens for touch terminals is provided, including:

第一调整单元,用于在触控终端接入USB外设时,调整触控终端的电容 式触摸屏的响应门限值,以降低电容式触摸屏的响应灵敏度;  The first adjustment unit is used to adjust the response threshold value of the capacitive touch screen of the touch terminal when the touch terminal is connected to the USB peripheral, so as to reduce the response sensitivity of the capacitive touch screen;

第二调整单元,用于在触控终端与USB外设分离时,将所述响应门限值调整为默认值,以恢复电容式触摸屏的响应灵敏度。  The second adjustment unit is configured to adjust the response threshold to a default value when the touch terminal is separated from the USB peripheral, so as to restore the response sensitivity of the capacitive touch screen. the

优选地,所述系统还包括:  Preferably, the system also includes:

设置单元,用于为电容式触摸屏的电容值设置多个区间,并为每个区间分配门限调整值;  The setting unit is used to set multiple intervals for the capacitance value of the capacitive touch screen, and assign a threshold adjustment value to each interval;

优选地,所述第一调整单元包括:  Preferably, the first adjustment unit includes:

电容值获取模块,用于在触控终端接入USB外设时,获取接入该USB外设后电容式触摸屏的电容值;  The capacitance value acquisition module is used to obtain the capacitance value of the capacitive touch screen after the USB peripheral is connected to the USB peripheral when the touch terminal is connected to the USB peripheral;

第一调整模块,用于判断所述电容值获取模块获取的电容值所属区间,根据该区间对应的门限调整值调整电容式触摸屏的响应门限值,以降低电容式触摸屏的响应灵敏度。  The first adjustment module is used to determine the interval to which the capacitance value obtained by the capacitance value acquisition module belongs, and adjust the response threshold value of the capacitive touch screen according to the threshold adjustment value corresponding to the interval, so as to reduce the response sensitivity of the capacitive touch screen. the

优选地,所述第一调整单元还包括:  Preferably, the first adjustment unit also includes:

第二调整模块,用于每隔一定时间间隔,获取触控终端接入该USB外设后电容式触摸屏的电容值,判断电容值所属区间是否发生变化,若是则根据电容值当前所属区间对应的门限调整值调整电容式触摸屏的响应门限值。  The second adjustment module is used to obtain the capacitance value of the capacitive touch screen after the touch terminal is connected to the USB peripheral at regular time intervals, and judge whether the interval to which the capacitance value belongs changes, and if so, according to the current interval corresponding to the capacitance value The threshold adjustment value adjusts the response threshold of the capacitive touch screen. the

提供一种触控终端,包括上述任一项中的所述的用于触控终端的电容式触摸屏的抗干扰系统。  A touch terminal is provided, including the anti-jamming system for a capacitive touch screen of a touch terminal described in any one of the above items. the

本发明的触控终端及其抗干扰方法和系统具有以下有益效果:加入了USB外设插入检测机制,当检测到有USB外设插入触控终端的时候,提高电容式触摸屏的响应门限值,从而降低电容式触摸屏的响应灵敏度,从而解决了USB外设对触控终端的充电器干扰问题。对干扰定位更准确有效,且不会影响电容式触摸屏的正常使用,且适用于各种USB外设,例如各种充电器。  The touch terminal and its anti-interference method and system of the present invention have the following beneficial effects: a USB peripheral insertion detection mechanism is added, and when it is detected that a USB peripheral is inserted into the touch terminal, the response threshold value of the capacitive touch screen is improved , thereby reducing the response sensitivity of the capacitive touch screen, thereby solving the problem of USB peripherals interfering with the charger of the touch terminal. It is more accurate and effective for interference positioning, and will not affect the normal use of the capacitive touch screen, and is suitable for various USB peripherals, such as various chargers. the

附图说明 Description of drawings

图1为本发明的用于触控终端的电容式触摸屏的抗干扰方法的第一实施例的流程图;  Fig. 1 is the flow chart of the first embodiment of the anti-interference method for the capacitive touch screen of the touch terminal of the present invention;

图2为本发明的用于触控终端的电容式触摸屏的抗干扰方法的第二实施例的流程图;  Fig. 2 is the flowchart of the second embodiment of the anti-jamming method for the capacitive touch screen of the touch terminal of the present invention;

图3为本发明的用于触控终端的电容式触摸屏的抗干扰系统第一实施例的功能框图;  Fig. 3 is the functional block diagram of the first embodiment of the anti-jamming system for the capacitive touch screen of the touch terminal of the present invention;

图4为图3所示的用于触控终端的电容式触摸屏的抗干扰系统的工作流程图;  Fig. 4 is the working flowchart of the anti-jamming system for the capacitive touch screen of touch terminal shown in Fig. 3;

图5为本发明的用于触控终端的电容式触摸屏的抗干扰系统第二实施例的功能框图。  FIG. 5 is a functional block diagram of a second embodiment of an anti-jamming system for a capacitive touch screen of a touch terminal according to the present invention. the

具体实施方式 Detailed ways

以下结合附图和实施例对本发明做进一步的解释说明。  The present invention will be further explained below in conjunction with the accompanying drawings and embodiments. the

触控终端的电容式触摸屏的工作原理是:电容式触摸屏的控制器内部的一个寄存器中存储了一个响应门限值(也可称为报点门限值),当手指触摸在电容式触摸屏的金属层上时,由于人体电场,手指和触摸屏表面形成一个耦合电容,当电容值达到或者超过响应门限值的时候,就会响应该触摸动作(即进行报点),也就是进行相应的触控操作。  The working principle of the capacitive touch screen of the touch terminal is: a register in the controller of the capacitive touch screen stores a response threshold (also called the report threshold), when the finger touches the capacitive touch screen When on the metal layer, due to the electric field of the human body, a coupling capacitance is formed between the finger and the surface of the touch screen. When the capacitance value reaches or exceeds the response threshold value, it will respond to the touch action (that is, report the point), that is, perform the corresponding touch. control operation. the

图1为本发明的用于触控终端的电容式触摸屏的抗干扰方法的第一实施例的流程图,如图1所示,在本实施中,本发明的方法包括以下步骤:  Fig. 1 is the flow chart of the first embodiment of the anti-jamming method for the capacitive touch screen of the touch terminal of the present invention, as shown in Fig. 1, in this implementation, the method of the present invention comprises the following steps:

S1、若触控终端接入USB外设,则调整触控终端的电容式触摸屏的响应 门限值,以降低电容式触摸屏的响应灵敏度;  S1, if the touch terminal is connected to the USB peripheral, adjust the response threshold value of the capacitive touch screen of the touch terminal to reduce the response sensitivity of the capacitive touch screen;

S2、若触控终端与USB外设分离,则将响应门限值调整为默认值,以恢复电容式触摸屏的响应灵敏度。  S2. If the touch terminal is separated from the USB peripheral, adjust the response threshold value to a default value, so as to restore the response sensitivity of the capacitive touch screen. the

在本实施例中,可以通过软件内置两套电容式触摸屏的控制器的初始化代码,在触控终端接入USB外设时,使用第一套初始化代码初始化电容式触摸屏的控制器,实现降低电容式触摸屏的响应灵敏度。在触控终端与USB外设分离时,使用第二套初始化代码再次初始化电容式触摸屏的控制器,实现将电容式触摸屏的响应灵敏度恢复为默认值。其中,第二套初始化代码为正常初始化电容式触摸屏的控制器的代码。  In this embodiment, two sets of initialization codes of the controllers of the capacitive touch screen can be built into the software. When the touch terminal is connected to the USB peripheral, the first set of initialization codes can be used to initialize the controller of the capacitive touch screen to reduce the capacitance. The response sensitivity of the touch screen. When the touch terminal is separated from the USB peripheral, the second set of initialization code is used to initialize the controller of the capacitive touch screen again, so as to restore the response sensitivity of the capacitive touch screen to the default value. Wherein, the second set of initialization codes is codes for normally initializing the controller of the capacitive touch screen. the

具体地,在步骤S1中,判断是否有USB外设接入触控终端,若否则执行触控终端正常的工作,若是则使用第一套初始化代码初始化电容式触摸屏的响应灵敏度,从而调整控制器的寄存器中存储的响应门限值,将响应门限值从原来的默认值增加到一新的门限值,由于增加了响应门限值,从而降低了电容式触摸屏的响应灵敏度。另外,增加后的响应门限值要小于或等于手指触摸屏幕后所能产生的最大值电容值,否则将使得电容式触摸屏触摸无效。  Specifically, in step S1, it is judged whether there is a USB peripheral connected to the touch terminal, if not, the normal operation of the touch terminal is performed, and if so, the first set of initialization code is used to initialize the response sensitivity of the capacitive touch screen, thereby adjusting the controller The response threshold value stored in the register, the response threshold value is increased from the original default value to a new threshold value, and the response sensitivity of the capacitive touch screen is reduced due to the increase of the response threshold value. In addition, the increased response threshold value should be less than or equal to the maximum capacitance value that can be generated after the finger touches the screen, otherwise, the capacitive touch screen touch will be invalid. the

在步骤S2中,判断触控终端是否与接入的USB外设分离,若否则维持当前电容式触摸屏的响应灵敏度,若是则使用第二套初始化代码初始化电容式触摸屏的控制器,将控制器的寄存器中存储的响应门限值恢复到默认值,从而恢复电容式触摸屏的响应灵敏度。  In step S2, it is judged whether the touch terminal is separated from the connected USB peripheral, if not, the response sensitivity of the current capacitive touch screen is maintained, and if so, the second set of initialization code is used to initialize the controller of the capacitive touch screen, and the controller's The response threshold value stored in the register is restored to the default value, thereby restoring the response sensitivity of the capacitive touch screen. the

在本实施例中,通过不同的代码初始化电容式触摸屏的控制器,对控制器中的寄存器写入不同的参数,实现设定不同的响应门限值,从而改变电容式触摸屏的响应灵敏度。实现了在检测到USB外设插入触控终端之后,提高电容式触摸屏的响应门限值,降低电容式触摸屏的灵敏度,无论接入的USB外设 (可看作充电器)的开关频率如何,都能很好的实现抗干扰。  In this embodiment, different codes are used to initialize the controller of the capacitive touch screen, and different parameters are written into registers in the controller to realize setting different response thresholds, thereby changing the response sensitivity of the capacitive touch screen. After detecting that the USB peripheral is inserted into the touch terminal, the response threshold value of the capacitive touch screen is increased, and the sensitivity of the capacitive touch screen is reduced, regardless of the switching frequency of the connected USB peripheral (which can be regarded as a charger), Can achieve anti-interference very well. the

图2为本发明的用于触控终端的电容式触摸屏的抗干扰方法的第二实施例的流程图,如图2所示,该实施例与本发明的方法的第一实施例的区别在于,方法还包括步骤:  Fig. 2 is a flow chart of the second embodiment of the anti-jamming method for the capacitive touch screen of the touch terminal of the present invention, as shown in Fig. 2, the difference between this embodiment and the first embodiment of the method of the present invention is that , the method also includes the steps of:

S0、为电容式触摸屏的电容值设置多个区间,并为每个区间分配门限调整值。  S0. Setting multiple intervals for the capacitance value of the capacitive touch screen, and assigning a threshold adjustment value to each interval. the

在本实施例中,步骤S1包括以下子步骤:  In this embodiment, step S1 includes the following sub-steps:

S11、若触控终端接入USB外设,则获取接入该USB外设后电容式触摸屏的电容值;  S11. If the touch terminal is connected to a USB peripheral, obtain the capacitance value of the capacitive touch screen after the USB peripheral is connected;

S12、判断该电容值所属区间,根据该区间对应的门限调整值调整电容式触摸屏的响应门限值,以降低电容式触摸屏的响应灵敏度。  S12. Determine the interval to which the capacitance value belongs, and adjust the response threshold value of the capacitive touch screen according to the threshold adjustment value corresponding to the interval, so as to reduce the response sensitivity of the capacitive touch screen. the

在该实施例中,考虑到触控终端接入不同的USB外设,电容式触摸屏产生的电容值会有所不同,将电容式触摸屏的电容值分为多个区间,为每个区间分配门限调整值,各区间分配的门限调整值可同可不同。当检测到有USB外设接入触控终端时,获取接入该USB外设后电容式触摸屏的电容值,判断其所属区间,然后根据该区间对应的门限调整值调整当前电容式触摸屏的响应门限值,以增加当前的响应门限值,从而降级电容式触摸屏的响应灵敏度。其中,可以将当前的响应门限值乘以或者加上门限调整值来获得目标响应门限值。  In this embodiment, considering that the touch terminal is connected to different USB peripherals, the capacitance value generated by the capacitive touch screen will be different, the capacitance value of the capacitive touch screen is divided into multiple intervals, and a threshold is assigned to each interval The adjustment value, the threshold adjustment value assigned to each interval can be the same or different. When it is detected that a USB peripheral is connected to the touch terminal, obtain the capacitance value of the capacitive touch screen after the USB peripheral is connected, judge the interval it belongs to, and then adjust the current response of the capacitive touch screen according to the threshold adjustment value corresponding to the interval Threshold value to increase the current response threshold to degrade the response sensitivity of the capacitive touch screen. Wherein, the current response threshold may be multiplied or added to the threshold adjustment value to obtain the target response threshold. the

在该实施例中,能够在触控终端接入不同的USB外设时,对响应灵敏度进行不同幅度的增加,在实现抗干扰的同时,降低了对触控终端正常使用的影响。  In this embodiment, when the touch terminal is connected to different USB peripherals, the response sensitivity can be increased in different ranges, thereby reducing the impact on the normal use of the touch terminal while realizing anti-interference. the

在本发明的抗干扰方法的第三实施例中,其与本发明的方法第二实施例的区别在于,在该实施例中,步骤S1还包括子步骤:  In the third embodiment of the anti-jamming method of the present invention, the difference between it and the second embodiment of the method of the present invention is that, in this embodiment, step S1 also includes sub-steps:

S13、每隔一定时间间隔,获取触控终端接入该USB外设后电容式触摸屏的电容值,判断电容值所属区间是否发生变化,若是则根据电容值当前所属区间对应的门限调整值调整电容式触摸屏的响应门限值。  S13. At regular time intervals, obtain the capacitance value of the capacitive touch screen after the touch terminal is connected to the USB peripheral, and determine whether the interval of the capacitance value changes, and if so, adjust the capacitance according to the threshold adjustment value corresponding to the current interval of the capacitance value The response threshold of the touch screen. the

在该实施例中,考虑到了在USB外设接入的整个过程中,随着充电程度的改变,由于USB外设接入而引起的电容式触摸屏的电容值可能会发生变化,因此,在USB外设还未与触控终端分离的期间,每经理一定的时间间隔,就获取当前因USB外设接入而引起的电容式触摸屏的电容值,判断当前的电容值所属区间,进而判断所属区间是否发生变化,若未发生变化则维持当前的响应门限值,若发生了变化则根据当前所属区间对应的门限调整值调整电容式触摸屏的响应门限值。同样,可以通过将当前的响应门限值乘以或者加上当前区间所对应的门限调整值来获取目标响应门限值。  In this embodiment, it is considered that the capacitance value of the capacitive touch screen due to the USB peripheral access may change as the charging degree changes during the entire process of USB peripheral access. Therefore, in the USB During the period when the peripheral device is not separated from the touch terminal, at a certain time interval, the current capacitance value of the capacitive touch screen caused by the connection of the USB peripheral device is obtained, and the current capacitance value belongs to the interval, and then the interval is judged Whether there is a change, if there is no change, the current response threshold value is maintained, and if there is a change, the response threshold value of the capacitive touch screen is adjusted according to the threshold adjustment value corresponding to the current interval. Likewise, the target response threshold can be obtained by multiplying or adding the current response threshold to the threshold adjustment value corresponding to the current interval. the

在该实施例中,在USB外设未与触控终端分离期间,能够根据充电的进程,调整电容式触摸屏的响应灵敏度。另外,为了避免冲突发生,在USB外设未与触控终端分离期间,若接收到手指的触控,则不进行步骤S13中记载的操作。  In this embodiment, when the USB peripheral is not separated from the touch terminal, the response sensitivity of the capacitive touch screen can be adjusted according to the charging process. In addition, in order to avoid conflicts, during the period when the USB peripheral is not separated from the touch terminal, if the touch of the finger is received, the operation described in step S13 will not be performed. the

图3为本发明的用于触控终端的电容式触摸屏的抗干扰系统100第一实施例的功能框图,如图3所示,在本实施例中,本发明的抗干扰系统100包括:  Fig. 3 is a functional block diagram of a first embodiment of the anti-jamming system 100 for a capacitive touch screen of a touch terminal according to the present invention. As shown in Fig. 3, in this embodiment, the anti-jamming system 100 of the present invention includes:

第一调整单元110,用于在触控终端接入USB外设时,调整触控终端的电容式触摸屏的响应门限值,以降低电容式触摸屏的响应灵敏度;  The first adjustment unit 110 is used to adjust the response threshold value of the capacitive touch screen of the touch terminal when the touch terminal is connected to the USB peripheral, so as to reduce the response sensitivity of the capacitive touch screen;

第二调整单元120,用于在触控终端与USB外设分离时,将响应门限值调整为默认值,以恢复电容式触摸屏的响应灵敏度。  The second adjustment unit 120 is configured to adjust the response threshold to a default value when the touch terminal is separated from the USB peripheral, so as to restore the response sensitivity of the capacitive touch screen. the

在本实施例中,可以通过软件内置两套电容式触摸屏的控制器的初始化代码。图4为本发明的抗干扰系统的第一实施例的工作流程图,如图4所示,第 一调整单元110判断是否有USB外设接入触控终端,若有则使用第一套初始化代码初始化电容式触摸屏的控制器,实现降低电容式触摸屏的响应灵敏度。第二调整单元110判断接入的USB外设是否与触控终端分离,若是则使用第二套初始化代码再次初始化电容式触摸屏的控制器,实现将电容式触摸屏的响应灵敏度恢复为默认值。其中,第二套初始化代码为正常初始化电容式触摸屏的控制器的代码。  In this embodiment, the initialization codes of the controllers of the two sets of capacitive touch screens can be built into the software. Fig. 4 is the working flow diagram of the first embodiment of the anti-jamming system of the present invention, as shown in Fig. 4, the first adjustment unit 110 judges whether there is a USB peripheral connected to the touch terminal, and if so, uses the first set of initialization The code initializes the controller of the capacitive touch screen to reduce the response sensitivity of the capacitive touch screen. The second adjustment unit 110 judges whether the connected USB peripheral is separated from the touch terminal, and if so, uses the second set of initialization code to re-initialize the controller of the capacitive touch screen to restore the response sensitivity of the capacitive touch screen to the default value. Wherein, the second set of initialization codes is codes for normally initializing the controller of the capacitive touch screen. the

图5为本发明的用于触控终端的电容式触摸屏的抗干扰系统100第二实施例的功能框图,如图5所示,在本实施例中,本发明的抗干扰系统100还包括:  FIG. 5 is a functional block diagram of a second embodiment of the anti-jamming system 100 for a capacitive touch screen of a touch terminal according to the present invention. As shown in FIG. 5 , in this embodiment, the anti-jamming system 100 of the present invention further includes:

设置单元130,用于为电容式触摸屏的电容值设置多个区间,并为每个区间分配门限调整值。  The setting unit 130 is configured to set multiple intervals for the capacitance value of the capacitive touch screen, and assign a threshold adjustment value to each interval. the

在本实施例中,第一调整单元110包括:  In this embodiment, the first adjustment unit 110 includes:

电容值获取模块111,用于在触控终端接入USB外设时,获取接入该USB外设后电容式触摸屏的电容值;  Capacitance value acquisition module 111, used to obtain the capacitance value of the capacitive touch screen after the USB peripheral is connected to the USB peripheral when the touch terminal is connected;

第一调整模块112,用于判断电容值获取模块获取的电容值所属区间,根据该区间对应的门限调整值调整电容式触摸屏的响应门限值,以降低电容式触摸屏的响应灵敏度;  The first adjustment module 112 is used to determine the interval of the capacitance value obtained by the capacitance value acquisition module, and adjust the response threshold value of the capacitive touch screen according to the threshold adjustment value corresponding to the interval, so as to reduce the response sensitivity of the capacitive touch screen;

第二调整模块113,用于每隔一定时间间隔,获取触控终端接入该USB外设后电容式触摸屏的电容值,判断电容值所属区间是否发生变化,若是则根据电容值当前所属区间对应的门限调整值调整电容式触摸屏的响应门限值。  The second adjustment module 113 is used to obtain the capacitance value of the capacitive touch screen after the touch terminal is connected to the USB peripheral at a certain time interval, and judge whether the interval to which the capacitance value belongs changes. The threshold adjustment value adjusts the response threshold of the capacitive touch screen. the

以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的权利要求范 围之内。  The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the scope of the claims of the present invention. the

Claims (9)

1.一种用于触控终端的电容式触摸屏的抗干扰方法,其特征在于,包括以下步骤:  1. an anti-interference method for a capacitive touch screen of a touch terminal, characterized in that, comprising the following steps: S1、若触控终端接入USB外设,则调整触控终端的电容式触摸屏的响应门限值,以降低电容式触摸屏的响应灵敏度;  S1. If the touch terminal is connected to the USB peripheral, adjust the response threshold value of the capacitive touch screen of the touch terminal to reduce the response sensitivity of the capacitive touch screen; S2、若触控终端与USB外设分离,则将所述响应门限值调整为默认值,以恢复电容式触摸屏的响应灵敏度。  S2. If the touch terminal is separated from the USB peripheral, adjust the response threshold value to a default value, so as to restore the response sensitivity of the capacitive touch screen. the 2.根据权利要求1所述的抗干扰方法,其特征在于,所述方法还包括:  2. anti-jamming method according to claim 1, is characterized in that, described method also comprises: S0、为电容式触摸屏的电容值设置多个区间,并为每个区间分配对应的门限调整值。 S0. Setting multiple intervals for the capacitance value of the capacitive touch screen, and assigning a corresponding threshold adjustment value to each interval. 3.根据权利要求2所述的抗干扰方法,其特征在于,步骤S1包括以下子步骤:  3. anti-interference method according to claim 2, is characterized in that, step S1 comprises the following sub-steps: S11、若触控终端接入USB外设,则获取接入该USB外设后电容式触摸屏的电容值;  S11. If the touch terminal is connected to a USB peripheral, obtain the capacitance value of the capacitive touch screen after the USB peripheral is connected; S12、判断该电容值所属区间,根据该区间对应的门限调整值调整电容式触摸屏的响应门限值,以降低电容式触摸屏的响应灵敏度。  S12. Determine the interval to which the capacitance value belongs, and adjust the response threshold value of the capacitive touch screen according to the threshold adjustment value corresponding to the interval, so as to reduce the response sensitivity of the capacitive touch screen. the 4.根据权利要求3所述的抗干扰方法,其特征在于,步骤S1还包括以下子步骤:  4. anti-jamming method according to claim 3, is characterized in that, step S1 also comprises the following sub-steps: S13、每隔一定时间间隔,获取触控终端接入该USB外设后电容式触摸屏的电容值,判断电容值所属区间是否发生变化,若是则根据电容值当前所属区间对应的门限调整值调整电容式触摸屏的响应门限值。  S13. At regular time intervals, obtain the capacitance value of the capacitive touch screen after the touch terminal is connected to the USB peripheral, and determine whether the interval of the capacitance value changes, and if so, adjust the capacitance according to the threshold adjustment value corresponding to the current interval of the capacitance value The response threshold of the touch screen. the 5.一种用于触控终端的电容式触摸屏的抗干扰系统(100),其特征在于, 包括:  5. An anti-jamming system (100) for a capacitive touch screen of a touch terminal, characterized in that it comprises: 第一调整单元(110),用于在触控终端接入USB外设时,调整触控终端的电容式触摸屏的响应门限值,以降低电容式触摸屏的响应灵敏度;  The first adjustment unit (110) is used to adjust the response threshold value of the capacitive touch screen of the touch terminal when the touch terminal is connected to the USB peripheral, so as to reduce the response sensitivity of the capacitive touch screen; 第二调整单元(120),用于在触控终端与USB外设分离时,将所述响应门限值调整为默认值,以恢复电容式触摸屏的响应灵敏度。  The second adjustment unit (120) is configured to adjust the response threshold value to a default value when the touch terminal is separated from the USB peripheral, so as to restore the response sensitivity of the capacitive touch screen. the 6.根据权利要求5所述的抗干扰系统(100),其特征在于,所述系统还包括:  6. The anti-interference system (100) according to claim 5, characterized in that, the system further comprises: 设置单元(130),用于为电容式触摸屏的电容值设置多个区间,并为每个区间分配对应的门限调整值。  A setting unit (130), configured to set multiple intervals for the capacitance value of the capacitive touch screen, and assign a corresponding threshold adjustment value to each interval. the 7.根据权利要求6所述的抗干扰系统(100),其特征在于,所述第一调整单元(110)包括:  7. The anti-interference system (100) according to claim 6, characterized in that, the first adjustment unit (110) comprises: 电容值获取模块(111),用于在触控终端接入USB外设时,获取接入该USB外设后电容式触摸屏的电容值;  Capacitance value acquisition module (111), used for obtaining the capacitance value of the capacitive touch screen after the USB peripheral is connected to the USB peripheral when the touch terminal is connected to the USB peripheral; 第一调整模块(112),用于判断所述电容值获取模块获取的电容值所属区间,根据该区间对应的门限调整值调整电容式触摸屏的响应门限值,以降低电容式触摸屏的响应灵敏度。  A first adjustment module (112), configured to determine the interval to which the capacitance value obtained by the capacitance value acquisition module belongs, and adjust the response threshold value of the capacitive touch screen according to the threshold adjustment value corresponding to the interval, so as to reduce the response sensitivity of the capacitive touch screen . the 8.根据权利要求7所述的抗干扰系统(100),其特征在于,所述第一调整单元(110)还包括:  8. The anti-interference system (100) according to claim 7, characterized in that, the first adjustment unit (110) further comprises: 第二调整模块(113),用于每隔一定时间间隔,获取触控终端接入该USB外设后电容式触摸屏的电容值,判断电容值所属区间是否发生变化,若是则根据电容值当前所属区间对应的门限调整值调整电容式触摸屏的响应门限值。  The second adjustment module (113) is used to obtain the capacitance value of the capacitive touch screen after the touch terminal is connected to the USB peripheral at regular time intervals, and determine whether the interval to which the capacitance value belongs changes. The threshold adjustment value corresponding to the interval adjusts the response threshold value of the capacitive touch screen. the 9.一种触控终端,其特征在于,包括权利要求5-8中任一项所述的抗干 扰系统(100)。  9. A touch terminal, characterized in that it comprises the anti-interference system (100) according to any one of claims 5-8. the
CN201310311864.0A 2013-07-23 2013-07-23 Touch control terminal and anti-interference method and system thereof Expired - Fee Related CN103389847B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310311864.0A CN103389847B (en) 2013-07-23 2013-07-23 Touch control terminal and anti-interference method and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310311864.0A CN103389847B (en) 2013-07-23 2013-07-23 Touch control terminal and anti-interference method and system thereof

Publications (2)

Publication Number Publication Date
CN103389847A true CN103389847A (en) 2013-11-13
CN103389847B CN103389847B (en) 2017-02-08

Family

ID=49534133

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310311864.0A Expired - Fee Related CN103389847B (en) 2013-07-23 2013-07-23 Touch control terminal and anti-interference method and system thereof

Country Status (1)

Country Link
CN (1) CN103389847B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104808847A (en) * 2015-04-16 2015-07-29 广东欧珀移动通信有限公司 Anti-interference method and device for detection of touch screen, touch sensor and touch terminal
CN104881174A (en) * 2015-06-04 2015-09-02 广东欧珀移动通信有限公司 Method and device for dynamically adjusting sensitivity of touch screen
CN105389225A (en) * 2015-11-25 2016-03-09 小米科技有限责任公司 Touch screen reporting point processing method and apparatus
CN105929999A (en) * 2016-04-18 2016-09-07 北京小米移动软件有限公司 Method and apparatus for controlling touch screen to perform triggering and electronic device
CN107132949A (en) * 2017-04-28 2017-09-05 北京小米移动软件有限公司 anti-interference method, device, terminal and storage medium
US9793748B2 (en) 2015-08-31 2017-10-17 Qualcomm Incorporated Methods and apparatus for controlling touchscreen interference
WO2018166057A1 (en) * 2017-03-13 2018-09-20 华为技术有限公司 Method and electronic device for outputting touch control signals
CN110475000A (en) * 2019-08-08 2019-11-19 Oppo(重庆)智能科技有限公司 Touch screen report point methods and relevant device
CN111757203A (en) * 2020-06-29 2020-10-09 深圳市科奈信科技有限公司 Wireless earphone control method and device, wireless earphone and storage medium
CN116916492A (en) * 2023-08-16 2023-10-20 中山市威星电器有限公司 LED lamp touch sensitivity control circuit and control method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110157076A1 (en) * 2009-12-30 2011-06-30 Hui-Hung Chang Method and Apparatus for Adjusting Touch Control Parameter
CN102841715A (en) * 2012-08-09 2012-12-26 深圳市汇顶科技有限公司 Capacitive touch sensor and touch control terminal and anti-interference method and system thereof
CN103092408A (en) * 2012-10-19 2013-05-08 友达光电股份有限公司 Embedded touch display panel and driving method thereof
CN103186266A (en) * 2011-12-30 2013-07-03 天津富纳源创科技有限公司 Method for adjusting sensitivity of touch panel

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110157076A1 (en) * 2009-12-30 2011-06-30 Hui-Hung Chang Method and Apparatus for Adjusting Touch Control Parameter
CN103186266A (en) * 2011-12-30 2013-07-03 天津富纳源创科技有限公司 Method for adjusting sensitivity of touch panel
CN102841715A (en) * 2012-08-09 2012-12-26 深圳市汇顶科技有限公司 Capacitive touch sensor and touch control terminal and anti-interference method and system thereof
CN103092408A (en) * 2012-10-19 2013-05-08 友达光电股份有限公司 Embedded touch display panel and driving method thereof

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104808847A (en) * 2015-04-16 2015-07-29 广东欧珀移动通信有限公司 Anti-interference method and device for detection of touch screen, touch sensor and touch terminal
CN104808847B (en) * 2015-04-16 2018-03-27 广东欧珀移动通信有限公司 Anti-interference method, device and touch sensor, the touch control terminal of touch-screen detection
CN104881174B (en) * 2015-06-04 2018-01-23 广东欧珀移动通信有限公司 A kind of method and device of dynamic adjustment sensitivity of touch screen
CN104881174A (en) * 2015-06-04 2015-09-02 广东欧珀移动通信有限公司 Method and device for dynamically adjusting sensitivity of touch screen
US9793748B2 (en) 2015-08-31 2017-10-17 Qualcomm Incorporated Methods and apparatus for controlling touchscreen interference
CN105389225A (en) * 2015-11-25 2016-03-09 小米科技有限责任公司 Touch screen reporting point processing method and apparatus
CN105929999A (en) * 2016-04-18 2016-09-07 北京小米移动软件有限公司 Method and apparatus for controlling touch screen to perform triggering and electronic device
WO2018166057A1 (en) * 2017-03-13 2018-09-20 华为技术有限公司 Method and electronic device for outputting touch control signals
CN107132949A (en) * 2017-04-28 2017-09-05 北京小米移动软件有限公司 anti-interference method, device, terminal and storage medium
CN107132949B (en) * 2017-04-28 2020-11-10 北京小米移动软件有限公司 Anti-interference method, device, terminal and storage medium
CN110475000A (en) * 2019-08-08 2019-11-19 Oppo(重庆)智能科技有限公司 Touch screen report point methods and relevant device
CN111757203A (en) * 2020-06-29 2020-10-09 深圳市科奈信科技有限公司 Wireless earphone control method and device, wireless earphone and storage medium
CN111757203B (en) * 2020-06-29 2022-07-01 深圳市科奈信科技有限公司 Wireless earphone control method and device, wireless earphone and storage medium
CN116916492A (en) * 2023-08-16 2023-10-20 中山市威星电器有限公司 LED lamp touch sensitivity control circuit and control method thereof

Also Published As

Publication number Publication date
CN103389847B (en) 2017-02-08

Similar Documents

Publication Publication Date Title
CN103389847B (en) Touch control terminal and anti-interference method and system thereof
CN103995626B (en) A kind of touch independent positioning method and device for touch-screen
CN102799331B (en) Parameter setting apparatus, parameter setting method and touch display device
CN104808847B (en) Anti-interference method, device and touch sensor, the touch control terminal of touch-screen detection
CN103995627B (en) A kind of detection method and device of capacitance touch screen
CN103197809B (en) Method for detecting non-common ground of touch panel
TW201839576A (en) Touch sensor-type electronic device and sensor control method
CN104881174B (en) A kind of method and device of dynamic adjustment sensitivity of touch screen
JP2009252233A (en) Capacitive touch control device and data transmission method applied to the device
CN102915151A (en) Method for adjusting sensitivity of touch screen and portable electronic device
CN103543344B (en) A kind of method solving capacitance plate inefficacy and capacitance plate abnormity detecting circuit
WO2015105753A2 (en) System and method for host-augmented touch processing
WO2014180444A1 (en) Sensitivity adjustment method and device
KR101826212B1 (en) Capacitive sensor action in response to proximity sensor data
JP2021530007A (en) Data detection method and device, storage medium, touch device
CN103927096A (en) Mobile terminal touch screen responding method based on levels and system thereof
US10146370B2 (en) Touch panel device having state restoration function
CN114063802B (en) Touch detection method, device, storage medium, microprocessor and touch control device
CN111338495B (en) Method and apparatus for determining touch point
US10073564B2 (en) Input device, control method of input device, and program
US20160364066A1 (en) Information Processing Method and Electronic Device
CN102662536A (en) Switching mode driving method of capacitive multi-point touch
CN111897449B (en) Anti-interference processing method, system, chip and household appliance for touch signal
TWI474245B (en) Touch control device, sensing circuit and sensing method thereof
CN104375724B (en) Mobile terminal and touch operation method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP01 Change in the name or title of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170208

CF01 Termination of patent right due to non-payment of annual fee