WO2022242299A1 - 驱动波形的调整方法及装置、电子设备、可读存储介质 - Google Patents

驱动波形的调整方法及装置、电子设备、可读存储介质 Download PDF

Info

Publication number
WO2022242299A1
WO2022242299A1 PCT/CN2022/082414 CN2022082414W WO2022242299A1 WO 2022242299 A1 WO2022242299 A1 WO 2022242299A1 CN 2022082414 W CN2022082414 W CN 2022082414W WO 2022242299 A1 WO2022242299 A1 WO 2022242299A1
Authority
WO
WIPO (PCT)
Prior art keywords
vibration
description file
waveform
adjusting
adjustment
Prior art date
Application number
PCT/CN2022/082414
Other languages
English (en)
French (fr)
Inventor
朱建伟
Original Assignee
荣耀终端有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 荣耀终端有限公司 filed Critical 荣耀终端有限公司
Priority to EP22741683.1A priority Critical patent/EP4120548A4/en
Publication of WO2022242299A1 publication Critical patent/WO2022242299A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P25/00Arrangements or methods for the control of AC motors characterised by the kind of AC motor or by structural details
    • H02P25/02Arrangements 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/032Reciprocating, oscillating or vibrating motors
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P6/00Arrangements for controlling synchronous motors or other dynamo-electric motors using electronic commutation dependent on the rotor position; Electronic commutators therefor
    • H02P6/006Controlling linear motors
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P25/00Arrangements or methods for the control of AC motors characterised by the kind of AC motor or by structural details
    • H02P25/02Arrangements 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/06Linear motors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M19/00Current supply arrangements for telephone systems
    • H04M19/02Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
    • H04M19/04Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations
    • H04M19/047Vibrating means for incoming calls

Definitions

  • the present application relates to the field of electronic information, in particular to a method and device for adjusting a driving waveform, electronic equipment, and a readable storage medium.
  • Linear motors are commonly used devices for realizing vibration in electronic equipment. Linear motors can be basically divided into X-axis linear motors and Z-axis linear motors according to different travel directions.
  • the present application provides a method and device for adjusting the vibration waveform of a linear motor, aiming at solving the problem of how to improve the vibration effect of the linear motor.
  • the first aspect of the present application provides a method for adjusting a driving waveform, which is applied to an electronic device, and the electronic device includes a linear motor.
  • the method includes the following steps: responding to an interruption event, and obtaining a vibration description file corresponding to the interruption event ;
  • the description file is used to describe the vibration parameters, and use the vibration parameters to adjust the driving waveform so that the vibration of the linear motor is adapted to the interruption event, thereby adjusting the vibration feeling following the scene change and providing a better vibration feeling experience for the user , and also extended the vibration function.
  • using the vibration parameters to adjust the driving waveform includes: comparing the difference between the vibration parameters described in the static description file and the vibration parameters described in the dynamic description file; When the event does not occur, control the vibration of the linear motor; the dynamic description file is the vibration description file corresponding to the interruption event; generate an adjustment coefficient according to the difference; use the adjustment coefficient to adjust the static description Drive waveforms for file conversion.
  • the driving waveform is adjusted by utilizing the difference of the vibration parameter values in the static description file and the dynamic description file, which has high accuracy and is easy to realize, and the adjustment mode of the adjustment coefficient is easy to operate.
  • the types of vibration parameters described in the dynamic description file are a subset of the types of vibration parameters described in the static description file, so as to reduce the cost of comparison.
  • the acquisition process of the static description file includes: acquiring the waveform according to the vibration characteristics of the application, or selecting the waveform from the pre-configured scene vibration sensing waveforms, and displaying the first basic waveform; responding to the first basic waveform
  • the adjustment instruction generates the static description file. Because the basic waveform is provided first, the user can obtain the required vibration description file based on the basic waveform, thereby further improving the efficiency and lowering the technical threshold for the user to obtain the vibration description file.
  • the obtaining the vibration description file corresponding to the interruption event includes: receiving and displaying a second basic waveform from an external source; generating a vibration description corresponding to the interruption event in response to an adjustment instruction on the second basic waveform document.
  • the dynamic profile can also be visualized and adjusted, providing greater possibilities and flexibility for subsequent dynamic adjustment of the vibration of the linear motor.
  • the adjustment instruction instructs at least one of adjusting waveform parameters and superimposing multiple waveforms.
  • it also includes: when the value of the parameter of the adjusted waveform exceeds the adjustment limit, displaying prompt information, the prompt information is used to prompt that the adjustment exceeds the adjustment limit, and protect the linearity to be controlled.
  • the motor is not damaged.
  • a second aspect of the present application provides a device for adjusting a driving waveform, which is applied to an electronic device, the electronic device includes a linear motor, and includes: an acquisition unit and an adjustment unit.
  • the acquiring unit is configured to respond to an interruption event, and acquire a vibration description file corresponding to the interruption event and used for describing vibration parameters.
  • the adjustment unit is used for adjusting the driving waveform by using the vibration parameters. It not only provides users with a better vibration experience, but also expands the vibration function.
  • the adjustment unit is configured to use the vibration parameters to adjust the driving waveform, including: the adjustment unit is specifically configured to compare the difference between the vibration parameters described in the static description file and the vibration parameters described in the dynamic description file ;
  • the static description file is used to control the vibration of the linear motor when the interruption event does not occur;
  • the dynamic description file is the vibration description file corresponding to the interruption event; according to the difference, an adjustment coefficient is generated ;
  • the types of vibration parameters described in the dynamic description file are a subset of the types of vibration parameters described in the static description file, so as to reduce the cost of comparison.
  • the acquisition unit is further configured to: acquire the waveform according to the vibration characteristics of the application, or select the waveform from the pre-configured scene vibration sensing waveforms to display the first basic waveform; respond to the adjustment of the first basic waveform Instructions to generate the static description file can improve efficiency and lower the technical threshold for users to obtain vibration description files.
  • the obtaining the vibration description file corresponding to the interruption event by the obtaining unit includes: the obtaining unit is specifically used to receive and display the second basic waveform from an external source; responding to the second basic waveform The instruction is adjusted to generate a vibration description file corresponding to the interruption event.
  • the dynamic profile can also be visualized and adjusted, providing greater possibilities and flexibility for subsequent dynamic adjustment of the vibration of the linear motor.
  • the adjustment instruction instructs at least one of adjusting waveform parameters and superimposing multiple waveforms.
  • a prompt unit configured to display prompt information when the value of the parameter of the adjusted waveform exceeds the adjustment limit, the prompt information is used to prompt that the adjustment exceeds the adjustment limit, Protect the linear motor to be controlled from damage.
  • a third aspect of the present application provides an electronic device, including: one or more processors; and a memory on which a program is stored; when the program is executed by the one or more processors, the One or more processors implement the method for adjusting the vibration waveform of the linear motor described in the first aspect, so as to improve the vibration effect of the linear motor.
  • the fourth aspect of the present application provides a readable storage medium on which a computer program is stored, wherein, when the computer program is executed by a processor, the method for adjusting the vibration waveform of a linear motor described in the first aspect is implemented to improve Linear motor vibration effect.
  • Figure 1a is a structure and application example diagram of an X-axis linear motor
  • Figure 1b is a structure and application example diagram of a Z-axis linear motor
  • FIG. 2 is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application.
  • Figure 3a is an example diagram of the software architecture for the application of the vibration waveform adjustment method of the linear motor provided by the embodiment of the present application;
  • Fig. 3b is an example diagram of the process of realizing the function of the software architecture shown in Fig. 3a;
  • Fig. 4a is a flowchart of a method for adjusting a driving waveform disclosed in an embodiment of the present application
  • Fig. 4b is a specific flow chart of adjusting the driving waveform in the method for adjusting the driving waveform disclosed in the embodiment of the present application;
  • Fig. 5a is a flowchart of a method for generating a static description file disclosed in an embodiment of the present application
  • Fig. 5b is an example diagram of the interactive interface of the static description file generated by the user disclosed in the embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a device for adjusting a driving waveform disclosed in an embodiment of the present application.
  • the term "comprises”, “comprises” or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes none. other elements specifically listed, or also include elements inherent in such a process, method, article, or apparatus.
  • an element defined by the phrase “comprising a " does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.
  • the linear motor is arranged in the electronic equipment, and is used to make the electronic equipment output vibration sense through vibration.
  • the linear motor is controlled to vibrate to produce different vibration effects, so that the user can feel the vibration, so as to prompt the user or give feedback on the user's operation, as follows:
  • touch operations applied to different applications may correspond to different vibration effects.
  • Touch operations acting on different areas of the display screen can also correspond to different vibration effects.
  • Linear motors commonly used in electronic devices include X-axis linear motors (also known as square or transverse linear motors) and Z-axis linear motors (also known as circular or longitudinal linear motors).
  • Fig. 1a shows the structure and application example of the X-axis linear motor
  • Fig. 1b shows the structure and application example of the Z-axis linear motor.
  • the appearance of the X-axis linear motor is long or square. Assuming that the X-axis is a horizontal axis, the Y-axis is a vertical axis, and the Z-axis is a vertical axis perpendicular to the X-axis and Y-axis, the pendulum
  • the mover of the X-axis linear motor can move in the direction of the X-axis or the Y-axis, and a longer stroke can be achieved.
  • the X-axis linear motor is installed in the direction of the X-axis in the electronic device, it can provide vibration in the direction of the X-axis; if it is installed in the direction of the Y-axis, it can provide vibration in the direction of the Y-axis.
  • the appearance of the Z-axis linear motor is cylindrical, and the mover can move in the Z-axis direction.
  • the Z-axis linear motor is arranged in the electronic device, and can bring vibration along the thickness direction of the electronic device.
  • the vibration of the linear motor can be designed for different business scenarios of electronic devices. For example, when the mobile phone is playing music, the linear motor vibrates with the rhythm of the music.
  • different services of electronic devices may overlap. For example, when a mobile phone receives information while playing music, that is, the music playing service overlaps with the information service.
  • the vibration of the linear motor in a certain service scenario may cause interference to other services.
  • the mobile phone still plays music, and the linear motor is still blocked. If the control vibrates with the music, the vibration will interfere with the user's viewing of information.
  • a second event such as a short message application
  • a first event such as audio playback
  • the program that realizes the first event is Abort
  • the program that implements the second event is executed, until the completion of the second event, continue to execute the program that implements the first event.
  • the first event and the second event are executed simultaneously, that is, the program for realizing the first event and the program for realizing the second event are executed in parallel.
  • an interruption means that the execution of an event is interrupted, or an event that is executed in parallel is added during the execution of an event.
  • An interrupt event refers to interrupting an event that is being executed, or adding an event that is executed in parallel with other events while other events are being executed.
  • the vibration originally designed for business scenarios in order to achieve a better user experience may actually reduce the user experience under certain circumstances. It can be seen that the vibration function of electronic equipment needs to be further improved. In order to improve the vibration function of electronic equipment and avoid To reduce the possibility of user experience, the embodiments of the present application provide a method and device for adjusting a driving waveform.
  • the method for adjusting the driving waveform disclosed in the embodiment of the present application is applied to an electronic device provided with a linear motor.
  • the electronic device provided with a linear motor may be a mobile phone, a tablet computer, a desktop type, a laptop type, a notebook computer, an ultra mobile personal computer (Ultra -mobile Personal Computer, UMPC), handheld computers, netbooks, personal digital assistants (Personal Digital Assistant, PDA), wearable electronic devices, smart watches and other devices.
  • the electronics shown in Figure 2 includes: processor 110, external memory interface 120, internal memory 121, universal serial bus (universal serial bus, USB) interface 130, charging management module 140, power management module 141, battery 142, antenna 1 , antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, and a subscriber identification module (subscriber identification module, SIM) card interface 195, etc.
  • SIM subscriber identification module
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, bone conduction sensor 180M, etc.
  • the structure shown in this embodiment does not constitute a specific limitation on the electronic device.
  • the electronic device may include more or fewer components than shown, or combine certain components, or separate certain components, or arrange different components.
  • the illustrated components can be realized in hardware, software or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor graphics processing unit
  • GPU graphics processing unit
  • image signal processor image signal processor
  • ISP image signal processor
  • controller video codec
  • digital signal processor digital signal processor
  • baseband processor baseband processor
  • neural network processor neural-network processing unit
  • the controller may be the nerve center and command center of the electronic equipment.
  • the controller can generate an operation control signal according to the instruction opcode and timing signal, and complete the control of fetching and executing the instruction.
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is a cache memory. This memory may hold instructions or data that processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated access is avoided, and the waiting time of the processor 110 is reduced, thereby improving the efficiency of the system.
  • processor 110 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transmitter (universal asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), general-purpose input and output (general-purpose input/output, GPIO) interface, subscriber identity module (subscriber identity module, SIM) interface, and /or universal serial bus (universal serial bus, USB) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transmitter
  • MIPI mobile industry processor interface
  • GPIO general-purpose input and output
  • subscriber identity module subscriber identity module
  • SIM subscriber identity module
  • USB universal serial bus
  • the I2C interface is a bidirectional synchronous serial bus, including a serial data line (serial data line, SDA) and a serial clock line (derail clock line, SCL).
  • processor 110 may include multiple sets of I2C buses.
  • the processor 110 can be respectively coupled to the touch sensor 180K, the charger, the flashlight, the camera 193 and the like through different I2C bus interfaces.
  • the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 and the touch sensor 180K communicate through the I2C bus interface to realize the touch function of the electronic device.
  • the I2S interface can be used for audio communication.
  • processor 110 may include multiple sets of I2S buses.
  • the processor 110 may be coupled to the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170 .
  • the audio module 170 can transmit audio signals to the wireless communication module 160 through the I2S interface, so as to realize the function of answering calls through the Bluetooth headset.
  • the PCM interface can also be used for audio communication, sampling, quantizing and encoding the analog signal.
  • the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface.
  • the audio module 170 can also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
  • the UART interface is a universal serial data bus used for asynchronous communication.
  • the bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication.
  • a UART interface is generally used to connect the processor 110 and the wireless communication module 160 .
  • the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to realize the Bluetooth function.
  • the audio module 170 can transmit audio signals to the wireless communication module 160 through the UART interface, so as to realize the function of playing music through the Bluetooth headset.
  • the MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193 .
  • MIPI interface includes camera serial interface (camera serial interface, CSI), display serial interface (display serial interface, DSI), etc.
  • the processor 110 communicates with the camera 193 through the CSI interface to realize the shooting function of the electronic device.
  • the processor 110 communicates with the display screen 194 through the DSI interface to realize the display function of the electronic device.
  • the GPIO interface can be configured by software.
  • the GPIO interface can be configured as a control signal or as a data signal.
  • the GPIO interface can be used to connect the processor 110 with the camera 193 , the display screen 194 , the wireless communication module 160 , the audio module 170 , the sensor module 180 and so on.
  • the GPIO interface can also be configured as an I2C interface, I2S interface, UART interface, MIPI interface, etc.
  • the USB interface 130 is an interface conforming to the USB standard specification, specifically, it can be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like.
  • the USB interface 130 can be used to connect a charger to charge the electronic device, and can also be used to transmit data between the electronic device and peripheral devices. It can also be used to connect headphones and play audio through them. This interface can also be used to connect other electronic devices, such as AR devices.
  • the interface connection relationship among the modules shown in this embodiment is only a schematic illustration, and does not constitute a structural limitation of the electronic device.
  • the electronic device may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
  • the charging management module 140 is configured to receive a charging input from a charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 140 can receive charging input from the wired charger through the USB interface 130 .
  • the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device. While the charging management module 140 is charging the battery 142 , it can also provide power for electronic devices through the power management module 141 .
  • the power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 .
  • the power management module 141 receives the input from the battery 142 and/or the charging management module 140 to provide power for the processor 110 , the internal memory 121 , the display screen 194 , the camera 193 , and the wireless communication module 160 .
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance).
  • the power management module 141 may also be disposed in the processor 110 .
  • the power management module 141 and the charging management module 140 may also be set in the same device.
  • the wireless communication function of the electronic device can be realized by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in an electronic device can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas.
  • Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 150 can provide wireless communication solutions including 2G/3G/4G/5G applied to electronic devices.
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA) and the like.
  • the mobile communication module 150 can receive electromagnetic waves through the antenna 1, filter and amplify the received electromagnetic waves, and send them to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signals modulated by the modem processor, and convert them into electromagnetic waves through the antenna 1 for radiation.
  • at least part of the functional modules of the mobile communication module 150 may be set in the processor 110 .
  • at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be set in the same device.
  • a modem processor may include a modulator and a demodulator.
  • the modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator sends the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low-frequency baseband signal is passed to the application processor after being processed by the baseband processor.
  • the application processor outputs sound signals through audio equipment (not limited to speaker 170A, receiver 170B, etc.), or displays images or videos through display screen 194 .
  • the modem processor may be a stand-alone device.
  • the modem processor may be independent from the processor 110, and be set in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide wireless local area network (wireless local area networks, WLAN) (such as wireless fidelity (wireless fidelity, Wi-Fi) network), bluetooth (bluetooth, BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency-modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110 , frequency-modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.
  • the antenna 1 of the electronic device is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC , FM, and/or IR techniques, etc.
  • GSM global system for mobile communications
  • general packet radio service general packet radio service
  • CDMA code division multiple access
  • WCDMA broadband Code division multiple access
  • time division code division multiple access time-division code division multiple access
  • TD-SCDMA time-division code division multiple access
  • LTE long term evolution
  • BT GNSS
  • the GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a Beidou navigation satellite system (beidou navigation satellite system, BDS), a quasi-zenith satellite system (quasi -zenith satellite system (QZSS) and/or satellite based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • Beidou navigation satellite system beidou navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite based augmentation systems
  • the electronic device realizes the display function through the GPU, the display screen 194, and the application processor.
  • the GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
  • the display screen 194 is used to display images, videos and the like.
  • the display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oled, quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), etc.
  • the electronic device may include 1 or N display screens 194, where N is a positive integer greater than 1.
  • a series of graphical user interfaces can be displayed on the display screen 194 of the electronic device, and these GUIs are the main screen of the electronic device.
  • GUI graphical user interface
  • the size of the display screen 194 of the electronic device is fixed, and only limited controls can be displayed on the display screen 194 of the electronic device.
  • a control is a GUI element, which is a software component contained in an application that controls all data processed by the application and the interaction of these data. Users can interact with the control through direct manipulation. , so as to read or edit the relevant information of the application.
  • controls may include visual interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, and Widgets.
  • the display screen 194 may display virtual keys.
  • the electronic device can realize the shooting function through ISP, camera 193 , video codec, GPU, display screen 194 and application processor.
  • the ISP is used for processing the data fed back by the camera 193 .
  • the light is transmitted to the photosensitive element of the camera through the lens, and the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye.
  • ISP can also perform algorithm optimization on image noise, brightness, and skin color.
  • ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be located in the camera 193 .
  • Camera 193 is used to capture still images or video.
  • the object generates an optical image through the lens and projects it to the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the light signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other image signals.
  • the electronic device may include 1 or N cameras 193, where N is a positive integer greater than 1.
  • Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when an electronic device selects a frequency point, a digital signal processor is used to perform Fourier transform on the frequency point energy, etc.
  • Video codecs are used to compress or decompress digital video.
  • An electronic device may support one or more video codecs.
  • the electronic device can play or record video in multiple encoding formats, for example: moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
  • the NPU is a neural-network (NN) computing processor.
  • NPU neural-network
  • Applications such as intelligent cognition of electronic devices can be realized through NPU, such as: image recognition, face recognition, speech recognition, text understanding, etc.
  • the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. Such as saving music, video and other files in the external memory card.
  • the electronic device can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. Such as music playback, recording, etc.
  • the audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signal.
  • the audio module 170 may also be used to encode and decode audio signals.
  • the audio module 170 may be set in the processor 110 , or some functional modules of the audio module 170 may be set in the processor 110 .
  • Speaker 170A also referred to as a "horn" is used to convert audio electrical signals into sound signals.
  • the electronic device can listen to music through speaker 170A, or listen to hands-free calls.
  • Receiver 170B also called “earpiece” is used to convert audio electrical signals into sound signals.
  • the electronic device receives a call or a voice message, it can listen to the voice by placing the receiver 170B close to the human ear.
  • the microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals.
  • the user can put his mouth close to the microphone 170C to make a sound, and input the sound signal to the microphone 170C.
  • the electronic device may be provided with at least one microphone 170C.
  • the electronic device can be provided with two microphones 170C, which can also implement a noise reduction function in addition to collecting sound signals.
  • the electronic device can also be provided with three, four or more microphones 170C to realize sound signal collection, noise reduction, identify sound sources, and realize directional recording functions, etc.
  • the earphone interface 170D is used for connecting wired earphones.
  • the earphone interface 170D can be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA
  • the pressure sensor 180A is used to sense the pressure signal and convert the pressure signal into an electrical signal.
  • pressure sensor 180A may be disposed on display screen 194 .
  • pressure sensors 180A such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors.
  • a capacitive pressure sensor may be comprised of at least two parallel plates with conductive material.
  • the electronic device detects the intensity of the touch operation according to the pressure sensor 180A.
  • the electronic device may also calculate the touched position according to the detection signal of the pressure sensor 180A.
  • touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view short messages is executed. When a touch operation whose intensity is greater than or equal to the first pressure threshold acts on the icon of the short message application, the instruction of creating a new short message is executed.
  • the gyro sensor 180B can be used to determine the motion posture of the electronic device. In some embodiments, the angular velocity of the electronic device about three axes (ie, x, y, and z axes) may be determined by the gyro sensor 180B.
  • the gyro sensor 180B can be used for image stabilization. Exemplarily, when the shutter is pressed, the gyro sensor 180B detects the shake angle of the electronic device, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to counteract the shake of the electronic device through reverse movement to achieve anti-shake.
  • the gyro sensor 180B can also be used for navigation and somatosensory game scenes.
  • the air pressure sensor 180C is used to measure air pressure.
  • the electronic device calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist in positioning and navigation.
  • the magnetic sensor 180D includes a Hall sensor.
  • the electronic device may detect opening and closing of the flip holster using the magnetic sensor 180D.
  • the electronic device when the electronic device is a flip machine, the electronic device can detect opening and closing of the flip according to the magnetic sensor 180D.
  • features such as automatic unlocking of the flip cover are set.
  • the acceleration sensor 180E can detect the acceleration of the electronic device in various directions (generally three axes). When the electronic device is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.
  • the distance sensor 180F is used to measure the distance.
  • Electronic devices can measure distance via infrared or laser light. In some embodiments, when shooting a scene, the electronic device can use the distance sensor 180F to measure the distance to achieve fast focusing.
  • Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes.
  • the light emitting diodes may be infrared light emitting diodes.
  • Electronic devices emit infrared light outwards through light-emitting diodes.
  • Electronic devices use photodiodes to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object in the vicinity of the electronic device. When insufficient reflected light is detected, the electronic device may determine that there is no object in the vicinity of the electronic device.
  • the electronic device can use the proximity light sensor 180G to detect that the user holds the electronic device close to the ear to make a call, so as to automatically turn off the screen to save power.
  • the proximity light sensor 180G can also be used in leather case mode, automatic unlock and lock screen in pocket mode.
  • the ambient light sensor 180L is used for sensing ambient light brightness.
  • the electronic device can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device is in the pocket to prevent accidental touch.
  • the fingerprint sensor 180H is used to collect fingerprints. Electronic devices can use the collected fingerprint features to unlock fingerprints, access application locks, take pictures with fingerprints, answer incoming calls with fingerprints, etc.
  • the temperature sensor 180J is used to detect temperature.
  • the electronic device uses the temperature detected by the temperature sensor 180J to implement a temperature treatment strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device may reduce the performance of a processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection.
  • the electronic device when the temperature is lower than another threshold, the electronic device heats the battery 142 to avoid abnormal shutdown of the electronic device caused by low temperature.
  • the electronic device boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • the touch sensor 180K is also called “touch device”.
  • the touch sensor 180K can be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”.
  • the touch sensor 180K is used to detect a touch operation on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • Visual output related to the touch operation can be provided through the display screen 194 .
  • the touch sensor 180K may also be disposed on the surface of the electronic device, which is different from the position of the display screen 194 .
  • the bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can acquire the vibration signal of the vibrating bone mass of the human voice. The bone conduction sensor 180M can also contact the human pulse and receive the blood pressure beating signal. In some embodiments, the bone conduction sensor 180M can also be disposed in the earphone, combined into a bone conduction earphone.
  • the audio module 170 can analyze the voice signal based on the vibration signal of the vibrating bone mass of the vocal part acquired by the bone conduction sensor 180M, so as to realize the voice function.
  • the application processor can analyze the heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M, so as to realize the heart rate detection function.
  • the keys 190 include a power key, a volume key and the like.
  • the key 190 may be a mechanical key. It can also be a touch button.
  • the electronic device can receive key input and generate key signal input related to user settings and function control of the electronic device.
  • the indicator 192 can be an indicator light, and can be used to indicate charging status, power change, and can also be used to indicate messages, missed calls, notifications, and the like.
  • the SIM card interface 195 is used for connecting a SIM card.
  • the SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to realize contact and separation with the electronic device.
  • the electronic device can support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
  • SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card etc. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards may be the same or different.
  • the SIM card interface 195 is also compatible with different types of SIM cards.
  • the SIM card interface 195 is also compatible with external memory cards.
  • the electronic device interacts with the network through the SIM card to realize functions such as calling and data communication.
  • the electronic device adopts an eSIM, that is, an embedded SIM card.
  • the eSIM card can be embedded in the electronic device and cannot be separated from the electronic device.
  • the motor 191 includes at least one of the linear motors shown in FIGS. 1a and 1b.
  • the internal memory 121 may be used to store computer-executable program codes including instructions.
  • the processor 110 executes various functional applications and data processing of the electronic device by executing instructions stored in the internal memory 121 .
  • the processor 110 can adjust the driving waveform by executing instructions, devices or modules stored in the internal memory 121 .
  • the internal memory 121 may include an area for storing programs and an area for storing data.
  • the stored program area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.) and the like.
  • the storage data area can store data (such as audio data, phone book, etc.) created during the use of the electronic device.
  • the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (universal flash storage, UFS) and the like.
  • the processor 110 executes various functional applications and data processing of the electronic device by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
  • Fig. 3a is an example of the software architecture of the application of the technical solution disclosed in the embodiment of the present application, combined with the content of Fig. 3b, it can be seen that:
  • the generation module of the vibration description file (which can interact with third-party applications) generates the vibration description file; the analysis module analyzes the vibration description file to obtain the file in json format used to describe the vibration waveform, and the waveform processing module is aimed at the file in json format , to perform waveform processing operations, specifically: the vibration waveform processing module first uses the synthetic motor displacement algorithm to calculate, according to the file in json format and the properties of the motor, generates a vibration waveform in the form of a displacement code stream, drives the waveform processing module, and then processes the vibration waveform and the motor Attributes, use the inverse motor voltage drive algorithm to perform inverse calculations to obtain the drive waveform.
  • the driving waveform obtained by the waveform processing module after the waveform processing operation is synthesized by the synthesis module to obtain the audio stream in the format of pulse code modulation (Pulse Code Modulation, PCM), etc.
  • PCM Pulse Code Modulation
  • the protocol is transmitted to the drive integrated circuit (Integrated Circuit, IC), and finally acts on the linear motor to control the operation of the linear motor.
  • the software architecture shown in FIG. 3a can be stored in the internal memory 121, and invoked by the processor 110 to implement the process described in FIG. 3b.
  • the method for adjusting the driving waveform described in the embodiment of the present application can be applied to the driving waveform processing module in FIG. 3 a , further, the cooperation of the generating module of the vibration description file is also required.
  • Fig. 4a is a driving waveform adjustment method disclosed in the embodiment of the present application, which includes the following steps:
  • the information of the interruption event to be monitored may be pre-configured according to requirements, and after the information of the interruption event is monitored, it is determined that the interruption event is monitored.
  • the vibration description file is used to describe the vibration parameters of the vibration waveform, such as the frequency and amplitude of the vibration waveform.
  • the dynamic description file refers to a vibration description file that describes the vibration parameters that control the vibration of the linear motor during the interruption event.
  • the static description file corresponds to the dynamic description file, and the static description file refers to a vibration description file that describes vibration parameters that control the vibration of the linear motor when an interruption event does not occur.
  • the static description file is used to control the vibration of the linear motor
  • the dynamic description file is used to control the vibration of the linear motor, so as to reduce the vibration of the linear motor. Interruption of interrupt events.
  • the interruption event is an example of receiving a short message by a short message application
  • the interrupted event is an example of playing music
  • the corresponding relationship between the interruption event and the dynamic description file may be pre-configured, for example, the identifier of the corresponding interruption event is written in the dynamic description file.
  • the dynamic description file may be pre-configured, and this step is obtained from the storage space, or a dynamic description file corresponding to the interrupt event may be generated in response to the interrupt event.
  • the method for generating the dynamic description file will be described in the following embodiments.
  • both dynamic and static profiles describe vibration parameters such as amplitude and frequency.
  • the function of the dynamic description file is to reduce the interference of the vibration of the linear motor on the interruption event. Therefore, it can be understood that among the vibration parameters described in the dynamic description file, the value of at least one vibration parameter is smaller than the value of the vibration parameter in the static description file.
  • the amplitude of the transient waveform 01 described in the static description file is 0.9, while the amplitude of the transient waveform 02 described in the dynamic description file is 0.3, the transient waveform 01 described in the static description file and the transient waveform 02 described in the dynamic description file the same frequency.
  • the difference between the amplitude value described in the static description file and the amplitude value described in the dynamic description file is compared in sequence. It can be understood that the parameters to be compared can be pre-configured, and only the parameters that have a greater impact on vibration perception, such as the amplitude, can be compared to reduce the amount of calculation.
  • vibration parameters described in the static description file may be the same as or different from the vibration parameters described in the dynamic description file.
  • the types of vibration parameters described in the dynamic description file are a subset of the types of vibration parameters described in the static description file. That is to say, because the dynamic description file is used when an interrupt event occurs, combined with the above application scenarios, it may not be necessary to adjust all the parameters of the driving waveform, but only adjust the parameters that have a strong correlation with vibration perception. Therefore, the dynamic description file may only describe parameters that have a strong correlation with vibration perception, so the types of parameters described in the dynamic description file may be less than the types of parameters described in the static description file.
  • the static description file that controls the vibration of the linear motor to follow the music played includes parameters such as amplitude, frequency, and vibration time, while the static description file that controls the vibration of the linear motor only includes the amplitude during the execution of the SMS application process. .
  • the static description file that controls the vibration of the linear motor only includes the amplitude during the execution of the SMS application process.
  • the difference refers to the difference in value between parameters of the same kind.
  • the amplitude adjustment coefficient is generated according to the numerical difference between the amplitude described in the static description file and the amplitude described in the dynamic description file.
  • amplitude adjustment coefficient For example, use the amplitude adjustment coefficient to adjust the amplitude of the drive waveform transformed by the static profile. Further, for example, if the amplitude adjustment coefficient is 0.3, the amplitude of the driving waveform is multiplied by 0.3 to obtain the adjusted amplitude.
  • the electronic device adjusts the driving waveform, for example, multiplying the amplitude of the driving waveform by an adjustment factor of 0.3, so that the driving waveform follows the music
  • the intensity of the vibration is weakened, thereby reducing the interference to the user viewing the short message.
  • the dynamic description file is used to adjust the driving waveform, and after the interruption event ends, the adjustment of the driving waveform according to the dynamic description file is stopped, and the vibration described by the static description file is also used
  • the waveform is converted into a driving waveform, and the linear motor is driven using the driving waveform.
  • the method for adjusting the driving waveform described in this embodiment responds to the interruption event, uses the dynamic description file to adjust the driving waveform, makes the vibration of the linear motor adapt to the interruption event, and adjusts the vibration feeling according to the change of the scene, thereby providing users with more Excellent vibration experience. Moreover, the vibration function is also expanded.
  • both the static description file and the dynamic description file can be pre-configured in the storage space, which can be read and used by the driving waveform processing module shown in Figure 1a, or the driving waveform shown in Figure 1a Handle module generation.
  • Figure 5a is the process flow of the method for generating a static description file, including the following steps:
  • a first interface may be presented, and the first interface displays a first basic waveform.
  • the first basic waveform is a waveform obtained according to characteristics of an object to which vibration is applied, or a waveform selected from a pre-configured scene vibration sensing library.
  • the object to be vibrated can be audio
  • the basic waveform is generated according to the sound effect characteristics of the audio, such as envelope, frequency, amplitude, timbre, and rhythm.
  • the object to which the vibration is applied can be received from the outside, for example, an audio file imported by the user.
  • the user can click the musical note icon 51 in the upper right corner of the interactive interface to import an audio file, and the interactive interface displays the basic waveform generated according to the imported audio file.
  • the pre-configured scene vibration library includes waveforms corresponding to vibrations in various scenarios, for example, waveforms corresponding to vibrations in gun shooting scenes (in games) and vibrations in explosion scenes (in games) the corresponding waveform.
  • Wave files in the scene vibration library can be added, deleted or modified.
  • the interactive interface can be displayed, and the user can select at least one waveform corresponding to the vibration sensation in the scene from the scene vibration perception library based on the interactive interface.
  • the user can click on the upper right of the interactive interface as shown in Figure 5b
  • the file icon 52 in the corner imports the waveform in the scene vibration library, responds to the selection command triggered by the user's selection operation, and uses the waveform selected by the user from the scene vibration library as the basic waveform.
  • the adjustment instruction described in this step can indicate: the adjustment of the parameters of the waveform, such as adjusting the vibration parameters such as the frequency, start time, duration and amplitude of the first basic waveform, and can also indicate the superimposed waveform, such as superimposing different vibration events The first basic waveform of .
  • waveform superposition Multiple waveforms for superimposition, not limited to events.
  • waveform superposition refers to the prior art, for example, amplitude addition, which will not be repeated here.
  • the purpose of waveform superposition is to expand multiple vibration effects through superposition, and to support the superposition of vibration effects in various scenes, so that the user's vibration experience is richer.
  • the basic waveform is adjusted, and in response to the instruction sent by the save control 55, a vibration description file is generated.
  • the adjusted waveform that is, the waveform described by the vibration description file, may also be displayed on the interactive interface.
  • the prompt message is used to prompt that the adjustment exceeds the adjustment limit.
  • the adjustment instruction is not responded to.
  • the adjustment limit may include but not limited to: amplitude limit, start time limit and stop time limit.
  • the amplitude limit value can be determined according to the maximum displacement of the linear motor to be controlled.
  • the start time limit and the stop time limit can be determined depending on the properties of the linear motor to be controlled.
  • the purpose of setting the adjustment limit is to protect the linear motor to be controlled from being damaged.
  • the acquisition efficiency of vibration description files can be improved, and the technical threshold for users to obtain vibration description files can be reduced. Because the basic waveform is provided first, the user can obtain the required vibration description file based on the basic waveform, thereby further improving the efficiency and lowering the technical threshold for the user to obtain the vibration description file.
  • the basic waveform in order to distinguish it from the static description file, is called the second basic waveform here, which is received from an external source.
  • the external source can be an application , equipment and other waveforms to provide source equipment.
  • Other steps are the same as the process shown in Fig. 5a, and will not be repeated here.
  • the dynamic profile can also be visualized and adjusted, providing greater possibilities and flexibility for subsequent dynamic adjustment of the vibration of the linear motor.
  • the interactive interface is only an implementation method, which has higher convenience and better user experience, but the adjustment method of the basic waveform is not limited to the implementation based on the interactive interface.
  • FIG. 6 is a device for adjusting a driving waveform disclosed in an embodiment of the present application, including: an acquisition unit and an adjustment unit.
  • the device may further include a prompt unit.
  • the acquiring unit is configured to respond to an interrupt event, and acquire a vibration description file corresponding to the interrupt event; the vibration description file is used to describe a vibration parameter.
  • the adjustment unit is used for adjusting the driving waveform by using the vibration parameters.
  • the prompt unit is used for displaying prompt information when the value of the parameter of the adjusted waveform exceeds the adjustment limit, and the prompt information is used to prompt that the adjustment exceeds the adjustment limit.
  • the adjustment unit is used to use the vibration parameters
  • the specific implementation method of adjusting the driving waveform is: comparing the difference between the vibration parameters described in the static description file and the vibration parameters described in the dynamic description file; the static description The file is used to control the vibration of the linear motor when the interruption event does not occur; the dynamic description file is the vibration description file corresponding to the interruption event; according to the difference, an adjustment coefficient is generated; using the adjustment The coefficient is used to adjust the driving waveform converted from the static description file, so that the adjustment accuracy is high and the operation is easy.
  • the types of vibration parameters described in the dynamic description file are a subset of the types of vibration parameters described in the static description file, so as to reduce the cost of comparison.
  • the acquisition unit is further configured to: acquire the waveform according to the vibration characteristics of the application, or select the waveform from the pre-configured scene vibration sensing waveforms to display the first basic waveform; respond to the adjustment of the first basic waveform Instructions to generate the static description file can improve efficiency and lower the technical threshold for users to obtain vibration description files.
  • the specific implementation manner for the obtaining unit to obtain the vibration description file corresponding to the interruption event is: receiving and displaying the second basic waveform from an external source; in response to an adjustment instruction for the second basic waveform, generating The vibration description file corresponding to the interruption event.
  • the dynamic profile can also be visualized and adjusted, providing greater possibilities and flexibility for subsequent dynamic adjustment of the vibration of the linear motor.
  • the adjustment instruction instructs at least one of adjusting waveform parameters and superimposing multiple waveforms.
  • the device for adjusting the driving waveform shown in FIG. 6 can not only expand the vibration function, that is, adjust the driving waveform in response to an interruption event, so that the vibration of the motor can adapt to the interruption event, but also improve user experience.
  • the embodiment of the present application also provides a readable storage medium on which a computer program is stored, wherein, when the computer program is executed by a processor, the method for adjusting the vibration waveform of the linear motor described in the above embodiment is implemented to improve the linearity Motor vibration effect.

Abstract

本申请实施例公开了一种驱动波形的调整方法、装置、设备及可读存储介质,响应中断事件,获取中断事件对应的振动描述文件,使用中断事件对应的振动描述文件中的振动参数,调整驱动波形,使得线性马达的振动适应于中断事件,跟随场景的变换调整振感,不仅扩展了振动功能,还为用户提供更优的振感体验。

Description

驱动波形的调整方法及装置、电子设备、可读存储介质
本申请要求于2021年5月20日提交中国专利局、申请号为202110552996.7、发明名称为“驱动波形的调整方法、装置、设备及可读存储介质”以及于2021年6月16日提交中国专利局、申请号为202110668274.8、发明名称为“驱动波形的调整方法及装置、电子设备、可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及电子信息领域,尤其涉及一种驱动波形的调整方法及装置、电子设备、可读存储介质。
背景技术
线性马达为电子设备中常用的实现振动的器件,线性马达根据行程方向的不同,可基本分为X轴线性马达和Z轴线性马达。
虽然目前能够将振动与不同业务场景结合,使得电子设备具有了一些新的功能,但与振动相关的功能还有进一步被开发的可能性。
发明内容
本申请提供了一种线性马达的振动波形调整方法及装置,目的在于解决如何改善线性马达的振动效果的问题。
为了实现上述目的,本申请提供了以下技术方案:
本申请的第一方面提供了一种驱动波形的调整方法,应用于电子设备,所述电子设备包括线性马达,所述方法包括以下步骤:响应中断事件,获取所述中断事件对应的振动描述文件;所述描述文件用于描述振动参数,并使用所述振动参数,调整驱动波形,使得线性马达的振动适应于中断事件,从而跟随场景的变换调整振感,为用户提供更优的振感体验,并且,还扩展了振动功能。
可选的,所述使用所述振动参数,调整驱动波形,包括:对比静态描述文件描述的振动参数与动态描述文件描述的振动参数的数值的差异;所述静态描述文件用于在所述中断事件没有发生的情况下,控制所述线性马达振动;所述动态描述文件为所述中断事件对应的振动描述文件;依据所述差异,生成调整系数;使用所述调整系数,调整所述静态描述文件转换的驱动波形。利用静态描述文件与动态描述文件中的振动参数的数值的差异调整驱动波形,准确性较高且易于实现,并且调整系数调整的方式便于操作。
可选的,所述动态描述文件描述的振动参数的种类为所述静态描述文件描述的振动参数的种类的子集,以降低对比的代价。
可选的,所述静态描述文件的获取过程包括:依据应用的振动特点获取波形,或者,从预先配置的场景振感波形中选择波形,展示第一基础波形;响应对所述第一基础波形的调整指令,生成所述静态描述文件。因为先提供基础波形,所以使得用户可以基于基础波形获取所需的振动描述文件,从而进一步提高效率以及降低用户获取振动描述文件的技术门槛。
可选的,所述获取所述中断事件对应的振动描述文件包括:从外源接收并展示第二基础波形;响应对所述第二基础波形的调整指令,生成所述中断事件对应的振动描述文件。 动态描述文件也可以可视化并且被调整,为后续动态调整线性马达的振动,提供了更大的可能性和灵活性。
可选的,所述调整指令指示调整波形的参数以及叠加多个波形的至少一项。
可选的,还包括:在调整后的波形的所述参数的数值超过调整限值的情况下,展示提示信息,所述提示信息用于提示调整超过所述调整限值,保护待控制的线性马达不被损坏。
本申请的第二方面提供一种驱动波形的调整装置,应用于电子设备,所述电子设备包括线性马达,包括:获取单元以及调整单元。获取单元用于响应中断事件,获取所述中断事件对应的用于描述振动参数的振动描述文件。调整单元用于使用所述振动参数,调整驱动波形。不仅为用户提供更优的振感体验,并且,还扩展了振动功能。
可选的,所述调整单元用于使用所述振动参数,调整驱动波形,包括:所述调整单元具体用于,对比静态描述文件描述的振动参数与动态描述文件描述的振动参数的数值的差异;所述静态描述文件用于在所述中断事件没有发生的情况下,控制所述线性马达振动;所述动态描述文件为所述中断事件对应的振动描述文件;依据所述差异,生成调整系数;使用所述调整系数,调整所述静态描述文件转换的驱动波形,使得调整的准确性高且便于操作。
可选的,所述动态描述文件描述的振动参数的种类为所述静态描述文件描述的振动参数的种类的子集,以降低对比的代价。
可选的,所述获取单元还用于:依据应用的振动特点获取波形,或者,从预先配置的场景振感波形中选择波形,展示第一基础波形;响应对所述第一基础波形的调整指令,生成所述静态描述文件,能够提高效率以及降低用户获取振动描述文件的技术门槛。
可选的,所述获取单元用于获取所述中断事件对应的振动描述文件包括:所述获取单元具体用于,从外源接收并展示第二基础波形;响应对所述第二基础波形的调整指令,生成所述中断事件对应的振动描述文件。动态描述文件也可以可视化并且被调整,为后续动态调整线性马达的振动,提供了更大的可能性和灵活性。
可选的,所述调整指令指示调整波形的参数以及叠加多个波形的至少一项。
可选的,还包括:提示单元,用于在调整后的波形的所述参数的数值超过调整限值的情况下,展示提示信息,所述提示信息用于提示调整超过所述调整限值,保护待控制的线性马达不被损坏。
本申请的第三方面提供了一种电子设备,包括:一个或多个处理器;以及存储器,其上存储有程序;当所述程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现第一方面所述的线性马达的振动波形调整方法,以改善线性马达振动效果。
本申请的第四方面提供了一种可读存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现第一方面所述的线性马达的振动波形调整方法,以改善线性马达振动效果。
附图说明
图1a为X轴线性马达的结构以及应用示例图;
图1b为Z轴线性马达的结构以及应用示例图;
图2为本申请实施例公开的一种电子设备的结构示意图;
图3a为本申请实施例提供的线性马达的振动波形调整方法应用的软件架构示例图;
图3b为图3a所示的软件架构的实现功能的流程示例图;
图4a为本申请实施例公开的一种驱动波形的调整方法的流程图;
图4b为本申请实施例公开的驱动波形的调整方法中调整驱动波形的具体的流程图;
图5a为本申请实施例公开的静态描述文件的生成方法的流程图;
图5b为本申请实施例公开的用户生成静态描述文件的交互界面的示例图;
图6为本申请实施例公开的一种驱动波形的调整装置的结构示意图。
具体实施方式
本申请说明书和权利要求书及附图说明中的术语“第一”、“第二”和“第三”等是用于区别不同对象,而不是用于限定特定顺序。
在本申请中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
线性马达设置在电子设备中,用于通过振动使得电子设备输出振感。在电子设备的不同场景下,线性马达被控制发生振动产生不同的振动效果,使得用户感知到振感,以提示用户或对用户操作进行反馈,具体如下:
1、对应于不同的业务场景(例如:时间提醒,接收信息,来电,闹钟,游戏等),可以对应不同的振动效果。
2、作为对触摸的反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动效果。作用于显示屏不同区域的触摸操作,也可对应不同的振动效果。
电子设备中常用的线性马达包括X轴线性马达(又称方形或横向线性马达)以及Z轴线性马达(又称圆形或纵向线性马达)。图1a为X轴线性马达的结构以及应用示例,图1b为Z轴线性马达的结构以及应用示例。
如图1a所示,X轴线性马达的外观呈长条或方块形,假设X轴为水平轴,Y轴为竖直轴,Z轴为垂直于X轴和Y轴的垂直轴,则依据摆放方向,X轴线性马达的动子可以在X轴或Y轴方向运动,可以做到更长的行程。X轴线性马达在电子设备中沿X轴方向安装,则能够提供X轴方向的振感,若沿Y轴方向安装,则能提供Y轴方向的振感。
如图1b所示,Z轴线性马达的外观呈圆柱形,动子可以在Z轴方向运动。Z轴线性马达设置在电子设备中,能够带来沿电子设备的厚度方向的振感。
为了实现更强的功能以及更优的用户体验,可以针对电子设备的不同业务场景设计线性马达的振动,例如,在手机播放音乐的过程中,线性马达随着音乐的节奏振动。但电子设备的不同业务有重合的可能性,例如,在手机播放音乐的过程中接收到信息,即音乐播放业务与信息业务重合。在电子设备的不同业务有重合的情况下,某个业务场景下的线性马达的振动,可能对其它业务造成干扰,接上例,用户查看信息的情况下,手机仍然播放音乐,线性马达仍被控制跟随音乐振动,则振动会对用户查看信息造成干扰。
具体的,假设电子设备在执行实现第一事件(如音频播放)的程序的过程中,第二事件(如短信息应用)被触发(如接收到短信息),则实现第一事件的程序被中止,并且实现第二事件的程序被执行,直到第二事件完成后,继续执行实现第一事件的程序。或者,第一事件与第二事件同时执行,即实现第一事件的程序与实现第二事件的程序被并行执行。
简单而言,中断就是某个事件的执行被打断,或者某个事件的执行过程中新增并行执行的事件。
中断事件是指打断正在执行的事件,或者,在其它事件正在执行时新加入与其它事件并行执行的事件。
可见,原本为了实现更优的用户体验而针对业务场景设计的振动,在一定情况下,反而可能会降低用户体验,可见,电子设备的振动功能有待进一步完善,为了完善电子设备的振动功能以及避免降低用户体验的可能性,本申请实施例提供了驱动波形的调整方法以及装置。
本申请实施例公开的驱动波形的调整方法,应用在设置线性马达的电子设备,设置线性马达的电子设备可以是手机、平板电脑、桌面型、膝上型、笔记本电脑、超级移动个人计算机(Ultra-mobile Personal Computer,UMPC)、手持计算机、上网本、个人数字助理(Personal Digital Assistant,PDA)、可穿戴电子设备、智能手表等设备。
图2所示的电子包括:处理器110、外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。
可以理解的是,本实施例示意的结构并不构成对电子设备的具体限定。在另一些实施例中,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
其中,控制器可以是电子设备的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或 数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包含多组I2C总线。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器180K,充电器,闪光灯,摄像头193等。例如:处理器110可以通过I2C接口耦合触摸传感器180K,使处理器110与触摸传感器180K通过I2C总线接口通信,实现电子设备的触摸功能。
I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。在一些实施例中,音频模块170可以通过I2S接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与无线通信模块160可以通过PCM总线接口耦合。在一些实施例中,音频模块170也可以通过PCM接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。所述I2S接口和所述PCM接口都可以用于音频通信。
UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与无线通信模块160。例如:处理器110通过UART接口与无线通信模块160中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块170可以通过UART接口向无线通信模块160传递音频信号,实现通过蓝牙耳机播放音乐的功能。
MIPI接口可以被用于连接处理器110与显示屏194,摄像头193等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理器110和摄像头193通过CSI接口通信,实现电子设备的拍摄功能。处理器110和显示屏194通过DSI接口通信,实现电子设备的显示功能。
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与摄像头193,显示屏194,无线通信模块160,音频模块170,传感器模块180等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备充电,也可以用于 电子设备与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。
可以理解的是,本实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备的结构限定。在本申请另一些实施例中,电子设备也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。
电子设备的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。电子设备中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在电子设备上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。
无线通信模块160可以提供应用在电子设备上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth, BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
在一些实施例中,电子设备的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。
电子设备通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oled,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备可以包括1个或N个显示屏194,N为大于1的正整数。
电子设备的显示屏194上可以显示一系列图形用户界面(graphical user interface,GUI),这些GUI都是该电子设备的主屏幕。一般来说,电子设备的显示屏194的尺寸是固定的,只能在该电子设备的显示屏194中显示有限的控件。控件是一种GUI元素,它是一种软件组件,包含在应用程序中,控制着该应用程序处理的所有数据以及关于这些数据的交互操作,用户可以通过直接操作(direct manipulation)来与控件交互,从而对应用程序的有关信息进行读取或者编辑。一般而言,控件可以包括图标、按钮、菜单、选项卡、文本框、对话框、状态栏、导航栏、Widget等可视的界面元素。例如,在本申请实施例中,显示屏194可以显示虚拟按键。
电子设备可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备可以包括1个或N个摄像头193,N为大于1的正整数。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。电子设备可以支持一种或多种视频编解码器。这样,电子设备可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
电子设备可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备可以通过扬声器170A收听音乐,或收听免提通话。
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备可以设置至少一个麦克风170C。在另一些实施例中,电子设备可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备 还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备根据压力传感器180A检测所述触摸操作强度。电子设备也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。
陀螺仪传感器180B可以用于确定电子设备的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测电子设备抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。
气压传感器180C用于测量气压。在一些实施例中,电子设备通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。
磁传感器180D包括霍尔传感器。电子设备可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当电子设备是翻盖机时,电子设备可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。
加速度传感器180E可检测电子设备在各个方向上(一般为三轴)加速度的大小。当电子设备静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。
距离传感器180F,用于测量距离。电子设备可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备可以利用距离传感器180F测距以实现快速对焦。
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备通过发光二极管向外发射红外光。电子设备使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备附近有物体。当检测到不充分的反射光时,电子设备可以确定电子设备附近没有物体。电子设备可以利用接近光传感器180G检测用户手持电子设备贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。
环境光传感器180L用于感知环境光亮度。电子设备可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备是否在口袋里,以防误触。
指纹传感器180H用于采集指纹。电子设备可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。
温度传感器180J用于检测温度。在一些实施例中,电子设备利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,电子设备执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备对电池142加热,以避免低温导致电子设备异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备对电池142的输出电压执行升压,以避免低温导致的异常关机。
触摸传感器180K,也称“触控器件”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备的表面,与显示屏194所处的位置不同。
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于所述骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备可以接收按键输入,产生与电子设备的用户设置以及功能控制有关的键信号输入。
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备的接触和分离。电子设备可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备中,不能和电子设备分离。
马达191包括图1a以及图1b所示的线性马达的至少一个。
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行电子设备的各种功能应用以 及数据处理。例如,在本实施例中,处理器110可以通过执行存储在内部存储器121中的指令、装置或者模块,对驱动波形进行调整。
内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器110通过运行存储在内部存储器121的指令,和/或存储在设置于处理器中的存储器的指令,执行电子设备的各种功能应用以及数据处理。
进一步的,图3a为本申请实施例公开的技术方案的应用的软件架构的示例,结合图3b内容可知:
振动描述文件的生成模块(可与第三方应用进行交互),生成振动描述文件;解析模块对振动描述文件进行解析,得到用于描述振动波形的json格式的文件,波形处理模块针对json格式的文件,进行波形处理操作,具体的:振动波形处理模块先采用合成马达位移算法运算,依据json格式的文件和马达的属性,生成位移码流形式的振动波形,驱动波形处理模块再对振动波形以及马达的属性,利用反解马达电压驱动算法进行反解运算,得到驱动波形。
波形处理模块进行波形处理操作后得到的驱动波形经合成模块合成处理,得到脉冲编码调制(Pulse Code Modulation,PCM)等格式的音频码流,以实时传输协议(Real-time Transport Protocol,RTP)等协议传输至驱动集成电路(Integrated Circuit,IC),并最终作用于线性马达,控制线性马达运行。
结合以上电子设备的结构,图3a所示的软件架构,可以存储在内部存储器121中,由处理器110调用实现图3b所述的流程。
本申请实施例所述的驱动波形的调整方法,可以应用在图3a中的驱动波形处理模块,进一步的,还需振动描述文件的生成模块的配合。
下面将对本申请实施例所述的驱动波形的调整方法进行详细的说明。
图4a为本申请实施例公开的一种驱动波形的调整方法,包括以下步骤:
S401、监测到中断事件。
需要被监测的中断事件的信息,例如标识,可以预先按照需求配置,在监测到中断事件的信息后,确定监测到中断事件。
S402、响应中断事件,获取中断事件对应的动态描述文件。
振动描述文件用于描述振动波形的振动参数,例如振动波形的频率和振幅等。动态描述文件是指描述在中断事件发生的过程中控制线性马达振动的振动参数的振动描述文件。
与动态描述文件对应的是静态描述文件,静态描述文件是指描述在中断事件没有发生的情况下,控制线性马达振动的振动参数的振动描述文件。
也就是说,在中断事件没有发生的情况下,使用静态描述文件控制线性马达的振动,而在中断事件发生的过程中,使用动态描述文件控制线性马达的振动,以实现减轻线性马达的振动对于中断事件的干扰。
本实施例中,中断事件以短信息应用接收到短信息为例,被中断的事件以播放音乐为例。
中断事件与动态描述文件之间的对应关系,可以预先配置,例如,在动态描述文件中写入对应的中断事件的标识。
可选的,动态描述文件可以被预先配置,本步骤从存储空间中获取,也可以,响应中断事件,生成中断事件对应的动态描述文件。动态描述文件的生成方法将在以下实施例中说明。
S403、使用中断事件对应的动态描述文件,调整驱动波形。
如前所述,动态描述文件和静态描述文件均描述振动参数,例如振幅和频率。并且,动态描述文件的作用为减轻线性马达的振动对于中断事件的干扰。所以,可以理解的是,动态描述文件描述的振动参数中,至少有一项振动参数的数值小于静态描述文件中该振动参数的数值。
例如,静态描述文件描述的瞬态波形01的振幅为0.9,而动态描述文件描述的瞬态波形02的振幅为0.3,静态描述文件描述的瞬态波形01与动态描述文件描述的瞬态波形02的频率相同。
因此,S403的具体实现步骤为:
S4031、对比静态描述文件描述的振动参数与动态描述文件描述的振动参数的数值的差异。
例如,依次对比静态描述文件描述的振幅值与动态描述文件描述的振幅值之差。可以理解的是,可以预先配置需对比的参数,仅对比对于振感影响较大的参数,例如振幅,以降低计算量。
静态描述文件的具体获取过程,将在以下实施例中说明。
可以理解的是,静态描述文件描述的振动参数可以与动态描述文件描述的振动参数相同,也可以不同。
进一步的,动态描述文件描述的振动参数的种类为静态描述文件描述的振动参数的种类的子集。也就是说,因为动态描述文件在中断事件发生的情况下使用,结合上述应用场景,所以有可能无需对驱动波形的全部参数进行调整,而仅调整与振感相关性较强的参数即可,因此,动态描述文件可以仅描述与振感相关性较强的参数,所以,动态描述文件描述的参数的种类可能少于静态描述文件描述的参数的种类。
例如,控制线性马达跟随播放的音乐振动的静态描述文件中包括振幅、频率、振动时间等参数,而在短信息应用的进程被执行的过程中,控制线性马达振动的静态描述文件中仅包括振幅。在对比两份文件时,只需对比振幅的数值即可,以降低对比的代价(包括用户可感受到的时延等)。
可以理解的是,差异是指同类的参数之间数值的差异。
S4032、依据差异,生成调整系数。
例如依据静态描述文件描述的振幅与动态描述文件描述的振幅的数值差异,生成振幅调整系数。
S4033、使用调整系数,调整静态描述文件转换的驱动波形。
例如,使用振幅调整系数,调整调整静态描述文件转换的驱动波形的振幅。进一步的,例如振幅调整系数为0.3,则将驱动波形的振幅乘以0.3,得到调整后的振幅。
还以在手机播放音乐的过程中接收到信息这种场景举例:在信息应用接收到短信息后,电子设备调整驱动波形,例如,将驱动波形的振幅乘以调整系数0.3,使得驱动波形跟随音乐的振动的强度减弱,从而减轻对于用户查看短信息的干扰。
可以理解的是,可选的,在中断事件的持续期间,使用动态描述文件调整驱动波形,在中断事件结束后,停止依据动态描述文件对驱动波形的调整,而还使用静态描述文件描述的振动波形转换为驱动波形,再使用驱动波形驱动线性马达。
综上所述并结合以上场景举例,在播放音乐而没有接收到信息的过程中,使用静态描述文件描述的振动波形转换为驱动波形,再使用驱动波形控制线性马达振动,实现线性马达伴随音乐振动,在接收到信息后,使用动态描述文件描述的振动波形,调整驱动波形,从而降低驱动波形的振幅,在用户查看信息的情况下,线性马达的振幅会变小,所以,能够降低对于用户的干扰。
可见,本实施例所述的驱动波形的调整方法,响应中断事件,使用动态描述文件对调整驱动波形,使得线性马达的振动适应于中断事件,跟随场景的变换调整振感,从而为用户提供更优的振感体验。并且,还扩展了振动功能。
如前所述,静态描述文件以及动态描述文件均可以被预先配置在存储空间,可供图1a所示的驱动波形处理模块可从存储空间读取并使用,或者由图1a所示的驱动波形处理模块生成。
图5a为静态描述文件的生成方法的流程,包括以下步骤:
S501、展示第一基础波形。
可以呈现第一界面,第一界面展示第一基础波形。
其中,第一基础波形为依据待应用振动的对象的特点获取的波形,或者,从预先配置的场景振感库中选择的波形。
具体的,待应用振动的对象可以为音频,依据音频的音效特点,例如:包络、频率、振幅、音色和节奏等,生成基础波形。可以理解的是,待应用振动的对象可以从外部接收,例如接收用户导入的音频文件。如图5b所示的交互界面,用户可点击交互界面右上角的音符图标51,导入音频文件,交互界面展示依据导入的音频文件生成的基础波形。
具体的,预先配置的场景振感库中包括多种场景下的振感对应的波形,例如,(游戏中)打枪场景下的振感对应的波形、以及(游戏中)爆炸场景下的振感对应的波形。场景振感库中的波形文件,可以被增加、删除或修改。
可以理解的是,可以展示交互界面,用户可以基于交互界面,从场景振感库中选定至少一种场景下的振感对应的波形,如图5b所示的交互界面用户可点击交互界面右上角的文件图标52,导入场景振感库中的波形,响应用户的选择操作触发的选择指令,将用户从场景振感库中选择的波形作为基础波形。
S502、响应对第一基础波形的调整指令,生成静态描述文件。
本步骤中所述的调整指令可以指示:波形的参数的调整,例如对第一基础波形的频率、开始时间、持续时间以及振幅等振动参数进行调整,还可以指示叠加波形,如叠加不同振动事件的第一基础波形。
进行叠加的多个波形,不限于事件。波形叠加的具体的计算方式,可以参见现有技术,例如,幅值相加,这里不再赘述。波形叠加的目的在于,通过叠加呈现扩展多种振动效果,能够支持多种场景的振动效果的叠加,使得用户的振动感受更为丰富。
响应调整指令,对基础波形进行调整,并响应保存控件55发出的指令,生成振动描述文件。可选的,响应保存控件55发出的指令,还可以在交互界面显示调整后的波形,即振动描述文件描述的波形。
S503、在调整后的波形的参数的数值超过调整限值的情况下,展示提示信息。
提示信息用于提示调整超过调整限值。
可选的,在调整后的波形的参数的数值超过调整限值的情况下,不响应调整指令。
具体的,调整限值可以包括但不限于:振幅限值、启动时间限值以及停止时间限值。
其中,振幅限值可以依据待控制的线性马达的最大位移确定。启动时间限值以及停止时间限值可以依据待控制的线性马达的属性确定。
设置调整限值的目的在于,保护待控制的线性马达不被损坏。
与现有技术中技术人员手写代码形成振动描述文件的方式相比,能够提高振动描述文件的获取效率,并且,能够降低用户获取振动描述文件的技术门槛。因为先提供基础波形,所以使得用户可以基于基础波形获取所需的振动描述文件,从而进一步提高效率以及降低用户获取振动描述文件的技术门槛。
动态描述文件的生成流程,与图5a所示的流程的区别在于:基础波形,为了与静态描述文件相区分,这里称为第二基础波形,从外源接收,具体的,外源可以为应用、设备等波形的提供源头设备。其它步骤与图5a所示的流程相同,这里不再赘述。动态描述文件也可以可视化并且被调整,为后续动态调整线性马达的振动,提供了更大的可能性和灵活性。
需要说明的是,以上实施例中,交互界面仅为一种实现方式,具有更高的便利性和更好的用户体验,但对基础波形的调整方式,并不限于基于交互界面实现。
图6为本申请实施例公开的一种驱动波形的调整装置,包括:获取单元以及调整单元。可选的,所述装置还可以包括提示单元。
获取单元用于响应中断事件,获取所述中断事件对应的振动描述文件;所述振动描述文件用于描述振动参数。调整单元用于使用所述振动参数,调整驱动波形。提示单元用于在调整后的波形的所述参数的数值超过调整限值的情况下,展示提示信息,所述提示信息用于提示调整超过所述调整限值。
可选的,所述调整单元用于使用所述振动参数,调整驱动波形的具体实现方式为:对比静态描述文件描述的振动参数与动态描述文件描述的振动参数的数值的差异;所述静态描述文件用于在所述中断事件没有发生的情况下,控制所述线性马达振动;所述动态描述文件为所述中断事件对应的振动描述文件;依据所述差异,生成调整系数;使用所述调整系数,调整所述静态描述文件转换的驱动波形,使得调整的准确性高且便于操作。
可选的,所述动态描述文件描述的振动参数的种类为所述静态描述文件描述的振动参数的种类的子集,以降低对比的代价。
可选的,所述获取单元还用于:依据应用的振动特点获取波形,或者,从预先配置的场景振感波形中选择波形,展示第一基础波形;响应对所述第一基础波形的调整指令,生成所述静态描述文件,能够提高效率以及降低用户获取振动描述文件的技术门槛。
可选的,所述获取单元用于获取所述中断事件对应的振动描述文件的具体实现方式为:从外源接收并展示第二基础波形;响应对所述第二基础波形的调整指令,生成所述中断事件对应的振动描述文件。动态描述文件也可以可视化并且被调整,为后续动态调整线性马达的振动,提供了更大的可能性和灵活性。
可选的,所述调整指令指示调整波形的参数以及叠加多个波形的至少一项。
图6所示的驱动波形的调整装置,不仅能够扩展振动功能,即响应中断事件调整驱动波形,以使得马达的振动适应于中断事件,还能够提升用户的体验。
本申请实施例还提供了一种可读存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现上述实施例所述的线性马达的振动波形调整方法,以改善线性马达振动效果。

Claims (16)

  1. 一种驱动波形的调整方法,应用于电子设备,所述电子设备包括线性马达,其特征在于,包括:
    响应中断事件,获取所述中断事件对应的振动描述文件;所述描述文件用于描述振动参数;
    使用所述振动参数,调整驱动波形。
  2. 根据权利要求1所述的驱动波形的调整方法,其特征在于,所述使用所述振动参数,调整驱动波形,包括:
    对比静态描述文件描述的振动参数与动态描述文件描述的振动参数的数值的差异;所述静态描述文件用于在所述中断事件没有发生的情况下,控制所述线性马达振动;所述动态描述文件为所述中断事件对应的振动描述文件;
    依据所述差异,生成调整系数;
    使用所述调整系数,调整所述静态描述文件转换的驱动波形。
  3. 根据权利要求2所述的驱动波形的调整方法,其特征在于,所述动态描述文件描述的振动参数的种类为所述静态描述文件描述的振动参数的种类的子集。
  4. 根据权利要求2所述的驱动波形的调整方法,其特征在于,所述静态描述文件的获取过程包括:
    依据应用的振动特点获取波形,或者,从预先配置的场景振感波形中选择波形,展示第一基础波形;
    响应对所述第一基础波形的调整指令,生成所述静态描述文件。
  5. 根据权利要求1-4任一项所述的驱动波形的调整方法,其特征在于,所述获取所述中断事件对应的振动描述文件包括:
    从外源接收并展示第二基础波形;
    响应对所述第二基础波形的调整指令,生成所述中断事件对应的振动描述文件。
  6. 根据权利要求5所述的驱动波形的调整方法,其特征在于,所述调整指令指示调整波形的参数以及叠加多个波形的至少一项。
  7. 根据权利要求要求6所述的驱动波形的调整方法,其特征在于,还包括:
    在调整后的波形的所述参数的数值超过调整限值的情况下,展示提示信息,所述提示信息用于提示调整超过所述调整限值。
  8. 一种驱动波形的调整装置,应用于电子设备,所述电子设备包括线性马达,其特征在于,包括:
    获取单元,用于响应中断事件,获取所述中断事件对应的振动描述文件;所述振动描述文件用于描述振动参数;
    调整单元,用于使用所述振动参数,调整驱动波形。
  9. 根据权利要求8所述的驱动波形的调整装置,其特征在于,所述调整单元用于使用所述振动参数,调整驱动波形,包括:
    所述调整单元具体用于,对比静态描述文件描述的振动参数与动态描述文件描述的振 动参数的数值的差异;所述静态描述文件用于在所述中断事件没有发生的情况下,控制所述线性马达振动;所述动态描述文件为所述中断事件对应的振动描述文件;依据所述差异,生成调整系数;使用所述调整系数,调整所述静态描述文件转换的驱动波形。
  10. 根据权利要求9所述的驱动波形的调整装置,其特征在于,所述动态描述文件描述的振动参数的种类为所述静态描述文件描述的振动参数的种类的子集。
  11. 根据权利要求9所述的驱动波形的调整装置,其特征在于,所述获取单元还用于:
    依据应用的振动特点获取波形,或者,从预先配置的场景振感波形中选择波形,展示第一基础波形;响应对所述第一基础波形的调整指令,生成所述静态描述文件。
  12. 根据权利要求8-11任一项所述的驱动波形的调整装置,其特征在于,所述获取单元用于获取所述中断事件对应的振动描述文件包括:
    所述获取单元具体用于,从外源接收并展示第二基础波形;响应对所述第二基础波形的调整指令,生成所述中断事件对应的振动描述文件。
  13. 根据权利要求12所述的驱动波形的调整装置,其特征在于,所述调整指令指示调整波形的参数以及叠加多个波形的至少一项。
  14. 根据权利要求13所述的驱动波形的调整装置,其特征在于,还包括:
    提示单元,用于在调整后的波形的所述参数的数值超过调整限值的情况下,展示提示信息,所述提示信息用于提示调整超过所述调整限值。
  15. 一种电子设备,其特征在于,包括:
    一个或多个处理器;
    存储器,其上存储有程序;
    当所述程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如权利要求1至7中任意一项所述的线性马达的振动波形调整方法。
  16. 一种可读存储介质,其特征在于,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现如权利要求1至7中任意一项所述的线性马达的振动波形调整方法。
PCT/CN2022/082414 2021-05-20 2022-03-23 驱动波形的调整方法及装置、电子设备、可读存储介质 WO2022242299A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP22741683.1A EP4120548A4 (en) 2021-05-20 2022-03-23 METHOD AND DEVICE FOR ADJUSTING A DRIVE WAVEFORM AND ELECTRONIC DEVICE AND READABLE STORAGE MEDIUM

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202110552996 2021-05-20
CN202110552996.7 2021-05-20
CN202110668274.8A CN115378303A (zh) 2021-05-20 2021-06-16 驱动波形的调整方法及装置、电子设备、可读存储介质
CN202110668274.8 2021-06-16

Publications (1)

Publication Number Publication Date
WO2022242299A1 true WO2022242299A1 (zh) 2022-11-24

Family

ID=84059952

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/082414 WO2022242299A1 (zh) 2021-05-20 2022-03-23 驱动波形的调整方法及装置、电子设备、可读存储介质

Country Status (3)

Country Link
EP (1) EP4120548A4 (zh)
CN (1) CN115378303A (zh)
WO (1) WO2022242299A1 (zh)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867647A (zh) * 2010-04-30 2010-10-20 中兴通讯股份有限公司 一种移动终端中并发冲突的处理方法及装置
CN109144606A (zh) * 2018-08-06 2019-01-04 瑞声科技(新加坡)有限公司 一种马达驱动方法、终端设备以及计算机可读存储介质
CN111309150A (zh) * 2020-02-25 2020-06-19 瑞声科技(新加坡)有限公司 动态触觉振动效果的实现方法、装置和存储介质

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050102991A (ko) * 2004-04-23 2005-10-27 인포뱅크 주식회사 이동 통신 단말기에서의 진동 발생 방법 및 장치
WO2013134388A1 (en) * 2012-03-06 2013-09-12 Coactive Drive Corporation Synchronized array of vibration actuators in a network topology
EP1936929A1 (en) * 2006-12-21 2008-06-25 Samsung Electronics Co., Ltd Haptic generation method and system for mobile phone
CN108881615A (zh) * 2018-05-02 2018-11-23 Oppo广东移动通信有限公司 电子设备振动控制系统、方法、控制器及设备
CN110707982B (zh) * 2019-09-05 2021-09-17 Oppo(重庆)智能科技有限公司 一种电子设备的控制方法、装置、设备及存储介质

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867647A (zh) * 2010-04-30 2010-10-20 中兴通讯股份有限公司 一种移动终端中并发冲突的处理方法及装置
CN109144606A (zh) * 2018-08-06 2019-01-04 瑞声科技(新加坡)有限公司 一种马达驱动方法、终端设备以及计算机可读存储介质
CN111309150A (zh) * 2020-02-25 2020-06-19 瑞声科技(新加坡)有限公司 动态触觉振动效果的实现方法、装置和存储介质

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4120548A4

Also Published As

Publication number Publication date
CN115378303A (zh) 2022-11-22
EP4120548A4 (en) 2023-08-23
EP4120548A1 (en) 2023-01-18

Similar Documents

Publication Publication Date Title
WO2020259452A1 (zh) 一种移动终端的全屏显示方法及设备
EP4024168A1 (en) Hand gesture interaction method and apparatus, and terminal device
WO2021036770A1 (zh) 一种分屏处理方法及终端设备
US11775135B2 (en) Application icon displaying method and terminal
WO2022042770A1 (zh) 控制通信服务状态的方法、终端设备和可读存储介质
EP3826280A1 (en) Method for generating speech control command, and terminal
WO2022052740A1 (zh) 一种折叠设备及其开合控制方法
WO2020237617A1 (zh) 控屏方法、装置、设备及存储介质
EP4113820A1 (en) Linear motor control method and apparatus, device, and readable storage medium
CN114115770A (zh) 显示控制的方法及相关装置
WO2023216930A1 (zh) 基于穿戴设备的振动反馈方法、系统、穿戴设备和电子设备
CN110058729B (zh) 调节触摸检测的灵敏度的方法和电子设备
WO2022089563A1 (zh) 一种声音增强方法、耳机控制方法、装置及耳机
EP4206865A1 (en) Brush effect picture generation method, image editing method and device, and storage medium
CN115459643A (zh) 线性马达的振动波形调整方法及装置
WO2022242299A1 (zh) 驱动波形的调整方法及装置、电子设备、可读存储介质
CN112527220B (zh) 一种电子设备显示方法及电子设备
WO2022242300A1 (zh) 线性马达的振动波形调整方法及装置
WO2022242301A1 (zh) 振动描述文件的生成方法、装置、设备及可读存储介质
WO2022242218A1 (zh) 驱动波形的调整方法、装置、设备及可读存储介质
WO2022242216A1 (zh) 振动波形的处理方法、装置、设备及可读存储介质
CN110737916A (zh) 通信终端及处理方法
WO2024032035A1 (zh) 一种语音信号的输出方法和电子设备
WO2023020420A1 (zh) 音量显示方法、电子设备及存储介质
WO2023093778A1 (zh) 一种截屏方法及相关装置

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 17797935

Country of ref document: US

ENP Entry into the national phase

Ref document number: 2022741683

Country of ref document: EP

Effective date: 20220729

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

Ref document number: 22741683

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE