CN114035696A - Touch detection method, touch pad and electronic equipment - Google Patents

Touch detection method, touch pad and electronic equipment Download PDF

Info

Publication number
CN114035696A
CN114035696A CN202111358414.8A CN202111358414A CN114035696A CN 114035696 A CN114035696 A CN 114035696A CN 202111358414 A CN202111358414 A CN 202111358414A CN 114035696 A CN114035696 A CN 114035696A
Authority
CN
China
Prior art keywords
pressure
sub
key
touch pad
areas
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.)
Pending
Application number
CN202111358414.8A
Other languages
Chinese (zh)
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.)
Huiding Technology Chengdu Co ltd
Original Assignee
Huiding Technology Chengdu Co 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 Huiding Technology Chengdu Co ltd filed Critical Huiding Technology Chengdu Co ltd
Priority to CN202111358414.8A priority Critical patent/CN114035696A/en
Publication of CN114035696A publication Critical patent/CN114035696A/en
Pending legal-status Critical Current

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/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks
    • G06F3/03547Touch pads, in which fingers can move on a surface
    • 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/016Input arrangements with force or tactile feedback as computer generated output to the user
    • 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

Landscapes

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

Abstract

The application provides a touch detection method, a touch pad and electronic equipment, which can effectively identify touch operation of a user on the touch pad so as to realize richer functions. The touch area of the touch pad comprises a plurality of sub-areas, and the sub-areas are operation areas corresponding to a plurality of functions respectively, and the method comprises the following steps: acquiring information of a position and pressure when a user presses the touch pad; when the pressure is greater than a first pressure threshold, determining a target sub-region where the position is located, and outputting a key value corresponding to the target sub-region, so that the electronic device can realize a function corresponding to the target sub-region according to the key value.

Description

Touch detection method, touch pad and electronic equipment
Technical Field
The embodiment of the application relates to the technical field of touch control, and more particularly, to a touch control detection method, a touch control panel and an electronic device.
Background
Two keys are usually arranged above or below the traditional mechanical touch pad and are respectively used as a left key and a right key of the mouse so as to realize the corresponding functions of the left key and the right key of the mouse. The mechanical touch control board is limited by a mechanical structure, a key blind area exists in the mechanical touch control board, namely, a key cannot be pressed in a partial area, and along with the fact that the size of the touch control board is larger and larger, discomfort caused by the touch control board in use is more and more obvious. Compared with a mechanical touch control panel, the pressure touch control panel cancels a physical key, and simulates a mouse key through pressure detection and vibration feedback, thereby realizing full-area touch of the touch control panel. Therefore, how to effectively recognize the touch operation of the user on the pressure touch pad to realize richer functions becomes a problem to be solved.
Disclosure of Invention
The embodiment of the application provides a touch detection method, a touch pad and electronic equipment, which can effectively identify touch operation of a user on the touch pad so as to realize richer functions.
In a first aspect, a method for touch detection is provided, which is applied to a touch pad of an electronic device, and is characterized in that a touch area of the touch pad includes a plurality of sub areas, and the sub areas are operation areas corresponding to a plurality of functions, respectively, and the method includes: acquiring information of a position and pressure when a user presses the touch pad; when the pressure is larger than a first pressure threshold value, determining a target sub-region where the position is located in the plurality of sub-regions, and outputting a key value corresponding to the target sub-region, so that the electronic equipment can realize a function corresponding to the target sub-region according to the key value.
Based on the technical scheme, the touch area of the touch pad is divided into a plurality of sub-areas and is respectively used as the operation area corresponding to a plurality of functions, so that the functions corresponding to the sub-areas can be realized by pressing in different sub-areas by a user. When the pressure of the user pressing the touch pad is larger than a first pressure threshold value, determining a target sub-area where the pressing position is located, and outputting a key value corresponding to the target sub-area, so that a function corresponding to the target sub-area is realized through the key value. The different target sub-areas correspond to different key values, the different key values respectively indicate different functions, and after a processor of the electronic device, such as a main control, receives the key values reported by the touch panel, the processor can provide corresponding functions for a user. Based on the mode, the touch pad is more flexible to use, and richer functions can be realized, such as functions of a mouse, a numeric keyboard, keys and the like on the touch pad.
In one possible implementation, the method further includes: and integrating the pressure according to the duration of the pressure, and determining the size of the sound corresponding to the target sub-area and/or the intensity of the vibration output by the vibration feedback device in the target sub-area according to the obtained integrated pressure value.
In the embodiment, the pressure of the user pressing the touch pad is integrated to obtain an integral pressure value, and the sound size and the vibration intensity corresponding to the target sub-area are determined according to the integral pressure value, so that the operation body feeling under different application scenes can be simulated.
In one possible implementation manner, the pattern formed by the plurality of sub-regions is a plurality of keys of a MIDI keyboard, and the plurality of sub-regions are operation regions corresponding to the plurality of keys, respectively.
In one possible implementation, the greater the pressure applied to the operation area corresponding to the key, the greater the sound of the note output corresponding to the key.
In one possible implementation, the greater the pressure to which the operating region corresponding to the key is subjected, the greater the intensity of the vibration of the operating region corresponding to the key.
In one possible implementation, the method further includes: and determining whether to start a plurality of functions corresponding to the plurality of sub-areas according to the pressure.
In this embodiment, the user can also control whether to start a plurality of functions corresponding to the plurality of sub-areas through the pressure output by the user. For example, the determining whether to turn on a plurality of functions corresponding to the plurality of sub-regions according to the pressure includes: and when the pressure is greater than a second pressure threshold value and the duration exceeds a time threshold value, determining to turn on or off a plurality of functions corresponding to the plurality of sub-areas, wherein the second pressure threshold value is greater than the first pressure threshold value.
In a possible implementation manner, a backlight module is disposed below the touch panel, and the backlight module is configured to emit light, and the method further includes: and when determining to start a plurality of functions corresponding to the plurality of sub-areas, controlling the backlight module to emit light so as to present the plurality of sub-areas on the touch pad.
In this embodiment, the backlight module may be disposed below the touch pad, and when a plurality of functions corresponding to the plurality of sub-regions need to be turned on, the backlight module emits light to present the plurality of sub-regions on the touch pad, so that a user can press different sub-regions conveniently to implement different functions.
In a second aspect, a touch pad is provided, where a touch area of the touch pad includes a plurality of sub areas, and the sub areas are operation areas corresponding to a plurality of functions, respectively, and the touch pad includes:
position detection means for detecting information of a position at which the user presses the touch panel;
the pressure detection device is used for detecting the information of the pressure when the user presses the touch pad;
and the processing unit is used for determining a target sub-region where the position is located in the plurality of sub-regions and outputting a key value corresponding to the target sub-region when the pressure is greater than a first pressure threshold value, so that the electronic equipment can realize a function corresponding to the target sub-region according to the key value.
Based on the technical scheme, the touch pad is divided into a plurality of sub-areas and is respectively used as the operation areas corresponding to a plurality of functions, so that the functions corresponding to the sub-areas can be realized by pressing the touch pad in different sub-areas by a user. Based on the touch detection method, when the pressure of the user pressing the touch pad is larger than a first pressure threshold, a target sub-area where the pressing position is located is determined, and a key value corresponding to the target sub-area is output, so that a function corresponding to the target sub-area is realized through the key value. The different target sub-areas correspond to different key values, the different key values respectively indicate different functions, and after a processor of the electronic device, such as a main control, receives the key values reported by the touch panel, the processor can provide corresponding functions for a user. Based on the mode, the touch pad is more flexible to use and can be applied to various scenes needing to realize multiple functions, such as a mouse, a numeric keyboard, keys and the like.
In one possible implementation, the processing unit is further configured to: integrating the pressure according to the duration of the pressure, and determining the size of the sound corresponding to the target sub-area and/or the intensity of the vibration output by the vibration feedback device in the target sub-area according to the obtained integrated pressure value
In one possible implementation manner, the pattern formed by the plurality of sub-regions is a plurality of keys of a MIDI keyboard, and the plurality of sub-regions are operation regions corresponding to the plurality of keys, respectively.
In one possible implementation, the greater the pressure applied to the operation area corresponding to the key, the greater the sound of the note output corresponding to the key.
In one possible implementation, the greater the pressure to which the operating region corresponding to the key is subjected, the greater the intensity of the vibration of the operating region corresponding to the key.
In one possible implementation, the processing unit is further configured to: and determining whether to start a plurality of functions corresponding to the plurality of sub-areas according to the pressure.
In a possible implementation manner, the processing unit is specifically configured to: and when the pressure is greater than a second pressure threshold value and the duration exceeds a time threshold value, determining to turn on or off a plurality of functions corresponding to the plurality of sub-areas, wherein the second pressure threshold value is greater than the first pressure threshold value.
In one possible implementation, the touch panel further includes: the backlight module is used for emitting light; the processing unit is further to: and when determining to start a plurality of functions corresponding to the plurality of sub-areas, controlling the backlight module to emit light so as to present the plurality of sub-areas on the touch pad.
In a third aspect, an electronic device is provided, which includes a touch pad according to the second aspect or any possible implementation manner of the second aspect, and a processor configured to receive a key value reported by the touch pad and execute a function corresponding to the key value.
Drawings
Fig. 1 is a schematic view of a conventional mechanical touch pad.
Fig. 2 is a schematic view of a pressure touch pad.
Fig. 3 is a schematic view of a touch pad according to an embodiment of the present disclosure.
Fig. 4 is a schematic diagram of a touch area when a touch pad of the embodiment of the present application implements a MIDI keyboard function.
Fig. 5 is a partial schematic view of a touch area when a touch pad of the embodiment of the application implements a MIDI keyboard function.
Fig. 6 is a schematic flow chart of a method for implementing MIDI keyboard functionality based on fig. 5.
Fig. 7 is a schematic view illustrating a backlight module disposed below a touch panel according to an embodiment of the present disclosure.
Fig. 8 is a schematic flowchart of an open or close key expansion function according to an embodiment of the present application.
Fig. 9 is a schematic flowchart of a touch detection method according to an embodiment of the present application.
Detailed Description
The technical solution in the present application will be described below with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of a conventional mechanical touch pad 100, the surface of which includes a touch area 110 and a key area 120. The button area 120 may include, for example, left and right buttons, which respectively correspond to the left button and the right button of the mouse, so as to implement the functions of the left button and the right button of the mouse. Limited by the mechanical structure, the touch pad 100 has a dead zone, i.e. a part of the area cannot press the key, and as the size is larger and larger, the discomfort caused by the use of the touch pad 100 is more and more obvious.
Compared with a mechanical touch control panel, the pressure touch control panel cancels a physical key, and simulates a mouse key through pressure detection and vibration feedback, thereby realizing full-area touch of the touch control panel. Fig. 2 is a schematic diagram of a pressure touch pad 200. As shown in fig. 2, a pressure sensor 220 is disposed under the touch area 210 of the touch pad 200, and the touch pad 200 in fig. 2 includes four pressure sensors 220 as an example. When the pressure pressed by the user on the touch panel 200 is detected, the final pressure value is obtained based on the detection results of the 4 pressure sensors 220. And when the pressure value reaches a certain threshold value, reporting key values to a system so as to realize the functions of a left key and a right key of the mouse.
Further, as shown in fig. 1 and fig. 2, a vibration feedback device 230 may be further disposed below the touch area 210 of the touch pad 200, and when the pressure value detected by the pressure sensor 220 reaches a threshold value, the vibration feedback device 230 may be triggered to generate vibration, so as to simulate a key touch feeling and improve user experience.
It should be noted that the key in the embodiment of the present application refers to an electronic signal triggered by a pressing operation, such as a series of communication signals corresponding to the pressing event. When a user presses the touch area 210 and the pressure value reaches a certain threshold, the key value corresponding to the pressing is reported, so that the system realizes a corresponding function.
For the current touch pad 200, no matter where the user presses the touch pad, the same key value, that is, the key value of the single key, is reported by the touch pad 200, and the system can only identify the pressing as the left key operation or the right key operation, which limits the use of the touch pad 200.
Therefore, the touch scheme is provided, and the touch operation of the user on the touch pad can be effectively identified so as to realize richer functions.
Fig. 3 is a schematic block diagram of a touch pad according to an embodiment of the present application. The touch area 310 of the touch pad 300 includes a plurality of sub-areas, which are operation areas corresponding to a plurality of functions. As shown in fig. 3, the touch pad 300 includes a position detection device 320, a pressure detection device 330, and a processing unit 340.
The position detection device 320 is used for detecting information of a position when the user presses the touch pad 300. The position detecting device may include a plurality of detecting electrodes, such as a transverse electrode and a longitudinal electrode, for example, and may include a touch chip connected to each detecting electrode, the touch chip being configured to detect a change in self capacitance or mutual capacitance of the detecting electrode when a user touches the touch pad 300, and determine a touch position of the user based on the change.
The pressure detection device 330 is used for detecting the pressure F when the user presses the touch pad. The pressure detection means 330 may comprise one or more pressure sensors, for example one pressure sensor may be arranged below each sub-area.
The processing unit 340 is configured to, when the pressure F when the user presses the touch pad 300 is greater than the first pressure threshold F1, determine a target sub-area where the pressing position of the user is located in the plurality of sub-areas, and output a key value corresponding to the target sub-area, so that the electronic device implements a function corresponding to the target sub-area according to the key value.
The plurality of sub-regions correspond to a plurality of different key values respectively. The processor of the electronic device, such as the main control, may receive the key values corresponding to the different sub-regions reported by the processing unit 340, and implement the functions corresponding to the different sub-regions according to the different key values.
It should be understood that the processing unit 340 may first determine the magnitude relationship between the pressure F and the first pressure threshold F1, and then determine the target sub-region where the pressing position is located, so as to report a key value corresponding to the target sub-region when F > F1; alternatively, the processing unit 340 may also determine the target sub-region where the pressing position is located, and then determine the magnitude relationship between the pressure F and the first pressure threshold F1, so as to report the key value corresponding to the target sub-region when F > F1. This is not limited in this application.
The processing unit 340 is further configured to: and integrating the pressure according to the duration of the pressure, and determining the size of the sound corresponding to the target sub-area and/or the intensity of the vibration output by the vibration feedback device in the target sub-area according to the obtained integrated pressure value.
The pressure of a user pressing the touch pad is integrated to obtain an integral pressure value, and the sound size and the vibration intensity corresponding to the target subarea are determined according to the integral pressure value, so that the operation body feeling under different application scenes can be simulated. The following description will take a Musical Instrument Digital Interface (MIDI) keyboard as an example.
Fig. 4 is a schematic diagram illustrating a touch area 310 when a touch pad of the embodiment of the present application implements a MIDI keyboard function. For example, the plurality of sub-regions may be operation regions corresponding to a plurality of keys of a Musical Instrument Digital Interface (MIDI) keyboard, the pattern formed by the plurality of sub-regions is a plurality of keys of the MIDI keyboard, and the plurality of sub-regions are a plurality of operation regions corresponding to a plurality of keys, respectively, for example, regions corresponding to a C key, a D key, an E key, an F key, a G key, an a key, and a B key in fig. 4, so that music editing and creating functions may be implemented on the touch panel.
When the pressure F of the user pressing the touch area 310 is greater than the first pressure threshold F1, if the position detection device 320 detects that the pressing position of the user is located in the sub-area corresponding to the C key, the processing unit 340 may output a key value corresponding to the area to the main controller, so that the main controller implements the C key playing function; if the position detection device 320 detects that the pressing position of the user is located in the sub-region corresponding to the D key, the processing unit 340 may output a key value corresponding to the sub-region to the main controller, so that the main controller can implement the D key playing function; the other keys are similar.
Specifically, the processing unit 340 determines whether to output a key value by determining a magnitude relationship between the pressure F of the user pressing the touch pad 300 and the first pressure threshold F1. When the pressure F is greater than a first pressure threshold value F1, determining a target sub-region where the pressing position is located, and outputting a key value corresponding to the target sub-region; when the pressure F is less than the first pressure threshold F1, no key value may be output. That is, when the pressure F output by the user is small, for example, smaller than the first pressure threshold F1, it indicates that the user desires to perform a touch operation, so the processing unit 340 does not output a key value, and the main control will not execute the function corresponding to each sub-area, and at this time, only perform the touch operation of the user, for example, perform a movement operation of a pointer or a cursor of a mouse; when the pressure F output by the user is larger, for example, larger than the first pressure threshold F1, indicating that the user desires to implement the pressing operation, the processing unit 340 outputs a key value corresponding to the sub-region where the pressing position is located, and the main control receives the key value to execute the function corresponding to the sub-region.
It should be understood that the key values reported by the processing unit 340 are associated with the respective sub-areas, and the key values reported by the processing unit 340 are different when the user presses the sub-areas. Therefore, the master control can determine the function which the user desires to realize according to different key values. For the pressure touch pad 200 shown in fig. 2, no matter where the user presses, the same key value, that is, the key value of the single key, is reported.
As can be seen, in the embodiment of the present application, since the touch area of the touch pad 300 is divided into a plurality of sub-areas and is respectively used as an operation area corresponding to a plurality of functions, the user can press the sub-areas to realize the functions corresponding to the sub-areas. When the pressure F when the user presses the touch pad is larger than a first pressure threshold value F1, determining a target sub-area where the pressing position is located, and outputting a key value corresponding to the target sub-area, so that a function corresponding to the target sub-area is realized through the key value. The different target sub-areas correspond to different key values, the different key values respectively indicate different functions, and after a processor of the electronic device, such as a main control, receives the key values reported by the touch panel, the processor can provide corresponding functions for a user. Based on this way, the use of the touch pad 300 is more flexible, and more abundant functions can be realized.
In one implementation, as shown in fig. 3, the touch pad 300 further includes a vibration feedback device 350 for outputting vibration according to the pressure F when the user presses the touch pad 300. The vibration feedback device 350 may implement corresponding vibration feedback through a piezoelectric ceramic and its related circuit, for example. The processing unit 340 controls the vibration feedback device 350 to output vibration when the pressure F of the user pressing the touch pad 300 is greater than the first pressure threshold F1. In this way, the vibration is reversely output to the user by the vibration feedback device 350 based on the pressure output by the user, thereby improving the user's hand feeling.
Next, a MIDI keyboard is taken as an example, and the touch pad 300 according to the embodiment of the present application is described in detail with reference to fig. 4 to fig. 6.
The touch pad 300 may implement some special functions, such as those of a MIDI keyboard. In this case, the touch pad 300 can be used as a music input device, so that music editing and creation can be directly performed using the touch pad 300 without connecting an additional MIDI keyboard. The output of the MIDI keyboard is the musical note and the playing strength of the musical note, and the playing strength of the musical note output by the MIDI keyboard of the entity is related to the force of pressing the key by the user. In one implementation, the processing unit 340 may integrate the duration of the pressure F when the user presses the touch pad 300, and determine the magnitude of the sound of the key corresponding to the target sub-region and/or the intensity of the vibration output by the vibration feedback device 350 in the target sub-region according to the obtained integrated pressure value.
In this way, the pressure F when the user presses the touch panel 300 is integrated to obtain an integrated pressure value, so as to determine the magnitude of the key sound and the vibration intensity, thereby simulating the body feeling when playing a real musical instrument. For example, when the user swiftly strikes the keys, the musical notes output by the MIDI keyboard are played with a larger intensity, i.e., the sound of the output musical notes is larger; and when the user softly and slowly presses the keys, the MIDI keyboard outputs the musical notes with smaller playing strength, namely, the sound of the output musical notes is smaller.
As shown in fig. 4, the touch area 310 of the pressure touch pad 300 may be divided into one octave key areas by the position coordinates (X) pressed by the userf,Yf) It is possible to identify which key corresponds to which sub-region the finger is pressing. Position coordinates (X) are detectedf,Yf) And then, collecting the pressure F and judging whether the pressure F exceeds a first pressure threshold value F1, and if the pressure F exceeds the first pressure threshold value F1, triggering the note corresponding to the key. Counting a preset time T starting when the pressure F exceeds a first pressure threshold F1inAnd (4) an integral pressure value of the internal pressure F, wherein the integral pressure value represents the current pressing force. The touch pad 300 multiplies the integral pressure value by a coefficient K1 to obtain the intensity of the vibration generated by the vibration feedback device 350, and controls the vibration feedback device 350 to proportionally generate the vibration feedback with corresponding intensity to prompt the user of the current force when pressing the key. In addition, the touch pad 300 multiplies the integral pressure value by the coefficient K2 to obtain the playing strength information of the note, and reports the information to the computer system, so that the electronic device outputsThe sound with fluctuating volume. The coefficient K1 and the coefficient K2 may be set according to the user's needs to meet the user's needs for low vibration intensity and high volume. For example, if the user desires the vibration intensity to be large, a large coefficient K1 may be set, and if the user desires the volume of the note to be large, a large coefficient K2 may be set. Finally, the MIDI keyboard implemented on the touch pad 300 can output all the notes within one octave, and the playing strength of the output notes is proportional to the pressing strength of the user during playing, and the vibration strength felt by the user is proportional to the pressing strength of the user during playing, so that the user can be prompted about the pressing strength.
Taking a key C as an example, fig. 5 shows sub-regions corresponding to the key C within the touch region 310, and the sub-region range corresponding to the key C is surrounded by coordinates (0, 0), (180, 0), (180, 750), (240, 750), (240, 1080) and (0, 1080). Specifically, taking the key C as an example, as shown in fig. 6, the processing unit 340 may perform part or all of the following steps.
In step 701, it is determined whether a user's touch is detected.
If the touch of the user is detected, step 702 is executed; otherwise, go back to step 701.
In step 702, the position coordinates (X) of the user's press are calculatedf,Yf)。
In step 703, the pressure F when the user presses the touch pad 300 is detected.
In step 704, it is determined whether the pressure F is greater than a first pressure threshold F1.
If F > F1, executing step 705 to execute the click operation of the mouse by the user; if F < F1, step 715 is performed to perform a user movement operation of the mouse pointer or cursor.
In step 705, position coordinates (X) are determinedf,Yf) Whether or not Y is 0. ltoreq. Yf≤750。
If 0. ltoreq. Y is satisfiedfIf not more than 750, executing step 706; otherwise, step 707 is executed.
In step 706, position coordinates are determined (Xf,Yf) Whether or not X is satisfied at 0. ltoreq.Xf<180。
In step 707, position coordinates (X) are determinedf,Yf) Whether or not X is satisfied at 0. ltoreq.Xf<240。
If 0 ≦ X determined in step 706f<180, then go to step 708; otherwise, step 709 is executed.
If 0. ltoreq.X is judged in step 707f<240, go to step 708; otherwise, step 709 is executed.
In step 708, the target sub-region is determined to be the sub-region corresponding to the key C.
I.e. position coordinates (X)f,Yf) Located in the corresponding sub-area of key C.
In step 709, determination of other key regions is made.
In step 710, at time TinAnd integrating the F to obtain an integral pressure value.
In step 711, the integrated pressure value is multiplied by a coefficient K1 to obtain the magnitude of the vibration feedback.
In step 712, the vibration feedback device is controlled to output vibrations of corresponding intensity.
In step 713, the integrated pressure value is multiplied by a coefficient K2 to obtain performance dynamics information.
In step 714, the key values of the sub-regions corresponding to the key C and the playing strength information are reported.
After the key value of the sub-region corresponding to the key C and the playing strength information are received by the main control, the note of the key C can be output based on the playing strength and the sound with certain strength.
In step 715, the position coordinates (X) are reportedf,Yf)。
The position coordinate (X)f,Yf) For touch detection, for example, to perform a moving operation of a pointer or cursor.
Based on the above flow, the touch pad 100 can implement its original touch detection function and can implement the performance function of the MIDI keyboard. By performing the above-described key identification for the keys and linear processing for the pressing force F, it is also possible to simulate different playing strengths.
In one implementation, the processing unit 340 is further configured to: whether a plurality of functions corresponding to the plurality of sub-areas are turned on is determined according to the pressure F when the user presses the touch pad 300.
In this embodiment, the user can also control whether to start a plurality of functions corresponding to a plurality of sub-areas through the pressure F output by the user. For example, when the pressure F is greater than the second pressure threshold F2, it is determined to turn on or off a plurality of functions corresponding to a plurality of sub-regions. Further, it may be determined to turn on or off a plurality of functions corresponding to a plurality of sub-areas when the pressure F is greater than the second pressure threshold F2 and the duration T exceeds the time threshold T0 to reduce the probability of a user's malfunction.
F2 and F1 need to have a certain difference, for example, F2 may be larger than F1. Preferably, F1-100 g and F2-400 g.
In one implementation, for example, as shown in fig. 7, a backlight module 360 is disposed below the touch pad 300, and the backlight module 360 is used for emitting light. When it is determined that the key expansion function is turned on, the processing unit 340 may control the backlight module 360 to emit light, so as to present a plurality of sub-areas to the user on the touch surface 310 of the touch pad 300. Accordingly, when it is determined to turn off the key expansion function, the processing unit 340 may control the backlight module 360 to turn off, so that the plurality of sub-areas presented on the touch surface 310 of the touch pad 300 disappear. The backlight module may be composed of a plurality of LED light sources, for example.
How to turn on or off a plurality of functions corresponding to a plurality of sub-areas is described in detail below based on fig. 8, and hereinafter, the plurality of functions corresponding to a plurality of sub-areas is also referred to as a key expansion function. As shown in fig. 8, the processing unit 340 may perform some or all of the following steps to turn on or off the key expansion function.
In step 801, it is determined whether a user's touch is detected.
If the touch of the user is detected, executing step 802; otherwise, step 803 is executed.
In step 802, a pressure F when the user presses the touch pad 300 is detected.
In step 803, a timer is set to 0.
In step 804, it is determined whether the pressure F is greater than a second pressure threshold F2.
If F > F2, perform step 805; if F < F2, go back to step 803.
In step 805, a timer is timed.
In step 806, it is determined whether the duration T of the pressure F exceeds a time threshold T0.
If T < T0, go back to step 801; if T > T0, step 807 is performed.
In step 807, it is determined whether the key expansion function is in an on state.
If the key expansion function is in the on state, executing step 808 and step 809; if the key expansion function is not turned on, step 810 and step 811 are performed.
In step 808, the key expansion function is turned off.
In step 809, the backlight module is turned off.
In step 810, the key expansion function is turned on.
In step 811, the backlight module is turned on.
Since the backlight module 360 is disposed below the touch pad 300, when the key expansion function needs to be turned on, the backlight module 360 emits light to present a plurality of sub-areas to the user on the touch surface 310 of the touch pad 300, so as to guide the user to press on different sub-areas to implement corresponding functions. And, different light paths can be designed for different scenes, thereby forming different patterns. For example, when the touch panel 300 realizes the function of a MIDI keyboard, the light emitted from the backlight module 360 may form the key pattern shown in fig. 4; when the touch pad 300 realizes the mouse function, the light emitted from the backlight module 360 may form the mouse button pattern shown in fig. 1.
In addition, the user may be presented with multiple sub-areas in other ways, such as printing multiple sub-areas on the touch surface 310 of the touch pad 300, but the touch pad 300 formed in this way is only suitable for a specific scene.
Optionally, when the pressure F when the user presses the touch pad 300 is greater than the second pressure threshold F2, the key expansion function is turned on or off, and then the vibration feedback device 350 may be controlled to feed back a vibration to the user to indicate to the user that the key expansion function is turned on or off. It should be appreciated that the vibration output by the vibration feedback device 350 may differ between the vibration corresponding to the first pressure threshold F1 and the vibration corresponding to the second pressure threshold F1, such as in terms of vibration intensity, vibration frequency, or vibration time.
The present application further provides a touch detection method, which is applied to the touch pad 300 in any of the above embodiments. As shown in fig. 9, method 900 includes some or all of the following steps.
In step 910, information of the position and pressure when the user presses the touch pad is obtained.
In step 920, when the pressure is greater than a first pressure threshold, determining a target sub-region where the position is located, and outputting a key value corresponding to the target sub-region, so that the electronic device can implement a function corresponding to the target sub-region according to the key value.
Since the touch area of the touch pad is divided into a plurality of sub-areas and is respectively used as the operation area corresponding to a plurality of functions, the functions corresponding to the sub-areas can be realized by pressing the touch pad in different sub-areas by a user. Based on the touch detection method, when the pressure of the user pressing the touch pad is larger than a first pressure threshold, a target sub-area where the pressing position is located is determined, and a key value corresponding to the target sub-area is output, so that a function corresponding to the target sub-area is realized through the key value. The different target sub-areas correspond to different key values, the different key values respectively indicate different functions, and after a processor of the electronic device, such as a main control, receives the key values reported by the touch panel, the processor can provide corresponding functions for a user. Based on the mode, the touch pad is more flexible to use, and richer functions can be realized, such as functions of a mouse, a numeric keyboard, a MIDI keyboard and the like on the touch pad.
In one implementation, the method 900 further includes: and integrating the pressure according to the duration of the pressure, and determining the size of the sound corresponding to the target sub-area and/or the intensity of the vibration output by the vibration feedback device in the target sub-area according to the obtained integrated pressure value.
In one implementation, the pattern formed by the plurality of sub-regions is a plurality of keys of a MIDI keyboard, and the plurality of sub-regions are respectively operation regions corresponding to the plurality of keys.
In one implementation, the greater the pressure applied to the operation area corresponding to the key, the greater the output note sound corresponding to the key.
In one implementation, the greater the pressure applied to the operating region corresponding to the key, the greater the intensity of the vibration of the operating region corresponding to the key.
In one implementation, the method 900 further includes: and determining whether to start a plurality of functions corresponding to the plurality of sub-areas according to the pressure.
In one implementation, the determining whether to turn on a plurality of functions corresponding to the plurality of sub-regions according to the pressure includes: and when the pressure is greater than a second pressure threshold value and the duration exceeds a time threshold value, determining to turn on or off a plurality of functions corresponding to the plurality of sub-areas, wherein the second pressure threshold value is greater than the first pressure threshold value.
In one implementation, a backlight module is disposed below the touch pad, and the backlight module is configured to emit light, and the method 900 further includes: and when determining to start a plurality of functions corresponding to the plurality of sub-areas, controlling the backlight module to emit light so as to present the plurality of sub-areas on the touch pad.
It should be understood that specific details of the method 900 can be found in the foregoing description for the touch pad 300, and are not repeated herein for brevity.
The embodiment of the present application further provides an electronic device, which includes the touch pad in the various embodiments of the present application, and a processor, configured to receive the key value reported by the touch pad and execute a function corresponding to the key value.
By way of example and not limitation, the electronic device in the embodiments of the present application may be a portable or mobile computing device such as a terminal device, a mobile phone, a tablet computer, a notebook computer, a desktop computer, a game device, an in-vehicle electronic device, or a wearable smart device, and other electronic devices such as an electronic database, an automobile, and an Automated Teller Machine (ATM). The wearable intelligent device comprises a device which has complete functions and large size and can realize complete or partial functions without depending on a smart phone, such as a smart watch or smart glasses and the like; and, only focus on a certain kind of application function, and need with other equipment such as the equipment that the smart mobile phone cooperation was used, for example, all kinds of intelligent bracelet, intelligent ornament etc. that carry out the physical sign monitoring.
It should be noted that, without conflict, the embodiments and/or technical features in the embodiments described in the present application may be arbitrarily combined with each other, and the technical solutions obtained after the combination also fall within the protection scope of the present application.
It should be understood that the specific examples in the embodiments of the present application are for the purpose of promoting a better understanding of the embodiments of the present application, and are not intended to limit the scope of the embodiments of the present application, and that various modifications and variations can be made by those skilled in the art based on the above embodiments and fall within the scope of the present application.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (17)

1. A touch detection method is applied to a touch pad of an electronic device, and is characterized in that a touch area of the touch pad comprises a plurality of sub-areas, and the sub-areas are respectively operation areas corresponding to a plurality of functions, and the method comprises the following steps:
acquiring information of a position and pressure when a user presses the touch pad;
when the pressure is larger than a first pressure threshold value, determining a target sub-region where the position is located in the plurality of sub-regions, and outputting a key value corresponding to the target sub-region, so that the electronic equipment can realize a function corresponding to the target sub-region according to the key value.
2. The method of claim 1, further comprising:
and integrating the pressure according to the duration of the pressure, and determining the size of the sound corresponding to the target sub-area and/or the intensity of the vibration output by the vibration feedback device in the target sub-area according to the obtained integrated pressure value.
3. The method of claim 2, wherein the plurality of sub-regions form a pattern of a plurality of keys of a MIDI keyboard, and the plurality of sub-regions are respectively corresponding operating regions of the plurality of keys.
4. The method according to claim 3, wherein the greater the pressure to which the operating area corresponding to the key is subjected, the greater the sound of the note outputted corresponding to the key.
5. The method according to claim 3, wherein the greater the pressure to which the operating region corresponding to the key is subjected, the greater the intensity of the vibration of the operating region corresponding to the key.
6. The method of claim 1, further comprising:
and determining whether to start a plurality of functions corresponding to the plurality of sub-areas according to the pressure.
7. The method of claim 6, wherein said determining whether to activate a plurality of functions corresponding to the plurality of sub-regions based on the pressure comprises:
determining to turn on or off a plurality of functions corresponding to the plurality of sub-regions when the pressure is greater than a second pressure threshold and a duration exceeds a time threshold, wherein the second pressure threshold is greater than the first pressure threshold.
8. The method of claim 7, wherein a backlight module is disposed under the touch pad, the backlight module is configured to emit light, and the method further comprises:
and when determining to start a plurality of functions corresponding to the plurality of sub-areas, controlling the backlight module to emit light so as to present the plurality of sub-areas on the touch pad.
9. A touch pad, wherein a touch area of the touch pad includes a plurality of sub-areas, and the sub-areas are operation areas corresponding to a plurality of functions, respectively, the touch pad includes:
position detection means for detecting information of a position at which the user presses the touch panel;
the pressure detection device is used for detecting the information of the pressure when the user presses the touch pad;
and the processing unit is used for determining a target sub-region where the position is located in the plurality of sub-regions and outputting a key value corresponding to the target sub-region when the pressure is greater than a first pressure threshold value, so that the electronic equipment can realize a function corresponding to the target sub-region according to the key value.
10. The trackpad of claim 9, wherein the processing unit is further configured to:
and integrating the pressure according to the duration of the pressure, and determining the size of the sound corresponding to the target sub-area and/or the intensity of the vibration output by the vibration feedback device in the target sub-area according to the obtained integrated pressure value.
11. The touch pad of claim 10,
the patterns formed by the plurality of sub-areas are a plurality of keys of a musical instrument digital interface MIDI keyboard, and the plurality of sub-areas are respectively operation areas corresponding to the plurality of keys.
12. The touch pad of claim 11,
the larger the pressure on the operation area corresponding to the key is, the larger the output note sound corresponding to the key is.
13. The touch pad of claim 11,
the greater the pressure received by the operation area corresponding to the key, the greater the intensity of the vibration of the operation area corresponding to the key.
14. The trackpad of claim 9, wherein the processing unit is further configured to:
and determining whether to start a plurality of functions corresponding to the plurality of sub-areas according to the pressure.
15. The trackpad of claim 14, wherein the processing unit is specifically configured to:
determining to turn on or off a plurality of functions corresponding to the plurality of sub-regions when the pressure is greater than a second pressure threshold and a duration exceeds a time threshold, wherein the second pressure threshold is greater than the first pressure threshold.
16. The trackpad of claim 15, further comprising:
the backlight module is used for emitting light;
the processing unit is further to:
and when determining to start a plurality of functions corresponding to the plurality of sub-areas, controlling the backlight module to emit light so as to present the plurality of sub-areas on the touch pad.
17. An electronic device, comprising:
the touch panel of any of the above claims 9-16; and the number of the first and second groups,
and the processor is used for receiving the key values reported by the touch pad and executing the functions corresponding to the key values.
CN202111358414.8A 2021-11-16 2021-11-16 Touch detection method, touch pad and electronic equipment Pending CN114035696A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111358414.8A CN114035696A (en) 2021-11-16 2021-11-16 Touch detection method, touch pad and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111358414.8A CN114035696A (en) 2021-11-16 2021-11-16 Touch detection method, touch pad and electronic equipment

Publications (1)

Publication Number Publication Date
CN114035696A true CN114035696A (en) 2022-02-11

Family

ID=80144574

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111358414.8A Pending CN114035696A (en) 2021-11-16 2021-11-16 Touch detection method, touch pad and electronic equipment

Country Status (1)

Country Link
CN (1) CN114035696A (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101465121A (en) * 2009-01-14 2009-06-24 苏州瀚瑞微电子有限公司 Method for implementing touch virtual electronic organ
CN101770290A (en) * 2009-01-06 2010-07-07 欧缔科技股份有限公司 Method for converting touch control plate into touch control mode or digital key and/or hot key input mode
CN101902530A (en) * 2010-07-28 2010-12-01 青岛海信移动通信技术股份有限公司 Mobile terminal and method for outputting music
CN101923388A (en) * 2009-06-09 2010-12-22 联想(北京)有限公司 Input equipment and computer comprising same
CN202121663U (en) * 2011-05-23 2012-01-18 上海骋旭信息技术有限公司 Apparatus capable of realizing touch control of music playing on mobile phone
CN105446646A (en) * 2015-12-11 2016-03-30 小米科技有限责任公司 Virtual keyboard based content input method, apparatus and touch device
CN105739995A (en) * 2016-03-03 2016-07-06 上海与德通讯技术有限公司 Playing simulating method and playing simulating module
CN206460774U (en) * 2017-02-22 2017-09-01 北京千音互联科技有限公司 A kind of multifunctional intellectual musical instrument
CN107250969A (en) * 2015-08-31 2017-10-13 华为技术有限公司 Screen opening method, device and electronic equipment
CN109634445A (en) * 2018-12-20 2019-04-16 无锡睿勤科技有限公司 A kind of touch control method, device and equipment
CN109669581A (en) * 2018-12-29 2019-04-23 联想(北京)有限公司 Input unit, input method and calculating equipment
CN110209303A (en) * 2019-05-31 2019-09-06 联想(北京)有限公司 Electronic equipment and control method
CN114035695A (en) * 2021-11-16 2022-02-11 汇顶科技(成都)有限责任公司 Touch detection method, touch pad and electronic equipment

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101770290A (en) * 2009-01-06 2010-07-07 欧缔科技股份有限公司 Method for converting touch control plate into touch control mode or digital key and/or hot key input mode
CN101465121A (en) * 2009-01-14 2009-06-24 苏州瀚瑞微电子有限公司 Method for implementing touch virtual electronic organ
CN101923388A (en) * 2009-06-09 2010-12-22 联想(北京)有限公司 Input equipment and computer comprising same
CN101902530A (en) * 2010-07-28 2010-12-01 青岛海信移动通信技术股份有限公司 Mobile terminal and method for outputting music
CN202121663U (en) * 2011-05-23 2012-01-18 上海骋旭信息技术有限公司 Apparatus capable of realizing touch control of music playing on mobile phone
CN107250969A (en) * 2015-08-31 2017-10-13 华为技术有限公司 Screen opening method, device and electronic equipment
CN105446646A (en) * 2015-12-11 2016-03-30 小米科技有限责任公司 Virtual keyboard based content input method, apparatus and touch device
CN105739995A (en) * 2016-03-03 2016-07-06 上海与德通讯技术有限公司 Playing simulating method and playing simulating module
CN206460774U (en) * 2017-02-22 2017-09-01 北京千音互联科技有限公司 A kind of multifunctional intellectual musical instrument
CN109634445A (en) * 2018-12-20 2019-04-16 无锡睿勤科技有限公司 A kind of touch control method, device and equipment
CN109669581A (en) * 2018-12-29 2019-04-23 联想(北京)有限公司 Input unit, input method and calculating equipment
CN110209303A (en) * 2019-05-31 2019-09-06 联想(北京)有限公司 Electronic equipment and control method
CN114035695A (en) * 2021-11-16 2022-02-11 汇顶科技(成都)有限责任公司 Touch detection method, touch pad and electronic equipment

Similar Documents

Publication Publication Date Title
US11409435B2 (en) Sensor managed apparatus, method and computer program product
US20040021663A1 (en) Information processing method for designating an arbitrary point within a three-dimensional space
US9436282B2 (en) Contactor-based haptic feedback generation
JP4847010B2 (en) Electronic device and method for preparing the keyboard
JP5746186B2 (en) Touch sensitive device
CN101765825B (en) For pressure sensor array apparatus and the method for tactile sensing
US8451245B2 (en) Multi-touch device having dynamic haptic effects
KR101436655B1 (en) Haptic effects with proximity sensing
KR20170072904A (en) Method, system for implementing operation of mobile terminal according to touching signal and mobile terminal
EP2075671A1 (en) User interface of portable device and operating method thereof
US5025705A (en) Method and apparatus for controlling a keyboard operated device
CN114035695A (en) Touch detection method, touch pad and electronic equipment
JP2010530105A (en) Equipment with high-precision input function
US9997148B2 (en) Apparatus and method of sound modulation using touch screen with pressure sensor
EP3190482A1 (en) Electronic device, character input module and method for selecting characters thereof
CN110413099A (en) Haptic feedback system and method
CN110703952B (en) Normal virtual key rendering method based on double-motor device
US20100039375A1 (en) Signal Processing Method of Multi-Finger Touch Supported Touch Apparatus having Hidden Physical Button
US8198990B2 (en) Touch-sensitive front panel for a touch screen
KR20090062190A (en) Input/output device for tactile sensation and driving method for the same
CN101488042A (en) User interface of portable apparatus and its operation method
CN114035696A (en) Touch detection method, touch pad and electronic equipment
US10423384B2 (en) Controller for information data
Beruscha et al. 22‐3: Invited Paper: Deriving User Requirements for Haptic Enhanced Automotive Touch Screen Interaction
CN103777783A (en) Touch mouse and method for using the same

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