CN108646948B - Method and device for adjusting sensitivity of touch key, storage medium and electronic equipment - Google Patents

Method and device for adjusting sensitivity of touch key, storage medium and electronic equipment Download PDF

Info

Publication number
CN108646948B
CN108646948B CN201810474832.5A CN201810474832A CN108646948B CN 108646948 B CN108646948 B CN 108646948B CN 201810474832 A CN201810474832 A CN 201810474832A CN 108646948 B CN108646948 B CN 108646948B
Authority
CN
China
Prior art keywords
touch key
holding state
touch
sensitivity
pressure value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810474832.5A
Other languages
Chinese (zh)
Other versions
CN108646948A (en
Inventor
张海平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810474832.5A priority Critical patent/CN108646948B/en
Publication of CN108646948A publication Critical patent/CN108646948A/en
Application granted granted Critical
Publication of CN108646948B publication Critical patent/CN108646948B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/23Construction or mounting of dials or of equivalent devices; Means for facilitating the use thereof
    • H04M1/236Construction or mounting of dials or of equivalent devices; Means for facilitating the use thereof including keys on side or rear faces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72466User interfaces specially adapted for cordless or mobile telephones with selection means, e.g. keys, having functions defined by the mode or the status of the device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/22Details of telephonic subscriber devices including a touch pad, a touch sensor or a touch detector

Abstract

The embodiment of the application discloses a method and a device for adjusting the sensitivity of a touch key, a storage medium and electronic equipment; the method comprises the following steps: the method comprises the steps of detecting touch operation triggered by a user aiming at a touch key, obtaining a pressure value of the touch operation, determining the current holding state of the user according to the pressure value, wherein the holding state comprises a left-hand holding state and a right-hand holding state, and adjusting the sensitivity of the touch key according to the holding state. According to the embodiment of the application, the current holding state of the user can be determined according to the pressure received by the touch key when the user touches the touch key, so that the sensitivity of the touch key is adjusted according to the holding state, the false touch of the user is reduced, and the use efficiency is improved.

Description

Method and device for adjusting sensitivity of touch key, storage medium and electronic equipment
Technical Field
The application relates to the field of electronic equipment, in particular to a method and a device for adjusting sensitivity of a touch key, a storage medium and electronic equipment.
Background
With the development of terminal technology, terminals have begun to change from simply providing telephony devices to a platform for running general-purpose software. The platform no longer aims at providing call management, but provides an operating environment including various application software such as call management, game and entertainment, office events, mobile payment and the like, and with a great deal of popularization, the platform has been deeply developed to the aspects of life and work of people.
At present, with the popularization of mobile terminals (e.g., mobile phones), functions of the mobile terminals are increasingly diversified, for example, more or less function keys, such as a volume key, a switch key, and the like, are arranged on the mobile terminals, and a user operates the function keys to control the volume, switch on and off the mobile terminals, for example.
Disclosure of Invention
The embodiment of the application provides a method and a device for adjusting the sensitivity of a touch key, a storage medium and electronic equipment, which can adjust the sensitivity of the touch key according to different holding states of a user so as to reduce false touch.
In a first aspect, an embodiment of the present application provides a method for adjusting sensitivity of a touch key, which is applied to an electronic device, where the electronic device has a housing, the housing includes a substrate and a middle frame extending from a periphery of the substrate, and the middle frame is provided with the touch key, and includes:
detecting touch operation triggered by a user aiming at the touch key;
acquiring a pressure value of the touch operation;
determining the current holding state of the user according to the pressure value, wherein the holding state comprises a left-hand holding state and a right-hand holding state;
and adjusting the sensitivity of the touch key according to the holding state.
In a second aspect, an embodiment of the present application further provides a device for adjusting sensitivity of a touch key, which is applied to an electronic device, where the electronic device has a housing, the housing includes a substrate and a middle frame extending from a periphery of the substrate, and the middle frame is provided with the touch key, including: the device comprises a detection module, an acquisition module, a determination module and an adjustment module;
the detection module is used for detecting touch operation triggered by a user aiming at the touch key;
the acquisition module is used for acquiring a pressure value of the touch operation;
the determining module is configured to determine a current holding state of the user according to the pressure value, where the holding state includes a left-hand holding state and a right-hand holding state;
the adjusting module is used for adjusting the sensitivity of the touch key according to the holding state.
In a third aspect, an embodiment of the present application further provides a storage medium, where a computer program is stored on the storage medium, and when the computer program is executed by a processor, the steps of the method for adjusting the sensitivity of the touch key are implemented.
In a fourth aspect, an embodiment of the present application further provides an electronic device, including:
the shell comprises a substrate and a middle frame extending from the periphery of the substrate;
the sensor is arranged on the middle frame;
the touch control device comprises a processor and is characterized in that the sensor is used for detecting touch operation triggered by a user aiming at the touch control key, the processor is used for acquiring a pressure value of the touch operation, determining the current holding state of the user according to the pressure value, wherein the holding state comprises a left-hand holding state and a right-hand holding state, and adjusting the sensitivity of the touch control key according to the holding state.
The method for adjusting the sensitivity of the touch key provided by the embodiment of the application comprises the steps of firstly detecting a touch operation triggered by a user aiming at the touch key, acquiring a pressure value of the touch operation, determining a current holding state of the user according to the pressure value, wherein the holding state comprises a left-hand holding state and a right-hand holding state, and adjusting the sensitivity of the touch key according to the holding state. According to the embodiment of the application, the current holding state of the user can be determined according to the pressure received by the touch key when the user touches the touch key, so that the sensitivity of the touch key is adjusted according to the holding state, the false touch of the user is reduced, and the use efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a method for adjusting sensitivity of a touch key according to an embodiment of the present disclosure.
Fig. 2 is a schematic view of a pressure sensing element according to an embodiment of the present disclosure.
Fig. 3 is a schematic diagram of a circuit where a pressure sensing element is located according to an embodiment of the present disclosure.
Fig. 4 is another schematic flow chart of a method for adjusting sensitivity of a touch key according to an embodiment of the present disclosure.
Fig. 5 is a schematic structural diagram of an adjusting device for sensitivity of a touch key according to an embodiment of the present disclosure.
Fig. 6 is a schematic structural diagram of another adjustment device for sensitivity of a touch key according to an embodiment of the present disclosure.
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 8 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Referring to the drawings, wherein like reference numbers refer to like elements, the principles of the present application are illustrated as being implemented in a suitable computing environment. The following description is based on illustrated embodiments of the application and should not be taken as limiting the application with respect to other embodiments that are not detailed herein.
In the description that follows, specific embodiments of the present application will be described with reference to steps and symbols executed by one or more computers, unless otherwise indicated. Accordingly, these steps and operations will be referred to, several times, as being performed by a computer, the computer performing operations involving a processing unit of the computer in electronic signals representing data in a structured form. This operation transforms the data or maintains it at locations in the computer's memory system, which may be reconfigured or otherwise altered in a manner well known to those skilled in the art. The data maintains a data structure that is a physical location of the memory that has particular characteristics defined by the data format. However, while the principles of the application have been described in language specific to above, it is not intended to be limited to the specific form set forth herein, and it will be recognized by those of ordinary skill in the art that various of the steps and operations described below may be implemented in hardware.
The principles of the present application may be employed in numerous other general-purpose or special-purpose computing, communication environments or configurations. Examples of well known computing systems, environments, and configurations that may be suitable for use with the application include, but are not limited to, hand-held telephones, personal computers, servers, multiprocessor systems, microcomputer-based systems, mainframe-based computers, and distributed computing environments that include any of the above systems or devices.
The details will be described below separately.
Referring to fig. 1, fig. 1 is a schematic flow chart of a method for adjusting sensitivity of a touch key according to an embodiment of the present application, where the method for adjusting sensitivity of a touch key is applied to an electronic device, the electronic device has a housing, the housing of the electronic device is provided with the touch key, and the touch key is provided with an auxiliary display screen, and the method includes the following steps:
step S101, detecting a touch operation triggered by a user aiming at a touch key.
The electronic device provided in the embodiment of the application comprises a touch key, and the operation triggered by the touch key by a user can be a pressing operation. In an embodiment, a pressure sensing element may be disposed on the back surface of the touch key, the pressure sensing element is electrically connected to a circuit board of the electronic device, the pressure sensing element detects a pressing force transmitted from the touch key and sends a trigger signal when the pressing force is greater than a preset value, and the circuit board generates a corresponding control signal according to the received trigger signal to control the electronic device. The touch key is substantially a touch panel. The touch panel can be arranged on a middle frame of a shell of the electronic equipment, wherein the front surface of the key touch panel is used for being pressed by a user to generate deformation, and the back surface of the key touch panel is provided with a pressure sensing element.
Step S102, acquiring a pressure value of the touch operation.
In an embodiment, the pressing force transmitted from the key touch panel may be acquired, and when the pressing force is greater than a preset value, a trigger signal is sent out, and the circuit board receives the trigger signal and generates a corresponding control signal to control the electronic device. The preset value for the pressing force is calibrated according to a large number of experiments, and is used for defining whether the current pressing force belongs to false triggering or autonomous triggering according to operation intentions of a user, when the pressure sensed by the pressure sensing element is greater than the preset value, corresponding response operation is performed on the pressing force, and when the pressure sensed by the pressure sensing element is not greater than the preset value, the current triggering is considered as false triggering, for example, the cloth in the pocket is triggered by extrusion, and the like, so that the pressing force is not responded.
It should be noted that the preset value is a standard value for determining whether the touch key is pressed, and when the pressure sensed by the pressure sensing element is greater than the preset value, a corresponding response operation is performed on the pressing force to execute a corresponding terminal function. That is, after acquiring the pressure value of the touch operation, the method further includes:
judging whether the pressure value is greater than a preset value;
and if so, continuing to execute the step of determining the current holding state of the user according to the pressure value.
For example, when a touch operation of a user on a touch key is detected, obtaining a pressure value F of the touch operation, and if the pressure value F is smaller than a first preset pressure value F1, regarding the current trigger as a false trigger, for example, a trigger that a cloth in a pocket is squeezed, and the like, so as not to respond to the pressing force; if the pressure value F is greater than the first preset pressure value F1 and less than the second preset pressure value F2, the terminal functions corresponding to the touch key, such as screen locking, photographing, volume adjustment, etc., are executed.
As a possible implementation manner, the pressure sensing element may be a full-bridge circuit composed of four resistors, so that when the touch panel is slightly deformed by a pressing force applied to the touch panel through the full-bridge circuit disposed on the back of the touch panel of the electronic device, the bridge resistors determine the magnitude of the pressing force according to a change in a voltage difference between two ends of the pair of resistors.
In this embodiment, as shown in fig. 2, when the full-bridge circuit is composed of the piezoresistor R1, the resistor R2, the resistor R3 and the resistor R4 which are connected end to end and have the same resistance, when the piezoresistor is not subjected to the pressing force, all the resistance values in the bridge are equal, the resistance values of two opposite resistors are increased, and the resistance values of the other two resistors are decreased, so that the variation of the voltage is converted into the corresponding voltage value, and the magnitude of the pressing force is known according to the variation of the voltage value.
For example, as shown in fig. 3, when the values of the resistors R2 and R3 both receive a 1% decrease in the pressing force, the values of the resistors R1 and R4 increase by 1%, the voltage value between the two "middle" points changes from 0 to 2%, and the voltage value can be amplified to a level suitable for the ADC, and then the ADC converts the amplified sensor output voltage into a digital expression, and then the digital expression is sent to the controller or DSP in the circuit board for processing, so as to obtain the current pressing force.
And step S103, determining the current holding state of the user according to the pressure value, wherein the holding state comprises a left-hand holding state and a right-hand holding state.
In an embodiment, the middle frame of the electronic device may include two short-edge middle frames and two long-edge middle frames, the touch keys may be disposed on the long-edge middle frames, and the two long-edge middle frames may be provided with the touch keys, when the user holds the electronic device, the touch keys on the middle frames on both sides may all receive a certain pressure due to the pressing of the fingers, and further, when the user holds the electronic device with one hand, the stressed areas on the middle frames on both sides are different, so that the pressures received by the touch keys on the middle frames on both sides are different.
For example, when a user holds an electronic device with a left hand, according to most of the usage habits of the user, the left middle frame is usually contacted by only one finger (thumb), and the right middle frame is possibly contacted by four fingers or three fingers, and at this time, the force-bearing area on the left middle frame is smaller, so that the pressure received by the touch key on the left middle frame is greater than the pressure received by the touch key on the right middle frame. Correspondingly, when a user holds the electronic device with the right hand, only one finger of the right middle frame is in contact with the left middle frame, and four fingers or three fingers of the left middle frame are in contact with the right middle frame, so that the force area on the right middle frame is smaller, and the pressure received by the touch key on the right middle frame is larger than the pressure received by the touch key on the left middle frame. Therefore, the current holding state of the user can be determined according to the pressure values respectively applied to the touch keys on the middle frames at the two sides. For example, when the pressure applied to the touch key on the left middle frame of the electronic device is greater than the pressure applied to the touch key on the right middle frame, it is determined that the current holding state of the user is the left-hand holding state, and when the pressure applied to the touch key on the right middle frame of the electronic device is greater than the pressure applied to the touch key on the left middle frame, it is determined that the current holding state of the user is the right-hand holding state.
And step S104, adjusting the sensitivity of the touch key according to the holding state.
In an embodiment, two sets of same virtual key designs may be respectively arranged on middle frames of long sides of the electronic device, and the virtual keys on the two sides may be symmetrical to each other for implementing different terminal functions, such as screen locking, photographing, volume adjustment, and the like.
In practical use, the user can use the touch keys on the left middle frame more and the right middle frame less in the left-hand holding state, so that the sensitivity of the touch keys on the left middle frame can be improved, and the sensitivity of the touch keys on the right middle frame can be reduced.
In this embodiment, the electronic device may be any intelligent electronic device, for example: a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
As can be seen from the above, the touch operation triggered by the user with respect to the touch key can be detected, the pressure value of the touch operation is obtained, the current holding state of the user is determined according to the pressure value, the holding state includes a left-hand holding state and a right-hand holding state, and the sensitivity of the touch key is adjusted according to the holding state. According to the embodiment of the application, the current holding state of the user can be determined according to the pressure received by the touch key when the user touches the touch key, so that the sensitivity of the touch key is adjusted according to the holding state, the false touch of the user is reduced, and the use efficiency is improved.
According to the above description of the embodiment, the method for adjusting the sensitivity of the touch key of the present application will be further described below.
Referring to fig. 4, fig. 4 is a schematic flow chart of another method for adjusting sensitivity of a touch key according to an embodiment of the present disclosure, including the following steps:
step S201, detecting a touch operation triggered by a user with respect to a touch key.
In the embodiment of the present invention, the operation triggered by the user with respect to the touch key may be a pressing operation. In an embodiment, a pressure sensing element may be disposed on the back surface of the touch key, the pressure sensing element is electrically connected to a circuit board of the electronic device, the pressure sensing element detects a pressing force transmitted from the touch key and sends a trigger signal when the pressing force is greater than a preset value, and the circuit board generates a corresponding control signal according to the received trigger signal to control the electronic device. The touch key is substantially a touch panel. The touch panel may be provided on a housing of the electronic device, and then an auxiliary display screen is provided on the touch panel. The front surface of the key touch panel is used for being pressed by a user to generate deformation, and the back surface of the key touch panel is provided with a pressure sensing element.
Step S202, a first pressure value corresponding to the first touch key and a pressure value corresponding to the second touch key are respectively obtained.
In an embodiment, the middle frame of the electronic device may include two short-edge middle frames and two long-edge middle frames, the touch keys may be disposed on the long-edge middle frames, and the two long-edge middle frames may be both provided with touch keys, for example, the touch keys on the electronic device may include a first touch key on the left-side middle frame and a second touch key on the right-side middle frame. When a user holds the electronic equipment, the touch keys on the middle frames on the two sides are pressed to a certain degree due to the pressing of fingers, and the stress areas on the middle frames on the two sides are different when the user holds the electronic equipment with one hand, so that the pressure on the touch keys on the middle frames on the two sides is different. And respectively acquiring pressure sensing elements corresponding to the first touch key and the second touch key to detect the pressing force transmitted from the touch keys.
Step S203, determining whether the first pressure value is greater than the second pressure value, if so, performing step S204, and if not, performing step S205.
In step S204, it is determined that the current holding state of the user is the left-hand holding state.
In step S205, it is determined that the current holding state of the user is the right-hand holding state.
In an embodiment, when the user holds the electronic device with the left hand, according to most of the usage habits of the user, the left middle frame is usually contacted by only one finger (thumb), and the right middle frame may be contacted by four fingers or three fingers, at this time, the force-bearing area on the left middle frame is smaller, so that the pressure received by the touch key on the left middle frame is greater than the pressure received by the touch key on the right middle frame. Correspondingly, when a user holds the electronic device with the right hand, only one finger of the right middle frame is in contact with the left middle frame, and four fingers or three fingers of the left middle frame are in contact with the right middle frame, so that the force area on the right middle frame is smaller, and the pressure received by the touch key on the right middle frame is larger than the pressure received by the touch key on the left middle frame. Therefore, the current holding state of the user can be determined according to the pressure values respectively applied to the touch keys on the middle frames at the two sides.
Step S206, the sensitivity of the first touch key is increased, and the sensitivity of the second touch key is decreased.
Step S207, the sensitivity of the first touch key is increased, and the sensitivity of the second touch key is decreased.
In practical use, the user can use the touch keys on the left middle frame more and the right middle frame less in the left-hand holding state, so that the sensitivity of the touch keys on the left middle frame can be improved, and the sensitivity of the touch keys on the right middle frame can be reduced.
In an embodiment, the increasing the sensitivity of the touch key may include increasing a response pressure threshold of the touch key, and the decreasing the sensitivity of the touch key may include decreasing the response pressure threshold of the touch key. The response pressure threshold is a standard value for triggering the touch key, the threshold is calibrated according to a large number of experiments and is used for defining whether the current pressing force belongs to false triggering or autonomous triggering according to operation intentions of a user, when the pressure sensed by the pressure sensing element is greater than the threshold, corresponding response operation is performed on the pressing force, and when the pressure sensed by the pressure sensing element is not greater than the threshold, the current triggering is considered as false triggering, for example, the cloth in the pocket is triggered by extrusion, and the like, so that the current triggering does not respond to the pressing force. When the user is currently in a left-hand held state,
as can be seen from the above, in the embodiment of the application, the touch operation triggered by the user with respect to the touch key can be detected, the first pressure value corresponding to the first touch key and the pressure value corresponding to the second touch key are respectively obtained, whether the first pressure value is greater than the second pressure value is judged, if yes, the current holding state of the user is determined to be the left-hand holding state, the sensitivity of the first touch key is improved, and the sensitivity of the second touch key is reduced, and if not, the current holding state of the user is determined to be the right-hand holding state, the sensitivity of the first touch key is improved, and the sensitivity of the second touch key is reduced. According to the embodiment of the application, the current holding state of the user can be determined according to the pressure received by the touch key when the user touches the touch key, so that the sensitivity of the touch key is adjusted according to the holding state, the false touch of the user is reduced, and the use efficiency is improved.
In order to better implement the method for adjusting the sensitivity of the touch key provided by the embodiment of the application, the embodiment of the application also provides a device based on the method for adjusting the sensitivity of the touch key. The meaning of the term is the same as that in the method for adjusting the sensitivity of the touch key, and specific implementation details can refer to the description in the method embodiment.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a device for adjusting sensitivity of a touch key, where the device 30 for adjusting sensitivity of a touch key is applied to an electronic device, the electronic device includes a housing, the housing includes a substrate and a middle frame extending from a periphery of the substrate, and the middle frame is provided with a touch key, and includes: a detection module 301, an acquisition module 302, a determination module 303 and an adjustment module 304;
the detection module 301 is configured to detect a touch operation triggered by a user with respect to a touch key;
the obtaining module 302 is configured to obtain a pressure value of the touch operation;
the determining module 303 is configured to determine a current holding state of the user according to the pressure value, where the holding state includes a left-hand holding state and a right-hand holding state;
the adjusting module 304 is configured to adjust the sensitivity of the touch key according to the holding state.
In one embodiment, the touch keys comprise a first touch key on the left middle frame and a second touch key on the right middle frame; the obtaining module 302 is specifically configured to obtain a first pressure value corresponding to the first touch key and a pressure value corresponding to the second touch key respectively.
With continued reference to fig. 6, in one embodiment, the determining module 303 includes: comparing the submodule 3031 with the determining submodule 3032;
the comparison submodule 3031 is used for comparing the first pressure value with the second pressure value;
the determining submodule 3032 is configured to determine that the current holding state of the user is the left-hand holding state when the first pressure value is greater than the second pressure value, and determine that the current holding state of the user is the right-hand holding state when the first pressure value is less than the second pressure value.
In one embodiment, the adjustment module 304 includes: a first tuning submodule 3041 and a second tuning submodule 3042;
the first adjusting submodule 3041 is configured to, when the determining module 303 determines that the current holding state of the user is the left-hand holding state, increase the sensitivity of the first touch key and decrease the sensitivity of the second touch key;
the second adjusting submodule 3042 is configured to, when the determining module 303 determines that the current holding state of the user is the right-hand holding state, increase the sensitivity of the first touch key and decrease the sensitivity of the second touch key.
As can be seen from the above, the device 30 for adjusting sensitivity of a touch key provided in the embodiment of the present application may detect a touch operation triggered by a user with respect to the touch key, obtain a pressure value of the touch operation, determine a current holding state of the user according to the pressure value, where the holding state includes a left-hand holding state and a right-hand holding state, and adjust the sensitivity of the touch key according to the holding state. According to the embodiment of the application, the current holding state of the user can be determined according to the pressure received by the touch key when the user touches the touch key, so that the sensitivity of the touch key is adjusted according to the holding state, the false touch of the user is reduced, and the use efficiency is improved.
The application further provides a storage medium on which a computer program is stored, wherein the computer program is executed by a processor to implement the method for adjusting the sensitivity of the touch key provided in the method embodiment.
The present application further provides an electronic device, comprising:
the shell comprises a substrate and a middle frame extending from the periphery of the substrate;
the sensor is arranged on the middle frame;
the touch control device comprises a processor and is characterized in that the sensor is used for detecting touch operation triggered by a user aiming at the touch control key, the processor is used for acquiring a pressure value of the touch operation, determining the current holding state of the user according to the pressure value, wherein the holding state comprises a left-hand holding state and a right-hand holding state, and adjusting the sensitivity of the touch control key according to the holding state.
In another embodiment of the present application, an electronic device is also provided, and the electronic device may be a smart phone, a tablet computer, or the like. As shown in fig. 7, the electronic device 400 includes a processor 401, a memory 402. The processor 401 is electrically connected to the memory 402.
The processor 401 is a control center of the electronic device 400, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or loading an application program stored in the memory 402 and calling data stored in the memory 402, thereby integrally monitoring the electronic device.
In this embodiment, the processor 401 in the electronic device 400 loads instructions corresponding to processes of one or more application programs into the memory 402 according to the following steps, and the processor 401 runs the application programs stored in the memory 402, thereby implementing various functions:
detecting touch operation triggered by a user aiming at the touch key;
acquiring a pressure value of the touch operation;
determining the current holding state of the user according to the pressure value, wherein the holding state comprises a left-hand holding state and a right-hand holding state;
and adjusting the sensitivity of the touch key according to the holding state.
Referring to fig. 8, fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. The electronic device 10 may include control circuitry that may include storage and processing circuitry 30. The storage and processing circuitry 30 may be a memory, such as a hard drive memory, a non-volatile memory (e.g., flash memory or other electronically programmable read-only memory used to form a solid state drive, etc.), a volatile memory (e.g., static or dynamic random access memory, etc.), etc., and the embodiments of the present application are not limited thereto. Processing circuitry in the storage and processing circuitry 30 may be used to control the operation of the electronic device 10. The processing circuitry may be implemented based on one or more microprocessors, microcontrollers, digital signal processors, baseband processors, power management units, audio codec chips, application specific integrated circuits, display driver integrated circuits, and the like.
The storage and processing circuitry 30 may be used to run software within the electronic device 10 such as, for example, an Internet browsing application, a Voice Over Internet Protocol (VOIP) telephone call application, an email application, a media playing application, operating system functions, etc. Such software may be used to perform control operations such as, for example, camera-based image capture, ambient light measurement based on an ambient light sensor, proximity sensor measurement based on a proximity sensor, information display functionality based on status indicators such as status indicator lights of light emitting diodes, touch event detection based on a touch sensor, functionality associated with displaying information on multiple (e.g., layered) displays, operations associated with performing wireless communication functions, operations associated with collecting and generating audio signals, control operations associated with collecting and processing button press event data, and other functions in the electronic device 10, and the like, without limitation of the embodiments of the present application.
The electronic device 10 may also include input-output circuitry 42. The input-output circuitry 42 may be used to enable the electronic device 10 to enable input and output of data, i.e., to allow the electronic device 10 to receive data from external devices and also to allow the electronic device 10 to output data from the electronic device 10 to external devices. The input-output circuitry 42 may further include the sensor 32. The sensors 32 may include ambient light sensors, optical and capacitive based proximity sensors, touch sensors (e.g., optical based touch sensors and/or capacitive touch sensors, where the touch sensors may be part of a touch display screen or may be used independently as a touch sensor structure), acceleration sensors, and other sensors, among others.
Input-output circuitry 42 may also include one or more displays, such as display 14. The display 14 may include one or a combination of liquid crystal displays, organic light emitting diode displays, electronic ink displays, plasma displays, displays using other display technologies. The display 14 may include an array of touch sensors (i.e., the display 14 may be a touch display screen). The touch sensor may be a capacitive touch sensor formed by a transparent touch sensor electrode (e.g., an Indium Tin Oxide (ITO) electrode) array, or may be a touch sensor formed using other touch technologies, such as acoustic wave touch, pressure sensitive touch, resistive touch, optical touch, and the like, and the embodiments of the present application are not limited thereto.
The electronic device 10 may also include an audio component 36. The audio component 36 may be used to provide audio input and output functionality for the electronic device 10. Audio components 36 in electronic device 10 may include speakers, microphones, buzzers, tone generators, and other components for generating and detecting sound.
The communication circuitry 38 may be used to provide the electronic device 10 with the ability to communicate with external devices. The communication circuit 38 may include analog and digital input-output interface circuits, and wireless communication circuits based on radio frequency signals and/or optical signals. The wireless communication circuitry in communication circuitry 38 may include radio-frequency transceiver circuitry, power amplifier circuitry, low noise amplifiers, switches, filters, and antennas. For example, the wireless Communication circuitry in Communication circuitry 38 may include circuitry to support Near Field Communication (NFC) by transmitting and receiving Near Field coupled electromagnetic signals. For example, the communication circuitry 38 may include a near field communication antenna and a near field communication transceiver. The communications circuitry 38 may also include a cellular telephone transceiver and antenna, a wireless local area network transceiver circuit and antenna, and the like.
The electronic device 10 may further include a battery, power management circuitry, and other input-output units 40. The input-output unit 40 may include buttons, joysticks, click wheels, scroll wheels, touch pads, keypads, keyboards, cameras, light emitting diodes and other status indicators, etc.
A user may enter commands through input-output circuitry 42 to control the operation of electronic device 10, and may use output data of input-output circuitry 42 to enable receipt of status information and other outputs from electronic device 10.
In specific implementation, the above modules may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and specific implementation of the above modules may refer to the foregoing method embodiments, which are not described herein again.
It should be noted that, a person skilled in the art can understand that all or part of the steps in the various methods of the foregoing embodiments can be implemented by instructing related hardware through a program, where the program can be stored in a computer-readable storage medium, such as a memory of a terminal, and executed by at least one processor in the terminal, and during the execution, the program can include a flow of an embodiment of the method for adjusting the sensitivity of a touch key. Among others, the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The method, the device, the storage medium and the electronic device for adjusting the sensitivity of the touch key provided by the embodiment of the application are described in detail above, and each functional module may be integrated in one processing chip, or each module may exist alone physically, or two or more modules are integrated in one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The principle and the implementation of the present application are explained herein by applying specific examples, and the above description of the embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (9)

1. A method for adjusting sensitivity of a touch key is applied to electronic equipment, the electronic equipment is provided with a shell, the shell comprises a substrate and a middle frame extending from the periphery of the substrate, and the middle frame is provided with the touch key, and the method is characterized in that the touch key comprises a first touch key on the middle frame on the left side and a second touch key on the middle frame on the right side, and the method comprises the following steps:
detecting touch operation triggered by a user aiming at the touch key;
acquiring a pressure value of the touch operation;
determining the current holding state of the user according to the pressure value, wherein the holding state comprises a left-hand holding state and a right-hand holding state;
if the current holding state of the user is a left-hand holding state, the sensitivity of the first touch key is improved, and the sensitivity of the second touch key is reduced;
and if the current holding state of the user is a right-hand holding state, the sensitivity of the second touch key is improved, and the sensitivity of the first touch key is reduced.
2. The method for adjusting the sensitivity of the touch key according to claim 1, wherein the obtaining the pressure value of the touch operation includes:
and respectively acquiring a first pressure value corresponding to the first touch key and a pressure value corresponding to the second touch key.
3. The method for adjusting the sensitivity of a touch key according to claim 2, wherein the determining the current holding state of the user according to the pressure value comprises:
comparing the first pressure value with the second pressure value;
if the first pressure value is larger than the second pressure value, determining that the current holding state of the user is a left-hand holding state;
and if the first pressure value is smaller than the second pressure value, determining that the current holding state of the user is a right-hand holding state.
4. The method for adjusting sensitivity of touch key according to claim 1,
the sensitivity of the touch key is improved, including the response pressure threshold of the touch key is improved;
and the reducing the sensitivity of the touch key comprises reducing a response pressure threshold of the touch key.
5. The utility model provides an adjusting device of touch key sensitivity, is applied to electronic equipment, electronic equipment has the casing, the casing includes the base plate and the center that extends from the base plate periphery, be provided with the touch key on the center, the touch key includes the first touch key on the center of left side and the second touch key on the center of right side, its characterized in that includes: the device comprises a detection module, an acquisition module, a determination module and an adjustment module;
the detection module is used for detecting touch operation triggered by a user aiming at the touch key;
the acquisition module is used for acquiring a pressure value of the touch operation;
the determining module is configured to determine a current holding state of the user according to the pressure value, where the holding state includes a left-hand holding state and a right-hand holding state;
the adjusting module is used for increasing the sensitivity of the first touch key and reducing the sensitivity of the second touch key if the current holding state of the user is a left-hand holding state; and if the current holding state of the user is a right-hand holding state, the sensitivity of the second touch key is improved, and the sensitivity of the first touch key is reduced.
6. The device for adjusting sensitivity of a touch key according to claim 5, wherein the obtaining module is specifically configured to obtain a first pressure value corresponding to the first touch key and a pressure value corresponding to the second touch key, respectively.
7. The apparatus for adjusting sensitivity of a touch key according to claim 6, wherein the determining module comprises: comparing the submodule with the determining submodule;
the comparison submodule is used for comparing the first pressure value with the second pressure value;
the determining submodule is configured to determine that the current holding state of the user is a left-hand holding state when the first pressure value is greater than the second pressure value, and determine that the current holding state of the user is a right-hand holding state when the first pressure value is less than the second pressure value.
8. A storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, performs the steps of the method according to any one of claims 1-4.
9. An electronic device, comprising:
the touch control device comprises a shell, a first touch control button and a second touch control button, wherein the shell comprises a substrate and a middle frame extending from the periphery of the substrate, the middle frame is provided with the touch control button, and the touch control button comprises a first touch control button on the left middle frame and a second touch control button on the right middle frame;
the sensor is arranged on the middle frame;
the processor is coupled with the sensor, and is characterized in that the sensor is configured to detect a touch operation triggered by a user for the touch key, the processor is configured to obtain a pressure value of the touch operation, and determine a current holding state of the user according to the pressure value, where the holding state includes a left-hand holding state and a right-hand holding state, and if the current holding state of the user is the left-hand holding state, the sensitivity of the first touch key is improved, and the sensitivity of the second touch key is reduced; and if the current holding state of the user is a right-hand holding state, the sensitivity of the second touch key is improved, and the sensitivity of the first touch key is reduced.
CN201810474832.5A 2018-05-17 2018-05-17 Method and device for adjusting sensitivity of touch key, storage medium and electronic equipment Active CN108646948B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810474832.5A CN108646948B (en) 2018-05-17 2018-05-17 Method and device for adjusting sensitivity of touch key, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810474832.5A CN108646948B (en) 2018-05-17 2018-05-17 Method and device for adjusting sensitivity of touch key, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN108646948A CN108646948A (en) 2018-10-12
CN108646948B true CN108646948B (en) 2021-08-24

Family

ID=63756596

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810474832.5A Active CN108646948B (en) 2018-05-17 2018-05-17 Method and device for adjusting sensitivity of touch key, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN108646948B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109865280A (en) * 2018-11-30 2019-06-11 努比亚技术有限公司 A kind of game touch-control key control method, terminal and computer readable storage medium
CN109981899B (en) * 2019-03-15 2021-02-26 Oppo广东移动通信有限公司 Display control method and device of electronic equipment and electronic equipment
CN110266876B (en) * 2019-04-29 2020-12-29 努比亚技术有限公司 Pressure threshold determination method and device and computer readable storage medium
CN113552995A (en) * 2020-04-24 2021-10-26 深圳市万普拉斯科技有限公司 Mobile terminal false touch prevention method and device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105607784A (en) * 2016-03-31 2016-05-25 宇龙计算机通信科技(深圳)有限公司 Method for adjusting sensitivity of touch screen, adjusting device and terminal
CN106445374A (en) * 2016-08-29 2017-02-22 珠海格力电器股份有限公司 Mobile terminal, and interaction control method and device thereof
CN106569724A (en) * 2016-11-08 2017-04-19 宇龙计算机通信科技(深圳)有限公司 Method and device for dynamically setting virtual key and terminal
CN106775405A (en) * 2016-12-16 2017-05-31 广东欧珀移动通信有限公司 A kind of touch-screen false-touch prevention method of mobile terminal, device and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2014201384A1 (en) * 2013-03-13 2014-10-02 Samsung Electronics Co., Ltd. Method and apparatus for operating touch screen

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105607784A (en) * 2016-03-31 2016-05-25 宇龙计算机通信科技(深圳)有限公司 Method for adjusting sensitivity of touch screen, adjusting device and terminal
CN106445374A (en) * 2016-08-29 2017-02-22 珠海格力电器股份有限公司 Mobile terminal, and interaction control method and device thereof
CN106569724A (en) * 2016-11-08 2017-04-19 宇龙计算机通信科技(深圳)有限公司 Method and device for dynamically setting virtual key and terminal
CN106775405A (en) * 2016-12-16 2017-05-31 广东欧珀移动通信有限公司 A kind of touch-screen false-touch prevention method of mobile terminal, device and mobile terminal

Also Published As

Publication number Publication date
CN108646948A (en) 2018-10-12

Similar Documents

Publication Publication Date Title
CN108646948B (en) Method and device for adjusting sensitivity of touch key, storage medium and electronic equipment
US6985137B2 (en) Method for preventing unintended touch pad input due to accidental touching
CN109583356B (en) Fingerprint identification method and related product
KR101572071B1 (en) / apparatus and method for controlling on/off of liquid crystal display in a portable terminal
EP2112763A1 (en) Contact-sensing device, mobile information terminal, and capacitance calibration program and method
CN107357458B (en) Touch key response method and device, storage medium and mobile terminal
KR101250638B1 (en) Portable electronic device and method of controlling same
CN110427741B (en) Fingerprint identification method and related product
CN107390923B (en) Screen false touch prevention method and device, storage medium and terminal
KR101571538B1 (en) Calling method in a touch pannel type portable terminal
CN116257836B (en) Fingerprint unlocking method and terminal
CN108595044B (en) Control method of touch screen and terminal
CN108769401B (en) Signal detection method and related product
CN109067978A (en) Button operation processing method, device, storage medium and electronic equipment
CN108595093A (en) Camera control method, device, storage medium and electronic equipment
CN108563393A (en) device parameter adjusting method, device, storage medium and electronic equipment
CN108733299A (en) Using split screen method, apparatus, storage medium and electronic equipment
CN107025438B (en) Method and terminal for improving fingerprint identification rate
CN110672262B (en) Pressure key threshold calibration method and device, storage medium and electronic equipment
US7369119B2 (en) Handset device with dual side joystick
CN108965583A (en) Proximity test method and relevant device
CN110471808B (en) Pressure key detection method and device and mobile terminal
CN108563357A (en) Processing method, device, storage medium and the electronic equipment of touch information
JP2023508267A (en) Touch button, control method and electronic device
CN110162264B (en) Application processing method and related product

Legal Events

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