WO2020224017A1 - 一种马达驱动信号的生成方法、电子设备及存储介质 - Google Patents
一种马达驱动信号的生成方法、电子设备及存储介质 Download PDFInfo
- Publication number
- WO2020224017A1 WO2020224017A1 PCT/CN2019/089221 CN2019089221W WO2020224017A1 WO 2020224017 A1 WO2020224017 A1 WO 2020224017A1 CN 2019089221 W CN2019089221 W CN 2019089221W WO 2020224017 A1 WO2020224017 A1 WO 2020224017A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- configuration
- user
- file
- list
- configuration file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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
Definitions
- the present invention relates to the field of motor driving, in particular to a method for generating a motor driving signal, an electronic device and a storage medium.
- Tactile feedback is applied to electronic devices such as mobile phones, tablets, gamepads, etc., and the application scenarios are particularly rich on mobile phones. Such as buttons, reminders, incoming calls, photos, switch machines, etc.
- different electrical signals will be used to drive the motor to generate different tactile feedback, ultimately achieving scene differentiation and a comfortable user experience.
- the production process of motor electrical signals is relatively tedious and complicated, and requires multiple steps such as simulation, calculation, tooling verification, and real machine experience. There are many steps in the electrical signal production process, and each signal modification must go through these processes.
- the traditional production process mostly generates short signals (10-20ms in length). For scenes that require longer tactile feedback, such as incoming calls, designers need to manually produce and debug.
- the purpose of the present invention is to provide a method for generating a motor drive signal, an electronic device and a storage medium, so as to realize free customization of the motor drive signal.
- a method for generating a motor drive signal comprising:
- the configuration file list including a file name icon, and the file name icon is used for the user to select;
- a configuration file corresponding to the file name icon selected by the user is selected from a configuration file library.
- the configuration file library includes configuration files and file name icons associated with the configuration files one by one.
- the configuration file includes a drive motor. Parameters required for vibration;
- it also includes:
- the first configuration interface Displaying a first configuration interface according to the first editing instruction, the first configuration interface displaying the list of configuration files;
- the configuration file includes a basic file and a customized file
- the method further includes:
- the second configuration interface Displaying a second configuration interface according to the second editing instruction, the second configuration interface displaying a list of basic files and setting options for the user to input setting parameters;
- Editing the basic file according to the setting parameters generates the customized file.
- the setting options include an intensity setting option, a repetition number setting option, and a combination setting option.
- the intensity setting option is used to set the intensity change type of the signal.
- the repetition number setting option is for the user to set the number of repetitions of the signal.
- the combination setting option is used to set the time interval for executing two adjacent basic files.
- it also includes:
- the configuration file corresponding to the configuration file path selected by the user in the configuration file library is associated with the file name icon selected by the user.
- it also includes:
- it also includes:
- the main configuration interface is displayed, and the main configuration interface includes editing instructions for the user to select.
- the method further includes:
- the motor drive signal is output to drive the motor to vibrate.
- the present invention also provides an electronic device including a processor and a memory, and a computer-readable program is stored in the memory, the computer-readable program is configured to be executed by the processor, and the computer-readable program is executed by the processor When implementing the above method.
- the present invention also provides a computer-readable storage medium on which a computer program is stored, and the computer program is executed by a processor to realize the above-mentioned method.
- the beneficial effect of the present invention is that the configuration file list is displayed for the user to select, the corresponding configuration file is selected from the configuration file library according to the file name icon selected by the user, and the configuration file is executed to generate the corresponding motor drive signal, so that the motor drive can be freely customized signal.
- FIG. 1 is a flowchart of a method for generating a motor drive signal according to a first embodiment of the present invention
- FIG. 2 is a flowchart of a method for generating a motor drive signal provided by a second embodiment of the present invention
- Figure 3 is a schematic diagram of a first configuration interface provided by an embodiment of the present invention.
- FIG. 4 is a flowchart of a method for generating a motor drive signal provided by a third embodiment of the present invention.
- FIG. 5 is a schematic diagram of a second configuration interface provided by an embodiment of the present invention.
- FIG. 6 is a schematic diagram of generating a customized file in an embodiment of the present invention.
- FIG. 7 is a schematic diagram of generating a customized file in another embodiment of the present invention.
- FIG. 8 is a flowchart of a method for generating a motor drive signal provided by a fourth embodiment of the present invention.
- FIG. 9 is a schematic diagram of a third configuration interface provided by an embodiment of the present invention.
- FIG. 10 is a flowchart of a method for generating a motor drive signal according to a fifth embodiment of the present invention.
- Figure 11 is a schematic diagram of a fourth configuration interface provided by an embodiment of the present invention.
- FIG. 12 is a schematic diagram of an electronic device provided by an embodiment of the present invention.
- the method for generating a motor drive signal provided by the first embodiment of the present invention wherein the method is executed in an electronic device, and a motor is provided on the electronic device.
- Methods include:
- Step S101 Obtain a configuration instruction.
- the configuration instruction is an instruction for setting a corresponding motor vibration mode for a touch operation of the electronic device. For example, set the vibration mode for the switch of electronic equipment.
- Step S102 Display a corresponding configuration file list according to the configuration instruction, the configuration file list includes a file name icon, and the file name icon is used for the user to select.
- each file name icon corresponds to a vibration mode.
- Step S103 Obtain the file name icon selected by the user.
- Step S104 Select a configuration file corresponding to the file name icon selected by the user from a configuration file library.
- the configuration file library includes configuration files and file name icons associated with the configuration files one by one. Including the parameters required to drive the motor to vibrate.
- the configuration file is saved in the configuration file library according to the set format, and the corresponding configuration file in the configuration file library is called according to the file name icon selected by the user.
- Step S105 execute the configuration file to generate a corresponding motor drive signal.
- the configuration file includes electrical signal parameters, such as frequency, output duration, amplitude, and number of repetitions of the electrical signal, etc.
- the motor drive signal can be generated according to the electrical signal parameters.
- the corresponding configuration file is selected from the configuration file library and run, so that different motor drive signals can be generated to drive the motor to perform different forms of vibration, and the freedom of the motor drive signal is realized. custom made.
- the method for generating a motor drive signal provided by the second embodiment of the present invention differs from the first embodiment in that it further includes:
- Step S201 Obtain the first editing instruction of the interactive mode for editing the file name icon.
- the electronic device displays a main configuration interface for the user to select an editing instruction.
- the main configuration interface includes a basic segment effect area and a free combination effect area.
- the basic short effect area It is displayed on the entire interface of the electronic device for user operation and editing.
- the interactive mode is the type of operation the user performs on the electronic device, such as pressing, lifting, or long pressing.
- Step S202 Display a first configuration interface according to the first editing instruction, and the first configuration interface displays the configuration file list.
- the configuration file list 1 is displayed in the first configuration interface.
- Step S203 Obtain the file name icon selected by the user.
- Step S204 Output the interactive mode for the user to select.
- the interactive mode list 2 is also displayed in the first configuration interface. For example, the user selects one of the file name icons, and the interactive mode list is displayed on the corresponding file name icon for the user to select.
- Step S205 Obtain the interaction mode selected by the user, and associate the interaction mode selected by the user with the file name selected by the user.
- the electronic device selects the file name icon from the configuration file library
- the configuration file corresponding to the name icon generates a motor drive signal to drive the motor to vibrate.
- the file name icon is associated with the interaction mode according to the file name icon and the interaction mode selected by the user, so that different interaction modes correspond to different motor vibration modes.
- the configuration file includes a basic file and a customized file.
- the difference from the first embodiment is that it also includes:
- Step S301 Obtain a second editing instruction for editing the configuration file.
- the free combination effect area is displayed on the entire interface of the electronic device.
- Step S302 Display a second configuration interface according to the second editing instruction.
- the second configuration interface displays a list of basic files and setting options for the user to input setting parameters.
- setting option 4 includes intensity setting options, repetition times setting options, and combination setting options.
- the intensity setting options are used to set the intensity change type of the signal.
- the repetition times setting options are used to set the number of repetitions of the signal.
- the combination setting options are used to set the execution. The time interval between two adjacent basic files.
- Step S303 Acquire the basic file and setting parameters selected by the user.
- Step S304 Edit the basic file according to the setting parameters to generate the customized file.
- the user can edit the basic file, the intensity setting option, and the number of repetition options. For example, if the user selects "Repeat 2 times" or "Intensity fades", the corresponding options are set according to the intensity
- the ratio changes the amplitude of the electrical signal in the basic file, changes the number of executions of the electrical signal according to the number of repetitions, edits the basic file to generate a new customized file, and saves the customized file in the configuration file library.
- the user can edit multiple basic files and time intervals. For example, if the user selects two basic files and the interval is 50ms, the electronic device splices the parameters of the two basic files. , And set the execution interval of the two basic files to 50ms, generate a new customized file, and save the customized file in the configuration file library.
- the user inputs a verification instruction, and the electronic device outputs a corresponding motor drive signal to the motor to drive the motor to vibrate.
- the basic file is re-edited according to the basic file selected by the user and the setting parameters to generate a new customized file to diversify the form of the drive signal.
- the method for generating a motor drive signal provided by the fourth embodiment of the present invention differs from the first embodiment in that it further includes:
- Step S401 Obtain an association relationship editing instruction.
- Step S402 Display a third configuration interface according to the association relationship editing instruction.
- the third configuration interface displays a list of configuration files and a configuration file path for the user to select.
- the third configuration interface displays a configuration file list 5 and a configuration file path 6, and each file name icon in the configuration file list 5 corresponds to a configuration file path.
- the configuration file path can be a configuration file library.
- Step S403 Obtain the file name icon and the path of the configuration file selected by the user;
- Step S404 Associate the configuration file corresponding to the configuration file path selected by the user in the configuration file library with the file name icon selected by the user.
- the modified associated configuration file can be adjusted accordingly. Operation.
- the configuration file corresponding to each file name icon can be freely selected to increase the diversity of file name icon selection.
- the method for generating a motor drive signal provided by the fifth embodiment of the present invention differs from the first embodiment in that it further includes:
- Step S501 Obtain a list editing instruction.
- Step S502 Display a fourth configuration interface according to the list editing instruction, where the fourth configuration interface displays the list of configuration files and list editing options for the user to select.
- the fourth configuration interface includes a configuration file list 7 and a list editing option 8.
- the list editing options include adding a file name icon and deleting a file name icon.
- Step S503 Obtain the list editing option selected by the user.
- Step S504 Add or delete file name icons in the configuration file list according to the list editing option.
- the delete option is displayed on each file name icon.
- the corresponding file name icon is deleted.
- a file name icon is added to the configuration file list.
- an associated basic file may be added to the newly added file name icon, and a corresponding interactive interaction scene may be set.
- the file name icon may be renamed.
- the configuration file list can be edited according to the list editing option selected by the user, which is convenient for the user to use.
- the electronic device provided by the embodiment of the present invention includes a processor 11 and a memory 12.
- the memory 12 stores a computer readable program, and the computer readable program is configured to be executed by the processor 11.
- the above method is implemented when executed by the processor.
- the electronic device in this embodiment and the method in the foregoing embodiment are based on two aspects under the same inventive concept.
- the method implementation process has been described in detail above, so those skilled in the art can clearly understand from the foregoing description For the sake of brevity of the description, the implementation process of the electronic device in this embodiment will not be repeated here.
- the present invention can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution of the present invention can be embodied in the form of a software product in essence or a part that contributes to the existing technology.
- the present invention also relates to a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disc, etc., on which a computer program is stored, and the computer program is executed by a processor to execute the above method.
- the motor drive signal generation method, electronic equipment and storage medium provided by the present invention display a list of configuration files for the user to select, select the corresponding configuration file from the configuration file library according to the file name icon selected by the user, and execute the configuration file to generate the corresponding motor Drive signal, so you can freely customize the motor drive signal.
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本发明提供了一种马达驱动信号的生成方法,方法包括:获取配置指令;根据配置指令显示相应的配置文件列表,配置文件列表包括文件名称图标,文件名称图标用于供用户选择;获取用户选择的文件名称图标;从配置文件库中选取与用户选择的文件名称图标相对应的配置文件,配置文件库包括配置文件以及与配置文件一一关联的文件名称图标,配置文件包括驱动马达振动所需的参数;执行所述配置文件生成相应的马达驱动信号。本发明还提供一种电子设备及存储介质。本发明执行配置文件生成相应的马达驱动信号,从而可以自由定制马达驱动信号。
Description
本发明涉及马达驱动领域,尤其涉及一种马达驱动信号的生成方法、电子设备及存储介质。
触觉反馈应用于手机、平板、游戏手柄等电子设备,尤其在手机上应用场景特别丰富。例如按键、提醒、来电、拍照、开关机等。对于不同的应用场景,会使用不同的电信号来驱动马达,产生不同的触觉反馈,最终达到场景区分和舒适的用户体验。马达电信号的制作过程是比较繁琐和复杂的,需要经过仿真、计算、工装验证、真机体验等多个步骤。电信号的制作过程步骤较多,每一次信号的修改都必须经过这几道工序。其次、传统的制作过程多是产生的短信号(时长在10-20ms),对于来电等需要较长触觉反馈的场景则需要设计师人工来制作和调试。
因此,有必要提供一种可以自由定制的马达驱动信号的生成方法。
【发明内容】
本发明的目的在于提供一种马达驱动信号的生成方法、电子设备及存储介质,以实现自由定制马达驱动信号。
本发明的技术方案如下:一种马达驱动信号的生成方法,所述方法包括:
获取配置指令;
根据所述配置指令显示相应的配置文件列表,所述配置文件列表包括文件名称图标,所述文件名称图标用于供用户选择;
获取用户选择的文件名称图标;
从配置文件库中选取与用户选择的所述文件名称图标相对应的配置文件,所述配置文件库包括配置文件以及与所述配置文件一一关联的文件名称图标,所述配置文件包括驱动马达振动所需的参数;
执行所述配置文件生成相应的马达驱动信号。
优选的,还包括:
获取编辑所述文件名称图标的交互模式的第一编辑指令;
根据所述第一编辑指令显示第一配置界面,所述第一配置界面显示有所述配置文件列表;
获取用户选择的文件名称图标;
输出用于供用户选择的交互模式;
获取用户选择的交互模式,将用户选择的交互模式与用户选择的文件名称进行关联。
优选的,所述配置文件包括基础文件和定制文件,所述方法还包括:
获取编辑配置文件的第二编辑指令;
根据所述第二编辑指令显示第二配置界面,所述第二配置界面显示有基础文件列表和用于供用户输入设置参数的设置选项;
获取用户选择的基础文件和设置参数;
根据所述设置参数对所述基础文件进行编辑生成所述定制文件。
优选的,所述设置选项包括强度设置选项、重复次数设置选项以及组合设置选项,所述强度设置选项用于设置信号的强度变化类型,所述重复次数设置选项用户设置信号的重复执行次数,所述组合设置选项用于设置执行相邻两个基础文件的时间间隔。
优选的,还包括:
获取关联关系编辑指令;
根据所述关联关系编辑指令显示第三配置界面,所述第三配置界面显示有配置文件列表和用户供用户选择的配置文件路径;
获取用户选择的文件名称图标和配置文件的路径;
将所述配置文件库中与用户选择的配置文件路径对应的配置文件与用户选择的文件名称图标进行关联。
优选的,还包括:
获取列表编辑指令;
根据所述列表编辑指令显示第四配置界面,所述第四配置界面显示有 所述配置文件列表和用于供用户选择的列表编辑选项;
获取用户选择的列表编辑选项;
根据所述列表编辑选项增加或删除所述配置文件列表中的文件名称图标。
优选的,还包括:
显示主配置界面,所述主配置界面包括供用户选择编辑指令。
优选的,所述执行所述配置文件生成相应的马达驱动信号之后,所述方法还包括:
输出所述马达驱动信号以驱动马达振动。
本发明还提供一种电子设备,包括处理器和存储器,所述存储器中存储有计算机可读程序,所述计算机可读程序被配置成由处理器执行,所述计算机可读程序被处理器执行时实现上述的方法。
本发明还提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述的方法。
本发明的有益效果在于:通过显示配置文件列表供用户选择,根据用户选择的文件名称图标从配置文件库中选取对应的配置文件,执行配置文件生成相应的马达驱动信号,从而可以自由定制马达驱动信号。
图1为本发明第一实施例提供的马达驱动信号的生成方法流程图;
图2为本发明第二实施例提供的马达驱动信号的生成方法流程图;
图3为本发明实施例提供的第一配置界面示意图;
图4为本发明第三实施例提供的马达驱动信号的生成方法流程图;
图5为本发明实施例提供的第二配置界面示意图;
图6为本发明一种实施方式中的生成定制文件示意图;
图7为本发明另一种实施方式中生成定制文件示意图;
图8为本发明第四实施例提供的马达驱动信号的生成方法流程图;
图9为本发明实施例提供的第三配置界面示意图;
图10为本发明第五实施例提供的马达驱动信号的生成方法流程图;
图11为本发明实施例提供的第四配置界面示意图;
图12为本发明实施例提供的电子设备示意图。
下面结合附图和实施方式对本发明作进一步说明。
如图1所示,本发明第一实施例提供的马达驱动信号的生成方法,其中,方法执行于电子设备,电子设备上设有马达。方法包括:
步骤S101:获取配置指令。
其中,配置指令为对电子设备的一种触控操作设置对应的马达振动方式的指令。例如,为电子设备的开关机设置振动方式。
步骤S102:根据所述配置指令显示相应的配置文件列表,所述配置文件列表包括文件名称图标,所述文件名称图标用于供用户选择。
其中,每个文件名称图标对应一种振动方式。
步骤S103:获取用户选择的文件名称图标。
步骤S104:从配置文件库中选取与用户选择的所述文件名称图标相对应的配置文件,所述配置文件库包括配置文件以及与所述配置文件一一关联的文件名称图标,所述配置文件包括驱动马达振动所需的参数。
其中,配置文件按照设定的格式保存在配置文件库中,根据用户选择的文件名称图标调用配置文件库中对应的配置文件。
步骤S105:执行所述配置文件生成相应的马达驱动信号。
其中,配置文件中包括电信号参数,例如,频率、输出时长、幅值及电信号重复次数等,根据电信号参数即可生成马达驱动信号。
上述实施例中,根据用户选择的文件名称图标,从配置文件库中选取对应的配置文件并运行,从而可以生成不同的马达驱动信号以驱动马达进行不同形式的振动,实现马达驱动信号的自由化定制。
如图2所示,本发明第二实施例提供的马达驱动信号的生成方法,其与第一实施例的区别在于,还包括:
步骤S201:获取编辑所述文件名称图标的交互模式的第一编辑指令。
在一种实施方式中,电子设备显示主配置界面以供用户选择编辑指令, 例如,主配置界面包括基础段效果区域和自由组合效果区域,当前用户选择第一编辑指令时,将基础短效果区域显示在电子设备的整个界面上,以供用户操作和编辑。其中,交互模式为用户对电子设备的操作类型,例如按下、抬起或者长按等。
步骤S202:根据所述第一编辑指令显示第一配置界面,所述第一配置界面显示有所述配置文件列表。
如图3所示,第一配置界面中显示配置文件列表1。
步骤S203:获取用户选择的文件名称图标。
步骤S204:输出用于供用户选择的交互模式。
其中,第一配置界面中还显示交互模式列表2,例如,用户选择其一一个文件名称图标,在对应的文件名称图标上显示交互模式列表供用户选择。
步骤S205:获取用户选择的交互模式,将用户选择的交互模式与用户选择的文件名称进行关联。
例如,用户选择名称为“1”的文件名称图标,对应选择的交互模式为“按下”,则当用户在电子设备上执行“按下”操作时,电子设备从配置文件库中选取与文件名称图标对应的配置文件,生成马达驱动信号,驱动马达振动。
上述实施例中,根据用户选择的文件名称图标和交互模式,将文件名称图标与交互模式进行关联,使不同的交互模式对应不同的马达振动方式。
如图4所示,本发明第三实施例提供的马达驱动信号的生成方法,配置文件包括基础文件和定制文件其与第一实施例的区别在于,还包括:
步骤S301:获取编辑配置文件的第二编辑指令。
在一种实施方式中,当用户选择第二编辑指令时,自由组合效果区域显示在电子设备的整个界面上。
步骤S302:根据所述第二编辑指令显示第二配置界面,所述第二配置界面显示有基础文件列表和用于供用户输入设置参数的设置选项。
如图5所示,第二配置界面上显示基础文件列表3和设置选项4。其 中,设置选项4包括强度设置选项、重复次数设置选项以及组合设置选项,强度设置选项用于设置信号的强度变化类型,重复次数设置选项用户设置信号的重复执行次数,组合设置选项用于设置执行相邻两个基础文件的时间间隔。
步骤S303:获取用户选择的基础文件和设置参数。
步骤S304:根据所述设置参数对所述基础文件进行编辑生成所述定制文件。
如图6所示,在一种实施方式中,用户可以编辑基础文件、强度设置选项和重复次数选项,例如,若用户选择“重复2次”、“强度渐弱”,则根据强度设置选项对应的比率改变基础文件中的电信号的幅值,根据重复次数改变电信号的执行次数,编辑基础文件生成新的定制文件,并将定制文件保存在配置文件库中。
如图7所示,在另一种实施方式中,用户可以编辑多个基础文件和时间间隔,例如,若用户选择两个基础文件,间隔为50ms,电子设备将两个基础文件的参数进行拼接,且设置两个基础文件执行的间隔时间为50ms,生成新的定制文件,并将定制文件保存在配置文件库中。用户输入验证指令,电子设备将对应的马达驱动信号输出至马达以驱动马达振动。
上述实施方式中,根据用户选择的基础文件和设置参数,重新对基础文件进行编辑,生成新的定制文件,使驱动信号的形式多样化。
如图8所示,本发明第四实施例提供的马达驱动信号的生成方法,其与第一实施例的区别在于,还包括:
步骤S401:获取关联关系编辑指令。
步骤S402:根据所述关联关系编辑指令显示第三配置界面,所述第三配置界面显示有配置文件列表和用户供用户选择的配置文件路径。
如图9所示,第三配置界面显示有配置文件列表5和配置文件路径6,配置文件列表5中的每个文件名称图标对应一个配置文件路径。其中,配置文件路径可以为配置文件库。
步骤S403:获取用户选择的文件名称图标和配置文件的路径;
步骤S404:将所述配置文件库中与用户选择的配置文件路径对应的配置文件与用户选择的文件名称图标进行关联。
具体的,选择配置文件库后,选择其中配置文件的名称,即可修改配置文件库中文件名称图标所关联的配置文件,当用户选择文件名称图标后,可以对修改后的关联配置文件进行相应的操作。
上述实施例中,根据用户选择的文件名称图标和配置文件路径,可以自由选择每个文件名称图标对应的配置文件,增加文件名称图标选择的多样性。
如图10所示,本发明第五实施例提供的马达驱动信号的生成方法,其与第一实施例的区别在于,还包括:
步骤S501:获取列表编辑指令。
步骤S502:根据所述列表编辑指令显示第四配置界面,所述第四配置界面显示有所述配置文件列表和用于供用户选择的列表编辑选项。
如图11所示,第四配置界面包括配置文件列表7和列表编辑选项8,列表编辑选项包括增加文件名称图标和删除文件名称图标。
步骤S503:获取用户选择的列表编辑选项。
步骤S504:根据所述列表编辑选项增加或删除所述配置文件列表中的文件名称图标。
每个文件名称图标上显示删除选项,用户选择删除选项时,删除对应的文件名称图标。用户选择增加选项时,在配置文件列表中新增一个文件名称图标。
在一种实施方式中,可以对新增的文件名称图标增加关联的基础文件,并设置对应的交互的交互场景,当获取到重新命名指令时,可以对文件名称图标重新命名。
上述实施例中,根据用户选择的列表编辑选项可以对配置文件列表进行编辑,方便用户使用。
如图12所示,本发明实施例提供的电子设备,包括处理器11和存储器12,存储器12中存储有计算机可读程序,计算机可读程序被配置成由 处理器11执行,计算机可读程序被处理器执行时实现上述的方法。
本实施例中的电子设备与前述实施例中的方法是基于同一发明构思下的两个方面,在前面已经对方法实施过程作了详细的描述,所以本领域技术人员可根据前述描述清楚地了解本实施例中的电子设备的实施过程,为了说明书的简洁,在此就不再赘述。
通过以上的实施方式的描述可知,本领域的技术人员可以清楚地了解到本发明可借助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来。本发明还涉及一种计算机可读存储介质,如ROM/RAM、磁碟、光盘等,其上存储有计算机程序,计算机程序被处理器执行上述的方法。
本发明提供的马达驱动信号生成方法、电子设备及存储介质,通过显示配置文件列表供用户选择,根据用户选择的文件名称图标从配置文件库中选取对应的配置文件,执行配置文件生成相应的马达驱动信号,从而可以自由定制马达驱动信号。
以上所述的仅是本发明的实施方式,在此应当指出,对于本领域的普通技术人员来说,在不脱离本发明创造构思的前提下,还可以做出改进,但这些均属于本发明的保护范围。
Claims (10)
- 一种马达驱动信号的生成方法,其特征在于,所述方法包括:获取配置指令;根据所述配置指令显示相应的配置文件列表,所述配置文件列表包括文件名称图标,所述文件名称图标用于供用户选择;获取用户选择的文件名称图标;从配置文件库中选取与用户选择的所述文件名称图标相对应的配置文件,所述配置文件库包括配置文件以及与所述配置文件一一关联的文件名称图标,所述配置文件包括驱动马达振动所需的参数;执行所述配置文件生成相应的马达驱动信号。
- 根据权利要求1所述的马达驱动信号的生成方法,其特征在于,还包括:获取编辑所述文件名称图标的交互模式的第一编辑指令;根据所述第一编辑指令显示第一配置界面,所述第一配置界面显示有所述配置文件列表;获取用户选择的文件名称图标;输出用于供用户选择的交互模式;获取用户选择的交互模式,将用户选择的交互模式与用户选择的文件名称进行关联。
- 根据权利要求1所述的马达驱动信号的生成方法,其特征在于,所述配置文件包括基础文件和定制文件,所述方法还包括:获取编辑配置文件的第二编辑指令;根据所述第二编辑指令显示第二配置界面,所述第二配置界面显示有基础文件列表和用于供用户输入设置参数的设置选项;获取用户选择的基础文件和设置参数;根据所述设置参数对所述基础文件进行编辑生成所述定制文件。
- 根据权利要求3所述的马达驱动信号的生成方法,其特征在于,所 述设置选项包括强度设置选项、重复次数设置选项以及组合设置选项,所述强度设置选项用于设置信号的强度变化类型,所述重复次数设置选项用户设置信号的重复执行次数,所述组合设置选项用于设置执行相邻两个基础文件的时间间隔。
- 根据权利要求1所述的马达驱动信号的生成方法,其特征在于,还包括:获取关联关系编辑指令;根据所述关联关系编辑指令显示第三配置界面,所述第三配置界面显示有配置文件列表和用户供用户选择的配置文件路径;获取用户选择的文件名称图标和配置文件的路径;将所述配置文件库中与用户选择的配置文件路径对应的配置文件与用户选择的文件名称图标进行关联。
- 根据权利要求1所述的1所述的马达驱动信号的生成方法,其特征在于,还包括:获取列表编辑指令;根据所述列表编辑指令显示第四配置界面,所述第四配置界面显示有所述配置文件列表和用于供用户选择的列表编辑选项;获取用户选择的列表编辑选项;根据所述列表编辑选项增加或删除所述配置文件列表中的文件名称图标。
- 根据权利要求1所述的马达驱动信号的生成方法,其特征在于,还包括:显示主配置界面,所述主配置界面包括供用户选择编辑指令。
- 根据权利要求1所述的马达驱动信号生成方法,其特征在于,所述执行所述配置文件生成相应的马达驱动信号之后,所述方法还包括:输出所述马达驱动信号以驱动马达振动。
- 一种电子设备,其特征在于,包括处理器和存储器,所述存储器中存储有计算机可读程序,所述计算机可读程序被配置成由处理器执行,所 述计算机可读程序被处理器执行时实现如权利要求1-8任意一项所述的方法。
- 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1-8任意一项所述的方法。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910386100.5 | 2019-05-09 | ||
| CN201910386100.5A CN110244838A (zh) | 2019-05-09 | 2019-05-09 | 一种马达驱动信号的生成方法、电子设备及存储介质 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2020224017A1 true WO2020224017A1 (zh) | 2020-11-12 |
Family
ID=67883958
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2019/089221 Ceased WO2020224017A1 (zh) | 2019-05-09 | 2019-05-30 | 一种马达驱动信号的生成方法、电子设备及存储介质 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN110244838A (zh) |
| WO (1) | WO2020224017A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP4044569A4 (en) * | 2020-12-15 | 2022-11-16 | Honor Device Co., Ltd. | VIBRATION METHOD AND DEVICE, AND ELECTRONIC DEVICE AND READABLE STORAGE MEDIA |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2021119932A1 (zh) * | 2019-12-16 | 2021-06-24 | 瑞声声学科技(深圳)有限公司 | 电机振动信号的生成方法、装置、终端及存储介质 |
| WO2021119931A1 (zh) * | 2019-12-16 | 2021-06-24 | 瑞声声学科技(深圳)有限公司 | 电机振动信号的计算方法、装置、终端及存储介质 |
| WO2021120215A1 (zh) * | 2019-12-20 | 2021-06-24 | 瑞声声学科技(深圳)有限公司 | 马达触感信号生成方法和马达触感信号生成接口 |
| CN119248362B (zh) * | 2024-01-02 | 2026-01-06 | 荣耀终端股份有限公司 | 一种马达的资源文件的加载方法、电子设备和存储介质 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105607823A (zh) * | 2014-11-12 | 2016-05-25 | 意美森公司 | 触觉触发器修改系统 |
| CN106886281A (zh) * | 2015-12-15 | 2017-06-23 | 意美森公司 | 自动化的触觉设置生成 |
| CN107450728A (zh) * | 2011-06-20 | 2017-12-08 | 意美森公司 | 触觉主题构造 |
| CN109213319A (zh) * | 2018-08-04 | 2019-01-15 | 瑞声科技(新加坡)有限公司 | 基于场景的振动反馈方法及移动终端 |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9235277B2 (en) * | 2010-12-03 | 2016-01-12 | Razer (Asia-Pacific) Pte Ltd. | Profile management method |
| KR101828306B1 (ko) * | 2011-10-18 | 2018-02-13 | 삼성전자 주식회사 | 휴대 단말기의 운영 방법 및 장치 |
| CN109688442B (zh) * | 2017-05-16 | 2021-06-04 | 苹果公司 | 用于家庭媒体控制的方法和界面 |
| CN107748758A (zh) * | 2017-09-21 | 2018-03-02 | 广州视源电子科技股份有限公司 | 文件信息显示方法、系统、可读存储介质及计算机设备 |
-
2019
- 2019-05-09 CN CN201910386100.5A patent/CN110244838A/zh active Pending
- 2019-05-30 WO PCT/CN2019/089221 patent/WO2020224017A1/zh not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107450728A (zh) * | 2011-06-20 | 2017-12-08 | 意美森公司 | 触觉主题构造 |
| CN105607823A (zh) * | 2014-11-12 | 2016-05-25 | 意美森公司 | 触觉触发器修改系统 |
| CN106886281A (zh) * | 2015-12-15 | 2017-06-23 | 意美森公司 | 自动化的触觉设置生成 |
| CN109213319A (zh) * | 2018-08-04 | 2019-01-15 | 瑞声科技(新加坡)有限公司 | 基于场景的振动反馈方法及移动终端 |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP4044569A4 (en) * | 2020-12-15 | 2022-11-16 | Honor Device Co., Ltd. | VIBRATION METHOD AND DEVICE, AND ELECTRONIC DEVICE AND READABLE STORAGE MEDIA |
| US12105880B2 (en) | 2020-12-15 | 2024-10-01 | Honor Device Co., Ltd. | Vibration method and apparatus, electronic device, and readable storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN110244838A (zh) | 2019-09-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2020224017A1 (zh) | 一种马达驱动信号的生成方法、电子设备及存储介质 | |
| US11621022B2 (en) | Video file generation method and device, terminal and storage medium | |
| KR100993064B1 (ko) | 터치 스크린 적용 음원 재생 장치에서의 음원 선택 재생 방법 | |
| KR101380004B1 (ko) | 전자기기 및 이를 이용한 어플리케이션의 실행방법 | |
| KR100672605B1 (ko) | 아이템 선택 방법 및 이를 위한 단말기 | |
| CN113190314A (zh) | 互动内容生成方法、装置、存储介质及电子设备 | |
| JP6068342B2 (ja) | 複合属性制御方法及びこれを支援する携帯端末機 | |
| CN114089806B (zh) | 波形序列创建装置、方法、电子设备及存储介质 | |
| JP2019505944A (ja) | オーディオファイルの再録音方法、装置及び記憶媒体 | |
| WO2024012357A1 (zh) | 振动提醒方法、相关设备、计算机存储介质 | |
| CN103034396A (zh) | 一种移动图标到Android系统桌面的方法和装置 | |
| JP3763300B2 (ja) | テンプレートファイル編集装置及び編集プログラム | |
| WO2020220773A1 (zh) | 图片预览信息的显示方法、装置、电子设备及计算机可读存储介质 | |
| JP2013196661A (ja) | 入力制御プログラム、入力制御装置、入力制御システム、および入力制御方法 | |
| CN102999344A (zh) | 一种智能终端及其用户自定义操作集的方法和装置 | |
| US20150227269A1 (en) | Fast response graphical user interface | |
| US20250322815A1 (en) | Information processing apparatus, information processing method, and program | |
| JP2011055461A (ja) | ミキシング装置 | |
| CN111158802A (zh) | 音频播放的方法、设备、客户端装置及电子设备 | |
| US20250036265A1 (en) | Audio processing method and apparatus, device and storage medium | |
| CN113908526B (zh) | 音乐游戏中的操作处理方法、装置、电子设备及存储介质 | |
| CN118672708A (zh) | 音乐播放页面显示方法、装置及设备 | |
| CN103488378B (zh) | 一种切换选择方法及装置 | |
| CN114089807A (zh) | 波形序列编辑装置、方法、电子设备及存储介质 | |
| EP2493158B1 (en) | Apparatus and method for managing call notes in a wireless device |
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: 19928240 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: 19928240 Country of ref document: EP Kind code of ref document: A1 |