





技术领域technical field
本公开涉及计算机通信技术领域,尤其涉及一种触控上报方法及装置。The present disclosure relates to the field of computer communication technologies, and in particular, to a touch reporting method and device.
背景技术Background technique
随着终端技术的发展,部分终端安装有触摸屏,用户通过在触摸屏上执行触控操作,触发终端执行相应操作。With the development of terminal technology, some terminals are installed with a touch screen, and a user performs a touch operation on the touch screen to trigger the terminal to perform a corresponding operation.
目前,触摸屏包括屏幕和设于屏幕下方的压力传感器,压力传感器用于检测作用于屏幕上的触控操作的压力值。在终端使用过程中,终端确定压力传感器检测的压力值是否大于压力阈值,若大于,则上报触控点坐标,触发终端基于触控点坐标执行相应操作。At present, a touch screen includes a screen and a pressure sensor disposed below the screen, and the pressure sensor is used to detect a pressure value of a touch operation acting on the screen. During the use of the terminal, the terminal determines whether the pressure value detected by the pressure sensor is greater than the pressure threshold, and if it is greater than the pressure threshold, reports the coordinates of the touch point, and triggers the terminal to perform a corresponding operation based on the coordinates of the touch point.
相关技术基于传感器检测的压力值确定是否上报触控点坐标,触控上报方法单一。The related art determines whether to report the coordinates of the touch point based on the pressure value detected by the sensor, and the touch reporting method is single.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本公开提供一种触控上报方法及装置,以解决上述技术问题。In view of this, the present disclosure provides a touch reporting method and device to solve the above-mentioned technical problems.
根据本公开实施例的第一方面,提供了一种触控上报方法,应用于终端,所述终端具有触控屏,所述触控屏包括屏幕和位于所述屏幕下方的传感器阵列,所述方法包括:According to a first aspect of the embodiments of the present disclosure, a touch reporting method is provided, which is applied to a terminal, where the terminal has a touch screen, the touch screen includes a screen and a sensor array located below the screen, the Methods include:
获取所述传感器阵列中多个传感器检测的触控信号;acquiring touch signals detected by a plurality of sensors in the sensor array;
从获取的所有触控信号中选出手指触控信号;Select the finger touch signal from all the acquired touch signals;
从所有手指触控信号中选出满足目标信号强度条件的目标触控信号;Select the target touch signal that satisfies the target signal strength condition from all the finger touch signals;
基于所述目标触控信号的数量和所述手指触控信号的数量,确定是否上报触控点坐标。Whether to report the coordinates of the touch point is determined based on the number of the target touch signals and the number of the finger touch signals.
可选地,所述基于所述目标触控信号的数量和所述手指触控信号的数量,确定是否上报触控点坐标,包括:Optionally, the determining whether to report the coordinates of the touch point based on the number of the target touch signals and the number of the finger touch signals includes:
计算所述目标触控信号的数量与所述手指触控信号的数量的比值;calculating the ratio of the number of the target touch signals to the number of the finger touch signals;
确定所述比值是否大于或等于预设比值。It is determined whether the ratio is greater than or equal to a preset ratio.
可选地,所述从所有手指触控信号中选出满足目标信号强度条件的目标触控信号,包括:Optionally, selecting a target touch signal that satisfies the target signal strength condition from all finger touch signals includes:
确定目标强度阈值;Determine the target intensity threshold;
从所述所有手指触控信号中选出信号强度大于所述目标强度阈值的所述目标触控信号。The target touch signal whose signal strength is greater than the target strength threshold is selected from all the finger touch signals.
可选地,所述确定目标强度阈值,包括:Optionally, the determining the target intensity threshold includes:
基于所述所有手指触控信号的信号强度,确定所述终端的当前使用状态;Determine the current use state of the terminal based on the signal strengths of the touch signals of all fingers;
基于所述终端的终端信息,确定所述目标强度阈值,所述终端信息包括:所述当前使用状态。The target strength threshold is determined based on terminal information of the terminal, where the terminal information includes: the current usage state.
可选地,所述基于所述所有手指触控信号的信号强度,确定所述终端的当前使用状态,包括:Optionally, determining the current use state of the terminal based on the signal strengths of the touch signals of all fingers, including:
确定所述所有手指触控信号中,信号强度大于第一预设值的手指触控信号和信号强度等于所述第一预设值的手指触控信号的总数量,以及信号强度小于所述第一预设值的手指触控信号的数量,并基于所述总数量和所述数量,确定所述当前使用状态;或者,Determine that among all the finger touch signals, the finger touch signals whose signal strength is greater than the first preset value and the total number of finger touch signals whose signal strength is equal to the first preset value, and the signal strength is less than the first preset value. A preset number of finger touch signals, and based on the total number and the number, the current use state is determined; or,
确定所述所有手指触控信号中,在手指触控区域的中心区域内检测的手指触控信号的信号强度,是否小于在所述手指触控区域的边缘区域内检测的手指触控信号的信号强度,基于确定结果,确定所述当前使用状态;或者,Determine whether, among all the finger touch signals, the signal strength of the finger touch signal detected in the central area of the finger touch area is smaller than the signal strength of the finger touch signal detected in the edge area of the finger touch area Intensity, based on the determination result, to determine the current state of use; or,
确定所述所有手指触控信号中,信号强度小于第二预设值的手指触控信号对应的手指触控区域,是否位于信号强度大于所述第二预设值的手指触控信号和信号强度等于所述第二预设值的手指触控信号对应的手指触控总区域内,基于确定结果,确定所述当前使用状态。Determine whether the finger touch area corresponding to the finger touch signal whose signal strength is less than the second preset value among all the finger touch signals is located in the finger touch signal and the signal strength whose signal strength is greater than the second preset value Within the total finger touch area corresponding to the finger touch signal equal to the second preset value, the current use state is determined based on the determination result.
可选地,所述终端信息还包括:所述触摸屏的硬件性能;所述基于所述终端的终端信息,确定所述目标强度阈值,包括:Optionally, the terminal information further includes: hardware performance of the touch screen; and determining the target intensity threshold based on the terminal information of the terminal includes:
确定所述触摸屏的所述硬件性能;determining the hardware performance of the touch screen;
确定与所述当前使用状态和所述硬件性能对应的所述目标强度阈值。The target intensity threshold corresponding to the current usage state and the hardware performance is determined.
可选地,所述触控屏划分为主屏和侧屏;所述从获取的所有触控信号中选出手指触控信号,包括:Optionally, the touch screen is divided into a main screen and a side screen; the finger touch signal selected from all acquired touch signals includes:
从所述所有触控信号中选出所述侧屏中传感器检测的触控信号;Select the touch signal detected by the sensor in the side screen from all the touch signals;
从所述侧屏中传感器检测的触控信号中选出所述手指触控信号;Selecting the finger touch signal from the touch signals detected by the sensor in the side screen;
所述基于所述目标触控信号的数量和所述手指触控信号的数量,确定是否上报触控点坐标,包括:The determining whether to report the coordinates of the touch point based on the number of the target touch signals and the number of the finger touch signals includes:
基于所述目标触控信号的数量和所述手指触控信号的数量,确定是否上报所述侧屏上的触控点坐标。Based on the number of the target touch signals and the number of the finger touch signals, it is determined whether to report the coordinates of the touch points on the side screen.
根据本公开实施例的第二方面,提供了一种触控上报装置,应用于终端,所述终端具有触控屏,所述触控屏包括屏幕和位于所述屏幕下方的传感器阵列,所述装置包括:According to a second aspect of the embodiments of the present disclosure, a touch reporting device is provided, which is applied to a terminal. The terminal has a touch screen, and the touch screen includes a screen and a sensor array located below the screen. The device includes:
获取模块,被配置为获取所述传感器阵列中多个传感器检测的触控信号;an acquisition module, configured to acquire touch signals detected by a plurality of sensors in the sensor array;
第一选出模块,被配置为从获取的所有触控信号中选出手指触控信号;The first selection module is configured to select finger touch signals from all acquired touch signals;
第二选出模块,被配置为从所有手指触控信号中选出满足目标信号强度条件的目标触控信号;The second selection module is configured to select the target touch signal that satisfies the target signal strength condition from all the finger touch signals;
确定模块,被配置为基于所述目标触控信号的数量和所述手指触控信号的数量,确定是否上报触控点坐标。The determining module is configured to determine whether to report the coordinates of the touch point based on the number of the target touch signals and the number of the finger touch signals.
可选地,所述确定模块,包括:Optionally, the determining module includes:
计算子模块,被配置为计算所述目标触控信号的数量与所述手指触控信号的数量的比值;a calculation submodule, configured to calculate the ratio of the number of the target touch signals to the number of the finger touch signals;
第一确定子模块,被配置为确定所述比值是否大于或等于预设比值。The first determination sub-module is configured to determine whether the ratio is greater than or equal to a preset ratio.
可选地,所述第二选出模块,包括:Optionally, the second selection module includes:
第二确定子模块,被配置为确定目标强度阈值;a second determination submodule, configured to determine the target intensity threshold;
第一选出子模块,被配置为从所述所有手指触控信号中选出信号强度大于所述目标强度阈值的所述目标触控信号。The first selection sub-module is configured to select the target touch signal whose signal strength is greater than the target strength threshold from all the finger touch signals.
可选地,所述第二确定子模块,包括:Optionally, the second determination submodule includes:
第一确定单元,被配置为基于所述所有手指触控信号的信号强度,确定所述终端的当前使用状态;a first determining unit, configured to determine the current use state of the terminal based on the signal strengths of the touch signals of all fingers;
第二确定单元,被配置为基于所述终端的终端信息,确定所述目标强度阈值,所述终端信息包括:所述当前使用状态。The second determination unit is configured to determine the target strength threshold based on terminal information of the terminal, where the terminal information includes: the current usage state.
可选地,所述第一确定单元,包括:Optionally, the first determining unit includes:
第一确定子单元,被配置为确定所述所有手指触控信号中,信号强度大于第一预设值的手指触控信号和信号强度等于所述第一预设值的手指触控信号的总数量,以及信号强度小于所述第一预设值的手指触控信号的数量,并基于所述总数量和所述数量,确定所述当前使用状态;或者,The first determination subunit is configured to determine, among all the finger touch signals, the sum of the finger touch signals whose signal strength is greater than the first preset value and the finger touch signals whose signal strength is equal to the first preset value; number, and the number of finger touch signals whose signal strength is less than the first preset value, and determine the current use state based on the total number and the number; or,
第二确定子单元,被配置为确定所述所有手指触控信号中,在手指触控区域的中心区域内检测的手指触控信号的信号强度,是否小于在所述手指触控区域的边缘区域内检测的手指触控信号的信号强度,基于确定结果,确定所述当前使用状态;或者,The second determination subunit is configured to determine whether, among all the finger touch signals, the signal strength of the finger touch signal detected in the central area of the finger touch area is smaller than that in the edge area of the finger touch area The signal strength of the finger touch signal detected in the internal, and based on the determination result, determine the current use state; or,
第三确定子单元,被配置为确定所述所有手指触控信号中,信号强度小于第二预设值的手指触控信号对应的手指触控区域,是否位于信号强度大于所述第二预设值的手指触控信号和信号强度等于所述第二预设值的手指触控信号对应的手指触控总区域内,基于确定结果,确定所述当前使用状态。The third determination subunit is configured to determine whether the finger touch area corresponding to the finger touch signal whose signal strength is less than the second preset value among all the finger touch signals is located in the finger touch area whose signal strength is greater than the second preset value The value of the finger touch signal and the signal strength equal to the second preset value are within the total finger touch area corresponding to the finger touch signal, and the current use state is determined based on the determination result.
可选地,所述终端信息还包括:所述触摸屏的硬件性能;所述第二确定单元,包括:Optionally, the terminal information further includes: hardware performance of the touch screen; the second determining unit includes:
第四确定子单元,被配置为确定所述触摸屏的所述硬件性能;a fourth determination subunit, configured to determine the hardware performance of the touch screen;
第五确定子单元,被配置为确定与所述当前使用状态和所述硬件性能对应的所述目标强度阈值。A fifth determination subunit is configured to determine the target intensity threshold corresponding to the current usage state and the hardware performance.
可选地,所述触控屏划分为主屏和侧屏;所述第一选出模块,包括:Optionally, the touch screen is divided into a main screen and a side screen; the first selection module includes:
第二选出子模块,被配置为从所述所有触控信号中选出所述侧屏中传感器检测的触控信号;The second selection sub-module is configured to select the touch signal detected by the sensor in the side screen from all the touch signals;
第三选出子模块,被配置为从所述侧屏中传感器检测的触控信号中选出所述手指触控信号;The third selection sub-module is configured to select the finger touch signal from the touch signals detected by the sensor in the side screen;
所述确定模块,被配置为基于所述目标触控信号的数量和所述手指触控信号的数量,确定是否上报所述侧屏上的触控点坐标。The determining module is configured to determine whether to report the coordinates of the touch point on the side screen based on the number of the target touch signals and the number of the finger touch signals.
根据本公开实施例的第三方面,提供了一种非临时性计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述第一方面任一项所述方法的步骤。According to a third aspect of the embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the steps of any of the methods described in the first aspect above .
根据本公开实施例的第四方面,提供了一种触控上报装置,包括:According to a fourth aspect of the embodiments of the present disclosure, a touch reporting device is provided, including:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为:wherein the processor is configured to:
获取所述传感器阵列中多个传感器检测的触控信号;acquiring touch signals detected by a plurality of sensors in the sensor array;
从获取的所有触控信号中选出手指触控信号;Select the finger touch signal from all the acquired touch signals;
从所有手指触控信号中选出满足目标信号强度条件的目标触控信号;Select the target touch signal that satisfies the target signal strength condition from all the finger touch signals;
基于所述目标触控信号的数量和所述手指触控信号的数量,确定是否上报触控点坐标。Whether to report the coordinates of the touch point is determined based on the number of the target touch signals and the number of the finger touch signals.
本公开实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
本公开中,终端获取传感器阵列中多个传感器检测的触控信号后,从获取的所有触控信号中选出手指触控信号,从所有手指触控信号中选出满足目标信号强度条件的目标触控信号,基于目标触控信号的数量和手指触控信号的数量,确定是否上报触控点坐标,从而提供了一种新的触控上报方法,提高了终端的触控性能。In the present disclosure, after acquiring touch signals detected by multiple sensors in the sensor array, the terminal selects a finger touch signal from all the acquired touch signals, and selects a target that satisfies the target signal strength condition from all the finger touch signals. The touch signal determines whether to report the coordinates of the touch point based on the number of target touch signals and the number of finger touch signals, thereby providing a new touch reporting method and improving the touch performance of the terminal.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。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
图1是根据一示例性实施例示出的一种触控上报方法流程图;FIG. 1 is a flowchart of a touch reporting method according to an exemplary embodiment;
图2是根据一示例性实施例示出的一种触控操作的示意图;FIG. 2 is a schematic diagram illustrating a touch operation according to an exemplary embodiment;
图3是根据一示例性实施例示出的另一种触控操作的示意图;FIG. 3 is a schematic diagram illustrating another touch operation according to an exemplary embodiment;
图4是根据一示例性实施例示出的一种触控上报装置框图;FIG. 4 is a block diagram of a touch reporting device according to an exemplary embodiment;
图5是根据一示例性实施例示出的一种用于触控上报装置的一结构示意图;FIG. 5 is a schematic structural diagram of a touch reporting device according to an exemplary embodiment;
图6是根据一示例性实施例示出的另一种用于触控上报装置的一结构示意图。FIG. 6 is a schematic structural diagram of another device for touch reporting according to an exemplary embodiment.
具体实施方式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.
在本公开使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本公开。在本公开和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to limit the present disclosure. As used in this disclosure and the appended claims, the singular forms "a," "the," and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It will also be understood that the term "and/or" as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.
应当理解,尽管在本公开可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本公开范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。It should be understood that although the terms first, second, third, etc. may be used in this disclosure to describe various pieces of information, such information should not be limited by these terms. These terms are only used to distinguish the same type of information from each other. For example, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information, without departing from the scope of the present disclosure. Depending on the context, the word "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determining."
本公开提供了一种触控上报方法,可应用于终端,终端安装有触控屏,触控屏包括屏幕和位于屏幕下方的传感器阵列,传感器阵列包括阵列排布的大量传感器,传感器用于检测触控信号,传感器可以是压力传感器。The present disclosure provides a touch reporting method, which can be applied to a terminal. The terminal is equipped with a touch screen. The touch screen includes a screen and a sensor array located below the screen. The sensor array includes a large number of sensors arranged in an array, and the sensors are used to detect The touch signal, the sensor can be a pressure sensor.
本公开提供的触控上报方法具体可应用于终端中的处理器,触摸屏还可以包括触摸屏芯片,触摸屏芯片与传感器阵列连接,触摸屏芯片接收传感器阵列中传感器检测并发送的触控信号,同时触摸屏芯片与处理器连接,触摸屏芯片将传感器发送的触控信号发送给处理器,使得处理器基于触控信号,执行相应操作。The touch reporting method provided by the present disclosure can be specifically applied to a processor in a terminal. The touch screen may further include a touch screen chip. The touch screen chip is connected to the sensor array. The touch screen chip receives touch signals detected and sent by the sensors in the sensor array. At the same time, the touch screen chip Connected to the processor, the touch screen chip sends the touch signal sent by the sensor to the processor, so that the processor performs corresponding operations based on the touch signal.
终端可以是具有上述结构和功能的手机、平板、可穿戴电子设备等。The terminal may be a mobile phone, a tablet, a wearable electronic device, etc. with the above structures and functions.
图1根据一示例性实施例示出的一种触控上报方法流程图,图1所示的触控上报方法包括以下步骤:FIG. 1 shows a flowchart of a touch reporting method according to an exemplary embodiment. The touch reporting method shown in FIG. 1 includes the following steps:
在步骤101中,获取传感器阵列中多个传感器检测的触控信号。In
基于触摸屏的结构和性能,当触摸屏上存在触控操作时,触控区域内的传感器检测到触控信号,当触摸屏上存在悬浮物时,悬浮物下方的传感器也可能检测到触控信号,在其他场景下传感器也可能检测到触控信号。Based on the structure and performance of the touch screen, when there is a touch operation on the touch screen, the sensor in the touch area detects the touch signal. When there is a suspended object on the touch screen, the sensor below the suspended object may also detect the touch signal. The sensor may also detect touch signals in other scenarios.
应用中,传感器将检测的触控信号发送给触摸屏芯片,触摸屏芯片可以对触控信号进行数字转换,得到相应的数字信号,将数字信号发送给处理器。在这种情况下,本步骤中终端获取的触控信号可以是经过数字转换后得到的数字信号。In the application, the sensor sends the detected touch signal to the touch screen chip, and the touch screen chip can digitally convert the touch signal to obtain a corresponding digital signal, and send the digital signal to the processor. In this case, the touch signal obtained by the terminal in this step may be a digital signal obtained after digital conversion.
在步骤102中,从获取的所有触控信号中选出手指触控信号。In
基于手指的结构特点,当手指按压触摸屏时,手指中心区域的压力较大,手指边缘区域的压力较小,导致手指中心区域内传感器检测的手指触控信号的信号强度,大于手指边缘区域内传感器检测的手指触控信号的信号强度。Based on the structural characteristics of the finger, when the finger presses the touch screen, the pressure in the central area of the finger is larger, and the pressure in the edge area of the finger is smaller, resulting in the signal strength of the finger touch signal detected by the sensor in the central area of the finger is greater than that in the edge area of the finger. Signal strength of the detected finger touch signal.
基于手指按压操作产生的手指触控信号的上述特点,终端可以确定所有触控信号中,是否存在由内至外依次排布的多个传感器检测的且信号强度逐渐变小的多个触控信号,若存在,则将由内至外依次排布的多个传感器检测的触控信号确定为手指触控信号。其中,多个传感器检测的触控信号的信号强度可以呈梯度减小的变化趋势。Based on the above-mentioned characteristics of the finger touch signals generated by the finger pressing operation, the terminal can determine whether there are multiple touch signals detected by multiple sensors arranged in sequence from the inside to the outside and whose signal strength gradually decreases among all the touch signals. , if it exists, the touch signals detected by the plurality of sensors arranged in sequence from the inside to the outside are determined as the finger touch signals. Wherein, the signal strengths of the touch signals detected by the plurality of sensors may show a changing trend of decreasing gradient.
实际中,终端可以先从获取的所有触控信号中,选出信号强度大于预设强度的触控信号,再从信号强度大于预设强度的触控信号中,选出手指触控信号。In practice, the terminal may first select a touch signal with a signal strength greater than a preset strength from all the acquired touch signals, and then select a finger touch signal from the touch signals with a signal strength greater than the preset strength.
当触控信号为数字信号时,终端可以先从获取的所有触控信号中,选出信号值大于预设值的触控信号,再从信号值大于预设值的触控信号中,选出手指触控信号。When the touch signal is a digital signal, the terminal may first select a touch signal whose signal value is greater than a preset value from all acquired touch signals, and then select a touch signal whose signal value is greater than the preset value from among the touch signals whose signal value is greater than the preset value. Finger touch signal.
在步骤103中,从所有手指触控信号中选出满足目标信号强度条件的目标触控信号。In
在一个实施例中,目标信号强度条件限定了目标强度阈值,终端可以确定目标强度阈值,从所有手指触控信号中选出信号强度大于目标强度阈值的目标触控信号。目标触控信号属于手指触控信号。In one embodiment, the target signal strength condition defines a target strength threshold, and the terminal may determine the target strength threshold, and select a target touch signal whose signal strength is greater than the target strength threshold from all finger touch signals. The target touch signal belongs to the finger touch signal.
目标强度阈值可以是预先设置的、固定的,终端在使用时直接获取,或者,目标强度阈值可以是变化的,终端基于当前的使用信息实时确定。The target intensity threshold may be preset or fixed, and the terminal directly obtains it during use, or the target intensity threshold may be variable, and the terminal determines in real time based on current usage information.
在一个实施例中,终端可以基于所有手指触控信号的信号强度,确定终端的当前使用状态,并基于终端的终端信息,确定目标强度阈值,其中,终端信息包括:终端的当前使用状态。终端的当前使用状态有多种,例如,单指触控状态、多指触控状态、持握状态等。In one embodiment, the terminal may determine the current use status of the terminal based on the signal strengths of all finger touch signals, and determine the target strength threshold based on terminal information of the terminal, where the terminal information includes: the current use status of the terminal. There are various current use states of the terminal, for example, a single-finger touch state, a multi-finger touch state, a holding state, and the like.
在触摸屏划分为主屏和侧屏的情况下,当手指按压在主屏上时,如图2所示,手指完全覆盖在传感器上方,这时具有较大信号强度的触控信号的数量较多;当手指按压在侧屏上时,如图3所示,手指不完全接触屏幕,这时具有较大信号强度的触控信号的数量较少。In the case where the touch screen is divided into the main screen and the side screen, when the finger is pressed on the main screen, as shown in Figure 2, the finger completely covers the sensor, and the number of touch signals with larger signal strength is larger; When the finger is pressed on the side screen, as shown in FIG. 3 , the finger does not completely touch the screen, and at this time, the number of touch signals with larger signal strength is small.
基于此,终端可以确定所有手指触控信号中,信号强度大于第一预设值的手指触控信号和信号强度等于第一预设值的手指触控信号的总数量,以及信号强度小于第一预设值的手指触控信号的数量,并基于所述总数量和数量,确定当前使用状态。Based on this, the terminal can determine, among all the finger touch signals, the total number of finger touch signals whose signal strength is greater than the first preset value and the total number of finger touch signals whose signal strength is equal to the first preset value, and the signal strength is less than the first preset value. The preset value of the number of finger touch signals, and based on the total number and the number, the current use state is determined.
例如,如果信号强度大于和等于第一预设值的手指触控信号的总数量较少,而信号强度小于第一预设值的手指触控信号的数量较多,则确定终端当前处于持握状态。For example, if the total number of finger touch signals whose signal strength is greater than or equal to the first preset value is relatively small, and the number of finger touch signals whose signal strength is less than the first preset value is relatively large, it is determined that the terminal is currently holding state.
主屏和侧屏的连接处呈弧形结构,弧形处屏幕较厚,触控操作的压力经屏幕传输至传感器的过程中压力损失较多,导致传感器检测到的触控信号的信号强度较小。当用户手持终端即终端处于持握状态时,手指中心区域覆盖在屏幕弧形处,手指边缘区域覆盖在其他屏幕区域上,手指中心区域对应的且被传感器检测到的手指触控信号的信号强度较小,手指边缘区域对应的且被传感器检测到的手指触控信号的信号强度较大。The connection between the main screen and the side screen has an arc structure. The screen is thicker at the arc, and the pressure of the touch operation is transmitted to the sensor through the screen. The pressure loss is large, resulting in a small signal strength of the touch signal detected by the sensor. . When the user holds the terminal, that is, the terminal is in the holding state, the center area of the finger covers the arc of the screen, the edge area of the finger covers other screen areas, and the signal strength of the finger touch signal corresponding to the center area of the finger and detected by the sensor If it is smaller, the signal strength of the finger touch signal corresponding to the edge area of the finger and detected by the sensor is larger.
基于此,一种方式,终端可以确定所有手指触控信号中,在手指触控区域的中心区域内检测的手指触控信号的信号强度,是否小于在手指触控区域的边缘区域内检测的手指触控信号的信号强度,基于确定结果,确定终端的当前使用状态。Based on this, in one way, the terminal can determine whether the signal strength of the finger touch signal detected in the central area of the finger touch area is smaller than that of the finger detected in the edge area of the finger touch area among all the finger touch signals. The signal strength of the touch signal is used to determine the current use state of the terminal based on the determination result.
如果在手指触控区域的中心区域内检测的手指触控信号的信号强度,小于在手指触控区域的边缘区域内检测的手指触控信号的信号强度,则确定终端当前处于持握状态。If the signal intensity of the finger touch signal detected in the central area of the finger touch area is lower than the signal intensity of the finger touch signal detected in the edge area of the finger touch area, it is determined that the terminal is currently in a holding state.
当在中心区域内检测的手指触控信号的信号强度非常小时,触控信号图中整个手指触控区域为中空区域,中空区域可以是圆形区域、三角形区域等,中空区域的形状基于实际触控情况确定。终端若确定整个手指触控区域为中空区域,则确定终端当前处于持握状态。When the signal strength of the finger touch signal detected in the central area is very small, the entire finger touch area in the touch signal graph is a hollow area, and the hollow area can be a circular area, a triangular area, etc. The shape of the hollow area is based on the actual touch Control is confirmed. If the terminal determines that the entire finger touch area is a hollow area, it is determined that the terminal is currently in a holding state.
另一种方式,终端可以确定所有手指触控信号中,信号强度小于第二预设值的手指触控信号对应的手指触控区域,是否位于信号强度大于第二预设值的手指触控信号和信号强度等于第二预设值的手指触控信号对应的手指触控总区域内,基于确定结果,确定所述当前使用状态。In another way, the terminal can determine whether the finger touch area corresponding to the finger touch signal whose signal strength is less than the second preset value among all the finger touch signals is located in the finger touch signal whose signal strength is greater than the second preset value. Within the total finger touch area corresponding to the finger touch signal whose signal strength is equal to the second preset value, the current use state is determined based on the determination result.
如果终端确定所有手指触控信号中,信号强度小于第二预设值的手指触控信号对应的手指触控区域,位于信号强度大于第二预设值的手指触控信号和信号强度等于第二预设值的手指触控信号对应的手指触控总区域内,则确定终端当前处于持握状态。If the terminal determines that among all the finger touch signals, the finger touch area corresponding to the finger touch signal whose signal strength is less than the second preset value is located in the finger touch signal whose signal strength is greater than the second preset value and the signal strength is equal to the second If the preset finger touch signal is within the total finger touch area corresponding to the finger touch signal, it is determined that the terminal is currently in a holding state.
当第二预设值非常小时,触控信号图中整个手指触控区域为中空区域。终端若确定整个手指触控区域为中空区域,则确定终端当前处于持握状态。When the second preset value is very small, the entire finger touch area in the touch signal map is a hollow area. If the terminal determines that the entire finger touch area is a hollow area, it is determined that the terminal is currently in a holding state.
终端可以预先建立多组终端的使用状态与强度阈值的对应关系,在应用中,终端可以通过查找预先建立的对应关系,确定与终端的当前使用状态对应的目标强度阈值。The terminal can pre-establish the corresponding relationship between the use states of multiple groups of terminals and the intensity threshold. In the application, the terminal can determine the target intensity threshold corresponding to the current use state of the terminal by searching the pre-established corresponding relationship.
例如,预先建立手持状态与强度阈值a的对应关系、非手持状态与强度阈值b的对应关系、单指触控状态与强度阈值c的对应关系以及三指触控状态与强度阈值d的对应关系,其中,强度阈值c可以大于强度阈值d。For example, the correspondence between the hand-held state and the intensity threshold a, the correspondence between the non-hand-held state and the intensity threshold b, the correspondence between the single-finger touch state and the intensity threshold c, and the correspondence between the three-finger touch state and the intensity threshold d are pre-established , where the intensity threshold c may be greater than the intensity threshold d.
在上面实施例的基础上,终端信息还可以包括:触摸屏的硬件性能,终端基于终端信息确定目标强度阈值的操作可以通过下面方式实现:首先,确定触摸屏的硬件性能;其次,确定与终端的当前使用状态和硬件性能对应的目标强度阈值。On the basis of the above embodiment, the terminal information may further include: the hardware performance of the touch screen, and the operation of the terminal determining the target intensity threshold based on the terminal information may be implemented in the following ways: first, determine the hardware performance of the touch screen; secondly, determine the current Use target intensity thresholds corresponding to state and hardware performance.
触摸屏包括多根TX线和多根RX线,多根TX线和多根RX线交叉排布形成多个矩形传感器,一个TX线路与相邻的一个RX线路之间的距离称为一个pitch。The touch screen includes multiple TX lines and multiple RX lines, and multiple TX lines and multiple RX lines are arranged to form multiple rectangular sensors, and the distance between a TX line and an adjacent RX line is called a pitch.
基于触摸屏的上述结构,触摸屏的硬件性能可以包括以下至少一项:矩形传感器的数量(例如,16×36或18×36)、每个矩形传感器的大小(例如,6.5×4.6)、每个pitch的线层数(单层线或双层线)、触摸屏芯片中Mux(Multiplexer,数据选择器)模块同时扫描的通道的数量等。Based on the above structure of the touch screen, the hardware performance of the touch screen may include at least one of the following: the number of rectangular sensors (for example, 16×36 or 18×36), the size of each rectangular sensor (for example, 6.5×4.6), the size of each pitch The number of line layers (single-layer line or double-layer line), the number of channels scanned at the same time by the Mux (Multiplexer, data selector) module in the touch screen chip, etc.
终端可以预先建立多组终端的使用状态、硬件性能和强度阈值的对应关系,在应用中,终端可以通过查找预先建立的对应关系,确定与终端的当前使用状态和硬件性能对应的强度阈值,将对应的强度阈值确定为目标强度阈值。The terminal can pre-establish the corresponding relationship between the use state, hardware performance and intensity threshold of multiple groups of terminals. In the application, the terminal can determine the intensity threshold corresponding to the current use state and hardware performance of the terminal by searching the pre-established corresponding relationship, and then The corresponding intensity threshold is determined as the target intensity threshold.
在一个实施例中,终端可以预先建立充电状态与第一强度阈值的对应关系,以及非充电状态与第二强度阈值的对应关系,在应用过程中,终端在确定当前处于充电状态后,基于预先建立的对应关系,确定与充电状态对应的第一强度阈值,将第一强度阈值作为目标强度阈值,同理,终端在确定当前处于非充电状态后,基于预先建立的对应关系,确定与非充电状态对应的第二强度阈值,将第二强度阈值作为目标强度阈值。In one embodiment, the terminal may pre-establish the corresponding relationship between the charging state and the first intensity threshold, and the corresponding relationship between the non-charging state and the second intensity threshold. During the application process, after determining that the terminal is currently in the charging state, based on the pre- The established correspondence, determine the first intensity threshold corresponding to the charging state, and use the first intensity threshold as the target intensity threshold. Similarly, after the terminal determines that it is currently in the non-charging state, based on the pre-established correspondence The second intensity threshold corresponding to the state, and the second intensity threshold is used as the target intensity threshold.
在步骤104中,基于目标触控信号的数量和手指触控信号的数量,确定是否上报触控点坐标。In
在一个实施例中,终端可以计算目标触控信号的数量与手指触控信号的数量的比值,确定该比值是否大于或等于预设比值,若大于或等于,则确定上报触控点坐标,若小于,则确定不上报触控点坐标。预设比值的大小可以根据经验和需要进行设置。In one embodiment, the terminal may calculate the ratio of the number of target touch signals to the number of finger touch signals, determine whether the ratio is greater than or equal to a preset ratio, and if it is greater than or equal to, determine to report the coordinates of the touch point, if If it is less than, it is determined not to report the coordinates of the touch point. The size of the preset ratio can be set according to experience and needs.
目标触控信号的数量与手指触控信号的数量的比值可以理解为:具有较大信号强度的手指触控信号对应的手指触控面积与手指触控总面积的比值,可以简称为强信号的覆盖率。The ratio of the number of target touch signals to the number of finger touch signals can be understood as: the ratio of the finger touch area corresponding to the finger touch signal with a larger signal strength to the total finger touch area, which can be referred to as a strong signal for short. coverage.
在一个实施例中,在触控屏划分为主屏和侧屏的情况下,终端可以使用本公开提供的触控上报方法仅对侧屏进行触控上报,或者,仅对主屏进行触控上报,或者,对主屏和侧屏进行触控上报。In one embodiment, when the touch screen is divided into a main screen and a side screen, the terminal can use the touch reporting method provided by the present disclosure to perform touch reporting only on the side screen, or only perform touch reporting on the main screen, Or, perform touch reporting on the home screen and side screen.
在终端使用本公开提供的触控上报方法仅对侧屏进行触控上报的场景下,步骤102可以通过下面方式实现:首先,从获取的所有触控信号中选出侧屏中传感器检测的触控信号;其次,从侧屏中传感器检测的触控信号中选出手指触控信号。在这种情况下,步骤104可以通过下面方式实现:基于目标触控信号的数量和手指触控信号的数量,确定是否上报侧屏上的触控点坐标。In the scenario where the terminal uses the touch reporting method provided by the present disclosure to report touch only to the side screen, step 102 can be implemented in the following manner: First, select the touch detected by the sensor in the side screen from all the acquired touch signals. secondly, the finger touch signal is selected from the touch signals detected by the sensor in the side screen. In this case, step 104 may be implemented in the following manner: based on the number of target touch signals and the number of finger touch signals, it is determined whether to report the coordinates of the touch point on the side screen.
本公开中,终端获取传感器阵列中多个传感器检测的触控信号后,从获取的所有触控信号中选出手指触控信号,从所有手指触控信号中选出满足目标信号强度条件的目标触控信号,基于目标触控信号的数量和手指触控信号的数量,确定是否上报触控点坐标,从而提供了一种新的触控上报方法,提高了终端的触控性能。In the present disclosure, after acquiring touch signals detected by multiple sensors in the sensor array, the terminal selects a finger touch signal from all the acquired touch signals, and selects a target that satisfies the target signal strength condition from all the finger touch signals. The touch signal determines whether to report the coordinates of the touch point based on the number of target touch signals and the number of finger touch signals, thereby providing a new touch reporting method and improving the touch performance of the terminal.
对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本公开并不受所描述的动作顺序的限制,因为依据本公开,某些步骤可以采用其他顺序或者同时进行。For the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should know that the present disclosure is not limited by the described action sequence, because according to the present disclosure, Certain steps may be performed in other orders or simultaneously.
其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于可选实施例,所涉及的动作和模块并不一定是本公开所必须的。Secondly, those skilled in the art should also know that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present disclosure.
与前述应用功能实现方法实施例相对应,本公开还提供了应用功能实现装置及相应的终端的实施例。Corresponding to the foregoing application function implementation method embodiments, the present disclosure further provides embodiments of an application function implementation apparatus and a corresponding terminal.
图4是根据一示例性实施例示出的一种触控上报装置框图,应用于终端,所述终端具有触控屏,所述触控屏包括屏幕和位于所述屏幕下方的传感器阵列,所述装置包括:获取模块21、第一选出模块22、第二选出模块23和确定模块24;其中,FIG. 4 is a block diagram of a touch reporting device according to an exemplary embodiment, which is applied to a terminal. The terminal has a touch screen, and the touch screen includes a screen and a sensor array located below the screen. The device includes: an
所述获取模块21,被配置为获取所述传感器阵列中多个传感器检测的触控信号;The
所述第一选出模块22,被配置为从获取的所有触控信号中选出手指触控信号;The
所述第二选出模块23,被配置为从所有手指触控信号中选出满足目标信号强度条件的目标触控信号;The
所述确定模块24,被配置为基于所述目标触控信号的数量和所述手指触控信号的数量,确定是否上报触控点坐标。The determining
在一个可选的实施例中,在图4所示的触控上报装置的基础上,所述确定模块24,可以包括:计算子模块和第一确定子模块;其中,In an optional embodiment, based on the touch reporting device shown in FIG. 4 , the
所述计算子模块,被配置为计算所述目标触控信号的数量与所述手指触控信号的数量的比值;The calculation submodule is configured to calculate the ratio of the number of the target touch signals to the number of the finger touch signals;
所述第一确定子模块,被配置为确定所述比值是否大于或等于预设比值。The first determination sub-module is configured to determine whether the ratio is greater than or equal to a preset ratio.
在一个可选的实施例中,在图4所示的触控上报装置的基础上,所述第二选出模块23,可以包括:第二确定子模块和第一选出子模块;其中,In an optional embodiment, based on the touch reporting device shown in FIG. 4 , the
所述第二确定子模块,被配置为确定目标强度阈值;the second determination submodule is configured to determine the target intensity threshold;
所述第一选出子模块,被配置为从所述所有手指触控信号中选出信号强度大于所述目标强度阈值的所述目标触控信号。The first selection sub-module is configured to select the target touch signal whose signal strength is greater than the target strength threshold from all the finger touch signals.
在一个可选的实施例中,所述第二确定子模块,可以包括:第一确定单元和第二确定单元;其中,In an optional embodiment, the second determination submodule may include: a first determination unit and a second determination unit; wherein,
所述第一确定单元,被配置为基于所述所有手指触控信号的信号强度,确定所述终端的当前使用状态;The first determining unit is configured to determine the current use state of the terminal based on the signal strengths of the touch signals of all fingers;
所述第二确定单元,被配置为基于所述终端的终端信息,确定所述目标强度阈值,所述终端信息包括:所述当前使用状态。The second determining unit is configured to determine the target strength threshold based on terminal information of the terminal, where the terminal information includes: the current usage state.
在一个可选的实施例中,所述第一确定单元,可以包括:第一确定子单元;In an optional embodiment, the first determining unit may include: a first determining subunit;
所述第一确定子单元,被配置为确定所述所有手指触控信号中,信号强度大于第一预设值的手指触控信号和信号强度等于所述第一预设值的手指触控信号的总数量,以及信号强度小于所述第一预设值的手指触控信号的数量,并基于所述总数量和所述数量,确定所述当前使用状态。The first determining subunit is configured to determine, among all the finger touch signals, the finger touch signals whose signal strength is greater than the first preset value and the finger touch signals whose signal strength is equal to the first preset value and the number of finger touch signals whose signal strength is less than the first preset value, and the current usage state is determined based on the total number and the number.
在一个可选的实施例中,所述第一确定单元,可以包括:第二确定子单元;In an optional embodiment, the first determining unit may include: a second determining subunit;
所述第二确定子单元,被配置为确定所述所有手指触控信号中,在手指触控区域的中心区域内检测的手指触控信号的信号强度,是否小于在所述手指触控区域的边缘区域内检测的手指触控信号的信号强度,基于确定结果,确定所述当前使用状态。The second determination subunit is configured to determine whether the signal strength of the finger touch signal detected in the central area of the finger touch area is smaller than that in the finger touch area among all the finger touch signals. The signal strength of the finger touch signal detected in the edge area is used to determine the current use state based on the determination result.
在一个可选的实施例中,所述第一确定单元,可以包括:第三确定子单元;In an optional embodiment, the first determining unit may include: a third determining subunit;
所述第三确定子单元,被配置为确定所述所有手指触控信号中,信号强度小于第二预设值的手指触控信号对应的手指触控区域,是否位于信号强度大于所述第二预设值的手指触控信号和信号强度等于所述第二预设值的手指触控信号对应的手指触控总区域内,基于确定结果,确定所述当前使用状态。The third determination subunit is configured to determine whether the finger touch area corresponding to the finger touch signal whose signal strength is less than the second preset value among all the finger touch signals is located in the finger touch area whose signal strength is greater than the second The finger touch signal of the preset value and the signal strength of the finger touch signal of the second preset value are within the total finger touch area corresponding to the finger touch signal of the second preset value, and the current use state is determined based on the determination result.
在一个可选的实施例中,所述终端信息还可以包括:所述触摸屏的硬件性能;所述第二确定单元,可以包括:第四确定子单元和第五确定子单元;其中,In an optional embodiment, the terminal information may further include: hardware performance of the touch screen; the second determination unit may include: a fourth determination subunit and a fifth determination subunit; wherein,
所述第四确定子单元,被配置为确定所述触摸屏的所述硬件性能;The fourth determination subunit is configured to determine the hardware performance of the touch screen;
所述第五确定子单元,被配置为确定与所述当前使用状态和所述硬件性能对应的所述目标强度阈值。The fifth determination subunit is configured to determine the target intensity threshold corresponding to the current usage state and the hardware performance.
在一个可选的实施例中,在图4所示的触控上报装置的基础上,所述触控屏划分为主屏和侧屏;所述第一选出模块22,可以包括:第二选出子模块和第二选出子模块;其中,In an optional embodiment, based on the touch reporting device shown in FIG. 4 , the touch screen is divided into a main screen and a side screen; the
所述第二选出子模块,被配置为从所述所有触控信号中选出所述侧屏中传感器检测的触控信号;The second selection sub-module is configured to select the touch signal detected by the sensor in the side screen from all the touch signals;
所述第三选出子模块,被配置为从所述侧屏中传感器检测的触控信号中选出所述手指触控信号;The third selection sub-module is configured to select the finger touch signal from the touch signals detected by the sensor in the side screen;
所述确定模块24,可以被配置为基于所述目标触控信号的数量和所述手指触控信号的数量,确定是否上报所述侧屏上的触控点坐标。The determining
对于装置实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本公开方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。For the apparatus embodiments, since they basically correspond to the method embodiments, reference may be made to the partial descriptions of the method embodiments for related parts. The device embodiments described above are only illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in a local, or it can be distributed over multiple network elements. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of the present disclosure. Those of ordinary skill in the art can understand and implement it without creative effort.
相应的,一方面,本公开实施例提供了一种触控上报装置,包括:触摸屏模块,所述触摸屏模块与所述终端的触摸屏连接;指纹识别模块;处理器;用于存储处理器可执行指令的存储器;其中,上述处理器被配置为:Correspondingly, on the one hand, an embodiment of the present disclosure provides a touch reporting device, including: a touch screen module, the touch screen module is connected to the touch screen of the terminal; a fingerprint identification module; a processor; a memory of instructions; wherein the above-mentioned processor is configured to:
响应于所述终端的触控上报功能开启,通过所述触摸屏模块持续获取所述触摸屏上触控上报区域内的触摸位置信息,并在每次获取一触摸位置信息后,确定所述触摸位置信息是否满足预设条件;In response to the activation of the touch reporting function of the terminal, the touch position information in the touch reporting area on the touch screen is continuously obtained through the touch screen module, and the touch position information is determined after each touch position information is obtained. Whether the preset conditions are met;
接收所述触摸屏模块在确定所述触摸位置信息满足所述预设条件后发送的相应指令;receiving a corresponding instruction sent by the touch screen module after determining that the touch position information satisfies the preset condition;
基于所述相应指令,控制所述指纹识别模块进行指纹识别。Based on the corresponding instruction, the fingerprint identification module is controlled to perform fingerprint identification.
图5是根据一示例性实施例示出的一种用于触控上报装置1600的一结构示意图。例如,装置1600具有无线上网功能,可以是用户设备,可以具体为移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理,可穿戴设备如智能手表、智能眼镜、智能手环、智能跑鞋等。FIG. 5 is a schematic structural diagram of a
参照图5,装置1600可以包括以下一个或多个组件:处理组件1602,存储器1604,电源组件1606,多媒体组件1608,音频组件1610,输入/输出(I/O)的接口1612,传感器组件1614,以及通信组件1616。5, the
处理组件1602通常控制装置1600的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件1602可以包括一个或多个处理器1620来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件1602可以包括一个或多个模块,便于处理组件1602和其他组件之间的交互。例如,处理组件1602可以包括多媒体模块,以方便多媒体组件1608和处理组件1602之间的交互。The
存储器1604被配置为存储各种类型的数据以支持在设备1600的操作。这些数据的示例包括用于在装置1600上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器1604可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电源组件1606为装置1600的各种组件提供电力。电源组件1606可以包括电源管理系统,一个或多个电源,及其他与为装置1600生成、管理和分配电力相关联的组件。
多媒体组件1608包括在上述装置1600和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。上述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还扫描与上述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件1608包括一个前置摄像头和/或后置摄像头。当设备1600处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The
音频组件1610被配置为输出和/或输入音频信号。例如,音频组件1610包括一个麦克风(MIC),当装置1600处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1604或经由通信组件1616发送。在一些实施例中,音频组件1610还包括一个扬声器,用于输出音频信号。
I/O接口1612为处理组件1602和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/
传感器组件1614包括一个或多个传感器,用于为装置1600提供各个方面的状态评估。例如,传感器组件1614可以扫描到设备1600的打开/关闭状态,组件的相对定位,例如上述组件为装置1600的显示器和小键盘,传感器组件1614还可以扫描装置1600或装置1600一个组件的位置改变,用户与装置1600接触的存在或不存在,装置1600方位或加速/减速和装置1600的温度变化。传感器组件1614可以包括接近传感器,被配置用来在没有任何的物理接触时扫描附近物体的存在。传感器组件1614还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1614还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件1616被配置为便于装置1600和其他设备之间有线或无线方式的通信。装置1600可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件1616经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,上述通信组件1616还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,装置1600可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment,
在示例性实施例中,还提供了一种非临时性计算机可读存储介质,例如包括指令的存储器1604,当存储介质中的指令由装置1600的处理器1620执行时,使得装置1600能够执行触控上报方法,该方法包括:In an exemplary embodiment, a non-transitory computer-readable storage medium is also provided, such as a
获取所述传感器阵列中多个传感器检测的触控信号;acquiring touch signals detected by a plurality of sensors in the sensor array;
从获取的所有触控信号中选出手指触控信号;Select the finger touch signal from all the acquired touch signals;
从所有手指触控信号中选出满足目标信号强度条件的目标触控信号;Select the target touch signal that satisfies the target signal strength condition from all the finger touch signals;
基于所述目标触控信号的数量和所述手指触控信号的数量,确定是否上报触控点坐标。Whether to report the coordinates of the touch point is determined based on the number of the target touch signals and the number of the finger touch signals.
所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。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.
如图6所示,图6是根据一示例性实施例示出的另一种用于触控上报装置1700的一结构示意图。例如,装置1700可以被提供为一应用服务器。参照图6,装置1700包括处理组件1722,其进一步包括一个或多个处理器,以及由存储器1716所代表的存储器资源,用于存储可由处理部件1722的执行的指令,例如应用程序。存储器1716中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理组件1722被配置为执行指令,以执行上述触控上报方法。As shown in FIG. 6 , FIG. 6 is a schematic structural diagram of another
装置1700还可以包括一个电源组件1726被配置为执行装置1700的电源管理,一个有线或无线网络接口1750被配置为将装置1700连接到网络,和一个输入输出(I/O)接口1758。装置1700可以操作基于存储在存储器1716的操作系统,例如Android、iOS、WindowsServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM或类似。The
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1716,上述指令可由装置1700的处理组件1722执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions, such as a
其中,当所述存储器1716中的指令由所述处理组件1722执行时,使得装置1700能够执行一种触控上报方法,包括:Wherein, when the instructions in the
获取所述传感器阵列中多个传感器检测的触控信号;acquiring touch signals detected by a plurality of sensors in the sensor array;
从获取的所有触控信号中选出手指触控信号;Select the finger touch signal from all the acquired touch signals;
从所有手指触控信号中选出满足目标信号强度条件的目标触控信号;Select the target touch signal that satisfies the target signal strength condition from all the finger touch signals;
基于所述目标触控信号的数量和所述手指触控信号的数量,确定是否上报触控点坐标。Whether to report the coordinates of the touch point is determined based on the number of the target touch signals and the number of the finger touch signals.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本公开旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。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 disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common general knowledge or techniques in the technical field not disclosed by this 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 |
|---|---|---|---|
| CN202010117827.6ACN113377222B (en) | 2020-02-25 | 2020-02-25 | Touch reporting method and device |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010117827.6ACN113377222B (en) | 2020-02-25 | 2020-02-25 | Touch reporting method and device |
| Publication Number | Publication Date |
|---|---|
| CN113377222Atrue CN113377222A (en) | 2021-09-10 |
| CN113377222B CN113377222B (en) | 2024-09-20 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010117827.6AActiveCN113377222B (en) | 2020-02-25 | 2020-02-25 | Touch reporting method and device |
| Country | Link |
|---|---|
| CN (1) | CN113377222B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101339478A (en)* | 2007-07-02 | 2009-01-07 | 泰科电子有限公司 | Method and system for detecting touch events based on magnitude ratios |
| CN102043536A (en)* | 2009-10-22 | 2011-05-04 | Nec卡西欧移动通信株式会社 | Touch detection device, electronic device and recording medium |
| CN102855036A (en)* | 2006-06-13 | 2013-01-02 | N-特莱格有限公司 | Fingertip touch recognition for a digitizer |
| US20140253305A1 (en)* | 2013-03-11 | 2014-09-11 | Amazon Technologies, Inc. | Force sensing input device |
| CN105474131A (en)* | 2013-08-13 | 2016-04-06 | 三星电子株式会社 | Method and apparatus for recognizing grip state in electronic device |
| CN107305451A (en)* | 2016-04-20 | 2017-10-31 | 禾瑞亚科技股份有限公司 | Pressure sensing touch display device |
| CN109782944A (en)* | 2018-12-11 | 2019-05-21 | 华为技术有限公司 | A kind of response method and electronic equipment of touch screen |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102855036A (en)* | 2006-06-13 | 2013-01-02 | N-特莱格有限公司 | Fingertip touch recognition for a digitizer |
| CN101339478A (en)* | 2007-07-02 | 2009-01-07 | 泰科电子有限公司 | Method and system for detecting touch events based on magnitude ratios |
| CN102043536A (en)* | 2009-10-22 | 2011-05-04 | Nec卡西欧移动通信株式会社 | Touch detection device, electronic device and recording medium |
| US20140253305A1 (en)* | 2013-03-11 | 2014-09-11 | Amazon Technologies, Inc. | Force sensing input device |
| CN105474131A (en)* | 2013-08-13 | 2016-04-06 | 三星电子株式会社 | Method and apparatus for recognizing grip state in electronic device |
| CN107305451A (en)* | 2016-04-20 | 2017-10-31 | 禾瑞亚科技股份有限公司 | Pressure sensing touch display device |
| CN109782944A (en)* | 2018-12-11 | 2019-05-21 | 华为技术有限公司 | A kind of response method and electronic equipment of touch screen |
| Title |
|---|
| KETS, CM ET AL.: "Reference values for touch sensibility thresholds in healthy nepalese volunteers", LEPROSY REVIEW, vol. 67, no. 1* |
| 张倩洋;张钊锋;李宝骐;: "互电容触控坐标精确处理和上报算法", 电视技术, no. 10* |
| Publication number | Publication date |
|---|---|
| CN113377222B (en) | 2024-09-20 |
| Publication | Publication Date | Title |
|---|---|---|
| CN106951884B (en) | Method, device and electronic device for collecting fingerprints | |
| CN109565451B (en) | Method and device for using network slice | |
| CN109644457B (en) | Resource allocation method and device | |
| CN106484284B (en) | Method and device for switching single-hand mode | |
| CN105117209A (en) | Application interaction method and device | |
| WO2019129020A1 (en) | Automatic focusing method of camera, storage device and mobile terminal | |
| US10379602B2 (en) | Method and device for switching environment picture | |
| CN106572268B (en) | Information display method and device | |
| RU2640746C9 (en) | Method and device of interchanging position of icons | |
| CN106357804A (en) | Image processing method, electronic equipment and cloud server | |
| CN105763552B (en) | Transmission method, device and system in remote control | |
| CN105376410A (en) | Method and device for setting alarm clock | |
| CN104881342B (en) | terminal test method and device | |
| US20230180101A1 (en) | Communication control method and communication control apparatus | |
| CN106170141B (en) | Mobile terminal network switching method and device | |
| CN111610921A (en) | Gesture recognition method and device | |
| CN114296587A (en) | Cursor control method and device, electronic equipment and storage medium | |
| CN106445122B (en) | Equipment state control method and device | |
| US11533728B2 (en) | Data transmission method and apparatus on unlicensed frequency band | |
| CN108702702B (en) | Method and device for accessing a base station | |
| CN113377222A (en) | Touch reporting method and device | |
| CN111355892B (en) | Picture shooting method and device, storage medium and electronic terminal | |
| CN103927224B (en) | Bead performs method and apparatus | |
| CN106454542A (en) | Projection processing method and apparatus | |
| CN107039054A (en) | The way of recording and device |
| 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 |