CN111314551A - Vibration adjusting method and device, storage medium and mobile terminal - Google Patents

Vibration adjusting method and device, storage medium and mobile terminal Download PDF

Info

Publication number
CN111314551A
CN111314551A CN202010090959.4A CN202010090959A CN111314551A CN 111314551 A CN111314551 A CN 111314551A CN 202010090959 A CN202010090959 A CN 202010090959A CN 111314551 A CN111314551 A CN 111314551A
Authority
CN
China
Prior art keywords
vibration
current scene
scene information
adjusting
mobile terminal
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
CN202010090959.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.)
JRD Communication Shenzhen Ltd
Jiekai Communications Shenzhen Co Ltd
Original Assignee
Jiekai Communications Shenzhen 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 Jiekai Communications Shenzhen Co Ltd filed Critical Jiekai Communications Shenzhen Co Ltd
Priority to CN202010090959.4A priority Critical patent/CN111314551A/en
Publication of CN111314551A publication Critical patent/CN111314551A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application provides a vibration adjusting method, a device, a storage medium and a mobile terminal, wherein the method comprises the following steps: when an application message prompt instruction is detected, acquiring first current scene information and second current scene information of the mobile terminal; determining a vibration level corresponding to the first current scene information according to the first current scene information, wherein the vibration level comprises a plurality of levels, each vibration level corresponds to a vibration amplitude, and the higher the vibration level is, the larger the vibration amplitude is; adjusting the output proportion of the vibration amplitude corresponding to the vibration grade according to the second current scene information; to prompt for the application message. The embodiment of the application enables the vibration touch feeling to be changed from fixed strength to automatic change of vibration amplitude in proper time and in proper scenes, so that the situation of scene requirements which cannot be met by the prior art can be effectively avoided, and the experience is more intelligent and careful.

Description

Vibration adjusting method and device, storage medium and mobile terminal
Technical Field
The present application relates to the field of electronic communications technologies, and in particular, to a method and an apparatus for adjusting vibration, a storage medium, and a mobile terminal.
Background
At present, the vibration amplitude of mobile phone incoming call vibration or notification reminding and the like is fixed, so that when a user goes out, for example, the user is in a scene environment with certain amount of motion and relative noise, such as a subway, a shopping, an exhibition, a concert, a tour and the like, the mobile phone is mostly placed in a handbag or a clothes pocket, and the default fixed vibration force is difficult for the user to find the notification of the incoming call and the short message; when a user is indoors, for example, in relatively quieter scene environments such as offices, meeting rooms, bedroom bedside tables and the like, a mobile phone is mostly placed on a desk, and the sound emitted by default fixed vibration strength on the desk is huge, so that the user is easily disturbed.
Therefore, the prior art has defects and needs to be improved and developed.
Disclosure of Invention
The embodiment of the application provides a vibration adjusting method and device, a storage medium and a mobile terminal, which can flexibly adjust the vibration amplitude of the mobile terminal according to current scene information and improve the intelligence of the mobile terminal.
The embodiment of the application provides a vibration adjusting method, which comprises the following steps:
when an application message prompt instruction is detected, acquiring first current scene information and second current scene information of the mobile terminal;
determining a vibration level corresponding to the first current scene information according to the first current scene information, wherein the vibration level comprises a plurality of levels, each vibration level corresponds to a vibration amplitude, and the higher the vibration level is, the larger the vibration amplitude is;
adjusting the output proportion of the vibration amplitude corresponding to the vibration grade according to the second current scene information;
and controlling the mobile terminal to vibrate according to the adjusted vibration amplitude so as to prompt the application message.
In the vibration adjustment method according to the embodiment of the present application, determining, according to the first current context information, a vibration level corresponding to the first current context information, where the first current context information includes any one of an environmental volume, a mobile terminal moving speed, and an application category to which an application corresponding to the application message belongs, includes:
determining a vibration level corresponding to the first current scene information according to the environment volume, wherein the vibration level is in direct proportion to the environment volume; or
Determining a vibration grade corresponding to the first current scene information according to the terminal moving speed, wherein the vibration grade is in direct proportion to the terminal moving speed; or
Determining a vibration level corresponding to the first current scene information according to an application category to which an application corresponding to the application message belongs, wherein the application category is classified according to the frequency of the application being used, and the higher the frequency, the higher the vibration level corresponding to the application category to which the application belongs.
In the vibration adjustment method according to the embodiment of the present application, the determining, according to the first current scene information, a vibration level corresponding to the first current scene information, where the first current scene information includes an environmental volume and a terminal moving speed, includes:
and determining a vibration level corresponding to the first current scene information according to the environment volume and the terminal moving speed, wherein the vibration level is in direct proportion to the environment volume and the terminal moving speed.
In the vibration adjusting method according to the embodiment of the present application, when the second current scene information is an environmental volume and the second current scene information is different from the first current scene information, adjusting an output ratio of a vibration amplitude corresponding to the vibration level according to the second current scene information includes:
judging whether the environmental volume exceeds a preset volume value or not;
when the environmental volume does not exceed the preset volume value, adjusting the output proportion of the vibration amplitude corresponding to the vibration level to a first preset proportion, wherein the first preset proportion is smaller than 1; or
And when the environmental volume exceeds the preset volume value, adjusting the output proportion of the vibration amplitude corresponding to the vibration level to 1.
In the vibration adjustment method according to the embodiment of the present application, when the second current scene information is a terminal moving speed and the second current scene information is different from the first current scene information, adjusting an output ratio of a vibration amplitude corresponding to the vibration level according to the second current scene information includes:
judging whether the terminal moving speed exceeds a preset speed value or not;
when the terminal moving speed does not exceed the preset speed value, adjusting the output proportion of the vibration amplitude corresponding to the vibration grade to a second preset proportion, wherein the second preset proportion is smaller than 1; or
And when the terminal moving speed exceeds the preset speed value, adjusting the output proportion of the vibration amplitude corresponding to the vibration grade to 1.
In the vibration adjustment method according to the embodiment of the present application, when the second current scene information is a distance between a user and a terminal, adjusting an output ratio of a vibration amplitude corresponding to the vibration level according to the second current scene information includes:
judging whether the distance between the user and the mobile terminal exceeds a preset distance value or not;
when the distance between the user and the mobile phone does not exceed the preset distance value, adjusting the output proportion of the vibration amplitude corresponding to the vibration level to be 1; or
And when the distance value between the user and the mobile phone exceeds a preset distance value, adjusting the output proportion of the vibration amplitude corresponding to the vibration grade to a third preset proportion, wherein the third preset proportion is more than 1.
In the vibration adjusting method according to the embodiment of the present application, when the second current scene information is time information, adjusting an output ratio of a vibration amplitude corresponding to the vibration level according to the second current scene information includes:
judging whether the time information is a disturbance-free time period or not;
when the time information is the disturbance-free time period, adjusting the output proportion of the vibration amplitude corresponding to the vibration grade to a fourth preset proportion, wherein the fourth preset proportion is smaller than 1; or
And when the time information is not the disturbance-free time period, adjusting the output proportion of the vibration amplitude corresponding to the vibration grade to 1.
The embodiment of this application still provides a vibrations adjusting device, the device includes:
the acquisition module is used for acquiring first current scene information and second current scene information of the mobile terminal when an application message prompt instruction is detected;
the determining module is used for determining a vibration grade corresponding to the first current scene information according to the first current scene information, wherein the vibration grade comprises a plurality of grades, each vibration grade corresponds to a vibration amplitude, and the higher the vibration grade is, the larger the vibration amplitude is;
the adjusting module is used for adjusting the output proportion of the vibration amplitude corresponding to the vibration grade according to the second current scene information;
and the control module is used for controlling the mobile terminal to vibrate according to the adjusted vibration amplitude so as to prompt the application message.
An embodiment of the present application further provides a storage medium, in which a computer program is stored, and when the computer program runs on a computer, the computer is caused to execute the vibration adjustment method according to any one of claims 1 to 7.
An embodiment of the present application further provides a mobile terminal, where the mobile terminal includes a processor and a memory, where the memory stores a computer program, and the processor is configured to execute the shock adjustment method according to any one of claims 1 to 7 by calling the computer program stored in the memory.
According to the method and the device, when an application message prompt instruction is detected, first current scene information and second current scene information of the mobile terminal are obtained; determining a vibration level corresponding to the first current scene information according to the first current scene information, wherein the vibration level comprises a plurality of levels, each vibration level corresponds to a vibration amplitude, and the higher the vibration level is, the larger the vibration amplitude is; adjusting the output proportion of the vibration amplitude corresponding to the vibration grade according to the second current scene information; to prompt for the application message. According to the embodiment of the application, the vibration amplitude of the mobile terminal can be flexibly adjusted according to the current scene information, and the intelligence of the mobile terminal is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly introduced below. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a schematic flow chart of a vibration adjusting method according to an embodiment of the present disclosure.
Fig. 2 is a schematic structural diagram of a vibration adjusting device according to an embodiment of the present application.
Fig. 3 is another schematic structural diagram of a vibration adjusting device according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without inventive step, are within the scope of the present application.
The embodiment of the application provides a vibration adjusting method which can be applied to a mobile terminal. The mobile terminal can be a smart phone, a tablet computer and other devices.
Referring to fig. 1, fig. 1 is a schematic flow chart of a vibration adjusting method according to an embodiment of the present disclosure. The vibration adjusting method is applied to a mobile terminal, and the method can comprise the following steps:
step 101, when an application message prompt instruction is detected, acquiring first current scene information and second current scene information of the mobile terminal.
In some embodiments, the first current context information and the second current context information of the mobile terminal include:
the first current scene information is the terminal moving speed, and the second current scene information is any one of the environment volume, the distance between the user and the mobile terminal and the time information; or the first current scene information is the environmental volume, and the second current scene information is any one of the terminal moving speed, the distance between the user and the mobile terminal and the time information; or the first current scene information is the application category to which the application corresponding to the application message belongs, and the second current scene information is any one of terminal moving speed, environment volume, distance between the user and the mobile terminal and time information.
In the practical application process, the moving speed of the mobile terminal can be identified through a speed sensor of the mobile terminal, the environment volume is collected and analyzed through a microphone, the distance between a user and the mobile terminal is judged through a distance sensor, and the time information is determined through the display time on the mobile terminal. Therefore, the environment where the mobile terminal is currently located can be judged by acquiring the first current scene information and the second current scene information of the mobile terminal, for example, the mobile terminal is driving, the volume of the surrounding environment is high, and the like, so that the vibration level is matched and the vibration amplitude is adjusted according to the first current scene information and the second current scene information of the mobile terminal device.
Step 102, determining a vibration level corresponding to the first current scene information according to the first current scene information, wherein the vibration level includes a plurality of levels, each vibration level corresponds to a vibration amplitude, and the higher the vibration level is, the larger the vibration amplitude is.
Wherein, the vibration amplitude is related to the rotating speed of the motor, and the larger the rotating speed of the motor is, the larger the vibration amplitude is. For example, assuming that the rated rotational speed of the motor is 3000r/min, the rotational speed of the motor corresponding to the vibration level 1 is 600r/min, the rotational speed of the motor corresponding to the vibration level 2 is 1200r/min, the rotational speed of the motor corresponding to the vibration level 3 is 1800r/min, the rotational speed of the motor corresponding to the vibration level 4 is 2400r/min, and the rotational speed of the motor corresponding to the vibration level 5 is 3000 r/min. The magnitude of the vibration amplitude is as follows: the vibration amplitude corresponding to the vibration level 1 is less than the vibration amplitude corresponding to the vibration level 2 is less than the vibration amplitude corresponding to the vibration level 3 is less than the vibration amplitude corresponding to the vibration level 4 is less than the vibration amplitude corresponding to the vibration level 5. For example, the vibration amplitude is divided by using the vibration intensity as a unit, the vibration amplitude corresponding to the vibration level 1 may be 5 vibration intensities, the vibration amplitude corresponding to the vibration level 2 may be 10 vibration intensities, the vibration amplitude corresponding to the vibration level 3 may be 15 vibration intensities, the vibration amplitude corresponding to the vibration level 4 may be 20 vibration intensities, and the vibration amplitude corresponding to the vibration level 5 may be 25 vibration intensities.
In some embodiments, the determining, from the first current scene information, a vibration level corresponding to the first current scene information includes:
determining a vibration level corresponding to the first current scene information according to the environment volume, wherein the vibration level is in direct proportion to the environment volume; or
Determining a vibration grade corresponding to the first current scene information according to the mobile terminal moving speed, wherein the vibration grade is in direct proportion to the mobile terminal moving speed; or
And determining a vibration level corresponding to the first current scene information according to the application category to which the application corresponding to the application message belongs, wherein the application category is classified according to the frequency of the application used, and the higher the frequency, the higher the vibration level corresponding to the application category to which the application belongs.
For example, the ambient volume is below 50-40db corresponding to vibration level 1 (vibration amplitude is 5 vibration intensities), the ambient volume is 50-55db corresponding to vibration level 2 (vibration amplitude is 10 vibration intensities), and the ambient volume is 55-60db corresponding to vibration level 3 (vibration amplitude is 15 vibration intensities).
For example, the terminal moving speed is 5.32-5.43km/h corresponding to a vibration level 1 (vibration amplitude is 5 vibration intensities), the terminal moving speed is 16-18km/h corresponding to a vibration level 2 (vibration amplitude is 10 vibration intensities), and the terminal moving speed is 60-80km/h corresponding to a vibration level 3 (vibration amplitude is 15 vibration intensities).
For example, application category 1 (application is used 2 or less times a day) corresponds to vibration level 1 (vibration amplitude is 5 vibration intensities), application category 2 (application is used 2 to 6 times a day) corresponds to vibration level 1 (vibration amplitude is 5 vibration intensities), and application category 3 (application is used 7 or more times a day) corresponds to vibration level 3 (vibration amplitude is 15 vibration intensities). The application categories are classified according to the frequency of the applications, and the vibration level corresponding to the application category to which the application with the higher frequency of the applications belongs is higher.
And determining the vibration level corresponding to the first current scene information according to the first current scene information.
The corresponding relation between the environment volume and the vibration level, the corresponding relation between the terminal moving speed and the vibration level and the corresponding relation between the application type and the vibration level are matched according to preset conditions, and the corresponding preset conditions and the corresponding matching relations are stored in the mobile terminal in advance.
In some embodiments, the determining, from the first current scene information, a vibration level corresponding to the first current scene information includes:
and determining a vibration level corresponding to the first current scene information according to the environment volume and the terminal moving speed, wherein the vibration level is in direct proportion to the environment volume and the terminal moving speed.
For example, when the environmental volume is below 50-40db and corresponds to a vibration level 1 (vibration amplitude is 5 vibration intensities), the environmental volume is below 50-55db and corresponds to a vibration level 2 (vibration amplitude is 10 vibration intensities), the terminal moving speed is 5.32-5.43km/h and corresponds to a vibration level 1 (vibration amplitude is 5 vibration intensities), and the terminal moving speed is 16-18km/h and corresponds to a vibration level 2 (vibration amplitude is 10 vibration intensities), when the environmental volume of the first current scene is below 50-40db and the terminal moving speed is 5.32-5.43km/h, the first current scene corresponds to a vibration level 1; and when the environmental volume of the first current scene is 50-55db and the terminal moving speed is 16-18km/h, the first current scene corresponds to the vibration level 2.
And 103, adjusting the output proportion of the vibration amplitude corresponding to the vibration grade according to the second current scene information.
In some embodiments, the output proportion of the vibration amplitude corresponding to the vibration level is adjusted according to the second current scene information; prompting the application message, comprising:
and when the second current scene information is the environmental volume and is different from the first current scene information, adjusting the output proportion of the vibration amplitude corresponding to the vibration grade according to the second current scene information.
For example, if the second current scene is the ambient volume, the first current scene may only be the terminal moving speed or the application category to which the application corresponding to the application message belongs, and then the output ratio of the vibration amplitude corresponding to the vibration level is adjusted according to the second current scene information.
In some embodiments, when the second current scene information is an environmental volume and the second current scene information is different from the first current scene information, the adjusting, according to the second current scene information, an output ratio of a vibration amplitude corresponding to the vibration level includes:
judging whether the environmental volume exceeds a preset volume value or not;
when the environmental volume does not exceed the preset volume value, adjusting the output proportion of the vibration amplitude corresponding to the vibration level to a first preset proportion, wherein the first preset proportion is smaller than 1; or
And when the environmental volume exceeds the preset volume value, adjusting the output proportion of the vibration amplitude corresponding to the vibration level to 1.
For example, the first current scene is a terminal moving speed, the terminal moving speed is 60-80km/h, the corresponding vibration level 3 (vibration amplitude is 15 vibration intensities), the preset volume value is 60db, if the environment volume is 56db, it is determined that the environment volume does not exceed the preset volume value, at this time, the output proportion of the vibration amplitude corresponding to the vibration level 3 is adjusted to a first preset proportion (for example, 3/5), that is, the output vibration amplitude is 9 vibration intensities; if the environmental volume is 62db, it is determined that the environmental volume exceeds the preset volume value, and at this time, the output ratio of the vibration amplitude corresponding to the vibration level 3 is adjusted to 1, that is, the output vibration amplitude is 15 vibration intensities.
In some embodiments, the adjusting, according to the second current scene information, an output proportion of a vibration amplitude corresponding to the vibration level includes:
and when the second current scene information is the terminal moving speed and is different from the first current scene information, adjusting the output proportion of the vibration amplitude corresponding to the vibration grade according to the second current scene information.
For example, if the second current scene is the terminal moving speed, the first current scene may only be the environment volume or the application category to which the application corresponding to the application message belongs, and then the output ratio of the vibration amplitude corresponding to the vibration level is adjusted according to the second current scene information.
In some embodiments, when the second current scene information is a terminal moving speed and the second current scene information is different from the first current scene information, the adjusting, according to the second current scene information, an output ratio of a vibration amplitude corresponding to the vibration level includes:
judging whether the terminal moving speed exceeds a preset speed value or not;
when the terminal moving speed does not exceed the preset speed value, adjusting the output proportion of the vibration amplitude corresponding to the vibration grade to a second preset proportion, wherein the second preset proportion is smaller than 1; or
And when the terminal moving speed exceeds the preset speed value, adjusting the output proportion of the vibration amplitude corresponding to the vibration grade to 1.
For example, the first current scene information is an ambient volume, the ambient volume is 50-55db, the preset velocity value is 17km/h corresponding to a vibration level 2 (vibration amplitude is 10 vibration intensities), if the terminal moving velocity is 16km/h, it is determined that the terminal moving velocity does not exceed the preset velocity value, and at this time, the output proportion of the vibration amplitude corresponding to the vibration level 2 is adjusted to a first preset proportion (e.g. 4/5), that is, the output vibration amplitude is 8 vibration intensities; if the terminal moving speed is 19km/h, the terminal moving speed is judged to exceed the preset speed value, and at the moment, the output proportion of the vibration amplitude corresponding to the vibration level 2 is adjusted to 1, namely the output vibration amplitude is 10 vibration intensities. The adjustment is mainly to consider that when a user crowds a bus, a subway and the like, the inside of the bus is too crowded, and the friction between people is caused, so that the user cannot clearly feel the vibration of the mobile phone, the output ratio is adjusted to be 1, when the user walks or does not move, the periphery of the user is not crowded on the bus, the subway and the like, the user can hear the vibration without large vibration amplitude, the output ratio is adjusted to be low, and the speed of the user walking, sitting on the bus, the subway and the like is different. The adjustment can ensure that the user can feel clearly and can not be scared by overlarge vibration amplitude.
In another embodiment, if it is recognized that the output proportion of the vibration amplitude corresponding to the vibration level is reduced to 1/3 when the user is driving or riding, for example, the terminal moving speed is 80km/h or 20km/h, it is determined that the user is driving or riding, and at this time, the output proportion of the vibration amplitude corresponding to the vibration level is reduced to 1/3, for example, at this time, the vibration level is 3, the corresponding vibration amplitude is 15 vibration intensities, and the output vibration amplitude is 5 vibration intensities. The adjustment is performed in order to avoid that the mobile terminal shakes too much to scare the user who is driving or riding, so that the user is influenced to drive or ride, and a traffic accident is caused, and therefore, when the user is identified to be driving or riding, the output proportion of the vibration amplitude corresponding to the vibration level is reduced to 1/3.
In some embodiments, the output proportion of the vibration amplitude corresponding to the vibration level is adjusted according to the second current scene information; prompting the application message, comprising:
and when the second current scene information is the distance between the user and the mobile terminal, adjusting the output proportion of the vibration amplitude corresponding to the vibration grade according to the second current scene information.
In some embodiments, when the second current context information is a distance between the user and the mobile terminal, the adjusting, according to the second current context information, the output proportion of the vibration amplitude corresponding to the vibration level includes:
judging whether the distance between the user and the mobile terminal exceeds a preset distance value or not;
when the distance between the user and the mobile terminal does not exceed the preset distance value, adjusting the output proportion of the vibration amplitude corresponding to the vibration level to be 1; or
And when the distance value between the user and the mobile terminal exceeds a preset distance value, adjusting the output proportion of the vibration amplitude corresponding to the vibration grade to a third preset proportion, wherein the third preset proportion is more than 1.
For example, the first current scene information is an environmental volume, the environmental volume is 50-55db, the preset distance value is 10cm corresponding to a vibration level 2 (vibration amplitude is 10 vibration intensities), if the distance between the user and the mobile terminal is 8cm, it is determined that the distance between the user and the mobile terminal does not exceed the preset distance value, and at this time, the output proportion of the vibration amplitude corresponding to the vibration level 2 is adjusted to 1, that is, the output vibration amplitude is 10 vibration intensities; if the distance between the user and the mobile terminal is 12cm, it is determined that the distance between the user and the mobile terminal exceeds the preset distance value, and at this time, the output proportion of the vibration amplitude corresponding to the vibration level 2 is adjusted to a third preset proportion (for example, 2), that is, the output vibration amplitude is 20 vibration intensities. The reason for this adjustment is that the closer the user and the mobile terminal are, the clearer the same vibration amplitude is, the vibration amplitude within the preset distance when the output ratio is 1 is the vibration amplitude that the user can clearly feel, and when the distance exceeds the preset distance, the vibration amplitude user within the output ratio of 1 is not clearly felt, and the user can clearly feel only by increasing the output ratio of the vibration amplitude, so the third preset ratio is greater than 1. The adjustment can ensure that the user can clearly feel the vibration of the mobile terminal and can not scare the user due to overlarge vibration amplitude. For example, the third preset ratio may be a fixed value. For example, the third preset ratio may also be adjusted according to an actual situation that the user exceeds the preset distance, for example, the preset distance is 5 meters, when the user is within 5-10 meters from the mobile phone, the third preset ratio is correspondingly 1.5, and when the user is more than 10 meters from the mobile phone, the third preset ratio is correspondingly 2.
In some embodiments, the output proportion of the vibration amplitude corresponding to the vibration level is adjusted according to the second current scene information; prompting the application message, comprising:
and when the second current scene information is time information, adjusting the output proportion of the vibration amplitude corresponding to the vibration grade according to the second current scene information.
In some embodiments, when the second current scene information is time information, the adjusting, according to the second current scene information, an output proportion of a vibration amplitude corresponding to the vibration level includes:
judging whether the time information is a disturbance-free time period or not;
when the time information is the disturbance-free time period, adjusting the output proportion of the vibration amplitude corresponding to the vibration grade to a fourth preset proportion, wherein the fourth preset proportion is smaller than 1; or
And when the time information is not the disturbance-free time period, adjusting the output proportion of the vibration amplitude corresponding to the vibration grade to 1.
For example, the do not disturb time period includes work and rest time and holiday time, wherein the work and rest time includes: rest time 22: 00-day 08: 00, operating time 08: 00-12: 00, 13: 00-18: 00 and entertainment time 12: 00-13: 30, 18: 00-22: 00; holiday times include rest times and entertainment times, where the rest times are 22: 00-day 08: 00, entertainment time 08: 00-22: 00. for example, the disturbance-free time period may be set to a rest time and a working time in a work time, and a rest time between holidays, and when the time information is judged to be the disturbance-free time period, for example, 23: 00 or 11: 00, 24 in holiday time: 00, adjusting the output proportion of the vibration amplitude corresponding to the vibration level to a preset proportion, wherein the preset proportion is smaller than 1 (for example, 4/5), for example, the vibration level is 2, and the corresponding vibration amplitude is 10 vibration intensities, so that the output vibration amplitude is 8 vibration intensities; when the time information is judged not to be the disturbance-free time period, for example, 13: 00 or 10 in holiday time: 00, adjusting the output proportion of the vibration amplitude corresponding to the vibration level to 1, for example, the vibration level is 2, and the corresponding vibration amplitude is 10 vibration intensities, so that the output vibration amplitude is 10 vibration intensities. The reason for the adjustment is that the surrounding environment of the user in the non-disturbance-free time period is noisy, the user can be guaranteed to clearly feel the vibration of the terminal when the output ratio is 1, the surrounding environment of the user in the disturbance-free time period is quiet, the user can clearly feel the vibration of the terminal without the output ratio being large, and therefore the fourth preset ratio is smaller than 1. The adjustment can ensure that the user can clearly feel the vibration of the mobile terminal and can not scare the user due to overlarge vibration amplitude.
The first preset proportion, the second preset proportion and the fourth preset proportion are all smaller than 1, the third preset proportion is larger than 1, and the first preset proportion, the second preset proportion and the fourth preset proportion can be equal or unequal in size.
And 104, controlling the mobile terminal to vibrate at the adjusted vibration amplitude so as to prompt the application message.
For example, if the adjusted vibration amplitude is 8 vibration intensities, and the vibration amplitude corresponds to the vibration level 2, the mobile terminal is controlled to vibrate with the vibration amplitude of 2 vibration intensities and 8 vibration intensities, and an application message is prompted.
All the above optional technical solutions may be combined arbitrarily to form optional embodiments of the present application, and are not described herein again.
In particular implementation, the present application is not limited by the execution sequence of the described steps, and some steps may be performed in other sequences or simultaneously without conflict.
As can be seen from the above, in the vibration adjustment method provided in the embodiment of the present application, when an application message prompt instruction is detected, first current scene information and second current scene information of the mobile terminal are obtained; determining a vibration level corresponding to the first current scene information according to the first current scene information, wherein the vibration level comprises a plurality of levels, each vibration level corresponds to a vibration amplitude, and the higher the vibration level is, the larger the vibration amplitude is; adjusting the output proportion of the vibration amplitude corresponding to the vibration grade according to the second current scene information; and controlling the mobile terminal to vibrate according to the adjusted vibration amplitude so as to prompt the application message. The embodiment of the application enables the vibration touch feeling to be changed from fixed strength to automatic change of vibration amplitude in proper time and in proper scenes, avoids the situation that a user can sense vibration reminding in real time in relatively noisy and moving scenes and cannot frighten the user because the vibration amplitude is too large in relatively quiet scenes, can effectively avoid the situation of scene requirements which cannot be met by the prior art, and is more intelligent and careful in experience.
The embodiment of the application also provides a vibration adjusting device, and the vibration adjusting device can be integrated in the mobile terminal. The mobile terminal can be a smart phone, a tablet computer and other devices.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a vibration adjusting device according to an embodiment of the present disclosure. The vibration adjusting device 30 may include:
the obtaining module 31 is configured to obtain first current scene information and second current scene information of the mobile terminal when the application message prompting instruction is detected;
a determining module 32, configured to determine, according to the first current scene information, a vibration level corresponding to the first current scene information, where the vibration level includes multiple levels, each vibration level corresponds to a vibration amplitude, and the higher the vibration level is, the larger the vibration amplitude is;
the adjusting module 33 is configured to adjust an output ratio of a vibration amplitude corresponding to the vibration level according to the second current scene information, so as to prompt the application message;
and the control module 34 is configured to control the mobile terminal to vibrate at the adjusted vibration amplitude so as to prompt the application message.
In some embodiments, the determining module 32 is configured to determine, according to the ambient volume, a vibration level corresponding to the first current scene information, where a height of the vibration level is proportional to a magnitude of the ambient volume; or determining a vibration grade corresponding to the first current scene information according to the mobile terminal moving speed, wherein the vibration grade is in direct proportion to the mobile terminal moving speed; or determining the vibration level corresponding to the first current scene information according to the application category to which the application corresponding to the application message belongs, wherein the application category is classified according to the frequency of the application used, and the higher the frequency, the higher the vibration level corresponding to the application category to which the application belongs.
In some embodiments, the determining module 32 is configured to determine, according to the environment volume and the mobile terminal moving speed, a vibration level corresponding to the first current scene information, where the vibration level is proportional to the environment volume and the mobile terminal moving speed.
In some embodiments, the adjusting module 33 is configured to determine whether the ambient volume exceeds a preset volume value when the second current scene information is ambient volume and the second current scene information is different from the first current scene information; when the environmental volume does not exceed the preset volume value, adjusting the output proportion of the vibration amplitude corresponding to the vibration level to a first preset proportion, wherein the first preset proportion is smaller than 1; or when the environmental volume exceeds the preset volume value, adjusting the output proportion of the vibration amplitude corresponding to the vibration level to 1.
In some embodiments, the adjusting module 33 is configured to determine whether the moving speed of the mobile terminal exceeds a preset speed value when the second current scene information is the moving speed of the mobile terminal and the second current scene information is different from the first current scene information; when the mobile terminal moving speed does not exceed the preset speed value, adjusting the output proportion of the vibration amplitude corresponding to the vibration grade to a second preset proportion, wherein the second preset proportion is smaller than 1; or when the mobile terminal moving speed exceeds the preset speed value, adjusting the output proportion of the vibration amplitude corresponding to the vibration grade to 1.
In some embodiments, the adjusting module 33 is configured to, when the second current scene information is a distance between a user and a mobile terminal, determine whether the distance between the user and the mobile terminal exceeds a preset distance value; when the distance between the user and the mobile terminal does not exceed the preset distance value, adjusting the output proportion of the vibration amplitude corresponding to the vibration level to be 1; or when the distance value between the user and the mobile terminal exceeds a preset distance value, adjusting the output proportion of the vibration amplitude corresponding to the vibration level to a third preset proportion, wherein the third preset proportion is larger than 1.
In some embodiments, the adjusting module 33 is configured to, when the second current scene information is time information, determine whether the time information is a disturbance-free time period; when the time information is the disturbance-free time period, adjusting the output proportion of the vibration amplitude corresponding to the vibration grade to a preset proportion, wherein the preset proportion is smaller than 1; or when the time information is not the disturbance-free time period, adjusting the output proportion of the vibration amplitude corresponding to the vibration grade to 1.
In specific implementation, the modules may be implemented as independent entities, or may be combined arbitrarily and implemented as one or several entities.
As can be seen from the above, in the vibration adjusting device 30 provided in the embodiment of the present application, through the obtaining module 31, when the application message prompt instruction is detected, the first current scene information and the second current scene information of the mobile terminal are obtained; the determining module 32 determines, according to the first current scene information, a vibration level corresponding to the first current scene information, where the vibration level includes multiple levels, each vibration level corresponds to a vibration amplitude, and the higher the vibration level is, the larger the vibration amplitude is; the adjusting module 33 adjusts the output proportion of the vibration amplitude corresponding to the vibration level according to the second current scene information; the control module 34 controls the mobile terminal to vibrate at the adjusted vibration amplitude so as to prompt the application message. The embodiment of the application enables the vibration touch feeling to be changed from fixed strength to automatic change of vibration amplitude in proper time and in proper scenes, avoids the situation that a user can sense vibration reminding in real time in relatively noisy and moving scenes and cannot frighten the user because the vibration amplitude is too large in relatively quiet scenes, can effectively avoid the situation of scene requirements which cannot be met by the prior art, and is more intelligent and careful in experience.
Referring to fig. 3, fig. 3 is another structural schematic diagram of a vibration adjusting device according to an embodiment of the present disclosure, in which the vibration adjusting device 30 includes a memory 120, one or more processors 180, and one or more applications, where the one or more applications are stored in the memory 120 and configured to be executed by the processor 180; the processor 180 may include an obtaining module 31, a determining module 32, and an adjusting module 33. For example, the structures and connection relationships of the above components may be as follows:
the memory 120 may be used to store applications and data. The memory 120 stores applications containing executable code. The application programs may constitute various functional modules. The processor 180 executes various functional applications and data processing by running the application programs stored in the memory 120. Further, the memory 120 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. Accordingly, the memory 120 may also include a memory controller to provide the processor 180 with access to the memory 120.
The processor 180 is a control center of the device, connects various parts of the entire terminal using various interfaces and lines, performs various functions of the device and processes data by running or executing an application program stored in the memory 120 and calling data stored in the memory 120, thereby monitoring the entire device. Optionally, processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application program, and the like.
Specifically, in this embodiment, the processor 180 loads the executable code corresponding to the process of one or more application programs into the memory 120 according to the following instructions, and the processor 180 runs the application programs stored in the memory 120, thereby implementing various functions:
the obtaining module 31 is configured to obtain first current scene information and second current scene information of the mobile terminal when the application message prompting instruction is detected;
a determining module 32, configured to determine, according to the first current scene information, a vibration level corresponding to the first current scene information, where the vibration level includes multiple levels, each vibration level corresponds to a vibration amplitude, and the higher the vibration level is, the larger the vibration amplitude is;
the adjusting module 33 is configured to adjust an output ratio of a vibration amplitude corresponding to the vibration level according to the second current scene information, so as to prompt the application message;
and the control module 34 is configured to control the mobile terminal to vibrate at the adjusted vibration amplitude so as to prompt the application message.
In some embodiments, the determining module 32 is configured to determine, according to the ambient volume, a vibration level corresponding to the first current scene information, where a height of the vibration level is proportional to a magnitude of the ambient volume; or determining a vibration grade corresponding to the first current scene information according to the mobile terminal moving speed, wherein the vibration grade is in direct proportion to the mobile terminal moving speed; or determining the vibration level corresponding to the first current scene information according to the application category to which the application corresponding to the application message belongs, wherein the application category is classified according to the frequency of the application used, and the higher the frequency, the higher the vibration level corresponding to the application category to which the application belongs.
In some embodiments, the determining module 32 is configured to determine, according to the environment volume and the mobile terminal moving speed, a vibration level corresponding to the first current scene information, where the vibration level is proportional to the environment volume and the mobile terminal moving speed.
In some embodiments, the adjusting module 33 is configured to determine whether the ambient volume exceeds a preset volume value when the second current scene information is ambient volume and the second current scene information is different from the first current scene information; when the environmental volume does not exceed the preset volume value, adjusting the output proportion of the vibration amplitude corresponding to the vibration level to a first preset proportion, wherein the first preset proportion is smaller than 1; or when the environmental volume exceeds the preset volume value, adjusting the output proportion of the vibration amplitude corresponding to the vibration level to 1.
In some embodiments, the adjusting module 33 is configured to, when the second current scene information is a mobile terminal moving speed and the second current scene information is different from the first current scene information,
judging whether the moving speed of the mobile terminal exceeds a preset speed value or not; when the mobile terminal moving speed does not exceed the preset speed value, adjusting the output proportion of the vibration amplitude corresponding to the vibration grade to a second preset proportion, wherein the second preset proportion is smaller than 1; or when the mobile terminal moving speed exceeds the preset speed value, adjusting the output proportion of the vibration amplitude corresponding to the vibration grade to 1.
In some embodiments, the adjusting module 33 is configured to, when the second current scene information is a distance between a user and a mobile terminal, determine whether the distance between the user and the mobile terminal exceeds a preset distance value;
when the distance between the user and the mobile terminal does not exceed the preset distance value, adjusting the output proportion of the vibration amplitude corresponding to the vibration level to be 1; or when the distance value between the user and the mobile terminal exceeds a preset distance value, adjusting the output proportion of the vibration amplitude corresponding to the vibration level to a third preset proportion, wherein the third preset proportion is larger than 1.
In some embodiments, the adjusting module 33 is configured to, when the second current scene information is time information, determine whether the time information is a disturbance-free time period; when the time information is the disturbance-free time period, adjusting the output proportion of the vibration amplitude corresponding to the vibration grade to a preset proportion, wherein the preset proportion is smaller than 1; or when the time information is not the disturbance-free time period, adjusting the output proportion of the vibration amplitude corresponding to the vibration grade to 1.
The embodiment of the application also provides the mobile terminal. The mobile terminal can be a smart phone, a tablet computer and other devices.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure, where the mobile terminal may be used to implement the vibration adjusting method provided in the foregoing embodiment. The mobile terminal 1200 may be a smart phone or a tablet computer.
As shown in fig. 4, the mobile terminal 1200 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more computer-readable storage media (only one shown), an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a transmission module 170, a processor 180 including one or more processing cores (only one shown), and a power supply 190. Those skilled in the art will appreciate that the mobile terminal 1200 configuration illustrated in fig. 4 is not intended to be limiting of the mobile terminal 1200 and may include more or less components than those illustrated, or some components in combination, or a different arrangement of components. Wherein:
the RF circuit 110 is used for receiving and transmitting electromagnetic waves, and performs interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. The RF circuitry 110 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The RF circuitry 110 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices over a wireless network.
The memory 120 may be configured to store a software program and a module, such as program instructions/modules corresponding to the vibration adjustment method in the foregoing embodiment, and the processor 180 executes various functional applications and data processing by operating the software program and the module stored in the memory 120, and may adapt to different vibration amplitudes according to different scenes, so as to avoid that a user may be surprised by an excessively large vibration amplitude in a relatively noisy and moving scene where the user can perceive a vibration alert in real time and in a relatively quiet scene. Memory 120 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 120 may further include memory located remotely from the processor 180, which may be connected to the electronic device 1200 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input unit 130 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 130 may include a touch-sensitive surface 131 as well as other input devices 132. The touch-sensitive surface 131, also referred to as a touch display screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 131 (e.g., operations by a user on or near the touch-sensitive surface 131 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 131 may comprise two parts, a touch detection means 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 180, and can receive and execute commands sent by the processor 180. Additionally, the touch-sensitive surface 131 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface 131, the input unit 130 may also include other input devices 132. In particular, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 140 may be used to display information input by or provided to the user and various graphic user interfaces of the mobile terminal 1200, which may be configured by graphics, text, icons, video, and any combination thereof. The display unit 140 may include a display panel 141, and optionally, the display panel 141 may be configured in the form of an LCD (Liquid crystal display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 131 may cover the display panel 141, and when a touch operation is detected on or near the touch-sensitive surface 131, the touch operation is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 provides a corresponding visual output on the display panel 141 according to the type of the touch event. Although in FIG. 4, touch-sensitive surface 131 and display panel 141 are shown as two separate components to implement input and output functions, in some embodiments, touch-sensitive surface 131 may be integrated with display panel 141 to implement input and output functions.
The mobile terminal 1200 may also include at least one sensor 150, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 141 and/or the backlight when the mobile terminal 1200 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured in the mobile terminal 1200, detailed descriptions thereof are omitted.
Audio circuitry 160, speaker 161, and microphone 162 may provide an audio interface between a user and mobile terminal 1200. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 160, and then outputs the audio data to the processor 180 for processing, and then to the RF circuit 110 to be transmitted to, for example, another terminal, or outputs the audio data to the memory 120 for further processing. The audio circuitry 160 may also include an earbud jack to provide communication of peripheral headphones with the mobile terminal 1200.
The mobile terminal 1200, which may assist the user in e-mail, web browsing, and streaming media access through the transmission module 170 (e.g., Wi-Fi module), provides the user with wireless broadband internet access. Although fig. 4 shows the transmission module 170, it is understood that it does not belong to the essential constitution of the mobile terminal 1200, and may be omitted entirely within the scope not changing the essence of the invention as needed.
The processor 180 is a control center of the mobile terminal 1200, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile terminal 1200 and processes data by operating or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby integrally monitoring the mobile phone. Optionally, processor 180 may include one or more processing cores; in some embodiments, the processor 180 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
The mobile terminal 1200 also includes a power supply 190 (e.g., a battery) that powers the various components and, in some embodiments, may be logically coupled to the processor 180 via a power management system that may be used to manage charging, discharging, and power consumption management functions. The power supply 190 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the mobile terminal 1200 may further include a camera (e.g., a front camera, a rear camera), a bluetooth module, and the like, which are not described in detail herein. Specifically, in the present embodiment, the display unit 140 of the mobile terminal 1200 is a touch screen display, and the mobile terminal 1200 further includes a memory 120 and one or more programs, wherein the one or more programs are stored in the memory 120, and the one or more programs configured to be executed by the one or more processors 180 include instructions for:
when an application message prompt instruction is detected, acquiring first current scene information and second current scene information of the mobile terminal;
determining a vibration level corresponding to the first current scene information according to the first current scene information, wherein the vibration level comprises a plurality of levels, each vibration level corresponds to a vibration amplitude, and the higher the vibration level is, the larger the vibration amplitude is;
adjusting the output proportion of the vibration amplitude corresponding to the vibration grade according to the second current scene information;
and controlling the mobile terminal to vibrate according to the adjusted vibration amplitude so as to prompt the application message.
In some embodiments, the processor 180 is configured to determine the vibration level corresponding to the first current context information according to the first current context information, where the first current context information includes any one of an ambient volume, a mobile terminal moving speed, and an application category to which an application corresponding to the application message belongs, and the determining includes:
determining a vibration level corresponding to the first current scene information according to the environment volume, wherein the vibration level is in direct proportion to the environment volume; or
Determining a vibration grade corresponding to the first current scene information according to the mobile terminal moving speed, wherein the vibration grade is in direct proportion to the mobile terminal moving speed; or
And determining a vibration level corresponding to the first current scene information according to the application category to which the application corresponding to the application message belongs, wherein the application category is classified according to the frequency of the application used, and the higher the frequency, the higher the vibration level corresponding to the application category to which the application belongs.
In some embodiments, the processor 180 is configured to determine the first current scene information from which the vibration level corresponding to the first current scene information is determined, the first current scene information including an ambient volume and a mobile terminal moving speed, and the determining includes:
and determining a vibration level corresponding to the first current scene information according to the environment volume and the mobile terminal moving speed, wherein the vibration level is in direct proportion to the environment volume and the mobile terminal moving speed.
In some embodiments, the processor 180 is configured to, when the second current scene information is an environmental volume and the second current scene information is different from the first current scene information, adjust an output ratio of a vibration amplitude corresponding to the vibration level according to the second current scene information, including:
judging whether the environmental volume exceeds a preset volume value or not;
when the environmental volume does not exceed the preset volume value, adjusting the output proportion of the vibration amplitude corresponding to the vibration level to a first preset proportion, wherein the first preset proportion is smaller than 1; or
And when the environmental volume exceeds the preset volume value, adjusting the output proportion of the vibration amplitude corresponding to the vibration level to 1.
In some embodiments, the processor 180 is configured to, when the second current scene information is a moving speed of the mobile terminal and the second current scene information is different from the first current scene information, adjust an output ratio of a vibration amplitude corresponding to the vibration level according to the second current scene information, including:
judging whether the moving speed of the mobile terminal exceeds a preset speed value or not;
when the mobile terminal moving speed does not exceed the preset speed value, adjusting the output proportion of the vibration amplitude corresponding to the vibration grade to a second preset proportion, wherein the second preset proportion is smaller than 1; or
And when the mobile terminal moving speed exceeds the preset speed value, adjusting the output proportion of the vibration amplitude corresponding to the vibration grade to 1.
In some embodiments, when the second current context information is a distance between the user and the mobile terminal, the processor 180 is configured to adjust an output ratio of a vibration amplitude corresponding to the vibration level according to the second current context information, including:
judging whether the distance between the user and the mobile terminal exceeds a preset distance value or not;
when the distance between the user and the mobile terminal does not exceed the preset distance value, adjusting the output proportion of the vibration amplitude corresponding to the vibration level to be 1; or
And when the distance value between the user and the mobile terminal exceeds a preset distance value, adjusting the output proportion of the vibration amplitude corresponding to the vibration grade to a third preset proportion, wherein the third preset proportion is more than 1.
In some embodiments, when the second current scene information is time information, the processor 180 is configured to adjust an output ratio of a vibration amplitude corresponding to the vibration level according to the second current scene information, including:
judging whether the time information is a disturbance-free time period or not;
when the time information is the disturbance-free time period, adjusting the output proportion of the vibration amplitude corresponding to the vibration grade to a preset proportion, wherein the preset proportion is smaller than 1; or
And when the time information is not the disturbance-free time period, adjusting the output proportion of the vibration amplitude corresponding to the vibration grade to 1.
As can be seen from the above, an embodiment of the present application provides a mobile terminal 1200, where the mobile terminal 1200 performs the following steps: when an application message prompt instruction is detected, acquiring first current scene information and second current scene information of the mobile terminal; determining a vibration level corresponding to the first current scene information according to the first current scene information, wherein the vibration level comprises a plurality of levels, each vibration level corresponds to a vibration amplitude, and the higher the vibration level is, the larger the vibration amplitude is; adjusting the output proportion of the vibration amplitude corresponding to the vibration grade according to the second current scene information; and controlling the mobile terminal to vibrate according to the adjusted vibration amplitude so as to prompt the application message. The embodiment of the application overcomes the technical defect that the fixed vibration amplitude can not completely meet the common scene technical defect of the user, so that the vibration touch feeling is changed into the vibration amplitude which is automatically changed in a proper time and in a scene by fixed force, the situation that the user can perceive the vibration reminding in real time and cannot frighten the user because the vibration amplitude is too large in the relatively quiet scene under the relatively noisy and moving scene is avoided, the situation of the scene requirement which can not be met by the prior art can be effectively avoided, and the experience is more intelligent and careful.
An embodiment of the present application further provides a storage medium, where a computer program is stored, and when the computer program runs on a computer, the computer executes the vibration adjusting method according to any of the above embodiments.
It should be noted that, for the shock adjustment method described in this application, it can be understood by those skilled in the art that all or part of the process of implementing the shock adjustment method described in this application may be implemented by controlling the relevant hardware through a computer program, where the computer program may be stored in a computer readable storage medium, such as a memory of a mobile terminal, and executed by at least one processor in the mobile terminal, and during the execution, the process of implementing the shock adjustment method described in this application may include the process of the embodiment of the shock adjustment method. The storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like.
For the vibration adjusting device of the embodiment of the present application, each functional module may be integrated into one processing chip, or each module may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium, such as a read-only memory, a magnetic or optical disk, or the like.
The method, the apparatus, the storage medium, and the mobile terminal for adjusting the vibration provided by the embodiments of the present application are described in detail above. The principle and the implementation of the present application are explained herein by applying specific examples, and the above description of the embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A method of shock adjustment, the method comprising:
when an application message prompt instruction is detected, acquiring first current scene information and second current scene information of the mobile terminal;
determining a vibration level corresponding to the first current scene information according to the first current scene information, wherein the vibration level comprises a plurality of levels, each vibration level corresponds to a vibration amplitude, and the higher the vibration level is, the larger the vibration amplitude is;
adjusting the output proportion of the vibration amplitude corresponding to the vibration grade according to the second current scene information;
and controlling the mobile terminal to vibrate according to the adjusted vibration amplitude so as to prompt the application message.
2. The vibration adjustment method according to claim 1, wherein the first current context information includes any one of an environmental volume, a terminal moving speed, and an application category to which an application corresponding to the application message belongs, and the determining the vibration level corresponding to the first current context information based on the first current context information includes:
determining a vibration level corresponding to the first current scene information according to the environment volume, wherein the vibration level is in direct proportion to the environment volume; or
Determining a vibration grade corresponding to the first current scene information according to the terminal moving speed, wherein the vibration grade is in direct proportion to the terminal moving speed; or
Determining a vibration level corresponding to the first current scene information according to an application category to which an application corresponding to the application message belongs, wherein the application category is classified according to the frequency of the application being used, and the higher the frequency, the higher the vibration level corresponding to the application category to which the application belongs.
3. The shock adjustment method of claim 1, wherein the first current scene information includes an ambient volume and a terminal moving speed, and the determining the shock level corresponding to the first current scene information according to the first current scene information comprises:
and determining a vibration level corresponding to the first current scene information according to the environment volume and the terminal moving speed, wherein the vibration level is in direct proportion to the environment volume and the terminal moving speed.
4. The vibration adjusting method of claim 2, wherein when the second current scene information is an environmental volume and the second current scene information is different from the first current scene information, the adjusting the output ratio of the vibration amplitude corresponding to the vibration level according to the second current scene information comprises:
judging whether the environmental volume exceeds a preset volume value or not;
when the environmental volume does not exceed the preset volume value, adjusting the output proportion of the vibration amplitude corresponding to the vibration level to a first preset proportion, wherein the first preset proportion is smaller than 1; or
And when the environmental volume exceeds the preset volume value, adjusting the output proportion of the vibration amplitude corresponding to the vibration level to 1.
5. The vibration adjusting method according to claim 2, wherein when the second current scene information is a terminal moving speed and the second current scene information is different from the first current scene information, the adjusting, according to the second current scene information, an output ratio of a vibration amplitude corresponding to the vibration level includes:
judging whether the terminal moving speed exceeds a preset speed value or not;
when the terminal moving speed does not exceed the preset speed value, adjusting the output proportion of the vibration amplitude corresponding to the vibration grade to a second preset proportion, wherein the second preset proportion is smaller than 1; or
And when the terminal moving speed exceeds the preset speed value, adjusting the output proportion of the vibration amplitude corresponding to the vibration grade to 1.
6. The vibration adjusting method according to claim 2 or 3, wherein when the second current scene information is a distance between a user and a mobile terminal, the adjusting an output ratio of the vibration amplitude corresponding to the vibration level according to the second current scene information includes:
judging whether the distance between the user and the mobile terminal exceeds a preset distance value or not;
when the distance between the user and the mobile terminal does not exceed the preset distance value, adjusting the output proportion of the vibration amplitude corresponding to the vibration level to be 1; or
And when the distance value between the user and the mobile terminal exceeds a preset distance value, adjusting the output proportion of the vibration amplitude corresponding to the vibration grade to a third preset proportion, wherein the third preset proportion is more than 1.
7. The vibration adjusting method according to claim 2 or 3, wherein when the second current scene information is time information, the adjusting an output ratio of the vibration amplitude corresponding to the vibration level according to the second current scene information includes:
judging whether the time information is a disturbance-free time period or not;
when the time information is the disturbance-free time period, adjusting the output proportion of the vibration amplitude corresponding to the vibration grade to a fourth preset proportion, wherein the fourth preset proportion is smaller than 1; or
And when the time information is not the disturbance-free time period, adjusting the output proportion of the vibration amplitude corresponding to the vibration grade to 1.
8. A vibration modifying apparatus, said apparatus comprising:
the acquisition module is used for acquiring first current scene information and second current scene information of the mobile terminal when an application message prompt instruction is detected;
the determining module is used for determining a vibration grade corresponding to the first current scene information according to the first current scene information, wherein the vibration grade comprises a plurality of grades, each vibration grade corresponds to a vibration amplitude, and the higher the vibration grade is, the larger the vibration amplitude is;
the adjusting module is used for adjusting the output proportion of the vibration amplitude corresponding to the vibration grade according to the second current scene information;
and the control module is used for controlling the mobile terminal to vibrate according to the adjusted vibration amplitude so as to prompt the application message.
9. A storage medium having stored therein a computer program which, when run on a computer, causes the computer to execute the shake adjusting method according to any one of claims 1 to 7.
10. A mobile terminal, characterized in that the mobile terminal comprises a processor and a memory, the memory having stored therein a computer program, the processor being configured to execute the shock adjustment method according to any one of claims 1 to 7 by calling the computer program stored in the memory.
CN202010090959.4A 2020-02-13 2020-02-13 Vibration adjusting method and device, storage medium and mobile terminal Pending CN111314551A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010090959.4A CN111314551A (en) 2020-02-13 2020-02-13 Vibration adjusting method and device, storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010090959.4A CN111314551A (en) 2020-02-13 2020-02-13 Vibration adjusting method and device, storage medium and mobile terminal

Publications (1)

Publication Number Publication Date
CN111314551A true CN111314551A (en) 2020-06-19

Family

ID=71148367

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010090959.4A Pending CN111314551A (en) 2020-02-13 2020-02-13 Vibration adjusting method and device, storage medium and mobile terminal

Country Status (1)

Country Link
CN (1) CN111314551A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111870934A (en) * 2020-07-31 2020-11-03 歌尔科技有限公司 Vibration adjusting method of handle, game handle and computer readable storage medium
CN112003983A (en) * 2020-08-17 2020-11-27 上海龙旗科技股份有限公司 Adaptive vibration system, terminal, method, and computer-readable storage medium
CN113163055A (en) * 2021-04-22 2021-07-23 Oppo广东移动通信有限公司 Vibration adjusting method and device, storage medium and electronic equipment
CN115086479A (en) * 2022-06-30 2022-09-20 深圳传音控股股份有限公司 Terminal control method, intelligent terminal and storage medium
CN116156047A (en) * 2021-11-23 2023-05-23 北京小米移动软件有限公司 Vibration prompt control method, vibration prompt control device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1585431A (en) * 2003-08-18 2005-02-23 Sk电信技术有限公司 Call announce method and mobile communication terminal for using it
CN201409154Y (en) * 2009-03-13 2010-02-17 宇龙计算机通信科技(深圳)有限公司 Mobile communication terminal
CN102572088A (en) * 2010-12-31 2012-07-11 广州三星通信技术研究有限公司 Device and method for adjusting ringing strength of portable terminal
JP2013150201A (en) * 2012-01-20 2013-08-01 Nec Access Technica Ltd Terminal device, notification control method, and program
CN108322614A (en) * 2018-02-02 2018-07-24 广东欧珀移动通信有限公司 Event-prompting method, device, storage medium and electronic equipment
CN110166631A (en) * 2019-06-28 2019-08-23 瑞声科技(新加坡)有限公司 A kind of motor vibrations method, apparatus, system and readable medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1585431A (en) * 2003-08-18 2005-02-23 Sk电信技术有限公司 Call announce method and mobile communication terminal for using it
CN201409154Y (en) * 2009-03-13 2010-02-17 宇龙计算机通信科技(深圳)有限公司 Mobile communication terminal
CN102572088A (en) * 2010-12-31 2012-07-11 广州三星通信技术研究有限公司 Device and method for adjusting ringing strength of portable terminal
JP2013150201A (en) * 2012-01-20 2013-08-01 Nec Access Technica Ltd Terminal device, notification control method, and program
CN108322614A (en) * 2018-02-02 2018-07-24 广东欧珀移动通信有限公司 Event-prompting method, device, storage medium and electronic equipment
CN110166631A (en) * 2019-06-28 2019-08-23 瑞声科技(新加坡)有限公司 A kind of motor vibrations method, apparatus, system and readable medium

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111870934A (en) * 2020-07-31 2020-11-03 歌尔科技有限公司 Vibration adjusting method of handle, game handle and computer readable storage medium
CN111870934B (en) * 2020-07-31 2022-03-25 歌尔科技有限公司 Vibration adjusting method of handle, game handle and computer readable storage medium
CN112003983A (en) * 2020-08-17 2020-11-27 上海龙旗科技股份有限公司 Adaptive vibration system, terminal, method, and computer-readable storage medium
CN113163055A (en) * 2021-04-22 2021-07-23 Oppo广东移动通信有限公司 Vibration adjusting method and device, storage medium and electronic equipment
CN113163055B (en) * 2021-04-22 2022-07-19 Oppo广东移动通信有限公司 Vibration adjusting method and device, storage medium and electronic equipment
CN116156047A (en) * 2021-11-23 2023-05-23 北京小米移动软件有限公司 Vibration prompt control method, vibration prompt control device and storage medium
CN115086479A (en) * 2022-06-30 2022-09-20 深圳传音控股股份有限公司 Terminal control method, intelligent terminal and storage medium

Similar Documents

Publication Publication Date Title
CN111314551A (en) Vibration adjusting method and device, storage medium and mobile terminal
US11366510B2 (en) Processing method for reducing power consumption and mobile terminal
RU2632153C2 (en) Method, device and terminal for displaying virtual keyboard
CN108681413B (en) Control method of display module and mobile terminal
CN109067981B (en) Split screen application switching method and device, storage medium and electronic equipment
CN108521501B (en) Voice input method, mobile terminal and computer readable storage medium
CN110784915B (en) Power consumption control method of electronic equipment and electronic equipment
CN111899545B (en) Driving reminding method and device, storage medium and mobile terminal
US11989330B2 (en) Permission management method and terminal device
CN108196753B (en) Interface switching method and mobile terminal
CN107733016B (en) Mobile terminal charging control method and mobile terminal
CN111443815A (en) Vibration reminding method and electronic equipment
CN108984145B (en) Brightness adjusting method and electronic equipment
CN111078186A (en) Playing method and electronic equipment
CN110930964B (en) Display screen brightness adjusting method and device, storage medium and terminal
CN108229423B (en) Fingerprint identification scanning method and mobile terminal
CN108089935B (en) Application program management method and mobile terminal
CN108540642B (en) Mobile terminal and operation method thereof
CN114327332A (en) Internet of things equipment setting method and device, electronic equipment and storage medium
CN111261128B (en) Screen brightness adjusting method and electronic equipment
CN112243259A (en) Network disconnection method, device, storage medium and mobile terminal
CN111026456A (en) Application management method and device, storage medium and electronic equipment
CN111176606B (en) Electronic equipment and volume adjusting method thereof
CN114582264A (en) Display brightness control method and device, electronic equipment and storage medium
CN108632468B (en) Method for adjusting CABC level and mobile terminal

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200619