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
- electrical stimulation
- stimulation intensity
- tactile 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 53
- 230000000638 stimulation Effects 0.000 claims description 126
- 238000004590 computer program Methods 0.000 claims description 24
- 238000004891 communication Methods 0.000 abstract description 4
- 238000005516 engineering process Methods 0.000 abstract description 3
- 230000006870 function Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 9
- 230000008569 process Effects 0.000 description 8
- 238000012545 processing Methods 0.000 description 4
- 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
- 238000003825 pressing Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000035807 sensation Effects 0.000 description 2
- 230000036982 action potential Effects 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 230000003247 decreasing effect Effects 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
- 238000012544 monitoring process Methods 0.000 description 1
- 210000004126 nerve fiber Anatomy 0.000 description 1
- 230000001953 sensory effect Effects 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
Description
技术领域technical field
本申请属于通信技术领域,尤其涉及一种触觉反馈方法、装置、终端及计算机可读存储介质。The present application belongs to the field of communication technologies, and in particular, relates to a haptic feedback method, device, terminal, and computer-readable storage medium.
背景技术Background technique
触控面板通常包括:感应器(Sensor)和控制器(Controller)。感应器用于接收经触摸或按压触控面板输入的输入信号;控制器用于分析、计算触摸点或按压点的位置坐标,并输出相应的控制信号以控制终端执行相应的操作。触控面板依感应技术不同可区分为电阻式、电容式、光学式、音波式四种触控面板,用户只需触摸或按压触控面板上显示的图形按键或图形控件即可触发相应的操作。The touch panel usually includes: a sensor (Sensor) and a controller (Controller). The sensor is used to receive the input signal inputted by touching or pressing the touch panel; the controller is used to analyze and calculate the position coordinates of the touch point or pressing point, and output the corresponding control signal to control the terminal to perform the corresponding operation. The touch panel can be divided into four types of touch panels: resistive, capacitive, optical, and sonic according to different sensing technologies. Users only need to touch or press the graphic buttons or graphic controls displayed on the touch panel to trigger corresponding operations. .
然而,用户在触控面板上进行输入操作时,通常无法得到类似按压实体按键时的触感反馈。However, when a user performs an input operation on the touch panel, the tactile feedback similar to that of pressing a physical button cannot usually be obtained.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种触觉反馈方法、装置、终端及计算机可读存储介质,可以使得终端在接收到对触摸控件的触发操作时,能够根据触摸控件的属性信息输出相应电刺激强度的触觉反馈信号。The embodiments of the present application provide a haptic feedback method, device, terminal, and computer-readable storage medium, which can enable the terminal to output haptic feedback of corresponding electrical stimulation intensity according to attribute information of the touch control when receiving a trigger operation on the touch control Signal.
本申请实施例第一方面提供一种触觉反馈方法,应用于终端,所述终端的触控面板设置有用于输出触觉反馈信号的电极,所述触觉反馈方法包括:A first aspect of the embodiments of the present application provides a tactile feedback method, which is applied to a terminal, where a touch panel of the terminal is provided with electrodes for outputting tactile feedback signals, and the tactile feedback method includes:
获取所述终端当前显示界面中显示的触摸控件的属性信息;acquiring attribute information of the touch control displayed in the current display interface of the terminal;
根据所述属性信息确定所述触摸控件对应的电刺激强度;Determine the electrical stimulation intensity corresponding to the touch control according to the attribute information;
在接收到对所述触摸控件的触发操作时,控制所述电极输出与所述触摸控件的电刺激强度对应的触觉反馈信号。When receiving a triggering operation on the touch control, the electrodes are controlled to output a tactile feedback signal corresponding to the electrical stimulation intensity of the touch control.
本申请实施例第二方面提供一种触觉反馈装置,配置于终端,所述终端的触控面板设置有用于输出触觉反馈信号的电极,所述触觉反馈装置包括:A second aspect of an embodiment of the present application provides a tactile feedback device, which is configured on a terminal, where a touch panel of the terminal is provided with electrodes for outputting tactile feedback signals, and the tactile feedback device includes:
获取单元,用于获取所述终端当前显示界面中显示的触摸控件的属性信息;an acquiring unit, configured to acquire attribute information of the touch controls displayed in the current display interface of the terminal;
确定单元,用于根据所述属性信息确定所述触摸控件对应的电刺激强度;a determining unit, configured to determine the electrical stimulation intensity corresponding to the touch control according to the attribute information;
输出单元,用于在接收到对触摸控件的触发操作时,控制所述电极输出与所述触摸控件的电刺激强度对应的触觉反馈信号。The output unit is configured to control the electrodes to output a tactile feedback signal corresponding to the electrical stimulation intensity of the touch control when receiving a triggering operation on the touch control.
本申请实施例第三方面提供一种终端,包括设置有用于输出触觉反馈信号的电极的触控面板、存储器、处理器以及存储在存储器中并可在处理器上运行的计算机程序,处理器执行计算机程序时实现上述方法的步骤。A third aspect of the embodiments of the present application provides a terminal, including a touch panel provided with electrodes for outputting haptic feedback signals, a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor executes A computer program implements the steps of the above method.
本申请实施例第四方面提供一种计算机可读存储介质,计算机可读存储介质存储有计算机程序,计算机程序被处理器执行时实现上述方法的步骤。A fourth aspect of the embodiments of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the foregoing method are implemented.
本申请实施例中,通过在终端的触控面板上设置用于输出触觉反馈信号的电极,并获取所述终端当前显示界面中显示的触摸控件的属性信息,接着再根据所述属性信息确定所述触摸控件对应的电刺激强度,使得终端在接收到对触摸控件的触发操作时,能够控制与该触摸控件对应的电极输出与该触摸控件的电刺激强度对应的触觉反馈信号,实现用户触发不同的触摸控件时能够得到不同的触觉反馈。同时,使得用户在没有注视触控面板的时候,也可以根据触摸控件对应的触觉反馈实现准确地输入操作,实现类似“盲打”的效果,提高了用户的输入效率。In the embodiment of the present application, electrodes for outputting tactile feedback signals are set on the touch panel of the terminal, and attribute information of the touch controls displayed in the current display interface of the terminal is obtained, and then the attribute information is determined according to the attribute information. The electrical stimulation intensity corresponding to the touch control, so that when the terminal receives the triggering operation on the touch control, it can control the electrode corresponding to the touch control to output a tactile feedback signal corresponding to the electrical stimulation intensity of the touch control, so that the user can trigger different can get different haptic feedback when touching the controls. At the same time, when the user is not looking at the touch panel, the user can also realize accurate input operation according to the tactile feedback corresponding to the touch control, so as to achieve an effect similar to "touch typing", and improve the user's input efficiency.
附图说明Description of drawings
为了更清楚地说明本申请实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本申请的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to illustrate the technical solutions of the embodiments of the present application more clearly, the following drawings will briefly introduce the drawings that need to be used in the embodiments. It should be understood that the following drawings only show some embodiments of the present application, and therefore do not It should be regarded as a limitation of the scope, and for those of ordinary skill in the art, other related drawings can also be obtained according to these drawings without any creative effort.
图1是本申请实施例提供的一种触觉反馈方法的第一实现流程示意图;1 is a schematic diagram of a first implementation flow of a haptic feedback method provided by an embodiment of the present application;
图2是本申请实施例提供的一种触觉反馈方法的第二实现流程示意图;2 is a schematic flowchart of a second implementation of a haptic feedback method provided by an embodiment of the present application;
图3是本申请实施例提供的一种触觉反馈方法的第三实现流程示意图;3 is a schematic flowchart of a third implementation of a haptic feedback method provided by an embodiment of the present application;
图4是本申请实施例提供的一种触觉反馈方法的第四实现流程示意图;4 is a schematic diagram of a fourth implementation flow of a haptic feedback method provided by an embodiment of the present application;
图5是本申请实施例提供的触觉反馈装置的结构示意图;5 is a schematic structural diagram of a haptic feedback device provided by an embodiment of the present application;
图6是本申请实施例提供的终端的结构示意图。FIG. 6 is a schematic structural diagram of a terminal provided by an embodiment of the present application.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。同时,在本申请的描述中,术语“第一”、“第二”等仅用于区分描述,而不能理解为指示或暗示相对重要性。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application. Meanwhile, in the description of the present application, the terms "first", "second", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.
应当理解,当在本说明书和所附权利要求书中使用时,术语“包括”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。It is to be understood that, when used in this specification and the appended claims, the term "comprising" indicates the presence of the described feature, integer, step, operation, element and/or component, but does not exclude one or more other features , whole, step, operation, element, component and/or the presence or addition of a collection thereof.
还应当理解,在此本申请说明书中所使用的术语仅仅是出于描述特定实施例的目的而并不意在限制本申请。如在本申请说明书和所附权利要求书中所使用的那样,除非上下文清楚地指明其它情况,否则单数形式的“一”、“一个”及“该”意在包括复数形式。It should also be understood that the terminology used in the specification of the application herein is for the purpose of describing particular embodiments only and is not intended to limit the application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural unless the context clearly dictates otherwise.
还应当进一步理解,在本申请说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It should also be further understood that, as used in this specification and the appended claims, the term "and/or" refers to and including 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 contextually interpreted as "when" or "once" or "in response to determining" or "in response to detecting" . Similarly, the phrases "if it is determined" or "if the [described condition or event] is detected" may be interpreted, depending on the context, to mean "once it is determined" or "in response to the determination" or "once the [described condition or event] is detected. ]" or "in response to detection of the [described condition or event]".
本申请实施例中,通过在终端的触控面板上设置用于输出触觉反馈信号的电极,并获取终端当前显示界面中显示的触摸控件的属性信息,以便根据该属性信息确定上述触摸控件对应的电刺激强度,使得终端在接收到对该触摸控件的触发操作时,能够控制该电极输出与上述触摸控件的电刺激强度对应的触觉反馈信号,实现用户触发不同的触摸控件时能够得到不同的触觉反馈。In the embodiment of the present application, electrodes for outputting tactile feedback signals are arranged on the touch panel of the terminal, and attribute information of the touch controls displayed in the current display interface of the terminal is acquired, so as to determine the corresponding touch controls according to the attribute information. The electrical stimulation intensity, so that when the terminal receives the triggering operation of the touch control, it can control the electrode to output a tactile feedback signal corresponding to the electrical stimulation intensity of the touch control, so that the user can obtain different tactile sensations when triggering different touch controls. feedback.
为了说明本申请上述的技术方案,下面通过具体实施例来进行说明。In order to illustrate the above-mentioned technical solutions of the present application, the following specific embodiments are used for description.
如图1示出了本申请实施例提供的一种触觉反馈方法实现流程示意图,该触觉反馈方法应用于终端,可以由终端上配置的触觉反馈装置执行,包括步骤101至步骤103。FIG. 1 shows a schematic diagram of an implementation flow of a haptic feedback method provided by an embodiment of the present application. The haptic feedback method is applied to a terminal and may be executed by a haptic feedback device configured on the terminal, including steps 101 to 103 .
步骤101,获取终端当前显示界面中显示的触摸控件的属性信息。Step 101: Obtain attribute information of a touch control displayed in a current display interface of the terminal.
其中,上述终端包括智能手机、平板电脑、学习机、点歌器和游戏机等配置有触控面板的终端设备。The above-mentioned terminals include terminal devices equipped with touch panels, such as smart phones, tablet computers, learning machines, song clickers, and game consoles.
对于手机等终端设备来说,一般需要运行多种多样的应用程序,不同应用程序的显示界面设有不同的触摸控件,并且每个触摸控件都可以用来实现不同的功能。同时,同一应用程序也具有用于实现不同功能的显示界面,因此,本申请实施例中,为了实现终端在接收到对不同触摸控件的触发操作时,能够控制电极输出不同的触觉反馈信号,终端需要先获取终端当前显示界面中显示的触摸控件的属性信息,再根据该属性信息得到终端当前显示界面中显示的触摸控件对应的电刺激强度,从而在接收到对所述触摸控件的触发操作时,能够控制电极输出与上述触摸控件的电刺激强度对应的触觉反馈信号。For terminal devices such as mobile phones, it is generally necessary to run a variety of application programs. The display interfaces of different application programs are provided with different touch controls, and each touch control can be used to implement different functions. At the same time, the same application also has a display interface for implementing different functions. Therefore, in this embodiment of the present application, in order to realize that the terminal can control the electrodes to output different haptic feedback signals when receiving trigger operations on different touch controls, the terminal It is necessary to first obtain the attribute information of the touch control displayed in the current display interface of the terminal, and then obtain the electrical stimulation intensity corresponding to the touch control displayed in the current display interface of the terminal according to the attribute information, so that when receiving a trigger operation on the touch control , the electrodes can be controlled to output a tactile feedback signal corresponding to the electrical stimulation intensity of the touch control.
在本申请实施例中,上述终端的触控面板设置有用于输出触觉反馈信号的电极。In the embodiment of the present application, the touch panel of the terminal is provided with electrodes for outputting tactile feedback signals.
例如,在该触摸面板的基板表面敷设有行列分布的电极,并对该电极施加刺激电压,当用户触摸或按压到该电极时,该电极产生刺激电流,引发用户神经纤维动作电位,并传导到用户大脑的感觉神经中枢,使用户产生被接触的意识,从而实现触觉再现。For example, electrodes distributed in rows and columns are laid on the substrate surface of the touch panel, and a stimulation voltage is applied to the electrodes. When the user touches or presses the electrodes, the electrodes generate stimulation currents, which trigger the action potentials of the user's nerve fibers and conduct them to The sensory nerve center of the user's brain makes the user feel contacted, thereby realizing tactile reproduction.
需要说明的是,在本申请实施例中,上述电极预先设置有基准刺激电压,并且,每个电极的基准刺激电压均相同,即,每个电极的基准电刺激强度均相同。其中,该基准刺激电压可以为3V、5V或10V。It should be noted that, in the embodiment of the present application, the electrodes are preset with reference stimulation voltages, and the reference stimulation voltages of each electrode are the same, that is, the reference electrical stimulation strengths of each electrode are 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 area of the touch control and type information preset for the touch control.
步骤102,根据上述属性信息确定上述触摸控件对应的电刺激强度。Step 102: Determine the electrical stimulation intensity corresponding to the touch control according to the attribute information.
本申请实施例中,根据所述属性信息确定所述触摸控件对应的电刺激强度可以是指根据所述属性信息确定触摸控件对应的电刺激强度倍数,再根据该电刺激强度倍数确定所述触摸控件对应的电刺激强度。In the embodiment of the present application, determining the electrical stimulation intensity corresponding to the touch control according to the attribute information may refer to determining the electrical stimulation intensity multiple corresponding to the touch control according to the attribute information, and then determining the touch control according to the electrical stimulation intensity multiple. The electrical stimulation intensity corresponding to the controls.
例如,上述触摸控件的属性信息对应的电刺激强度倍数为1.2,则该触摸控件对应的电刺激强度为1.2倍的基准电刺激强度。For example, if the electrical stimulation intensity multiplier corresponding to the attribute information of the touch control is 1.2, the electrical stimulation intensity corresponding to the touch control is 1.2 times the reference electrical stimulation intensity.
步骤103,在接收到对上述触摸控件的触发操作时,控制电极输出与该触摸控件的电刺激强度对应的触觉反馈信号。Step 103: When receiving the triggering operation on the touch control, the control electrodes output a haptic feedback signal corresponding to the electrical stimulation intensity of the touch control.
终端在获取了显示界面上显示的触摸控件的对应的电刺激强度后,在接收到对显示界面上显示的一个或多个触摸控件的触发操作时,即可控制该触摸控件对应的电极输出与该触摸控件的电刺激强度对应的触觉反馈信号。After acquiring the corresponding electrical stimulation intensity of the touch control displayed on the display interface, the terminal can control the electrode output corresponding to the touch control to match the triggering operation of one or more touch controls displayed on the display interface. The tactile feedback signal corresponding to the electrical stimulation intensity of the touch control.
该触觉反馈信号可以是指由电极产生的刺激电流。The haptic feedback signal may refer to the stimulation current produced by the electrodes.
本申请实施例中,通过在终端的触控面板上设置用于输出触觉反馈信号的电极,并获取所述终端当前显示界面中显示的触摸控件的属性信息,接着再根据所述属性信息确定所述触摸控件对应的电刺激强度,使得终端在接收到对触摸控件的触发操作时,能够控制与该触摸控件对应的电极输出与该触摸控件的电刺激强度对应的触觉反馈信号,实现用户触发不同的触摸控件时能够得到不同的触觉反馈。同时,使得用户在没有注视触控面板的时候,也可以根据触摸控件对应的触觉反馈实现准确地输入操作。In the embodiment of the present application, electrodes for outputting tactile feedback signals are set on the touch panel of the terminal, and attribute information of the touch controls displayed in the current display interface of the terminal is obtained, and then the attribute information is determined according to the attribute information. The electrical stimulation intensity corresponding to the touch control, so that when the terminal receives the triggering operation on the touch control, it can control the electrode corresponding to the touch control to output a tactile feedback signal corresponding to the electrical stimulation intensity of the touch control, so that the user can trigger different can get different haptic feedback when touching the controls. At the same time, when the user is not looking at the touch panel, the user can also realize accurate input operation according to the tactile feedback corresponding to the touch control.
需要说明的是,上述步骤101中,获取终端当前显示界面中显示的触摸控件的属性信息可以包括:获取终端当前显示界面中显示的部分触摸控件的属性信息,或者,获取终端当前显示界面中显示的全部触摸控件的属性信息。It should be noted that, in the above step 101, acquiring the attribute information of the touch controls displayed in the current display interface of the terminal may include: acquiring the property information of some touch controls displayed in the current display interface of the terminal, or acquiring the information displayed in the current display interface of the terminal property information for all touch controls.
例如,在本申请的一些实施方式中,上述获取终端当前显示界面中显示的触摸控件的属性信息,可以包括:获取终端当前显示界面中显示的虚拟键盘的各个触摸控件的属性信息。For example, in some embodiments of the present application, obtaining the attribute information of touch controls displayed in the current display interface of the terminal may include: obtaining attribute information of each touch control of the virtual keyboard displayed in the current display interface of the terminal.
也就是说,上述终端可以只针对虚拟键盘中各个触摸控件被触发时,输出对应的触觉反馈信号,实现模拟利用实体键盘输入时的触觉。That is to say, the above-mentioned terminal may output the corresponding tactile feedback signal only when each touch control in the virtual keyboard is triggered, so as to simulate the tactile sensation when input using the physical keyboard.
在本申请的一些实施方式中,上述步骤103中,控制上述电极输出与触摸控件的电刺激强度对应的触觉反馈信号可以包括:控制上述电极的开启密度使上述电极输出与上述触摸控件的电刺激强度对应的触觉反馈信号。In some embodiments of the present application, in the above step 103, controlling the electrodes to output a tactile feedback signal corresponding to the electrical stimulation intensity of the touch control may include: controlling the opening density of the electrodes so that the electrodes output the electrical stimulation corresponding to the touch control. The intensity corresponds to the haptic feedback signal.
实际应用中,触控面板中预先敷设的电极密度是固定的,也就是说,触控面板中每平方厘米的触控区域设有的电极数量是固定的。但是,电极的开启密度是可以控制的。In practical applications, the pre-laid electrode density in the touch panel is fixed, that is, the number of electrodes provided per square centimeter of the touch area in the touch panel is fixed. However, the turn-on density of the electrodes can be controlled.
例如,触控面板中电极的敷设密度为A个每平方厘米,则可以设置基准电刺激强度对应的电极开启密度为B个每平方厘米,其中,A、B为大于0的整数,且,A大于B。这样设置之后,即可通过控制上述电极的开启密度使上述电极输出与上述触摸控件的电刺激强度对应的触觉反馈信号。并且电极开启密度越大,表示电刺激强度越大,反之,则表示电刺激强度越小。For example, if the laying density of electrodes in the touch panel is A per square centimeter, the electrode opening density corresponding to the reference electrical stimulation intensity can be set to be B per square centimeter, where A and B are integers greater than 0, and A greater than B. After setting in this way, the above-mentioned electrodes can output a tactile feedback signal corresponding to the electrical stimulation intensity of the above-mentioned touch controls by controlling the opening density of the above-mentioned electrodes. And the greater the electrode opening density, the greater the electrical stimulation intensity, and vice versa, the smaller the electrical stimulation intensity.
在本申请的一些实施方式中,上述控制上述电极输出与触摸控件的电刺激强度对应的触觉反馈信号还可以包括:通过控制上述电极的输出电流的大小或施加电压的大小使上述电极输出与所述触摸控件的电刺激强度对应的触觉反馈信号。In some embodiments of the present application, the above-mentioned controlling the above-mentioned electrodes to output a tactile feedback signal corresponding to the electrical stimulation intensity of the touch control may further include: by controlling the magnitude of the output current of the above-mentioned electrodes or the magnitude of the applied voltage, the above-mentioned electrodes output and all The tactile feedback signal corresponding to the electrical stimulation intensity of the touch control.
例如,不同电刺激强度对应不同大小的输出电流或不同大小的施加电压。For example, different electrical stimulation intensities correspond to different magnitudes of output currents or different magnitudes of applied voltages.
在本申请的一些实施方式中,上述控制上述电极输出与所述触摸控件的电刺激强度对应的触觉反馈信号还可以包括:通过控制所述触觉反馈信号的输出频率使所述电极输出与所述触摸控件的电刺激强度对应的触觉反馈信号。In some embodiments of the present application, the controlling the electrode to output a tactile feedback signal corresponding to the electrical stimulation intensity of the touch control may further include: controlling the output frequency of the tactile feedback signal to make the electrode output the same as the tactile feedback signal. The haptic feedback signal corresponding to the electrical stimulation intensity of the touch control.
本申请实施例中,触觉反馈信号的输出频率是指单位时间内输出触觉反馈信号的次数,当触觉反馈信号的输出频率较高时,表示电刺激强度较大,反之,则表示电刺激强度较小。In the embodiment of the present application, the output frequency of the tactile feedback signal refers to the number of times the tactile feedback signal is output in a unit time. When the output frequency of the tactile feedback signal is high, it means that the electrical stimulation intensity is high; otherwise, it means that the electrical stimulation intensity is relatively high. Small.
需要说明的是,在实际应用中,上述使电极输出与触摸控件的电刺激强度对应的触觉反馈信号的三种方式可以叠加使用,例如,可以同时通过控制电极的开启密度以及通过控制电极的输出电流的大小或施加电压的大小使电极输出与触摸控件的电刺激强度对应的触觉反馈信号。It should be noted that, in practical applications, the above three methods of making the electrodes output tactile feedback signals corresponding to the electrical stimulation intensity of the touch controls can be superimposed. The magnitude of the current or the magnitude of the applied voltage causes the electrodes to output a haptic feedback signal corresponding to the electrical stimulation intensity of the touch control.
如图2示出了本申请实施例提供的另一种触觉反馈方法的实现流程示意图,该触觉反馈方法包括步骤201至步骤203。FIG. 2 shows a schematic diagram of an implementation flow of another haptic feedback method provided by an embodiment of the present application, and the haptic feedback method includes steps 201 to 203 .
步骤201,获取终端当前显示界面中显示的触摸控件的触摸区域面积。Step 201: Obtain the touch area area of the touch control displayed in the current display interface of the terminal.
本申请实施例中,触摸控件的触摸区域面积是指触摸控件在触控面板的显示区域中的有效触控面积。In the embodiment of the present application, the touch area area of the touch control refers to the effective touch area of the touch control in the display area of the touch panel.
步骤202,根据上述触摸区域面积计算上述触摸控件对应的电刺激强度。Step 202: Calculate the electrical stimulation intensity corresponding to the touch control according to the area of the touch area.
在本申请实施例中,根据上述触摸区域面积计算上述触摸控件对应的电刺激强度可以是指根据上述触摸区域面积确定触摸控件对应的电刺激强度倍数,根据该电刺激强度倍数确定该触摸控件对应的电刺激强度。In the embodiment of the present application, calculating the electrical stimulation intensity corresponding to the touch control according to the touch area area may refer to determining the electrical stimulation intensity multiple corresponding to the touch control according to the touch area area, and determining the touch control corresponding to the touch control according to the electrical stimulation intensity multiple. intensity of electrical stimulation.
例如,在获取了上述触摸控件的触摸区域面积之后,通过查找触摸区域面积与电刺激强度倍数之间的对应关系,得到该触摸区域面积对应的电刺激强度倍数之后,即可根据该电刺激强度倍数确定该触摸控件对应的电刺激强度。For example, after obtaining the touch area area of the above-mentioned touch control, by looking up the correspondence between the touch area area and the electrical stimulation intensity multiple, after obtaining the electrical stimulation intensity multiple corresponding to the touch area area, the electrical stimulation intensity can be calculated according to the electrical stimulation intensity. The multiple determines the electrical stimulation intensity corresponding to the touch control.
例如,上述触摸控件的触摸区域面积对应的电刺激强度倍数为1.2,则该触摸控件对应的电刺激强度为1.2倍的基准电刺激强度。For example, if the electrical stimulation intensity multiplier corresponding to the touch area area of the above touch control is 1.2, the electrical stimulation intensity corresponding to the touch control is 1.2 times the reference electrical stimulation intensity.
可选的,上述根据上述触摸区域面积计算上述触摸控件对应的电刺激强度还可以包括:将所述触摸区域面积乘以第一预设倍数得到所述触摸控件对应的电刺激强度。Optionally, calculating the electrical stimulation intensity corresponding to the touch control according to the touch area area may further include: multiplying the touch area area by a first preset multiple to obtain the electrical stimulation intensity corresponding to 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 area. That is, the electrical stimulation intensity corresponding to the touch control=(preset reference electrical stimulation intensity/preset touch area area)×the touch area area corresponding to the touch control.
步骤203,在接收到对上述触摸控件的触发操作时,控制电极输出与上述触摸控件的电刺激强度对应的触觉反馈信号。Step 203: When receiving the triggering operation on the touch control, the control electrodes output a tactile feedback signal corresponding to the electrical stimulation intensity of the touch control.
本申请实施例中,步骤203与上述步骤103相同或相应,此处不在赘述。In this embodiment of the present application, step 203 is the same as or corresponding to step 103 above, and details are not described here.
本申请实施例中,通过获取终端当前显示界面中显示的触摸控件的触摸区域面积,再根据该触摸区域面积计算触摸控件对应的电刺激强度,使得终端能够在接收到对上述触摸控件的触发操作时,控制电极输出与上述触摸控件的电刺激强度对应的触觉反馈信号,实现用户触发不同的触摸控件时能够得到不同的触觉反馈。In the embodiment of the present application, by acquiring the touch area area of the touch control displayed in the current display interface of the terminal, and then calculating the electrical stimulation intensity corresponding to the touch control according to the touch area area, the terminal can receive the triggering operation on the above touch control after receiving the touch control. When the control electrode outputs a haptic feedback signal corresponding to the electrical stimulation intensity of the touch control, the user can obtain different haptic feedback when triggering different touch controls.
如图3示出了本申请实施例提供的又一种触觉反馈方法的实现流程示意图,该触觉反馈方法包括步骤301至步骤303。FIG. 3 shows a schematic diagram of an implementation flow of another haptic feedback method provided by an embodiment of the present application. The haptic feedback method includes steps 301 to 303 .
步骤301,获取终端当前显示界面中显示的触摸控件预先设定的类型信息。Step 301: Acquire pre-set type information of the touch controls displayed in the current display interface of the terminal.
上述触摸控件预先设定的类型信息是指对触摸控件预先进行分类,得到的每个触摸控件的类型信息。The above-mentioned preset type information of the touch controls refers to the type information of each touch control obtained by classifying the touch controls in advance.
例如,对于终端当前显示界面中显示的虚拟键盘的各个触摸控件,可以预先将F键与J键设置为第一类型的触摸控件,将其他字母键为第二类型的触摸控件,并对不同类型的触摸控件设置不同的电刺激强度,从而使得用户可以在不注视触摸控件的情况下,根据触觉反馈信号进行准确的输入操作,实现类似“盲打”的输入效果,提高了用户的输入效率。For example, for each touch control of the virtual keyboard displayed in the current display interface of the terminal, the F key and the J key may be set as the first type of touch control in advance, and other letter keys may be set as the second type of touch control, and different types of touch controls may be set in advance. The touch controls are set with different electrical stimulation intensities, so that the user can perform accurate input operations according to the tactile feedback signal without looking at the touch controls, achieving an input effect similar to "touch typing", and improving the user's input efficiency.
其中,预先对终端当前显示界面中显示的虚拟键盘的各个触摸控件的类型进行设定时,还可以设置数字控件设置为第三类型的触摸控件,大小写字母切换键、ctrl键和shift键等功能触摸控件可以设置为第四类型的触摸控件。此处仅仅是举例说明,在本申请的其他实施方式中,也可以对其他应用界面中的各个触摸控件的类型进行预先设定。Wherein, when the type of each touch control of the virtual keyboard displayed in the current display interface of the terminal is set in advance, the digital control may also be set as the third type of touch control, the upper and lower case letter switching keys, the ctrl key and the shift key, etc. The functional touch controls can be set as the fourth type of touch controls. This is only an example, and in other embodiments of the present application, the types of touch controls in other application interfaces may also be preset.
步骤302,根据该类型信息确定触摸控件对应的电刺激强度。Step 302: Determine the electrical stimulation intensity corresponding to the touch control according to the type information.
例如,通过查找触摸控件的类型信息与电刺激强度倍数之间的对应关系,得到每个类型的触摸控件对应的电刺激强度倍数之后,即可根据该电刺激强度倍数确定该触摸控件对应的电刺激强度。For example, by looking up the correspondence between the type information of the touch control and the electrical stimulation intensity multiple, after obtaining the electrical stimulation intensity multiple corresponding to each type of touch control, the electrical stimulation intensity corresponding to the touch control can be determined according to the electrical stimulation intensity multiple. stimulus intensity.
又例如,上述第一类型的触摸控件对应的电刺激强度倍数为1.2,则该第一类型的触摸控件对应的电刺激强度为1.2倍的基准电刺激强度。For another example, if the electrical stimulation intensity multiple corresponding to the first type of touch controls is 1.2, the electrical stimulation intensity corresponding to the first type of touch controls is 1.2 times the reference electrical stimulation intensity.
可选的,本申请实施例中,还可以通过预先将不同类型的触摸控件设置不同的电刺激强度,得到触摸控件的类型信息与电刺激强度的对应关系,以便终端在获取了终端当前显示界面中显示的触摸控件预先设定的类型信息之后,可以根据该类型信息与电刺激强度的对应关系确定触摸控件对应的电刺激强度。Optionally, in this embodiment of the present application, different electrical stimulation intensities can also be set for different types of touch controls in advance, so as to obtain the corresponding relationship between the type information of the touch controls and the electrical stimulation intensity, so that the terminal obtains the current display interface of the terminal after obtaining the corresponding relationship. After the preset type information of the touch control displayed in the , the electric stimulation intensity corresponding to the touch control can be determined according to the corresponding relationship between the type information and the electric stimulation intensity.
步骤303,在接收到对上述触摸控件的触发操作时,控制电极输出与上述触摸控件的电刺激强度对应的触觉反馈信号。Step 303: When receiving the triggering operation on the touch control, the control electrodes output a haptic feedback signal corresponding to the electrical stimulation intensity of the touch control.
本申请实施例中,步骤303与上述步骤103以及步骤203相同或相应,此处不在赘述。In this embodiment of the present application, step 303 is the same as or corresponding to the foregoing step 103 and step 203, and details are not described here.
本申请实施例中,通过获取终端当前显示界面中显示的触摸控件预先设定的类型信息,再根据该类型信息确定触摸控件对应的电刺激强度,使得终端能够在接收到对上述触摸控件的触发操作时,控制电极输出与上述触摸控件的电刺激强度对应的触觉反馈信号,实现用户触发不同的触摸控件时能够得到不同的触觉反馈。In the embodiment of the present application, by acquiring the preset type information of the touch control displayed in the current display interface of the terminal, and then determining the electrical stimulation intensity corresponding to the touch control according to the type information, the terminal can receive the triggering of the touch control after receiving the touch control. During operation, the control electrodes output tactile feedback signals corresponding to the electrical stimulation intensity of the touch controls, so that different tactile feedbacks can be obtained when the user triggers different touch controls.
如图4示出了本申请实施例提供的又一种触觉反馈方法的实现流程示意图,该触觉反馈方法包括步骤401至步骤403。FIG. 4 shows a schematic diagram of an implementation flow of another haptic feedback method provided by an embodiment of the present application. The haptic feedback method includes steps 401 to 403 .
步骤401,获取终端当前显示界面中显示的触摸控件预先设定的类型信息和触摸控件的触摸区域面积。Step 401: Acquire pre-set type information of the touch control displayed in the current display interface of the terminal and the touch area area of the touch control.
步骤402,根据上述触摸区域面积和上述类型信息确定上述触摸控件对应的电刺激强度。Step 402: Determine the electrical stimulation intensity corresponding to the touch control according to the touch area area and the type information.
步骤403,在接收到对上述触摸控件的触发操作时,控制电极输出与上述触摸控件的电刺激强度对应的触觉反馈信号。Step 403: When receiving the triggering operation on the touch control, the control electrodes output a haptic feedback signal corresponding to the electrical stimulation intensity of the touch control.
本申请实施例中,该触觉反馈方法是上述图2和图3描述的触觉反馈方法的结合,适用于需要同时根据触摸控件的触摸区域面积和触摸控件的类型信息确定触摸控件对应的电刺激强度的情形。In the embodiment of the present application, the tactile feedback method is a combination of the tactile feedback methods described in FIG. 2 and FIG. 3 above, and is suitable for determining the electrical stimulation intensity corresponding to the touch control according to the touch area area of the touch control and the type information of the touch control at the same time. situation.
例如,对于一些大屏显示的手机终端或者电脑,根据不同的应用场景,例如,单手操作场景和双手操作场景这两种不同的场景下,终端显示的虚拟键盘的大小将不相同,其中各个触摸控件的触摸区域面积也有较大的差异,因此,需要先根据触摸控件的触摸区域面积确定触摸控件对应的电刺激强度,并在此基础上,再根据触摸控件预先设定的类型信息确定触摸控件对应的电刺激强度,即,通过结合触摸控件的触摸区域面积和触摸控件的类型信息确定触摸控件对应的电刺激强度。For example, for some large-screen mobile phone terminals or computers, according to different application scenarios, for example, one-handed operation scenario and two-handed operation scenario, the size of the virtual keyboard displayed by the terminal will be different. The touch area area of the touch control is also quite different. Therefore, it is necessary to first 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 touch control according to the preset type information of the touch control The electrical stimulation intensity corresponding to the control, that is, the electrical stimulation intensity corresponding to the touch control is determined by combining the touch area area of the touch control and the type information of the touch control.
例如,先根据触摸控件的触摸区域面积确定的触摸控件对应的电刺激强度为基准电刺激强度的1.2倍,再根据触摸控件预先设定的类型信息确定的触摸控件对应的电刺激强度也为基准电刺激强度的1.2倍,则该触摸控件对应的电刺激强度也为基准电刺激强度的1.2倍×1.2倍。For example, the electric stimulation intensity corresponding to the touch control determined according to the touch area area of the touch control is 1.2 times the reference electric stimulation intensity, and then the electric stimulation intensity corresponding to the touch control determined according to the type information preset by the touch control is also the reference. If the electrical stimulation intensity is 1.2 times, the electrical stimulation intensity corresponding to the touch control is also 1.2 times × 1.2 times the reference electrical stimulation intensity.
本申请实施例中,通过获取终端当前显示界面中显示的触摸控件预先设定的类型信息和所述触摸控件的触摸区域面积,再根据该触摸区域面积和类型信息确定该触摸控件对应的电刺激强度,使得终端能够在接收到对上述触摸控件的触发操作时,控制电极输出与上述触摸控件的电刺激强度对应的触觉反馈信号,以适应大屏显示终端对触摸控件的触觉反馈需求。In the embodiment of the present application, the preset type information of the touch control displayed in the current display interface of the terminal and the touch area area of the touch control are obtained, and then the electrical stimulation corresponding to the touch control is determined according to the touch area area and type information. When the terminal receives a triggering operation on the touch control, the control electrode outputs a tactile feedback signal corresponding to the electrical stimulation intensity of the touch control, so as to meet the haptic feedback requirements of the large-screen display terminal for the touch control.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that the size of the sequence numbers of the steps in the above embodiments does not mean the sequence of execution, and the execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
例如,步骤101至步骤102可以在步骤103中接收到对所述触摸控件的触发操作之后执行,即,在接收到对触摸控件的触发操作时,获取所述终端当前显示界面中显示的触摸控件的属性信息;根据所述属性信息确定所述触摸控件对应的电刺激强度;接着,控制所述电极输出与所述触摸控件的电刺激强度对应的触觉反馈信号。For example, steps 101 to 102 may be performed after receiving the triggering operation on the touch control in step 103, that is, when receiving the triggering operation on the touch control, obtain the touch control displayed in the current display interface of the terminal attribute information; determine the electrical stimulation intensity corresponding to the touch control according to the attribute information; and then control the electrodes to output a tactile feedback signal corresponding to the electrical stimulation intensity of the touch control.
图5示出了本申请实施例提供的一种触觉反馈装置500的结构示意图,包括获取单元501、确定单元502和输出单元503。FIG. 5 shows a schematic structural diagram of a haptic feedback device 500 provided by an embodiment of the present application, including an acquisition unit 501 , a determination unit 502 , and an output unit 503 .
获取单元501,用于获取所述终端当前显示界面中显示的触摸控件的属性信息;an obtaining unit 501, configured to obtain attribute information of a touch control displayed in the current display interface of the terminal;
确定单元502,用于根据所述属性信息确定所述触摸控件对应的电刺激强度;a determining unit 502, configured to determine the electrical stimulation intensity corresponding to the touch control according to the attribute information;
输出单元503,用于在接收到对触摸控件的触发操作时,控制所述电极输出与所述触摸控件的电刺激强度对应的触觉反馈信号。The output unit 503 is configured to control the electrodes 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.
在本申请的一些实施方式中,上述获取单元501可以具体用于,获取所述终端当前显示界面中显示的虚拟键盘的各个触摸控件的属性信息。In some embodiments of the present application, the obtaining unit 501 may be specifically configured to obtain attribute information of each touch control of the virtual keyboard displayed in the current display interface of the terminal.
在本申请的一些实施方式中,上述获取单元501还可以具体用于,获取所述终端当前显示界面中显示的触摸控件的触摸区域面积;相应的,上述确定单元还具体用于根据所述触摸区域面积计算所述触摸控件对应的电刺激强度。In some embodiments of the present application, the above-mentioned obtaining unit 501 may also be specifically configured to obtain the touch area area of the touch control displayed in the current display interface of the terminal; The area area calculates the electrical stimulation intensity corresponding to the touch control.
在本申请的一些实施方式中,上述确定单元502还可以具体用于,将所述触摸区域面积乘以第一预设倍数得到所述触摸控件对应的电刺激强度In some embodiments of the present application, the above determining unit 502 may also be specifically configured to multiply the area of the touch area by a first preset multiple to obtain the electrical stimulation intensity corresponding to the touch control
在本申请的一些实施方式中,上述获取单元501还可以具体用于,获取所述终端当前显示界面中显示的触摸控件预先设定的类型信息;相应的,上述确定单元还具体用于根据所述类型信息确定所述触摸控件对应的电刺激强度。In some embodiments of the present application, the above-mentioned obtaining unit 501 may also be specifically configured to obtain the preset type information of the touch controls displayed in the current display interface of the terminal; correspondingly, the above-mentioned determining unit is also specifically used to The type information determines the electrical stimulation intensity corresponding to the touch control.
在本申请的一些实施方式中,上述获取单元501还可以具体用于,获取所述触摸控件的触摸区域面积和所述触摸控件的类型信息;相应的,上述确定单元还具体用于根据所述触摸区域面积和所述类型信息确定所述触摸控件对应的电刺激强度。In some embodiments of the present application, the above-mentioned obtaining unit 501 may also be specifically configured to obtain the touch area area of the touch control and the type information of the touch control; The touch area area and the type information determine the electrical stimulation intensity corresponding to the touch control.
在本申请的一些实施方式中,上述输出单元503还可以具体用于,控制所述电极的开启密度使所述电极输出与所述触摸控件的电刺激强度对应的触觉反馈信号;或者,控制所述电极的输出电流的大小或施加电压的大小使所述电极输出与所述触摸控件的电刺激强度对应的触觉反馈信号;或者,控制所述触觉反馈信号的输出频率使所述电极输出与所述触摸控件的电刺激强度对应的触觉反馈信号。In some embodiments of the present application, the above-mentioned output unit 503 may also be specifically used to control the turn-on density of the electrodes so that the electrodes output a haptic feedback signal corresponding to the electrical stimulation intensity of the touch control; The magnitude of the output current of the electrode or the magnitude of the applied voltage enables the electrode to output a tactile feedback signal corresponding to the electrical stimulation intensity of the touch control; or, control the output frequency of the tactile feedback signal so that the electrode outputs a The tactile feedback signal corresponding to the electrical stimulation intensity of the touch control.
需要说明的是,为描述的方便和简洁,上述描述的触觉反馈装置500的具体工作过程,可以参考上述图1至图4中描述的方法的对应过程,在此不再赘述。It should be noted that, for the convenience and brevity of description, for the specific working process of the haptic feedback device 500 described above, reference may be made to the corresponding processes of the methods described in FIG. 1 to FIG. 4 , which will not be repeated here.
如图6所示,本申请提供一种用于实现上述触觉反馈方法的终端,该终端可以为智能手机、平板电脑、个人电脑(PC)、学习机等终端,并且该终端包括设置有用于输出触觉反馈信号的电极的触控面板、处理器61、存储器62、输入设备63和输出设备64通过总线65连接。As shown in FIG. 6 , the present application provides a terminal for implementing the above haptic feedback method. The terminal can be a terminal such as a smart phone, a tablet computer, a personal computer (PC), a learning machine, etc. The touch panel, the processor 61 , the memory 62 , the input device 63 and the output device 64 of the electrodes of the haptic feedback signal are connected through the bus 65 .
应当理解,在本申请实施例中,所称处理器61可以是中央处理单元(CentralProcessing Unit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(DigitalSignal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that, in the embodiments of the present application, the processor 61 may be a central processing unit (Central Processing Unit, CPU), and the processor may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), special-purpose processors An integrated circuit (Application Specific Integrated Circuit, ASIC), a Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA) 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.
输入设备63可以包括虚拟键盘、触控板、指纹采传感器(用于采集用户的指纹信息和指纹的方向信息)、麦克风等,输出设备64可以包括显示器、扬声器等。存储器62可以包括只读存储器和随机存取存储器,并向处理器61提供指令和数据。存储器62的一部分或全部还可以包括非易失性随机存取存储器。例如,存储器62还可以存储设备类型的信息。The input device 63 may include a virtual keyboard, a touchpad, a fingerprint sensor (for collecting the user's fingerprint information and fingerprint direction information), a microphone, and the like, and the output device 64 may include a display, a speaker, and the like. Memory 62 may include read only memory and random access memory, and provides instructions and data to processor 61 . A portion or all of memory 62 may also include non-volatile random access memory. For example, memory 62 may also store device type information.
上述存储器62存储有计算机程序,上述计算机程序可在上述处理器61上运行,例如,上述计算机程序为触觉反馈方法的程序。上述处理器61执行上述计算机程序时实现上述触觉反馈方法实施例中的步骤,例如图1所示的步骤101至步骤103。或者,上述处理器61执行上述计算机程序时实现上述各装置实施例中各模块/单元的功能,例如图5所示单元501至503的功能。The above-mentioned memory 62 stores a computer program, and the above-mentioned computer program can be executed on the above-mentioned processor 61. For example, the above-mentioned computer program is a program of a haptic feedback method. When the above-mentioned processor 61 executes the above-mentioned computer program, the steps in the above-mentioned embodiment of the haptic feedback method are implemented, for example, steps 101 to 103 shown in FIG. 1 . Alternatively, when the above-mentioned processor 61 executes the above-mentioned computer program, the functions of each module/unit in the above-mentioned various apparatus embodiments, for example, the functions of the units 501 to 503 shown in FIG. 5 , are implemented.
上述计算机程序可以被分割成一个或多个模块/单元,上述一个或者多个模块/单元被存储在上述存储器62中,并由上述处理器61执行,以完成本申请。上述一个或多个模块/单元可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述上述计算机程序在上述进行触觉反馈的终端中的执行过程。例如,上述计算机程序可以被分割成监听单元、获取单元和匹配单元,各单元具体功能如下:获取单元,用于获取所述终端当前显示界面中显示的触摸控件的属性信息;确定单元,用于根据所述属性信息确定所述触摸控件对应的电刺激强度;输出单元,用于在接收到对触摸控件的触发操作时,控制所述电极输出与所述触摸控件的电刺激强度对应的触觉反馈信号。The above-mentioned computer program can be divided into one or more modules/units, and the above-mentioned one or more modules/units are stored in the above-mentioned memory 62 and executed by the above-mentioned processor 61 to complete the present application. The above-mentioned one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used to describe the execution process of the above-mentioned computer program in the above-mentioned terminal for performing haptic feedback. For example, the above-mentioned computer program can be divided into a monitoring unit, an obtaining unit and a matching unit, and the specific functions of each unit are as follows: an obtaining unit, used for obtaining the attribute information of the touch control displayed in the current display interface of the terminal; a determining unit, used for Determine the electrical stimulation intensity corresponding to the touch control according to the attribute information; the output unit is configured to control the electrodes to output tactile feedback corresponding to the electrical stimulation intensity of the touch control when receiving a trigger operation on the touch control Signal.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将上述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. Module completion, that is, dividing the internal structure of the above device into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment may be integrated in one processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit, and the above-mentioned integrated units may adopt hardware. It can also be realized in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing from each other, and are not used to limit the protection scope of the present application. For the specific working processes of the units and modules in the above-mentioned system, reference may be made to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the foregoing embodiments, the description of each embodiment has its own emphasis. For parts that are not described or described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
在本申请所提供的实施例中,应该理解到,所揭露的装置/终端和方法,可以通过其它的方式实现。例如,以上所描述的装置/终端实施例仅仅是示意性的,例如,上述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed apparatus/terminal and method may be implemented in other manners. For example, the apparatus/terminal embodiments described above are only illustrative. For example, the division of the above modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components. May be combined or may be integrated into another system, or some features may be omitted, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and components shown as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
上述集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,上述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,上述计算机程序包括计算机程序代码,上述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。上述计算机可读介质可以包括:能够携带上述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(Read-Only Memory,ROM)、随机存取存储器(RandomAccess Memory,RAM)、电载波信号、电信信号以及软件分发介质等。需要说明的是,上述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括电载波信号和电信信号。If the above-mentioned integrated modules/units are implemented in the form of software functional units and sold or used as independent products, they may be stored in a computer-readable storage medium. Based on this understanding, the present application realizes all or part of the processes in the methods of the above-mentioned embodiments, and can also be completed by instructing the relevant hardware through a computer program. The above-mentioned computer program can be stored in a computer-readable storage medium. The computer program When executed by a processor, the steps of each of the above method embodiments can be implemented. Wherein, the above-mentioned computer program includes computer program code, and the above-mentioned computer program code may be in the form of source code, object code form, executable file or some intermediate form. The above-mentioned computer-readable medium may include: any entity or device capable of carrying the above-mentioned computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (Read-Only Memory, ROM), random Access memory (Random Access Memory, RAM), electric carrier signal, telecommunication signal, and software distribution medium, etc. It should be noted that the content contained in the above-mentioned computer-readable media may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction, for example, in some jurisdictions, according to legislation and patent practice, the computer-readable media does not Including electrical carrier signals and telecommunication signals.
以上上述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。The above-mentioned embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the above-mentioned embodiments, those of ordinary skill in the art should understand that the above-mentioned embodiments can still be used for The recorded technical solutions are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the application, and should be included in the present application. within the scope of protection of the application.
Claims (10)
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 Expired - Fee Related 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 interactive feedback method, device, storage medium and electronic device |
CN110109549A (en) * | 2019-05-13 | 2019-08-09 | Oppo广东移动通信有限公司 | Application notification processing method and device, storage medium and electronic equipment |
CN110134239A (en) * | 2019-05-13 | 2019-08-16 | Oppo广东移动通信有限公司 | Information transmission method, storage medium, and electronic device |
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广东移动通信有限公司 | Control method and device of touch screen, storage medium and electronic equipment |
CN110196636A (en) * | 2019-05-13 | 2019-09-03 | Oppo广东移动通信有限公司 | Prompting method and device, storage medium and electronic equipment |
CN110213436A (en) * | 2019-05-24 | 2019-09-06 | Oppo广东移动通信有限公司 | Calling method, calling device, storage medium and electronic equipment |
CN110225200A (en) * | 2019-06-10 | 2019-09-10 | Oppo广东移动通信有限公司 | Reminding method and 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, device, electronic device 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 not_active Expired - Fee Related
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广东移动通信有限公司 | Application notification processing method and device, storage medium and electronic equipment |
CN110134239A (en) * | 2019-05-13 | 2019-08-16 | Oppo广东移动通信有限公司 | Information transmission method, storage medium, and electronic device |
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广东移动通信有限公司 | Control method and device of touch screen, storage medium and electronic equipment |
CN110196636A (en) * | 2019-05-13 | 2019-09-03 | Oppo广东移动通信有限公司 | Prompting method and device, storage medium and electronic equipment |
CN110013665A (en) * | 2019-05-13 | 2019-07-16 | Oppo广东移动通信有限公司 | Game interactive feedback method, device, storage medium and electronic device |
CN110213436B (en) * | 2019-05-24 | 2020-10-09 | Oppo广东移动通信有限公司 | Calling method, apparatus, storage medium and electronic device |
CN110213436A (en) * | 2019-05-24 | 2019-09-06 | Oppo广东移动通信有限公司 | Calling method, calling device, storage medium and electronic equipment |
CN110225200A (en) * | 2019-06-10 | 2019-09-10 | Oppo广东移动通信有限公司 | Reminding method and 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, device, electronic device 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 | |
CN106951174B (en) | A kind of adjustment method of virtual keyboard and mobile terminal | |
CN103869940B (en) | Tactile feedback system, electronic installation and its method that tactile feedback is provided | |
CN103902030B (en) | A kind of touch feedback method, haptic feedback devices, electronic equipment and stylus | |
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 | |
EP2869174A1 (en) | Method and device for text input and display of intelligent terminal | |
CN106959814A (en) | A kind of display methods of dummy keyboard, device and terminal | |
CN103677464A (en) | Information terminal device and touch coordinate determination method | |
CN104571857A (en) | Customizing method, responding method and mobile terminal of user-defined touch | |
US8436829B1 (en) | Touchscreen keyboard simulation for performance evaluation | |
CN107025019A (en) | The exchange method and terminal device of virtual key | |
CN103869935B (en) | Tactile feedback system and its method that tactile feedback is provided | |
CN103620542A (en) | A physical key simulating method and apparatus based on a touch screen | |
CN105159587A (en) | Application control method and mobile terminal | |
JP2014531676A (en) | Electronic book page conversion method, apparatus, and portable device | |
CN107479822A (en) | A kind of data inputting method and terminal | |
CN106208206A (en) | A kind of wireless charging method and mobile terminal | |
US9075438B2 (en) | Systems and related methods involving stylus tactile feel | |
CN112148171B (en) | Interface switching method and device and electronic equipment | |
CN105867684A (en) | Object controlling method and device | |
CN103869952B (en) | Tactile feedback system and the method that tactile feedback is provided | |
CN106933397B (en) | Virtual object control method and device | |
TWI505173B (en) | System and method for improving recognition of a touch keyboard in an electronic device | |
US9524051B2 (en) | Method and terminal for inputting multiple events |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20220517 |
|
CF01 | Termination of patent right due to non-payment of annual fee |