Motor control method, terminal device, and computer storage medium

By storing multiple motor parameters on the terminal device and displaying selection buttons on the user interface, the problem of low efficiency in switching between single vibration effects in the prior art is solved, realizing simple switching and efficient display of multiple vibration effects, and improving the user experience.

CN115933941BActive Publication Date: 2026-01-16AAC ACOUSTIC TECH (SHANGHAI) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211478220.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-23
Publication Date
2026-01-16
Estimated Expiration
2042-11-23

AI Technical Summary

Technical Problem

Existing terminal devices can only display one type of motor vibration effect, resulting in low switching efficiency and a poor customer experience.

Method used

Multiple motor parameters, including vibration frequency and amplitude, are pre-stored on the terminal device, and corresponding selection buttons are displayed on the user interface. The target motor parameters are obtained by detecting the selection buttons to drive the motor to vibrate, thereby achieving the switching of multiple vibration effects.

Benefits of technology

The device enables switching between multiple motor vibration effects on a single terminal device, offering simple and efficient operation and enhancing the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115933941B_ABST
    Figure CN115933941B_ABST
Patent Text Reader

Abstract

The application provides a motor control method, a terminal device and a computer storage medium. In the control method, different motor parameters are stored in advance, the motor parameters include a vibration frequency and a vibration amplitude of the motor; a selection button corresponding to each of the motor parameters is displayed on a user interface; when any of the selection buttons is triggered, the motor parameter corresponding to the triggered selection button is obtained as a target motor parameter; and the motor of the terminal device is driven according to the target motor parameter. In the above manner, multiple motor vibration effects can be realized on one terminal device, and the switching operation of different vibration effects is simple and convenient, and the switching efficiency is high.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] The present application relates to the technical field of motor vibration in terminal, and particularly relates to a motor control method, a terminal device and a computer storage medium.

[0002] The existing terminal device such as a tablet computer, a mobile phone and the like usually has only one motor vibration effect, and therefore, when a motor manufacturer needs to show different motor vibration effects to a customer, the manufacturer usually needs to use multiple terminal devices installed with different motors to show the vibration effects, which results in low switching efficiency and poor customer experience in the showing process.

[0003] Therefore, it is necessary to provide a new motor control method to solve the above technical problems.

[0004] The present application aims to provide a motor control method, which can realize multiple motor vibration effects on one terminal device and has simple and convenient switching operation and high switching efficiency.

[0005] In order to achieve the above-mentioned purpose, in a first aspect, the present application provides a terminal device motor control method, comprising:

[0006] Different multiple motor parameters are stored in advance, wherein the motor parameters include motor vibration frequency and vibration amplitude;

[0007] A selection button corresponding to each of the multiple motor parameters is displayed on a user interface;

[0008] When any one of the selection buttons is detected to be triggered, the motor parameter corresponding to the triggered selection button is acquired as a target motor parameter;

[0009] The motor of the terminal device is driven according to the target motor parameter.

[0010] The motor of the terminal device is driven according to the target motor parameter.

[0011] A vibration waveform curve is generated according to the vibration frequency and vibration amplitude of the target motor parameter;

[0012] The motor of the terminal device is driven according to the vibration waveform curve.

[0013] The motor parameter further includes vibration duration.

[0014] After the motor of the terminal device is driven according to the target motor parameter, the method further comprises:

[0015] ​​​When it is detected again that any one of the selection buttons is triggered, if the vibration duration of the target motor parameter has not ended, the motor is controlled to stop vibrating, and the motor parameter corresponding to the triggered selection button is acquired as the target motor parameter.

[0016] The selection buttons include selection boxes and motor type names, and when a selection box is selected, the selection button corresponding to the selected selection box is triggered.

[0017] In a second aspect, the present application further provides a terminal device, comprising:

[0018] A storage module is configured to pre-store different motor parameters, including vibration frequency and vibration amplitude of a motor.

[0019] A display module is configured to display selection buttons corresponding to the motor parameters on a user interface.

[0020] An acquisition module is configured to acquire a motor parameter corresponding to a triggered selection button as a target motor parameter when it is detected that any one of the selection buttons is triggered.

[0021] A driving module is configured to drive a motor of the terminal device to vibrate according to the target motor parameter.

[0022] The driving module is specifically configured to:

[0023] generate a vibration waveform curve according to the vibration frequency and the vibration amplitude of the target motor parameter; and

[0024] drive the motor of the terminal device to vibrate by using the vibration waveform curve.

[0025] The motor parameters further include a vibration duration, and when the acquisition module detects again that any one of the selection buttons is triggered, if the vibration duration of the target motor parameter has not ended, the driving module is further configured to control the motor to stop vibrating, and acquire a motor parameter corresponding to the triggered selection button as a target motor parameter.

[0026] The selection buttons include selection boxes and motor type names, and when a selection box is selected, the selection button corresponding to the selected selection box is triggered.

[0027] In a third aspect, the present application further provides a computer readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps of the motor control method described in any one of the above aspects are implemented.

[0028] Compared with the related art, in the motor control method of the application, different motor parameters are stored in advance, the motor parameters include vibration frequency and vibration amplitude of the motor; a selection button corresponding to each of the motor parameters is displayed on a user interface; when any of the selection buttons is triggered, the motor parameter corresponding to the triggered selection button is acquired as a target motor parameter; and the motor of the terminal device is driven according to the target motor parameter, so that when different motor vibration effects are required, the corresponding selection button can be selected on the user interface, and thus the application can realize multiple motor vibration effects on one terminal device, the switching operation of different vibration effects is simple and convenient, the switching efficiency is high, and the user experience is improved. BRIEF DESCRIPTION OF DRAWINGS

[0029] In order to more clearly illustrate the technical solutions in the embodiments of the application, the following will briefly introduce the drawings needed to be used in the embodiments description. Obviously, the drawings in the following description are only some embodiments of the application, and for those skilled in the art, other drawings can be obtained from these drawings without creative labor.

[0030] Figure 1 The flowchart of the motor control method of the terminal device provided by the embodiments of the application is shown in the figure.

[0031] Figure 2 The schematic diagram of the user interface provided by the application is shown in the figure.

[0032] Figure 3 The structural schematic diagram of the terminal device provided by the embodiments of the application is shown in the figure.

DETAILED DESCRIPTION

[0033] The technical solutions in the embodiments of the application will be described clearly and completely below with reference to the drawings of the embodiments of the application. Obviously, the described embodiments are only some of the embodiments of the application, not all the embodiments. Based on the embodiments of the application, all other embodiments obtained by those skilled in the art without creative labor are within the protection scope of the application.

[0034] Please refer to Figure 1 The motor control method of the terminal device provided by the embodiments of the application includes the following steps.

[0035] Step S101: different motor parameters are stored in advance, the motor parameters include vibration frequency and vibration amplitude of the motor.

[0036] The terminal device can be a mobile phone, a tablet, etc. For example, the mobile phone can simulate the vibration effects of different brands of mobile phones by storing motor parameters of different brands of mobile phones and different models of the same brand of mobile phones.

[0037] In step S102, a selection button corresponding to each motor parameter is displayed on the user interface.

[0038] The one-to-one mapping relationship between the motor parameters and the selection buttons on the user interface can make the motor parameters correspond to the selection buttons one by one.

[0039] In an implementation, the selection button can include a selection box and a motor type name. The selection box is used for the user to select. For example, as shown in the user interface, the motor type names of the selection buttons on the user interface are mobile phone brand 1-A motor, mobile phone brand 1-B motor, mobile phone brand 2-C motor,..., mobile phone brand n-F motor, etc. A selection box is set before each motor type name for the user to select. Figure 2

[0040] In step S103, when it is detected that any one of the selection buttons is triggered, the motor parameter corresponding to the triggered selection button is obtained as a target motor parameter.

[0041] When the selection box of the selection button is selected, the selection button corresponding to the selected selection box is triggered.

[0042] In step S104, the motor of the terminal device is driven according to the target motor parameter.

[0043] For example, the vibration frequency of the original motor is pulled down or pulled up, or the vibration amplitude of the original motor is changed according to the target motor parameter, so that the vibration frequency and the vibration amplitude of the motor are the vibration frequency and the vibration amplitude in the target motor parameter, thereby obtaining the corresponding motor vibration effect.

[0044] Alternatively, in some other implementations, driving the motor of the terminal device according to the target motor parameter can include generating a vibration waveform curve according to the vibration frequency and the vibration amplitude of the target motor parameter, and driving the motor of the terminal device by using the vibration waveform curve.

[0045] Further, the motor parameter further includes a vibration duration. After the motor of the terminal device is driven according to the target motor parameter, the method further includes: when it is detected again that any one of the selection buttons is triggered, if the vibration duration of the target motor parameter has not ended, the motor is controlled to stop vibrating, and the step of obtaining the motor parameter corresponding to the triggered selection button as a target motor parameter is performed.​

[0046] Therefore, in the motor control method of the embodiment of the present application, a customization interface is provided for the user through the user interface, and the user can select the corresponding selection button in the customization interface when experiencing different motor vibration effects, so that multiple motor vibration effects can be realized on one terminal device, the switching operation of different vibration effects is simple and convenient, the switching efficiency is high, and the user experience is improved.

[0047] Referring to Figure 3 The terminal device 100 provided by the embodiment of the present application comprises a storage module 11, a display module 12, an acquisition module 13, and a driving module 14.

[0048] The storage module 11 is used to pre-store different motor parameters, and the motor parameters comprise a vibration frequency and a vibration amplitude of the motor. The stored motor parameters can be motor parameters of different brands of mobile phones or motor parameters of different models of the same brand of mobile phone, so as to simulate the vibration effects of different brands of mobile phones on the same terminal device.

[0049] The display module 12 is used to display selection buttons corresponding to the motor parameters one by one on the user interface. The selection buttons can comprise selection boxes and motor type names, and the selection boxes are used for selection operation by the user.

[0050] The acquisition module 13 is used to acquire the motor parameters corresponding to the triggered selection button as target motor parameters when detecting that any one of the selection buttons is triggered. When the selection box of the selection button is selected, the selected selection box triggers the corresponding selection button.

[0051] The driving module 14 is used to drive the motor of the terminal device to vibrate according to the target motor parameters. For example, the vibration frequency of the original motor is pulled down or pulled up, or the vibration amplitude of the original motor is changed, so that the vibration frequency and the vibration amplitude of the motor are the vibration frequency and the vibration amplitude in the target motor parameters, and thus the corresponding motor vibration effect is obtained.

[0052] Further, the motor parameters further comprise a vibration duration. When the acquisition module 13 detects that any one of the selection buttons is triggered again, if the vibration duration of the target motor parameters has not ended, the driving module 14 is further used to control the motor to stop vibrating, and acquire the motor parameters corresponding to the triggered selection button as target motor parameters.

[0053] Therefore, through the terminal device of the present application, the user can select the corresponding selection button in the user interface when experiencing different motor vibration effects, so that multiple motor vibration effects can be realized on one terminal device, the switching operation of different vibration effects is simple and convenient, the switching efficiency is high, and the user experience is improved.

[0054] The application further provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the steps of the motor control method described in any of the above embodiments.

[0055] Compared with the related art, in the motor control method of the application, different motor parameters are stored in advance, the motor parameters include the vibration frequency and the vibration amplitude of the motor; a selection button corresponding to each of the motor parameters is displayed on a user interface; when any of the selection buttons is triggered, the motor parameter corresponding to the triggered selection button is obtained as a target motor parameter; and the motor of the terminal device is driven according to the target motor parameter, so that when different motor vibration effects are needed, the corresponding selection button can be selected on the user interface, and thus the application can realize multiple motor vibration effects on one terminal device, the switching operation of different vibration effects is simple and convenient, the switching efficiency is high, and the user experience is improved.

[0056] The above only describes the embodiments of the application, and it should be pointed out that those skilled in the art can make improvements without departing from the concept of the application, and these improvements are within the protection scope of the application.

Claims

1. A control method of a terminal device motor, characterized by, The method comprises: storing different motor parameters in advance, the motor parameters comprising a vibration frequency and a vibration amplitude of the motor; displaying selection buttons corresponding to the motor parameters on a user interface; when detecting that any one of the selection buttons is triggered, obtaining a motor parameter corresponding to the triggered selection button as a target motor parameter; driving the motor of the terminal device according to the target motor parameter; the driving of the motor of the terminal device according to the target motor parameter comprises: generating a vibration waveform curve according to the vibration frequency and the vibration amplitude of the target motor parameter; driving the motor of the terminal device according to the vibration waveform curve; the motor parameters further comprise a vibration duration; after the driving of the motor of the terminal device according to the target motor parameter, the method further comprises: when detecting that any one of the selection buttons is triggered again, if the vibration duration of the target motor parameter has not ended, stopping the vibration of the motor and performing the step of obtaining a motor parameter corresponding to the triggered selection button as a target motor parameter.

2. The control method of a motor according to claim 1, characterized by, The selection buttons comprise selection boxes and motor type names, and when a selection box is selected, the selection button corresponding to the selected selection box is triggered.

3. A terminal device, characterized by, The method comprises: a storage module configured to store different motor parameters in advance, the motor parameters comprising a vibration frequency and a vibration amplitude of the motor; a display module configured to display selection buttons corresponding to the motor parameters on a user interface; an obtaining module configured to, when detecting that any one of the selection buttons is triggered, obtain a motor parameter corresponding to the triggered selection button as a target motor parameter; a driving module configured to drive the motor of the terminal device according to the target motor parameter; the driving module is specifically configured to: generate a vibration waveform curve according to the vibration frequency and the vibration amplitude of the target motor parameter; drive the motor of the terminal device according to the vibration waveform curve; the motor parameters further comprise a vibration duration, and when the obtaining module detects that any one of the selection buttons is triggered again, if the vibration duration of the target motor parameter has not ended, the driving module is further configured to stop the vibration of the motor and obtain a motor parameter corresponding to the triggered selection button as a target motor parameter.

4. The terminal device according to claim 3, characterized by The selection buttons comprise selection boxes and motor type names, and when a selection box is selected, the selection button corresponding to the selected selection box is triggered.

5. A computer readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the steps of the motor control method according to any one of claims 1 to 2.

Citation Information

Patent Citations

  • Motor vibration control method, mobile terminal and computer readable storage medium

    CN108258977A

  • System, imaging apparatus, information processing apparatus, and recording medium

    US20190075270A1