WO2023273214A1 - 一种触摸按键灵敏度的自定义方法、系统及触摸设备 - Google Patents

一种触摸按键灵敏度的自定义方法、系统及触摸设备 Download PDF

Info

Publication number
WO2023273214A1
WO2023273214A1 PCT/CN2021/139381 CN2021139381W WO2023273214A1 WO 2023273214 A1 WO2023273214 A1 WO 2023273214A1 CN 2021139381 W CN2021139381 W CN 2021139381W WO 2023273214 A1 WO2023273214 A1 WO 2023273214A1
Authority
WO
WIPO (PCT)
Prior art keywords
sensitivity
value
custom
touch
mode
Prior art date
Application number
PCT/CN2021/139381
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 WO2023273214A1 publication Critical patent/WO2023273214A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/94Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the way in which the control signals are generated
    • H03K17/96Touch switches
    • H03K17/962Capacitive touch switches
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K2217/00Indexing scheme related to electronic switching or gating, i.e. not by contact-making or -breaking covered by H03K17/00
    • H03K2217/94Indexing scheme related to electronic switching or gating, i.e. not by contact-making or -breaking covered by H03K17/00 characterised by the way in which the control signal is generated
    • H03K2217/9401Calibration techniques
    • H03K2217/94021Calibration techniques with human activation, e.g. processes requiring or being triggered by human intervention, user-input of digital word or analog voltage

Definitions

  • the present application relates to the field of touch, in particular to a method, system and touch device for customizing the sensitivity of touch keys.
  • touch buttons have been widely used in products such as wireless earphones and stereos.
  • the sensitivity of the touch key is usually fixed and set during the product design process. When the product is in use, the sensitivity value of the touch key remains unchanged and is always equal to the sensitivity value set in advance.
  • different users are accustomed to tapping methods (including finger force and finger contact area) are generally different, resulting in different users have different sensitivity requirements for touch keys.
  • the fixed sensitivity will cause Some users often trigger the touch button by mistake, or the touch button will often fail, requiring the user to press several times to trigger it, which greatly affects the user experience.
  • the purpose of this application is to provide a method, system and touch device for customizing the sensitivity of touch keys, which can customize the applicable key sensitivity value for users, and give priority to using the key sensitivity customized for users when using touch devices Value, the default key sensitivity value is used only when there is no custom key sensitivity value, which effectively avoids the situation that the user accidentally triggers the touch key or the touch key fails due to an inappropriate key sensitivity value, and improves the user experience.
  • this application provides a method for customizing the sensitivity of touch keys, which is applied to touch devices containing touch keys, including:
  • the preset sensitivity default value is used as the sensitivity value of the touch key.
  • the sensitivity customization mode includes a sensitivity value selection mode
  • the process of determining the sensitivity custom value according to the sensitivity custom policy in the sensitivity value selection mode includes:
  • the sensitivity customization value corresponding to the target sensitivity selection value is determined.
  • the preset process of the preset corresponding relationship between the sensitivity selection value and the actual sensitivity custom value includes:
  • sensitivity custom values for the sensitivity selection values one by one to establish a correspondence between the two; wherein, the middle value in the sensitivity selection value corresponds to the sensitivity default value; the larger sensitivity selection value corresponds to The greater the sensitivity custom value is.
  • the touch key is a capacitive touch key
  • the sensitivity customization mode includes a manual tapping mode
  • the process of determining the sensitivity custom value according to the sensitivity custom policy in the manual tapping mode includes:
  • the sensitivity custom value corresponding to the target capacitance value is determined.
  • the process of obtaining the target capacitance value when the touch key is touched includes:
  • the method for customizing the sensitivity of the touch key also includes:
  • the method for customizing the sensitivity of the touch key also includes:
  • the sensitivity custom value is cleared to zero.
  • the method for customizing the sensitivity of the touch key also includes:
  • the target sensitivity custom mode When entering the target sensitivity custom mode, set the tag value corresponding to the target sensitivity custom mode as the first value; wherein, the target sensitivity custom mode is any one of the sensitivity custom modes;
  • this application also provides a custom system for touch key sensitivity, which is applied to touch devices containing touch keys, including:
  • a custom module configured to determine a custom sensitivity value according to a sensitivity custom strategy in the sensitivity custom mode when receiving an instruction to enter the sensitivity custom mode;
  • the judging module is used to judge whether the custom sensitivity value is zero when the touch device is in use; if not, execute the first setting module; if so, execute the second setting module;
  • a first setting module configured to use the custom sensitivity value as the sensitivity value of the touch key
  • the second setting module is used to use the preset sensitivity default value as the sensitivity value of the touch key.
  • the present application also provides a touch device, including touch buttons, and also includes:
  • the processor is configured to realize the steps of any one of the above-mentioned methods for customizing the sensitivity of touch keys when executing the computer program.
  • This application provides a method for customizing the sensitivity of touch buttons, which is applied to touch devices containing touch buttons, including: when receiving an instruction to enter the sensitivity customization mode, determine the sensitivity according to the sensitivity customization strategy in the sensitivity customization mode Custom value; when using a touch device, judge whether the custom sensitivity value is zero; if not, use the custom sensitivity value as the sensitivity value of the touch button; if so, use the preset sensitivity default value as the sensitivity value of the touch button .
  • this application can customize the applicable button sensitivity value for the user, and when using a touch device, the user-defined button sensitivity value will be used first, and the default button will be used only when there is no custom button sensitivity value
  • the sensitivity value can effectively avoid the situation that the user accidentally triggers the touch button or the touch button fails due to an inappropriate button sensitivity value, and improves the user experience.
  • the present application also provides a touch key sensitivity customization system and a touch device, which have the same beneficial effect as the above customization method.
  • FIG. 1 is a flow chart of a method for customizing touch key sensitivity provided in an embodiment of the present application
  • FIG. 2 is a schematic diagram of partial storage of a memory of a touch device provided by an embodiment of the present application
  • FIG. 3 is a schematic diagram of a touch key sensitivity adjustment interface provided in an embodiment of the present application.
  • FIG. 4 is a schematic diagram of a custom sensitivity interface provided in the embodiment of the present application.
  • FIG. 5 is a schematic diagram of an interface for selecting a sensitivity value provided by an embodiment of the present application.
  • FIG. 6 is a schematic diagram of an interface for the number of times a touch key is tapped provided by an embodiment of the present application
  • FIG. 7 is a schematic diagram of a data packet format transmitted between a touch device and a terminal provided in an embodiment of the present application
  • FIG. 8 is a schematic structural diagram of a system for customizing touch key sensitivity provided by an embodiment of the present application.
  • the core of this application is to provide a method, system, and touch device for customizing the sensitivity of touch keys, which can customize the applicable key sensitivity value for users, and when using touch devices, use the key sensitivity customized for users first.
  • the default key sensitivity value is used only when there is no custom key sensitivity value, which effectively avoids the situation that the user accidentally triggers the touch key or the touch key fails due to an inappropriate key sensitivity value, and improves the user experience.
  • FIG. 1 is a flow chart of a method for customizing touch key sensitivity provided by an embodiment of the present application.
  • touch buttons such as Bluetooth headsets, Bluetooth speakers, etc.
  • touch buttons including:
  • Step S1 When receiving the instruction to enter the sensitivity customization mode, determine the sensitivity customization value according to the sensitivity customization strategy in the sensitivity customization mode.
  • the present application sets at least one sensitivity customization mode for the touch key in advance, and in different sensitivity customization modes, the ways of customizing the sensitivity of the touch key are different. Based on this, the application sets sensitivity customization strategies for different sensitivity customization modes one by one in advance, and according to the sensitivity customization strategy, the user can customize the applicable button sensitivity value.
  • the user can select a sensitivity customization mode (referred to as a target sensitivity customization mode), and trigger an instruction to enter the target sensitivity customization mode.
  • a target sensitivity customization mode referred to as a target sensitivity customization mode
  • the application can customize its applicable button sensitivity value (called sensitivity self-definition value) for the user according to the sensitivity self-definition strategy under the target sensitivity self-definition mode. It is used for subsequent customization of the sensitivity of touch keys. It should be noted that the custom sensitivity value can be changed infinitely, which increases the practicality of touch devices.
  • Step S2 When the touch device is in use, determine whether the custom sensitivity value is zero; if not, execute step S3; if yes, execute step S4.
  • Step S3 Use the custom sensitivity value as the sensitivity value of the touch key.
  • Step S4 Use the preset sensitivity default value as the sensitivity value of the touch key.
  • this application sets a default sensitivity value in advance, and the priority of using the default sensitivity value is lower than that of the user-defined sensitivity value. It is used as the sensitivity value of the touch button. Only when there is no customized button sensitivity value, the default sensitivity value is used as the sensitivity value of the touch button, so as to provide the user with the applicable button sensitivity value as much as possible.
  • the present application divides a storage area from the memory of the touch device, and this storage area includes a first storage area for storing sensitivity default values and a second storage area for storing sensitivity custom values (as shown in FIG. 2). It should be noted that the first storage area and the second storage area are required not to be lost when power is turned off, so flash (flash memory) can be selected as the memory where the two storage areas are located.
  • the touch device when the touch device is in use, read the custom sensitivity value from the second storage area, and judge whether the custom sensitivity value read is zero; if it is not zero, it means that there is a custom key sensitivity value, then Use the read sensitivity custom value as the sensitivity value of the touch key; if it is zero, it means that there is no custom key sensitivity value, then read the sensitivity default value from the first storage area, and use the read sensitivity default value As the sensitivity value of the touch button.
  • this application can customize the applicable button sensitivity value for the user, and when using a touch device, the user-defined button sensitivity value will be used first, and the default button will be used only when there is no custom button sensitivity value
  • the sensitivity value can effectively avoid the situation that the user accidentally triggers the touch button or the touch button fails due to an inappropriate button sensitivity value, and improves the user experience.
  • the sensitivity customization mode includes a sensitivity value selection mode
  • the process of determining the sensitivity custom value according to the sensitivity custom policy in the sensitivity value selection mode including:
  • the sensitivity customization value corresponding to the target sensitivity selection value is determined.
  • the sensitivity customization mode of the present application may include a sensitivity value selection mode.
  • the principle of customizing the sensitivity of the touch key is: the application sets a plurality of sensitivity selection values for the user to select in advance, and establishes The correspondence between the sensitivity selection value and the actual sensitivity custom value (referred to as the correspondence between the selection value and the custom value).
  • the user needs to customize the sensitivity, he can select the sensitivity value selection mode and trigger an instruction to enter the sensitivity value selection mode.
  • the present application determines that the touch device enters the sensitivity value selection mode when receiving an instruction to enter the sensitivity value selection mode.
  • a user may select a sensitivity selection value (referred to as a target sensitivity selection value) from a plurality of sensitivity selection values, and trigger an instruction including the target sensitivity selection value.
  • a target sensitivity selection value referred to as a target sensitivity selection value
  • the application receives an instruction including the target sensitivity selection value, according to the selection value-custom value correspondence relationship, determine the sensitivity customization value corresponding to the target sensitivity selection value, and store the determined sensitivity customization value in the second storage area , for use when customizing the sensitivity of touch keys.
  • the preset process of the preset corresponding relationship between the sensitivity selection value and the actual sensitivity custom value includes:
  • the middle value in the sensitivity selection value corresponds to the sensitivity default value; the greater the sensitivity selection value, the higher the corresponding sensitivity custom value big.
  • the setting principle of the corresponding relationship between selected value and custom value in this application is: set a preset number of sensitivity selection values in an increasing relationship, select an intermediate value from multiple sensitivity selection values, and set the selected intermediate value Establish a one-to-one correspondence with the sensitivity default value; select a certain number of sensitivity values (called high sensitivity values) from the sensitivity values greater than the sensitivity default value, and establish the relationship between the high sensitivity value and the sensitivity selection value greater than the middle value in turn.
  • One-to-one correspondence (the larger the sensitivity selection value, the greater the sensitivity value); select a certain number of sensitivity values (called low sensitivity values) from the sensitivity values smaller than the default sensitivity value, and establish the low sensitivity value and the lower sensitivity value in turn.
  • the one-to-one correspondence between the sensitivity selection values of the intermediate value (the smaller the sensitivity selection value corresponds to the smaller sensitivity value), so as to obtain the corresponding relationship between the sensitivity selection value and the actual sensitivity custom value.
  • sensitivity selection value integer
  • center the default value of sensitivity and correspond the default value of sensitivity to 5, select 5 values for the sensitivity value greater than the default value of sensitivity, and then correspond to 6, 7, 8, 9 in turn
  • 10 corresponds to, select 5 values for the sensitivity value less than the default value of sensitivity, corresponding to 4, 3, 2, 1, 0 in turn.
  • this application can save the sensitivity selection value and the sensitivity value corresponding to the sensitivity selection value in the memory of the touch device. As shown in FIG. 2, the sensitivity selection value from 0 to 10 and the corresponding sensitivity value are stored in the in memory.
  • the touch button is a capacitive touch button
  • the sensitivity customization mode includes a manual tapping mode
  • the process of determining the sensitivity customization value according to the sensitivity customization strategy in manual tapping mode including:
  • the sensitivity custom value corresponding to the target capacitance value is determined.
  • the touch key of the present application adopts a capacitive touch key
  • the detection principle of the capacitive touch key is the change of capacitance.
  • the capacitance between the touch button and the ground is a very small fixed value, and there is also a capacitance between the human body and the ground.
  • the finger is close to the touch button, it is equivalent to the touch button and the ground.
  • the capacitance between the human body and the earth is connected in parallel, so that the total capacitance becomes larger.
  • the strength of the user's finger tapping the touch button and the contact area between the finger and the touch button are different, and the capacitance value of the detected touch button is different, so this application can set another sensitivity customization mode based on this principle: manual tapping mode .
  • the principle of customizing the sensitivity of the touch key is: the application establishes the correspondence between the capacitance value and the sensitivity custom value in advance (referred to as the capacitance value-custom value correspondence).
  • the user needs to customize the sensitivity, he can choose the manual tapping mode and trigger an instruction to enter the manual tapping mode.
  • the present application determines that the touch device enters the manual tapping mode when receiving an instruction to enter the manual tapping mode.
  • the user can tap the touch button, and the application obtains the capacitance value (called the target capacitance value) when the touch button is tapped, and determines the sensitivity custom value corresponding to the target capacitance value according to the capacitance value-custom value correspondence relationship, And store the determined custom sensitivity value in the second storage area for use when customizing the sensitivity of the touch key.
  • the application obtains the capacitance value (called the target capacitance value) when the touch button is tapped, and determines the sensitivity custom value corresponding to the target capacitance value according to the capacitance value-custom value correspondence relationship, And store the determined custom sensitivity value in the second storage area for use when customizing the sensitivity of the touch key.
  • the process of obtaining the target capacitance value when the touch button is touched includes:
  • the application respectively obtains the capacitance value when the touch button is struck multiple times, and calculates the average capacitance value of the multiple capacitance values obtained when the touch key is struck multiple times, and then uses the average capacitance value to determine the sensitivity.
  • the application respectively obtains the capacitance value when the touch button is struck multiple times, and calculates the average capacitance value of the multiple capacitance values obtained when the touch key is struck multiple times, and then uses the average capacitance value to determine the sensitivity.
  • the application respectively obtains the capacitance value when the touch button is struck multiple times, and calculates the average capacitance value of the multiple capacitance values obtained when the touch key is struck multiple times, and then uses the average capacitance value to determine the sensitivity.
  • the application respectively obtains the capacitance value when the touch button is struck multiple times, and calculates the average capacitance value of the multiple capacitance values obtained when the touch key is struck multiple times, and then uses the average capacitance value to determine the sensitivity.
  • the application respectively obtains the
  • the present application can store multiple capacitance values obtained during multiple taps into the memory of the touch device. As shown in FIG. 2, the capacitance values of the first to fifth taps are stored in the memory, and The capacitance value-custom value correspondence relationship can be saved in the memory in the form of a correspondence table (required not to be lost after power failure), for use when the capacitance value is used to determine the sensitivity custom value.
  • the method for customizing the touch key sensitivity also includes:
  • the function of tapping the touch button is to trigger a certain function
  • the function of tapping the touch button is to obtain the touch button Therefore, when the application enters the manual tapping mode, the original touch function of the touch button is shielded, so as to avoid the original touch function of the button being accidentally triggered by tapping the touch button in the manual tapping mode.
  • the present application restores the original touch function of the touch key when exiting the manual tapping mode, so as to ensure the effectiveness of the touch key when the touch device is in normal use.
  • the method for customizing the touch key sensitivity also includes:
  • the sensitivity custom value is cleared to zero.
  • the custom sensitivity value when the user needs to restore the default value (clear) the custom sensitivity value, he can trigger an instruction to restore the default value.
  • the application receives an instruction to restore the default value, the custom sensitivity value is cleared, so as to facilitate the switching of the custom sensitivity value.
  • the method for customizing the touch key sensitivity also includes:
  • the target sensitivity custom mode When entering the target sensitivity custom mode, set the tag value corresponding to the target sensitivity custom mode as the first value; wherein, the target sensitivity custom mode is any sensitivity custom mode;
  • the present application can also set flag values for each sensitivity custom mode one by one in advance (the default value is 0), and when entering the target sensitivity custom mode, set the flag value corresponding to the target sensitivity custom mode as the first value (such as 1), to mark the touch device to enter the target sensitivity custom mode, and when exiting the target sensitivity custom mode, set the flag value corresponding to the target sensitivity custom mode to the second value (such as 0), to mark the touch The device exits target sensitivity customization mode.
  • this application can set the first flag value for the sensitivity value selection mode (whether the flag is in the sensitivity value selection mode, the default is 0), and save the first flag value to the memory (as shown in Figure 2), and enter In the sensitivity value selection mode, the first flag value is set to 1, and when the sensitivity value selection mode is exited, the first flag value is set to 0.
  • This application can set the second flag value for the manual tapping mode (whether the flag is in the manual tapping mode, the default is 0), and save the second flag value to the memory (as shown in Figure 2), and enter the manual tapping mode When tapping mode, the second flag value is set to 1, and when the manual tapping mode is exited, the second flag value is set to 0.
  • the user can issue an instruction to the trigger device through an APP (Application, application program) of a terminal (such as a mobile phone), so that the trigger device can implement the above-mentioned customized operation of the touch key sensitivity.
  • APP Application, application program
  • the APP design is as follows:
  • this storage area includes the third storage area for storing the sensitivity default value and the fourth storage area for storing the sensitivity selection value (0 to 10) corresponding to the sensitivity custom value area.
  • the touch device Each time the touch device is connected to the APP (such as via Bluetooth), the touch device will send its own default sensitivity value and the sensitivity selection value corresponding to the sensitivity custom value (0 to 10, if there is no sensitivity custom value, then send 5) Send it to the APP for information synchronization, and the APP saves these two values in its own storage area.
  • the APP provides two ways to customize the sensitivity: sensitivity value selection and manual tapping, and also provides the option to restore the default value.
  • this interface has two options: custom and restore default.
  • the APP will empty the fourth storage area and send an instruction to restore the default value to the touch device. After receiving the instruction to restore the default value, the touch device will empty the second storage area.
  • the APP enters the interface for customizing sensitivity (as shown in Figure 4).
  • sensitivity value selection There are two ways for users to customize sensitivity: sensitivity value selection and manual tapping.
  • the APP enters the sensitivity value selection interface (as shown in Figure 5), and sends an instruction to enter the sensitivity value selection mode to the touch device, telling the touch device to enter the sensitivity value selection mode, and the touch device will save
  • the field of the first flag value (whether the flag is in the sensitivity value selection mode) is set to 1.
  • the APP When the APP enters the sensitivity value selection interface, it will read the sensitivity selection value corresponding to the sensitivity custom value in the fourth storage area, and place the slider on the corresponding number, taking the number 5 as an example.
  • the user moves the slider, and then clicks save.
  • the APP recognizes which value the slider is on at this time, saves the recognized value (target sensitivity selection value) in the fourth storage area of the APP, and sends an instruction containing the target sensitivity selection value to
  • the touch device saves the custom sensitivity value corresponding to the target sensitivity selection value in the second storage area.
  • the APP does not need to detect which value the slider is on, and automatically places the slider to the previous position, and then sends an instruction to exit the sensitivity value selection mode to the touch device to inform the touch device
  • the device exits the sensitivity value selection mode, and the touch device sets the area storing the first flag value to 0.
  • the APP enters the touch button tapping times interface (as shown in Figure 6), and sends an instruction to enter the sensitive manual tapping mode to the touch device to inform the touch device Entering the manual tapping mode, the touch device will set the area storing the second flag value (whether the flag is in the manual tapping mode) to 1, and temporarily shield the function of the touch button. At this time, the user taps the button, and the touch device will not perform normally. function that will be performed in the case.
  • the APP prompts the user to tap the touch button 5 times. Every time the user taps, the touch device detects and records the capacitance value, and sends a message to inform the APP user that a tap has been completed, and the numbers from 1 to 5 are displayed on the APP in turn. Help the user record the number of taps.
  • the close sensitivity selection value (0 to 10) is sent to the APP, and the APP saves it in the fourth storage area.
  • the completed icon is gray and cannot be clicked. Only after completing 5 effective taps, the completed icon will light up.
  • the APP sends an instruction to exit the manual tapping mode to the touch device, telling the touch device to exit the manual tapping mode, and the touch device will set the area storing the second flag value to 0, And delete all saved capacitor values.
  • the touch device is a Bluetooth touch device (such as a Bluetooth headset, etc.)
  • the design of the Bluetooth communication part between the Bluetooth touch device and the APP is as follows:
  • the data packet is packed according to the format of prefix+type+data length+data, and the required data packet is shown in FIG. 7 .
  • the data packet is DE 02 01 00. Put this data packet into the payload (effective load) of the standard Bluetooth protocol and send it. After the Bluetooth touch device receives it Analyze according to the same rules, and you can get the message of exiting the sensitivity value selection mode.
  • FIG. 8 is a schematic structural diagram of a touch key sensitivity customization system provided by an embodiment of the present application.
  • touch button sensitivity applies to touch devices that contain touch buttons, including:
  • the custom module 1 is configured to determine the sensitivity custom value according to the sensitivity custom policy in the sensitivity custom mode when receiving an instruction to enter the sensitivity custom mode;
  • the judging module 2 is used to judge whether the sensitivity custom value is zero when the touch device is used; if not, execute the first setting module 3; if so, execute the second setting module 4;
  • the first setting module 3 is used to use the custom sensitivity value as the sensitivity value of the touch button
  • the second setting module 4 is used for setting the preset sensitivity default value as the sensitivity value of the touch key.
  • the present application also provides a touch device, including a touch button, and also includes:
  • the processor is configured to realize the steps of any one of the methods for customizing the sensitivity of the touch keys when executing the computer program.

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

本发明公开了一种触摸按键灵敏度的自定义方法、系统及触摸设备,在接收到进入灵敏度自定义模式的指令时,按照灵敏度自定义模式下的灵敏度自定义策略确定灵敏度自定义值;在触摸设备使用时,判断灵敏度自定义值是否为零;若否,则将灵敏度自定义值作为触摸按键的灵敏度值;若是,则将预设灵敏度默认值作为触摸按键的灵敏度值。可见,本申请可为用户自定义其所适用的按键灵敏度值,并在触摸设备使用时,优先使用为用户自定义的按键灵敏度值,只有在没有自定义的按键灵敏度值时才使用默认的按键灵敏度值,有效避免了因按键灵敏度值不合适导致的用户误触发触摸按键或者触摸按键失效的情况,提升了用户的使用体验。

Description

一种触摸按键灵敏度的自定义方法、系统及触摸设备
本申请要求于2021年06月29日提交中国专利局、申请号202110732001.5、申请名称为“一种触摸按键灵敏度的自定义方法、系统及触摸设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及触摸领域,特别是涉及一种触摸按键灵敏度的自定义方法、系统及触摸设备。
背景技术
目前,触摸按键已经广泛应用于无线耳机、音响等产品中。现有技术中,触摸按键的灵敏度通常在产品设计过程中已固定设置好,在产品使用时,触摸按键的灵敏度值保持不变,始终等于提前设置好的灵敏度值。但是,对于触摸按键,不同用户所习惯的敲击方式(包括手指力度和手指接触面积的大小)一般不同,导致不同用户对触摸按键的灵敏度要求也不同,在此情况下,固定的灵敏度会导致一些用户经常误触发触摸按键,或者触摸按键会经常失效,需要用户多按几次才能触发,十分影响用户的使用体验。
因此,如何提供一种解决上述技术问题的方案是本领域的技术人员目前需要解决的问题。
发明内容
本申请的目的是提供一种触摸按键灵敏度的自定义方法、系统及触摸设备,可为用户自定义其所适用的按键灵敏度值,并在触摸设备使用时,优先使用为用户自定义的按键灵敏度值,只有在没有自定义的按键灵敏度值时才使用默认的按键灵敏度值,有效避免了因按键灵敏度值不合适导致的用户误触发触摸按键或者触摸按键失效的情况,提升了用户的使用体验。
为解决上述技术问题,本申请提供了一种触摸按键灵敏度的自定义方法,应用于包含触摸按键的触摸设备,包括:
在接收到进入灵敏度自定义模式的指令时,按照所述灵敏度自定义模式下的灵敏度自定义策略确定灵敏度自定义值;
在所述触摸设备使用时,判断所述灵敏度自定义值是否为零;
若否,则将所述灵敏度自定义值作为所述触摸按键的灵敏度值;
若是,则将预设灵敏度默认值作为所述触摸按键的灵敏度值。
优选地,所述灵敏度自定义模式包括灵敏度值选择模式;
按照所述灵敏度值选择模式下的灵敏度自定义策略确定灵敏度自定义值的过程,包括:
接收包含目标灵敏度选择值的指令;
根据灵敏度选择值与实际的灵敏度自定义值之间的预设对应关系,确定与所述目标灵敏度选择值对应的灵敏度自定义值。
优选地,灵敏度选择值与实际的灵敏度自定义值之间的预设对应关系的预设过程,包括:
设置预设数量的呈递增关系的灵敏度选择值;
为所述灵敏度选择值一一选取灵敏度自定义值,以建立二者之间的对应关系;其中,所述灵敏度选择值中的中间值与所述灵敏度默认值对应;越大的灵敏度选择值对应的灵敏度自定义值越大。
优选地,所述触摸按键为电容式触摸按键,所述灵敏度自定义模式包括手动敲击模式;
按照所述手动敲击模式下的灵敏度自定义策略确定灵敏度自定义值的过程,包括:
获取所述触摸按键被触摸时的目标电容值;
根据电容值与灵敏度自定义值之间的预设对应关系,确定与所述目标电容值对应的灵敏度自定义值。
优选地,获取所述触摸按键被触摸时的目标电容值的过程,包括:
分别获取所述触摸按键多次被触摸时的电容值;
求取所述多次被触摸时的电容值的平均电容值,并将所述平均电容值作为所述目标电容值。
优选地,所述触摸按键灵敏度的自定义方法还包括:
在进入所述手动敲击模式时,屏蔽所述触摸按键的原触摸功能;
在退出所述手动敲击模式时,恢复所述触摸按键的原触摸功能。
优选地,所述触摸按键灵敏度的自定义方法还包括:
在接收到恢复默认值的指令时,将所述灵敏度自定义值清零。
优选地,所述触摸按键灵敏度的自定义方法还包括:
预先为各所述灵敏度自定义模式一一设定标记值;
在进入目标灵敏度自定义模式时,将所述目标灵敏度自定义模式对应的标记值置为第一值;其中,所述目标灵敏度自定义模式为任一所述灵敏度自定义模式;
在退出所述目标灵敏度自定义模式时,将所述目标灵敏度自定义模式对应的标记值置为第二值。
为解决上述技术问题,本申请还提供了一种触摸按键灵敏度的自定义系统,应用于包含触摸按键的触摸设备,包括:
自定义模块,用于在接收到进入灵敏度自定义模式的指令时,按照所述灵敏度自定义模式下的灵敏度自定义策略确定灵敏度自定义值;
判断模块,用于在所述触摸设备使用时,判断所述灵敏度自定义值是否为零;若否,则执行第一设定模块;若是,则执行第二设定模块;
第一设定模块,用于将所述灵敏度自定义值作为所述触摸按键的灵敏度值;
第二设定模块,用于将预设灵敏度默认值作为所述触摸按键的灵敏度值。
为解决上述技术问题,本申请还提供了一种触摸设备,包括触摸按键,还包括:
存储器,用于存储计算机程序;
处理器,用于在执行所述计算机程序时实现上述任一种触摸按键灵敏度的自定义方法的步骤。
本申请提供了一种触摸按键灵敏度的自定义方法,应用于包含触摸按键的触摸设备,包括:在接收到进入灵敏度自定义模式的指令时,按照灵敏度自定义模式下的灵敏度自定义策略确定灵敏度自定义值;在触摸设备使用时,判断灵敏度自定义值是否为零;若否,则将灵敏度自定义值作为触摸按键的灵敏度值;若是,则将预设灵敏度默认值作为触摸按键的灵敏度值。可见,本申请可为用户自定义其所适用的按键灵敏度值,并在触摸设备使用时,优先使用为用户自定义的按键灵敏度值,只有在没有自定义的按键灵敏度值时才使用默认的按键灵敏度值,有效避免了因按键灵敏度值不合适导致的用户误触发触摸按键或者触摸按键失效的情况,提升了用户的使用体验。
本申请还提供了一种触摸按键灵敏度的自定义系统及触摸设备,与上述自定义方法具有相同的有益效果。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对现有技术和实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本申请实施例提供的一种触摸按键灵敏度的自定义方法的流程图;
图2为本申请实施例提供的一种触摸设备的存储器的部分存储示意图;
图3为本申请实施例提供的一种触摸按键灵敏度调整界面的示意图;
图4为本申请实施例提供的一种自定义灵敏度界面的示意图;
图5为本申请实施例提供的一种选择灵敏度值界面的示意图;
图6为本申请实施例提供的一种触摸按键敲击次数界面的示意图;
图7为本申请实施例提供的一种触摸设备与终端之间传输的数据包格式示意图;
图8为本申请实施例提供的一种触摸按键灵敏度的自定义系统的结构示意图。
具体实施方式
本申请的核心是提供一种触摸按键灵敏度的自定义方法、系统及触摸设备,可为用户自定义其所适用的按键灵敏度值,并在触摸设备使用时,优先使用为用户自定义的按键灵敏度值,只有在没有自定义的按键灵敏度值时才使用默认的按键灵敏度值,有效避免了因按键灵敏度值不合适导致的用户误触发触摸按键或者触摸按键失效的情况,提升了用户的 使用体验。
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
请参照图1,图1为本申请实施例提供的一种触摸按键灵敏度的自定义方法的流程图。
该触摸按键灵敏度的自定义方法应用于包含触摸按键的触摸设备(如蓝牙耳机、蓝牙音响等),包括:
步骤S1:在接收到进入灵敏度自定义模式的指令时,按照灵敏度自定义模式下的灵敏度自定义策略确定灵敏度自定义值。
具体地,本申请提前为触摸按键设置至少一种灵敏度自定义模式,在不同灵敏度自定义模式下,自定义触摸按键的灵敏度的方式不同。基于此,本申请提前为不同灵敏度自定义模式一一设置灵敏度自定义策略,按照灵敏度自定义策略,可为用户自定义其所适用的按键灵敏度值。
更具体地,用户在有灵敏度自定义需求时,可选择一种灵敏度自定义模式(称为目标灵敏度自定义模式),并触发进入目标灵敏度自定义模式的指令。本申请在接收到进入目标灵敏度自定义模式的指令时,可按照目标灵敏度自定义模式下的灵敏度自定义策略,为用户自定义其所适用的按键灵敏度值(称为灵敏度自定义值),以供后续自定义触摸按键的灵敏度使用。需要说明的是,灵敏度自定义值可无限次更改,增加触摸设备的实用性。
步骤S2:在触摸设备使用时,判断灵敏度自定义值是否为零;若否,则执行步骤S3;若是,则执行步骤S4。步骤S3:将灵敏度自定义值作为触摸按键的灵敏度值。步骤S4:将预设灵敏度默认值作为触摸按键的灵敏度值。
具体地,本申请提前设置一个灵敏度默认值,灵敏度默认值的使用优先级低于灵敏度自定义值的使用优先级,即若有自定义好的按键灵敏度值,优先将自定义好的按键灵敏度值作为触摸按键的灵敏度值使用,只有在没有自定义好的按键灵敏度值时,才将灵敏度默认值作为触摸按键的灵敏度值使用,从而尽可能为用户提供其所适用的按键灵敏度值。
更具体地,本申请从触摸设备的存储器中划分出一块存储区域,此块存储区域包括用于存储灵敏度默认值的第一存储区域和用于存储灵敏度自定义值的第二存储区域(如图2 所示)。需要说明的是,第一存储区域和第二存储区域要求掉电不丢失,所以两存储区域所在的存储器可选用flash(闪存)。
基于此,在触摸设备使用时,从第二存储区域中读取灵敏度自定义值,判断读取的灵敏度自定义值是否为零;若不为零,说明有自定义好的按键灵敏度值,则将读取的灵敏度自定义值作为触摸按键的灵敏度值;若为零,说明没有自定义好的按键灵敏度值,则从第一存储区域中读取灵敏度默认值,并将读取的灵敏度默认值作为触摸按键的灵敏度值。
可见,本申请可为用户自定义其所适用的按键灵敏度值,并在触摸设备使用时,优先使用为用户自定义的按键灵敏度值,只有在没有自定义的按键灵敏度值时才使用默认的按键灵敏度值,有效避免了因按键灵敏度值不合适导致的用户误触发触摸按键或者触摸按键失效的情况,提升了用户的使用体验。
在上述实施例的基础上:
作为一种可选的实施例,灵敏度自定义模式包括灵敏度值选择模式;
按照灵敏度值选择模式下的灵敏度自定义策略确定灵敏度自定义值的过程,包括:
接收包含目标灵敏度选择值的指令;
根据灵敏度选择值与实际的灵敏度自定义值之间的预设对应关系,确定与目标灵敏度选择值对应的灵敏度自定义值。
具体地,本申请的灵敏度自定义模式可包括灵敏度值选择模式,在灵敏度值选择模式下,触摸按键的灵敏度的自定义原理为:本申请提前设置多个供用户选择的灵敏度选择值,并建立灵敏度选择值与实际的灵敏度自定义值之间的对应关系(简称选择值-自定义值对应关系)。用户在有灵敏度自定义需求时,可选择灵敏度值选择模式,并触发进入灵敏度值选择模式的指令。本申请在接收到进入灵敏度值选择模式的指令时,确定触摸设备进入灵敏度值选择模式。用户可从多个灵敏度选择值选择一个灵敏度选择值(称为目标灵敏度选择值),并触发包含目标灵敏度选择值的指令。本申请在接收包含目标灵敏度选择值的指令时,根据选择值-自定义值对应关系,确定与目标灵敏度选择值对应的灵敏度自定义值,并将确定的灵敏度自定义值存储至第二存储区域,供自定义触摸按键的灵敏度时使用。
作为一种可选的实施例,灵敏度选择值与实际的灵敏度自定义值之间的预设对应关系的预设过程,包括:
设置预设数量的呈递增关系的灵敏度选择值;
为灵敏度选择值一一选取灵敏度自定义值,以建立二者之间的对应关系;其中,灵敏度选择值中的中间值与灵敏度默认值对应;越大的灵敏度选择值对应的灵敏度自定义值越大。
具体地,本申请的选择值-自定义值对应关系的设定原理为:设置预设数量的呈递增关系的灵敏度选择值,从多个灵敏度选择值中选择一个中间值,将选择的中间值与灵敏度默认值建立一一对应关系;从大于灵敏度默认值的灵敏度值中选取一定数量的灵敏度值(称为高灵敏度值),并依次建立高灵敏度值与大于中间值的灵敏度选择值之间的一一对应关系(越大的灵敏度选择值对应的灵敏度值越大);从小于灵敏度默认值的灵敏度值中选取一定数量的灵敏度值(称为低灵敏度值),并依次建立低灵敏度值与小于中间值的灵敏度选择值之间的一一对应关系(越小的灵敏度选择值对应的灵敏度值越小),从而得到灵敏度选择值与实际的灵敏度自定义值之间的对应关系。
比如,设置0到10的灵敏度选择值(整数),以灵敏度默认值为中心,将灵敏度默认值与5对应,大于灵敏度默认值的灵敏度值选取5个值,依次与6、7、8、9、10对应,小于灵敏度默认值的灵敏度值选取5个值,依次与4、3、2、1、0对应。另外,本申请可将灵敏度选择值及灵敏度选择值对应的灵敏度值保存至触摸设备的存储器中,如图2所示,将0到10的灵敏度选择值及其对应的灵敏度值按照对应关系保存至存储器中。
作为一种可选的实施例,触摸按键为电容式触摸按键,灵敏度自定义模式包括手动敲击模式;
按照手动敲击模式下的灵敏度自定义策略确定灵敏度自定义值的过程,包括:
获取触摸按键被触摸时的目标电容值;
根据电容值与灵敏度自定义值之间的预设对应关系,确定与目标电容值对应的灵敏度自定义值。
具体地,本申请的触摸按键采用电容式触摸按键,电容式触摸按键的检测原理是电容容量的变化。在周围环境不变的情况下,触摸按键和大地之间的电容是一个很微小的固定值,而人体和大地之间也存在着电容,当手指靠近触摸按键时,就相当于触摸按键与大地之间的电容并联了人体与大地之间的电容,从而使总电容容量变大。而用户手指敲击触摸按键的力度和手指与触摸按键的接触面积不同,所检测到的触摸按键的电容值不同,所以本申请可基于此原理设置另一种灵敏度自定义模式:手动敲击模式。
在手动敲击模式下,触摸按键的灵敏度的自定义原理为:本申请提前建立电容值与灵 敏度自定义值之间的对应关系(简称电容值-自定义值对应关系)。用户在有灵敏度自定义需求时,可选择手动敲击模式,并触发进入手动敲击模式的指令。本申请在接收到进入手动敲击模式的指令时,确定触摸设备进入手动敲击模式。用户可敲击触摸按键,本申请获取触摸按键被敲击时的电容值(称为目标电容值),并根据电容值-自定义值对应关系,确定与目标电容值对应的灵敏度自定义值,并将确定的灵敏度自定义值存储至第二存储区域,供自定义触摸按键的灵敏度时使用。
作为一种可选的实施例,获取触摸按键被触摸时的目标电容值的过程,包括:
分别获取触摸按键多次被触摸时的电容值;
求取多次被触摸时的电容值的平均电容值,并将平均电容值作为目标电容值。
具体地,考虑到用户在每次敲击触摸按键时手指敲击触摸按键的力度和手指与触摸按键的接触面积可能都有所不同,所以在手动敲击模式下,用户可多次敲击触摸按键(如五次),本申请分别获取触摸按键被多次敲击时的电容值,并求取多次敲击时获取的多个电容值的平均电容值,然后利用平均电容值确定灵敏度自定义值,以提高灵敏度自定义的准确性,从而使灵敏度自定义值更适用。
另外,本申请可将多次敲击时获取的多个电容值保存至触摸设备的存储器中,如图2所示,将第一次到第五次敲击的电容值保存至存储器中,还可将电容值-自定义值对应关系以对应表的形式保存至存储器中(要求掉电不丢失),供利用电容值确定灵敏度自定义值时使用。
作为一种可选的实施例,触摸按键灵敏度的自定义方法还包括:
在进入手动敲击模式时,屏蔽触摸按键的原触摸功能;
在退出手动敲击模式时,恢复触摸按键的原触摸功能。
进一步地,考虑到在触摸设备正常使用时,敲击触摸按键的作用是触发一定的功能,而在手动敲击模式下自定义触摸按键的灵敏度值时,敲击触摸按键的作用是获取触摸按键被敲击时的电容值,所以本申请在进入手动敲击模式时,屏蔽触摸按键的原触摸功能,以避免在手动敲击模式下敲击触摸按键误触发按键的原触摸功能。
另外,本申请还在退出手动敲击模式时,恢复触摸按键的原触摸功能,目的是在触摸设备正常使用时保证触摸按键的有效性。
作为一种可选的实施例,触摸按键灵敏度的自定义方法还包括:
在接收到恢复默认值的指令时,将灵敏度自定义值清零。
进一步地,用户在有灵敏度自定义值恢复默认值(清零)的需求时,可触发恢复默认值的指令。本申请在接收到恢复默认值的指令时,将灵敏度自定义值清零,从而方便灵敏度自定义值的切换。
作为一种可选的实施例,触摸按键灵敏度的自定义方法还包括:
预先为各灵敏度自定义模式一一设定标记值;
在进入目标灵敏度自定义模式时,将目标灵敏度自定义模式对应的标记值置为第一值;其中,目标灵敏度自定义模式为任一灵敏度自定义模式;
在退出目标灵敏度自定义模式时,将目标灵敏度自定义模式对应的标记值置为第二值。
进一步地,本申请还可提前为各灵敏度自定义模式一一设定标记值(默认值为0),在进入目标灵敏度自定义模式时,将目标灵敏度自定义模式对应的标记值置为第一值(如1),以标记触摸设备进入目标灵敏度自定义模式,并在退出目标灵敏度自定义模式时,将目标灵敏度自定义模式对应的标记值置为第二值(如0),以标记触摸设备退出目标灵敏度自定义模式。
比如,本申请可为灵敏度值选择模式设定第一标记值(标记是否在灵敏度值选择模式,默认为0),并将第一标记值保存至存储器中(如图2所示),在进入灵敏度值选择模式时,将第一标记值置为1,并在退出灵敏度值选择模式时,将第一标记值置为0。本申请可为手动敲击模式设定第二标记值(标记是否在手动敲击模式,默认为0),并将第二标记值保存至存储器中(如图2所示),在进入手动敲击模式时,将第二标记值置为1,并在退出手动敲击模式时,将第二标记值置为0。
更具体地,用户可通过终端(如手机)的APP(Application,应用程序)向触发设备下发指令,从而使触发设备实现上述触摸按键灵敏度的自定义操作。则APP的设计如下:
1)在APP中划分出一块存储区域,此块存储区域包括用于存储灵敏度默认值的第三存储区域和用于存储与灵敏度自定义值对应的灵敏度选择值(0到10)的第四存储区域。
每次触摸设备和APP连接(如通过蓝牙连接)后,触摸设备均将自身对应的灵敏度默认值和与灵敏度自定义值对应的灵敏度选择值(0到10,如果没有灵敏度自定义值,则发送5)发送给APP,用于信息的同步,APP将这两个值保存至自身的存储区域中。
2)APP上提供两种自定义灵敏度的方式:灵敏度值选择和手动敲击,也提供恢复默认值的选项。
基于此,具体的灵敏度调整过程如下:
首先打开APP触摸按键灵敏度调整界面(如图3所示),此界面有两个选项:自定义和恢复默认。
如果点击恢复默认,APP将第四存储区域置为空,并发送恢复默认值的指令给触摸设备,触摸设备在接收到恢复默认值的指令后,将第二存储区域置为空。
如果点击自定义,APP进入自定义灵敏度界面(如图4所示),用户自定义灵敏度有两种方式:灵敏度值选择和手动敲击。
a、如果用户点击了灵敏度值选择,APP进入选择灵敏度值界面(如图5所示),并发送进入灵敏度值选择模式的指令给触摸设备,告知触摸设备进入灵敏度值选择模式,触摸设备将存储第一标记值(标记是否在灵敏度值选择模式)的区域置为1。
APP进入选择灵敏度值界面时,会在第四存储区域中读取与灵敏度自定义值对应的灵敏度选择值,并将滑块放置到对应的数字上,以数字5为例。
用户移动滑块,然后点击保存,APP识别此时滑块在哪个数值上,将识别的数值(目标灵敏度选择值)保存到APP的第四存储区域中,并发送包含目标灵敏度选择值的指令给触摸设备,触摸设备将与目标灵敏度选择值对应的灵敏度自定义值保存在第二存储区域。
如果用户没有点击保存,直接点击了返回上一页,APP无需检测滑块在哪个数值上,将滑块自动放置到之前所在的位置,然后发送退出灵敏度值选择模式的指令给触摸设备,告知触摸设备退出灵敏度值选择模式,触摸设备将存储第一标记值的区域置为0。
b、如果在自定义灵敏度界面中,用户选择了手动敲击,APP进入触摸按键敲击次数界面(如图6所示),并发送进入灵手动敲击模式的指令给触摸设备,告知触摸设备进入手动敲击模式,触摸设备将存储第二标记值(标记是否在手动敲击模式)的区域置1,并暂时屏蔽触摸按键的功能,此时用户敲击按键,触摸设备并不会执行正常情况下会执行的功能。
APP提示用户敲击5次触摸按键,用户每敲击一次,触摸设备检测并记录下电容值的大小,并发送消息,告知APP用户已完成一次敲击,APP上依次显示1到5的数字,帮助用户记录敲击次数。
5次有效敲击完成后,用户点击完成,APP发送消息给触摸设备,告知触摸设备用户已完成5次有效敲击,触摸设备根据记录的5次有效敲击的电容值,得到一个平均电容值,并查询电容值和灵敏度值对应表,得出平均电容值对应的灵敏度值,保存在第二存储区域中,作为用户自定义的灵敏度值,并将和此用户自定义的灵敏度值对应的最接近的灵敏度选择值(0到10)发送给APP,APP保存在第四存储区域。触摸设备退出手动敲击模式,并将存储 第二标记值的区域置0,触摸按键功能恢复正常。
在用户完成5次有效敲击的过程中,如果用户点击删除上一次,则APP上面显示的数值减一个,APP发送消息给触摸设备,触摸设备删除上一次敲击保存的电容值。
在用户完成5次有效敲击的过程中,如果用户点击重新开始,则APP上面显示的数字全部清除,APP发送消息给触摸设备,触摸设备删除保存的全部电容值。
用户没有完成5次有效敲击,完成的图标为灰色,无法点击,只有完成5次有效敲击,完成的图标才点亮。
如果用户在敲击过程中直接按了返回上一页,APP发送退出手动敲击模式的指令给触摸设备,告知触摸设备退出手动敲击模式,触摸设备将存储第二标记值的区域置0,并删除保存的全部电容值。
另外,若触摸设备选用蓝牙触摸设备(如蓝牙耳机等),则蓝牙触摸设备和APP之间蓝牙通讯部分的设计具体如下:
1)采用标准的蓝牙协议,可以是低功耗蓝牙或者经典蓝牙。
2)给数据包添加前缀,来区分是自定义触摸按键灵敏度还是其它功能的服务,如:以0xDEDE开头的数据包,就是自定义触摸按键灵敏度这个功能下的数据交互。
3)数据包按照前缀+类型+数据长度+数据的格式来打包,所需的数据包如图7所示。比如:APP要告知蓝牙触摸设备退出灵敏度值选择模式,则数据包为DE DE 02 01 00,将此数据包放入标准蓝牙协议的payload(有效负荷)中发送即可,蓝牙触摸设备收到后按照同样的规则去解析,可得知退出灵敏度值选择模式的消息。
请参照图8,图8为本申请实施例提供的一种触摸按键灵敏度的自定义系统的结构示意图。
该触摸按键灵敏度的自定义系统应用于包含触摸按键的触摸设备,包括:
自定义模块1,用于在接收到进入灵敏度自定义模式的指令时,按照灵敏度自定义模式下的灵敏度自定义策略确定灵敏度自定义值;
判断模块2,用于在触摸设备使用时,判断灵敏度自定义值是否为零;若否,则执行第一设定模块3;若是,则执行第二设定模块4;
第一设定模块3,用于将灵敏度自定义值作为触摸按键的灵敏度值;
第二设定模块4,用于将预设灵敏度默认值作为触摸按键的灵敏度值。
本申请提供的自定义系统的介绍请参考上述自定义方法的实施例,本申请在此不再赘述。
本申请还提供了一种触摸设备,包括触摸按键,还包括:
存储器,用于存储计算机程序;
处理器,用于在执行计算机程序时实现上述任一种触摸按键灵敏度的自定义方法的步骤。
本申请提供的触摸设备的介绍请参考上述自定义方法的实施例,本申请在此不再赘述。
还需要说明的是,在本说明书中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本申请。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本申请的精神或范围的情况下,在其他实施例中实现。因此,本申请将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。

Claims (10)

  1. 一种触摸按键灵敏度的自定义方法,其特征在于,应用于包含触摸按键的触摸设备,包括:
    在接收到进入灵敏度自定义模式的指令时,按照所述灵敏度自定义模式下的灵敏度自定义策略确定灵敏度自定义值;
    在所述触摸设备使用时,判断所述灵敏度自定义值是否为零;
    若否,则将所述灵敏度自定义值作为所述触摸按键的灵敏度值;
    若是,则将预设灵敏度默认值作为所述触摸按键的灵敏度值。
  2. 如权利要求1所述的触摸按键灵敏度的自定义方法,其特征在于,所述灵敏度自定义模式包括灵敏度值选择模式;
    按照所述灵敏度值选择模式下的灵敏度自定义策略确定灵敏度自定义值的过程,包括:
    接收包含目标灵敏度选择值的指令;
    根据灵敏度选择值与实际的灵敏度自定义值之间的预设对应关系,确定与所述目标灵敏度选择值对应的灵敏度自定义值。
  3. 如权利要求2所述的触摸按键灵敏度的自定义方法,其特征在于,灵敏度选择值与实际的灵敏度自定义值之间的预设对应关系的预设过程,包括:
    设置预设数量的呈递增关系的灵敏度选择值;
    为所述灵敏度选择值一一选取灵敏度自定义值,以建立二者之间的对应关系;其中,所述灵敏度选择值中的中间值与所述灵敏度默认值对应;越大的灵敏度选择值对应的灵敏度自定义值越大。
  4. 如权利要求1-3任一项所述的触摸按键灵敏度的自定义方法,其特征在于,所述触摸按键为电容式触摸按键,所述灵敏度自定义模式包括手动敲击模式;
    按照所述手动敲击模式下的灵敏度自定义策略确定灵敏度自定义值的过程,包括:
    获取所述触摸按键被触摸时的目标电容值;
    根据电容值与灵敏度自定义值之间的预设对应关系,确定与所述目标电容值对应的灵敏度自定义值。
  5. 如权利要求4所述的触摸按键灵敏度的自定义方法,其特征在于,获取所述触摸按键被触摸时的目标电容值的过程,包括:
    分别获取所述触摸按键多次被触摸时的电容值;
    求取所述多次被触摸时的电容值的平均电容值,并将所述平均电容值作为所述目标电容值。
  6. 如权利要求4所述的触摸按键灵敏度的自定义方法,其特征在于,所述触摸按键灵敏度的自定义方法还包括:
    在进入所述手动敲击模式时,屏蔽所述触摸按键的原触摸功能;
    在退出所述手动敲击模式时,恢复所述触摸按键的原触摸功能。
  7. 如权利要求1所述的触摸按键灵敏度的自定义方法,其特征在于,所述触摸按键灵敏度的自定义方法还包括:
    在接收到恢复默认值的指令时,将所述灵敏度自定义值清零。
  8. 如权利要求1所述的触摸按键灵敏度的自定义方法,其特征在于,所述触摸按键灵敏度的自定义方法还包括:
    预先为各所述灵敏度自定义模式一一设定标记值;
    在进入目标灵敏度自定义模式时,将所述目标灵敏度自定义模式对应的标记值置为第一值;其中,所述目标灵敏度自定义模式为任一所述灵敏度自定义模式;
    在退出所述目标灵敏度自定义模式时,将所述目标灵敏度自定义模式对应的标记值置为第二值。
  9. 一种触摸按键灵敏度的自定义系统,其特征在于,应用于包含触摸按键的触摸设备,包括:
    自定义模块,用于在接收到进入灵敏度自定义模式的指令时,按照所述灵敏度自定义模式下的灵敏度自定义策略确定灵敏度自定义值;
    判断模块,用于在所述触摸设备使用时,判断所述灵敏度自定义值是否为零;若否,则执行第一设定模块;若是,则执行第二设定模块;
    第一设定模块,用于将所述灵敏度自定义值作为所述触摸按键的灵敏度值;
    第二设定模块,用于将预设灵敏度默认值作为所述触摸按键的灵敏度值。
  10. 一种触摸设备,其特征在于,包括触摸按键,还包括:
    存储器,用于存储计算机程序;
    处理器,用于在执行所述计算机程序时实现如权利要求1-8任一项所述的触摸按键灵敏度的自定义方法的步骤。
PCT/CN2021/139381 2021-06-29 2021-12-18 一种触摸按键灵敏度的自定义方法、系统及触摸设备 WO2023273214A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110732001.5 2021-06-29
CN202110732001.5A CN113364444A (zh) 2021-06-29 2021-06-29 一种触摸按键灵敏度的自定义方法、系统及触摸设备

Publications (1)

Publication Number Publication Date
WO2023273214A1 true WO2023273214A1 (zh) 2023-01-05

Family

ID=77537309

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/139381 WO2023273214A1 (zh) 2021-06-29 2021-12-18 一种触摸按键灵敏度的自定义方法、系统及触摸设备

Country Status (2)

Country Link
CN (1) CN113364444A (zh)
WO (1) WO2023273214A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113364444A (zh) * 2021-06-29 2021-09-07 歌尔科技有限公司 一种触摸按键灵敏度的自定义方法、系统及触摸设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102937868A (zh) * 2012-11-21 2013-02-20 东莞宇龙通信科技有限公司 终端和触摸键灵敏度调节方法
US20140198064A1 (en) * 2013-01-11 2014-07-17 Samsung Electronics Co., Ltd. Touch sensitivity control method and electronic device therefor
CN107422899A (zh) * 2017-04-25 2017-12-01 努比亚技术有限公司 一种终端和保证触摸屏灵敏度的方法
CN113364444A (zh) * 2021-06-29 2021-09-07 歌尔科技有限公司 一种触摸按键灵敏度的自定义方法、系统及触摸设备

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102915151B (zh) * 2012-10-17 2016-12-21 惠州Tcl移动通信有限公司 一种触摸屏灵敏度的调节方法及便携式电子设备
CN103543896A (zh) * 2013-10-29 2014-01-29 广东欧珀移动通信有限公司 调节触摸屏灵敏度的方法和系统
CN107783694A (zh) * 2017-09-20 2018-03-09 努比亚技术有限公司 一种触摸屏灵敏度调节方法、终端及计算机可读存储介质
CN107977095A (zh) * 2017-12-04 2018-05-01 深圳市创维电器科技有限公司 光碟播放器及其触摸键灵敏度的设置方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102937868A (zh) * 2012-11-21 2013-02-20 东莞宇龙通信科技有限公司 终端和触摸键灵敏度调节方法
US20140198064A1 (en) * 2013-01-11 2014-07-17 Samsung Electronics Co., Ltd. Touch sensitivity control method and electronic device therefor
CN107422899A (zh) * 2017-04-25 2017-12-01 努比亚技术有限公司 一种终端和保证触摸屏灵敏度的方法
CN113364444A (zh) * 2021-06-29 2021-09-07 歌尔科技有限公司 一种触摸按键灵敏度的自定义方法、系统及触摸设备

Also Published As

Publication number Publication date
CN113364444A (zh) 2021-09-07

Similar Documents

Publication Publication Date Title
CN103513769B (zh) 按键功能的设置方法、装置和移动终端
CN109871174B (zh) 一种虚拟按键显示方法和移动终端
US10725646B2 (en) Method and apparatus for switching screen interface and terminal
US20030006974A1 (en) Methods and systems for increasing the input efficiency of personal digital assistants and other handheld stylus-engagable computing devices
EP1592141A2 (en) Apparatus and method for controlling speaker volume of push-to-talk (PTT) phone
CN108021259A (zh) 一种防误触方法及终端
CN106681555A (zh) 一种移动终端的触摸屏控制方法、装置及移动终端
WO2020001193A1 (zh) 手势识别方法、装置、可读存储介质及移动终端
KR20180120768A (ko) 사람-기계 상호작용 방법, 장치 및 그래픽 사용자 인터페이스
WO2014183414A1 (en) Method and mobile device for activating voice intercom function of instant messaging application software
CN107357458A (zh) 触摸按键的响应方法、装置、存储介质及移动终端
US11570348B2 (en) Electromagnetic interference control method and related product
US9965068B2 (en) Method and device for operating terminal having touch screen
WO2023273214A1 (zh) 一种触摸按键灵敏度的自定义方法、系统及触摸设备
CN108541080A (zh) 第一电子设备与第二电子设备进行回连的方法及相关产品
CN107132941A (zh) 一种压力触控方法及电子设备
WO2017166218A1 (zh) 一种压力触控方法及电子设备
CN109542325B (zh) 双面屏触控方法、双面屏终端、可读存储介质
CN108712563B (zh) 通话控制方法、装置以及移动终端
WO2022242586A1 (zh) 应用界面显示方法、装置和电子设备
CN111061450B (zh) 一种参数调整方法及电子设备
US20180206086A1 (en) SMS Message Processing Method for Mobile Terminal and Mobile Terminal
WO2020001190A1 (zh) 应用程序界面显示方法、装置、可读存储介质及移动终端
CN107179849A (zh) 终端及其输入控制方法、计算机可读存储介质
CN108200228B (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: 21948139

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE