




技术领域technical field
本公开涉及终端技术领域,尤其涉及一种触摸屏控制方法、装置及存储介质。The present disclosure relates to the technical field of terminals, and in particular, to a touch screen control method, device, and storage medium.
背景技术Background technique
随着终端技术的快速发展,诸如手机之类的终端的内部空间逐渐缩小。为了节省终端的内部空间,开发商通常将一些模块之间相互重叠布置,譬如,在一些终端中,射频天线与触摸屏硬件电路之间紧密布置,相互重叠。With the rapid development of terminal technology, the internal space of a terminal such as a mobile phone is gradually reduced. In order to save the internal space of the terminal, developers usually arrange some modules on top of each other. For example, in some terminals, the radio frequency antenna and the touch screen hardware circuit are closely arranged and overlapped with each other.
然而,当射频天线与触摸屏硬件电路之间紧密布置时,触摸屏硬件电路中的部分器件(如,触摸感应器)将工作于射频净空区范围内,如此,容易导致射频天线辐射的射频信号对触摸屏硬件电路中的该部分器件造成干扰,从而影响触摸屏正常工作。However, when the RF antenna and the touch screen hardware circuit are closely arranged, some devices in the touch screen hardware circuit (such as touch sensors) will work within the range of the RF clearance area, so that the RF signals radiated by the RF antenna may easily affect the touch screen. This part of the device in the hardware circuit causes interference, which affects the normal operation of the touch screen.
发明内容SUMMARY OF THE INVENTION
为克服相关技术中存在的问题,本公开提供一种触摸屏控制方法、装置及存储介质。In order to overcome the problems existing in the related art, the present disclosure provides a touch screen control method, device and storage medium.
第一方面,提供一种触摸屏控制方法,所述方法包括:In a first aspect, a touch screen control method is provided, the method comprising:
确定待输出射频信号的射频状态信息,所述射频状态信息用于描述所述射频信号的输出状态;determining the radio frequency state information of the radio frequency signal to be output, where the radio frequency state information is used to describe the output state of the radio frequency signal;
基于所述射频状态信息,更改触摸屏的触摸条件,所述触摸条件是指所述触摸屏检测到触摸操作所满足的条件;based on the radio frequency state information, changing a touch condition of the touch screen, where the touch condition refers to a condition satisfied by the touch screen detecting a touch operation;
基于更改后的触摸条件对所述触摸屏进行控制。The touch screen is controlled based on the modified touch conditions.
可选地,所述射频状态信息包括发射频率、发射功率、发射时间间隔和发射持续时长中的至少一个。Optionally, the radio frequency status information includes at least one of transmission frequency, transmission power, transmission time interval and transmission duration.
可选地,所述基于所述射频状态信息,更改触摸屏的触摸条件,包括:Optionally, the changing the touch condition of the touch screen based on the radio frequency state information includes:
当所述射频状态信息包括发射频率和发射功率时,确定所述触摸屏中的目标触摸按键,所述目标触摸按键是指受工作频率为所述发射频率且最大发射功率为所述发射功率的射频信号影响的按键;When the radio frequency state information includes the transmission frequency and the transmission power, determine the target touch key in the touch screen, and the target touch key refers to the radio frequency whose operating frequency is the transmission frequency and the maximum transmission power is the transmission power. Signal-affected keys;
更改所述目标触摸按键的触摸条件。Change the touch condition of the target touch key.
可选地,基于所述射频状态信息,更改触摸屏的触摸条件,包括:Optionally, based on the radio frequency state information, changing the touch condition of the touch screen, including:
当所述射频状态信息包括发射时间间隔和发射持续时长时,每隔所述发射时间间隔,更改所述触摸屏的触摸条件并维持所述发射持续时长。When the radio frequency state information includes a transmission time interval and a transmission duration, the touch condition of the touch screen is changed at every transmission time interval and the transmission duration is maintained.
可选地,所述更改触摸屏的触摸条件,包括:Optionally, the modifying the touch condition of the touch screen includes:
将所述触摸屏的上报门限值增加预设阈值,所述上报门限值用于限定触摸时长、触摸信号强度和触摸面积大小中的至少一种;或者,A preset threshold is added to the reporting threshold value of the touch screen, where the reporting threshold value is used to define at least one of touch duration, touch signal strength, and touch area size; or,
启动多帧滤波算法,所述多帧滤波算法用于在所述触摸条件中增加触摸状态均符合所述触摸屏的上报门限值的次数。A multi-frame filtering algorithm is started, and the multi-frame filtering algorithm is used to increase the number of times that the touch states all meet the reporting threshold of the touch screen in the touch condition.
第二方面,提供一种触摸屏控制装置,所述装置包括:In a second aspect, a touch screen control device is provided, the device comprising:
确定模块,用于确定待输出射频信号的射频状态信息,所述射频状态信息用于描述所述射频信号的输出状态;a determining module, configured to determine radio frequency state information of the radio frequency signal to be output, where the radio frequency state information is used to describe the output state of the radio frequency signal;
更改模块,用于基于所述射频状态信息,更改触摸屏的触摸条件,所述触摸条件是指所述触摸屏检测到触摸操作所满足的条件;a modification module, configured to modify a touch condition of the touch screen based on the radio frequency state information, where the touch condition refers to a condition satisfied by the touch screen detecting a touch operation;
控制模块,用于基于更改后的触摸条件对所述触摸屏进行控制。The control module is used to control the touch screen based on the modified touch condition.
可选地,所述射频状态信息包括发射频率、发射功率、发射时间间隔和发射持续时长中的至少一个。Optionally, the radio frequency status information includes at least one of transmission frequency, transmission power, transmission time interval and transmission duration.
可选地,所述更改模块用于:Optionally, the modification module is used to:
当所述射频状态信息包括发射频率和发射功率时,确定所述触摸屏中的目标触摸按键,所述目标触摸按键是指受工作频率为所述发射频率且最大发射功率为所述发射功率的射频信号影响的按键;When the radio frequency state information includes the transmission frequency and the transmission power, determine the target touch key in the touch screen, and the target touch key refers to the radio frequency whose operating frequency is the transmission frequency and the maximum transmission power is the transmission power. Signal-affected keys;
更改所述目标触摸按键的触摸条件。Change the touch condition of the target touch key.
可选地,所述更改模块还用于:Optionally, the modification module is also used for:
当所述射频状态信息包括发射时间间隔和发射持续时长时,每隔所述发射时间间隔,更改所述触摸屏的触摸条件并维持所述发射持续时长。When the radio frequency state information includes a transmission time interval and a transmission duration, the touch condition of the touch screen is changed at every transmission time interval and the transmission duration is maintained.
可选地,所述更改模块还用于:Optionally, the modification module is also used for:
将所述触摸屏的上报门限值增加预设阈值,所述上报门限值用于限定触摸时长、触摸信号强度和触摸面积大小中的至少一种;或者,A preset threshold is added to the reporting threshold value of the touch screen, where the reporting threshold value is used to define at least one of touch duration, touch signal strength, and touch area size; or,
启动多帧滤波算法,所述多帧滤波算法用于在所述触摸条件中增加触摸状态均符合所述触摸屏的上报门限值的次数。A multi-frame filtering algorithm is started, and the multi-frame filtering algorithm is used to increase the number of times that the touch states all meet the reporting threshold of the touch screen in the touch condition.
第三方面,提供一种触摸屏控制装置,所述装置包括:In a third aspect, a touch screen control device is provided, the device comprising:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为执行上述第一方面所述的任一项触摸屏控制方法。Wherein, the processor is configured to execute any one of the touch screen control methods described in the first aspect above.
第四方面,提供一种计算机可读存储介质,所述计算机可读存储介质上存储有指令,所述指令被处理器执行时实现上述第一方面所述的任一项触摸屏控制方法。In a fourth aspect, a computer-readable storage medium is provided, where instructions are stored on the computer-readable storage medium, and when the instructions are executed by a processor, any one of the touch screen control methods described in the first aspect above is implemented.
第五方面,提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面所述的任一项触摸屏控制方法。In a fifth aspect, there is provided a computer program product containing instructions, which, when executed on a computer, cause the computer to execute any one of the touch screen control methods described in the first aspect above.
本公开的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
确定待输出射频信号的射频状态信息,以根据该射频状态信息更改触摸屏的触摸条件,也即是,更改触摸屏检测触摸操作所满足的条件,并基于更改后的触摸条件对触摸屏进行控制,如此,可以规避掉射频信号对触摸屏产生的影响,避免触摸屏工作出现异常。Determine the radio frequency state information of the radio frequency signal to be outputted, so as to change the touch condition of the touch screen according to the radio frequency state information, that is, change the condition satisfied by the touch screen to detect the touch operation, and control the touch screen based on the changed touch condition, so, The influence of the radio frequency signal on the touch screen can be avoided, and the abnormal operation of the touch screen can be avoided.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.
图1是根据一示例性实施例示出的一种触发屏控制方法的流程图。Fig. 1 is a flow chart of a method for controlling a trigger screen according to an exemplary embodiment.
图2是根据另一示例性实施例示出的一种触摸屏控制方法的流程图。Fig. 2 is a flow chart of a method for controlling a touch screen according to another exemplary embodiment.
图3是根据另一示例性实施例示出的一种触摸屏控制方法的流程图。Fig. 3 is a flow chart of a method for controlling a touch screen according to another exemplary embodiment.
图4是根据一示例性实施例示出的一种触摸屏控制装置的结构示意图。FIG. 4 is a schematic structural diagram of a touch screen control device according to an exemplary embodiment.
图5是根据一示例性实施例示出的一种触摸屏控制装置500的框图。FIG. 5 is a block diagram of a touch
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as recited in the appended claims.
在对本公开进行详细介绍之前,先对本公开实施例涉及的名词、应用场景和执行主体进行简单介绍。Before the present disclosure is introduced in detail, the terms, application scenarios, and execution subjects involved in the embodiments of the present disclosure are briefly introduced.
首先,对本公开实施例涉及的名词进行简单介绍。First, the terms involved in the embodiments of the present disclosure are briefly introduced.
射频信号:是指由射频天线发射出的信号,具有一定的发射功率,且不同射频信号可以工作在不同的发射频段上,即发射频率可以不同。Radio frequency signal: refers to the signal emitted by the radio frequency antenna, with a certain transmission power, and different radio frequency signals can work in different transmission frequency bands, that is, the transmission frequency can be different.
多帧滤波算法:针对连续触摸产生的连续的多帧数据进行数学运算,以判断触摸状态是否一直符合预先设置的触发条件。Multi-frame filtering algorithm: Perform mathematical operations on continuous multi-frame data generated by continuous touch to determine whether the touch state has always met the preset trigger conditions.
接下来,对本公开实施例涉及的应用场景进行简单介绍。Next, the application scenarios involved in the embodiments of the present disclosure are briefly introduced.
在实际应用场景中,若射频天线与触摸屏硬件电路之间紧密布置,则当射频天线工作时,发射的射频信号的发射功率会被触摸屏的硬件电路吸收,转换成能量涌浪、或者寄生电容,而这种干扰源极大的影响了触摸屏工作的稳定性,容易导致触摸屏工作出现异常。为此,本公开实施例提供了一种触摸屏控制方法,该方法可以规避射频信号对触摸屏产生的干扰,其具体实现方式请参见如下图1、图2或图3所示的实施例。In practical application scenarios, if the RF antenna and the touch screen hardware circuit are closely arranged, when the RF antenna is working, the transmit power of the transmitted RF signal will be absorbed by the touch screen hardware circuit and converted into energy surge or parasitic capacitance. This interference source greatly affects the stability of the touch screen operation, which may easily lead to abnormal operation of the touch screen. To this end, an embodiment of the present disclosure provides a touch screen control method, which can avoid interference caused by radio frequency signals to the touch screen. For the specific implementation, please refer to the embodiments shown in FIG. 1 , FIG. 2 or FIG. 3 below.
最后,对本公开实施例涉及的执行主体进行简单介绍。Finally, the executive body involved in the embodiment of the present disclosure is briefly introduced.
本公开实施例提供的触摸屏控制方法由终端执行,该终端配置有触摸屏,该触摸屏中包括有触摸按键和除了触摸按键之外的触摸区域。另外,在实际应用场景中,该终端可以包括有射频驱动模块、状态机模块和触摸屏模块。The touch screen control method provided by the embodiment of the present disclosure is performed by a terminal, where the terminal is configured with a touch screen, and the touch screen includes touch keys and a touch area other than the touch keys. In addition, in a practical application scenario, the terminal may include a radio frequency drive module, a state machine module and a touch screen module.
其中,该射频驱动模块可以用于负责控制终端的GSM(Global System for MobileCommunication,全球移动通信系统)等射频天线工作。在本公开实施例中,该射频驱动模块用于输出射频信号的射频状态信息,该射频状态信息包括发射频率、发射功率、发射时间间隔和发射持续时长中的至少一个。Wherein, the radio frequency driving module can be used to control the work of radio frequency antennas such as GSM (Global System for Mobile Communication, global system for mobile communication) of the terminal. In the embodiment of the present disclosure, the radio frequency driving module is configured to output radio frequency state information of the radio frequency signal, where the radio frequency state information includes at least one of transmission frequency, transmission power, transmission time interval and transmission duration.
其中,该状态机模块可以认为是连接该触摸屏模块与该射频驱动模块的纽带。在实际实现中,该状态机模块可以由终端的硬件通过底层软件驱动实现。在本公开实施例中,该状态机模块可以获取上述射频驱动模块输出的射频状态信息,并基于该射频状态信息确定对应的触摸条件,并将该触摸条件发送给触摸屏模块。该状态机模块与触摸屏模块之间可以使用诸如IIC(Inter-Integrated Circuit,集成电路总线)、SPI(Serial PeripheralInterface,串行外接接口)、MIPI(mobile industry processor interface,移动产业处理器接口)之类的通讯接口实现交互。Wherein, the state machine module can be regarded as a link connecting the touch screen module and the radio frequency driving module. In actual implementation, the state machine module can be implemented by the hardware of the terminal through the underlying software driver. In the embodiment of the present disclosure, the state machine module may acquire the radio frequency state information output by the above-mentioned radio frequency driving module, determine the corresponding touch condition based on the radio frequency state information, and send the touch condition to the touch screen module. For example, IIC (Inter-Integrated Circuit, integrated circuit bus), SPI (Serial Peripheral Interface, serial external interface), MIPI (mobile industry processor interface, mobile industry processor interface) etc. can be used between the state machine module and the touch screen module. The communication interface realizes the interaction.
其中,上述触摸屏模块用于接收上述状态机模块发送的触摸条件,并执行更改该触摸屏的触摸条件的操作。进一步地,该触摸屏模块还具有向状态机模块反馈执行结果的能力。Wherein, the touch screen module is configured to receive the touch condition sent by the state machine module, and perform an operation of changing the touch condition of the touch screen. Further, the touch screen module also has the capability of feeding back the execution result to the state machine module.
需要说明的是,该终端可以为诸如手机、平板电脑、计算机之类的设备,本公开实施例对此不做限定。It should be noted that the terminal may be a device such as a mobile phone, a tablet computer, or a computer, which is not limited in this embodiment of the present disclosure.
图1是根据一示例性实施例示出的一种触摸屏控制方法的流程图,如图1所示,该触摸屏控制方法用于终端中,可以包括以下步骤。FIG. 1 is a flowchart of a touch screen control method according to an exemplary embodiment. As shown in FIG. 1 , the touch screen control method used in a terminal may include the following steps.
在步骤101中,确定待输出射频信号的射频状态信息,该射频状态信息用于描述该射频信号的输出状态。In
在步骤102中,基于该射频状态信息,更改触摸屏的触摸条件,该触摸条件是指该触摸屏检测到触摸操作所满足的条件。In
在步骤103中,基于更改后的触摸条件对该触摸屏进行控制。In
在本公开实施例中,确定待输出射频信号的射频状态信息,以根据该射频状态信息更改触摸屏的触摸条件,也即是,更改触摸屏检测触摸操作所满足的条件,并基于更改后的触摸条件对触摸屏进行控制,如此,可以规避掉射频信号对触摸屏产生的影响,避免触摸屏工作出现异常。In the embodiment of the present disclosure, the radio frequency state information of the radio frequency signal to be output is determined, so as to change the touch condition of the touch screen according to the radio frequency state information, that is, to change the condition satisfied by the touch screen to detect the touch operation, and based on the changed touch condition The touch screen is controlled, so that the influence of the radio frequency signal on the touch screen can be avoided, and the abnormal operation of the touch screen can be avoided.
可选地,该射频状态信息包括发射频率、发射功率、发射时间间隔和发射持续时长中的至少一个。Optionally, the radio frequency state information includes at least one of transmission frequency, transmission power, transmission time interval and transmission duration.
可选地,基于该射频状态信息,更改触摸屏的触摸条件,包括:Optionally, based on the radio frequency state information, change the touch condition of the touch screen, including:
当该射频状态信息包括发射频率和发射功率时,确定该触摸屏中的目标触摸按键,该目标触摸按键是指受工作频率为该发射频率且最大发射功率为该发射功率的射频信号影响的按键;When the radio frequency state information includes the transmission frequency and the transmission power, determine the target touch key in the touch screen, and the target touch key refers to the key affected by the radio frequency signal whose working frequency is the transmission frequency and the maximum transmission power is the transmission power;
更改该目标触摸按键的触摸条件。Change the touch condition of the target touch key.
可选地,基于该射频状态信息,更改触摸屏的触摸条件,包括:Optionally, based on the radio frequency state information, change the touch condition of the touch screen, including:
当该射频状态信息包括发射时间间隔和发射持续时长时,每隔该发射时间间隔,更改该触摸屏的触摸条件并维持该发射持续时长。When the radio frequency state information includes a transmission time interval and a transmission duration, the touch condition of the touch screen is changed at every transmission time interval and the transmission duration is maintained.
可选地,更改触摸屏的触摸条件,包括:Optionally, change the touch conditions of the touch screen, including:
将该触摸屏的上报门限值增加预设阈值,该上报门限值用于限定触摸时长、触摸信号强度和触摸面积大小中的至少一种;或者,A preset threshold is added to the reporting threshold value of the touch screen, where the reporting threshold value is used to define at least one of touch duration, touch signal strength and touch area size; or,
启动多帧滤波算法,该多帧滤波算法用于在该触摸条件中增加触摸状态均符合该触摸屏的上报门限值的次数。A multi-frame filtering algorithm is started, and the multi-frame filtering algorithm is used to increase the number of times that the touch states all meet the reporting threshold of the touch screen in the touch condition.
上述所有可选技术方案,均可按照任意结合形成本公开的可选实施例,本公开实施例对此不再一一赘述。All the above-mentioned optional technical solutions can be combined to form optional embodiments of the present disclosure, which are not repeated in the embodiments of the present disclosure.
根据上述射频状态信息包括的具体内容不同,该触摸屏控制方法的具体实现过程也不同,接下来,将分别通过如下图2和图3两个实施例进行详细介绍。The specific implementation process of the touch screen control method is also different according to the specific content included in the above-mentioned radio frequency state information. Next, the following two embodiments of FIG. 2 and FIG. 3 are respectively introduced in detail.
请参考图2,该图2是根据另一示例性实施例示出的一种触摸屏控制方法的流程图,本公开实施例以该射频状态信息包括发射频率和发射功率为例进行说明,该触摸屏控制方法用于终端中,该方法可以包括以下几个实现步骤:Please refer to FIG. 2 . FIG. 2 is a flowchart illustrating a method for controlling a touch screen according to another exemplary embodiment. The embodiment of the present disclosure is described by taking the radio frequency state information including the transmission frequency and the transmission power as an example. The method is used in a terminal, and the method may include the following implementation steps:
在步骤201中,确定待输出射频信号的射频状态信息,该射频状态信息用于描述该射频信号的输出状态。In
如前文所述,该射频信号是指由该终端中的射频驱动模块驱动射频天线发射的信号。在本公开实施例中,在没有将该射频信号发射出去之前,该终端中的该射频驱动模块可以输出该待发射的射频信号的射频状态信息。进一步地,该射频驱动模块可以将该射频信号的射频状态信息传输给该终端中的状态机模块。As mentioned above, the radio frequency signal refers to the signal transmitted by the radio frequency antenna driven by the radio frequency driving module in the terminal. In the embodiment of the present disclosure, before the radio frequency signal is transmitted, the radio frequency driving module in the terminal may output the radio frequency state information of the radio frequency signal to be transmitted. Further, the radio frequency driving module can transmit the radio frequency state information of the radio frequency signal to the state machine module in the terminal.
需要说明的是,在这里,该射频状态信息包括发射频率和发射功率,例如,该发射频率可以为GSM900或GSM1800等。It should be noted that, here, the radio frequency state information includes the transmission frequency and the transmission power. For example, the transmission frequency may be GSM900 or GSM1800.
在步骤202中,当该射频状态信息包括发射频率和发射功率时,确定该触摸屏中的目标触摸按键,该目标触摸按键是指受工作频率为该发射频率且最大发射功率为该发射功率的射频信号影响的按键。In
在实际应用场景中,不同的发射频率会干扰不同位置的触摸按键,并且,根据射频信号在不同发射频率的最大发射功率不同,对触摸按键的影响程度也不同,例如,发射频率为GSM900的最大发射功率仅干扰返回触摸按键,GSM1800的最大发射功率仅干扰菜单项触摸按键,等等。In practical application scenarios, different transmission frequencies will interfere with touch keys at different positions, and according to the different maximum transmission power of RF signals at different transmission frequencies, the impact on touch keys is also different. For example, the transmission frequency is the maximum transmission frequency of GSM900. The transmit power only interferes with the return touch key, the maximum transmit power of the GSM1800 only interferes with the menu item touch key, and so on.
因此,在本公开实施例中,当该射频状态信息包括发射频率和发射功率时,终端需要确定受工作频率为该发射频率且最大发射功率为该发射功率的射频信号影响的目标触摸按键。Therefore, in the embodiment of the present disclosure, when the radio frequency state information includes the transmit frequency and transmit power, the terminal needs to determine the target touch key affected by the radio frequency signal whose working frequency is the transmit frequency and the maximum transmit power is the transmit power.
进一步地,可以由该终端中的状态机模块基于该射频状态信息来确定该目标触摸按键。譬如,当射频状态信息包括发射频率和发射功率时,该终端中可以存储有多个射频状态信息与触摸按键标识之间的对应关系,其中,每个触摸按键标识可以用于唯一标识一个触摸按键。如此,该状态机模块可以获取该待输出射频信号的射频状态信息对应触摸按键标识,并将该触摸按键标识对应的触摸按键确定为上述目标触摸按键。Further, the target touch key may be determined by a state machine module in the terminal based on the radio frequency state information. For example, when the radio frequency state information includes the transmit frequency and transmit power, the terminal may store a plurality of correspondences between the radio frequency state information and the touch key identifiers, wherein each touch key identifier may be used to uniquely identify a touch key. . In this way, the state machine module can acquire the touch key identifier corresponding to the radio frequency state information of the to-be-output radio frequency signal, and determine the touch key corresponding to the touch key identifier as the above-mentioned target touch key.
之后,该状态机模块可以将该目标触摸按键告知触摸屏模块。在一种可能的实现方式中,该状态机模块可以以通知消息的方式告知该触摸屏模块,其中,该通知消息中可以包括该目标触摸按键的触摸按键标识。Afterwards, the state machine module can inform the touch screen module of the target touch key. In a possible implementation manner, the state machine module may notify the touch screen module in the form of a notification message, wherein the notification message may include a touch key identifier of the target touch key.
在步骤203中,更改该目标触摸按键的触摸条件。In
在具体实现中,可以由该触摸屏模块在接收到状态机模块发送的通知消息后,更改该目标触摸按键的触摸条件。其中,上述更改该目标触摸按键的触摸条件可以包括如下几种可能的实现方式:In a specific implementation, the touch screen module may change the touch condition of the target touch key after receiving the notification message sent by the state machine module. The above-mentioned modification of the touch condition of the target touch button may include the following possible implementation manners:
第一种方式:将该触摸屏的上报门限值增加预设阈值,该上报门限值用于限定触摸时长、触摸信号强度和触摸面积大小中的至少一种。The first way: the reporting threshold value of the touch screen is increased by a preset threshold value, and the reporting threshold value is used to limit at least one of touch duration, touch signal strength and touch area size.
其中,该预设阈值可以由用户根据实际需求自定义设置,也可以由该终端默认设置,本公开实施例对此不做限定。The preset threshold may be set by the user according to actual needs, or may be set by default by the terminal, which is not limited in this embodiment of the present disclosure.
需要说明的是,在本发明实施例中,实际上是将该触摸屏中的该目标触摸按键的上报门限值增加预设阈值。It should be noted that, in the embodiment of the present invention, the reporting threshold value of the target touch key in the touch screen is actually increased by a preset threshold value.
在实际实现中,如果该射频信号产生的干扰高于该上报门限值,则容易导致该触摸屏模块进行错误上报,也即是,实际上用户并没有触摸该触摸屏中的目标触摸按键,该触摸信号是由该射频信号触发的,如此,即会导致触摸屏进行错误上报,从而导致工作出现异常。为此,当该触摸屏模块接收到该状态机模块发送的通知消息时,可以提高该目标触摸按键的上报门限值。In actual implementation, if the interference generated by the radio frequency signal is higher than the reporting threshold, it is easy to cause the touch screen module to report incorrectly, that is, in fact, the user does not touch the target touch button in the touch screen. The signal is triggered by the RF signal, which will cause the touch screen to report incorrectly, resulting in abnormal work. Therefore, when the touch screen module receives the notification message sent by the state machine module, the reporting threshold value of the target touch key can be increased.
第二种方式:启动多帧滤波算法,该多帧滤波算法用于在该触摸条件中增加触摸状态均符合该触摸屏的上报门限值的次数。The second way: start a multi-frame filtering algorithm, and the multi-frame filtering algorithm is used to increase the number of times that the touch states all meet the reporting threshold of the touch screen in the touch condition.
这里需要说明的是,在无干扰情况下,终端不会启动多帧滤波算法,即该多帧滤波算法通常处于关闭状态。It should be noted here that in the case of no interference, the terminal will not start the multi-frame filtering algorithm, that is, the multi-frame filtering algorithm is usually in a closed state.
在实际应用场景中,由于射频信号产生的干扰时长是有限的,因此,为了规避该射频信号产生的干扰,该终端中的触摸屏模块还可以启动多帧滤波算法。如此,该触摸屏模块就会多次检测触摸状态是否一致符合该目标触摸按键的上报门限值,或者,检测该触摸状态符合该目标触摸按键的上报门限值的次数是否达到预设次数。In a practical application scenario, since the duration of the interference generated by the radio frequency signal is limited, the touch screen module in the terminal can also start a multi-frame filtering algorithm in order to avoid the interference generated by the radio frequency signal. In this way, the touch screen module will repeatedly detect whether the touch state conforms to the reporting threshold of the target touch key, or whether the number of times the touch state conforms to the reporting threshold of the target touch key reaches a preset number of times.
其中,该预设次数可以由用户根据实际需求自定义设置,也可以由终端默认设置,本公开实施例对此不作限定。The preset number of times may be set by the user according to actual needs, or may be set by default by the terminal, which is not limited in this embodiment of the present disclosure.
进一步地,如果检测该触摸状态一致符合该目标触摸按键的上报门限值,则该触摸屏模块才确定触摸信号是由用户触发的,否则,则认为该触摸信号是由射频信号触发的。由此可见,启动多帧滤波算法后同样可以达到规避射频信号的干扰的效果。Further, the touch screen module determines that the touch signal is triggered by the user only if the detected touch state is consistent with the reporting threshold of the target touch button, otherwise, the touch signal is considered to be triggered by a radio frequency signal. It can be seen that after starting the multi-frame filtering algorithm, the effect of avoiding the interference of the radio frequency signal can also be achieved.
需要说明的是,这里仅是以更改该目标触摸按键的触摸条件包括上述几种可能的实现方式中为例进行说明。在实际实现中,更改该目标触摸按键的触摸条件还可以包括其它形式,例如,还可以关闭触摸消息上报功能,即关闭触摸功能,或者,还可以通过复位方式对软件和硬件进行校准等,本公开实施例对此不作限定。It should be noted that, here is only an example of changing the touch condition of the target touch key including the above several possible implementation manners. In actual implementation, changing the touch condition of the target touch button may also include other forms. For example, the touch message reporting function can also be turned off, that is, the touch function can be turned off, or the software and hardware can also be calibrated by resetting. The disclosed embodiments are not limited in this regard.
在步骤204中,基于更改后的触摸条件对该触摸屏进行控制。In
在实际应用中,当将触摸屏的触摸条件更改后,可以规避射频信号的干扰,例如,若将触摸屏中目标触摸按键的上报门限值提高,则可以使得射频信号产生的干扰处于上报门限值以下,也即是,当基于更改后的触摸条件对触摸屏中的目标触摸按键进行控制时,可以避免射频信号的干扰带来的错误上报,以避免触摸屏出现误操作,从而保证触摸屏正常工作。In practical applications, when the touch condition of the touch screen is changed, the interference of the radio frequency signal can be avoided. For example, if the reporting threshold of the target touch button in the touch screen is increased, the interference generated by the radio frequency signal can be kept at the reporting threshold. Hereinafter, that is, when the target touch button in the touch screen is controlled based on the changed touch conditions, it is possible to avoid erroneous reporting caused by the interference of radio frequency signals, to avoid misoperation of the touch screen, and to ensure the normal operation of the touch screen.
在本公开实施例中,确定待输出射频信号的射频状态信息,以根据该射频状态信息更改触摸屏的触摸条件,也即是,更改触摸屏检测触摸操作所满足的条件,并基于更改后的触摸条件对触摸屏进行控制,如此,可以规避掉射频信号对触摸屏产生的影响,避免触摸屏工作出现异常。In the embodiment of the present disclosure, the radio frequency state information of the radio frequency signal to be output is determined, so as to change the touch condition of the touch screen according to the radio frequency state information, that is, to change the condition satisfied by the touch screen to detect the touch operation, and based on the changed touch condition The touch screen is controlled, so that the influence of the radio frequency signal on the touch screen can be avoided, and the abnormal operation of the touch screen can be avoided.
请参考图3,该图3是根据另一示例性实施例示出的一种触摸屏控制方法的流程图,本公开实施例以该射频状态信息包括发射时间间隔和发射持续时长为例进行说明,该触摸屏控制方法应用于终端中,该方法可以包括如下几个实现步骤:Please refer to FIG. 3 , which is a flowchart of a touch screen control method according to another exemplary embodiment. The embodiment of the present disclosure is described by taking the radio frequency state information including the transmission time interval and the transmission duration as an example. The touch screen control method is applied to a terminal, and the method may include the following implementation steps:
在步骤301中,确定待输出射频信号的射频状态信息,该射频状态信息用于描述该射频信号的输出状态。In
如前文所述,该射频信号是指由该终端中的射频驱动模块驱动射频天线发射的信号。在本公开实施例中,在没有将该射频信号发射出去之前,该终端中的该射频驱动模块可以输出该待发射的射频信号的射频状态信息。进一步地,该射频驱动模块可以将该射频信号的射频状态信息传输给该终端中的状态机模块。As mentioned above, the radio frequency signal refers to the signal transmitted by the radio frequency antenna driven by the radio frequency driving module in the terminal. In the embodiment of the present disclosure, before the radio frequency signal is transmitted, the radio frequency driving module in the terminal may output the radio frequency state information of the radio frequency signal to be transmitted. Further, the radio frequency driving module can transmit the radio frequency state information of the radio frequency signal to the state machine module in the terminal.
需要说明的是,在这里,该射频状态信息包括发射时间间隔和发射持续时长,例如,该发射时间间隔为500ms,发射持续时长为20ms。It should be noted that, here, the radio frequency state information includes a transmission time interval and a transmission duration. For example, the transmission time interval is 500ms, and the transmission duration is 20ms.
在步骤302中,当该射频状态信息包括发射时间间隔和发射持续时长时,每隔该发射时间间隔,更改该触摸屏的触摸条件并维持该发射持续时长。In
当该射频状态信息包括发射时间间隔和发射持续时长时,说明每隔该发射时间时长,射频天线就会发射射频信号,并持续该发射持续时长。为了能够规避每次射频天线发射的射频信号所带来的干扰,在这里,每隔该发射时间间隔,更改该触摸屏的触摸条件并维持该发射持续时长。When the radio frequency state information includes a transmission time interval and a transmission duration, it indicates that the radio frequency antenna will transmit a radio frequency signal every time the transmission time duration is continued for the transmission duration. In order to avoid the interference caused by the radio frequency signal transmitted by the radio frequency antenna each time, here, at every transmission time interval, the touch condition of the touch screen is changed and the transmission duration is maintained.
例如,若该射频状态信息包括发射时间间隔和发射持续时长分别为500ms和20ms,则终端每隔500ms更改一次触摸屏的触摸条件,并维持20ms,以避免这20ms内射频信号产生的干扰。For example, if the radio frequency status information includes the transmission time interval and transmission duration of 500ms and 20ms, respectively, the terminal changes the touch condition of the touch screen every 500ms and maintains it for 20ms to avoid interference caused by the radio frequency signal within the 20ms.
在一种可能的实现方式中,该触摸条件可以由状态机模块确定,进一步地,该状态机模块接收上述射频驱动模块输出的射频状态信息,并基于该射频状态信息获取对应的触摸条件。譬如,该终端中可以存储有多个射频状态信息与多个触摸条件之间的对应关系,如此,该状态机模块即可从该对应关系中获取上述射频状态信息对应的触摸条件。之后,该状态机模块将该触摸条件以通知消息的方式传递给触摸屏模块,并由该触摸屏模块更改触摸屏的触摸条件。In a possible implementation manner, the touch condition may be determined by a state machine module. Further, the state machine module receives the radio frequency state information output by the above-mentioned radio frequency driving module, and obtains the corresponding touch condition based on the radio frequency state information. For example, the terminal may store correspondences between multiple radio frequency state information and multiple touch conditions, so that the state machine module can acquire the touch conditions corresponding to the above radio frequency state information from the correspondence. After that, the state machine module transmits the touch condition to the touch screen module in the form of a notification message, and the touch screen module changes the touch condition of the touch screen.
其中,更改触摸屏的触摸条件可以包括如下几种可能的实现方式:Among them, changing the touch condition of the touch screen may include the following possible implementations:
第一种方式:将该触摸屏的上报门限值增加预设阈值,该上报门限值用于限定触摸时长、触摸信号强度和触摸面积大小中的至少一种。The first way: the reporting threshold value of the touch screen is increased by a preset threshold value, and the reporting threshold value is used to limit at least one of touch duration, touch signal strength and touch area size.
其中,该预设阈值可以由用户根据实际需求自定义设置,也可以由该终端默认设置,本公开实施例对此不做限定。The preset threshold may be set by the user according to actual needs, or may be set by default by the terminal, which is not limited in this embodiment of the present disclosure.
需要说明的是,在本发明实施例中,实际上可以将该触摸屏中除了该触摸按键之外的其它触摸区域的上报门限值均增加预设阈值。或者,也可以将该触摸屏中的触摸按键的上报门限值均增加预设阈值。再或者,还可以将该触摸屏中的触摸按键和除了触摸按键之外的其它触摸区域的上报门限值均增加预设阈值,本公开实施例对此不做限定。It should be noted that, in this embodiment of the present invention, in fact, the reporting thresholds of other touch areas on the touch screen other than the touch button may all be increased by a preset threshold. Alternatively, the reporting thresholds of the touch keys in the touch screen may all be increased by a preset threshold. Alternatively, the reporting thresholds of the touch keys in the touch screen and other touch areas other than the touch keys may be increased by a preset threshold, which is not limited in this embodiment of the present disclosure.
在实际实现中,如果该射频信号产生的干扰高于该上报门限值,则容易导致该触摸屏模块进行错误上报,也即是,实际上用户并没有触摸该触摸屏,该触摸信号是由该射频信号触发的,如此,即会导致触摸屏进行错误上报,从而导致工作出现异常。为此,该终端可以通过该触摸屏模块提高该上报门限值。In actual implementation, if the interference generated by the radio frequency signal is higher than the reporting threshold, it is easy to cause the touch screen module to report incorrectly, that is, the user does not actually touch the touch screen, and the touch signal is generated by the radio frequency If the signal is triggered, this will cause the touch screen to report incorrectly, resulting in abnormal work. To this end, the terminal may increase the reporting threshold through the touch screen module.
例如,在一种可能的应用场景中,当终端开启手套操作模式(即用户带着手套也可以操作手机)时,此时的上报门限值比正常模式要低,射频信号的干扰噪声会导致触摸屏模块上报异常。在该种情况下,若状态机模块告知触摸屏模块将有辐射天线干扰,预计辐射持续时长为20ms,发射时间间隔为500ms,则触摸屏模块可以以相同的发射时间间隔,暂时提高上报门限值,如提高上报门限值并维持20ms,如此,即可规避射频信号的干扰。For example, in a possible application scenario, when the terminal turns on the glove operation mode (that is, the user can operate the mobile phone with gloves), the reporting threshold at this time is lower than that in the normal mode, and the interference noise of the radio frequency signal will cause The touch screen module reports an exception. In this case, if the state machine module informs the touch screen module that there will be radiation antenna interference, the estimated radiation duration is 20ms, and the transmission time interval is 500ms, the touch screen module can temporarily increase the reporting threshold at the same transmission time interval. If the reporting threshold is increased and maintained for 20ms, the interference of radio frequency signals can be avoided.
第二种方式:启动多帧滤波算法,该多帧滤波算法用于在该触摸条件中增加触摸状态均符合该触摸屏的上报门限值的次数。The second way: start a multi-frame filtering algorithm, and the multi-frame filtering algorithm is used to increase the number of times that the touch states all meet the reporting threshold of the touch screen in the touch condition.
这里需要说明的是,在无干扰情况下,终端不会启动多帧滤波算法,即该多帧滤波算法通常处于关闭状态。It should be noted here that in the case of no interference, the terminal will not start the multi-frame filtering algorithm, that is, the multi-frame filtering algorithm is usually in a closed state.
在实际应用场景中,由于射频信号产生的干扰时长是有限的,因此,为了规避该射频信号产生的干扰,该终端中的触摸屏模块还可以启动多帧滤波算法。如此,该触摸屏模块就会多次检测触摸状态是否一致符合该触摸屏的上报门限值,或者说,检测该触摸状态符合该触摸屏的上报门限值的次数是否达到预设次数。In a practical application scenario, since the duration of the interference generated by the radio frequency signal is limited, the touch screen module in the terminal can also start a multi-frame filtering algorithm in order to avoid the interference generated by the radio frequency signal. In this way, the touch screen module will repeatedly detect whether the touch state conforms to the reporting threshold of the touch screen, or, in other words, detects whether the number of times the touch state conforms to the reporting threshold of the touch screen reaches a preset number of times.
其中,该预设次数可以由用户根据实际需求自定义设置,也可以由终端默认设置,本公开实施例对此不作限定。The preset number of times may be set by the user according to actual needs, or may be set by default by the terminal, which is not limited in this embodiment of the present disclosure.
进一步地,如果检测该触摸状态一致符合该触摸屏的上报门限值,则该触摸屏模块才确定触摸信号是由用户触发的,否则,则认为该触摸信号是由射频信号触发的。由此可见,启动多帧滤波算法后同样可以达到规避射频信号的干扰的效果。Further, the touch screen module determines that the touch signal is triggered by the user only if it is detected that the touch state conforms to the reporting threshold of the touch screen; otherwise, the touch signal is considered to be triggered by a radio frequency signal. It can be seen that after starting the multi-frame filtering algorithm, the effect of avoiding the interference of the radio frequency signal can also be achieved.
需要说明的是,这里仅是以更改该目标触摸按键的触摸条件包括上述几种可能的实现方式中为例进行说明。在实际实现中,更改该目标触摸按键的触摸条件还可以包括其它形式,例如,还可以关闭触摸消息上报功能,即关闭触摸功能,或者,还可以通过复位方式对软件和硬件进行校准等,本公开实施例对此不作限定。It should be noted that, here is only an example of changing the touch condition of the target touch key including the above several possible implementation manners. In actual implementation, changing the touch condition of the target touch button may also include other forms. For example, the touch message reporting function can also be turned off, that is, the touch function can be turned off, or the software and hardware can also be calibrated by resetting. The disclosed embodiments are not limited in this regard.
在步骤303中,基于更改后的触摸条件对该触摸屏进行控制。In
在实际应用中,当将触摸屏的触摸条件更改后,可以规避射频信号的干扰,例如,若将触摸屏的上报门限值提高,则可以使得射频信号产生的干扰处于上报门限值以下,也即是,当基于更改后的触摸条件对触摸屏进行控制时,可以避免射频信号的干扰带来的错误上报,以避免触摸屏出现误操作,从而保证触摸屏正常工作。In practical applications, when the touch condition of the touch screen is changed, the interference of the radio frequency signal can be avoided. For example, if the reporting threshold of the touch screen is increased, the interference generated by the radio frequency signal can be kept below the reporting threshold, that is, Yes, when the touch screen is controlled based on the changed touch conditions, it is possible to avoid false reporting caused by the interference of radio frequency signals, so as to avoid misoperation of the touch screen, so as to ensure the normal operation of the touch screen.
在本公开实施例中,确定待输出射频信号的射频状态信息,以根据该射频状态信息更改触摸屏的触摸条件,也即是,更改触摸屏检测触摸操作所满足的条件,并基于更改后的触摸条件对触摸屏进行控制,如此,可以规避掉射频信号对触摸屏产生的影响,避免触摸屏工作出现异常。In the embodiment of the present disclosure, the radio frequency state information of the radio frequency signal to be output is determined, so as to change the touch condition of the touch screen according to the radio frequency state information, that is, to change the condition satisfied by the touch screen to detect the touch operation, and based on the changed touch condition The touch screen is controlled, so that the influence of the radio frequency signal on the touch screen can be avoided, and the abnormal operation of the touch screen can be avoided.
需要说明的是,上述图2和图3所示实施例仅是示例性的,在实际实现中,当该射频状态信息包括其它内容时,也可以采用上述方式实现,或采用上述提及的实现方式结合实现。例如,当该射频状态信息同时包括发射频率、发射功率、发射时间间隔和发射持续时长时,则在实现过程中,可以根据发射频率、发射功率确定目标触摸按键,之后,每隔上述发射时间间隔,更改该目标触摸按键的触摸条件并维持上述发射持续时长。It should be noted that the above-mentioned embodiments shown in FIG. 2 and FIG. 3 are only exemplary. In actual implementation, when the radio frequency status information includes other contents, the above-mentioned methods can also be used to implement, or the above-mentioned implementation can be adopted. way to implement. For example, when the radio frequency status information simultaneously includes the transmission frequency, transmission power, transmission time interval and transmission duration, in the implementation process, the target touch button can be determined according to the transmission frequency and transmission power, and thereafter, every above-mentioned transmission time interval , change the touch condition of the target touch button and maintain the above emission duration.
图4是根据一示例性实施例示出的一种触摸屏控制装置的结构示意图。参照图4,该装置包括确定模块410,更改模块420和控制模块430。FIG. 4 is a schematic structural diagram of a touch screen control device according to an exemplary embodiment. Referring to FIG. 4 , the apparatus includes a determination module 410 , a modification module 420 and a control module 430 .
该确定模块410,用于确定待输出射频信号的射频状态信息,所述射频状态信息用于描述所述射频信号的输出状态;The determining module 410 is configured to determine radio frequency state information of the radio frequency signal to be output, where the radio frequency state information is used to describe the output state of the radio frequency signal;
该更改模块420,用于基于所述射频状态信息,更改触摸屏的触摸条件,所述触摸条件是指所述触摸屏检测到触摸操作所满足的条件;The modification module 420 is configured to modify a touch condition of the touch screen based on the radio frequency state information, where the touch condition refers to a condition satisfied by the touch screen detecting a touch operation;
该控制模块430,用于基于更改后的触摸条件对所述触摸屏进行控制。The control module 430 is configured to control the touch screen based on the modified touch condition.
可选地,该射频状态信息包括发射频率、发射功率、发射时间间隔和发射持续时长中的至少一个。Optionally, the radio frequency state information includes at least one of transmission frequency, transmission power, transmission time interval and transmission duration.
可选地,所述更改模块420用于:Optionally, the modification module 420 is used to:
当所述射频状态信息包括发射频率和发射功率时,确定所述触摸屏中的目标触摸按键,所述目标触摸按键是指受工作频率为所述发射频率且最大发射功率为所述发射功率的射频信号影响的按键;When the radio frequency state information includes the transmission frequency and the transmission power, determine the target touch key in the touch screen, and the target touch key refers to the radio frequency whose operating frequency is the transmission frequency and the maximum transmission power is the transmission power. Signal-affected keys;
更改所述目标触摸按键的触摸条件。Change the touch condition of the target touch key.
可选地,所述更改模块420还用于:Optionally, the modification module 420 is also used for:
当所述射频状态信息包括发射时间间隔和发射持续时长时,每隔所述发射时间间隔,更改所述触摸屏的触摸条件并维持所述发射持续时长。When the radio frequency state information includes a transmission time interval and a transmission duration, the touch condition of the touch screen is changed at every transmission time interval and the transmission duration is maintained.
可选地,所述更改模块420还用于:Optionally, the modification module 420 is also used for:
将所述触摸屏的上报门限值增加预设阈值,所述上报门限值用于限定触摸时长、触摸信号强度和触摸面积大小中的至少一种;或者,A preset threshold is added to the reporting threshold value of the touch screen, where the reporting threshold value is used to define at least one of touch duration, touch signal strength, and touch area size; or,
启动多帧滤波算法,所述多帧滤波算法用于在所述触摸条件中增加触摸状态均符合所述触摸屏的上报门限值的次数。A multi-frame filtering algorithm is started, and the multi-frame filtering algorithm is used to increase the number of times that the touch states all meet the reporting threshold of the touch screen in the touch condition.
在本公开实施例中,确定待输出射频信号的射频状态信息,以根据该射频状态信息更改触摸屏的触摸条件,也即是,更改触摸屏检测触摸操作所满足的条件,并基于更改后的触摸条件对触摸屏进行控制,如此,可以规避掉射频信号对触摸屏产生的影响,避免触摸屏工作出现异常。In the embodiment of the present disclosure, the radio frequency state information of the radio frequency signal to be output is determined, so as to change the touch condition of the touch screen according to the radio frequency state information, that is, to change the condition satisfied by the touch screen to detect the touch operation, and based on the changed touch condition By controlling the touch screen, the influence of the radio frequency signal on the touch screen can be avoided, and the abnormal operation of the touch screen can be avoided.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the above-mentioned embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be described in detail here.
图5是根据一示例性实施例示出的一种触摸屏控制装置500的框图。例如,装置500可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。FIG. 5 is a block diagram of a touch
参照图5,装置500可以包括以下一个或多个组件:处理组件502,存储器504,电源组件506,多媒体组件508,音频组件510,输入/输出(I/O)的接口512,传感器组件514,以及通信组件516。5, the
处理组件502通常控制装置500的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件502可以包括一个或多个处理器520来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件502可以包括一个或多个模块,便于处理组件502和其他组件之间的交互。例如,处理组件502可以包括多媒体模块,以方便多媒体组件508和处理组件502之间的交互。The
存储器504被配置为存储各种类型的数据以支持在装置500的操作。这些数据的示例包括用于在装置500上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器504可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电源组件506为装置500的各种组件提供电源。电源组件506可以包括电源管理系统,一个或多个电源,及其他与为装置500生成、管理和分配电源相关联的组件。
多媒体组件508包括在所述装置500和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件508包括一个前置摄像头和/或后置摄像头。当装置500处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。
音频组件510被配置为输出和/或输入音频信号。例如,音频组件510包括一个麦克风(MIC),当装置500处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器504或经由通信组件516发送。在一些实施例中,音频组件510还包括一个扬声器,用于输出音频信号。
I/O接口512为处理组件502和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/
传感器组件514包括一个或多个传感器,用于为装置500提供各个方面的状态评估。例如,传感器组件514可以检测到装置500的打开/关闭状态,组件的相对定位,例如所述组件为装置500的显示器和小键盘,传感器组件514还可以检测装置500或装置500一个组件的位置改变,用户与装置500接触的存在或不存在,装置500方位或加速/减速和装置500的温度变化。传感器组件514可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件514还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件514还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件516被配置为便于装置500和其他设备之间有线或无线方式的通信。装置500可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件516经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件516还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,装置500可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述图1、图2或图3所示实施例提供的触摸屏控制方法。In an exemplary embodiment,
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器404,上述指令可由装置400的处理器420执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as a memory 404 including instructions, executable by the processor 420 of the apparatus 400 to perform the method described above. For example, the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
一种非临时性计算机可读存储介质,当所述存储介质中的指令由移动终端的处理器执行时,使得移动终端能够执行上述图1、图2或图3所示实施例提供的触摸屏控制方法。A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by the processor of the mobile terminal, the mobile terminal can execute the touch screen control provided by the embodiment shown in FIG. 1 , FIG. 2 or FIG. 3 method.
一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述图1、图2或图3所示实施例提供的触摸屏控制方法。A computer program product containing instructions, when running on a computer, causes the computer to execute the touch screen control method provided by the embodiment shown in FIG. 1 , FIG. 2 or FIG. 3 .
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or techniques in the technical field not disclosed by the present disclosure . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It is to be understood that the present disclosure is not limited to the precise structures described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710752730.0ACN107491214B (en) | 2017-08-28 | 2017-08-28 | Touch screen control method, device and storage medium |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710752730.0ACN107491214B (en) | 2017-08-28 | 2017-08-28 | Touch screen control method, device and storage medium |
| Publication Number | Publication Date |
|---|---|
| CN107491214A CN107491214A (en) | 2017-12-19 |
| CN107491214Btrue CN107491214B (en) | 2020-09-29 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710752730.0AActiveCN107491214B (en) | 2017-08-28 | 2017-08-28 | Touch screen control method, device and storage medium |
| Country | Link |
|---|---|
| CN (1) | CN107491214B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108052231A (en)* | 2018-01-03 | 2018-05-18 | 努比亚技术有限公司 | Sensitivity of touch screen method of adjustment, terminal and storage medium |
| CN108762544A (en)* | 2018-04-25 | 2018-11-06 | 维沃移动通信有限公司 | The control method of a kind of electronic equipment and touching display screen |
| CN108900669B (en)* | 2018-06-26 | 2021-01-15 | 维沃移动通信有限公司 | Touch screen scanning method and mobile terminal |
| CN109085953B (en)* | 2018-08-17 | 2021-07-30 | 维沃移动通信有限公司 | A method and terminal device for reducing interference |
| CN112068721B (en)* | 2019-06-10 | 2024-11-05 | 北京小米移动软件有限公司 | Touch signal response method, device and storage medium |
| TWI699710B (en)* | 2019-10-08 | 2020-07-21 | 大陸商北京集創北方科技股份有限公司 | Method for quickly unlocking fingerprint in sleep state and information processing device |
| CN111340981B (en)* | 2020-02-14 | 2021-11-16 | 多玛凯拔科技有限公司 | Method and device for preventing RFID card reader from interfering touch key |
| CN116229626A (en)* | 2022-12-30 | 2023-06-06 | 广东名门锁业有限公司 | Anti-interference intelligent door lock |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102043518A (en)* | 2009-10-14 | 2011-05-04 | Nec卡西欧移动通信株式会社 | Electronic device and recording medium |
| CN103518175A (en)* | 2011-04-01 | 2014-01-15 | 高通股份有限公司 | Touchscreen controller with adjustable parameters |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140078094A1 (en)* | 2012-09-14 | 2014-03-20 | Songnan Yang | Co-existence of touch sensor and nfc antenna |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102043518A (en)* | 2009-10-14 | 2011-05-04 | Nec卡西欧移动通信株式会社 | Electronic device and recording medium |
| CN103518175A (en)* | 2011-04-01 | 2014-01-15 | 高通股份有限公司 | Touchscreen controller with adjustable parameters |
| Publication number | Publication date |
|---|---|
| CN107491214A (en) | 2017-12-19 |
| Publication | Publication Date | Title |
|---|---|---|
| CN107491214B (en) | Touch screen control method, device and storage medium | |
| CN109410833B (en) | Ambient light detection method, ambient light detection device, terminal and storage medium | |
| US20210377798A1 (en) | Method and apparatus for detecting maximum transmission unit value | |
| CN107205084B (en) | Application program network speed processing method, device and terminal | |
| CN105977640B (en) | Antenna tuning method, apparatus, antenna and terminal device | |
| CN107820684B (en) | Channel detection method, information sending method, device and communication equipment | |
| CN113138557B (en) | Household equipment control method and device and storage medium | |
| CN110875769B (en) | Wireless communication device and antenna switching method | |
| EP3176984B1 (en) | Method and device for processing information | |
| CN106657737B (en) | Camera components and terminals | |
| CN105912204B (en) | Method and device for starting application interface | |
| CN111371837A (en) | Function presenting method, function presenting device, and storage medium | |
| CN107526471B (en) | Touch screen control method and device and storage medium | |
| CN109818433A (en) | Wireless charging system and charging alignment method, device and storage medium | |
| CN110547029A (en) | Information configuration and reporting method and device, base station and user equipment | |
| CN107463372B (en) | Data-driven page updating method and device | |
| CN110169101B (en) | Data transmission method and device | |
| CN114791974A (en) | Model service processing method, device and equipment | |
| CN106484296A (en) | Mobile terminal prevents processing method, device and the equipment of false touch | |
| CN107682101B (en) | Noise detection method and device and electronic equipment | |
| CN107819871B (en) | Application state determination method and device | |
| CN107484233B (en) | Terminal vibration method, terminal and computer-readable storage medium | |
| CN106255063A (en) | Address sending method and equipment | |
| CN112987906B (en) | Method and device for reducing display power consumption | |
| CN108829532A (en) | The method, apparatus and readable storage medium storing program for executing of fingerprint detection |
| 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 | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |