WO2017128584A1 - 压力屏的压力类别识别方法及装置 - Google Patents

压力屏的压力类别识别方法及装置 Download PDF

Info

Publication number
WO2017128584A1
WO2017128584A1 PCT/CN2016/085056 CN2016085056W WO2017128584A1 WO 2017128584 A1 WO2017128584 A1 WO 2017128584A1 CN 2016085056 W CN2016085056 W CN 2016085056W WO 2017128584 A1 WO2017128584 A1 WO 2017128584A1
Authority
WO
WIPO (PCT)
Prior art keywords
pressure
value
category
screen
threshold range
Prior art date
Application number
PCT/CN2016/085056
Other languages
English (en)
French (fr)
Inventor
吴玥
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017128584A1 publication Critical patent/WO2017128584A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0414Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using force sensing means to determine a position
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means

Definitions

  • the present invention relates to the field of terminals, and in particular to a pressure category identification method and apparatus for a pressure screen.
  • the terminal pressure screen when the terminal pressure screen is pressed by the user, the terminal is insensitive to the user's pressing action, and the user cannot accurately operate the terminal, which often causes an erroneous operation, and the human-computer interaction experience of the user using the pressure screen terminal is poor, Meet the user's usage habits.
  • the invention provides a pressure category identification method and device for a pressure screen, so as to at least solve the problem that the accuracy of the pressure screen to the user's pressing motion recognition is not high in the related art.
  • a pressure category identification method for a pressure screen comprising:
  • the preset mapping relationship refers to a non-linear correspondence relationship between the pre-stored pressure value and the pressure category, where the pressure category is based on The categories formed by the different pressure values of the pressing operation.
  • the nonlinear correspondence includes:
  • the pressure category is determined by:
  • the pressure category is a light pressure
  • the pressure category is medium pressure
  • the pressure category is a heavy pressure
  • the maximum value in the first threshold range is smaller than the minimum value in the second threshold range, and the maximum value in the second threshold range is smaller than the minimum value in the third threshold range.
  • An average value of the plurality of pressure values is determined according to the accumulated value and the number of presses, and the average value is used as a pressure value of the pressing operation received by the current pressure screen.
  • the method further includes:
  • a pressure class identification device for a pressure screen comprising:
  • An obtaining module configured to acquire a pressure value of a pressing operation received by the current pressure screen
  • a determining module configured to determine, according to a preset mapping relationship, a pressure category corresponding to the pressure value, where the preset mapping relationship refers to a nonlinear correspondence between a pre-stored pressure value and the pressure category,
  • the pressure category is used to indicate different pressure values for the pressing operation.
  • the determining module is further configured to indicate an exponential relationship between the pre-stored pressure value and the pressure category of the non-linear correspondence.
  • the pressure category is determined by:
  • the pressure category is a light pressure
  • the pressure category is medium pressure
  • the pressure category is a heavy pressure
  • the maximum value in the first threshold range is smaller than the minimum value in the second threshold range, and the maximum value in the second threshold range is smaller than the minimum value in the third threshold range.
  • the device also includes:
  • An integration module configured to acquire a plurality of pressure values when the pressure screen is pressed multiple times after acquiring a pressure value at which the current pressure screen is pressed, and integrate the plurality of pressure values to obtain the plurality of pressures The accumulated value of the value;
  • an averaging module configured to determine an average value of the plurality of pressure values according to the accumulated value and the number of times of pressing, and use the average value as a pressure value of the pressing operation received by the current pressure screen.
  • the device also includes:
  • a detecting module configured to stop identifying the pressure category of the pressure screen when the pressure value of the pressure screen is within a preset threshold range within a preset time period.
  • the pressure value of the pressing operation received by the current pressure screen is obtained, and the pressure category corresponding to the pressure value is determined according to the preset mapping relationship, wherein the preset mapping relationship refers to the pre-stored pressure value and the pressure.
  • the non-linear correspondence of the categories which is a category formed according to different pressure values of the pressing operation, solves the problem that the pressure screen does not accurately identify the user's pressing motion, and improves the pressing action of the pressure screen on the user. Identify accuracy.
  • FIG. 1 is a flow chart of a pressure category identification method for a pressure screen according to an embodiment of the present invention
  • FIG. 2 is a structural block diagram 1 of a pressure class identification device for a pressure screen according to an embodiment of the invention
  • FIG. 3 is a structural block diagram 2 of a pressure class identification device for a pressure screen according to an embodiment of the present invention
  • FIG. 4 is a structural block diagram 3 of a pressure class identification device for a pressure screen according to an embodiment of the present invention.
  • FIG. 5 is a flow chart of pressure category identification of a pressure screen in accordance with a preferred embodiment of the present invention.
  • FIG. 6 is a schematic diagram of a mapping relationship between pressure values and classification spaces in accordance with a preferred embodiment of the present invention.
  • FIG. 1 is a flowchart of a pressure category identification method for a pressure screen according to an embodiment of the present invention. As shown in FIG. 1 , the flow includes the following steps. :
  • Step S102 acquiring a pressure value of the pressing operation received by the current pressure screen
  • Step S104 Determine a pressure category corresponding to the pressure value according to the preset mapping relationship, where the preset mapping relationship refers to a non-linear correspondence between the pre-stored pressure value and the pressure category, and the pressure category is based on the pressing The categories of different pressure values of the operation.
  • the pressure value of the current pressure screen is obtained, and the pressure category corresponding to the pressure value is determined according to the preset mapping relationship, wherein the preset mapping relationship refers to the pre-stored pressure value and the non-pressure category.
  • the pressure category is used to indicate the operation of different pressure values.
  • the pressure screen adopts a linear algorithm, the pressure space is evenly distributed, the pressure is not sensitive when the pressure is small, and the key stroke is short when the pressure is large.
  • the design of the technology does not conform to the user's usage habits.
  • This embodiment uses a nonlinear algorithm to reasonably divide the pressure space, solves the problem that the pressure screen does not accurately identify the user's pressing motion, and improves the pressing action of the pressure screen on the user. Identify accuracy.
  • the exponential relationship between the pre-stored pressure value and the pressure category is indicated, and the exponential division is used, and the sensitivity is nonlinearly correlated with the pressing force, which satisfies the coordination of sensitivity and stability, and conforms to user habits, and can be adopted.
  • the exponential function of the natural exponent e is the bottom.
  • the pressure category is determined by: in the case where the pressure value is within the first threshold range, the pressure category is light pressure; and in the case where the pressure value is within the second threshold range, The pressure category is medium pressure; in the case where the pressure value is within the third threshold range, the pressure category is heavy pressure; wherein the maximum value in the first threshold range is less than the minimum value in the second threshold range, The maximum value within the second threshold range is less than the minimum value within the third threshold range.
  • the pressure value at which the current pressure screen is pressed after acquiring the pressure value at which the current pressure screen is pressed, acquiring a plurality of pressure values when the pressure screen is pressed multiple times, performing integration processing on the plurality of pressure values to obtain the plurality of pressure values.
  • the accumulated value is determined according to the accumulated value and the number of times of pressing, and the average value is used as the pressure value of the pressing operation received by the current pressure screen, and the pressure value is processed by the average after integration. Eliminate the jitter when pressing the screen, try to remove the glitch during the pressing process, more accurately know the user's pressing intention, and more realize human-computer interaction.
  • the stopping when detecting that the pressure value of the pressure screen is within a preset threshold range, stopping the identification of the pressure category of the pressure screen, determining that the user suspends the use of the device, turning off the processing function, and extending the service life of the device, the stopping is performed.
  • the maximum value of the detected preset threshold range may be less than the minimum value of the first threshold range corresponding to the light pressure.
  • a pressure type discriminating device for a pressure screen is also provided, which is used to implement the above-described embodiments and preferred embodiments, and will not be described again.
  • the term “module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 2 is a structural block diagram of a pressure class identification device for a pressure screen according to an embodiment of the present invention. As shown in FIG. 2, the device includes:
  • the obtaining module 22 is configured to acquire a pressure value of the pressing operation received by the current pressure screen
  • the determining module 24 is connected to the obtaining module 22, and is configured to determine a pressure category corresponding to the pressure value according to the preset mapping relationship, where the preset mapping relationship refers to a non-linear correspondence between the pre-stored pressure value and the pressure category. Relationship, this pressure category is used to indicate different pressure values for the pressing operation.
  • the obtaining module 22 acquires the pressure value of the pressing operation received by the current pressure screen, and the determining module 24 determines the pressure category corresponding to the pressure value according to the preset mapping relationship, wherein the preset mapping relationship refers to pre-storing.
  • the non-linear correspondence between the pressure value and the pressure category is a category formed according to different pressure values of the pressing operation, which solves the problem that the pressure screen does not accurately identify the user's pressing motion, and improves the pressure.
  • the screen recognizes the accuracy of the user's pressing action.
  • FIG. 3 is a structural block diagram 2 of a pressure class identification device for a pressure screen according to an embodiment of the present invention. As shown in FIG. 3, the device includes, in addition to all the modules shown in FIG.
  • the integration module 32 is connected to the acquisition module 22 for acquiring a plurality of pressure values when the pressure screen is pressed a plurality of times after acquiring the pressure value at which the current pressure screen is pressed, and integrating the plurality of pressure values to obtain The accumulated value of the plurality of pressure values;
  • the averaging module 34 is connected to the integration module 32 for determining an average value of the plurality of pressure values according to the accumulated value and the number of pressing times, and using the average value as the pressure value of the pressing operation received by the current pressure screen.
  • FIG. 4 is a structural block diagram 3 of a pressure class identification device for a pressure screen according to an embodiment of the present invention. As shown in FIG. 4, the device further includes:
  • the detecting module 42 is connected to the obtaining module 22, and is configured to stop the identification of the pressure category of the pressure screen when the pressure value of the pressure screen is within a preset threshold range within a preset time period.
  • each of the above modules may be implemented by software or hardware.
  • the foregoing may be implemented by, but not limited to, the foregoing modules are all located in the same processor; or, the above modules are respectively located. Different processors.
  • a preferred embodiment of the present invention provides an algorithm for reasonably mapping a screen pressure value to a classification space.
  • the input physical pressure is converted to a digital pressure value by an analog-to-digital converter; then, the integrator filters to eliminate jitter;
  • the digital pressure value is classified into several classification spaces (corresponding to the pressure categories described in the above embodiment) by a mapping algorithm; finally, the number of the classification space is output, and the classification of the pressure values is completed.
  • the preferred embodiment of the present invention mainly solves the rational division of the classification space and satisfies the coordination of sensitivity and stability.
  • the preferred embodiment of the present invention mainly comprises a pressure analog to digital conversion device, a digital pressure value jitter removal device (corresponding to the functions of the integration module 32 and the averaging module 34 of the above embodiment); a classification space calculation device (corresponding to the above implementation) The partial function of the determination module 24 of the example).
  • the pressure screen responds to external pressure, producing a physical pressure value that is linearly proportional to the pressure.
  • the physical pressure value (voltage) is analog-to-digital converted to generate a corresponding digital pressure value.
  • the digital pressure value is integrated, and the average value in the period is taken as the actual pressure value of the user by the fixed period integral;
  • the fourth step is to map the pressure value for removing the jitter, that is, on the classification set. The lower limit is compared to one of them;
  • the fifth step is to output the number of the classification set for other applications to call.
  • FIG. 5 is a flow chart of pressure category identification of a pressure screen according to a preferred embodiment of the present invention. As shown in FIG. 5, the flowchart includes the following steps:
  • Step S501 the user presses the touch screen, and the touch screen generates a continuous pressure value of 0.32V;
  • Step S502 The analog-to-digital conversion device samples and converts the pressure in a period of 1 ms. Output 8-bit digital pressure value 0010 0000 (cycle 1ms) or 32;
  • Step S503 The debounce device adopts an integration method, that is, the 10 pressure values continuously input are accumulated, and then the mathematical average: Where n is the number of pressure values and f(n) is the pressure value. In this way, the burr phenomenon during pressing is removed.
  • the device can also be connected to the "0" detection function, which can be used to determine whether there is input. When multiple "0"s are continuously input, it is judged that the user no longer processes, and the processing function is turned off to extend the service life of the device;
  • Step S504 dividing the pressure value space from low to high according to an index based on e (about 2.72), the numerical value is 256 levels, and the light, medium and heavy are classified into three categories, that is, the medium pressure space is the light pressure space. Times, and the weight space is e times the medium pressure space, and the three spatial classification sets are divided into (0, 23), (24, 84), (85, 255), and the three classification sets are numbered A, B, and C, respectively.
  • the input pressure digital value is 00010000, that is, 32, compared with the upper and lower limits of the spatial classification set, belonging to the medium voltage, numbered B, and the mapping conversion is completed.
  • Fig. 6 is a pressure value and classification space according to a preferred embodiment of the present invention. The schematic diagram of the mapping relationship is shown in Figure 6;
  • Step S505 The pressure number B is output as a calculation result for other applications to call.
  • the classification space of the heavy pressure is large enough, the finger has enough key strokes during the pressing process, and the corresponding user feels that the heavy pressure space is very flexible; when the user gently presses some When applied, because the classification space of light pressure is relatively small, it is easy to switch to the medium pressure space during the button pressing process, that is, the user feels that the light pressure sensitivity is high. According to the above two cases, the exponential-based nonlinear space division is more consistent with the actual experience of the human and the user experience is better than the linear partition space.
  • the method can be implemented by means of software plus a necessary general hardware platform, of course, it can also be through hardware, but in many cases the former is a better implementation.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • Embodiments of the present invention also provide a storage medium.
  • the storage medium may be configured to store program code for performing the method steps of the above embodiment:
  • the storage medium is further arranged to store program code for performing the method steps of the above-described embodiments:
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • a mobile hard disk e.g., a hard disk
  • magnetic memory e.g., a hard disk
  • the processor performs the method steps of the foregoing embodiments according to the stored program code in the storage medium.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the invention is applicable to the field of terminals, and is used for realizing the accuracy of the pressure screen to recognize the pressing action of the user.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

压力屏的压力类别识别方法及装置,其中,该方法包括:获取当前压力屏接收到的按压操作的压力值(S102),依据预设映射关系,确定与该压力值对应的压力类别,其中,该预设映射关系是指预先存储的压力值与该压力类别的非线性对应关系,该压力类别是依据该按压操作的不同压力值形成的类别(S104)。解决了压力屏对用户的按压动作识别的准确率不高的问题,提高了压力屏对用户的按压动作识别准确率。

Description

压力屏的压力类别识别方法及装置 技术领域
本发明涉及终端领域,具体而言,涉及一种压力屏的压力类别识别方法及装置。
背景技术
在相关技术中,终端压力屏受到用户按压时,终端对用户的按压动作感应不灵敏,用户不能准确操作终端,经常会造成误操作,用户使用压力屏的终端的人机交互体验较差,不符合用户使用习惯。
针对相关技术中,压力屏对用户的按压动作识别的准确率不高的问题,目前还没有有效的解决方案。
发明内容
本发明提供了一种压力屏的压力类别识别方法及装置,以至少解决相关技术中压力屏对用户的按压动作识别的准确率不高的问题。
根据本发明的一个方面,提供了一种压力屏的压力类别识别方法,包括:
获取当前压力屏接收到的按压操作的压力值;
依据预设映射关系,确定与所述压力值对应的压力类别,其中,所述预设映射关系是指预先存储的压力值与所述压力类别的非线性对应关系,所述压力类别是依据所述按压操作的不同压力值形成的类别。
所述非线性对应关系包括:
所述预先存储的压力值与所述压力类别的指数关系。
所述压力类别通过以下方式确定:
在所述压力值位于第一阈值范围内的情况下,所述压力类别为轻压;
在所述压力值位于第二阈值范围内的情况下,所述压力类别为中压;
在所述压力值位于第三阈值范围内的情况下,所述压力类别为重压;
其中,所述第一阈值范围内的最大值小于所述第二阈值范围内的最小值,所述第二阈值范围内的最大值小于所述第三阈值范围内的最小值。
获取当前压力屏被按压的压力值之后,包括:
获取所述压力屏被多次按压时的多个压力值,对所述多个压力值进行积分处理,得到所述多个压力值的累加值;
依据所述累加值和按压的次数确定所述多个压力值的平均值,将所述平均值作为所述当前压力屏接收到的按压操作的压力值。
所述方法还包括:
在预设时间段内,检测所述压力屏的压力值在预设阈值范围内时,停止对所述压力屏 的压力类别的识别。
根据本发明的另一方面,提供了一种压力屏的压力类别识别装置,包括:
获取模块,用于获取当前压力屏接收到的按压操作的压力值;
确定模块,用于依据预设映射关系,确定与所述压力值对应的压力类别,其中,所述预设映射关系是指预先存储的压力值与所述压力类别的非线性对应关系,所述压力类别用于指示所述按压操作的不同压力值。
所述确定模块还用于指示所述非线性对应关系所述预先存储的压力值与所述压力类别的指数关系。
所述压力类别通过以下方式确定:
在所述压力值位于第一阈值范围内的情况下,所述压力类别为轻压;
在所述压力值位于第二阈值范围内的情况下,所述压力类别为中压;
在所述压力值位于第三阈值范围内的情况下,所述压力类别为重压;
其中,所述第一阈值范围内的最大值小于所述第二阈值范围内的最小值,所述第二阈值范围内的最大值小于所述第三阈值范围内的最小值。
所述装置还包括:
积分模块,用于在获取当前压力屏被按压的压力值之后,获取所述压力屏被多次按压时的多个压力值,对所述多个压力值进行积分处理,得到所述多个压力值的累加值;
平均模块,用于依据所述累加值和按压的次数确定所述多个压力值的平均值,将所述平均值作为所述当前压力屏接收到的按压操作的压力值。
所述装置还包括:
检测模块,用于在预设时间段内,检测所述压力屏的压力值在预设阈值范围内时,停止对所述压力屏的压力类别的识别。
通过本发明,获取当前压力屏接收到的按压操作的压力值,依据预设映射关系,确定与该压力值对应的压力类别,其中,该预设映射关系是指预先存储的压力值与该压力类别的非线性对应关系,该压力类别是依据该按压操作的不同压力值形成的类别,解决了压力屏对用户的按压动作识别的准确率不高的问题,提高了压力屏对用户的按压动作识别准确率。
附图说明
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1是根据本发明实施例的一种压力屏的压力类别识别方法的流程图;
图2是根据本发明实施例的一种压力屏的压力类别识别装置的结构框图一;
图3是根据本发明实施例的一种压力屏的压力类别识别装置的结构框图二;
图4是根据本发明实施例的一种压力屏的压力类别识别装置的结构框图三;
图5是根据本发明优选实施例的一种压力屏的压力类别识别的流程图;
图6是根据本发明优选实施例的一种压力值与分类空间映射关系的原理图。
具体实施方式
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
在本实施例中提供了一种压力屏的压力类别识别方法,图1是根据本发明实施例的一种压力屏的压力类别识别方法的流程图,如图1所示,该流程包括如下步骤:
步骤S102,获取当前压力屏接收到的按压操作的压力值;
步骤S104,依据预设映射关系,确定与该压力值对应的压力类别,其中,该预设映射关系是指预先存储的压力值与该压力类别的非线性对应关系,该压力类别是依据该按压操作的不同压力值形成的类别。
通过上述步骤,获取当前压力屏被按压的压力值,依据预设映射关系,确定与该压力值对应的压力类别,其中,该预设映射关系是指预先存储的压力值与该压力类别的非线性对应关系,该压力类别用于指示不同压力值的操作动作,在相关技术中的压力屏多采用线性算法,压力空间平均分配,压力小的时候不敏感,压力大的时候键程短,相关技术的设计不符合用户使用习惯,本实施例采用非线性算法合理的划分了压力空间,解决了压力屏对用户的按压动作识别的准确率不高的问题,提高了压力屏对用户的按压动作识别准确率。
在本实施例中,指出该预先存储的压力值与该压力类别的指数关系,采用指数划分,灵敏性与按压力度非线性关联,满足灵敏性和稳定性的协调,符合用户使用习惯,可以采用自然指数e为底的指数函数。
在本实施例中,该压力类别通过以下方式确定:在该压力值位于第一阈值范围内的情况下,该压力类别为轻压;在该压力值位于第二阈值范围内的情况下,该压力类别为中压;在该压力值位于第三阈值范围内的情况下,该压力类别为重压;其中,该第一阈值范围内的最大值小于该第二阈值范围内的最小值,该第二阈值范围内的最大值小于该第三阈值范围内的最小值。
在本实施例中,在获取当前压力屏被按压的压力值之后,获取该压力屏被多次按压时的多个压力值,对该多个压力值进行积分处理,得到该多个压力值的累加值,依据该累加值和按压的次数确定该多个压力值的平均值,将该平均值作为该当前压力屏接收到的按压操作的压力值,采用积分后平均的方式处理压力值,可以消除按压屏幕时的抖动,尽量去除按压过程中的毛刺现象,更准确的获知用户按压意图,更多的实现人机交互。
在本实施例中,检测该压力屏的压力值在预设阈值范围内时,停止对该压力屏的压力类别的识别,判断用户暂停使用设备,关闭处理功能,延长设备使用周期,该停止进行检测的预设阈值范围的最大值可以小于轻压对应的第一阈值范围的最小值。
在本实施例中还提供了一种压力屏的压力类别识别装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图2是根据本发明实施例的一种压力屏的压力类别识别装置的结构框图一,如图2所示,该装置包括;
获取模块22,用于获取当前压力屏接收到的按压操作的压力值;
确定模块24,与获取模块22连接,用于依据预设映射关系,确定与该压力值对应的压力类别,其中,该预设映射关系是指预先存储的压力值与该压力类别的非线性对应关系,该压力类别用于指示该按压操作的不同压力值。
通过上述步骤,获取模块22获取当前压力屏接收到的按压操作的压力值,确定模块24依据预设映射关系,确定与该压力值对应的压力类别,其中,该预设映射关系是指预先存储的压力值与该压力类别的非线性对应关系,该压力类别是依据该按压操作的不同压力值形成的类别,解决了压力屏对用户的按压动作识别的准确率不高的问题,提高了压力屏对用户的按压动作识别准确率。
图3是根据本发明实施例的一种压力屏的压力类别识别装置的结构框图二,如图3所示,该装置除包括图2所示的所有模块外,还包括:
积分模块32,与获取模块22连接,用于在获取当前压力屏被按压的压力值之后,获取该压力屏被多次按压时的多个压力值,对该多个压力值进行积分处理,得到该多个压力值的累加值;
平均模块34,与积分模块32连接,用于依据该累加值和按压的次数确定该多个压力值的平均值,将该平均值作为该当前压力屏接收到的按压操作的压力值。
图4是根据本发明实施例的一种压力屏的压力类别识别装置的结构框图三,如图4所示,该装置还包括:
检测模块42,与获取模块22连接,用于在预设时间段内,检测该压力屏的压力值在预设阈值范围内时,停止对该压力屏的压力类别的识别。
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述各个模块均位于同一处理器中;或者,上述各个模块分别位于不同的处理器中。
下面结合本发明的优选实施例进行详细说明。
本发明优选实施例提供了一种将屏幕压力值合理映射到分类空间的算法,首先,将输入的物理压力通过模数转换器转换为数字压力值;然后通过积分器滤波,消除抖动;再将 数字压力值通过映射算法,归类到几项分类空间(相当于上述实施例中描述的压力类别)中;最后,输出分类空间的编号,完成压力值的分类。本发明的优选实施例主要解决分类空间的合理划分,满足灵敏性和稳定性的协调。
本发明优选实施例主要包括压力的模拟到数字转换装置,数字压力值的抖动去除装置(相当于上述实施例的积分模块32和平均模块34的功能);分类空间的计算装置(相当于上述实施例的确定模块24的部分功能)。
本发明优选实施例的实现步骤如下:第一步,压力屏对外部压力响应,产生与压力线性比例的物理压力值。第二步,对物理压力值(电压)进行模数转换,产生对应的数字压力值。
第三步,对数字压力值进行积分处理,通过定周期积分,取周期内的平均值作为用户的实际压力值;第四步,对去除抖动的压力值进行映射,即对与分类集合的上下限比较,将其归类到其中之一;第五步,将分类集合的编号输出,供其他应用调用。
图5是根据本发明优选实施例的一种压力屏的压力类别识别的流程图,如图5所示,该流程图包括的步骤如下:
步骤S501:用户按压触摸屏,触摸屏产生了0.32V的连续压力值;
步骤S502:模数转换装置以1ms的周期对该压力采样及进行转换。输出8位数字压力值0010 0000(周期1ms)即32;
步骤S503:消除抖动装置采用积分方式,即将连续输入的10个压力值进行累加,然后数学平均:其中,n为压力值的数量,f(n)为压力值。通过这种方式去除按压过程中的毛刺现象。本装置同时也可以起连“0”检测作用,可用于判断是否存在输入,当连续输入多个“0”的时候,判断用户不再处理,关闭处理功能,延长设备使用周期;
步骤S504:将压力值空间从低到高按以e(约2.72)为底的指数划分,数字值共256级,划分轻、中、重三个分类,即中压空间是轻压空间的e倍,而重压空间是中压空间的e倍,三个空间分类集合划分为(0,23],(24,84],(85,255],三个分类集合的编号分别为A、B、C。输入的压力数字值是00010000,即32,与空间分类集合的上下限比较,属于中压,编号为B,映射转换完成。图6是根据本发明优选实施例的一种压力值与分类空间映射关系的原理图,如图6所示;
步骤S505:将压力编号B作为计算结果输出,供其他应用调用。
当用户要重压屏幕使用某些应用的时候,由于重压的分类空间足够大,手指在按压过程中有足够多的键程,对应用户感觉重压空间弹性很大;当用户轻压某些应用的时候,由于轻压的分类空间相对较少,按键过程中很容易切换到中压的空间,即用户感觉上轻压灵敏度很高。通过上两种情况可知,相对于线性划分空间,基于指数的非线性空间划分,与人的实际体验更一致,用户体验更好。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的 方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以被设置为存储用于执行上述实施例的方法步骤的程序代码:
可选地,存储介质还被设置为存储用于执行上述实施例方法步骤的程序代码:
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
可选地,在本实施例中,处理器根据存储介质中已存储的程序代码执行上述实施例的方法步骤。
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
工业实用性
本发明适用于终端领域,用以实现压力屏对用户的按压动作识别的准确率。

Claims (10)

  1. 一种压力屏的压力类别识别方法,包括:
    获取当前压力屏接收到的按压操作的压力值;
    依据预设映射关系,确定与所述压力值对应的压力类别,其中,所述预设映射关系是指预先存储的压力值与所述压力类别的非线性对应关系,所述压力类别是依据所述按压操作的不同压力值形成的类别。
  2. 根据权利要求1所述的方法,其中,所述非线性对应关系包括:
    所述预先存储的压力值与所述压力类别的指数关系。
  3. 根据权利要求1所述的方法,其中,所述压力类别通过以下方式确定:
    在所述压力值位于第一阈值范围内的情况下,所述压力类别为轻压;
    在所述压力值位于第二阈值范围内的情况下,所述压力类别为中压;
    在所述压力值位于第三阈值范围内的情况下,所述压力类别为重压;
    其中,所述第一阈值范围内的最大值小于所述第二阈值范围内的最小值,所述第二阈值范围内的最大值小于所述第三阈值范围内的最小值。
  4. 根据权利要求1所述的方法,其中,获取当前压力屏被按压的压力值之后,包括:
    获取所述压力屏被多次按压时的多个压力值,对所述多个压力值进行积分处理,得到所述多个压力值的累加值;
    依据所述累加值和按压的次数确定所述多个压力值的平均值,将所述平均值作为所述当前压力屏接收到的按压操作的压力值。
  5. 根据权利要求1至4任一项所述的方法,其中,所述方法还包括:
    在预设时间段内,检测所述压力屏的压力值在预设阈值范围内时,停止对所述压力屏的压力类别的识别。
  6. 一种压力屏的压力类别识别装置,包括:
    获取模块,设置为获取当前压力屏接收到的按压操作的压力值;
    确定模块,设置为依据预设映射关系,确定与所述压力值对应的压力类别,其中,所述预设映射关系是指预先存储的压力值与所述压力类别的非线性对应关系,所述压力类别用于指示所述按压操作的不同压力值。
  7. 根据权利要求6所述的装置,其中,所述确定模块还设置为指示所述非线性对应关系所述预先存储的压力值与所述压力类别的指数关系。
  8. 根据权利要求6所述的装置,其中,所述压力类别通过以下方式确定:
    在所述压力值位于第一阈值范围内的情况下,所述压力类别为轻压;
    在所述压力值位于第二阈值范围内的情况下,所述压力类别为中压;
    在所述压力值位于第三阈值范围内的情况下,所述压力类别为重压;
    其中,所述第一阈值范围内的最大值小于所述第二阈值范围内的最小值,所述第二阈值范围内的最大值小于所述第三阈值范围内的最小值。
  9. 根据权利要求6所述的装置,其中,所述装置还包括:
    积分模块,设置为在获取当前压力屏被按压的压力值之后,获取所述压力屏被多次按压时的多个压力值,对所述多个压力值进行积分处理,得到所述多个压力值的累加值;
    平均模块,设置为依据所述累加值和按压的次数确定所述多个压力值的平均值,将所述平均值作为所述当前压力屏接收到的按压操作的压力值。
  10. 根据权利要求6至9任一项所述的装置,其中,所述装置还包括:
    检测模块,设置为在预设时间段内,检测所述压力屏的压力值在预设阈值范围内时,停止对所述压力屏的压力类别的识别。
PCT/CN2016/085056 2016-01-27 2016-06-07 压力屏的压力类别识别方法及装置 WO2017128584A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610055699.0A CN107015676A (zh) 2016-01-27 2016-01-27 压力屏的压力类别识别方法及装置
CN201610055699.0 2016-01-27

Publications (1)

Publication Number Publication Date
WO2017128584A1 true WO2017128584A1 (zh) 2017-08-03

Family

ID=59397146

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/085056 WO2017128584A1 (zh) 2016-01-27 2016-06-07 压力屏的压力类别识别方法及装置

Country Status (2)

Country Link
CN (1) CN107015676A (zh)
WO (1) WO2017128584A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110471808A (zh) * 2019-07-25 2019-11-19 维沃移动通信有限公司 一种压力按键检测方法、装置及移动终端

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108874287A (zh) * 2018-06-05 2018-11-23 中新国际电子有限公司 触控类型识别方法及装置

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2042972A1 (en) * 2007-09-29 2009-04-01 HTC Corporation Method for determining pressed location of touch screen
CN101800809A (zh) * 2010-01-22 2010-08-11 中兴通讯股份有限公司 一种调节通信终端的通话音量的方法及该通信终端
CN104252303A (zh) * 2013-06-27 2014-12-31 福建省辉锐材料科技有限公司 一种基于压感信息操控游戏的方法及系统
CN104714741A (zh) * 2013-12-11 2015-06-17 北京三星通信技术研究有限公司 触控操作的方法及装置
CN105045509A (zh) * 2015-08-03 2015-11-11 努比亚技术有限公司 一种编辑图片的装置和方法
CN105100476A (zh) * 2015-07-28 2015-11-25 努比亚技术有限公司 一种移动终端解锁装置和方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2042972A1 (en) * 2007-09-29 2009-04-01 HTC Corporation Method for determining pressed location of touch screen
CN101800809A (zh) * 2010-01-22 2010-08-11 中兴通讯股份有限公司 一种调节通信终端的通话音量的方法及该通信终端
CN104252303A (zh) * 2013-06-27 2014-12-31 福建省辉锐材料科技有限公司 一种基于压感信息操控游戏的方法及系统
CN104714741A (zh) * 2013-12-11 2015-06-17 北京三星通信技术研究有限公司 触控操作的方法及装置
CN105100476A (zh) * 2015-07-28 2015-11-25 努比亚技术有限公司 一种移动终端解锁装置和方法
CN105045509A (zh) * 2015-08-03 2015-11-11 努比亚技术有限公司 一种编辑图片的装置和方法

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110471808A (zh) * 2019-07-25 2019-11-19 维沃移动通信有限公司 一种压力按键检测方法、装置及移动终端
CN110471808B (zh) * 2019-07-25 2023-12-29 维沃移动通信有限公司 一种压力按键检测方法、装置及移动终端

Also Published As

Publication number Publication date
CN107015676A (zh) 2017-08-04

Similar Documents

Publication Publication Date Title
US10452889B2 (en) Apparatus and method for detecting touch pressure
WO2017174010A1 (zh) 一种指纹解锁的方法及终端
EP3211514A1 (en) Touch signal-based mobile terminal operation method, system and mobile terminal
US10489632B2 (en) Electronic device and detection method
WO2017156964A1 (zh) 一种终端解锁的方法及终端
WO2017107086A1 (en) Touch gesture detection assessment
TWI695311B (zh) 一種利用手勢模擬滑鼠操作的方法、裝置及終端
US10248231B2 (en) Electronic device with fingerprint detection
CN105824521A (zh) 一种应用操作的方法和移动终端
WO2018072171A1 (zh) 基于指纹的压力检测方法及装置
CN103916540A (zh) 一种信息反馈的方法及移动终端
CN107077279B (zh) 一种压力检测的方法及装置
CN104346074A (zh) 一种终端
CN110945464B (zh) 滑动信号的识别方法、mcu、触控设备及存储介质
WO2017128584A1 (zh) 压力屏的压力类别识别方法及装置
CN110763888A (zh) 自动识别触发类型的方法、装置及示波器
RU2016133526A (ru) Способ обработки сигнала прикосновения и устройство терминала
CN110838306B (zh) 语音信号检测方法、计算机存储介质及相关设备
CN104360800A (zh) 一种解锁模式调整方法
WO2015085874A1 (zh) 一种手势识别方法及装置
US20180307359A1 (en) Touch determining device and method, and display device
CN105975157B (zh) 一种基于移动终端应用图标形状的分类显示方法及系统
EP3611629A1 (en) Photo processing method and apparatus, and computer device
JP6349419B2 (ja) 携帯端末インターフェースの調整方法、装置及び端末
CN105511673B (zh) 一种触屏响应方法、装置及游戏操控方法、装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16887466

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16887466

Country of ref document: EP

Kind code of ref document: A1