CN107484233B - Terminal vibration method, terminal and computer readable storage medium - Google Patents

Terminal vibration method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN107484233B
CN107484233B CN201710751898.XA CN201710751898A CN107484233B CN 107484233 B CN107484233 B CN 107484233B CN 201710751898 A CN201710751898 A CN 201710751898A CN 107484233 B CN107484233 B CN 107484233B
Authority
CN
China
Prior art keywords
pressure
vibration
terminal
power consumption
processing unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710751898.XA
Other languages
Chinese (zh)
Other versions
CN107484233A (en
Inventor
杨坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710751898.XA priority Critical patent/CN107484233B/en
Publication of CN107484233A publication Critical patent/CN107484233A/en
Application granted granted Critical
Publication of CN107484233B publication Critical patent/CN107484233B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • H04W52/0254Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity detecting a user operation or a tactile contact or a motion of the device
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The disclosure relates to a terminal vibration method, a terminal and a computer readable storage medium, and relates to the technical field of terminals. The terminal comprises a pressure identification module and a vibration response module, and the method comprises the following steps: when the pressure identification module detects a pressing operation through a built-in pressure sensor, the pressure characteristics of the pressing operation are obtained through the processing unit, the working power consumption of the processing unit is smaller than first specified power consumption, and the standby power consumption of the processing unit is smaller than second specified power consumption; when the pressure characteristic is the designated characteristic, the pressure identification module generates a first vibration signal through the processing unit based on the pressure characteristic and transmits the first vibration signal to the vibration response module; when the vibration response module receives the first vibration signal, the built-in vibration motor is driven to vibrate based on the first vibration signal. The method and the device can reduce the power consumption of the terminal during vibration and the standby power consumption of the terminal, thereby saving the processing resources of the terminal.

Description

Terminal vibration method, terminal and computer readable storage medium
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a terminal vibration method, a terminal, and a computer-readable storage medium.
Background
With the rapid development of terminal technology, the functions of terminals such as mobile phones and computers are becoming increasingly powerful, and they are becoming an indispensable part of people's work and life. A vibration function is often provided in the terminal to alert the user that certain operations it performs have been taken into effect. For example, when the user performs pressing operations on a screen, keys, and the like of the terminal, if the terminal detects the pressing operations, different vibration feedbacks may be performed for the pressing operations to remind the user that the pressing operations have been effective.
Referring now to fig. 1, a pressure identification module, a system processor and a vibration response module are typically included in a terminal. When the terminal runs, if the pressure identification module detects the pressing operation, the pressure characteristics of the pressing operation are obtained and transmitted to the system processor; when the system processor receives the pressure characteristic, generating a PWM (Pulse Width Modulation) waveform signal based on the pressure characteristic, and transmitting the PWM waveform signal to the vibration response module; when the vibration response module receives the PWM waveform signal, the built-in vibration motor is driven to vibrate based on the PWM waveform signal.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a terminal vibration method, a terminal, and a computer-readable storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided a terminal vibration method, the terminal including a pressure identification module and a vibration response module, the method including:
when the pressure identification module detects a pressing operation through a built-in pressure sensor, a built-in processing unit is used for acquiring the pressure characteristic of the pressing operation, the working power consumption of the processing unit is smaller than a first specified power consumption, and the standby power consumption of the processing unit is smaller than a second specified power consumption;
when the pressure characteristic is a designated characteristic, the pressure identification module generates a first vibration signal based on the pressure characteristic through the processing unit and transmits the first vibration signal to the vibration response module;
when the vibration response module receives the first vibration signal, the built-in vibration motor is driven to vibrate based on the first vibration signal.
Optionally, the pressure identification module generates, by the processing unit, a first vibration signal based on the pressure characteristic, including:
the pressure identification module acquires corresponding signal frequency from the corresponding relation between the stored pressure characteristic and the signal frequency through the processing unit based on the pressure characteristic;
the pressure identification module generates a signal with a frequency of the acquired signal frequency as the first vibration signal through the processing unit.
Optionally, when the terminal is in a standby state, the specified feature is a pressure feature capable of waking up a pressing operation of an operating system of the terminal.
Optionally, the terminal includes a system processor, where working power consumption of the system processor is not less than the first specified power consumption, and standby power consumption of the system processor is not less than the second specified power consumption.
Optionally, the method further comprises:
when the pressure signature is not the specified signature, the pressure identification module transmits the pressure signature to the system processor;
when the system processor receives the pressure signature, generating a second vibration signal based on the pressure signature and transmitting the second vibration signal to the vibration response module;
when the vibration response module receives the second vibration signal, the vibration motor is driven to vibrate based on the second vibration signal.
According to a second aspect of embodiments of the present disclosure, there is provided a terminal comprising a pressure identification module and a vibration response module;
the pressure identification module is used for acquiring the pressure characteristics of the pressing operation through a built-in processing unit when the pressing operation is detected through a built-in pressure sensor, the working power consumption of the processing unit is smaller than a first specified power consumption, and the standby power consumption of the processing unit is smaller than a second specified power consumption;
the pressure identification module is further configured to generate, by the processing unit, a first vibration signal based on the pressure characteristic when the pressure characteristic is a specified characteristic, and transmit the first vibration signal to the vibration response module;
and the vibration response module is used for driving a built-in vibration motor to vibrate based on the first vibration signal when the first vibration signal is received.
Optionally, the pressure identification module is configured to:
acquiring, by the processing unit, a corresponding signal frequency from a correspondence between the stored pressure characteristics and signal frequencies based on the pressure characteristics;
generating a signal having a frequency of the acquired signal frequency as the first vibration signal.
Optionally, when the terminal is in a standby state, the specified feature is a pressure feature capable of waking up a pressing operation of an operating system of the terminal.
Optionally, the terminal includes a system processor, where working power consumption of the system processor is not less than the first specified power consumption, and standby power consumption of the system processor is not less than the second specified power consumption.
Alternatively,
the pressure identification module is used for transmitting the pressure characteristic to the system processor when the pressure characteristic is not the specified characteristic;
the system processor is used for generating a second vibration signal based on the pressure characteristic when the pressure characteristic is received and transmitting the second vibration signal to the vibration response module;
and the vibration response module is used for driving the vibration motor to vibrate based on the second vibration signal when the second vibration signal is received.
According to a third aspect of the embodiments of the present disclosure, there is provided a terminal, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of the method of the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon instructions which, when executed by a processor, implement the steps of the method of the first aspect described above.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: when the pressure recognition module detects a pressing operation through a built-in pressure sensor, the built-in processing unit obtains a pressure characteristic of the pressing operation, when the pressure characteristic is a specified characteristic, the pressure recognition module generates a first vibration signal based on the pressure characteristic through the processing unit and transmits the first vibration signal to the vibration response module, and when the vibration response module receives the first vibration signal, the built-in vibration motor is driven to vibrate based on the first vibration signal. Because the working power consumption of the processing unit is less than the first designated power consumption, the power consumption in the vibration process is lower, and the processing resource of the terminal is saved. In addition, in this case, when the terminal is in the standby state, the vibration feedback of the pressing operation can be realized in time only by the standby of the processing unit, and since the standby power consumption of the processing unit is smaller than the second specified power consumption, the standby power consumption of the terminal is lower at this time, thereby further saving the processing resource of the terminal.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a schematic structural diagram of a terminal provided in the related art.
FIG. 2 is a schematic diagram illustrating a system architecture in accordance with an exemplary embodiment.
Fig. 3 is a flow chart illustrating a method of vibrating a terminal according to an exemplary embodiment.
Fig. 4A is a flow chart illustrating another method of vibrating a terminal according to an exemplary embodiment.
FIG. 4B is a schematic diagram illustrating a configuration of a vibration-responsive module, according to an exemplary embodiment.
FIG. 5A is a block diagram illustrating a terminal in accordance with an exemplary embodiment;
FIG. 5B is a block diagram illustrating another terminal according to an example embodiment;
fig. 6 is a block diagram illustrating yet another terminal according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
For ease of understanding, before explaining the embodiments of the present disclosure in detail, an application scenario and a system architecture related to the embodiments of the present disclosure will be described.
First, an application scenario related to the embodiment of the present disclosure is described.
When the user uses the terminal, different pressing operations can be carried out on a screen, keys and the like of the terminal, and if the terminal detects the pressing operations, different vibration feedbacks can be carried out on the pressing operations so as to remind the user that the pressing operations are effective. At present, when the terminal is in operation, if the pressure identification module detects a pressing operation, the pressure identification module needs to transmit a pressure characteristic of the pressing operation to the system processor, and the system processor outputs a PWM waveform signal corresponding to the pressure characteristic to the vibration response module, so that the vibration response module drives the built-in vibration motor to vibrate based on the PWM waveform signal. In this case, in order to perform vibration feedback on the pressing operation in a timely manner, the system processor needs to be constantly on standby when the terminal is in a standby state, and since standby power consumption and operating power consumption of the system processor are often high, power consumption is high when the terminal vibrates. Therefore, the embodiment of the disclosure provides a terminal vibration method, in which a pressure identification module directly outputs a first vibration signal to a vibration response module when detecting a pressing operation, so that power consumption of the terminal during vibration can be effectively reduced under the condition that standby power consumption and working power consumption of the pressure identification module are low.
Next, a system architecture related to the embodiments of the present disclosure is described.
Fig. 2 is a schematic diagram of a system architecture according to a terminal vibration method provided by an embodiment of the present disclosure. The system architecture may be deployed on a terminal. Referring to fig. 2, the system architecture includes a pressure identification module 201 and a vibration response module 202, and the pressure identification module 201 and the vibration response module 202 are connected. When the pressure identification module 201 detects a pressing operation, a pressure characteristic of the pressing operation can be acquired, a first vibration signal is generated based on the pressure characteristic, and the first vibration signal is transmitted to the vibration response module 202; when the vibration response module 202 receives the first vibration signal, the built-in vibration motor may be driven to vibrate based on the first vibration signal.
Fig. 3 is a flowchart illustrating a terminal vibration method according to an exemplary embodiment, and referring to fig. 3, the terminal includes a pressure identification module and a vibration response module, and the method includes the following steps.
In step 301, when the pressure recognition module detects a pressing operation through a built-in pressure sensor, a pressure characteristic of the pressing operation is acquired through a built-in processing unit, working power consumption of the processing unit is smaller than first specified power consumption, and standby power consumption of the processing unit is smaller than second specified power consumption.
In step 302, when the pressure characteristic is a designated characteristic, the pressure identification module generates a first vibration signal based on the pressure characteristic through the processing unit and transmits the first vibration signal to the vibration response module.
In step 303, when the vibration response module receives the first vibration signal, the built-in vibration motor is driven to vibrate based on the first vibration signal.
In the embodiment of the disclosure, when the pressure recognition module detects a pressing operation through the built-in pressure sensor, the built-in processing unit acquires a pressure characteristic of the pressing operation, when the pressure characteristic is a specified characteristic, the pressure recognition module generates a first vibration signal based on the pressure characteristic through the processing unit and transmits the first vibration signal to the vibration response module, and when the vibration response module receives the first vibration signal, the built-in vibration motor is driven to vibrate based on the first vibration signal. Because the working power consumption of the processing unit is less than the first designated power consumption, the power consumption in the vibration process is lower, and the processing resource of the terminal is saved. In addition, in this case, when the terminal is in the standby state, the vibration feedback of the pressing operation can be realized in time only by the standby of the processing unit, and since the standby power consumption of the processing unit is smaller than the second specified power consumption, the standby power consumption of the terminal is lower at this time, thereby further saving the processing resource of the terminal.
Optionally, the pressure identification module generates, by the processing unit, a first vibration signal based on the pressure characteristic, including:
the pressure identification module acquires corresponding signal frequency from the corresponding relation between the stored pressure characteristic and the signal frequency through the processing unit based on the pressure characteristic;
the pressure identification module generates a signal with a frequency of the acquired signal frequency as a first vibration signal through the processing unit.
Alternatively, when the terminal is in a standby state, the specified feature is a pressure feature capable of waking up a press operation of an operating system of the terminal.
Optionally, the terminal includes a system processor, the operating power consumption of the system processor is not less than the first specified power consumption, and the standby power consumption of the system processor is not less than the second specified power consumption.
Optionally, the method further comprises:
when the pressure characteristic is not a specified characteristic, the pressure identification module transmits the pressure characteristic to a system processor;
when the system processor receives the pressure characteristics, generating a second vibration signal based on the pressure characteristics, and transmitting the second vibration signal to the vibration response module;
and when the vibration response module receives the second vibration signal, driving the vibration motor to vibrate based on the second vibration signal.
All the above optional technical solutions can be combined arbitrarily to form optional embodiments of the present disclosure, and the embodiments of the present disclosure are not described in detail again.
Fig. 4A is a flow chart illustrating a method of vibrating a terminal according to an exemplary embodiment. The embodiment of the present disclosure will be discussed in conjunction with fig. 4A in an expanded manner with respect to the embodiment shown in fig. 3. The terminal includes a pressure identification module and a vibration response module, see fig. 4A, and the method includes the following steps.
In step 401, when the pressure recognition module detects a pressing operation through a built-in pressure sensor, a pressure characteristic of the pressing operation is acquired through a built-in processing unit.
It should be noted that the pressure characteristics may include a pressing position, a pressing time length, a pressing direction, and the like of the pressing operation, and the pressing position may be a position where a volume key, a power key, a mute key, a fingerprint unlock key, a screen, and the like are located in the terminal.
In addition, the processing Unit may be an MCU (Micro Control Unit), an ASIC (Application Specific Integrated Circuit) state machine, and the like, which is not limited in the embodiment of the present disclosure. The operating power consumption of the processing unit may be less than the first specified power consumption, and the standby power consumption of the processing unit may be less than the second specified function, that is, both the operating power consumption and the standby power consumption of the processing unit are low.
Furthermore, the first specified power consumption and the second specified power consumption may be preset, and the first specified power consumption may be smaller than the operating power consumption of a system processor included in the terminal, and the second specified power consumption may be smaller than the standby power consumption of the system processor, that is, the operating power consumption of the processing unit is smaller than the operating power consumption of the system processor, and the standby power consumption of the processing unit is smaller than the standby power consumption of the system processor. The system processor may be a Central Processing Unit (CPU) or the like.
In step 402, the pressure identification module determines whether the pressure characteristic is a specified characteristic by the processing unit.
It should be noted that the specific feature may be preset, and the specific feature may be a pressure feature for performing a pressing operation of a specific function, and the specific function may be a function that can be implemented without passing through a system processor, for example, the specific function may be a function of increasing or decreasing a volume, muting, waking up an operating system of the terminal when the terminal is in a standby state, and the like.
For example, when the designated function is volume up or down, the designated feature is a pressure feature including a pressed position as a position where a volume key is located; when the specified function is mute, the specified feature may be a pressure feature including a pressed position at which the mute key is located; when the designated function is to wake up an operating system of the terminal when the terminal is in a standby state, the designated feature may be a pressure feature including a pressed position as a position where a power key or a screen is located.
When the pressure characteristic is a designated characteristic, it indicates that the function to be performed by the pressing operation can be implemented without the system processor, so that the following step 403 and step 404 can be continuously performed to generate the vibration feedback corresponding to the pressing operation on the terminal; when the pressure characteristic is not the designated characteristic, it indicates that the function to be performed by the pressing operation needs to be performed by the system processor, so that the following step 405 and 407 can be continuously performed to generate the vibration feedback corresponding to the pressing operation on the terminal.
In step 403, when the pressure characteristic is a designated characteristic, the pressure identification module generates a first vibration signal based on the pressure characteristic through the processing unit and transmits the first vibration signal to the vibration response module.
The first vibration signal is a signal for driving the vibration motor to vibrate, and for example, the first vibration signal may be a PWM waveform signal.
In addition, when the pressure characteristic is a specified characteristic, the function to be performed by the pressing operation is indicated to be implemented without a system processor, so that the pressure identification module can directly generate a first vibration signal based on the pressure characteristic through the processing unit and implement corresponding vibration through the first vibration signal.
When the first vibration signal is generated based on the pressure characteristic, a corresponding signal frequency may be acquired from the stored correspondence between the pressure characteristic and the signal frequency based on the pressure characteristic, and a signal having the acquired signal frequency may be generated as the first vibration signal. Of course, in practical applications, the first vibration signal may be generated based on the pressure characteristic in other ways, which is not limited by the embodiment of the present disclosure.
It should be noted that, the corresponding relationship between the pressure characteristic and the signal frequency may be preset and stored in the processing unit, and when the processing unit needs to acquire a signal frequency corresponding to a certain pressure characteristic, the corresponding relationship may be directly acquired from the stored corresponding relationship between the pressure characteristic and the signal frequency.
For example, if the pressure characteristic includes a key position where the power key is located, the corresponding signal frequency th1 can be obtained from the correspondence between the pressure characteristic and the signal frequency shown in table 1 below based on the pressure characteristic. Thereafter, a signal with a frequency th1 may be generated as the first vibration signal.
TABLE 1
Pressure characteristics Frequency of signal
The position of the key is the position of the power key th1
The position of the key is the position of the volume key th2
The key position is the position of the mute key th3
…… ……
In the embodiment of the present disclosure, only the correspondence between the pressure characteristics and the signal frequency shown in table 1 above is used as an example for description, and table 1 above does not limit the embodiment of the present disclosure.
In step 404, when the vibration response module receives the first vibration signal, the built-in vibration motor is driven to vibrate based on the first vibration signal.
It should be noted that, the vibration response module may include a driving chip and a vibration motor, and the driving chip may directly recognize the first vibration signal and transmit the first vibration signal to the vibration motor, so that the vibration motor generates vibration under the action of the first vibration signal.
In addition, the vibration of the vibration motor is realized through resonance, that is, when the vibration motor receives a vibration signal with a frequency near the resonance frequency of the vibration motor, the vibration motor generates vibration, and the closer the frequency of the vibration signal is to the resonance frequency of the vibration motor, the greater the vibration intensity of the vibration motor is. Therefore, when the frequencies of the first vibration signals are different, the vibration generated by the vibration motor under the action of the first vibration signals is different, and the vibration effect presented by the terminal is also different.
For example, fig. 4B is a schematic structural diagram of a vibration response module. As shown in fig. 4B, the vibration response module mainly includes a driver chip and a vibration motor, a power supply terminal of the driver chip is connected to a power supply VDD, a ground terminal of the driver chip is grounded, a switch control pin, an input control pin, a type switching pin, a VDP pin, a VDN pin, and a GAIN pin are disposed on the driver chip, and the driver chip is connected to the vibration motor through the VDP pin, the VDN pin, and the GAIN pin. The driving chip can receive a first vibration signal transmitted by the pressure identification module through the input control pin and transmit the first vibration signal to the vibration motor through the VDP pin, the VDN pin and the GAIN pin, so that the vibration motor generates vibration under the action of the first vibration signal.
It should be noted that, because the working power consumption of the processing unit is less than the first specified power consumption, and the first specified power consumption is less than the working power consumption of the system processor, in the embodiment of the present disclosure, the processing unit generates the first vibration signal, and transmits the first vibration signal to the vibration response module to perform the corresponding vibration scheme, so that the power consumption of the terminal during vibration can be reduced, and the processing resource of the terminal can be saved. In addition, in this case, when the terminal is in the standby state, the system processor does not need to be in standby, and only the processing unit needs to be in standby to timely implement the vibration feedback of the pressing operation.
In step 405, the pressure identification module transmits the pressure signature to the system processor when the pressure signature is not a specified signature.
When the pressure characteristic is not a designated characteristic, it indicates that the function to be performed by the pressing operation needs to be implemented by the system processor, and therefore, the pressure identification module needs to transmit the pressure characteristic to the system processor at this time, so that the system processor performs identification processing on the pressure characteristic to implement corresponding vibration.
For example, the pressure characteristic is not a specified characteristic, and the pressure characteristic is a pressure characteristic of a pressing operation for fingerprint recognition. When the fingerprint identification function is realized, the system processor is required to match the fingerprint information included by the pressure characteristic of the pressing operation with the preset fingerprint information, if the matching is successful, the fingerprint identification is successful, the terminal does not need to vibrate at the moment, if the matching is failed, the fingerprint identification is failed, and the terminal needs to vibrate at the moment so as to remind the user that the pressed fingerprints are not matched. Therefore, when the pressure characteristic is not a specific characteristic, the system processor needs to perform identification processing on the pressure characteristic to determine whether the pressure characteristic needs to be subjected to vibration feedback, so that when the pressure characteristic is not a specific characteristic, the pressure identification module needs to transmit the pressure characteristic to the system processor for identification processing.
In step 406, when the system processor receives the pressure signature, a second vibration signal is generated based on the pressure signature and transmitted to a vibration response module.
The second vibration signal is a signal for driving the vibration motor to vibrate, and for example, the second vibration signal may be a PWM waveform signal.
When the second vibration signal is generated based on the pressure characteristic, it may be determined whether the pressure characteristic needs vibration feedback based on the identification information included in the pressure characteristic, and when the pressure characteristic needs vibration feedback, a corresponding signal frequency is acquired from a correspondence between the stored pressure characteristic and the signal frequency based on the pressure characteristic, and a signal having a frequency equal to the acquired signal frequency is generated as the second vibration signal. Of course, in practical applications, the second vibration signal may be generated based on the pressure characteristic in other ways, which is not limited by the embodiment of the present disclosure.
In step 407, when the vibration response module receives the second vibration signal, the vibration motor is driven to vibrate based on the second vibration signal.
It should be noted that the operation of driving the vibration motor to vibrate based on the second vibration signal in step 407 is similar to the operation of driving the vibration motor to vibrate based on the first vibration signal in step 404, and details of the embodiment of the present disclosure are not repeated here.
In addition, in the embodiment of the disclosure, when the pressure characteristic is an appointed characteristic, the processing unit built in the pressure identification module directly realizes corresponding vibration based on the pressure characteristic, and when the pressure characteristic is not the appointed characteristic, the pressure identification module transmits the pressure characteristic to the system processor, and the system processor realizes corresponding vibration based on the pressure characteristic, so that different vibration processing processes are executed under different pressing scenes, the flexibility of the terminal during vibration is improved, the power consumption of the terminal during vibration is reduced, and the accuracy of the terminal during vibration is ensured.
In the embodiment of the disclosure, when the pressure recognition module detects a pressing operation through the built-in pressure sensor, the built-in processing unit acquires a pressure characteristic of the pressing operation, when the pressure characteristic is a specified characteristic, the pressure recognition module generates a first vibration signal based on the pressure characteristic through the processing unit and transmits the first vibration signal to the vibration response module, and when the vibration response module receives the first vibration signal, the built-in vibration motor is driven to vibrate based on the first vibration signal. Because the working power consumption of the processing unit is less than the first designated power consumption, the power consumption in the vibration process is lower, and the processing resource of the terminal is saved. In addition, in this case, when the terminal is in the standby state, the vibration feedback of the pressing operation can be realized in time only by the standby of the processing unit, and since the standby power consumption of the processing unit is smaller than the second specified power consumption, the standby power consumption of the terminal is lower at this time, thereby further saving the processing resource of the terminal.
After the method provided by the embodiment of the present disclosure is explained in detail by the embodiment shown in fig. 3 and fig. 4A, a terminal provided by the implementation of the present disclosure is introduced next.
FIG. 5A is a block diagram of a terminal, shown in accordance with an exemplary embodiment, and referring to FIG. 5A, the terminal includes a pressure identification module 501 and a vibration response module 502;
a pressure identification module 501, configured to, when a pressing operation is detected by a built-in pressure sensor, obtain a pressure characteristic of the pressing operation by a built-in processing unit, where working power consumption of the processing unit is smaller than a first specified power consumption, and standby power consumption of the processing unit is smaller than a second specified power consumption;
the pressure identification module 501 is further configured to generate, by the processing unit, a first vibration signal based on the pressure characteristic when the pressure characteristic is a specified characteristic, and transmit the first vibration signal to the vibration response module 502;
and a vibration response module 502, configured to drive a built-in vibration motor to vibrate based on the first vibration signal when the first vibration signal is received.
Optionally, the pressure identification module 501 is configured to:
acquiring, by a processing unit, a corresponding signal frequency from a correspondence between the stored pressure characteristics and the signal frequency based on the pressure characteristics;
a signal having a frequency of the acquired signal frequency is generated as a first vibration signal.
Alternatively, when the terminal is in a standby state, the specified feature is a pressure feature capable of waking up a press operation of an operating system of the terminal.
Alternatively, referring to fig. 5B, the terminal includes a system processor 503, the operating power consumption of the system processor 503 is not less than the first specified power consumption, and the standby power consumption of the system processor 503 is not less than the second specified power consumption.
Alternatively,
a pressure identification module 501, configured to transmit the pressure characteristic to the system processor 503 when the pressure characteristic is not a specified characteristic;
a system processor 503 for generating a second vibration signal based on the pressure signature when the pressure signature is received, and transmitting the second vibration signal to the vibration response module 502;
and a vibration response module 502, configured to drive the vibration motor to vibrate based on the second vibration signal when the second vibration signal is received.
In the embodiment of the disclosure, when the pressure recognition module detects a pressing operation through the built-in pressure sensor, the built-in processing unit acquires a pressure characteristic of the pressing operation, when the pressure characteristic is a specified characteristic, the pressure recognition module generates a first vibration signal based on the pressure characteristic through the processing unit and transmits the first vibration signal to the vibration response module, and when the vibration response module receives the first vibration signal, the built-in vibration motor is driven to vibrate based on the first vibration signal. Because the working power consumption of the processing unit is less than the first designated power consumption, the power consumption in the vibration process is lower, and the processing resource of the terminal is saved. In addition, in this case, when the terminal is in the standby state, the vibration feedback of the pressing operation can be realized in time only by the standby of the processing unit, and since the standby power consumption of the processing unit is smaller than the second specified power consumption, the standby power consumption of the terminal is lower at this time, thereby further saving the processing resource of the terminal.
With regard to the terminal in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 6 is a block diagram illustrating a terminal 600 according to an example embodiment. For example, the terminal 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and so forth.
Referring to fig. 6, terminal 600 may include one or more of the following components: processing component 602, memory 604, power component 606, multimedia component 608, audio component 610, input/output (I/O) interface 612, sensor component 614, and communication component 616.
The processing component 602 generally controls overall operation of the terminal 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 can include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is configured to store various types of data to support operations at the terminal 600. Examples of such data include instructions for any application or method operating on terminal 600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 604 may be implemented by any type or combination of volatile or non-volatile memory devices 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 memory, flash memory, magnetic or optical disks.
The power component 606 provides power to the various components of the terminal 600. The power components 606 can include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the terminal 600.
The multimedia component 608 comprises a screen providing an output interface between the 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 touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the terminal 600 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 610 is configured to output and/or input audio signals. For example, the audio component 610 includes a Microphone (MIC) configured to receive external audio signals when the terminal 600 is in an operational mode, such as a call mode, a recording mode, and a voice detection mode. The received audio signal may further be stored in the memory 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 614 includes one or more sensors for providing various aspects of status assessment for the terminal 600. For example, sensor component 614 can detect an open/closed state of terminal 600, relative positioning of components, such as a display and keypad of terminal 600, change in position of terminal 600 or a component of terminal 600, presence or absence of user contact with terminal 600, orientation or acceleration/deceleration of terminal 600, and temperature change of terminal 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The 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, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is configured to facilitate communications between the terminal 600 and other devices in a wired or wireless manner. The terminal 600 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on radio frequency detection (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the 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, micro-controllers, microprocessors or other electronic components for performing the terminal vibration method provided by the embodiments shown in fig. 3 and 4A described above.
In the embodiment of the disclosure, when the pressure recognition module detects a pressing operation through the built-in pressure sensor, the built-in processing unit acquires a pressure characteristic of the pressing operation, when the pressure characteristic is a specified characteristic, the pressure recognition module generates a first vibration signal based on the pressure characteristic through the processing unit and transmits the first vibration signal to the vibration response module, and when the vibration response module receives the first vibration signal, the built-in vibration motor is driven to vibrate based on the first vibration signal. Because the working power consumption of the processing unit is less than the first designated power consumption, the power consumption in the vibration process is lower, and the processing resource of the terminal is saved. In addition, in this case, when the terminal is in the standby state, the vibration feedback of the pressing operation can be realized in time only by the standby of the processing unit, and since the standby power consumption of the processing unit is smaller than the second specified power consumption, the standby power consumption of the terminal is lower at this time, thereby further saving the processing resource of the terminal.
In the above embodiments, the implementation may be wholly or partly realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the disclosure to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., Digital Versatile Disk (DVD)), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (10)

1. A terminal vibration method, wherein the terminal comprises a pressure identification module, a vibration response module and a system processor, the method comprising:
if the terminal is in a standby state, the system processor is in a standby state and a processing unit built in the pressure identification module is in a standby state, when the pressure identification module detects a pressing operation through a built-in pressure sensor, the processing unit acquires pressure characteristics of the pressing operation, the working power consumption of the processing unit is smaller than a first specified power consumption, the standby power consumption of the processing unit is smaller than a second specified power consumption, the working power consumption of the system processor is not smaller than the first specified power consumption, and the standby power consumption of the system processor is not smaller than the second specified power consumption;
when the pressure characteristic is a designated characteristic, the pressure identification module generates a first vibration signal based on the pressure characteristic through the processing unit and transmits the first vibration signal to the vibration response module;
when the vibration response module receives the first vibration signal, the vibration motor built in the vibration response module is driven to vibrate based on the first vibration signal.
2. The method of claim 1, wherein the pressure identification module generates, by the processing unit, a first vibration signal based on the pressure signature, comprising:
the pressure identification module acquires corresponding signal frequency from the corresponding relation between the stored pressure characteristic and the signal frequency through the processing unit based on the pressure characteristic;
the pressure identification module generates a signal with a frequency of the acquired signal frequency as the first vibration signal through the processing unit.
3. The method according to claim 1, wherein the specified characteristic is a pressure characteristic capable of waking up a press operation of an operating system of the terminal when the terminal is in a standby state.
4. The method of claim 1, further comprising:
when the pressure signature is not the specified signature, the pressure identification module transmits the pressure signature to the system processor;
when the system processor receives the pressure signature, generating a second vibration signal based on the pressure signature and transmitting the second vibration signal to the vibration response module;
when the vibration response module receives the second vibration signal, the vibration motor is driven to vibrate based on the second vibration signal.
5. A terminal, comprising a pressure identification module, a vibration response module, and a system processor;
the pressure identification module is used for enabling the system processor to be in a standby state and enabling a processing unit arranged in the pressure identification module to be in a standby state if the terminal is in the standby state, when a pressing operation is detected through a built-in pressure sensor, the processing unit acquires pressure characteristics of the pressing operation, the working power consumption of the processing unit is smaller than a first specified power consumption, the standby power consumption of the processing unit is smaller than a second specified power consumption, the working power consumption of the system processor is not smaller than the first specified power consumption, and the standby power consumption of the system processor is not smaller than the second specified power consumption;
the pressure identification module is further configured to generate, by the processing unit, a first vibration signal based on the pressure characteristic when the pressure characteristic is a specified characteristic, and transmit the first vibration signal to the vibration response module;
and the vibration response module is used for driving a vibration motor built in the vibration response module to vibrate based on the first vibration signal when the first vibration signal is received.
6. The terminal of claim 5, wherein the pressure identification module is configured to:
acquiring, by the processing unit, a corresponding signal frequency from a correspondence between the stored pressure characteristics and signal frequencies based on the pressure characteristics;
generating a signal having a frequency of the acquired signal frequency as the first vibration signal.
7. A terminal according to claim 5, wherein the specified characteristic is a pressure characteristic capable of waking up a press operation of an operating system of the terminal when the terminal is in a standby state.
8. The terminal of claim 5,
the pressure identification module is used for transmitting the pressure characteristic to the system processor when the pressure characteristic is not the specified characteristic;
the system processor is used for generating a second vibration signal based on the pressure characteristic when the pressure characteristic is received and transmitting the second vibration signal to the vibration response module;
and the vibration response module is used for driving the vibration motor to vibrate based on the second vibration signal when the second vibration signal is received.
9. A terminal, characterized in that the terminal comprises:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of any of the methods of claims 1-4.
10. A computer-readable storage medium having instructions stored thereon, wherein the instructions, when executed by a processor, implement the steps of any of the methods of claims 1-4.
CN201710751898.XA 2017-08-28 2017-08-28 Terminal vibration method, terminal and computer readable storage medium Active CN107484233B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710751898.XA CN107484233B (en) 2017-08-28 2017-08-28 Terminal vibration method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710751898.XA CN107484233B (en) 2017-08-28 2017-08-28 Terminal vibration method, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107484233A CN107484233A (en) 2017-12-15
CN107484233B true CN107484233B (en) 2020-10-30

Family

ID=60604097

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710751898.XA Active CN107484233B (en) 2017-08-28 2017-08-28 Terminal vibration method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107484233B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020034104A1 (en) * 2018-08-14 2020-02-20 华为技术有限公司 Voice recognition method, wearable device, and system
CN111338501A (en) * 2020-02-10 2020-06-26 北京小米移动软件有限公司 Pressure-sensitive vibration processing method and device, mobile terminal and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7395089B1 (en) * 2001-06-11 2008-07-01 Palm, Inc Integrated personal digital assistant device
CN102760044B (en) * 2012-06-28 2015-08-12 魅族科技(中国)有限公司 A kind of control system of mobile terminal and mobile terminal
US20140370857A1 (en) * 2013-06-14 2014-12-18 Nick Bovis Mobile device inactive mode and inactive mode verification
CN105391864B (en) * 2015-11-26 2019-08-30 努比亚技术有限公司 Device and method based on pressure control mobile terminal vibration

Also Published As

Publication number Publication date
CN107484233A (en) 2017-12-15

Similar Documents

Publication Publication Date Title
CN106951884B (en) Fingerprint acquisition method and device and electronic equipment
US10610152B2 (en) Sleep state detection method, apparatus and system
CN106815546B (en) Fingerprint identification method and device
CN104881104A (en) Intelligent equipment, intelligent equipment performance improvement method and intelligent equipment performance improvement device
CN107102772B (en) Touch control method and device
CN104219388A (en) Voice control method and device
CN105404382A (en) Power saving mode setting method and apparatus
KR20170038178A (en) Method, apparatus, and mobile terminal for identificating fingerprint
CN104866523A (en) Page display method and device
EP3016236A1 (en) Power supply circuit and electronic equipment
CN105337800A (en) Polling frequency adjustment method and polling frequency adjustment device
CN105204542A (en) Motor vibration control method and device
CN107484233B (en) Terminal vibration method, terminal and computer readable storage medium
CN113361305B (en) Fingerprint acquisition method, electronic device and computer readable storage medium
CN106933111B (en) Method and device for controlling equipment
US10671827B2 (en) Method and device for fingerprint verification
CN108874450B (en) Method and device for waking up voice assistant
CN107948876B (en) Method, device and medium for controlling sound box equipment
CN107422911B (en) Pressure value detection method and device and computer readable storage medium
CN107885464B (en) Data storage method, device and computer readable storage medium
CN107682101B (en) Noise detection method and device and electronic equipment
CN105824513A (en) Message processing method and apparatus
CN105451321A (en) Method, apparatus and device for improving WIFI signal strength
CN105323383A (en) Mobile phone ringing volume adjusting method and device
CN105404454A (en) Notification processing method and notification processing device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant