Vibration method, device, mobile terminal and storage medium
By measuring the temperature of the vibrating device and adjusting the vibration frequency, the problem of the vibration frequency of mobile terminals being affected by temperature was solved, the vibration intensity and tactile feedback effect were enhanced, energy consumption was reduced, and standby time was extended.
Patent Information
- Application Number
- CN201910888957.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-09-19
- Publication Date
- 2026-02-03
- Estimated Expiration
- 2039-09-19
AI Technical Summary
In existing technologies, mobile terminals only perform motor natural frequency detection once when powered on, which causes the vibration frequency of the vibrating device to be affected by temperature, resulting in poor vibration intensity and tactile feedback.
By measuring the temperature of the vibrating device and adjusting the vibration frequency according to temperature changes, the driving frequency of the vibration module is made closer to the natural frequency of the device, reducing the influence of temperature and enhancing the vibration intensity and tactile feedback effect.
It improves the vibration intensity and tactile feedback effect of the vibration device, while reducing the power consumption of the mobile terminal, extending the standby time, and enhancing the user experience.
Smart Images

Figure CN112527096B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of electronic technology, and in particular to a vibration method, apparatus, mobile terminal, and storage medium. Background Technology
[0002] With the development of electronic technology, haptic feedback technology in mobile terminals is becoming increasingly realistic. Haptic feedback technology can bring users a realistic interactive experience through the tactile feedback of force and vibration. Among them, vibration haptic feedback is achieved by driving the motor in the mobile terminal through a drive module. Furthermore, when the frequency of the drive module driving the motor is the same as the motor's natural frequency, the vibration generated by the motor is the strongest, and the vibration haptic feedback effect is the best.
[0003] Currently, the motor's natural frequency is detected only once when the mobile terminal is powered on, and then the drive module drives the motor to vibrate using this vibration frequency. Summary of the Invention
[0004] To address the problems existing in related technologies, this disclosure provides a vibration method, device, mobile terminal, and storage medium. The technical solution is as follows:
[0005] According to one aspect of the embodiments of this disclosure, a vibration method for a mobile terminal is provided, the method comprising:
[0006] When a vibration event is received, the current first temperature of the vibration device in the mobile terminal is obtained;
[0007] Obtain the stored second temperature of the vibrating device, the second temperature being the temperature stored when the vibration event was last received;
[0008] The target vibration frequency of the vibrating device is determined based on the first temperature and the second temperature.
[0009] The vibration device is controlled to perform the vibration event based on the target vibration frequency.
[0010] In this embodiment, by measuring the temperature of the vibrating device and detecting the vibration frequency of the vibrating device based on the temperature change, the subsequent driving vibration module drives the vibrating device to vibrate using this vibration frequency. This reduces the influence of temperature on the vibration frequency of the vibrating device, making the frequency driven by the vibration driving module closer to the vibration frequency of the vibrating device, increasing the vibration intensity of the vibrating device, and enhancing the tactile feedback effect of the vibration.
[0011] In another possible implementation, determining the target vibration frequency of the vibrating device based on the first temperature and the second temperature includes:
[0012] Obtain the difference between the first temperature and the second temperature;
[0013] The target vibration frequency of the vibrating device is determined based on the difference.
[0014] In another possible implementation, determining the target vibration frequency of the vibrating device based on the difference includes:
[0015] When the difference is greater than the first temperature threshold, the current second vibration frequency of the vibration device is detected, and the second vibration frequency is used as the target vibration frequency of the vibration device.
[0016] In this embodiment, the vibration frequency of the vibrating device is affected by temperature. When the temperature difference exceeds the first temperature threshold, the processing component determines to re-detect the vibration frequency of the vibrating device and determines the re-detected vibration frequency as the vibration frequency of the vibrating device. This reduces the influence of temperature on the vibration frequency of the vibrating device, makes the frequency of the driving signal closer to the vibration frequency of the vibrating device, increases the vibration intensity of the vibrating device, and enhances the tactile feedback effect of the vibration.
[0017] In another possible implementation, determining the target vibration frequency of the vibrating device based on the difference includes:
[0018] When the difference is not greater than the first temperature threshold, the first vibration frequency of the stored vibration device is obtained, and the first vibration frequency is used as the target vibration frequency of the vibration device. The first vibration frequency is the vibration frequency stored when the vibration event was last received.
[0019] In this embodiment, the vibration frequency of the vibrating device is affected by temperature. However, when the temperature change of the vibrating device is very small, the vibration frequency change of the vibrating device is very small, and the impact on the vibration intensity of the vibrating device is also very small. The mobile terminal determines not to re-detect the vibration frequency of the vibrating device. Thus, without affecting the vibration intensity and haptic feedback effect of the vibrating device, the power consumption of the mobile terminal is reduced, thereby increasing the standby time of the mobile terminal and improving the user experience of the mobile terminal.
[0020] In another possible implementation, determining the target vibration frequency of the vibrating device based on the difference includes:
[0021] Based on the difference, the frequency change corresponding to the difference is obtained from the preset correspondence between the difference and the frequency change.
[0022] Obtain the first vibration frequency of the stored vibration device, wherein the first vibration frequency is the vibration frequency stored when the vibration event was last received;
[0023] The target vibration frequency of the vibrating device is obtained by compensating the first vibration frequency with the frequency change.
[0024] In this embodiment, the mobile terminal can determine the vibration frequency of the vibrating device without re-detecting the vibration frequency of the vibrating device. This reduces the power consumption of the mobile terminal, increases the standby time of the mobile terminal, ensures that the driving signal of the mobile terminal is closer to the vibration frequency of the vibrating device, increases the vibration intensity of the vibrating device, enhances the tactile feedback effect of the vibration, and improves the user experience of the mobile terminal.
[0025] In another possible implementation, before acquiring the stored second temperature of the vibrating device, the method further includes:
[0026] Based on the first temperature, determine whether the target vibration frequency corresponding to the first temperature is stored in the locally stored correspondence between temperature and vibration frequency.
[0027] When the target vibration frequency corresponding to the first temperature is not stored locally, the step of obtaining the stored second temperature of the vibration device is performed.
[0028] When the target vibration frequency corresponding to the first temperature is stored locally, the target vibration frequency corresponding to the first temperature is obtained from the correspondence between temperature and vibration frequency.
[0029] In another possible implementation, the method is characterized by further comprising:
[0030] The temperature of the vibrating device is periodically monitored;
[0031] When the difference between the third temperature detected this time and the fourth temperature detected last time is greater than the second temperature threshold, the third vibration frequency of the vibration device is determined.
[0032] Based on the third temperature and the third vibration frequency, a correspondence between temperature and vibration frequency is generated.
[0033] In this embodiment, the mobile terminal can determine the vibration frequency of the vibrating device based on the correspondence between temperature and vibration frequency stored locally on the mobile terminal without re-detecting the vibration frequency of the vibrating device. This reduces the power consumption of the mobile terminal, increases the standby time of the mobile terminal, ensures that the driving signal of the mobile terminal is closer to the vibration frequency of the vibrating device, increases the vibration intensity of the vibrating device, enhances the tactile feedback effect of the vibration, and improves the user experience of the mobile terminal.
[0034] According to another aspect of the present disclosure, a vibration device is provided, the device comprising:
[0035] The acquisition module is configured to acquire the current first temperature of the vibrating device in the mobile terminal when a vibration event is received;
[0036] The acquisition module is further configured to acquire the second temperature of the vibration device that has been stored, wherein the second temperature is the temperature stored when the vibration event was last received;
[0037] The determining module is configured to determine the target vibration frequency of the vibrating device based on the first temperature and the second temperature;
[0038] The control module is configured to control the vibrating device to perform the vibration event according to the target vibration frequency.
[0039] In another possible implementation, the determining module is further configured to acquire the difference between the first temperature and the second temperature; and determine the target vibration frequency of the vibrating device based on the difference.
[0040] In another possible implementation, the determining module is further configured to detect the current second vibration frequency of the vibrating device when the difference is greater than the first temperature threshold, and use the second vibration frequency as the target vibration frequency of the vibrating device.
[0041] In another possible implementation, the determining module is further configured to acquire the first vibration frequency of the stored vibration device when the difference is not greater than a first temperature threshold, and use the first vibration frequency as the target vibration frequency of the vibration device, wherein the first vibration frequency is the vibration frequency stored when the vibration event was last received.
[0042] In another possible implementation, the determining module is further configured to obtain the frequency change corresponding to the difference from a preset correspondence between the difference and the frequency change; obtain the first vibration frequency of the stored vibration device, wherein the first vibration frequency is the vibration frequency stored when the vibration event was last received; and use the frequency change to compensate the first vibration frequency to obtain the target vibration frequency of the vibration device.
[0043] In another possible implementation, the acquisition module is further configured to determine, based on the first temperature, whether the locally stored correspondence between temperature and vibration frequency stores a target vibration frequency corresponding to the first temperature; when no target vibration frequency corresponding to the first temperature is stored locally, the module acquires the stored second temperature of the vibration device.
[0044] The acquisition module is further configured to acquire the target vibration frequency corresponding to the first temperature from the correspondence between temperature and vibration frequency when the target vibration frequency corresponding to the first temperature is stored locally.
[0045] In another possible implementation, the device is characterized by further comprising:
[0046] The detection module is configured to periodically detect the temperature of the vibrating device;
[0047] The determining module is further configured to determine the third vibration frequency of the vibrating device when the difference between the third temperature detected this time and the fourth temperature detected last time is greater than the third temperature threshold.
[0048] The generation module is configured to generate a correspondence between temperature and vibration frequency based on the third temperature and the third vibration frequency.
[0049] In this embodiment of the disclosure, a vibration device for an electronic device is provided. The device measures the temperature of the vibrating device and detects the vibration frequency of the vibrating device based on the temperature change. Subsequently, the vibration driving module drives the vibrating device to vibrate using the vibration frequency. This reduces the influence of temperature on the vibration frequency of the vibrating device, makes the frequency driven by the vibration driving module closer to the vibration frequency of the vibrating device, increases the vibration intensity of the vibrating device, and enhances the tactile feedback effect of the vibration.
[0050] According to another aspect of the present disclosure, a mobile terminal is provided, the mobile terminal comprising:
[0051] One or more processors;
[0052] Volatile or non-volatile memory for storing one or more processor-executable instructions;
[0053] Wherein, the one or more processors are configured as follows:
[0054] When a vibration event is received, the current first temperature of the vibration device in the mobile terminal is obtained;
[0055] Obtain the stored second temperature of the vibrating device, the second temperature being the temperature stored when the vibration event was last received;
[0056] The target vibration frequency of the vibrating device is determined based on the first temperature and the second temperature.
[0057] The vibration device is controlled to perform the vibration event based on the target vibration frequency.
[0058] According to another aspect of the present disclosure, a computer-readable storage medium is provided, wherein at least one instruction is stored in the computer-readable storage medium, the instruction being loaded and executed by a processor to perform the operation performed in any of the preceding vibration methods.
[0059] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects:
[0060] The method and apparatus provided in this embodiment measure the temperature of the vibrating device and detect the vibration frequency of the vibrating device based on the temperature change. Subsequently, the vibration driving module drives the vibrating device to vibrate using this vibration frequency. This reduces the influence of temperature on the vibration frequency of the vibrating device, makes the frequency driven by the vibration driving module closer to the vibration frequency of the vibrating device, increases the vibration intensity of the vibrating device, and enhances the tactile feedback effect of the vibration.
[0061] It should be understood that the above general description and the following detailed description are merely exemplary and do not limit this disclosure. Attached Figure Description
[0062] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0063] Figure 1 This is a structural block diagram of a mobile terminal according to an exemplary embodiment;
[0064] Figure 2 This is a flowchart illustrating a vibration method for a mobile terminal according to an exemplary embodiment;
[0065] Figure 3 This is a flowchart illustrating a vibration method for a mobile terminal according to an exemplary embodiment;
[0066] Figure 4 This is a flowchart illustrating a vibration method for a mobile terminal according to an exemplary embodiment;
[0067] Figure 5 This is a schematic diagram of the structure of a vibration device for a mobile terminal according to an exemplary embodiment;
[0068] Figure 6 This is a block diagram illustrating a mobile terminal 600 according to an exemplary embodiment.
[0069] 11 Processing Components
[0070] 12 Vibration Drive Module
[0071] 13 Vibrating Devices
[0072] 14 Power Management Module
[0073] 15 Temperature Sensor Detailed Implementation
[0074] To make the technical solutions and advantages of this disclosure clearer, the embodiments of this disclosure will be described in further detail below.
[0075] Figure 1 This is a circuit block diagram of a mobile terminal according to an exemplary embodiment. The mobile terminal includes: a processing component 11, a vibration drive module 12, a vibration device 13, a PMU (Power Management Unit) 14, and a temperature sensor 15.
[0076] The processing component 11 is connected to the vibration drive module 12 and the PMU respectively; the vibration drive module 12 is connected to the vibration device 13; and the PMU is connected to the temperature sensor 15. The processing component 11 can be an application processor (AP) used to send temperature measurement commands to the PMU, which is connected to the temperature sensor 15. When the PMU receives the temperature measurement command, it determines the temperature of the temperature sensor 15 and returns this temperature to the processing component 11.
[0077] The vibration drive module 12 is used to drive the vibration device 13 to vibrate. Furthermore, when the driving frequency of the vibration drive module 12 driving the vibration device 13 is the same as the vibration frequency of the vibration device 13, the vibration intensity of the vibration device 13 is the maximum, and the tactile feedback effect of the vibration is the best. The vibration frequency of the vibration device 13 is affected by temperature. In this embodiment, the temperature change of the vibration device 13 is measured by the temperature sensor 15; and whenever a vibration event is received, the processing component 11 measures the current temperature of the vibration device 13 by the temperature sensor 15 and stores the first temperature in the memory of the mobile terminal. This memory can be an EMMC (Embedded Multi Media Card).
[0078] When a vibration event is received again, the processing component 11 detects the current temperature of the vibrating device 13 again through the temperature sensor 15. If the difference between the current temperature and the temperature measured when the vibration event was received last time is greater than a certain threshold, the vibration frequency of the vibrating device 13 is detected again. The subsequent vibration driving module drives the vibrating device 13 to vibrate through the newly obtained vibration frequency, which reduces the influence of temperature on the vibration frequency of the vibrating device 13. This makes the frequency of the vibration driving module 12 driving the vibrating device 13 closer to the vibration frequency of the vibrating device 13, increases the vibration intensity of the vibrating device 13, and enhances the tactile feedback effect of the vibration.
[0079] In another possible implementation, the vibration drive module 12 is equipped with a ROM (Read Only Memory). If the difference between the current temperature and the temperature measured when the vibration event was last received exceeds a certain threshold, the vibration frequency of the re-detected vibration device 13 is stored in the ROM. The ROM stores data that remains constant during normal operation; the data can only be read, not written, and is retained even when power is off. This ensures that the vibration frequency of the vibration device 13 stored in the ROM will not be lost, regardless of whether the mobile terminal is actively powered off or shut down due to insufficient power, thus improving reliability.
[0080] The vibration device 13 can be a motor; the vibration drive module 12 can be a motor driver. For example, the vibration device 13 can be an X-axis linear motor or a Z-axis linear motor. The vibration drive module 12 is a high-voltage motor driver IC (Integrated Circuit).
[0081] In one possible implementation, the temperature sensor 15 is located in the temperature measuring device of the mobile terminal, detecting the overall temperature of the mobile terminal. Utilizing the small temperature difference between the overall temperature of the mobile terminal and the temperature of the vibration device 13, the temperature of the vibration device 13 can be detected without adding hardware, reducing the cost of the mobile terminal through functional reuse. In another possible implementation, the mobile terminal can also add a temperature sensor 15, located on one side of the vibration device 13, allowing direct detection of the temperature of the vibration device 13, thus enabling more accurate temperature measurement.
[0082] It should be noted that the high-voltage motor driver IC can also drive the X-axis linear motor to vibrate via a drive signal. When the frequency of the drive module driving the motor is the same as the measured natural frequency of the X-axis linear motor, the vibration generated by the X-axis linear motor is the strongest, and the tactile feedback effect of the vibration is the best.
[0083] The temperature sensor 15 can be a thermistor or other temperature sensor components. When the temperature sensor 15 is a thermistor, since the thermistor exhibits different resistance values at different temperatures, the temperature of the thermistor can be determined based on the resistance value of the thermistor.
[0084] In one possible implementation, the temperature sensor 15 can be an NTC (Negative Temperature Coefficient) thermistor, whose resistance decreases as the temperature increases; the material of the NTC thermistor is a semiconductor ceramic made by fully mixing, molding, sintering and other processes of two or more metal oxides such as manganese, copper, silicon, cobalt, iron, nickel and zinc.
[0085] In another possible implementation, the temperature sensor 15 can also be a PTC (Positive Temperature Coefficient) thermistor. In this embodiment, the type and material of the temperature sensor 15 are not specifically limited and can be set and changed as needed. It should be noted that the following embodiments of this disclosure use an NTC thermistor as an example for illustration.
[0086] The NTC thermistor and PMU are connected via GPIO (General-purpose input / output). The PMU supplies voltage to the NTC thermistor through GPIO and obtains the current of the NTC thermistor through GPIO. The resistance of the NTC thermistor is determined by the voltage and current, and the temperature of the NTC thermistor is determined based on the resistance. The voltage across the NTC thermistor can be 0.5V, 1V, or 2V. In this embodiment, the voltage across the NTC thermistor is not specifically limited and can be set and changed as needed.
[0087] Figure 2 This is a flowchart illustrating a vibration method for a mobile terminal according to an exemplary embodiment. In this embodiment, the temperature of a vibrating device is measured only when a vibration event is received, and the vibration frequency of the vibrating device is determined based on the temperature. The method includes:
[0088] In step S201, when the mobile terminal receives a vibration event, the mobile terminal obtains the current first temperature of the vibration device in the mobile terminal.
[0089] Mobile devices may receive vibration events in the following situations:
[0090] First: When the mobile terminal is powered on, the mobile terminal receives a vibration event.
[0091] Second: When a mobile terminal uses a specific function, the mobile terminal receives a vibration event.
[0092] Specific functions may include call reminders, message reminders, or alarm reminders.
[0093] Third: When a specific app (application) is used on a mobile device, and the mobile device receives a specific event, it receives a vibration event. The specific app could be a game application. The specific event could be an event triggered by a game failure.
[0094] Accordingly, this step can be achieved through the following steps (1) to (3), including:
[0095] (1) When the processing component receives a vibration event, it sends a temperature measurement command to the PMU.
[0096] (2) The PMU receives the temperature measurement command and measures the current first temperature of the vibration device in the mobile terminal.
[0097] When the temperature sensor 15 is an NTC thermistor, the steps for the PMU to measure the current first temperature of the vibration device in the mobile terminal can be as follows: the PMU sends a voltage to the NTC thermistor through GPIO, the PMU obtains the current value of the NTC thermistor through GPIO, calculates the resistance value of the NTC thermistor based on the voltage and current across the NTC thermistor, the PMU determines the temperature of the NTC thermistor based on the temperature-resistance correspondence, and uses the temperature of the NTC thermistor as the current first temperature of the vibration device.
[0098] (3) The PMU sends the measured first temperature of the vibrating device to the processing component, which receives the first temperature of the vibrating device from the mobile terminal.
[0099] In step S202, the mobile terminal obtains the second temperature of the stored vibration device, which is the temperature stored when the vibration event was last received.
[0100] In this embodiment of the disclosure, whenever the mobile terminal receives a vibration event, it acquires the current temperature of the vibrating device and stores it in its memory. Furthermore, when storing the current temperature, the mobile terminal overwrites the previously stored temperature. Therefore, the mobile terminal's memory only stores the most recent temperature; correspondingly, in this step, the mobile terminal directly retrieves the second temperature of the vibrating device from its memory.
[0101] In another possible implementation, see Figure 3When the mobile terminal is powered on, it receives a vibration event and obtains the temperature Tn of the vibrating device in the mobile terminal. When the mobile terminal receives another vibration event, the temperature Tn of the vibrating device obtained by the mobile terminal when it is powered on is the second temperature.
[0102] In step S203, the mobile terminal obtains the difference between the first temperature and the second temperature.
[0103] For example, the second temperature record is T n The first temperature record is T. n+1 Then the mobile terminal determines the temperature based on the first temperature T. n+1 Second temperature T n Determine the difference between the first temperature and the second temperature, ΔT = T. n+1 -T n .
[0104] In step S204, the mobile terminal determines the target vibration frequency of the vibrating device based on the difference.
[0105] There are two ways for the mobile terminal to determine the target vibration frequency of the vibrating device based on the difference.
[0106] The first implementation method is as follows: when the difference is greater than the first temperature threshold, the mobile terminal detects the current second vibration frequency of the vibration device and uses the second vibration frequency as the target vibration frequency of the vibration device.
[0107] The step of detecting the current second vibration frequency of the vibrating device by the mobile terminal can be achieved by the following steps (a1) to (a4):
[0108] (a1) The processing component determines that the difference is greater than the first temperature threshold and sends a frequency measurement command to the vibration drive module.
[0109] Since the vibration frequency of the vibrating device is affected by temperature, when the difference between the first temperature and the second temperature of the vibrating device (i.e., ΔT) is greater than the first temperature threshold, the change in the vibration frequency of the vibrating device will also increase, and the impact on the vibration intensity of the vibrating device will also increase. The processing component determines to re-detect the vibration frequency of the vibrating device, and at this time sends a frequency measurement command to the vibration drive module.
[0110] The first temperature threshold can be 1℃, 5℃, or 10℃. In this embodiment, the value of the first temperature threshold is not specifically limited and can be set and changed as needed. For example, the first temperature threshold can be set to 5℃. Accordingly, see [link to relevant documentation]. Figure 3 When ΔT > 5℃, the mobile terminal detects the vibration frequency during the vibration period, and the processing component determines to re-detect the vibration frequency of the vibration device.
[0111] (a2) The vibration drive module receives the frequency measurement command and tests the current second vibration frequency of the vibration device.
[0112] The vibration drive module receives a frequency measurement command and drives the vibrating device to vibrate. The vibration frequency of the vibrating device is determined by its vibration parameters. In one possible implementation, the vibrating device is an X-axis linear motor, and the corresponding vibration drive module is a high-voltage motor drive IC. When the high-voltage motor drive IC receives the frequency measurement command, it tests the natural frequency of the X-axis linear motor, and the obtained natural frequency is the second vibration frequency.
[0113] (a3) The vibration drive module sends the measured second vibration frequency to the processing component.
[0114] It should be noted that when the vibration drive module measures the second vibration frequency, it can store the second vibration frequency in the ROM of the vibration drive module. That is, the vibration drive module will store the current vibration frequency every time it receives a vibration event; in addition, the vibration drive module will also store the current temperature.
[0115] Another point to note is that the vibration drive module can first store the second vibration frequency in its ROM, and then send the measured second vibration frequency to the processing component. Alternatively, the vibration drive module can first send the measured second vibration frequency to the processing component, and then store the second vibration frequency in its ROM. In this embodiment, the specific order in which the vibration drive module stores and sends the second vibration frequency is not limited.
[0116] (a4) The processing component receives the second vibration frequency sent by the vibration drive module.
[0117] In this embodiment, the vibration frequency of the vibrating device is affected by temperature. When the temperature difference exceeds the first temperature threshold, the processing component determines to re-detect the vibration frequency of the vibrating device and determines the re-detected vibration frequency as the vibration frequency of the vibrating device. This reduces the influence of temperature on the vibration frequency of the vibrating device, makes the frequency of the driving signal closer to the vibration frequency of the vibrating device, increases the vibration intensity of the vibrating device, and enhances the tactile feedback effect of the vibration.
[0118] It should be noted that when the difference between the first temperature and the second temperature is not greater than the first temperature threshold, the mobile terminal obtains the first vibration frequency of the stored vibration device and uses the first vibration frequency as the target vibration frequency of the vibration device. The first vibration frequency is the vibration frequency stored when the vibration event was last received.
[0119] The step of the mobile terminal acquiring the first vibration frequency of the stored vibration device can be achieved through the following steps (b1) to (b3), including:
[0120] (b1) The processing component determines that the difference is less than the first temperature threshold and sends a read command to the vibration drive module.
[0121] Because the vibration frequency of a vibrating device is affected by temperature, when the temperature change (ΔT) is small, the vibration frequency change is small, and the impact on the vibration intensity is minimal. In this case, the processing component determines not to re-detect the vibration frequency and directly obtains the previously detected frequency. The first temperature threshold is set to 5℃. Accordingly, see [link to relevant documentation]. Figure 3 When ΔT > 5℃ is not valid, the mobile terminal directly obtains the vibration frequency from the previous detection.
[0122] (b2) The vibration drive module receives the read command, retrieves the first vibration frequency of the stored vibration device from the memory, and sends the first vibration frequency to the processing component.
[0123] It should be noted that the first vibration frequency is the vibration frequency stored when the vibration event was last received. For ease of description, the first vibration frequency is defined as f0.
[0124] Another point to note is that the vibration drive module stores the current vibration frequency each time it receives a vibration event; that is, the vibration drive module stores the first vibration frequency stored when the vibration event was last received. In this step, the vibration drive module directly retrieves the stored first vibration frequency.
[0125] (b3) The processing component receives the first vibration frequency.
[0126] In one possible implementation, the vibration drive module is a high-voltage motor drive IC. The high-voltage motor drive IC's memory sends the first vibration frequency f0 of the vibration device, and f0 is used as the target vibration frequency of the vibration device.
[0127] In this embodiment, the vibration frequency of the vibrating device is affected by temperature. However, when the temperature change of the vibrating device is very small, the vibration frequency change of the vibrating device is very small, and the impact on the vibration intensity of the vibrating device is also very small. The mobile terminal determines not to re-detect the vibration frequency of the vibrating device. Thus, without affecting the vibration intensity and haptic feedback effect of the vibrating device, the power consumption of the mobile terminal is reduced, thereby increasing the standby time of the mobile terminal and improving the user experience of the mobile terminal.
[0128] The second implementation method: The mobile terminal does not need to re-detect the vibration frequency of the vibrating device; it directly determines the target vibration frequency of the vibrating device based on the difference. Correspondingly, this step can be achieved through the following steps (c1) to (c3), including:
[0129] (c1) The mobile terminal obtains the frequency change corresponding to the difference from the preset correspondence between the difference and the frequency change based on the difference.
[0130] It should be noted that the vibration frequency of a vibrating device is related to temperature. When the temperature of the vibrating device changes, the vibration frequency of the vibrating device also changes accordingly. Therefore, a correspondence between temperature difference and frequency change can be established. For example, when the temperature difference is ΔT, the corresponding frequency change is f(ΔT).
[0131] Another point to note is that the mobile terminal stores the correspondence between temperature difference and frequency change as a preset correspondence. In this way, the mobile terminal can obtain the frequency change f(ΔT) from the preset correspondence based on the difference ΔT.
[0132] Another point to note is that f(ΔT) can be either positive or negative; and f(ΔT) is positive when the first temperature is greater than the second temperature, and negative when the first temperature is less than the second temperature.
[0133] (c2) The mobile terminal obtains the first vibration frequency of the stored vibration device, which is the vibration frequency stored when the vibration event was last received.
[0134] For ease of description, the first vibration frequency is defined as f0.
[0135] (c3) The mobile terminal uses frequency change to compensate for the first vibration frequency and obtains the target vibration frequency of the vibrating device.
[0136] The mobile terminal determines the target vibration frequency of the vibrating device by summing the frequency change with the first vibration frequency.
[0137] For ease of description, the target vibration frequency is defined as f0'. At this point, when the temperature difference is ΔT, the frequency change f(ΔT), i.e., the frequency change that needs to be compensated for by the first vibration frequency f0, is f(ΔT). The mobile terminal uses the frequency change f(ΔT) to compensate for the first vibration frequency f0, thus obtaining the target vibration frequency f0' of the vibrating device, i.e., f0' = f0 + f(ΔT).
[0138] In this embodiment, the mobile terminal can determine the vibration frequency of the vibrating device without re-detecting the vibration frequency of the vibrating device. This reduces the power consumption of the mobile terminal, increases the standby time of the mobile terminal, ensures that the driving signal of the mobile terminal is closer to the vibration frequency of the vibrating device, increases the vibration intensity of the vibrating device, enhances the tactile feedback effect of the vibration, and improves the user experience of the mobile terminal.
[0139] In step S205, the mobile terminal controls the vibration device to execute a vibration event based on the target vibration frequency.
[0140] This step can be achieved through the following steps (1) to (2), including:
[0141] (1) The vibration drive module receives the drive command and sends a drive signal to the vibration device according to the target vibration frequency.
[0142] In one possible implementation, a drive command can trigger the vibration drive module to send a drive signal to the vibration device. This drive signal carries the target vibration frequency signal for driving the vibration device. When the natural frequency and the target vibration frequency are the same, the vibration intensity generated by the vibration device is maximized, resulting in the best feedback vibration effect.
[0143] In another possible implementation, the driving signal carries the driving power signal for driving the vibrating device. When the driving power is the same, the closer the target vibration frequency is to the natural frequency of the vibrating device, the greater the vibration intensity generated by the vibrating device and the better the feedback vibration effect.
[0144] (2) The vibration device receives the drive signal and executes the vibration event.
[0145] In one possible implementation, the vibrating device receives a drive signal carrying a target vibration frequency signal, and the vibrating device performs a vibration event according to the target vibration frequency in the drive signal. In another possible implementation, the drive signal carries a drive power signal, and the vibrating device performs a vibration event according to the drive power in the drive signal.
[0146] In this embodiment, by measuring the temperature of the vibrating device and detecting the vibration frequency of the vibrating device based on the temperature change, the subsequent driving vibration module drives the vibrating device to vibrate using this vibration frequency. This reduces the influence of temperature on the vibration frequency of the vibrating device, making the frequency driven by the vibration driving module closer to the vibration frequency of the vibrating device, increasing the vibration intensity of the vibrating device, and enhancing the tactile feedback effect of the vibration.
[0147] Figure 4This is a flowchart illustrating a vibration method for an electronic device according to an exemplary embodiment. In this embodiment, a mobile terminal periodically detects the temperature of a vibrating device. When the temperature change exceeds a certain threshold, the vibration frequency of the vibrating device is detected. When the mobile terminal receives a vibration event, it directly determines the vibration frequency corresponding to the first temperature based on the current first temperature and the stored vibration frequencies. The method further includes:
[0148] In step S401, the mobile terminal periodically detects the temperature of the vibrating device.
[0149] Correspondingly, the processing component periodically sends temperature measurement commands to the PMU, and the PMU periodically receives the temperature measurement commands and periodically detects the temperature of the vibration device. The periodic detection period can be 0.5 hours, 1 hour, or 1.5 hours. In this embodiment, the periodic detection period is not specifically limited and can be set and changed as needed. For example, if the periodic detection period is set to 0.5 hours, the mobile terminal detects the temperature of the vibration device every 0.5 hours.
[0150] In another possible approach, the periodicity of the periodic detection can also be set by the user, for example, the user can customize the setting within the range of 1 minute to 24 hours.
[0151] In step S402, when the difference between the third temperature detected this time and the fourth temperature detected last time is greater than the second temperature threshold, the mobile terminal determines the third vibration frequency of the vibrating device.
[0152] Correspondingly, when the difference between the third temperature detected by the processing component this time and the fourth temperature detected last time is greater than the second temperature threshold, the processing component sends a frequency measurement command to the vibration driving device. The vibration driving device tests the vibration frequency of the vibration device, and the measured vibration frequency is the third vibration frequency.
[0153] The second temperature threshold can be 1℃, 5℃, or 10℃. In this embodiment, the value of the second temperature threshold is not specifically limited and can be set and changed as needed. For example, the first temperature threshold can be set to 5℃. Correspondingly, when ΔT≥5℃, the mobile terminal determines the third vibration frequency of the vibrating device. It should be noted that the second temperature threshold and the first temperature threshold can be the same or different.
[0154] In step S403, the mobile terminal generates a correspondence between temperature and vibration frequency based on the third temperature and the third vibration frequency.
[0155] In one possible approach, when the difference between the currently detected third temperature and the previously detected fourth temperature is greater than a second temperature threshold, the mobile terminal stores the third temperature. Simultaneously, when the mobile terminal determines the third vibration frequency of the vibrating device, it stores the third vibration frequency. Accordingly, the third temperature and the third vibration frequency form a corresponding relationship.
[0156] When there are multiple sets of correspondences between the detected third temperature and the third vibration frequency, the processing component generates a correspondence between temperature and vibration frequency through these multiple sets of correspondences.
[0157] It should be noted that the correspondence between temperature and vibration frequency can be pre-detected and generated periodically by the mobile terminal. That is, steps S401-S403 can be executed before the mobile terminal receives a vibration event. Furthermore, steps S401-S403 only need to be executed once; upon subsequent receipt of a vibration event, steps S401-S403 do not need to be executed again, and step S404 can be executed directly. Moreover, steps S401-S403 can be executed during the current power-on of the mobile terminal or at the time of factory shipment. In this embodiment, the timing of the execution of steps S401-S403 is not specifically limited.
[0158] In step S404, when the mobile terminal receives a vibration event, it obtains the current first temperature of the vibration device in the mobile terminal.
[0159] Steps S404 and S201 are the same, and will not be described again here.
[0160] In step S405, the mobile terminal determines whether the target vibration frequency corresponding to the first temperature is stored in the locally stored correspondence between temperature and vibration frequency, based on the first temperature.
[0161] This step can be achieved through the following steps (1) to (2), including:
[0162] (1) The processing component obtains the correspondence between temperature and vibration frequency stored locally.
[0163] In one possible implementation, the correspondence between temperature and vibration frequency is stored locally in the memory of the processing component. It should be noted that the more locally stored data on the correspondence between temperature and vibration frequency, the greater the probability of storing the target vibration frequency corresponding to the first temperature in local storage.
[0164] In another possible implementation, the processing component stores the correspondence between temperature and vibration frequency for each test. As the number of temperature and vibration frequency tests performed by the mobile terminal increases, more data on the correspondence between temperature and vibration frequency is stored locally. The probability of storing the target vibration frequency corresponding to the first temperature in local storage is greater, which increases the intelligence of the mobile terminal and improves the user experience.
[0165] (2) The processing component compares the first temperature with the locally stored temperature to determine whether to store the target vibration frequency corresponding to the first temperature.
[0166] The processing component compares the first temperature with the locally stored temperature data to determine whether the first temperature exists in the locally stored temperature data. If the first temperature exists in the locally stored temperature data, it is determined that the target vibration frequency corresponding to the first temperature is stored locally; if the first temperature does not exist in the locally stored temperature data, it is determined that the target vibration frequency corresponding to the first temperature is not stored locally.
[0167] It should be emphasized that if the target vibration frequency corresponding to the first temperature is not stored locally, steps S406 to S408 are executed; if the target vibration frequency corresponding to the first temperature is stored locally, step S409 is executed.
[0168] In step S406, when there is no target vibration frequency corresponding to the first temperature stored locally, the mobile terminal obtains the second temperature of the stored vibration device.
[0169] When the target vibration frequency corresponding to the first temperature is not stored locally, the mobile terminal executes the step of obtaining the second temperature of the stored vibration device. At this time, the methods of step S406 and step S202 are the same, and will not be described again here.
[0170] In step S407, the mobile terminal obtains the difference between the first temperature and the second temperature.
[0171] Steps S407 and S203 are the same and will not be described again here.
[0172] In step S408, the mobile terminal determines the target vibration frequency of the vibrating device based on the difference.
[0173] Steps S408 and S204 are the same, and will not be described again here.
[0174] In step S409, when the target vibration frequency corresponding to the first temperature is stored locally, the mobile terminal obtains the target vibration frequency corresponding to the first temperature from the correspondence between temperature and vibration frequency.
[0175] This step can be achieved through the following steps (1) to (2), including:
[0176] (1) When there is a target vibration frequency corresponding to the first temperature stored locally, the processing component obtains a set of data on the correspondence between temperature and frequency from the local storage, and the temperature in the data is the same as the first temperature.
[0177] (2) The processing component obtains the target vibration frequency corresponding to the first temperature from a set of data on the correspondence between temperature and frequency, where the temperature in the data is the same as the first temperature.
[0178] In step S410, the mobile terminal controls the vibration device to execute a vibration event according to the target vibration frequency.
[0179] Steps S408 and S205 are the same and will not be described again here.
[0180] In this embodiment, the mobile terminal can determine the vibration frequency of the vibrating device based on the correspondence between temperature and vibration frequency stored locally on the mobile terminal without re-detecting the vibration frequency of the vibrating device. This reduces the power consumption of the mobile terminal, increases the standby time of the mobile terminal, ensures that the driving signal of the mobile terminal is closer to the vibration frequency of the vibrating device, increases the vibration intensity of the vibrating device, enhances the tactile feedback effect of the vibration, and improves the user experience of the mobile terminal.
[0181] Figure 5 This is a block diagram illustrating a vibration device for an electronic device according to an exemplary embodiment. The device includes:
[0182] The acquisition module 501 is used to acquire the current first temperature of the vibrating device in the electronic device when a vibration event is received; it is also used to acquire the stored second temperature of the vibrating device, the second temperature being the temperature stored when the vibration event was last received.
[0183] The determining module 502 is used to determine the target vibration frequency of the vibrating device based on the first temperature and the second temperature.
[0184] The control module 503 is used to control the vibrating device to perform vibration events according to the target vibration frequency.
[0185] In another possible implementation, the determining module 502 is further configured to acquire the difference between the first temperature and the second temperature; and to determine the target vibration frequency of the vibrating device based on the difference.
[0186] In another possible implementation, the determining module 502 is also configured to detect the current second vibration frequency of the vibrating device when the difference is greater than the first temperature threshold, and use the second vibration frequency as the target vibration frequency of the vibrating device.
[0187] In another possible implementation, the determining module 502 is further configured to acquire the first vibration frequency of the stored vibration device when the difference is not greater than the first temperature threshold, and use the first vibration frequency as the target vibration frequency of the vibration device. The first vibration frequency is the vibration frequency stored when the vibration event was last received.
[0188] In another possible implementation, the determining module 502 is further configured to obtain the frequency change corresponding to the difference from a preset correspondence between the difference and the frequency change; obtain the first vibration frequency of the stored vibration device, the first vibration frequency being the vibration frequency stored when the vibration event was last received; and compensate the first vibration frequency with the frequency change to obtain the target vibration frequency of the vibration device.
[0189] In another possible implementation, the acquisition module 501 is further configured to determine, based on the first temperature, whether the locally stored correspondence between temperature and vibration frequency stores a target vibration frequency corresponding to the first temperature; when no target vibration frequency corresponding to the first temperature is stored locally, the second temperature of the stored vibration device is acquired.
[0190] The acquisition module 501 is also configured to acquire the target vibration frequency corresponding to the first temperature from the correspondence between temperature and vibration frequency when the target vibration frequency corresponding to the first temperature is stored locally.
[0191] In another possible implementation, the device also includes:
[0192] The detection module is configured to periodically detect the temperature of the vibrating device;
[0193] The determination module 502 is also configured to determine the third vibration frequency of the vibrating device when the difference between the third temperature detected this time and the fourth temperature detected last time is greater than the third temperature threshold.
[0194] The generation module is configured to generate a correspondence between temperature and vibration frequency based on a third temperature and a third vibration frequency.
[0195] In this embodiment of the disclosure, a vibration device for an electronic device is provided. The device measures the temperature of the vibrating device and detects the vibration frequency of the vibrating device based on the temperature change. Subsequently, the vibration driving module drives the vibrating device to vibrate using the vibration frequency. This reduces the influence of temperature on the vibration frequency of the vibrating device, makes the frequency driven by the vibration driving module closer to the vibration frequency of the vibrating device, increases the vibration intensity of the vibrating device, and enhances the tactile feedback effect of the vibration.
[0196] Figure 6This is a block diagram illustrating a mobile terminal 600 according to an exemplary embodiment. For example, the mobile terminal 600 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, etc.
[0197] Reference Figure 6 The mobile terminal 600 may include one or more of the following components: a processing component 602, a memory 604, a power supply component 606, a multimedia component 608, an audio component 610, an input / output (I / O) interface 612, a sensor component 614, and a communication component 616.
[0198] Processing component 602 typically controls the overall operation of mobile terminal 600, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 602 may include one or more processors 820 to execute instructions to complete all or part of the steps of the methods described above. Furthermore, processing component 602 may include one or more modules to facilitate interaction between processing component 602 and other components. For example, processing component 602 may include a multimedia module to facilitate interaction between multimedia component 608 and processing component 602.
[0199] Memory 604 is configured to store various types of data to support operation on mobile terminal 600. Examples of this data include instructions for any application or method operating on mobile terminal 600, contact data, phonebook data, messages, pictures, videos, etc. Memory 604 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0200] The power supply component 606 provides power to various components of the mobile terminal 600. The power supply component 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the mobile terminal 600.
[0201] Multimedia component 608 includes a screen that provides an output interface between the mobile terminal 600 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 608 includes a front-facing camera and / or a rear-facing camera. When the mobile terminal 600 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0202] Audio component 610 is configured to output and / or input audio signals. For example, audio component 610 includes a microphone (MIC) configured to receive external audio signals when mobile terminal 600 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 604 or transmitted via communication component 616. In some embodiments, audio component 610 also includes a speaker for outputting audio signals.
[0203] I / O interface 612 provides an interface between processing component 602 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0204] Sensor assembly 614 includes one or more sensors for providing state assessments of various aspects of mobile terminal 600. For example, sensor assembly 614 can detect the on / off state of mobile terminal 600, the relative positioning of components such as the display and keypad of mobile terminal 600, changes in position of mobile terminal 600 or a component of mobile terminal 600, the presence or absence of user contact with mobile terminal 600, orientation or acceleration / deceleration of mobile terminal 600, and temperature changes of mobile terminal 600. Sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 614 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.
[0205] Communication component 616 is configured to facilitate wired or wireless communication between mobile terminal 600 and other devices. Mobile terminal 600 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 616 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 616 further includes a near-field communication (NFC) module to facilitate short-range communication.
[0206] In an exemplary embodiment, the mobile terminal 600 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0207] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided. When these instructions are executed by the processor 620 of the mobile terminal 600, the mobile terminal 600 is enabled to perform the operations performed in the method for displaying application information in the above embodiments. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0208] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.
[0209] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A vibration method for a mobile terminal, characterized in that, The mobile terminal includes a processing component, a vibration drive module, a vibration device, a power management module, and a temperature sensor. The temperature detected by the temperature sensor is the overall temperature of the mobile terminal, and the temperature sensor is disposed in the temperature measuring device of the mobile terminal. The method includes: When the processing component receives a vibration event, it sends a temperature measurement command to the power management module. The power management module receives the temperature measurement command, obtains the current first temperature of the vibration device through the temperature sensor, and sends the first temperature to the processing component; The processing component determines, based on the first temperature, whether there is a target vibration frequency corresponding to the first temperature stored in the locally stored correspondence between temperature and vibration frequency. When the local storage contains a target vibration frequency corresponding to the first temperature, the processing component obtains the target vibration frequency corresponding to the first temperature from the correspondence between the temperature and the vibration frequency. When no target vibration frequency corresponding to the first temperature is stored locally, the second temperature of the vibrating device that has been stored is obtained, the second temperature being the temperature stored when the vibration event was last received; the difference between the first temperature and the second temperature is obtained. When the processing component determines that the difference is greater than the first temperature threshold, it sends a frequency measurement command to the vibration drive module; upon receiving the frequency measurement command, the vibration drive module drives the vibration device to vibrate, and determines the current second vibration frequency of the vibration device through the vibration parameters of the vibration device; the processing component receives the second vibration frequency sent by the vibration drive module and uses the second vibration frequency as the target vibration frequency of the vibration device. When the processing component determines that the difference is less than the first temperature threshold, it sends a read command to the vibration drive module; the vibration drive module receives the read command and obtains the first vibration frequency of the stored vibration device, the first vibration frequency being the vibration frequency stored when the vibration event was last received; the processing component receives the first vibration frequency sent by the vibration drive module and uses the first vibration frequency as the target vibration frequency of the vibration device. When the vibration drive module receives a drive command, it sends a drive signal to the vibration device according to the target vibration frequency. The drive signal carries either the target vibration frequency signal for driving the vibration device or the drive power signal for driving the vibration device. The vibration device receives the drive signal and executes the vibration event according to the target vibration frequency signal or the drive power signal carried in the drive signal.
2. The vibration method according to claim 1, characterized in that, The method further includes: The temperature of the vibrating device is periodically monitored; When the difference between the third temperature detected this time and the fourth temperature detected last time is greater than the second temperature threshold, the third vibration frequency of the vibration device is determined. Based on the third temperature and the third vibration frequency, a correspondence between temperature and vibration frequency is generated.
3. A vibration device for a mobile terminal, characterized in that, The mobile terminal includes a processing component, a vibration drive module, a vibration device, a power management module, and a temperature sensor. The temperature detected by the temperature sensor is the overall temperature of the mobile terminal, and the temperature sensor is disposed in the temperature measuring device of the mobile terminal. The device includes: The acquisition module is configured to, when a vibration event is received through the processing component, send a temperature measurement command to the power management module through the processing component; receive the temperature measurement command through the power management module, acquire the current first temperature of the vibration device in the mobile terminal through the temperature sensor, and send the first temperature to the processing component through the power management module; The acquisition module is further configured to, based on the first temperature, determine whether a target vibration frequency corresponding to the first temperature is stored in the locally stored correspondence between temperature and vibration frequency using the processing component; when a target vibration frequency corresponding to the first temperature is stored locally, the processing component acquires the target vibration frequency corresponding to the first temperature from the correspondence between temperature and vibration frequency; when no target vibration frequency corresponding to the first temperature is stored locally, the module acquires the second temperature of the vibration device that has been stored, the second temperature being the temperature stored when the vibration event was last received. The determination module is configured to obtain the difference between the first temperature and the second temperature; The determining module is further configured to, when the processing component determines that the difference is greater than a first temperature threshold, send a frequency measurement command to the vibration driving module through the processing component; upon receiving the frequency measurement command, the vibration driving module drives the vibration device to vibrate, and determines the current second vibration frequency of the vibration device through the vibration parameters of the vibration device; and upon receiving the second vibration frequency sent by the vibration driving module through the processing component, use the second vibration frequency as the target vibration frequency of the vibration device. The determining module is further configured to, when the processing component determines that the difference is less than the first temperature threshold, send a read command to the vibration driving module through the processing component; receive the read command through the vibration driving module, obtain the first vibration frequency of the stored vibration device, the first vibration frequency being the vibration frequency stored when the vibration event was last received; and receive the first vibration frequency sent by the vibration driving module through the processing component, and use the first vibration frequency as the target vibration frequency of the vibration device. The control module is configured to, upon receiving a drive command through the vibration drive module, send a drive signal to the vibration device according to the target vibration frequency, wherein the drive signal carries either a target vibration frequency signal or a drive power signal for driving the vibration device; and upon receiving the drive signal through the vibration device, control the vibration device to execute the vibration event according to the target vibration frequency signal or the drive power signal carried in the drive signal.
4. The vibration device according to claim 3, characterized in that, The device further includes: The detection module is configured to periodically detect the temperature of the vibrating device; The determining module is further configured to determine the third vibration frequency of the vibrating device when the difference between the third temperature detected this time and the fourth temperature detected last time is greater than the second temperature threshold. The generation module is configured to generate a correspondence between temperature and vibration frequency based on the third temperature and the third vibration frequency.
5. A mobile terminal, characterized in that, The mobile terminal includes a processing component, a vibration drive module, a vibration device, a power management module, and a temperature sensor. The temperature detected by the temperature sensor is the overall temperature of the mobile terminal, and the temperature sensor is installed in the temperature measuring device of the mobile terminal. The mobile terminal includes: One or more processors; Volatile or non-volatile memory for storing one or more processor-executable instructions; Wherein, the one or more processors are configured as follows: When a vibration event is received by the processing component, a temperature measurement command is sent to the power management module through the processing component; the power management module receives the temperature measurement command, obtains the current first temperature of the vibration device in the mobile terminal through the temperature sensor, and sends the first temperature to the processing component through the power management module; The processing component determines, based on the first temperature, whether there is a target vibration frequency corresponding to the first temperature stored in the locally stored temperature-vibration frequency correspondence. When there is a target vibration frequency corresponding to the first temperature stored locally, the processing component obtains the target vibration frequency corresponding to the first temperature from the temperature-vibration frequency correspondence. When there is no target vibration frequency corresponding to the first temperature stored locally, the processing component obtains the second temperature of the vibrating device that has been stored, where the second temperature is the temperature stored when the vibration event was last received. Obtain the difference between the first temperature and the second temperature; When the processing component determines that the difference is greater than the first temperature threshold, it sends a frequency measurement command to the vibration drive module. Upon receiving the frequency measurement command, the vibration drive module drives the vibration device to vibrate and determines the current second vibration frequency of the vibration device based on its vibration parameters. The processing component receives the second vibration frequency sent by the vibration drive module and uses it as the target vibration frequency of the vibration device. When the processing component determines that the difference is less than the first temperature threshold, the processing component sends a read command to the vibration drive module; the vibration drive module receives the read command and obtains the stored first vibration frequency of the vibration device, the first vibration frequency being the vibration frequency stored when the vibration event was last received; the processing component receives the first vibration frequency sent by the vibration drive module and uses the first vibration frequency as the target vibration frequency of the vibration device. When the vibration drive module receives a drive command, it sends a drive signal to the vibration device according to the target vibration frequency. The drive signal carries either a target vibration frequency signal or a drive power signal for driving the vibration device. When the vibration device receives the drive signal, it controls the vibration device to execute the vibration event according to the target vibration frequency signal or the drive power signal carried in the drive signal.
6. A computer-readable storage medium, characterized in that, When at least one instruction is stored in the computer-readable storage medium, the instruction is loaded and executed by a processor to perform the operation carried out in the vibration method as described in any one of claims 1 to 2.
Citation Information
Patent Citations
Motor vibration driving method and terminal device
CN109495053A
Method for driving a linear resonant actuator, and terminal
WO2018126560A1