Method and apparatus for controlling linear motor, device, and readable storage medium
AssigneeHonor Device Co., Ltd.
InventorJianwei ZHU
Life of this patent
Estimating the term…
Abstract
Embodiments of this application provide a method and apparatus for controlling a linear motor, a device, and a readable storage medium. The method for controlling a linear motor includes: determining, in response to an operation instruction, a vibration description file of an operation object of the operation instruction; and outputting a vibration sense that meets a waveform requirement of the vibration description file, where the vibration sense is provided by a linear motor in a first vibration state, and the first vibration state matches an attribute of the linear motor.
Claims20
A method for controlling a linear motor, applicable to an electronic device, wherein the electronic device comprises a linear motor, and the method comprises:
- determining, in response to an operation instruction, a vibration description file of an operation object of the operation instruction;
- and
- outputting a vibration sense that meets a waveform requirement of the vibration description file, wherein the vibration sense is provided by a linear motor in a first vibration state, and the first vibration state matches an attribute of the linear motor.
An apparatus for controlling a linear motor, applicable to an electronic device, wherein the electronic device comprises a linear motor, and the apparatus comprises:
- a determining unit, configured to determine, in response to an operation instruction, a vibration description file of an operation object of the operation instruction;
- and
- an output unit, configured to output a vibration sense that meets a waveform requirement of the vibration description file, wherein the vibration sense is provided by a linear motor in a first vibration state, and the first vibration state matches an attribute of the linear motor.
-12. (canceled)
An electronic device, comprising:
- one or more processors;
- a memory, storing a program;
- and
- a linear motor;
- the program, when executed by the one or more processors, causes the one or more processors to implement the method, wherein the method comprises:
- determining, in response to an operation instruction, a vibration description file of an operation object of the operation instruction;
- and
- outputting a vibration sense that meets a waveform requirement of the vibration description file, wherein the vibration sense is provided by the linear motor in a first vibration state, and the first vibration state matches an attribute of the linear motor.
Dependencies are inferred from the claim text.