CN109445600A - Tactile feedback method, device, terminal and computer readable storage medium - Google Patents
Tactile feedback method, device, terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN109445600A CN109445600A CN201811357763.6A CN201811357763A CN109445600A CN 109445600 A CN109445600 A CN 109445600A CN 201811357763 A CN201811357763 A CN 201811357763A CN 109445600 A CN109445600 A CN 109445600A
- Authority
- CN
- China
- Prior art keywords
- touch control
- touch
- stimulation intensity
- terminal
- haptic feedback
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 49
- 230000000638 stimulation Effects 0.000 claims description 126
- 238000004590 computer program Methods 0.000 claims description 21
- 238000004891 communication Methods 0.000 abstract description 4
- 238000005516 engineering process Methods 0.000 abstract description 3
- 230000006870 function Effects 0.000 description 9
- 230000008569 process Effects 0.000 description 7
- 230000004044 response Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000003825 pressing Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000036982 action potential Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 210000004126 nerve fiber Anatomy 0.000 description 1
- 230000035807 sensation Effects 0.000 description 1
- 230000001953 sensory effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 239000000758 substrate Substances 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/016—Input arrangements with force or tactile feedback as computer generated output to the user
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application belongs to field of communication technology more particularly to a kind of tactile feedback method, device, terminal and computer readable storage medium, wherein the tactile feedback method includes: the attribute information for obtaining the touch control shown in the terminal current display interface;The corresponding intensity of electric stimulus of the touch control is determined according to the attribute information;When receiving to the trigger action for touching control, controls the electrode and export tactile feedback signal corresponding with the touch intensity of electric stimulus of control;Different touch feedbacks can be obtained by realizing when user triggers different touch controls.
Description
Technical Field
The present application belongs to the field of communication technologies, and in particular, to a haptic feedback method, an apparatus, a terminal, and a computer-readable storage medium.
Background
The touch panel generally includes: a Sensor (Sensor) and a Controller (Controller). The sensor is used for receiving an input signal input by touching or pressing the touch panel; the controller is used for analyzing and calculating the position coordinates of the touch point or the pressing point and outputting a corresponding control signal to control the terminal to execute corresponding operation. The touch panel can be classified into four types of touch panels, i.e., a resistive touch panel, a capacitive touch panel, an optical touch panel and a sonic touch panel, according to different sensing technologies, and a user can trigger corresponding operations only by touching or pressing a graphic button or a graphic control displayed on the touch panel.
However, when a user performs an input operation on the touch panel, a tactile feedback similar to that when a physical key is pressed is generally not available.
Disclosure of Invention
The embodiment of the application provides a haptic feedback method, a haptic feedback device, a terminal and a computer readable storage medium, which can enable the terminal to output a haptic feedback signal of corresponding electrical stimulation intensity according to attribute information of a touch control when the terminal receives a trigger operation on the touch control.
A first aspect of an embodiment of the present application provides a haptic feedback method, which is applied to a terminal, where a touch panel of the terminal is provided with an electrode for outputting a haptic feedback signal, and the haptic feedback method includes:
acquiring attribute information of a touch control displayed in a current display interface of the terminal;
determining the corresponding electrical stimulation intensity of the touch control according to the attribute information;
and when the triggering operation of the touch control is received, controlling the electrode to output a tactile feedback signal corresponding to the electric stimulation intensity of the touch control.
A second aspect of the embodiments of the present application provides a haptic feedback device configured in a terminal, a touch panel of the terminal being provided with an electrode for outputting a haptic feedback signal, the haptic feedback device including:
the acquiring unit is used for acquiring attribute information of the touch control displayed in the current display interface of the terminal;
the determining unit is used for determining the corresponding electric stimulation intensity of the touch control according to the attribute information;
and the output unit is used for controlling the electrode to output a tactile feedback signal corresponding to the electric stimulation intensity of the touch control when receiving the triggering operation of the touch control.
A third aspect of the embodiments of the present application provides a terminal, including a touch panel provided with an electrode for outputting a haptic feedback signal, a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method when executing the computer program.
A fourth aspect of the embodiments of the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the above method.
In the embodiment of the application, the electrode for outputting the tactile feedback signal is arranged on the touch panel of the terminal, the attribute information of the touch control displayed in the current display interface of the terminal is acquired, and the electric stimulation intensity corresponding to the touch control is determined according to the attribute information, so that when the terminal receives the triggering operation of the touch control, the electrode corresponding to the touch control can be controlled to output the tactile feedback signal corresponding to the electric stimulation intensity of the touch control, and different tactile feedbacks can be obtained when a user triggers different touch controls. Meanwhile, when the user does not watch the touch panel, the user can accurately input operation according to the touch feedback corresponding to the touch control, the effect similar to 'touch typing' is realized, and the input efficiency of the user is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
FIG. 1 is a schematic flow chart illustrating a first implementation of a haptic feedback method according to an embodiment of the present disclosure;
FIG. 2 is a schematic flow chart illustrating a second implementation of a haptic feedback method according to an embodiment of the present application;
FIG. 3 is a schematic flow chart illustrating a third implementation of a haptic feedback method according to an embodiment of the present application;
FIG. 4 is a schematic flow chart illustrating a fourth implementation of a haptic feedback method according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a haptic feedback device provided in an embodiment of the present application;
fig. 6 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
In the embodiment of the application, the electrode for outputting the tactile feedback signal is arranged on the touch panel of the terminal, and the attribute information of the touch control displayed in the current display interface of the terminal is acquired, so that the electric stimulation intensity corresponding to the touch control is determined according to the attribute information, when the terminal receives the triggering operation of the touch control, the electrode can be controlled to output the tactile feedback signal corresponding to the electric stimulation intensity of the touch control, and different tactile feedbacks can be obtained when a user triggers different touch controls.
In order to explain the technical solution of the present application, the following description will be given by way of specific examples.
Fig. 1 shows a schematic flowchart of an implementation of a haptic feedback method provided by an embodiment of the present application, which is applied to a terminal and can be executed by a haptic feedback device configured on the terminal, and includes steps 101 to 103.
Step 101, acquiring attribute information of a touch control displayed in a current display interface of a terminal.
The terminal comprises terminal equipment provided with a touch panel, such as a smart phone, a tablet personal computer, a learning machine, a song ordering device, a game machine and the like.
For terminal devices such as mobile phones, various applications generally need to be run, different touch controls are arranged on display interfaces of different applications, and each touch control can be used for realizing different functions. Meanwhile, the same application program also has display interfaces for realizing different functions, so in the embodiment of the application, in order to control the electrodes to output different tactile feedback signals when the terminal receives trigger operations on different touch controls, the terminal needs to acquire attribute information of the touch control displayed in the current display interface of the terminal first, and then obtain electrical stimulation intensity corresponding to the touch control displayed in the current display interface of the terminal according to the attribute information, so that the electrodes can be controlled to output the tactile feedback signals corresponding to the electrical stimulation intensity of the touch control when the trigger operations on the touch control are received.
In an embodiment of the present application, the touch panel of the terminal is provided with an electrode for outputting a haptic feedback signal.
For example, electrodes are arranged in rows and columns on the surface of the substrate of the touch panel, a stimulation voltage is applied to the electrodes, and when a user touches or presses the electrodes, the electrodes generate a stimulation current to trigger action potentials of nerve fibers of the user and conduct the stimulation current to a sensory nerve center of the brain of the user, so that the user generates contact consciousness, and therefore touch reproduction is achieved.
In the embodiment of the present application, the electrodes are provided with the reference stimulation voltage in advance, and the reference stimulation voltage of each electrode is the same, that is, the reference electrical stimulation intensity of each electrode is the same. Wherein, the reference stimulation voltage can be 3V, 5V or 10V.
In some embodiments of the present application, the attribute information of the touch control may include one or both of a touch area of the touch control and preset type information of the touch control.
And 102, determining the corresponding electrical stimulation intensity of the touch control according to the attribute information.
In the embodiment of the application, the determining of the electrical stimulation intensity corresponding to the touch control according to the attribute information may refer to determining an electrical stimulation intensity multiple corresponding to the touch control according to the attribute information, and then determining the electrical stimulation intensity corresponding to the touch control according to the electrical stimulation intensity multiple.
For example, if the multiple of the electrical stimulation intensity corresponding to the attribute information of the touch control is 1.2, the electrical stimulation intensity corresponding to the touch control is a reference electrical stimulation intensity that is 1.2 times.
And 103, when the triggering operation of the touch control is received, controlling the electrode to output a tactile feedback signal corresponding to the electric stimulation intensity of the touch control.
After the terminal acquires the corresponding electrical stimulation intensity of the touch control displayed on the display interface, when the terminal receives the triggering operation of one or more touch controls displayed on the display interface, the electrode corresponding to the touch control can be controlled to output the tactile feedback signal corresponding to the electrical stimulation intensity of the touch control.
The tactile feedback signal may refer to a stimulation current generated by the electrode.
In the embodiment of the application, the electrode for outputting the tactile feedback signal is arranged on the touch panel of the terminal, the attribute information of the touch control displayed in the current display interface of the terminal is acquired, and the electric stimulation intensity corresponding to the touch control is determined according to the attribute information, so that when the terminal receives the triggering operation of the touch control, the electrode corresponding to the touch control can be controlled to output the tactile feedback signal corresponding to the electric stimulation intensity of the touch control, and different tactile feedbacks can be obtained when a user triggers different touch controls. Meanwhile, when the user does not watch the touch panel, the user can accurately input operation according to the tactile feedback corresponding to the touch control.
It should be noted that, in step 101, the obtaining of the attribute information of the touch control displayed in the current display interface of the terminal may include: the method includes the steps of obtaining attribute information of part of touch controls displayed in a current display interface of the terminal, or obtaining attribute information of all touch controls displayed in the current display interface of the terminal.
For example, in some embodiments of the present application, the obtaining attribute information of a touch control displayed in a current display interface of a terminal may include: acquiring attribute information of each touch control of a virtual keyboard displayed in a current display interface of the terminal.
That is to say, the terminal may output a corresponding haptic feedback signal only when each touch control in the virtual keyboard is triggered, so as to simulate a haptic sensation when an entity keyboard is used for input.
In some embodiments of the present application, in step 103, controlling the electrodes to output the haptic feedback signal corresponding to the intensity of the electrical stimulation of the touch control may include: and controlling the opening density of the electrode to enable the electrode to output a tactile feedback signal corresponding to the electric stimulation intensity of the touch control.
In practical applications, the density of the electrodes laid in the touch panel in advance is fixed, that is, the number of the electrodes provided in the touch panel per square centimeter of the touch area is fixed. However, the on-density of the electrodes can be controlled.
For example, if the laying density of the electrodes in the touch panel is a per square centimeter, the electrode turn-on density corresponding to the reference electrical stimulation intensity may be B per square centimeter, where A, B is an integer greater than 0, and a is greater than B. After the arrangement, the opening density of the electrodes can be controlled to enable the electrodes to output the tactile feedback signals corresponding to the electric stimulation intensity of the touch control. And the larger the electrode opening density is, the larger the electric stimulation intensity is, and on the contrary, the smaller the electric stimulation intensity is.
In some embodiments of the present application, the controlling the electrodes to output the haptic feedback signal corresponding to the intensity of the electrical stimulation of the touch control further includes: and controlling the magnitude of the output current or the magnitude of the applied voltage of the electrode to enable the electrode to output a tactile feedback signal corresponding to the electric stimulation intensity of the touch control.
For example, different electrical stimulation intensities correspond to different magnitudes of output current or different magnitudes of applied voltage.
In some embodiments of the present application, the controlling the electrodes to output the haptic feedback signal corresponding to the intensity of the electrical stimulation of the touch control further includes: and controlling the output frequency of the tactile feedback signal to enable the electrode to output the tactile feedback signal corresponding to the electric stimulation intensity of the touch control.
In the embodiment of the present application, the output frequency of the haptic feedback signal refers to the number of times of outputting the haptic feedback signal in unit time, and when the output frequency of the haptic feedback signal is higher, it indicates that the electrical stimulation intensity is greater, and otherwise, it indicates that the electrical stimulation intensity is smaller.
In practical applications, the three ways of outputting the tactile feedback signal corresponding to the electrical stimulation intensity of the touch control by the electrode may be used in a superimposed manner, for example, the electrode may be simultaneously controlled to output the tactile feedback signal corresponding to the electrical stimulation intensity of the touch control by controlling the on density of the electrode and controlling the magnitude of the output current or the magnitude of the applied voltage of the electrode.
Fig. 2 shows a schematic implementation flow chart of another haptic feedback method provided in the embodiment of the present application, where the haptic feedback method includes steps 201 to 203.
Step 201, acquiring the touch area of the touch control displayed in the current display interface of the terminal.
In the embodiment of the present application, the touch area of the touch control refers to an effective touch area of the touch control in the display area of the touch panel.
And 202, calculating the corresponding electric stimulation intensity of the touch control according to the area of the touch area.
In this embodiment of the application, calculating the electrical stimulation intensity corresponding to the touch control according to the touch area may refer to determining an electrical stimulation intensity multiple corresponding to the touch control according to the touch area, and determining the electrical stimulation intensity corresponding to the touch control according to the electrical stimulation intensity multiple.
For example, after the touch area of the touch control is obtained, the electrical stimulation intensity multiple corresponding to the touch area is obtained by searching the corresponding relationship between the touch area and the electrical stimulation intensity multiple, and then the electrical stimulation intensity corresponding to the touch control can be determined according to the electrical stimulation intensity multiple.
For example, if the multiple of the electrical stimulation intensity corresponding to the touch area of the touch control is 1.2, the electrical stimulation intensity corresponding to the touch control is a reference electrical stimulation intensity that is 1.2 times.
Optionally, the calculating the electrical stimulation intensity corresponding to the touch control according to the touch area may further include: and multiplying the area of the touch area by a first preset multiple to obtain the corresponding electric stimulation intensity of the touch control.
For example, the first preset multiple may be a ratio of a preset reference electrical stimulation intensity to a preset touch area. That is, the electrical stimulation intensity corresponding to the touch control is (preset reference electrical stimulation intensity/preset touch area) × the touch area corresponding to the touch control.
And 203, when the triggering operation of the touch control is received, controlling the electrode to output a tactile feedback signal corresponding to the electric stimulation intensity of the touch control.
In the embodiment of the present application, step 203 is the same as or corresponding to step 103, and is not described herein again.
In the embodiment of the application, the area of the touch control displayed in the current display interface of the terminal is obtained, and the electric stimulation intensity corresponding to the touch control is calculated according to the area of the touch area, so that when the terminal receives the triggering operation of the touch control, the control electrode outputs the touch feedback signal corresponding to the electric stimulation intensity of the touch control, and different touch feedbacks can be obtained when a user triggers different touch controls.
Fig. 3 shows a schematic implementation flow chart of yet another haptic feedback method provided by an embodiment of the present application, where the haptic feedback method includes steps 301 to 303.
Step 301, obtaining preset type information of a touch control displayed in a current display interface of the terminal.
The preset type information of the touch control refers to type information of each touch control obtained by classifying the touch control in advance.
For example, for each touch control of a virtual keyboard displayed in a current display interface of a terminal, an F key and a J key may be set as a first type of touch control in advance, other letter keys are set as second types of touch controls, and different electrical stimulation intensities are set for different types of touch controls, so that a user can perform accurate input operation according to a tactile feedback signal without watching the touch controls, thereby realizing an input effect similar to 'touch typing', and improving the input efficiency of the user.
When the types of the touch controls of the virtual keyboard displayed in the current display interface of the terminal are preset, the digital controls can be set as touch controls of a third type, and functional touch controls such as upper and lower case letter switching keys, ctrl keys and shift keys can be set as touch controls of a fourth type. Here, the description is merely an example, and in other embodiments of the present application, the types of the respective touch controls in other application interfaces may be preset.
And step 302, determining the corresponding electrical stimulation intensity of the touch control according to the type information.
For example, after the electrical stimulation intensity multiple corresponding to each type of touch control is obtained by searching the corresponding relationship between the type information of the touch control and the electrical stimulation intensity multiple, the electrical stimulation intensity corresponding to the touch control can be determined according to the electrical stimulation intensity multiple.
For another example, if the multiple of the electrical stimulation intensity corresponding to the first type of touch control is 1.2, the electrical stimulation intensity corresponding to the first type of touch control is a reference electrical stimulation intensity that is 1.2 times.
Optionally, in this embodiment of the application, different electrical stimulation intensities may be set for different types of touch controls in advance to obtain a corresponding relationship between type information of the touch controls and the electrical stimulation intensity, so that after the terminal obtains the preset type information of the touch controls displayed in the current display interface of the terminal, the electrical stimulation intensity corresponding to the touch controls may be determined according to the corresponding relationship between the type information and the electrical stimulation intensity.
And 303, when the triggering operation of the touch control is received, controlling the electrode to output a tactile feedback signal corresponding to the electric stimulation intensity of the touch control.
In the embodiment of the present application, step 303 is the same as or corresponding to step 103 and step 203, and is not described herein again.
In the embodiment of the application, by acquiring the preset type information of the touch control displayed in the current display interface of the terminal and determining the electrical stimulation intensity corresponding to the touch control according to the type information, the terminal can control the electrode to output the tactile feedback signal corresponding to the electrical stimulation intensity of the touch control when receiving the triggering operation of the touch control, so that different tactile feedbacks can be obtained when a user triggers different touch controls.
Fig. 4 shows a schematic implementation flow chart of yet another haptic feedback method provided in an embodiment of the present application, where the haptic feedback method includes steps 401 to 403.
Step 401, obtaining preset type information of a touch control displayed in a current display interface of the terminal and a touch area of the touch control.
And 402, determining the corresponding electric stimulation intensity of the touch control according to the area of the touch area and the type information.
And 403, when the triggering operation of the touch control is received, controlling the electrode to output a tactile feedback signal corresponding to the electrical stimulation intensity of the touch control.
In this embodiment of the application, the haptic feedback method is a combination of the haptic feedback methods described in fig. 2 and fig. 3, and is suitable for a situation where the electrical stimulation intensity corresponding to the touch control needs to be determined according to the touch area of the touch control and the type information of the touch control at the same time.
For example, for some mobile phone terminals or computers with large screen display, according to different application scenarios, for example, two different scenarios, a one-handed operation scenario and a two-handed operation scenario, the sizes of virtual keyboards displayed by the terminals will be different, where the touch area areas of the touch controls are also greatly different, and therefore, it is necessary to determine the electrical stimulation intensity corresponding to the touch control according to the touch area of the touch control, and on this basis, determine the electrical stimulation intensity corresponding to the touch control according to the type information preset by the touch control, that is, determine the electrical stimulation intensity corresponding to the touch control by combining the touch area of the touch control and the type information of the touch control.
For example, the electrical stimulation intensity corresponding to the touch control determined according to the touch area of the touch control is 1.2 times of the reference electrical stimulation intensity, and then the electrical stimulation intensity corresponding to the touch control determined according to the preset type information of the touch control is also 1.2 times of the reference electrical stimulation intensity, so that the electrical stimulation intensity corresponding to the touch control is also 1.2 times × 1.2 times of the reference electrical stimulation intensity.
In the embodiment of the application, the preset type information of the touch control displayed in the current display interface of the terminal and the touch area of the touch control are obtained, and the electric stimulation intensity corresponding to the touch control is determined according to the touch area and the type information, so that when the terminal receives the triggering operation of the touch control, the control electrode outputs the touch feedback signal corresponding to the electric stimulation intensity of the touch control, and the touch feedback requirement of the large-screen display terminal on the touch control is met.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
For example, steps 101 to 102 may be executed after receiving the trigger operation on the touch control in step 103, that is, when the trigger operation on the touch control is received, acquiring attribute information of the touch control displayed in the current display interface of the terminal; determining the corresponding electrical stimulation intensity of the touch control according to the attribute information; and then, controlling the electrode to output a tactile feedback signal corresponding to the electric stimulation intensity of the touch control.
Fig. 5 shows a schematic structural diagram of a haptic feedback device 500 provided in an embodiment of the present application, which includes an obtaining unit 501, a determining unit 502, and an output unit 503.
An obtaining unit 501, configured to obtain attribute information of a touch control displayed in a current display interface of the terminal;
a determining unit 502, configured to determine, according to the attribute information, an electrical stimulation intensity corresponding to the touch control;
the output unit 503 is configured to control the electrode to output a haptic feedback signal corresponding to the electrical stimulation intensity of the touch control when receiving a trigger operation on the touch control.
In some embodiments of the present application, the obtaining unit 501 may be specifically configured to obtain attribute information of each touch control of a virtual keyboard displayed in a current display interface of the terminal.
In some embodiments of the present application, the obtaining unit 501 may be further specifically configured to obtain a touch area of a touch control displayed in a current display interface of the terminal; correspondingly, the determining unit is further specifically configured to calculate the electrical stimulation intensity corresponding to the touch control according to the touch area.
In some embodiments of the application, the determining unit 502 may be further specifically configured to multiply the area of the touch area by a first preset multiple to obtain an electrical stimulation intensity corresponding to the touch control
In some embodiments of the present application, the obtaining unit 501 may be further specifically configured to obtain type information preset by a touch control displayed in a current display interface of the terminal; correspondingly, the determining unit is further specifically configured to determine the electrical stimulation intensity corresponding to the touch control according to the type information.
In some embodiments of the present application, the obtaining unit 501 may be further specifically configured to obtain a touch area of the touch control and type information of the touch control; correspondingly, the determining unit is further specifically configured to determine the electrical stimulation intensity corresponding to the touch control according to the touch area and the type information.
In some embodiments of the present application, the output unit 503 may be further specifically configured to control the on density of the electrode to enable the electrode to output a haptic feedback signal corresponding to the electrical stimulation intensity of the touch control; or controlling the magnitude of the output current of the electrode or the magnitude of the applied voltage to enable the electrode to output a tactile feedback signal corresponding to the electric stimulation intensity of the touch control; or controlling the output frequency of the tactile feedback signal to enable the electrode to output the tactile feedback signal corresponding to the electric stimulation intensity of the touch control.
It should be noted that, for convenience and brevity of description, the specific working process of the haptic feedback device 500 described above may refer to the corresponding process of the method described in fig. 1 to fig. 4, and is not described herein again.
As shown in fig. 6, the present application provides a terminal for implementing the above-mentioned haptic feedback method, which may be a terminal such as a smart phone, a tablet computer, a Personal Computer (PC), a learning machine, etc., and which includes a touch panel provided with electrodes for outputting haptic feedback signals, a processor 61, a memory 62, an input device 63, and an output device 64 connected through a bus 65.
It should be understood that, in the embodiment of the present Application, the Processor 61 may be a Central Processing Unit (CPU), and the Processor may also be other general processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input device 63 may include a virtual keyboard, a touch pad, a fingerprint sensor (for collecting fingerprint information of a user and direction information of the fingerprint), a microphone, etc., and the output device 64 may include a display, a speaker, etc. The memory 62 may include a read-only memory and a random access memory, and provides instructions and data to the processor 61. Some or all of the memory 62 may also include non-volatile random access memory. For example, the memory 62 may also store device type information.
The memory 62 stores a computer program that is executable by the processor 61, and the computer program is, for example, a program of a haptic feedback method. The processor 61 implements the steps of the haptic feedback method embodiments, such as steps 101 to 103 shown in fig. 1, when executing the computer program. Alternatively, the processor 61 may implement the functions of the modules/units in the device embodiments, such as the functions of the units 501 to 503 shown in fig. 5, when executing the computer program.
The computer program may be divided into one or more modules/units, which are stored in the memory 62 and executed by the processor 61 to complete the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used for describing the execution process of the computer program in the terminal for performing haptic feedback. For example, the computer program may be divided into a listening unit, an obtaining unit and a matching unit, and each unit has the following specific functions: the acquiring unit is used for acquiring attribute information of the touch control displayed in the current display interface of the terminal; the determining unit is used for determining the corresponding electric stimulation intensity of the touch control according to the attribute information; and the output unit is used for controlling the electrode to output a tactile feedback signal corresponding to the electric stimulation intensity of the touch control when receiving the triggering operation of the touch control.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned functions may be distributed as different functional units and modules according to needs, that is, the internal structure of the apparatus may be divided into different functional units or modules to implement all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal are merely illustrative, and for example, the division of the above-described modules or units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units described above, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above may be implemented by a computer program, which may be stored in a computer readable storage medium and used by a processor to implement the steps of the embodiments of the methods described above. The computer program includes computer program code, and the computer program code may be in a source code form, an object code form, an executable file or some intermediate form. The computer readable medium may include: any entity or device capable of carrying the above-described computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier signal, telecommunications signal, software distribution medium, and the like. It should be noted that the computer readable medium described above may include content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media that does not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.
Claims (10)
1. A haptic feedback method applied to a terminal, a touch panel of which is provided with an electrode for outputting a haptic feedback signal, the haptic feedback method comprising:
acquiring attribute information of a touch control displayed in a current display interface of the terminal;
determining the corresponding electrical stimulation intensity of the touch control according to the attribute information;
and when the triggering operation of the touch control is received, controlling the electrode to output a tactile feedback signal corresponding to the electric stimulation intensity of the touch control.
2. A haptic feedback method as recited in claim 1, wherein said obtaining attribute information of a touch control displayed in a current display interface of said terminal comprises:
and acquiring attribute information of each touch control of the virtual keyboard displayed in the current display interface of the terminal.
3. A haptic feedback method as recited in claim 1 or 2, wherein said obtaining attribute information of a touch control displayed in a current display interface of said terminal comprises:
acquiring the area of a touch control displayed in a current display interface of the terminal;
correspondingly, the determining the electrical stimulation intensity corresponding to the touch control according to the attribute information includes:
and calculating the corresponding electric stimulation intensity of the touch control according to the area of the touch area.
4. A haptic feedback method as recited in claim 3 wherein said calculating an electrical stimulation intensity corresponding to a touch control based on said touch area comprises:
and multiplying the area of the touch area by a first preset multiple to obtain the corresponding electric stimulation intensity of the touch control.
5. A haptic feedback method as recited in claim 1 or 2, wherein said obtaining attribute information of a touch control displayed in a current display interface of said terminal comprises:
acquiring preset type information of a touch control displayed in a current display interface of the terminal;
correspondingly, the determining the electrical stimulation intensity corresponding to the touch control according to the attribute information includes:
and determining the corresponding electrical stimulation intensity of the touch control according to the type information.
6. A haptic feedback method as recited in claim 5 wherein said determining an electrical stimulation intensity corresponding to said touch control based on said type information comprises:
acquiring the area of a touch area of the touch control;
and determining the corresponding electrical stimulation intensity of the touch control according to the area of the touch area and the type information.
7. A haptic feedback method as recited in claim 1 wherein said controlling said electrode to output a haptic feedback signal corresponding to an electrical stimulation intensity of said touch control comprises:
controlling the opening density of the electrode to enable the electrode to output a tactile feedback signal corresponding to the electric stimulation intensity of the touch control; or,
controlling the magnitude of the output current or the magnitude of the applied voltage of the electrode to enable the electrode to output a tactile feedback signal corresponding to the electric stimulation intensity of the touch control; or,
and controlling the output frequency of the tactile feedback signal to enable the electrode to output the tactile feedback signal corresponding to the electric stimulation intensity of the touch control.
8. A haptic feedback device provided in a terminal whose touch panel is provided with an electrode for outputting a haptic feedback signal, comprising:
the acquiring unit is used for acquiring attribute information of the touch control displayed in the current display interface of the terminal;
the determining unit is used for determining the corresponding electric stimulation intensity of the touch control according to the attribute information;
and the output unit is used for controlling the electrode to output a tactile feedback signal corresponding to the electric stimulation intensity of the touch control when receiving the triggering operation of the touch control.
9. A terminal comprising a touch panel provided with electrodes for outputting a haptic feedback signal, a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811357763.6A CN109445600B (en) | 2018-11-14 | 2018-11-14 | Haptic feedback method, haptic feedback device, haptic feedback terminal, and computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811357763.6A CN109445600B (en) | 2018-11-14 | 2018-11-14 | Haptic feedback method, haptic feedback device, haptic feedback terminal, and computer-readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109445600A true CN109445600A (en) | 2019-03-08 |
CN109445600B CN109445600B (en) | 2022-05-17 |
Family
ID=65553515
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811357763.6A Active CN109445600B (en) | 2018-11-14 | 2018-11-14 | Haptic feedback method, haptic feedback device, haptic feedback terminal, and computer-readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109445600B (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110013665A (en) * | 2019-05-13 | 2019-07-16 | Oppo广东移动通信有限公司 | Game interaction feedback method, device, storage medium and electronic equipment |
CN110109549A (en) * | 2019-05-13 | 2019-08-09 | Oppo广东移动通信有限公司 | Processing method, device, storage medium and the electronic equipment of applicative notifications |
CN110134239A (en) * | 2019-05-13 | 2019-08-16 | Oppo广东移动通信有限公司 | Method for sending information, storage medium and electronic equipment |
CN110134238A (en) * | 2019-05-13 | 2019-08-16 | Oppo(重庆)智能科技有限公司 | Key feedback method, device, storage medium and electronic equipment |
CN110147176A (en) * | 2019-05-13 | 2019-08-20 | Oppo广东移动通信有限公司 | A kind of control method of touch screen, device, storage medium and electronic equipment |
CN110196636A (en) * | 2019-05-13 | 2019-09-03 | Oppo广东移动通信有限公司 | Reminding method, device, storage medium and electronic equipment |
CN110213436A (en) * | 2019-05-24 | 2019-09-06 | Oppo广东移动通信有限公司 | Method of calling, device, storage medium and electronic equipment |
CN110225200A (en) * | 2019-06-10 | 2019-09-10 | Oppo广东移动通信有限公司 | Based reminding method, device, storage medium and electronic equipment |
CN111399645A (en) * | 2020-03-13 | 2020-07-10 | Oppo广东移动通信有限公司 | Wearable device, tactile feedback method and device, and storage medium |
CN111506191A (en) * | 2020-04-13 | 2020-08-07 | 维沃移动通信有限公司 | Control method and electronic device |
CN111782036A (en) * | 2020-06-19 | 2020-10-16 | Oppo广东移动通信有限公司 | Input method, input device, electronic equipment and storage medium |
CN111949133A (en) * | 2020-08-27 | 2020-11-17 | 歌尔科技有限公司 | Haptic feedback method, related device and computer-readable storage medium |
CN112596612A (en) * | 2020-12-28 | 2021-04-02 | 北京小米移动软件有限公司 | Tactile feedback generation method, tactile feedback generation device, and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1439164A (en) * | 2000-05-22 | 2003-08-27 | 数字无线有限责任公司 | Input devices and their use |
CN103869940A (en) * | 2012-12-13 | 2014-06-18 | 富泰华工业(深圳)有限公司 | Touch feedback system, electronic device and touch feedback providing method thereof |
CN104685447A (en) * | 2012-09-28 | 2015-06-03 | Lg电子株式会社 | Display device and control method thereof |
CN105892919A (en) * | 2016-03-30 | 2016-08-24 | 中国联合网络通信集团有限公司 | Methods for recognizing key positions and feeding back input values on keyboard of touch screen |
US20180224939A1 (en) * | 2017-02-06 | 2018-08-09 | Denso Ten Limited | Control device, input system, and control method |
-
2018
- 2018-11-14 CN CN201811357763.6A patent/CN109445600B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1439164A (en) * | 2000-05-22 | 2003-08-27 | 数字无线有限责任公司 | Input devices and their use |
CN104685447A (en) * | 2012-09-28 | 2015-06-03 | Lg电子株式会社 | Display device and control method thereof |
CN103869940A (en) * | 2012-12-13 | 2014-06-18 | 富泰华工业(深圳)有限公司 | Touch feedback system, electronic device and touch feedback providing method thereof |
CN105892919A (en) * | 2016-03-30 | 2016-08-24 | 中国联合网络通信集团有限公司 | Methods for recognizing key positions and feeding back input values on keyboard of touch screen |
US20180224939A1 (en) * | 2017-02-06 | 2018-08-09 | Denso Ten Limited | Control device, input system, and control method |
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110109549A (en) * | 2019-05-13 | 2019-08-09 | Oppo广东移动通信有限公司 | Processing method, device, storage medium and the electronic equipment of applicative notifications |
CN110134239A (en) * | 2019-05-13 | 2019-08-16 | Oppo广东移动通信有限公司 | Method for sending information, storage medium and electronic equipment |
CN110134238A (en) * | 2019-05-13 | 2019-08-16 | Oppo(重庆)智能科技有限公司 | Key feedback method, device, storage medium and electronic equipment |
CN110147176A (en) * | 2019-05-13 | 2019-08-20 | Oppo广东移动通信有限公司 | A kind of control method of touch screen, device, storage medium and electronic equipment |
CN110196636A (en) * | 2019-05-13 | 2019-09-03 | Oppo广东移动通信有限公司 | Reminding method, device, storage medium and electronic equipment |
CN110013665A (en) * | 2019-05-13 | 2019-07-16 | Oppo广东移动通信有限公司 | Game interaction feedback method, device, storage medium and electronic equipment |
CN110213436B (en) * | 2019-05-24 | 2020-10-09 | Oppo广东移动通信有限公司 | Calling method, calling device, storage medium and electronic equipment |
CN110213436A (en) * | 2019-05-24 | 2019-09-06 | Oppo广东移动通信有限公司 | Method of calling, device, storage medium and electronic equipment |
CN110225200A (en) * | 2019-06-10 | 2019-09-10 | Oppo广东移动通信有限公司 | Based reminding method, device, storage medium and electronic equipment |
CN111399645A (en) * | 2020-03-13 | 2020-07-10 | Oppo广东移动通信有限公司 | Wearable device, tactile feedback method and device, and storage medium |
CN111506191A (en) * | 2020-04-13 | 2020-08-07 | 维沃移动通信有限公司 | Control method and electronic device |
WO2021208769A1 (en) * | 2020-04-13 | 2021-10-21 | 维沃移动通信有限公司 | Control method and electronic device |
US11928260B2 (en) | 2020-04-13 | 2024-03-12 | Vivo Mobile Communication Co., Ltd. | Control method and electronic device having touch positions with different pressure value |
CN111506191B (en) * | 2020-04-13 | 2024-04-26 | 维沃移动通信有限公司 | Control method and electronic equipment |
CN111782036A (en) * | 2020-06-19 | 2020-10-16 | Oppo广东移动通信有限公司 | Input method, input device, electronic equipment and storage medium |
CN111949133A (en) * | 2020-08-27 | 2020-11-17 | 歌尔科技有限公司 | Haptic feedback method, related device and computer-readable storage medium |
CN111949133B (en) * | 2020-08-27 | 2022-06-21 | 歌尔科技有限公司 | Haptic feedback method, related device and computer-readable storage medium |
US12013983B2 (en) | 2020-08-27 | 2024-06-18 | Goertek Inc. | Haptic feedback method, related device and computer readable storage medium |
CN112596612A (en) * | 2020-12-28 | 2021-04-02 | 北京小米移动软件有限公司 | Tactile feedback generation method, tactile feedback generation device, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109445600B (en) | 2022-05-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109445600B (en) | Haptic feedback method, haptic feedback device, haptic feedback terminal, and computer-readable storage medium | |
CN107066158B (en) | Touch-sensitive button with two gears | |
JP5469746B2 (en) | Touch detection device ground detection | |
US9557816B2 (en) | Input device | |
CN106227520B (en) | Application interface switching method and device | |
CN102119376B (en) | Multidimensional navigation for touch-sensitive display | |
CN106951174B (en) | A kind of method of adjustment and mobile terminal of dummy keyboard | |
US10579171B2 (en) | Evolutionary touch-based graphical user interface for electronic devices | |
CN103677464A (en) | Information terminal device and touch coordinate determination method | |
CN106959814A (en) | A kind of display methods of dummy keyboard, device and terminal | |
EP2869174A1 (en) | Method and device for text input and display of intelligent terminal | |
US20190310718A1 (en) | Method for detecting events on a touch screen using mechanical input | |
US20080309519A1 (en) | Device having precision input capability | |
CN109491502B (en) | Haptic rendering method, terminal device and computer-readable storage medium | |
CN103076980B (en) | Search terms display packing and device | |
CN106445369A (en) | Input method and device | |
US9075438B2 (en) | Systems and related methods involving stylus tactile feel | |
CN105867684A (en) | Object controlling method and device | |
US9612100B2 (en) | Touch emulator | |
WO2020010917A1 (en) | Split-screen display opening method and device, storage medium and electronic equipment | |
CN105892801A (en) | Desktop icon processing method and terminal | |
US9524051B2 (en) | Method and terminal for inputting multiple events | |
CN105892926A (en) | Method and device for realizing user terminal key and user terminal | |
CN107193399A (en) | The processing method and terminal of a kind of man-machine interaction | |
US9274703B2 (en) | Method for inputting instruction and portable electronic device and computer readable recording medium |
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 |