WO2020232738A1 - Haptic feedback method, electronic device and storage medium - Google Patents

Haptic feedback method, electronic device and storage medium Download PDF

Info

Publication number
WO2020232738A1
WO2020232738A1 PCT/CN2019/089230 CN2019089230W WO2020232738A1 WO 2020232738 A1 WO2020232738 A1 WO 2020232738A1 CN 2019089230 W CN2019089230 W CN 2019089230W WO 2020232738 A1 WO2020232738 A1 WO 2020232738A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
touch display
display component
feedback method
parameter
Prior art date
Application number
PCT/CN2019/089230
Other languages
French (fr)
Chinese (zh)
Inventor
李建其
张玉蕾
王修越
Original Assignee
瑞声声学科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 瑞声声学科技(深圳)有限公司 filed Critical 瑞声声学科技(深圳)有限公司
Publication of WO2020232738A1 publication Critical patent/WO2020232738A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/016Input arrangements with force or tactile feedback as computer generated output to the user
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0412Digitisers structurally integrated in a display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers

Definitions

  • the invention relates to the field of micro-motor control, in particular to a tactile feedback method, electronic equipment and storage medium.
  • Linear motors have been used in a variety of consumer electronic devices, providing users with a clear and comfortable tactile feedback experience, instructing and helping users to better use electronic devices.
  • Motor multi-application and reminder interactive scenes trigger conditions are troublesome to some specific operating conditions, such as incoming call, delete reminder, alarm clock, volume, etc.
  • images In addition to relying on vision to obtain image information, users cannot obtain the information carried by the image from other means. As a result, some information that cannot be displayed clearly on the device screen is easily overlooked.
  • the object of the present invention is to provide a tactile feedback method.
  • a tactile feedback method applied to an electronic device the electronic device including a motor and a touch display assembly, and the method includes:
  • a driving signal is generated and the motor is driven to vibrate.
  • the image parameter includes one or both of color value and brightness value.
  • the driving signal parameter is used to control one or more of the number of vibrations, amplitude, and duration of vibration of the motor.
  • the method further includes:
  • the corresponding driving signal parameter is calculated according to the image parameter.
  • analysis image is an image displayed on the touch display component.
  • the analysis image is a mapped image of an image displayed by the touch display component, and the mapped image is a virtual image that is not displayed on the touch display component.
  • the mapped image and the image displayed on the touch display component have the same size, resolution and coordinate information.
  • the method further includes:
  • the image parameters of each pixel and the coordinate information are associated and stored.
  • the present invention also provides an electronic device, including a touch display component, a motor, a memory, a processor, and a computer program stored in the memory.
  • the computer program is configured to be executed by the processor.
  • the processor executes the program to achieve the above Any of the tactile feedback methods.
  • the present invention also provides a storage medium storing a computer program, and when the computer program is processed by a processor, any one of the above-mentioned tactile feedback methods is implemented.
  • the beneficial effect of the present invention is that by combining the image information of the electronic device and the motor vibration, the feedback mode of the image information is increased, and the purpose of customization, refinement and diversification of tactile feedback is achieved.
  • Fig. 1 is a schematic flowchart of a first embodiment of the present invention
  • FIG. 2 is a schematic diagram of the operation of the first embodiment of the present invention.
  • Fig. 3 is a schematic diagram of a part of the process of the third embodiment of the present invention:
  • Fig. 4 is a schematic diagram of the structure of the electronic device of the present invention.
  • Embodiments of the present invention provide a tactile feedback method, an electronic device, and a storage medium.
  • a user performs a touch operation on a touch display component of the electronic device, and the electronic device sends specific driving information to drive the motor to vibrate, and the vibration feedback touches the image displayed by the display component Information, realize the combination of image information and motor vibration, and achieve customized, precise and diversified tactile feedback.
  • electronic devices include, but are not limited to, smart phones, tablet computers, and portable wearable devices.
  • FIGS. 1 and 2 are respectively a schematic flowchart of a haptic feedback method and a schematic operation diagram of the method according to the first embodiment of the present invention.
  • the user can perform a touch operation on the image displayed on the touch display component 101 of the electronic device 100 to obtain vibration feedback of the motor.
  • the tactile feedback method includes:
  • Step S101 detecting a touch operation in the touch display component
  • the touch display component 101 is used to display an image of the electronic device 100, and the user can touch the image on the touch display component 101 with a finger.
  • the touch operation is tapping and clicking an image, long-pressing the image, or long-pressing and dragging the image.
  • Step S103 when a touch operation is detected, obtain coordinate information of the corresponding touch position
  • the user performs a touch operation on the image on the touch display component 101, and the coordinate information is the coordinate position on the touch display component 101 where the electronic device 100 detects the touch operation.
  • Step S105 Obtain image parameters of the corresponding analytical image according to the coordinate information
  • the resolved image is an image displayed on the touch display component.
  • the image parameter is obtained by analyzing the image information of the analyzed image.
  • the image parameter may include one or both of the color value and the brightness value of the pixels constituting the analytical image.
  • the color value is the color value of the pixel of the image displayed by the touch display component 101, and is the color value corresponding to a color in different color modes.
  • the color mode may be one of RGB mode, CMYK mode, HSB mode, Lab color mode, bitmap mode, grayscale mode, indexed color mode, duotone mode, and multi-channel mode.
  • the brightness value is the brightness of the pixels of the image displayed by the touch display component 101. Specifically, the brightness value of the pixel is between 0 and 255.
  • Step S107 Calculate driving signal parameters according to the image parameters
  • the driving signal parameter can be calculated according to the color value of the analytical image, or the driving signal parameter can be calculated according to the brightness value; or combined with the color value and brightness value of the analytical image, the driving signal parameter can be calculated.
  • the driving signal parameter is used to control the vibration feedback of one or more of the vibration frequency, amplitude, and vibration duration of the motor. It is understandable that the different color values, different brightness values, or combinations of different color values and brightness values of the image are analyzed, and different driving signal parameters are calculated correspondingly, and the motor is controlled to give different modes of vibration feedback.
  • Step S109 Generate a drive signal and drive the motor to vibrate according to the drive signal parameter.
  • the motor drive module converts the drive signal parameters into drive signals, and drives the motor to complete the vibration mode preset by the drive signal parameters.
  • the image parameters of the image are analyzed to calculate the corresponding driving signal parameters to drive the motor to perform different vibration feedback. Diversify the user experience when operating electronic devices.
  • the present invention also includes a second embodiment.
  • the difference between the second embodiment and the first embodiment is that before calculating the driving signal parameters according to the image parameters, the second embodiment further includes:
  • Step S201 Determine whether the image parameters meet preset conditions
  • Step S203 If the image parameter meets the preset condition, calculate the corresponding driving signal parameter according to the image parameter.
  • the preset condition is a preset color value
  • the specific steps are as follows:
  • Step S2011 Determine whether the color value of the image parameter meets the preset color value.
  • step S107 is performed, that is, the corresponding driving signal parameter is calculated according to the image parameter.
  • the preset color value is RGB value
  • the value is 25, 25, 112
  • the RGB value of the image parameter of the touch operation position is 25, 25, 112
  • the preset condition is a preset brightness value
  • the specific steps are as follows:
  • Step S2021 Determine whether the brightness value of the image parameter meets the preset brightness value.
  • step S107 is performed, that is, the corresponding driving signal parameter is calculated according to the image parameter.
  • the preset condition sets the brightness value of the image parameter to be greater than 100, and when the brightness value of the image parameter at the touch operation position is 120, it is determined that the image parameter meets the preset condition, and the corresponding driving signal is obtained.
  • the preset condition is a specific brightness value. For example, if the preset condition is an image parameter with a brightness value of 120, then when the brightness value of the image parameter at the touch operation position is 120, the preset condition is met.
  • the drive signal parameters can be calculated according to the corresponding image parameters.
  • the preset condition includes a preset color value and a preset brightness value.
  • Step S2031 If the color value of the image parameter meets the preset color value, continue to determine whether the brightness value of the image parameter meets the preset brightness value.
  • step S107 is performed, that is, the corresponding driving signal parameter is calculated according to the image parameter.
  • the preset color value is RGB value
  • the value is 25, 25, 112
  • the preset brightness value is above 100.
  • the driving signal parameter can be calculated according to the corresponding image parameter.
  • the analytical image may be a mapped image of an image displayed by the touch display component 101, and the mapped image is a virtual image that is not displayed on the touch display component 101.
  • the mapping image has the same size and resolution as the display image having the same coordinate information on the touch display component 101.
  • the mapped image can be set with specific image parameters as required. When the user touches the display image, the corresponding driving signal parameters can be calculated through the image parameters of the mapped image of the display image.
  • FIG. 3 is a partial flowchart of the third embodiment.
  • the difference between the third embodiment and the first embodiment is that, before detecting the touch operation in the touch display component, it further includes:
  • Step S301 Analyze the image for pre-analysis to obtain the image parameters of each pixel and the coordinate information of each pixel in the touch display component.
  • Step S303 Associate and store the image parameters of each pixel and the coordinate information.
  • the image displayed by the touch display component 101 or the mapped image of the displayed image is analyzed in advance, and the image parameters obtained by the analysis are associated with coordinate information and stored.
  • the image parameters corresponding to the coordinate information of the touch operation can be directly used to calculate the driving signal parameters.
  • the above implementation examples combine the vibration of the motor with the displayed image to achieve the purpose of customizable, precise, and diversified tactile feedback, increase the freedom of setting the electronic device 100, and make the technology more humane.
  • FIG. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, including a touch display component 101, a memory 200, a processor 300, a motor 500, and a computer program stored in the memory. It is configured to be executed by the processor 300, and the processor 300 executes the computer program to implement any one of the foregoing touch feedback method embodiments.
  • the embodiment of the present invention also provides a storage medium, the storage medium may store a program, and when the program is executed, some or all of the steps of the method described in the embodiment of the present invention can be executed.
  • the computer storage medium of the embodiment of the present invention includes: RAM, ROM, EEPROM, flash memory, CD-ROM, DVD or other optical storage, tape, magnetic disk or other magnetic storage, or any other that can be used to store required information Media that can be accessed by computer equipment.

Abstract

Provided in the present invention is a haptic feedback method applied to an electronic device. The electronic device comprises a motor and a touch display component. The method comprises: detecting a touch operation in the touch display component; when the touch operation is detected, acquiring coordinate information of a corresponding touch position; according to the coordinate information, acquiring an image parameter of a corresponding parsed image; according to the image parameter, calculating a drive signal parameter; and according to the drive signal parameter, generating a drive signal and driving the motor to vibrate. Further disclosed are an electronic device and a storage medium. According to the present invention, by means of combining image information of the electronic device with motor vibration, a feedback means for the image information is added, and the aims of customization, refinement and diversification of haptic feedback are achieved.

Description

触觉反馈方法、电子设备以及存储介质Tactile feedback method, electronic device and storage medium 【技术领域】【Technical Field】
本发明涉及一种微电机控制领域,具体指一种触觉反馈方法、电子设备以及存储介质。The invention relates to the field of micro-motor control, in particular to a tactile feedback method, electronic equipment and storage medium.
【背景技术】【Background technique】
线性马达已经应用于各式各样的消费类电子设备中,为用户提供清晰、舒适的触觉反馈体验,指示和帮助用户更好的使用电子设备。马达多应用与提醒类的交互场景,触发条件多事某些特定的操作条件,比如来电、删除提示、闹钟、音量等。但在使用移动设备时,经常需要依靠图像传达信息。用户除了依靠视觉获取图像信息,无法从其他途径获取图像携带的信息,导致一些无法通过设备屏幕显示清晰显示的信息容易让人忽略。Linear motors have been used in a variety of consumer electronic devices, providing users with a clear and comfortable tactile feedback experience, instructing and helping users to better use electronic devices. Motor multi-application and reminder interactive scenes, trigger conditions are troublesome to some specific operating conditions, such as incoming call, delete reminder, alarm clock, volume, etc. But when using mobile devices, it is often necessary to rely on images to convey information. In addition to relying on vision to obtain image information, users cannot obtain the information carried by the image from other means. As a result, some information that cannot be displayed clearly on the device screen is easily overlooked.
【发明内容】[Content of the invention]
本发明的目的在于提供一种触觉反馈方法。The object of the present invention is to provide a tactile feedback method.
本发明的技术方案如下:一种触觉反馈方法,应用于电子设备,所述电子设备包括马达和触摸显示组件,所述方法包括:The technical solution of the present invention is as follows: a tactile feedback method applied to an electronic device, the electronic device including a motor and a touch display assembly, and the method includes:
检测所述触摸显示组件中的触摸操作;Detecting a touch operation in the touch display component;
当检测到触摸操作,获取对应的触摸位置的坐标信息;When a touch operation is detected, obtain the coordinate information of the corresponding touch position;
根据所述坐标信息,获取对应的解析图像的图像参数;Obtaining the image parameters of the corresponding analytical image according to the coordinate information;
根据所述图像参数,计算驱动信号参数;Calculating drive signal parameters according to the image parameters;
根据所述驱动信号参数,生成驱动信号并驱动所述马达振动。According to the driving signal parameter, a driving signal is generated and the motor is driven to vibrate.
进一步地,所述图像参数包括色值、亮度值中的一者或两者。Further, the image parameter includes one or both of color value and brightness value.
进一步地,所述驱动信号参数用于控制所述马达的振动次数、振幅、振动时长中的一者或者多者。Further, the driving signal parameter is used to control one or more of the number of vibrations, amplitude, and duration of vibration of the motor.
进一步地,根据所述图像参数计算驱动信号参数之前,所述方法还包括,Further, before calculating the driving signal parameters according to the image parameters, the method further includes:
判断所述图像参数是否符合预设条件;Determine whether the image parameters meet preset conditions;
若所述图像参数符合预设条件,根据所述图像参数计算相对应的驱动信号参数。If the image parameter meets the preset condition, the corresponding driving signal parameter is calculated according to the image parameter.
进一步地,所述解析图像为在所述触摸显示组件上显示的图像。Further, the analysis image is an image displayed on the touch display component.
进一步地,所述解析图像为所述触摸显示组件显示的图像的映射图像,所述映射图像为在所述触摸显示组件上不显示的虚拟图像。Further, the analysis image is a mapped image of an image displayed by the touch display component, and the mapped image is a virtual image that is not displayed on the touch display component.
进一步地,所述映射图像与在所述触摸显示组件上显示的图像具有相同的尺寸、分辨率和坐标信息。Further, the mapped image and the image displayed on the touch display component have the same size, resolution and coordinate information.
进一步地,所述检测所述触摸显示组件中的触摸操作之前,所述方法还包括,Further, before the detecting the touch operation in the touch display assembly, the method further includes:
对解析图像进行预解析,获得各像素点的图像参数以及各像素点在触摸显示组件中的坐标信息;Pre-analyze the analyzed image to obtain the image parameters of each pixel and the coordinate information of each pixel in the touch display component;
将各像素点的所述图像参数与所述坐标信息进行关联并存储。The image parameters of each pixel and the coordinate information are associated and stored.
本发明还提供一种电子设备,包括触摸显示组件、马达、存储器、处理器以及存储在存储器中的计算机程序,所述计算机程序被配置成由处理器执行,处理器执行所述程序是实现上述任一所述的触觉反馈方法。The present invention also provides an electronic device, including a touch display component, a motor, a memory, a processor, and a computer program stored in the memory. The computer program is configured to be executed by the processor. The processor executes the program to achieve the above Any of the tactile feedback methods.
本发明还提供一种存储介质,所述存储介质存储有计算机程序,所述计算机程序被处理器处理时实现上述任一所述的触觉反馈方法。The present invention also provides a storage medium storing a computer program, and when the computer program is processed by a processor, any one of the above-mentioned tactile feedback methods is implemented.
本发明的有益效果是:通过将电子设备的图像信息和马达振动结合起来,增加了图像信息的反馈方式,达到触觉反馈定制化、精细化、多元化的目的。The beneficial effect of the present invention is that by combining the image information of the electronic device and the motor vibration, the feedback mode of the image information is increased, and the purpose of customization, refinement and diversification of tactile feedback is achieved.
【附图说明】【Explanation of drawings】
图1是本发明第一实施例的流程示意图;Fig. 1 is a schematic flowchart of a first embodiment of the present invention;
图2是本发明第一实施例的操作示意图;2 is a schematic diagram of the operation of the first embodiment of the present invention;
图3是本发明第三实施例的部分流程示意图:Fig. 3 is a schematic diagram of a part of the process of the third embodiment of the present invention:
图4是本发明的电子设备结构示意图。Fig. 4 is a schematic diagram of the structure of the electronic device of the present invention.
【具体实施方式】【Detailed ways】
为了使本发明实施方式的目的、技术方案和优点更加清楚,下面将结合附图对本发明的各个实施方式进行详细的阐述。然而,本领域的普通技 术人员可以理解,在本发明各实施方式中,为了使读者更好理解本发明而提出了许多技术细节。但是,即使没有这些技术细节和基于以下各实施方式的种种变化和修改,也可以实现本发明所要求保护的技术方案。In order to make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the various embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, those of ordinary skill in the art can understand that, in each embodiment of the present invention, many technical details are proposed for the reader to better understand the present invention. However, even without these technical details and various changes and modifications based on the following embodiments, the technical solution claimed by the present invention can be realized.
本发明实施例提供一种触觉反馈方法、电子设备以及存储介质,用户对电子设备的触摸显示组件进行触摸操作,电子设备发送特定的驱动信息驱动马达振动,以振动反馈触摸显示组件所显示的图像信息,实现图像信息与马达振动的结合,达到触觉反馈定制化、精确化、多样化。具体的,电子设备包括但不限于智能手机、平板电脑和便携式可穿戴设备。Embodiments of the present invention provide a tactile feedback method, an electronic device, and a storage medium. A user performs a touch operation on a touch display component of the electronic device, and the electronic device sends specific driving information to drive the motor to vibrate, and the vibration feedback touches the image displayed by the display component Information, realize the combination of image information and motor vibration, and achieve customized, precise and diversified tactile feedback. Specifically, electronic devices include, but are not limited to, smart phones, tablet computers, and portable wearable devices.
请参看图1-图2,图1和图2分别为本发明的第一实施例的一种触觉反馈方法的流程示意图和该方法的操作示意图。在本实施例中,用户可在电子设备100的触摸显示组件101上显示的图像进行触摸操作,获得马达的振动反馈。如图1所述,该触觉反馈方法包括:Please refer to FIGS. 1 to 2. FIGS. 1 and 2 are respectively a schematic flowchart of a haptic feedback method and a schematic operation diagram of the method according to the first embodiment of the present invention. In this embodiment, the user can perform a touch operation on the image displayed on the touch display component 101 of the electronic device 100 to obtain vibration feedback of the motor. As shown in Figure 1, the tactile feedback method includes:
步骤S101:检测所述触摸显示组件中的触摸操作;Step S101: detecting a touch operation in the touch display component;
触摸显示组件101用于显示电子设备100的图像,用户可通过手指对触摸显示组件101上的图像进行触摸操作。在本实施例中,触摸操作是轻触点击图像、长按图像或长按拖动图像。The touch display component 101 is used to display an image of the electronic device 100, and the user can touch the image on the touch display component 101 with a finger. In this embodiment, the touch operation is tapping and clicking an image, long-pressing the image, or long-pressing and dragging the image.
步骤S103:当检测到触摸操作,获取对应的触摸位置的坐标信息;Step S103: when a touch operation is detected, obtain coordinate information of the corresponding touch position;
用户对触摸显示组件101上的图像进行触摸操作,坐标信息为电子设备100检测到触摸操作在触摸显示组件101上的坐标位置。The user performs a touch operation on the image on the touch display component 101, and the coordinate information is the coordinate position on the touch display component 101 where the electronic device 100 detects the touch operation.
步骤S105:根据所述坐标信息,获取对应的解析图像的图像参数;Step S105: Obtain image parameters of the corresponding analytical image according to the coordinate information;
解析图像为在所述触摸显示组件上显示的图像。图像参数即为对解析图像的图像信息进行解析获得。具体的,图像参数可包括组成该解析图像的像素点的色值、亮度值中的一者或两者。其中,色值为触摸显示组件101显示的图像的像素点的色值,是一种颜色在不同的颜色模式中对应的颜色值。具体的,颜色模式可以是RGB模式、CMYK模式、HSB模式、Lab颜色模式、位图模式、灰度模式、索引颜色模式、双色调模式和多通道模式中的其中一种。亮度值为触摸显示组件101显示的图像的像素点的亮度。具体的,像素的亮度值在0至255之间。The resolved image is an image displayed on the touch display component. The image parameter is obtained by analyzing the image information of the analyzed image. Specifically, the image parameter may include one or both of the color value and the brightness value of the pixels constituting the analytical image. Wherein, the color value is the color value of the pixel of the image displayed by the touch display component 101, and is the color value corresponding to a color in different color modes. Specifically, the color mode may be one of RGB mode, CMYK mode, HSB mode, Lab color mode, bitmap mode, grayscale mode, indexed color mode, duotone mode, and multi-channel mode. The brightness value is the brightness of the pixels of the image displayed by the touch display component 101. Specifically, the brightness value of the pixel is between 0 and 255.
步骤S107:根据所述图像参数,计算驱动信号参数;Step S107: Calculate driving signal parameters according to the image parameters;
通过获取解析图像的色值、亮度值,可根据解析图像的色值计算驱动信号参数,或根据亮度值计算驱动信号参数;或结合解析图像的色值、亮度值,计算驱动信号参数。驱动信号参数用于控制包括马达的振动次数、振幅、振动时长的一者或者多者马达的振动反馈。可以理解的,解析图像的不同色值、不同亮度值或不同色值与亮度值的组合,对应计算出不同的驱动信号参数,控制马达做出不同模式的振动反馈。By obtaining the color value and brightness value of the analytical image, the driving signal parameter can be calculated according to the color value of the analytical image, or the driving signal parameter can be calculated according to the brightness value; or combined with the color value and brightness value of the analytical image, the driving signal parameter can be calculated. The driving signal parameter is used to control the vibration feedback of one or more of the vibration frequency, amplitude, and vibration duration of the motor. It is understandable that the different color values, different brightness values, or combinations of different color values and brightness values of the image are analyzed, and different driving signal parameters are calculated correspondingly, and the motor is controlled to give different modes of vibration feedback.
步骤S109:根据所述驱动信号参数,生成驱动信号并驱动所述马达振动。Step S109: Generate a drive signal and drive the motor to vibrate according to the drive signal parameter.
由马达驱动模块将驱动信号参数转化成驱动信号,驱动所述马达完成驱动信号参数预设的振动方式。The motor drive module converts the drive signal parameters into drive signals, and drives the motor to complete the vibration mode preset by the drive signal parameters.
在上述实施例中,通过解析图像的图像参数,计算相对应的驱动信号参数,以驱动马达进行不同的振动反馈。使用户在操作电子设备时的体验多样化。In the foregoing embodiment, the image parameters of the image are analyzed to calculate the corresponding driving signal parameters to drive the motor to perform different vibration feedback. Diversify the user experience when operating electronic devices.
本发明还包括第二实施例,第二实施例与第一实施例的区别在于,根据所述图像参数计算驱动信号参数之前,所述第二实施例还包括:The present invention also includes a second embodiment. The difference between the second embodiment and the first embodiment is that before calculating the driving signal parameters according to the image parameters, the second embodiment further includes:
步骤S201:判断所述图像参数是否满足预设条件;Step S201: Determine whether the image parameters meet preset conditions;
步骤S203:若所述图像参数符合预设条件,根据所述图像参数计算相对应的驱动信号参数。Step S203: If the image parameter meets the preset condition, calculate the corresponding driving signal parameter according to the image parameter.
在本实施例中,获取对应的解析图像的图像参数后,判断图像的亮度值、色值是否满足预设的条件。In this embodiment, after obtaining the image parameters of the corresponding analysis image, it is determined whether the brightness value and the color value of the image meet the preset conditions.
在一些实施例中,预设条件为预设的色值,具体步骤如下:In some embodiments, the preset condition is a preset color value, and the specific steps are as follows:
步骤S2011:判断图像参数的色值是否满足预设的色值。Step S2011: Determine whether the color value of the image parameter meets the preset color value.
若图像参数的色值满足预设的色值,则进行S107步骤,即根据图像参数计算相对应的驱动信号参数。If the color value of the image parameter meets the preset color value, step S107 is performed, that is, the corresponding driving signal parameter is calculated according to the image parameter.
例如,预设的色值为RGB值,值为25,25,112,当触摸操作位置的图像参数的RGB值为25,25,112时,判断图像参数满足预设条件,获取相对应的驱动信号参数。For example, the preset color value is RGB value, the value is 25, 25, 112, when the RGB value of the image parameter of the touch operation position is 25, 25, 112, it is judged that the image parameter meets the preset condition, and the corresponding driving signal parameter is obtained .
在另一些实施例中,预设条件为预设的亮度值,具体步骤如下:In other embodiments, the preset condition is a preset brightness value, and the specific steps are as follows:
步骤S2021:判断图像参数的亮度值是否满足预设的亮度值。Step S2021: Determine whether the brightness value of the image parameter meets the preset brightness value.
若图像参数的亮度值满足预设的亮度值,则进行S107步骤,即根据图像参数计算相对应的驱动信号参数。If the brightness value of the image parameter meets the preset brightness value, step S107 is performed, that is, the corresponding driving signal parameter is calculated according to the image parameter.
例如:预设条件设置图像参数的亮度值为100以上,当触摸操作位置的图像参数的亮度值为120,判断该图像参数满足预设条件,获取相对应的驱动信号。在一些实施例中,预设的条件为特定的亮度值,如设预设的条件为亮度值为120的图像参数,则当触摸操作位置的图像参数的亮度值为120,符合预设的条件,可根据相对应的图像参数计算驱动信号参数。For example, the preset condition sets the brightness value of the image parameter to be greater than 100, and when the brightness value of the image parameter at the touch operation position is 120, it is determined that the image parameter meets the preset condition, and the corresponding driving signal is obtained. In some embodiments, the preset condition is a specific brightness value. For example, if the preset condition is an image parameter with a brightness value of 120, then when the brightness value of the image parameter at the touch operation position is 120, the preset condition is met. , The drive signal parameters can be calculated according to the corresponding image parameters.
在另一些实施例中,预设条件包括预设的色值以及预设的亮度值,具体步骤如下:In other embodiments, the preset condition includes a preset color value and a preset brightness value. The specific steps are as follows:
步骤S2031:若图像参数的色值是否满足预设的色值,继续判断图像参数的亮度值是否满足预设的亮度值。Step S2031: If the color value of the image parameter meets the preset color value, continue to determine whether the brightness value of the image parameter meets the preset brightness value.
若所述识别出的亮度值满足预设的亮度值,判断触摸操作位置的图像参数符合预设条件,则进行S107步骤,即根据图像参数计算对应的驱动信号参数。If the identified brightness value meets the preset brightness value, and it is determined that the image parameter of the touch operation position meets the preset condition, step S107 is performed, that is, the corresponding driving signal parameter is calculated according to the image parameter.
例如,预设的色值为RGB值,值为25,25,112,预设的亮度值为100以上。当触摸操作位置的图像参数的RGB值为25,25,112,图像参数的亮度值为120,符合预设的条件,可根据相对应的图像参数计算驱动信号参数。For example, the preset color value is RGB value, the value is 25, 25, 112, and the preset brightness value is above 100. When the RGB value of the image parameter of the touch operation position is 25, 25, 112, and the brightness value of the image parameter is 120, which meets the preset condition, the driving signal parameter can be calculated according to the corresponding image parameter.
在一些实施例中,解析图像可以为触摸显示组件101显示的图像的映射图像,映射图像为不显示在触摸显示组件101上的虚拟图像。例如,当触摸显示组件101显示的图像复杂,对应的图像信息量较大时,可以使用一个相对简单的映射图像替代触摸显示组件101显示的图像作为解析图像。需要注意的是,映射图像与在触摸显示组件101上拥有同一坐标信息的显示图像尺寸相同、分辨率相同。该映射图像可根据需要设置特定图像参数,当用户触摸到该显示图像,能够通过该显示图像的映射图像的图像参数,计算出相对应的驱动信号参数。In some embodiments, the analytical image may be a mapped image of an image displayed by the touch display component 101, and the mapped image is a virtual image that is not displayed on the touch display component 101. For example, when the image displayed by the touch display component 101 is complicated and the corresponding image information is large, a relatively simple mapped image can be used as an analytical image instead of the image displayed by the touch display component 101. It should be noted that the mapping image has the same size and resolution as the display image having the same coordinate information on the touch display component 101. The mapped image can be set with specific image parameters as required. When the user touches the display image, the corresponding driving signal parameters can be calculated through the image parameters of the mapped image of the display image.
请参看图3,图3为第三实施例的部分流程示意图,第三实施例与第一实施例区别在于,在所述检测所述触摸显示组件中的触摸操作之前,还包括:Please refer to FIG. 3, which is a partial flowchart of the third embodiment. The difference between the third embodiment and the first embodiment is that, before detecting the touch operation in the touch display component, it further includes:
步骤S301:解析图像进行预解析,获得各像素点的图像参数以及各像素点在触摸显示组件中的坐标信息。Step S301: Analyze the image for pre-analysis to obtain the image parameters of each pixel and the coordinate information of each pixel in the touch display component.
步骤S303:将各像素点的所述图像参数与所述坐标信息进行关联并存储。Step S303: Associate and store the image parameters of each pixel and the coordinate information.
在本实施例中,会预先对触摸显示组件101显示的图像或显示的图像的映射图像进行解析,并将解析获得的图像参数与坐标信息进行关联并存储。当用户对触摸显示组件101的任意显示图像进行触摸操作,可根据触摸操作的坐标信息相对应的图像参数,直接用于计算驱动信号参数。通过对解析图像进行预解析,免去了用户进行触摸操作时电子设备的对解析图像进行解析的步骤,可减少电子设备的计算过程,简化触摸反馈处理过程。In this embodiment, the image displayed by the touch display component 101 or the mapped image of the displayed image is analyzed in advance, and the image parameters obtained by the analysis are associated with coordinate information and stored. When the user performs a touch operation on any display image of the touch display component 101, the image parameters corresponding to the coordinate information of the touch operation can be directly used to calculate the driving signal parameters. By pre-analyzing the analytical image, the step of analyzing the analytical image of the electronic device when the user performs a touch operation is eliminated, the calculation process of the electronic device can be reduced, and the touch feedback processing process can be simplified.
上述的实施例子,将马达的振动与显示图像结合,实现触觉反馈的可制定化、精确化、多样化的目的,增加了电子设备100设置的自由度,使科技更具人性化。The above implementation examples combine the vibration of the motor with the displayed image to achieve the purpose of customizable, precise, and diversified tactile feedback, increase the freedom of setting the electronic device 100, and make the technology more humane.
请参看图4,图4为本发明实施例还提供了一种电子设备结构示意图,包括触摸显示组件101、存储器200、处理器300、马达500以及存储在存储器中的计算机程序,所述计算机程序被配置成由处理器300执行,处理器300执行所述计算机程序是实现上述任意一项触摸反馈方法实施例。Please refer to FIG. 4, which is a schematic structural diagram of an electronic device according to an embodiment of the present invention, including a touch display component 101, a memory 200, a processor 300, a motor 500, and a computer program stored in the memory. It is configured to be executed by the processor 300, and the processor 300 executes the computer program to implement any one of the foregoing touch feedback method embodiments.
本发明实施例还提供了一种存储介质,该存储介质可存储有程序,该程序执行时可运行本发明实施例所述的方法的部分或全部步骤。具体实现中,本发明实施例的计算机存储介质包括:RAM、ROM、EEPROM、闪存、CD-ROM、DVD或其他光存储器,磁带、磁盘或其他磁存储器,或者其他任何可以用于存储所需信息并可被计算机设备所访问的介质。The embodiment of the present invention also provides a storage medium, the storage medium may store a program, and when the program is executed, some or all of the steps of the method described in the embodiment of the present invention can be executed. In specific implementation, the computer storage medium of the embodiment of the present invention includes: RAM, ROM, EEPROM, flash memory, CD-ROM, DVD or other optical storage, tape, magnetic disk or other magnetic storage, or any other that can be used to store required information Media that can be accessed by computer equipment.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and conciseness of description, the specific working process of the above-described system, device, and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
以上所述的仅是本发明的实施方式,在此应当指出,对于本领域的普 通技术人员来说,在不脱离本发明创造构思的前提下,还可以做出改进,但这些均属于本发明的保护范围。The above are only the embodiments of the present invention. It should be pointed out here that for those of ordinary skill in the art, improvements can be made without departing from the inventive concept of the present invention, but these all belong to the present invention. The scope of protection.

Claims (10)

  1. 一种触觉反馈方法,应用于电子设备,所述电子设备包括马达和触摸显示组件,其特征在于,所述方法包括:A tactile feedback method applied to an electronic device, the electronic device comprising a motor and a touch display assembly, characterized in that the method includes:
    检测所述触摸显示组件中的触摸操作;Detecting a touch operation in the touch display component;
    当检测到触摸操作,获取对应的触摸位置的坐标信息;When a touch operation is detected, obtain the coordinate information of the corresponding touch position;
    根据所述坐标信息,获取对应的解析图像的图像参数;Obtaining the image parameters of the corresponding analytical image according to the coordinate information;
    根据所述图像参数,计算驱动信号参数;Calculating drive signal parameters according to the image parameters;
    根据所述驱动信号参数,生成驱动信号并驱动所述马达振动。According to the driving signal parameter, a driving signal is generated and the motor is driven to vibrate.
  2. 根据权利要求1所述触觉反馈方法,其特征在于,所述图像参数包括色值、亮度值中的一者或两者。The haptic feedback method according to claim 1, wherein the image parameter includes one or both of color value and brightness value.
  3. 根据权利要求1所述触觉反馈方法,其特征在于,所述驱动信号参数用于控制所述马达的振动次数、振幅、振动时长中的一者或者多者。The haptic feedback method according to claim 1, wherein the driving signal parameter is used to control one or more of the number of vibrations, amplitude, and vibration duration of the motor.
  4. 根据权利要求1所述的触觉反馈方法,其特征在于,根据所述图像参数计算驱动信号参数之前,所述方法还包括,The tactile feedback method according to claim 1, wherein before calculating the driving signal parameters according to the image parameters, the method further comprises:
    判断所述图像参数是否符合预设条件;Determine whether the image parameters meet preset conditions;
    若所述图像参数符合预设条件,根据所述图像参数计算相对应的驱动信号参数。If the image parameter meets the preset condition, the corresponding driving signal parameter is calculated according to the image parameter.
  5. 根据权利要求1所述的触觉反馈方法,其特征在于,所述解析图像为在所述触摸显示组件上显示的图像。The tactile feedback method according to claim 1, wherein the analytical image is an image displayed on the touch display component.
  6. 根据权利要求1所述的触觉反馈方法,其特征在于,所述解析图像为所述触摸显示组件显示的图像的映射图像,所述映射图像为在所述触摸显示组件上不显示的虚拟图像。The tactile feedback method according to claim 1, wherein the analysis image is a mapped image of an image displayed by the touch display component, and the mapped image is a virtual image that is not displayed on the touch display component.
  7. 根据权利要求6所述的触觉反馈方法,其特征在于,所述映射图像与在所述触摸显示组件上显示的图像具有相同的尺寸、分辨率和坐标信息。The tactile feedback method according to claim 6, wherein the mapped image and the image displayed on the touch display component have the same size, resolution, and coordinate information.
  8. 根据权利要求1所述的触摸反馈方法,其特征在于,所述检测所述触摸显示组件中的触摸操作之前,所述方法还包括,The touch feedback method according to claim 1, wherein before the detecting a touch operation in the touch display component, the method further comprises:
    对解析图像进行预解析,获得各像素点的图像参数以及各像素点在触 摸显示组件中的坐标信息;Pre-analyze the analyzed image to obtain the image parameters of each pixel and the coordinate information of each pixel in the touch display component;
    将各像素点的所述图像参数与所述坐标信息进行关联并存储。The image parameters of each pixel and the coordinate information are associated and stored.
  9. 一种电子设备,其特征在于,包括触摸显示组件、马达、存储器、处理器以及存储在存储器中的计算机程序,所述计算机程序被配置成由处理器执行,处理器执行所述程序以实现如权利要求1-8中任一项所述的触觉反馈方法。An electronic device, characterized by comprising a touch display assembly, a motor, a memory, a processor, and a computer program stored in the memory, the computer program being configured to be executed by the processor, and the processor executing the program to achieve The tactile feedback method according to any one of claims 1-8.
  10. 一种存储介质,一种存储介质,所述存储介质存储有计算机程序,其特征在于:所述计算机程序被处理器处理时实现如权利要求1-8中任一项所述的触觉反馈方法。A storage medium, a storage medium storing a computer program, wherein the computer program implements the tactile feedback method according to any one of claims 1-8 when the computer program is processed by a processor.
PCT/CN2019/089230 2019-05-17 2019-05-30 Haptic feedback method, electronic device and storage medium WO2020232738A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910411475.2A CN110231865A (en) 2019-05-17 2019-05-17 Tactile feedback method, electronic equipment and storage medium
CN201910411475.2 2019-05-17

Publications (1)

Publication Number Publication Date
WO2020232738A1 true WO2020232738A1 (en) 2020-11-26

Family

ID=67860734

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/089230 WO2020232738A1 (en) 2019-05-17 2019-05-30 Haptic feedback method, electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN110231865A (en)
WO (1) WO2020232738A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111067708B (en) * 2019-12-27 2022-06-21 长江师范学院 Display method and display system for tactile perception of images
CN111538408A (en) * 2020-04-07 2020-08-14 瑞声科技(新加坡)有限公司 Vibration-based indication method, touch control assembly, terminal and readable storage medium
CN111897524B (en) * 2020-07-06 2022-04-29 瑞声新能源发展(常州)有限公司科教城分公司 Method and system for realizing Haptics haptic effect
CN112130665B (en) * 2020-09-16 2024-02-02 汉得利(常州)电子股份有限公司 Haptic feedback method and device with uniform vibration sense

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130127759A1 (en) * 2011-11-23 2013-05-23 Samsung Electronics Co., Ltd. Haptic feedback method and apparatus and machine-readable storage medium
CN103869960A (en) * 2012-12-18 2014-06-18 富泰华工业(深圳)有限公司 Touch feedback system and touch feedback providing method thereof
CN103902215A (en) * 2012-12-28 2014-07-02 联想(北京)有限公司 Information processing method and electronic devices
CN203720781U (en) * 2013-11-04 2014-07-16 郑世生 Device for sensing image by means of touch sense
CN104685447A (en) * 2012-09-28 2015-06-03 Lg电子株式会社 Display device and control method thereof
CN105607787A (en) * 2015-10-16 2016-05-25 宇龙计算机通信科技(深圳)有限公司 Terminal as well as control method and control device thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109343716B (en) * 2018-11-16 2022-05-10 Oppo广东移动通信有限公司 Image display method and device and computer readable storage medium
CN109634428B (en) * 2018-12-25 2022-05-31 Oppo广东移动通信有限公司 Electronic equipment, feedback prompting method and device and terminal equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130127759A1 (en) * 2011-11-23 2013-05-23 Samsung Electronics Co., Ltd. Haptic feedback method and apparatus and machine-readable storage medium
CN104685447A (en) * 2012-09-28 2015-06-03 Lg电子株式会社 Display device and control method thereof
CN103869960A (en) * 2012-12-18 2014-06-18 富泰华工业(深圳)有限公司 Touch feedback system and touch feedback providing method thereof
CN103902215A (en) * 2012-12-28 2014-07-02 联想(北京)有限公司 Information processing method and electronic devices
CN203720781U (en) * 2013-11-04 2014-07-16 郑世生 Device for sensing image by means of touch sense
CN105607787A (en) * 2015-10-16 2016-05-25 宇龙计算机通信科技(深圳)有限公司 Terminal as well as control method and control device thereof

Also Published As

Publication number Publication date
CN110231865A (en) 2019-09-13

Similar Documents

Publication Publication Date Title
WO2020232738A1 (en) Haptic feedback method, electronic device and storage medium
US9594945B2 (en) Method and apparatus for protecting eyesight
RU2672134C2 (en) Portable terminal and method for providing haptic effect for input unit
CN104915051B (en) Electronic device and haptic feedback control method
US10572017B2 (en) Systems and methods for providing dynamic haptic playback for an augmented or virtual reality environments
US20200007948A1 (en) Video subtitle display method and apparatus
KR20150104808A (en) Electronic device and method for outputing feedback
KR20210072808A (en) Target tracking method and device, smart mobile device and storage medium
EP3761618A1 (en) Mobile terminal and control method therefor
CN104252226A (en) Information processing method and electronic equipment
JP7181375B2 (en) Target object motion recognition method, device and electronic device
CN109145970B (en) Image-based question and answer processing method and device, electronic equipment and storage medium
CN107004073A (en) The method and electronic equipment of a kind of face verification
CN104918107A (en) Video file identification processing method and device
CN109857787B (en) Display method and terminal
CN103631375A (en) Method and apparatus for controlling vibration intensity according to situation awareness in electronic device
CN113761741A (en) Method and apparatus for controlling vibration motor, electronic device, and storage medium
EP2341417A1 (en) Device and method of control
CN107305432B (en) Terminal and method and device for realizing tactile feedback on terminal
CN109302563B (en) Anti-shake processing method and device, storage medium and mobile terminal
CN107005609B (en) Method for operating mobile terminal based on blowing action and mobile terminal
RU2679253C1 (en) Method, device and terminal for processing fingerprint event
KR20200017174A (en) electronic device and method for providing a drawing environment
CN108509127A (en) Start the method, apparatus and computer equipment of record screen task
CN105469411A (en) Method and device used for detecting image definition, and terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19930043

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19930043

Country of ref document: EP

Kind code of ref document: A1