WO2021168900A1 - Method and apparatus for achieving dynamic tactile vibration effect and storage medium - Google Patents
Method and apparatus for achieving dynamic tactile vibration effect and storage medium Download PDFInfo
- Publication number
- WO2021168900A1 WO2021168900A1 PCT/CN2020/078170 CN2020078170W WO2021168900A1 WO 2021168900 A1 WO2021168900 A1 WO 2021168900A1 CN 2020078170 W CN2020078170 W CN 2020078170W WO 2021168900 A1 WO2021168900 A1 WO 2021168900A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- vibration
- condition
- realizing
- motor
- dynamic tactile
- Prior art date
Links
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
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P25/00—Arrangements or methods for the control of AC motors characterised by the kind of AC motor or by structural details
- H02P25/02—Arrangements or methods for the control of AC motors characterised by the kind of AC motor or by structural details characterised by the kind of motor
- H02P25/032—Reciprocating, oscillating or vibrating motors
Definitions
- the present invention relates to the technical field of tactile perception, in particular to a method, device and storage medium for realizing dynamic tactile vibration effects.
- the haptic vibration effect usually uses a linear resonant actuator (Linear Resonance Driver (LRA) motor, LRA motor is a key component in the current mainstream touch feedback solution. Its driving electrical signal directly determines the output of the linear motor's vibration signal, and ultimately affects the user's tactile experience.
- LRA Linear Resonance Driver
- the output of tactile vibration is single and lacks interaction. Once a certain vibration is triggered, only a certain type of tactile vibration effect can be output, and the vibration signal cannot be adjusted. For scenes where the external input has changed, it cannot be adjusted. Achieve dynamic adaptation, especially for continuous and long output application scenarios. Therefore, it is necessary to provide a way to achieve customized dynamic tactile vibration effects, which will greatly improve the personalized experience effects and user satisfaction of electronic products.
- the present invention provides a method, device and storage medium for realizing dynamic tactile vibration effects. By customizing vibration combination modes and dynamic monitoring input conditions, dynamic adjustment of tactile vibration is realized, and dynamic tactile vibration effects are realized.
- Step S10 Set a vibration combination mode and output the vibration combination mode; the vibration combination mode includes a combination of multiple vibration effects;
- Step S20 setting a restoration condition; the restoration condition is used to restore the normal vibration mode and trigger the judgment of the vibration combination mode;
- Step S30 Determine whether the restoration condition is the restoration of the normal vibration mode, and when the restoration condition is the restoration of the normal vibration mode, restore the vibration to the normal vibration mode, otherwise output the vibration combination mode and execute steps S40 and S50;
- Step S40 Set input conditions, the input conditions are used to realize different dynamic tactile vibration effects
- Step S50 detecting the input condition, combining the output vibration combination mode with the input condition for adjustment processing or outputting the vibration of the input condition to obtain a motor driving voltage waveform that drives the motor to vibrate;
- Step S60 output the motor drive voltage waveform to the motor, so that the motor vibrates according to the motor drive voltage waveform.
- step S50 includes:
- Step S510 Detect the input condition once every preset time interval
- Step S520 input the input condition, and convert the input condition into a vibration condition for driving the motor to vibrate;
- Step S530 Determine whether the vibration condition is to insert a new haptic vibration effect, if yes, perform step S540, otherwise, perform step S550;
- Step S540 output the vibration condition as a motor drive voltage waveform that drives the motor to vibrate, and restore the vibration of the vibration combination mode after the motor completes the vibration of the vibration condition;
- Step S550 Adjust the vibration combination mode according to the vibration condition, and output the adjusted vibration combination mode as the motor drive voltage waveform.
- the determination of the recovery condition is performed after the motor completes the vibration of one of the vibration effects in the vibration combination mode, and when the recovery condition is the recovery of the normal vibration mode, the recovery vibration is the normal vibration mode, Otherwise, output the next vibration effect in the vibration combination mode and execute the step S40 and the step S50.
- the vibration effect includes at least one of vibration intensity, vibration duration, interval time, and number of repetitions for driving the motor to vibrate.
- the input condition is an external condition, specifically, the external condition includes a change in the external environment.
- the vibration condition is one or more of the vibration intensity, the vibration duration, the interval time, and the number of repetitions converted according to the input condition.
- the preset time is 10ms-10 seconds.
- the present invention provides a device for realizing dynamic haptic vibration effects.
- the device for realizing dynamic haptic vibration effects includes a memory and a processor.
- the memory stores dynamic haptic vibration effects that can run on the processor.
- An implementation program when the implementation program of the dynamic haptic vibration effect is executed by the processor, the steps of the implementation method of the dynamic haptic vibration effect as described above are implemented.
- the device for realizing the dynamic haptic vibration effect further includes a sensor, and the input condition is input of changes in the external environment of the device for realizing the dynamic haptic vibration effect, including pressure applied to the device for realizing the dynamic haptic vibration effect.
- the sensor converts the input condition into a vibration condition that drives the motor to vibrate.
- the present invention provides a storage medium
- the storage medium is a computer-readable storage medium
- the storage medium stores a program for realizing dynamic haptic vibration effects
- the program for realizing dynamic haptic vibration effects can be configured by one or more programs.
- Each processor executes the steps of the method for realizing the dynamic tactile vibration effect as described above.
- the method, device and storage medium for realizing dynamic tactile vibration effects provided by the present invention can realize dynamic adjustment of tactile vibration and realize dynamic tactile vibration effects by customizing vibration combination modes and dynamic monitoring of input conditions.
- FIG. 1 is a schematic diagram of a process provided by Embodiment 1 of the present invention.
- FIG. 2 is a schematic flowchart of step S50 in FIG. 1;
- FIG. 3 is a schematic diagram of the internal structure of a device for realizing dynamic tactile vibration effects provided by an embodiment of the present invention
- FIG. 4 is a schematic diagram of a program module for realizing dynamic haptic vibration effects in a device for realizing dynamic haptic vibration effects provided by an embodiment of the present invention.
- the present invention provides a method for realizing a dynamic tactile vibration effect.
- the method for realizing a dynamic tactile vibration effect includes:
- Step S10 Set the vibration combination mode and output the vibration combination mode;
- the vibration combination mode includes a combination of multiple vibration effects; specifically, in an embodiment, the vibration combination mode includes 5 different vibration effects Combinations: the first vibration effect, the second vibration effect, the third vibration effect, the fourth vibration effect, and the fifth vibration effect.
- Each vibration effect includes the vibration intensity, vibration duration, interval time, and number of repetitions that drive the motor to vibrate At least one of.
- Step S20 Setting a restoration condition; the restoration condition is used to restore the normal vibration mode and trigger the judgment of the vibration combination mode.
- Step S30 Determine whether the restoration condition is the restoration of the normal vibration mode, and when the restoration condition is the restoration of the normal vibration mode, restore the vibration to the normal vibration mode, otherwise output the vibration combination mode and execute steps S40 and S50.
- Step S40 Set input conditions, the input conditions are used to achieve different dynamic tactile vibration effects; the input conditions are external conditions, specifically, the external conditions include changes in the external environment.
- the input conditions are used to realize different dynamic tactile vibration effects; the input conditions include changes in pressure values and changes in acceleration applied to the device for realizing the dynamic tactile vibration effects.
- the input condition is, for example, a change in pressure value on the screen or surface of the device for implementing the dynamic tactile vibration effect, and another example is a change in the sliding speed of a finger on the screen.
- the input condition is converted into a vibration condition, and the vibration condition is one or more of vibration intensity, vibration duration, interval time, and number of repetitions converted according to the input condition.
- Step S50 detecting the input condition, combining the output vibration combination mode with the input condition for adjustment processing or outputting the vibration of the input condition to obtain a motor driving voltage waveform that drives the motor to vibrate;
- Step S60 output the motor drive voltage waveform to the motor, so that the motor vibrates according to the motor drive voltage waveform.
- the recovery condition is judged.
- the recovery condition is the recovery normal vibration mode
- the recovery vibration is the normal vibration mode, otherwise the output
- the next vibration effect in the vibration combination mode and the step S40 and the step S50 are executed.
- step S50 includes:
- Step S510 The input condition is detected once every preset time; the preset time is set according to the expected vibration effect. Specifically, the preset time is 10ms-10 seconds, and the preset time can be adjusted according to the expected vibration effect. When the preset time is 10ms, the detected problem time is short, and the detection frequency is high. The more sensitive the effect response is; adjusting the preset time setting for detection according to the expected vibration effect can control the final tactile vibration effect.
- Step S520 Input the input condition, and convert the input condition into a vibration condition for driving the motor to vibrate; the vibration condition is the vibration intensity, vibration duration, interval time, and number of repetitions converted according to the input condition One or more of.
- Step S530 It is judged whether the vibration condition is to insert a new tactile vibration effect, if it is, step S540 is executed, otherwise, step S550 is executed.
- Step S540 output the vibration condition as a motor drive voltage waveform that drives the motor to vibrate, and restore the vibration of the vibration combination mode after the motor completes the vibration of the vibration condition.
- Step S550 Adjust the vibration combination mode according to the vibration condition, and output the adjusted vibration combination mode as the motor drive voltage waveform.
- the motor drive voltage waveform is output to the motor, so that the motor vibrates according to the motor drive voltage waveform.
- the input condition is detected cyclically according to the preset time, the input condition is input, and the input condition is converted into a vibration condition for driving the motor to vibrate, and it is determined whether the vibration condition is Insert a new haptic vibration effect, and then insert the vibration condition or adjust the vibration combination mode, output the motor drive voltage waveform, and the motor drive voltage waveform drives the motor to vibrate to realize the dynamic haptic vibration effect.
- the restoration condition can be a judgment condition that is changed by setting the judgment condition to confirm whether the next dynamic tactile vibration effect is achieved or the restoration is Ordinary vibration. Therefore, the method for realizing the dynamic tactile vibration effect provided by the present invention can dynamically adapt to the scene that the external input has changed, and realize the loop detection through the setting of the preset time and the judgment of the vibration condition.
- Application scenarios have relatively better dynamic adaptation.
- the present invention also provides a device for realizing dynamic haptic vibration effects.
- the device for realizing dynamic haptic vibration effects includes a memory and a processor.
- the memory stores dynamics that can run on the processor.
- a program for realizing a haptic vibration effect which implements the steps of the above-mentioned method for realizing a dynamic haptic vibration effect when the program for realizing a dynamic haptic vibration effect is executed by the processor.
- the device for realizing the dynamic tactile vibration effect further includes a sensor, and the input condition is an input of a change in the external environment of the device for realizing the dynamic tactile vibration effect, including a change in the pressure value applied to the device for realizing the dynamic tactile vibration effect
- the sensor can sense changes in the external environment of the device and convert the input conditions into vibration conditions that drive the motor to vibrate.
- the present invention provides a storage medium, the storage medium is a computer-readable storage medium, the storage medium stores a dynamic tactile vibration effect realization program, the dynamic tactile vibration effect realization program can be one or more Each processor executes the steps of the method for realizing the above-mentioned dynamic tactile vibration effect.
- FIG. 3 is a schematic diagram of the internal structure of a device for implementing dynamic haptic vibration effects according to an embodiment of the present invention.
- the device for implementing dynamic haptic vibration effects at least includes a memory 11, a processor 12, a communication bus 13, and a network interface. 14 and sensor 15.
- the memory 11 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, and the like.
- the memory 11 may be an internal storage unit of the device for realizing dynamic haptic vibration effects, for example, a hard disk of the device for realizing dynamic haptic vibration effects.
- the memory 11 may also be an external storage device of the device for realizing dynamic haptic vibration effects, such as a plug-in hard disk equipped on the device for realizing dynamic haptic vibration effects, and a smart memory card (Smart Memory Card).
- the memory 11 may also include both the internal storage unit of the device for realizing the dynamic tactile vibration effect and the external storage device.
- the memory 11 can be used not only to store application software and various data installed in the device for realizing dynamic haptic vibration effects, such as codes for realizing programs of dynamic haptic vibration effects, etc., but also to temporarily store data that has been output or will be output. .
- the processor 12 may be a central processing unit (Central Processing Unit) in some embodiments.
- Central Processing Unit Central Processing Unit
- CPU Central Processing Unit
- controller a controller
- microcontroller a microprocessor or other data processing chips are used to run program codes or processing data stored in the memory 11, for example, to execute programs for realizing dynamic tactile vibration effects.
- the communication bus 13 is used to realize the connection and communication between these components.
- the network interface 14 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface), and is generally used to establish a communication connection between the device for realizing the dynamic tactile vibration effect and other electronic devices.
- a standard wired interface and a wireless interface such as a WI-FI interface
- the sensor 15 is used to dynamically input changes in the external environment of the device, including changes in pressure values and changes in acceleration applied to the device for realizing the dynamic tactile vibration effect.
- the sensor converts the input conditions into driving the motor. Vibration conditions of vibration.
- the device for realizing the dynamic tactile vibration effect may also include a user interface.
- the user interface may include a display (Display) and an input unit such as a keyboard (Keyboard).
- the optional user interface may also include a standard wired interface and a wireless interface.
- the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, etc.
- the display can also be appropriately called a display screen or a display unit, which is used to display the information processed in the device for realizing dynamic tactile vibration effects and to display a visualized user interface.
- FIG. 3 only shows the device for realizing the dynamic tactile vibration effect with the components 11-15 and the program for implementing the dynamic tactile vibration effect.
- the structure shown in FIG. 3 does not constitute a response to the dynamic tactile vibration
- the limitation of the effect realization device may include fewer or more components than shown in the figure, or a combination of certain components, or a different component arrangement.
- a program for realizing dynamic haptic vibration effects is stored in the memory 11; when the processor 12 executes the program for realizing dynamic haptic vibration effects stored in the memory 11, the following steps are implemented :
- Step S10 Set a vibration combination mode and output the vibration combination mode; the vibration combination mode includes a combination of multiple vibration effects;
- Step S20 setting a restoration condition; the restoration condition is used to restore the normal vibration mode and trigger the judgment of the vibration combination mode;
- Step S30 Determine whether the restoration condition is the restoration of the normal vibration mode, and when the restoration condition is the restoration of the normal vibration mode, restore the vibration to the normal vibration mode, otherwise output the vibration combination mode and execute steps S40 and S50;
- Step S40 Set input conditions, the input conditions are used to realize different dynamic tactile vibration effects
- Step S50 detecting the input condition, combining the output vibration combination mode with the input condition for adjustment processing or outputting the vibration of the input condition to obtain a motor driving voltage waveform that drives the motor to vibrate;
- Step S60 output the motor drive voltage waveform to the motor, so that the motor vibrates according to the motor drive voltage waveform.
- the module 10 is a schematic diagram of the program module of the program for realizing dynamic haptic vibration effects in an embodiment of the device for realizing dynamic haptic vibration effects of the present invention.
- the program for realizing dynamic haptic vibration effects can be divided into settings.
- the module 10, the detection module 20, the output module 30, and the drive module 40 are illustratively:
- the setting module 10 is used to set the vibration combination mode and vibration effect
- the detection module 20 is used to detect input conditions
- the output module 30 is used to output the voltage waveform driven by the motor
- the driving module 40 drives the motor to vibrate to obtain a dynamic tactile vibration effect.
- the embodiment of the present invention also provides a storage medium, the storage medium is a computer-readable storage medium, the storage medium stores a program for realizing dynamic haptic vibration effects, and the program for realizing dynamic haptic vibration effects can be One or more processors execute to achieve the following operations:
- Step S10 Set a vibration combination mode and output the vibration combination mode; the vibration combination mode includes a combination of multiple vibration effects;
- Step S20 setting a restoration condition; the restoration condition is used to restore the normal vibration mode and trigger the judgment of the vibration combination mode;
- Step S30 Determine whether the restoration condition is the restoration of the normal vibration mode, and when the restoration condition is the restoration of the normal vibration mode, restore the vibration to the normal vibration mode, otherwise output the vibration combination mode and execute steps S40 and S50;
- Step S40 Set input conditions, the input conditions are used to realize different dynamic tactile vibration effects
- Step S50 detecting the input condition, combining the output vibration combination mode with the input condition for adjustment processing or outputting the vibration of the input condition to obtain a motor driving voltage waveform that drives the motor to vibrate;
- Step S60 output the motor drive voltage waveform to the motor, so that the motor vibrates according to the motor drive voltage waveform.
- the specific implementation of the storage medium of the present invention is basically the same as the foregoing embodiments of the method and device for realizing the dynamic tactile vibration effect, and will not be repeated here.
- the method, device and storage medium for realizing dynamic tactile vibration effects provided by the present invention realize dynamic adjustment of tactile vibration and realize dynamic tactile vibration effects by customizing the vibration combination mode and dynamic monitoring of input conditions. Thereby, the personalized experience effect and user satisfaction of electronic products can be greatly improved.
- sequence numbers of the above-mentioned embodiments of the present invention are only for description, and do not represent the superiority or inferiority of the embodiments.
- the terms “include”, “include” or any other variants thereof in this article are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements not only includes those elements, but also includes those elements that are not explicitly included.
- the other elements listed may also include elements inherent to the process, device, article, or method. If there are no more restrictions, the element defined by the sentence "including one" does not exclude the existence of other identical elements in the process, device, article, or method that includes the element.
- the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM) as described above. , Magnetic disk, optical disk), including several instructions to make a terminal device (can be a drone, a mobile phone, a computer, a server, or a network device, etc.) execute the method described in each embodiment of the present invention.
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)
- Power Engineering (AREA)
- User Interface Of Digital Computer (AREA)
- Apparatuses For Generation Of Mechanical Vibrations (AREA)
Abstract
Provided by the present invention are a method and apparatus for achieving a dynamic tactile vibration effect and a storage medium. The method for achieving a dynamic tactile vibration effect comprises: setting a vibration combination mode and outputting the vibration combination mode; setting a restoration condition; determining whether the restoration condition is a restoration normal vibration mode; setting an input condition; detecting the input condition, and combining the outputted vibration combination mode with the input condition for adjusting or outputting the vibration of the input condition so as to obtain a motor driving voltage waveform that drives a motor to vibrate; and outputting the motor driving voltage waveform to the motor so that the motor vibrates according to the motor driving voltage waveform. In the technical solution provided by the present invention, the vibration combination mode is customized and the input condition is dynamically monitored to achieve the dynamic adjustment of tactile vibration and achieve a dynamic tactile vibration effect.
Description
本发明涉及触觉感知技术领域,尤其涉及一种动态触觉振动效果的实现方法、装置和存储介质。The present invention relates to the technical field of tactile perception, in particular to a method, device and storage medium for realizing dynamic tactile vibration effects.
随着手机和平板等消费电子设备的快速发展与普及应用,通过定制独特的触觉反馈效果以提升用户体验,增强游戏、视频和音乐的效果,直观无误地重建“机械”触觉振动效果。而产生触觉振动效果通常使用线性谐振传动器(Linear
Resonance Driver,LRA)马达,LRA马达作为目前主流触控反馈方案中的关键器件,其驱动电信号直接决定着线性马达振动信号的输出,并最终影响用户的触觉感受。With the rapid development and popularization of consumer electronic devices such as mobile phones and tablets, the unique tactile feedback effects are customized to enhance the user experience, enhance the effects of games, videos and music, and recreate the "mechanical" tactile vibration effects intuitively and without error. The haptic vibration effect usually uses a linear resonant actuator (Linear
Resonance Driver (LRA) motor, LRA motor is a key component in the current mainstream touch feedback solution. Its driving electrical signal directly determines the output of the linear motor's vibration signal, and ultimately affects the user's tactile experience.
但现有技术中触觉振动的输出单一,缺乏交互,一旦触发某个振动,只能输出某一种类的触觉振动效果,也无法再对该振动信号进行调整,对于外部输入已经改变的场景,无法做到动态的适应,特别是对于连续、长输出的应用场景。因此,有必要提供一种可以定制动态触觉振动效果的实现方式,这将会极大程度的提高电子产品的个性化体验效果和用户满意度。However, in the prior art, the output of tactile vibration is single and lacks interaction. Once a certain vibration is triggered, only a certain type of tactile vibration effect can be output, and the vibration signal cannot be adjusted. For scenes where the external input has changed, it cannot be adjusted. Achieve dynamic adaptation, especially for continuous and long output application scenarios. Therefore, it is necessary to provide a way to achieve customized dynamic tactile vibration effects, which will greatly improve the personalized experience effects and user satisfaction of electronic products.
本发明提供一种动态触觉振动效果的实现方法、装置和存储介质,通过定制振动组合模式和动态监控输入条件,实现对触觉振动的动态调节,实现动态的触觉振动效果。The present invention provides a method, device and storage medium for realizing dynamic tactile vibration effects. By customizing vibration combination modes and dynamic monitoring input conditions, dynamic adjustment of tactile vibration is realized, and dynamic tactile vibration effects are realized.
本发明提供的动态触觉振动效果的实现方法包括:The method for realizing the dynamic tactile vibration effect provided by the present invention includes:
步骤S10:设置振动组合模式并输出所述振动组合模式;所述振动组合模式包括多个振动效果的组合;Step S10: Set a vibration combination mode and output the vibration combination mode; the vibration combination mode includes a combination of multiple vibration effects;
步骤S20:设置恢复条件;所述恢复条件用于恢复普通振动模式和触发所述振动组合模式的判断;Step S20: setting a restoration condition; the restoration condition is used to restore the normal vibration mode and trigger the judgment of the vibration combination mode;
步骤S30:判断所述恢复条件是否为恢复普通振动模式,当所述恢复条件为恢复普通振动模式时,恢复振动为普通振动模式,否则输出所述振动组合模式并执行步骤S40和步骤S50;Step S30: Determine whether the restoration condition is the restoration of the normal vibration mode, and when the restoration condition is the restoration of the normal vibration mode, restore the vibration to the normal vibration mode, otherwise output the vibration combination mode and execute steps S40 and S50;
步骤S40:设置输入条件,所述输入条件用于实现不同的动态触觉振动效果;Step S40: Set input conditions, the input conditions are used to realize different dynamic tactile vibration effects;
步骤S50:检测所述输入条件,将所述输出的振动组合模式结合所述输入条件进行调整处理或输出所述输入条件的振动,以得到驱动马达振动的马达驱动电压波形;Step S50: detecting the input condition, combining the output vibration combination mode with the input condition for adjustment processing or outputting the vibration of the input condition to obtain a motor driving voltage waveform that drives the motor to vibrate;
步骤S60:将所述马达驱动电压波形输出至所述马达,以使所述马达根据所述马达驱动电压波形振动。Step S60: output the motor drive voltage waveform to the motor, so that the motor vibrates according to the motor drive voltage waveform.
进一步地,所述步骤S50包括:Further, the step S50 includes:
步骤S510:每间隔预设时间检测一次所述输入条件;Step S510: Detect the input condition once every preset time interval;
步骤S520:输入所述输入条件,并将所述输入条件转换为驱动所述马达振动的振动条件;Step S520: input the input condition, and convert the input condition into a vibration condition for driving the motor to vibrate;
步骤S530:判断所述振动条件是否为插入新的触觉振动效果,如果是则执行步骤S540,否则执行步骤S550;Step S530: Determine whether the vibration condition is to insert a new haptic vibration effect, if yes, perform step S540, otherwise, perform step S550;
步骤S540:将所述振动条件输出为驱动所述马达振动的马达驱动电压波形,在所述马达完成所述振动条件的振动后恢复所述振动组合模式的振动;Step S540: output the vibration condition as a motor drive voltage waveform that drives the motor to vibrate, and restore the vibration of the vibration combination mode after the motor completes the vibration of the vibration condition;
步骤S550:根据所述振动条件对所述振动组合模式进行调整,将调整后的所述振动组合模式输出为所述马达驱动电压波形。Step S550: Adjust the vibration combination mode according to the vibration condition, and output the adjusted vibration combination mode as the motor drive voltage waveform.
进一步地,在所述马达完成所述振动组合模式中的一个所述振动效果的振动后进行所述恢复条件的判断,当所述恢复条件为恢复普通振动模式时,恢复振动为普通振动模式,否则输出所述振动组合模式中的下一个所述振动效果并执行所述步骤S40和所述步骤S50。Further, the determination of the recovery condition is performed after the motor completes the vibration of one of the vibration effects in the vibration combination mode, and when the recovery condition is the recovery of the normal vibration mode, the recovery vibration is the normal vibration mode, Otherwise, output the next vibration effect in the vibration combination mode and execute the step S40 and the step S50.
进一步地,所述振动效果包括驱动所述马达振动的振动强度、振动时长、间隔时间和重复次数中的至少一种。Further, the vibration effect includes at least one of vibration intensity, vibration duration, interval time, and number of repetitions for driving the motor to vibrate.
进一步地,所述输入条件为外部条件,具体地,所述外部条件包括外部环境的变化。Further, the input condition is an external condition, specifically, the external condition includes a change in the external environment.
进一步地,所述振动条件为根据所述输入条件转换的振动强度、振动时长、间隔时间和重复次数中的一种或多种。Further, the vibration condition is one or more of the vibration intensity, the vibration duration, the interval time, and the number of repetitions converted according to the input condition.
进一步地,所述预设时间为10ms-10秒。Further, the preset time is 10ms-10 seconds.
此外,本发明提供一种动态触觉振动效果的实现装置,所述动态触觉振动效果的实现装置包括存储器和处理器,所述存储器上存储有可在所述处理器上运行的动态触觉振动效果的实现程序,所动态触觉振动效果的实现程序被所述处理器执行时实现如上述的动态触觉振动效果的实现方法的步骤。In addition, the present invention provides a device for realizing dynamic haptic vibration effects. The device for realizing dynamic haptic vibration effects includes a memory and a processor. The memory stores dynamic haptic vibration effects that can run on the processor. An implementation program, when the implementation program of the dynamic haptic vibration effect is executed by the processor, the steps of the implementation method of the dynamic haptic vibration effect as described above are implemented.
优选地,所述动态触觉振动效果的实现装置还包括传感器,所述输入条件为输入所述动态触觉振动效果的实现装置的外部环境变化,包括施加在所述动态触觉振动效果的实现装置的压力值的变化以及加速度的变化,所述传感器将所述输入条件转换为驱动所述马达振动的振动条件。Preferably, the device for realizing the dynamic haptic vibration effect further includes a sensor, and the input condition is input of changes in the external environment of the device for realizing the dynamic haptic vibration effect, including pressure applied to the device for realizing the dynamic haptic vibration effect. The sensor converts the input condition into a vibration condition that drives the motor to vibrate.
同时,本发明提供一种存储介质,所述存储介质为计算机可读存储介质,所述存储介质上存储有动态触觉振动效果的实现程序,所述动态触觉振动效果的实现程序可被一个或者多个处理器执行,以实现如上述的动态触觉振动效果的实现方法的步骤。At the same time, the present invention provides a storage medium, the storage medium is a computer-readable storage medium, the storage medium stores a program for realizing dynamic haptic vibration effects, and the program for realizing dynamic haptic vibration effects can be configured by one or more programs. Each processor executes the steps of the method for realizing the dynamic tactile vibration effect as described above.
与现有技术相比,本发明提供的动态触觉振动效果的实现方法、装置和存储介质,通过定制振动组合模式和动态监控输入条件,实现对触觉振动的动态调节,实现动态的触觉振动效果。Compared with the prior art, the method, device and storage medium for realizing dynamic tactile vibration effects provided by the present invention can realize dynamic adjustment of tactile vibration and realize dynamic tactile vibration effects by customizing vibration combination modes and dynamic monitoring of input conditions.
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图,其中:In order to explain the technical solutions in the embodiments of the present invention more clearly, the following will briefly introduce the drawings needed in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative work, other drawings can be obtained based on these drawings, among which:
图1为本发明实施例一提供的流程示意图;FIG. 1 is a schematic diagram of a process provided by Embodiment 1 of the present invention;
图2为图1中的步骤S50的流程示意图;FIG. 2 is a schematic flowchart of step S50 in FIG. 1;
图3为本发明一实施例提供的动态触觉振动效果的实现装置内部结构示意图;3 is a schematic diagram of the internal structure of a device for realizing dynamic tactile vibration effects provided by an embodiment of the present invention;
图4为本发明一实施例提供的动态触觉振动效果的实现装置中的动态触觉振动效果的实现程序模块示意图。4 is a schematic diagram of a program module for realizing dynamic haptic vibration effects in a device for realizing dynamic haptic vibration effects provided by an embodiment of the present invention.
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明的一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
请参阅图1,本发明提供一种动态触觉振动效果的实现方法,所述动态触觉振动效果的实现方法包括:Referring to FIG. 1, the present invention provides a method for realizing a dynamic tactile vibration effect. The method for realizing a dynamic tactile vibration effect includes:
步骤S10:设置振动组合模式并输出所述振动组合模式;所述振动组合模式包括多个振动效果的组合;具体地,在一实施例中,所述振动组合模式包括5个不同的振动效果的组合:第一振动效果、第二振动效果、第三振动效果、第四振动效果和第五振动效果,每一振动效果包括驱动所述马达振动的振动强度、振动时长、间隔时间和重复次数中的至少一种。Step S10: Set the vibration combination mode and output the vibration combination mode; the vibration combination mode includes a combination of multiple vibration effects; specifically, in an embodiment, the vibration combination mode includes 5 different vibration effects Combinations: the first vibration effect, the second vibration effect, the third vibration effect, the fourth vibration effect, and the fifth vibration effect. Each vibration effect includes the vibration intensity, vibration duration, interval time, and number of repetitions that drive the motor to vibrate At least one of.
步骤S20:设置恢复条件;所述恢复条件用于恢复普通振动模式和触发所述振动组合模式的判断。Step S20: Setting a restoration condition; the restoration condition is used to restore the normal vibration mode and trigger the judgment of the vibration combination mode.
步骤S30:判断所述恢复条件是否为恢复普通振动模式,当所述恢复条件为恢复普通振动模式时,恢复振动为普通振动模式,否则输出所述振动组合模式并执行步骤S40和步骤S50。Step S30: Determine whether the restoration condition is the restoration of the normal vibration mode, and when the restoration condition is the restoration of the normal vibration mode, restore the vibration to the normal vibration mode, otherwise output the vibration combination mode and execute steps S40 and S50.
步骤S40:设置输入条件,所述输入条件用于实现不同的动态触觉振动效果;所述输入条件为外部条件,具体地,所述外部条件包括外部环境的变化。所述输入条件用于实现不同的动态触觉振动效果;所述输入条件包括施加在所述动态触觉振动效果的实现装置的压力值的变化以及加速度的变化。在一实施例中,所述输入条件例如是按在所述动态触觉振动效果的实现装置的屏幕或者表面的压力值的变化,另一个例子是手指在屏幕上的滑动速度的变化。进一步地,所述输入条件转换为振动条件,所述振动条件为根据所述输入条件转换的振动强度、振动时长、间隔时间和重复次数中的一种或多种。Step S40: Set input conditions, the input conditions are used to achieve different dynamic tactile vibration effects; the input conditions are external conditions, specifically, the external conditions include changes in the external environment. The input conditions are used to realize different dynamic tactile vibration effects; the input conditions include changes in pressure values and changes in acceleration applied to the device for realizing the dynamic tactile vibration effects. In an embodiment, the input condition is, for example, a change in pressure value on the screen or surface of the device for implementing the dynamic tactile vibration effect, and another example is a change in the sliding speed of a finger on the screen. Further, the input condition is converted into a vibration condition, and the vibration condition is one or more of vibration intensity, vibration duration, interval time, and number of repetitions converted according to the input condition.
步骤S50:检测所述输入条件,将所述输出的振动组合模式结合所述输入条件进行调整处理或输出所述输入条件的振动,以得到驱动马达振动的马达驱动电压波形;Step S50: detecting the input condition, combining the output vibration combination mode with the input condition for adjustment processing or outputting the vibration of the input condition to obtain a motor driving voltage waveform that drives the motor to vibrate;
步骤S60:将所述马达驱动电压波形输出至所述马达,以使所述马达根据所述马达驱动电压波形振动。Step S60: output the motor drive voltage waveform to the motor, so that the motor vibrates according to the motor drive voltage waveform.
在所述马达完成所述振动组合模式中的一个所述振动效果的振动后进行所述恢复条件的判断,当所述恢复条件为恢复普通振动模式时,恢复振动为普通振动模式,否则输出所述振动组合模式中的下一个所述振动效果并执行所述步骤S40和所述步骤S50。After the motor completes the vibration of one of the vibration effects in the vibration combination mode, the recovery condition is judged. When the recovery condition is the recovery normal vibration mode, the recovery vibration is the normal vibration mode, otherwise the output The next vibration effect in the vibration combination mode and the step S40 and the step S50 are executed.
请参阅图2,具体地,步骤S50包括:Please refer to FIG. 2. Specifically, step S50 includes:
步骤S510:每间隔预设时间检测一次所述输入条件;所述预设时间根据预期的所述振动效果进行设置。具体地,所述预设时间为10ms-10秒,所述预设时间可根据预期的振动效果调整设置,当预设时间为10ms时,检测的问题时间短,检测频率高,对预期的振动效果反应越灵敏;根据预期的振动效果调整对检测的预设时间设置,能够控制最终带来的触觉振动效果。Step S510: The input condition is detected once every preset time; the preset time is set according to the expected vibration effect. Specifically, the preset time is 10ms-10 seconds, and the preset time can be adjusted according to the expected vibration effect. When the preset time is 10ms, the detected problem time is short, and the detection frequency is high. The more sensitive the effect response is; adjusting the preset time setting for detection according to the expected vibration effect can control the final tactile vibration effect.
步骤S520:输入所述输入条件,并将所述输入条件转换为驱动所述马达振动的振动条件;所述振动条件为根据所述输入条件转换的振动强度、振动时长、间隔时间和重复次数中的一种或多种。Step S520: Input the input condition, and convert the input condition into a vibration condition for driving the motor to vibrate; the vibration condition is the vibration intensity, vibration duration, interval time, and number of repetitions converted according to the input condition One or more of.
步骤S530:判断所述振动条件是否为插入新的触觉振动效果,如果是则执行步骤S540,否则执行步骤S550。Step S530: It is judged whether the vibration condition is to insert a new tactile vibration effect, if it is, step S540 is executed, otherwise, step S550 is executed.
步骤S540:将所述振动条件输出为驱动所述马达振动的马达驱动电压波形,在所述马达完成所述振动条件的振动后恢复所述振动组合模式的振动。Step S540: output the vibration condition as a motor drive voltage waveform that drives the motor to vibrate, and restore the vibration of the vibration combination mode after the motor completes the vibration of the vibration condition.
步骤S550:根据所述振动条件对所述振动组合模式进行调整,将调整后的所述振动组合模式输出为所述马达驱动电压波形。Step S550: Adjust the vibration combination mode according to the vibration condition, and output the adjusted vibration combination mode as the motor drive voltage waveform.
进一步地,将所述马达驱动电压波形输出至所述马达,以使所述马达根据所述马达驱动电压波形振动。Further, the motor drive voltage waveform is output to the motor, so that the motor vibrates according to the motor drive voltage waveform.
具体在一实施例中,根据所述预设时间循环检测所述输入条件,输入所述输入条件,并将所述输入条件转换为驱动所述马达振动的振动条件,判断所述振动条件是否为插入新的触觉振动效果,进而插入所述振动条件或者对所述振动组合模式进行调整,输出所述马达驱动电压波形,所述马达驱动电压波形驱动马达振动实现动态触觉振动效果。当完成本次振动效果后,通过返回步骤S30,重新判断恢复条件是否为恢复普通振动模式,所述恢复条件可以是通过设置改变的判断条件,以确认是否实现下一个动态触觉振动效果还是恢复为普通振动。因此,本发明提供的动态触觉振动效果的实现方法能够对外部输入已经改变的场景做到动态的适应,并且通过预设时间的设置以及振动条件的判断,实现循环检测,对于连续、长输出的应用场景具有相对更好的动态适应。In an embodiment, the input condition is detected cyclically according to the preset time, the input condition is input, and the input condition is converted into a vibration condition for driving the motor to vibrate, and it is determined whether the vibration condition is Insert a new haptic vibration effect, and then insert the vibration condition or adjust the vibration combination mode, output the motor drive voltage waveform, and the motor drive voltage waveform drives the motor to vibrate to realize the dynamic haptic vibration effect. When this vibration effect is completed, return to step S30 to re-determine whether the restoration condition is to restore the normal vibration mode. The restoration condition can be a judgment condition that is changed by setting the judgment condition to confirm whether the next dynamic tactile vibration effect is achieved or the restoration is Ordinary vibration. Therefore, the method for realizing the dynamic tactile vibration effect provided by the present invention can dynamically adapt to the scene that the external input has changed, and realize the loop detection through the setting of the preset time and the judgment of the vibration condition. Application scenarios have relatively better dynamic adaptation.
为实现上述目的,本发明还提供一种动态触觉振动效果的实现装置,所述动态触觉振动效果的实现装置包括存储器和处理器,所述存储器上存储有可在所述处理器上运行的动态触觉振动效果的实现程序,所述动态触觉振动效果的实现程序被所述处理器执行时实现上述的动态触觉振动效果的实现方法的步骤。To achieve the above objective, the present invention also provides a device for realizing dynamic haptic vibration effects. The device for realizing dynamic haptic vibration effects includes a memory and a processor. The memory stores dynamics that can run on the processor. A program for realizing a haptic vibration effect, which implements the steps of the above-mentioned method for realizing a dynamic haptic vibration effect when the program for realizing a dynamic haptic vibration effect is executed by the processor.
所述动态触觉振动效果的实现装置还包括传感器,所述输入条件为输入所述动态触觉振动效果的实现装置的外部环境变化,包括施加在所述动态触觉振动效果的实现装置的压力值的变化以及加速度的变化,所述传感器能够感知装置外部环境的变化并将所述输入条件转换为驱动所述马达振动的振动条件。The device for realizing the dynamic tactile vibration effect further includes a sensor, and the input condition is an input of a change in the external environment of the device for realizing the dynamic tactile vibration effect, including a change in the pressure value applied to the device for realizing the dynamic tactile vibration effect As well as changes in acceleration, the sensor can sense changes in the external environment of the device and convert the input conditions into vibration conditions that drive the motor to vibrate.
此外,本发明提供一种存储介质,所述存储介质为计算机可读存储介质,所述存储介质上存储有动态触觉振动效果的实现程序,所述动态触觉振动效果的实现程序可被一个或者多个处理器执行,以实现上述的动态触觉振动效果的实现方法的步骤。In addition, the present invention provides a storage medium, the storage medium is a computer-readable storage medium, the storage medium stores a dynamic tactile vibration effect realization program, the dynamic tactile vibration effect realization program can be one or more Each processor executes the steps of the method for realizing the above-mentioned dynamic tactile vibration effect.
请参阅图3,是本发明实施例提供了一种动态触觉振动效果的实现装置的内部结构示意图,所述动态触觉振动效果的实现装置至少包括存储器11、处理器12、通信总线13、网络接口14以及传感器15。Please refer to FIG. 3, which is a schematic diagram of the internal structure of a device for implementing dynamic haptic vibration effects according to an embodiment of the present invention. The device for implementing dynamic haptic vibration effects at least includes a memory 11, a processor 12, a communication bus 13, and a network interface. 14 and sensor 15.
其中,存储器11至少包括一种类型的可读存储介质,所述可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、磁性存储器、磁盘、光盘等。存储器11在一些实施例中可以是动态触觉振动效果的实现装置的内部存储单元,例如该动态触觉振动效果的实现装置的硬盘。存储器11在另一些实施例中也可以是动态触觉振动效果的实现装置的外部存储设备,例如动态触觉振动效果的实现装置上配备的插接式硬盘,智能存储卡(Smart
Media Card,SMC),安全数字(Secure
Digital,SD)卡,闪存卡(Flash
Card)等。进一步地,存储器11还可以既包括动态触觉振动效果的实现装置的内部存储单元也包括外部存储设备。存储器11不仅可以用于存储安装于动态触觉振动效果的实现装置的应用软件及各类数据,例如动态触觉振动效果的实现程序的代码等,还可以用于暂时地存储已经输出或者将要输出的数据。The memory 11 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, and the like. In some embodiments, the memory 11 may be an internal storage unit of the device for realizing dynamic haptic vibration effects, for example, a hard disk of the device for realizing dynamic haptic vibration effects. In other embodiments, the memory 11 may also be an external storage device of the device for realizing dynamic haptic vibration effects, such as a plug-in hard disk equipped on the device for realizing dynamic haptic vibration effects, and a smart memory card (Smart Memory Card).
Media Card, SMC), Secure Digital (Secure
Digital, SD) card, flash memory card (Flash
Card) and so on. Further, the memory 11 may also include both the internal storage unit of the device for realizing the dynamic tactile vibration effect and the external storage device. The memory 11 can be used not only to store application software and various data installed in the device for realizing dynamic haptic vibration effects, such as codes for realizing programs of dynamic haptic vibration effects, etc., but also to temporarily store data that has been output or will be output. .
处理器12在一些实施例中可以是一中央处理器(Central
Processing Unit,CPU)、控制器、微控制器、微处理器或其他数据处理芯片,用于运行存储器11中存储的程序代码或处理数据,例如执行动态触觉振动效果的实现程序等。The processor 12 may be a central processing unit (Central Processing Unit) in some embodiments.
Processing Unit (CPU), a controller, a microcontroller, a microprocessor or other data processing chips are used to run program codes or processing data stored in the memory 11, for example, to execute programs for realizing dynamic tactile vibration effects.
通信总线13用于实现这些组件之间的连接通信。The communication bus 13 is used to realize the connection and communication between these components.
网络接口14可选的可以包括标准的有线接口、无线接口(如WI-FI接口),通常用于在该动态触觉振动效果的实现装置与其他电子设备之间建立通信连接。The network interface 14 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface), and is generally used to establish a communication connection between the device for realizing the dynamic tactile vibration effect and other electronic devices.
传感器15用于动态输入所述装置的外部环境变化,包括施加在所述动态触觉振动效果的实现装置的压力值的变化以及加速度的变化,所述传感器将所述输入条件转换为驱动所述马达振动的振动条件。The sensor 15 is used to dynamically input changes in the external environment of the device, including changes in pressure values and changes in acceleration applied to the device for realizing the dynamic tactile vibration effect. The sensor converts the input conditions into driving the motor. Vibration conditions of vibration.
可选地,该动态触觉振动效果的实现装置还可以包括用户接口,用户接口可以包括显示器(Display)、输入单元比如键盘(Keyboard),可选的用户接口还可以包括标准的有线接口、无线接口。可选地,在一些实施例中,显示器可以是LED显示器、液晶显示器、触控式液晶显示器以及OLED(Organic
Light-Emitting Diode,有机发光二极管)触摸器等。其中,显示器也可以适当的称为显示屏或显示单元,用于显示在动态触觉振动效果的实现装置中处理的信息以及用于显示可视化的用户界面。Optionally, the device for realizing the dynamic tactile vibration effect may also include a user interface. The user interface may include a display (Display) and an input unit such as a keyboard (Keyboard). The optional user interface may also include a standard wired interface and a wireless interface. . Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic
Light-Emitting Diode, organic light-emitting diode) touch device, etc. Among them, the display can also be appropriately called a display screen or a display unit, which is used to display the information processed in the device for realizing dynamic tactile vibration effects and to display a visualized user interface.
图3仅示出了具有组件11-15以及动态触觉振动效果的实现程序的动态触觉振动效果的实现装置,本领域技术人员可以理解的是,图3示出的结构并不构成对动态触觉振动效果的实现装置的限定,可以包括比图示更少或者更多的部件,或者组合某些部件,或者不同的部件布置。FIG. 3 only shows the device for realizing the dynamic tactile vibration effect with the components 11-15 and the program for implementing the dynamic tactile vibration effect. Those skilled in the art can understand that the structure shown in FIG. 3 does not constitute a response to the dynamic tactile vibration The limitation of the effect realization device may include fewer or more components than shown in the figure, or a combination of certain components, or a different component arrangement.
在图3所示的动态触觉振动效果的实现装置实施例中,存储器11中存储有动态触觉振动效果的实现程序;处理器12执行存储器11中存储的动态触觉振动效果的实现程序时实现如下步骤:In the embodiment of the device for realizing dynamic haptic vibration effects shown in FIG. 3, a program for realizing dynamic haptic vibration effects is stored in the memory 11; when the processor 12 executes the program for realizing dynamic haptic vibration effects stored in the memory 11, the following steps are implemented :
步骤S10:设置振动组合模式并输出所述振动组合模式;所述振动组合模式包括多个振动效果的组合;Step S10: Set a vibration combination mode and output the vibration combination mode; the vibration combination mode includes a combination of multiple vibration effects;
步骤S20:设置恢复条件;所述恢复条件用于恢复普通振动模式和触发所述振动组合模式的判断;Step S20: setting a restoration condition; the restoration condition is used to restore the normal vibration mode and trigger the judgment of the vibration combination mode;
步骤S30:判断所述恢复条件是否为恢复普通振动模式,当所述恢复条件为恢复普通振动模式时,恢复振动为普通振动模式,否则输出所述振动组合模式并执行步骤S40和步骤S50;Step S30: Determine whether the restoration condition is the restoration of the normal vibration mode, and when the restoration condition is the restoration of the normal vibration mode, restore the vibration to the normal vibration mode, otherwise output the vibration combination mode and execute steps S40 and S50;
步骤S40:设置输入条件,所述输入条件用于实现不同的动态触觉振动效果;Step S40: Set input conditions, the input conditions are used to realize different dynamic tactile vibration effects;
步骤S50:检测所述输入条件,将所述输出的振动组合模式结合所述输入条件进行调整处理或输出所述输入条件的振动,以得到驱动马达振动的马达驱动电压波形;Step S50: detecting the input condition, combining the output vibration combination mode with the input condition for adjustment processing or outputting the vibration of the input condition to obtain a motor driving voltage waveform that drives the motor to vibrate;
步骤S60:将所述马达驱动电压波形输出至所述马达,以使所述马达根据所述马达驱动电压波形振动。Step S60: output the motor drive voltage waveform to the motor, so that the motor vibrates according to the motor drive voltage waveform.
参照图4所示,为本发明动态触觉振动效果的实现装置一实施例中的动态触觉振动效果的实现程序的程序模块示意图,该实施例中,动态触觉振动效果的实现程序可以被分割为设置模块10、检测模块20、输出模块30和驱动模块40,示例性地:4, which is a schematic diagram of the program module of the program for realizing dynamic haptic vibration effects in an embodiment of the device for realizing dynamic haptic vibration effects of the present invention. In this embodiment, the program for realizing dynamic haptic vibration effects can be divided into settings. The module 10, the detection module 20, the output module 30, and the drive module 40 are illustratively:
设置模块10,用于设置振动组合模式、振动效果;The setting module 10 is used to set the vibration combination mode and vibration effect;
检测模块20,用于检测输入条件;The detection module 20 is used to detect input conditions;
输出模块30,用于输出所述马达驱动的电压波形;The output module 30 is used to output the voltage waveform driven by the motor;
驱动模块40,驱动马达振动得到动态触觉振动效果。The driving module 40 drives the motor to vibrate to obtain a dynamic tactile vibration effect.
上述设置模块10、检测模块20、输出模块30和驱动模块40等程序模块被执行时所实现的功能或操作步骤与上述实施例大体相同,在此不再赘述。The functions or operation steps implemented by the program modules such as the setting module 10, the detection module 20, the output module 30, and the drive module 40 when executed are substantially the same as those in the foregoing embodiment, and will not be repeated here.
此外,本发明实施例还提出一种存储介质,所述存储介质为计算机可读存储介质,所述存储介质上存储有动态触觉振动效果的实现程序,所述动态触觉振动效果的实现程序可被一个或多个处理器执行,以实现如下操作:In addition, the embodiment of the present invention also provides a storage medium, the storage medium is a computer-readable storage medium, the storage medium stores a program for realizing dynamic haptic vibration effects, and the program for realizing dynamic haptic vibration effects can be One or more processors execute to achieve the following operations:
步骤S10:设置振动组合模式并输出所述振动组合模式;所述振动组合模式包括多个振动效果的组合;Step S10: Set a vibration combination mode and output the vibration combination mode; the vibration combination mode includes a combination of multiple vibration effects;
步骤S20:设置恢复条件;所述恢复条件用于恢复普通振动模式和触发所述振动组合模式的判断;Step S20: setting a restoration condition; the restoration condition is used to restore the normal vibration mode and trigger the judgment of the vibration combination mode;
步骤S30:判断所述恢复条件是否为恢复普通振动模式,当所述恢复条件为恢复普通振动模式时,恢复振动为普通振动模式,否则输出所述振动组合模式并执行步骤S40和步骤S50;Step S30: Determine whether the restoration condition is the restoration of the normal vibration mode, and when the restoration condition is the restoration of the normal vibration mode, restore the vibration to the normal vibration mode, otherwise output the vibration combination mode and execute steps S40 and S50;
步骤S40:设置输入条件,所述输入条件用于实现不同的动态触觉振动效果;Step S40: Set input conditions, the input conditions are used to realize different dynamic tactile vibration effects;
步骤S50:检测所述输入条件,将所述输出的振动组合模式结合所述输入条件进行调整处理或输出所述输入条件的振动,以得到驱动马达振动的马达驱动电压波形;Step S50: detecting the input condition, combining the output vibration combination mode with the input condition for adjustment processing or outputting the vibration of the input condition to obtain a motor driving voltage waveform that drives the motor to vibrate;
步骤S60:将所述马达驱动电压波形输出至所述马达,以使所述马达根据所述马达驱动电压波形振动。Step S60: output the motor drive voltage waveform to the motor, so that the motor vibrates according to the motor drive voltage waveform.
本发明的存储介质具体实施方式与上述动态触觉振动效果的实现方法和装置各实施例基本相同,在此不作累述。The specific implementation of the storage medium of the present invention is basically the same as the foregoing embodiments of the method and device for realizing the dynamic tactile vibration effect, and will not be repeated here.
与现有技术相比,本发明提供的动态触觉振动效果的实现方法、装置和存储介质,通过定制振动组合模式和动态监控输入条件,实现对触觉振动的动态调节,实现动态的触觉振动效果,从而能够极大程度的提高电子产品的个性化体验效果和用户满意度。Compared with the prior art, the method, device and storage medium for realizing dynamic tactile vibration effects provided by the present invention realize dynamic adjustment of tactile vibration and realize dynamic tactile vibration effects by customizing the vibration combination mode and dynamic monitoring of input conditions. Thereby, the personalized experience effect and user satisfaction of electronic products can be greatly improved.
需要说明的是,上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。并且本文中的术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、装置、物品或者方法不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、装置、物品或者方法所固有的要素。在没有更多限制的情况下,由语句“包括一……”限定的要素,并不排除在包括该要素的过程、装置、物品或者方法中还存在另外的相同要素。It should be noted that the sequence numbers of the above-mentioned embodiments of the present invention are only for description, and do not represent the superiority or inferiority of the embodiments. And the terms "include", "include" or any other variants thereof in this article are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements not only includes those elements, but also includes those elements that are not explicitly included. The other elements listed may also include elements inherent to the process, device, article, or method. If there are no more restrictions, the element defined by the sentence "including one..." does not exclude the existence of other identical elements in the process, device, article, or method that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是无人机、手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above implementation manners, those skilled in the art can clearly understand that the above-mentioned embodiment method can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM) as described above. , Magnetic disk, optical disk), including several instructions to make a terminal device (can be a drone, a mobile phone, a computer, a server, or a network device, etc.) execute the method described in each embodiment of the present invention.
注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only the preferred embodiments of the present invention and the applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions can be made to those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention. The scope of is determined by the scope of the appended claims.
Claims (10)
- 一种动态触觉振动效果的实现方法,其特征在于,所述方法包括:A method for realizing dynamic tactile vibration effects, characterized in that the method includes:步骤S10:设置振动组合模式并输出所述振动组合模式;所述振动组合模式包括多个振动效果的组合;Step S10: Set a vibration combination mode and output the vibration combination mode; the vibration combination mode includes a combination of multiple vibration effects;步骤S20:设置恢复条件;所述恢复条件用于恢复普通振动模式和触发所述振动组合模式的判断;Step S20: setting a restoration condition; the restoration condition is used to restore the normal vibration mode and trigger the judgment of the vibration combination mode;步骤S30:判断所述恢复条件是否为恢复普通振动模式,当所述恢复条件为恢复普通振动模式时,恢复振动为普通振动模式,否则输出所述振动组合模式并执行步骤S40和步骤S50;Step S30: Determine whether the restoration condition is the restoration of the normal vibration mode, and when the restoration condition is the restoration of the normal vibration mode, restore the vibration to the normal vibration mode, otherwise output the vibration combination mode and execute steps S40 and S50;步骤S40:设置输入条件,所述输入条件用于实现不同的动态触觉振动效果;Step S40: Set input conditions, the input conditions are used to realize different dynamic tactile vibration effects;步骤S50:检测所述输入条件,将所述输出的振动组合模式结合所述输入条件进行调整处理或输出所述输入条件的振动,以得到驱动马达振动的马达驱动电压波形;Step S50: detecting the input condition, combining the output vibration combination mode with the input condition for adjustment processing or outputting the vibration of the input condition to obtain a motor driving voltage waveform that drives the motor to vibrate;步骤S60:将所述马达驱动电压波形输出至所述马达,以使所述马达根据所述马达驱动电压波形振动。Step S60: output the motor drive voltage waveform to the motor, so that the motor vibrates according to the motor drive voltage waveform.
- 根据权利要求1所述的动态触觉振动效果的实现方法,其特征在于,所述步骤S50包括:The method for realizing dynamic tactile vibration effects according to claim 1, wherein the step S50 comprises:步骤S510:每间隔预设时间检测一次所述输入条件;Step S510: Detect the input condition once every preset time interval;步骤S520:输入所述输入条件,并将所述输入条件转换为驱动所述马达振动的振动条件;Step S520: input the input condition, and convert the input condition into a vibration condition for driving the motor to vibrate;步骤S530:判断所述振动条件是否为插入新的触觉振动效果,如果是则执行步骤S540,否则执行步骤S550;Step S530: Determine whether the vibration condition is to insert a new haptic vibration effect, if yes, perform step S540, otherwise, perform step S550;步骤S540:将所述振动条件输出为驱动所述马达振动的马达驱动电压波形,在所述马达完成所述振动条件的振动后恢复所述振动组合模式的振动;Step S540: output the vibration condition as a motor drive voltage waveform that drives the motor to vibrate, and restore the vibration of the vibration combination mode after the motor completes the vibration of the vibration condition;步骤S550:根据所述振动条件对所述振动组合模式进行调整,将调整后的所述振动组合模式输出为所述马达驱动电压波形。Step S550: Adjust the vibration combination mode according to the vibration condition, and output the adjusted vibration combination mode as the motor drive voltage waveform.
- 根据权利要求1或2所述的动态触觉振动效果的实现方法,其特征在于,在所述马达完成所述振动组合模式中的一个所述振动效果的振动后进行所述恢复条件的判断,当所述恢复条件为恢复普通振动模式时,恢复振动为普通振动模式,否则输出所述振动组合模式中的下一个所述振动效果并执行所述步骤S40和所述步骤S50。The method for realizing a dynamic tactile vibration effect according to claim 1 or 2, characterized in that the determination of the recovery condition is performed after the motor completes the vibration of one of the vibration effects in the vibration combination mode, and when When the restoration condition is to restore the normal vibration mode, restore the vibration to the normal vibration mode; otherwise, output the next vibration effect in the vibration combination mode and execute the step S40 and the step S50.
- 根据权利要求3所述的动态触觉振动效果的实现方法,其特征在于,所述振动效果包括驱动所述马达振动的振动强度、振动时长、间隔时间和重复次数中的至少一种。The method for realizing a dynamic tactile vibration effect according to claim 3, wherein the vibration effect includes at least one of vibration intensity, vibration duration, interval time, and number of repetitions for driving the motor to vibrate.
- 根据权利要求2所述的动态触觉振动效果的实现方法,其特征在于,所述输入条件为外部条件,具体地,所述外部条件包括外部环境的变化。The method for realizing a dynamic tactile vibration effect according to claim 2, wherein the input condition is an external condition, specifically, the external condition includes a change in the external environment.
- 根据权利要求2所述的动态触觉振动效果的实现方法,其特征在于,所述振动条件为根据所述输入条件转换的振动强度、振动时长、间隔时间和重复次数中的一种或多种。The method for realizing a dynamic tactile vibration effect according to claim 2, wherein the vibration condition is one or more of vibration intensity, vibration duration, interval time, and number of repetitions converted according to the input condition.
- 根据权利要求2所述的动态触觉振动效果的实现方法,其特征在于,所述预设时间为10ms-10秒。The method for realizing a dynamic tactile vibration effect according to claim 2, wherein the preset time is 10ms-10 seconds.
- 一种动态触觉振动效果的实现装置,其特征在于,所述动态触觉振动效果的实现装置包括存储器和处理器,所述存储器上存储有可在所述处理器上运行的动态触觉振动效果的实现程序,所动态触觉振动效果的实现程序被所述处理器执行时实现如权利要求1至7中任一项所述的动态触觉振动效果的实现方法的步骤。A device for realizing a dynamic tactile vibration effect, characterized in that the device for realizing a dynamic tactile vibration effect includes a memory and a processor, and the memory stores the realization of the dynamic tactile vibration effect that can run on the processor A program for realizing the dynamic haptic vibration effect when the program is executed by the processor to realize the steps of the method for realizing the dynamic haptic vibration effect according to any one of claims 1 to 7.
- 根据权利要求8所述的动态触觉振动效果的实现装置,其特征在于,所述动态触觉振动效果的实现装置还包括传感器,所述输入条件为输入所述动态触觉振动效果的实现装置的外部环境变化,包括施加在所述动态触觉振动效果的实现装置的压力值的变化以及加速度的变化,所述传感器将所述输入条件转换为驱动所述马达振动的振动条件。The device for realizing a dynamic tactile vibration effect according to claim 8, wherein the device for realizing the dynamic tactile vibration effect further comprises a sensor, and the input condition is inputting the external environment of the device for realizing the dynamic tactile vibration effect The change includes a change in pressure value and a change in acceleration applied to the device for realizing the dynamic tactile vibration effect, and the sensor converts the input condition into a vibration condition that drives the motor to vibrate.
- 一种存储介质,其特征在于,所述存储介质为计算机可读存储介质,所述存储介质上存储有动态触觉振动效果的实现程序,所述动态触觉振动效果的实现程序可被一个或者多个处理器执行,以实现如权利要求1至7中任一项所述的动态触觉振动效果的实现方法的步骤。A storage medium, characterized in that the storage medium is a computer-readable storage medium, the storage medium stores a program for realizing dynamic haptic vibration effects, and the program for realizing dynamic haptic vibration effects can be configured by one or more The processor executes the steps of the method for realizing the dynamic tactile vibration effect according to any one of claims 1 to 7.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010116775.0 | 2020-02-25 | ||
CN202010116775.0A CN111309150B (en) | 2020-02-25 | 2020-02-25 | Method, apparatus and storage medium for implementing dynamic haptic vibration effects |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021168900A1 true WO2021168900A1 (en) | 2021-09-02 |
Family
ID=71146041
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/078170 WO2021168900A1 (en) | 2020-02-25 | 2020-03-06 | Method and apparatus for achieving dynamic tactile vibration effect and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111309150B (en) |
WO (1) | WO2021168900A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111736703B (en) * | 2020-06-29 | 2024-02-20 | 瑞声科技(新加坡)有限公司 | Method and device for realizing haptic effect and computer readable storage medium |
CN111897524B (en) * | 2020-07-06 | 2022-04-29 | 瑞声新能源发展(常州)有限公司科教城分公司 | Method and system for realizing Haptics haptic effect |
CN115378303A (en) * | 2021-05-20 | 2022-11-22 | 荣耀终端有限公司 | Method and device for adjusting drive waveform, electronic device and readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110181404A1 (en) * | 2008-07-21 | 2011-07-28 | Dav | Method for haptic feedback control |
JP2014142869A (en) * | 2013-01-25 | 2014-08-07 | Nec Corp | Information processor, information processing method, program and recording medium |
CN108693971A (en) * | 2018-04-10 | 2018-10-23 | 北京航空航天大学 | A kind of haptic interaction device with a variety of vibration modes |
CN110058676A (en) * | 2018-11-28 | 2019-07-26 | 瑞声科技(新加坡)有限公司 | A kind of method for oscillating, electronic equipment and storage medium |
CN110707982A (en) * | 2019-09-05 | 2020-01-17 | Oppo(重庆)智能科技有限公司 | Control method, device and equipment of electronic equipment and storage medium |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20110074333A (en) * | 2009-12-24 | 2011-06-30 | 삼성전자주식회사 | Method and apparatus for generating vibration in potable terminal |
CN102609078B (en) * | 2011-01-20 | 2014-12-31 | 宏达国际电子股份有限公司 | Electronic device with tactile feedback and method for providing tactile feedback |
-
2020
- 2020-02-25 CN CN202010116775.0A patent/CN111309150B/en active Active
- 2020-03-06 WO PCT/CN2020/078170 patent/WO2021168900A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110181404A1 (en) * | 2008-07-21 | 2011-07-28 | Dav | Method for haptic feedback control |
JP2014142869A (en) * | 2013-01-25 | 2014-08-07 | Nec Corp | Information processor, information processing method, program and recording medium |
CN108693971A (en) * | 2018-04-10 | 2018-10-23 | 北京航空航天大学 | A kind of haptic interaction device with a variety of vibration modes |
CN110058676A (en) * | 2018-11-28 | 2019-07-26 | 瑞声科技(新加坡)有限公司 | A kind of method for oscillating, electronic equipment and storage medium |
CN110707982A (en) * | 2019-09-05 | 2020-01-17 | Oppo(重庆)智能科技有限公司 | Control method, device and equipment of electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111309150A (en) | 2020-06-19 |
CN111309150B (en) | 2024-07-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021168900A1 (en) | Method and apparatus for achieving dynamic tactile vibration effect and storage medium | |
CN102246122B (en) | Haptic function control method for portable terminals | |
CN111142711B (en) | Firmware configuration method and device, storage medium and mobile terminal | |
US9733708B2 (en) | Electronic device, operation control method, and operation control program | |
US8725515B2 (en) | Electronic apparatus and method for controlling the electronic apparatus using voice | |
EP2762999B1 (en) | Overdrive voltage for an actuator to generate haptic effects | |
WO2021168898A1 (en) | Tactile vibration effect realization method and apparatus, and storage medium | |
WO2018130082A1 (en) | Message vibration prompting method and mobile terminal | |
WO2014125857A1 (en) | Input device and control method therefor, and program | |
CN106686500B (en) | Method and device for radiating mobile terminal and mobile terminal | |
US20140189338A1 (en) | Electronic device and method for detecting booting time period for electronic device | |
CN104049892A (en) | Mobile terminal capable of intelligently adjusting vibration intensity and method of adjusting vibration intensity thereof | |
CN103631375A (en) | Method and apparatus for controlling vibration intensity according to situation awareness in electronic device | |
WO2014026622A1 (en) | Method, device and terminal for adjusting terminal text | |
WO2020232738A1 (en) | Haptic feedback method, electronic device and storage medium | |
TWI515603B (en) | Device and method of touch control feedback and touch control display device using the same | |
JP2022504668A (en) | Display control method and related products | |
WO2020134566A1 (en) | Control method for doze mode of mobile terminal, storage medium and mobile terminal | |
JP7442551B2 (en) | Mobile terminal and control method | |
WO2016101605A1 (en) | Interaction method and apparatus, and user terminal | |
WO2017118421A1 (en) | Terminal key generation method and device | |
CN110570830B (en) | Equipment adjusting method and device, storage medium and electronic equipment | |
WO2021097890A1 (en) | Method and apparatus for compensatig for low-frequency sense of vibration, and electronic device | |
CN111142659A (en) | Implementation method, device, terminal and storage medium of touch signal | |
US20150241958A1 (en) | Electronic device and control method thereof |
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: 20921068 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: 20921068 Country of ref document: EP Kind code of ref document: A1 |