CN111443815A - Vibration reminding method and electronic equipment - Google Patents

Vibration reminding method and electronic equipment Download PDF

Info

Publication number
CN111443815A
CN111443815A CN202010320972.4A CN202010320972A CN111443815A CN 111443815 A CN111443815 A CN 111443815A CN 202010320972 A CN202010320972 A CN 202010320972A CN 111443815 A CN111443815 A CN 111443815A
Authority
CN
China
Prior art keywords
electronic device
vibration
motor
electronic equipment
detection data
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.)
Pending
Application number
CN202010320972.4A
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010320972.4A priority Critical patent/CN111443815A/en
Publication of CN111443815A publication Critical patent/CN111443815A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/016Input arrangements with force or tactile feedback as computer generated output to the user

Abstract

The invention provides a vibration reminding method and electronic equipment, wherein the method comprises the following steps: under the condition of triggering vibration reminding, acquiring detection data of a preset sensor; determining a target application scene of the electronic equipment according to the detection data; performing vibration reminding in a target vibration mode; and the target vibration mode is a vibration mode corresponding to the target application scene. Therefore, the vibration effect of the electronic equipment can be improved, and the requirements of users in different scenes are met.

Description

Vibration reminding method and electronic equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a vibration reminding method and an electronic device.
Background
With the development of electronic devices such as mobile phones, the dimension of user experience is gradually showing and becoming more important, especially the vibration feedback function of the electronic devices. The vibration feedback function of the electronic equipment is mainly used for incoming call reminding, notification reminding, game feedback, operation feedback and the like; moreover, with continuous innovation of application scenes, the application range of the vibration feedback function of the electronic equipment is wider and wider.
At present, the vibration feedback function of the electronic equipment is realized mainly by arranging a motor in the electronic equipment and driving the motor to work so that the electronic equipment generates vibration, and the man-machine interaction effect is improved. The motor of the electronic device is generally a flat motor, so that the electronic device vibrates, and the vibration of the flat motor can make the electronic device generate strong vibration at the left and right sides of the display screen. However, when the electronic device is placed on a table or a table top, the vibration of the flat motor may cause the electronic device to be displaced on the table or the table top so that the electronic device runs the risk of slipping off.
Therefore, the vibration mode of the existing electronic equipment has the problem of poor vibration effect.
Disclosure of Invention
The embodiment of the invention provides a vibration reminding method and electronic equipment, and aims to solve the problem that the vibration effect of the existing electronic equipment is poor in a vibration mode.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a vibration reminding method, applied to an electronic device, including:
under the condition of triggering vibration reminding, acquiring detection data of a preset sensor;
determining a target application scene of the electronic equipment according to the detection data;
performing vibration reminding in a target vibration mode;
and the target vibration mode is a vibration mode corresponding to the target application scene.
In a second aspect, an embodiment of the present invention further provides an electronic device, including:
the acquisition module is used for acquiring detection data of a preset sensor under the condition of triggering vibration reminding;
the determining module is used for determining a target application scene of the electronic equipment according to the detection data;
the execution module is used for performing vibration reminding in a target vibration mode;
and the target vibration mode is a vibration mode corresponding to the target application scene.
In a third aspect, an embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and capable of running on the processor, where the computer program, when executed by the processor, implements the steps of the vibration alert method.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the vibration reminding method are implemented.
In the embodiment of the invention, under the condition of triggering the vibration reminding, the application scene of the electronic equipment is determined by acquiring the detection data of the sensor of the electronic equipment, so that the electronic equipment can be controlled to vibrate according to different vibration modes according to different application scenes of the electronic equipment, the phenomenon that the electronic equipment slips off due to vibration is avoided, the vibration effect of the electronic equipment can be improved, and the interaction effect between the vibration reminding of the electronic equipment and a user is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
FIG. 1 is a flow chart of a vibration reminding method according to an embodiment of the present invention;
FIG. 2 is a block diagram of an electronic device according to an embodiment of the present invention;
FIG. 3 is a second block diagram of an electronic device according to an embodiment of the present invention;
fig. 4 is a third structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, an embodiment of the present invention provides a vibration reminding method, which is applied to an electronic device, and includes the following steps:
step 101, acquiring detection data of a preset sensor under the condition of triggering vibration reminding.
In this step, the function of triggering the vibration alert may be call alert, notification alert, game feedback, operation feedback, and the like, for example, when the electronic device receives a call, the electronic device may alert the user in a vibration alert manner, so that the user can answer the call in time.
The preset sensor comprises at least one of an infrared sensor, a distance measuring sensor, a gravity sensor and a gyroscope sensor, and the detection data can be sensor data detected by the infrared sensor, sensor data detected by the distance measuring sensor or sensor data detected by the gravity sensor or the gyroscope sensor.
The infrared sensor can detect whether the electronic equipment is shielded by a shielding object or not and is used for assisting in judging the application scene where the electronic equipment is located; the distance measuring sensor can detect the distance between the electronic equipment and the sheltered object or the blocking object and is used for assisting in judging the sheltering degree of the electronic equipment; the gravity sensor can detect whether the electronic equipment is horizontally placed or laterally placed or obliquely placed and is used for assisting in judging the application scene of the electronic equipment; the gyroscope sensor can detect whether the electronic device is in a motion state, such as a bumpy state, and is used for assisting in judging an application scene where the electronic device is located.
The preset sensor includes, but is not limited to, the above sensor, and may also be other sensors that may be used to assist in determining an application scenario in which the electronic device is located.
And step 102, determining a target application scene of the electronic equipment according to the detection data.
In this step, the target application scenario where the electronic device is located may be determined by detecting the data. For example, when the detection data of the preset sensor indicates that the electronic device is placed horizontally, the electronic device may be considered to be in a desktop or desktop application scene and be placed horizontally; for another example, the detection data of the preset sensor indicates that the electronic device is placed on its side, that is, the display screen of the electronic device is perpendicular to the desktop or horizontal plane, and it can be considered that the electronic device is in a pocket application scene or a back application scene.
And 103, performing vibration reminding in a target vibration mode.
In the step, the electronic equipment can be controlled to vibrate according to different vibration modes according to different application scenes where the electronic equipment is located, the phenomenon that the electronic equipment slips off due to vibration can be avoided, the vibration effect of the electronic equipment can be improved, and the interaction effect of the vibration reminding of the electronic equipment and a user is improved.
For example, when electronic equipment is put on a desktop, if the conventional vibration mode is adopted, the conventional vibration mode can make the electronic equipment produce stronger vibration sense on the left and right sides of the display screen, and the left and right vibration mode can make the electronic equipment move on the desktop, and if the vibration duration is longer, the phenomenon that the electronic equipment slips off easily occurs. In the invention, aiming at the application scene that the electronic equipment is horizontally placed on the desktop, the electronic equipment is controlled to vibrate in the direction vertical to the display screen of the electronic equipment, so that the electronic equipment is prevented from generating displacement in the vibration process, and the vibration effect of the electronic equipment is improved.
In this embodiment, the target vibration pattern may be a vibration pattern corresponding to the target application scenario among preset vibration patterns.
The preset vibration mode may include at least two of a first vibration mode, a second vibration mode and a third vibration mode, that is, the preset vibration mode includes the first vibration mode and the second vibration mode; or the preset vibration mode comprises a first vibration mode and a third vibration mode; or the preset vibration mode comprises a second vibration mode and a third vibration mode; still alternatively, the preset vibration mode includes a first vibration mode, a second vibration mode, and a third vibration mode.
Through setting up multiple vibration mode like this to under the condition that triggers vibration and remind, can make electronic equipment work in the vibration mode rather than using the scene to correspond, promote electronic equipment's vibration effect.
The electronic equipment can comprise a first motor and a second motor, and the first vibration mode is to control the first motor to vibrate; the second vibration mode is to control the second motor to vibrate; the third vibration mode is to control the first motor and the second motor to vibrate; in the case of vibration of the first motor, the vibration amplitude of the electronic device in the first direction is larger than the vibration amplitude of the electronic device in the second direction; under the condition that the second motor vibrates, the vibration amplitude of the electronic equipment in the second direction is larger than that of the electronic equipment in the first direction; the first direction is a direction parallel to a display screen of the electronic device, and the second direction is a direction perpendicular to the display screen of the electronic device.
Optionally, the output power of the first motor is smaller than the output power of the second motor. Therefore, for the application scene that the electronic equipment can work in the first vibration mode and the second vibration mode, the motor with lower output power can be selected to work, so that the energy consumption required in the vibration reminding process of the electronic equipment is reduced, and the electric quantity use of the electronic equipment is optimized.
For example, under the condition that vibration reminding is triggered, when the electronic device is horizontally placed on a desktop, the electronic device can be controlled to vibrate according to the second vibration mode, so that the electronic device is prevented from displacing on the desktop.
For another example, under the condition of triggering vibration reminding and when the electronic device is located in an application scene in the pocket, the electronic device can be controlled to vibrate according to the first vibration mode, so that energy consumption required by the electronic device in the vibration reminding process is reduced, and the electricity usage of the electronic device is optimized.
As shown in the system block diagram of the electronic device in fig. 2, the electronic device 200 includes an infrared sensor 201, a gyro sensor 202, a gravity sensor 203, a processor 204, a first motor 205, and a second motor 206.
Here, the first motor 205 may be a flat motor or a linear motor having a first vibration direction, the second motor 206 may be a rotor motor or a linear motor having a second vibration direction, the maximum vibration direction of the first motor 205 may be disposed parallel to a display screen of the electronic device, and the maximum vibration direction of the second motor 206 may be disposed perpendicular to the display screen of the electronic device.
The infrared sensor 201 is configured to acquire a relationship between the electronic device and a blocked object, such as complete blocking or partial blocking, so as to assist in determining an application scene where the electronic device is located; the gyroscope sensor 202 and the gravity sensor 203 are used for acquiring attitude information of the electronic device to assist in judging an application scene of the electronic device; the processor 204 is configured to process data acquired by the sensor, and determine a state and an application scenario of the electronic device to start a corresponding vibration mode, so as to improve a vibration effect of the electronic device.
Some general application scenarios of electronic devices are exemplified below:
under the condition of triggering vibration reminding, whether the electronic equipment is shielded or not can be detected through an infrared sensor of the electronic equipment;
if the electronic equipment is not shielded and the absolute value of the numerical value of the detection data of the preset sensor in the second direction meets a first preset condition, determining that the electronic equipment is in a first application scene;
wherein, the detection data of the preset sensor may include: the acceleration of the electronic device affected by gravity acquired by the gravity sensor, the angular acceleration data of the electronic device acquired by the gyroscope, and the like, the sensor may also be an acceleration sensor, a linear acceleration sensor, and the like, and this is not particularly limited in this embodiment of the present invention as long as the sensor can acquire the acceleration or angular acceleration values of the electronic device in a first direction (i.e., a direction parallel to the display screen of the electronic device) and a second direction (i.e., a direction perpendicular to the display screen of the electronic device).
The absolute value of the detection data in the second direction may satisfy the first preset condition that the absolute value of the detection data in the second direction is stable and reaches a maximum value.
The first application scene comprises that the electronic equipment is in a flat state, for example, the electronic equipment is placed on a horizontal desktop, at the moment, the second motor vibrates to perform vibration reminding, so that the electronic equipment can generate strong vibration, and meanwhile, the electronic equipment cannot generate large displacement due to horizontal vibration to slide off the desktop.
If the electronic equipment is shielded and the absolute value of the detection data in the first direction meets a second preset condition, determining that the electronic equipment is in a second application scene;
wherein, the detection data of the preset sensor may include: the acceleration of the electronic device affected by gravity acquired by the gravity sensor, the angular acceleration data of the electronic device acquired by the gyroscope, and the like, the sensor may also be an acceleration sensor, a linear acceleration sensor, and the like, and this is not particularly limited in this embodiment of the present invention as long as the sensor can acquire the acceleration or angular acceleration values of the electronic device in a first direction (i.e., a direction parallel to the display screen of the electronic device) and a second direction (i.e., a direction perpendicular to the display screen of the electronic device).
The absolute value of the detection data in the first direction may satisfy a second preset condition that the absolute value of the detection data in the first direction is stable and reaches a maximum value.
The second application scenario includes that the electronic device is placed on the side, for example, the electronic device is placed in a pocket, and the second motor vibrates to perform vibration reminding, so that the electronic device generates a strong vibration sense, and the perception experience of a user is improved.
If the electronic equipment is shielded and the absolute values of the detection data in the first direction and the second direction meet a third preset condition, determining that the electronic equipment is in a third application scene;
wherein, the detection data of the preset sensor may include: the acceleration of the electronic device affected by gravity acquired by the gravity sensor, the angular acceleration data of the electronic device acquired by the gyroscope, and the like, the sensor may also be an acceleration sensor, a linear acceleration sensor, and the like, and this is not particularly limited in this embodiment of the present invention as long as the sensor can acquire the acceleration or angular acceleration values of the electronic device in a first direction (i.e., a direction parallel to the display screen of the electronic device) and a second direction (i.e., a direction perpendicular to the display screen of the electronic device).
The absolute values of the detection data in the first direction and the second direction may satisfy a third preset condition that the absolute values of the detection data in the first direction and the second direction do not reach a maximum value.
The third application scene comprises the fact that the electronic equipment is placed in the backpack, and the electronic equipment cannot be directly contacted with the body of a user when placed in the backpack, and the first motor and the second motor vibrate to remind the user through vibration, so that the electronic equipment is in a strong vibration reminding state, the situation that the electronic equipment cannot be perceived by the user in time due to being far away from the human body is avoided, and user experience is improved.
If the detection data meet a fourth preset condition, determining that the electronic equipment is in a fourth application scene;
the detection data satisfying a fourth preset condition may be that numerical fluctuations of the detection data in the first direction and the second direction are relatively large;
the fourth application scenario is that the electronic device is in a handheld mode. At the moment, the first motor is used for carrying out vibration reminding, and the perception of a user is improved.
Further, if the electronic device is in the handheld mode, controlling the second motor or the first motor to vibrate, and preferably, controlling the first motor to vibrate to enable the electronic device to work in the first vibration mode because the output power of the second motor is greater than the output power of the first motor;
in the process of judging the handheld mode, the detection data of the gyroscope sensor or the gravity sensor can be detected, and if the detection data are large in fluctuation, or a display screen of the electronic equipment is touched, the electronic equipment can be judged to be in the handheld mode.
In the embodiment of the invention, under the condition of triggering the vibration reminding, the application scene of the electronic equipment is determined by acquiring the detection data of the sensor of the electronic equipment, so that the electronic equipment can be controlled to vibrate according to different vibration modes according to different application scenes of the electronic equipment, the phenomenon that the electronic equipment slides down due to vibration is avoided, the vibration effect of the electronic equipment can be improved, and the interaction effect between the vibration reminding of the electronic equipment and a user is improved.
According to the vibration reminding method, the detection data of the preset sensor are acquired under the condition that the vibration reminding is triggered; determining a target application scene of the electronic equipment according to the detection data; performing vibration reminding in a target vibration mode; and the target vibration mode is a vibration mode corresponding to the target application scene. Therefore, the vibration effect of the electronic equipment can be improved, and the interaction effect of the vibration prompt of the electronic equipment and a user can also be improved.
As shown in fig. 3, an embodiment of the present invention provides an electronic device 300, where the electronic device includes:
the acquisition module 301 is configured to acquire detection data of a preset sensor under the condition that a vibration prompt is triggered;
a determining module 302, configured to determine a target application scenario of the electronic device according to the detection data;
the execution module 303 is configured to perform vibration reminding in a target vibration mode;
and the target vibration mode is a vibration mode corresponding to the target application scene.
Optionally, the electronic device includes a first motor and a second motor, and the target vibration mode is:
the first motor vibrates;
or, the second motor vibrates;
or, the first motor and the second motor vibrate;
when the first motor vibrates, the vibration amplitude of the electronic equipment in a first direction is larger than the vibration amplitude of the electronic equipment in a second direction;
when the second motor vibrates, the vibration amplitude of the electronic equipment in the second direction is larger than that of the electronic equipment in the first direction;
the first direction is a direction parallel to a display screen of the electronic device, and the second direction is a direction perpendicular to the display screen of the electronic device.
Optionally, the electronic device further includes an infrared sensor;
the determining module 302 is specifically configured to determine that the electronic device is in a first application scene when an infrared sensor of the electronic device is not shielded and an absolute value of the detection data in the second direction meets a first preset condition;
the execution module 303 is specifically configured to perform vibration reminding by using the vibration of the second motor.
Optionally, the electronic device further includes an infrared sensor;
the determining module 302 is specifically configured to determine that the electronic device is in a second application scenario when an infrared sensor of the electronic device is blocked and an absolute value of the detection data in the first direction meets a second preset condition;
the execution module 303 is specifically configured to perform vibration reminding by using the vibration of the second motor.
Optionally, the electronic device further includes an infrared sensor, and the determining module 302 is specifically configured to determine that the electronic device is in a third application scenario when the infrared sensor of the electronic device is blocked and the absolute values of the detection data in the first direction and the second direction meet a third preset condition;
the execution module 303 is specifically configured to perform vibration reminding by vibrating the first motor and the second motor.
Optionally, the determining module 302 is specifically configured to determine that the electronic device is in a fourth application scenario when the detection data meets a fourth preset condition;
the execution module 303 is specifically configured to perform a vibration alert with the first motor.
Optionally, the rated power of the first motor is smaller than the rated power of the second motor.
The electronic device 300 can implement each process implemented by the electronic device in the method embodiment of fig. 1, and is not described here again to avoid repetition.
As shown in fig. 4, an embodiment of the present invention further provides an electronic device, where the electronic device 400 includes, but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor 410, and power supply 411. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 4 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 410 is configured to acquire detection data of a preset sensor under the condition that a vibration prompt is triggered; determining a target application scene of the electronic equipment according to the detection data; performing vibration reminding in a target vibration mode; and the target vibration mode is a vibration mode corresponding to the target application scene.
The electronic device 400 can implement the processes implemented by the electronic device in the foregoing embodiments, and in order to avoid repetition, the detailed description is omitted here.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 410; in addition, the uplink data is transmitted to the base station. Typically, radio unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio unit 401 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 402, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 403 may convert audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output as sound. Also, the audio output unit 403 may also provide audio output related to a specific function performed by the electronic apparatus 400 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
The input unit 404 is used to receive audio or video signals. The input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 406. The image frames processed by the graphic processor 4041 may be stored in the memory 409 (or other storage medium) or transmitted via the radio frequency unit 401 or the network module 402. The microphone 4042 may receive sound, and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 401 in case of the phone call mode.
The electronic device 400 also includes at least one sensor 405, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 4061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 4061 and/or the backlight when the electronic apparatus 400 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 405 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
The Display unit 406 may include a Display panel 4061, and the Display panel 4061 may be configured in the form of a liquid Crystal Display (L acquired Crystal Display, L CD), an Organic light-Emitting Diode (O L ED), or the like.
The user input unit 407 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. Touch panel 4071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 4071 using a finger, a stylus, or any suitable object or attachment). The touch panel 4071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 410, receives a command from the processor 410, and executes the command. In addition, the touch panel 4071 can be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may include other input devices 4072. Specifically, the other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 4071 can be overlaid on the display panel 4061, and when the touch panel 4071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 410 to determine the type of the touch event, and then the processor 410 provides a corresponding visual output on the display panel 4061 according to the type of the touch event. Although in fig. 4, the touch panel 4071 and the display panel 4061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 4071 and the display panel 4061 may be integrated to implement the input and output functions of the electronic device, and the implementation is not limited herein.
The interface unit 408 is an interface for connecting an external device to the electronic apparatus 400. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 408 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 400 or may be used to transmit data between the electronic apparatus 400 and an external device.
The memory 409 may be used to store software programs as well as various data. The memory 409 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 409 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 410 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 409 and calling data stored in the memory 409, thereby performing overall monitoring of the electronic device. Processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The electronic device 400 may further include a power supply 411 (e.g., a battery) for supplying power to various components, and preferably, the power supply 411 may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 400 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 410, a memory 409, and a computer program that is stored in the memory 409 and can be run on the processor 410, and when being executed by the processor 410, the computer program implements each process of the above vibration alert method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned vibration alert method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (16)

1. A vibration reminding method is applied to electronic equipment and is characterized by comprising the following steps:
under the condition of triggering vibration reminding, acquiring detection data of a preset sensor;
determining a target application scene of the electronic equipment according to the detection data;
performing vibration reminding in a target vibration mode;
and the target vibration mode is a vibration mode corresponding to the target application scene.
2. The method of claim 1, wherein the electronic device comprises a first motor and a second motor, and wherein the target vibration pattern is:
the first motor vibrates;
or, the second motor vibrates;
or, the first motor and the second motor vibrate;
when the first motor vibrates, the vibration amplitude of the electronic equipment in a first direction is larger than the vibration amplitude of the electronic equipment in a second direction;
when the second motor vibrates, the vibration amplitude of the electronic equipment in the second direction is larger than that of the electronic equipment in the first direction;
the first direction is a direction parallel to a display screen of the electronic device, and the second direction is a direction perpendicular to the display screen of the electronic device.
3. The method of claim 2, wherein the electronic device comprises an infrared sensor, wherein determining the target application scenario of the electronic device according to the detection data, and wherein performing the vibration alert in the target vibration mode comprises:
determining that the electronic equipment is in a first application scene under the condition that an infrared sensor of the electronic equipment is not shielded and the absolute value of the detection data in the second direction meets a first preset condition;
and vibrating the second motor to remind.
4. The method of claim 2, wherein the electronic device comprises an infrared sensor; the determining a target application scene of the electronic device according to the detection data, and performing vibration reminding in a target vibration mode includes:
determining that the electronic equipment is in a second application scene under the condition that an infrared sensor of the electronic equipment is shielded and the absolute value of the detection data in the first direction meets a second preset condition;
and vibrating the second motor to remind.
5. The method of claim 2, wherein the electronic device comprises an infrared sensor, wherein determining the target application scenario of the electronic device according to the detection data, and wherein performing the vibration alert in the target vibration mode comprises:
determining that the electronic equipment is in a third application scene under the condition that an infrared sensor of the electronic equipment is shielded and absolute values of the detection data in the first direction and the second direction meet a third preset condition;
and vibrating the first motor and the second motor to remind.
6. The method of claim 2, wherein determining a target application scenario of the electronic device according to the detection data, and performing a vibration alert in a target vibration mode comprises:
determining that the electronic equipment is in a fourth application scene under the condition that the detection data meet a fourth preset condition;
and vibrating the first motor to remind.
7. The method of any one of claims 2 to 6, wherein the power rating of the first motor is less than the power rating of the second motor.
8. An electronic device, comprising:
the acquisition module is used for acquiring detection data of a preset sensor under the condition of triggering vibration reminding;
the determining module is used for determining a target application scene of the electronic equipment according to the detection data;
the execution module is used for performing vibration reminding in a target vibration mode;
and the target vibration mode is a vibration mode corresponding to the target application scene.
9. The electronic device of claim 8, wherein the electronic device comprises a first motor and a second motor, and wherein the target vibration mode is:
the first motor vibrates;
or, the second motor vibrates;
or, the first motor and the second motor vibrate;
when the first motor vibrates, the vibration amplitude of the electronic equipment in a first direction is larger than the vibration amplitude of the electronic equipment in a second direction;
when the second motor vibrates, the vibration amplitude of the electronic equipment in the second direction is larger than that of the electronic equipment in the first direction;
the first direction is a direction parallel to a display screen of the electronic device, and the second direction is a direction perpendicular to the display screen of the electronic device.
10. The electronic device of claim 9, further comprising an infrared sensor;
the determining module is specifically configured to determine that the electronic device is in a first application scene when an infrared sensor of the electronic device is not shielded and an absolute value of the detection data in the second direction meets a first preset condition;
the execution module is specifically used for performing vibration reminding by using the vibration of the second motor.
11. The electronic device of claim 9, further comprising an infrared sensor,
the determining module is specifically configured to determine that the electronic device is in a second application scene when an infrared sensor of the electronic device is shielded and an absolute value of the detection data in the first direction meets a second preset condition;
the execution module is specifically used for performing vibration reminding by using the vibration of the second motor.
12. The electronic device of claim 9, further comprising an infrared sensor,
the determining module is specifically configured to determine that the electronic device is in a third application scene when an infrared sensor of the electronic device is blocked and absolute values of the detection data in the first direction and the second direction meet a third preset condition;
the execution module is specifically used for vibrating and reminding by means of vibration of the first motor and the second motor.
13. The electronic device according to claim 9, wherein the determining module is specifically configured to determine that the electronic device is in a fourth application scenario when the detection data meets a fourth preset condition;
the execution module is specifically used for carrying out vibration reminding by the first motor.
14. The electronic device of any of claims 9-13, wherein a power rating of the first motor is less than a power rating of the second motor.
15. An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the vibratory alert method as claimed in any one of claims 1 to 7.
16. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the vibratory alert method as claimed in any one of claims 1 to 7.
CN202010320972.4A 2020-04-22 2020-04-22 Vibration reminding method and electronic equipment Pending CN111443815A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010320972.4A CN111443815A (en) 2020-04-22 2020-04-22 Vibration reminding method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010320972.4A CN111443815A (en) 2020-04-22 2020-04-22 Vibration reminding method and electronic equipment

Publications (1)

Publication Number Publication Date
CN111443815A true CN111443815A (en) 2020-07-24

Family

ID=71656119

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010320972.4A Pending CN111443815A (en) 2020-04-22 2020-04-22 Vibration reminding method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111443815A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112230764A (en) * 2020-09-27 2021-01-15 中国人民解放军空军特色医学中心 Function switching method and device for tactile perception carrier and electronic equipment
CN113489839A (en) * 2021-07-30 2021-10-08 Oppo广东移动通信有限公司 Event reminding method and device, storage medium and electronic equipment
CN113489840A (en) * 2021-07-30 2021-10-08 Oppo广东移动通信有限公司 Event reminding method and device, storage medium and electronic equipment
CN113840023A (en) * 2021-09-13 2021-12-24 维沃移动通信有限公司 Electronic device, control method and control device
WO2022127211A1 (en) * 2020-12-15 2022-06-23 荣耀终端有限公司 Vibration method and apparatus, and electronic device and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104660827A (en) * 2015-03-18 2015-05-27 努比亚技术有限公司 Method and terminal for message reminding
CN105302299A (en) * 2015-10-08 2016-02-03 侯东风 Scene simulation method and apparatus
CN108153419A (en) * 2017-12-25 2018-06-12 联想(北京)有限公司 A kind of electronic equipment and control method
CN110166631A (en) * 2019-06-28 2019-08-23 瑞声科技(新加坡)有限公司 A kind of motor vibrations method, apparatus, system and readable medium
CN110312038A (en) * 2019-06-28 2019-10-08 Oppo(重庆)智能科技有限公司 Information cuing method and device, electronic equipment, computer readable storage medium
CN110489845A (en) * 2019-08-09 2019-11-22 瑞声科技(新加坡)有限公司 Motor vibrations model building method, sense of touch implementation method and its device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104660827A (en) * 2015-03-18 2015-05-27 努比亚技术有限公司 Method and terminal for message reminding
CN105302299A (en) * 2015-10-08 2016-02-03 侯东风 Scene simulation method and apparatus
CN108153419A (en) * 2017-12-25 2018-06-12 联想(北京)有限公司 A kind of electronic equipment and control method
CN110166631A (en) * 2019-06-28 2019-08-23 瑞声科技(新加坡)有限公司 A kind of motor vibrations method, apparatus, system and readable medium
CN110312038A (en) * 2019-06-28 2019-10-08 Oppo(重庆)智能科技有限公司 Information cuing method and device, electronic equipment, computer readable storage medium
CN110489845A (en) * 2019-08-09 2019-11-22 瑞声科技(新加坡)有限公司 Motor vibrations model building method, sense of touch implementation method and its device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112230764A (en) * 2020-09-27 2021-01-15 中国人民解放军空军特色医学中心 Function switching method and device for tactile perception carrier and electronic equipment
WO2022127211A1 (en) * 2020-12-15 2022-06-23 荣耀终端有限公司 Vibration method and apparatus, and electronic device and readable storage medium
CN113489839A (en) * 2021-07-30 2021-10-08 Oppo广东移动通信有限公司 Event reminding method and device, storage medium and electronic equipment
CN113489840A (en) * 2021-07-30 2021-10-08 Oppo广东移动通信有限公司 Event reminding method and device, storage medium and electronic equipment
CN113840023A (en) * 2021-09-13 2021-12-24 维沃移动通信有限公司 Electronic device, control method and control device
CN113840023B (en) * 2021-09-13 2024-04-02 维沃移动通信有限公司 Electronic device, control method and control device

Similar Documents

Publication Publication Date Title
CN108459797B (en) Control method of folding screen and mobile terminal
CN108182019B (en) Suspension control display processing method and mobile terminal
CN108073343B (en) display interface adjusting method and mobile terminal
CN107734175B (en) Notification message prompting method and mobile terminal
CN111443815A (en) Vibration reminding method and electronic equipment
CN110109604B (en) Application interface display method and mobile terminal
CN109710349B (en) Screen capturing method and mobile terminal
CN108196753B (en) Interface switching method and mobile terminal
CN110365853B (en) Prompting method and electronic equipment
CN110531915B (en) Screen operation method and terminal equipment
CN107741814B (en) Display control method and mobile terminal
CN109739394B (en) SAR value processing method and mobile terminal
CN111093137B (en) Volume control method, volume control equipment and computer readable storage medium
CN110191426B (en) Information sharing method and terminal
CN108540642B (en) Mobile terminal and operation method thereof
CN111061446A (en) Display method and electronic equipment
CN108021315B (en) Control method and mobile terminal
CN111526248B (en) Audio output mode switching method and electronic equipment
CN111328132B (en) Method for adjusting transmitting power and electronic equipment
CN111261128B (en) Screen brightness adjusting method and electronic equipment
CN111310165B (en) Account switching or registering method and electronic equipment
CN110456959B (en) Terminal control method and terminal
CN109739430B (en) Display method and mobile terminal
CN110113486B (en) Application icon moving method and terminal
CN109062483B (en) Image processing method and terminal equipment

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200724

WD01 Invention patent application deemed withdrawn after publication