CN107508979B - Volume adjusting method, device, terminal and storage medium - Google Patents

Volume adjusting method, device, terminal and storage medium Download PDF

Info

Publication number
CN107508979B
CN107508979B CN201710710421.7A CN201710710421A CN107508979B CN 107508979 B CN107508979 B CN 107508979B CN 201710710421 A CN201710710421 A CN 201710710421A CN 107508979 B CN107508979 B CN 107508979B
Authority
CN
China
Prior art keywords
volume
information
feature information
attribute feature
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710710421.7A
Other languages
Chinese (zh)
Other versions
CN107508979A (en
Inventor
甘高亭
严锋贵
许钊铵
郑志勇
杨海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710710421.7A priority Critical patent/CN107508979B/en
Publication of CN107508979A publication Critical patent/CN107508979A/en
Application granted granted Critical
Publication of CN107508979B publication Critical patent/CN107508979B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/60Substation equipment, e.g. for use by subscribers including speech amplifiers

Abstract

The embodiment of the invention discloses a volume adjusting method, a volume adjusting device, a terminal and a storage medium. The method comprises the following steps: identifying biometric information input by a user; acquiring attribute feature information of the current user according to the biological feature information; determining a first volume corresponding to the attribute feature information according to a mapping table, wherein the mapping table comprises at least one volume mapping table corresponding to the attribute feature information; and adjusting the output volume of the terminal equipment according to the first volume. According to the volume adjusting method provided by the embodiment, the attribute characteristic information of the user is acquired according to the biological characteristic information, then the first volume is determined according to the attribute characteristic information, the volume is adjusted and output according to the first volume, and convenience of volume adjustment can be improved.

Description

Volume adjusting method, device, terminal and storage medium
Technical Field
The embodiment of the invention relates to the technical field of intelligent terminal application, in particular to a volume adjusting method, a volume adjusting device, a terminal and a storage medium.
Background
With the development of mobile communication technology and the popularization of intelligent terminal devices, intelligent mobile terminals such as mobile phones have become an indispensable communication tool in people's life.
The sound in the mobile terminal includes incoming call ring, short message ring, system notification, application program notification, media sound, and the like. The volume of the sound is determined by the system volume of the mobile terminal, and after the user sets the volume in the system setting of the mobile terminal or adjusts the volume through a volume key, the volume of the sound played by the mobile terminal is not changed any more until the next time the user resets or adjusts the volume, which has many defects.
Disclosure of Invention
The embodiment of the invention provides a volume adjusting method, a volume adjusting device, a terminal and a storage medium, which can improve the convenience of volume adjustment.
In a first aspect, an embodiment of the present invention provides a volume adjustment method, where the method includes:
identifying biometric information input by a user;
acquiring attribute feature information of the current user according to the biological feature information;
determining a first volume corresponding to the attribute feature information according to a mapping table, wherein the mapping table comprises at least one volume mapping table corresponding to the attribute feature information;
and adjusting the output volume of the terminal equipment according to the first volume.
In a second aspect, an embodiment of the present invention further provides a volume adjustment device, where the volume adjustment device includes:
the biological characteristic information identification module is used for identifying biological characteristic information input by a user;
the attribute characteristic information acquisition module is used for acquiring the attribute characteristic information of the current user according to the biological characteristic information;
a first volume determining module, configured to determine a first volume corresponding to the attribute feature information according to a mapping table, where the mapping table includes a volume mapping table corresponding to at least one attribute feature information;
and the output volume adjusting module is used for adjusting the output volume of the terminal equipment according to the first volume.
In a third aspect, an embodiment of the present invention further provides a terminal, including a first memory, a first processor, and a computer program stored in the first memory and executable on the first processor, where the first processor implements the following steps when executing the computer program:
identifying biometric information input by a user;
acquiring attribute feature information of the current user according to the biological feature information;
determining a first volume corresponding to the attribute feature information according to a mapping table, wherein the mapping table comprises at least one volume mapping table corresponding to the attribute feature information;
and adjusting the output volume of the terminal equipment according to the first volume.
In a fourth aspect, an embodiment of the present invention further provides a storage medium having a computer program stored thereon, where the computer program is executed by a processor to implement the volume adjustment method according to the first aspect.
According to the embodiment of the invention, the biological characteristic information input by the user is firstly identified, the attribute characteristic information of the current user is obtained according to the biological characteristic information, the first volume corresponding to the attribute characteristic information is determined according to the mapping table, and finally the output volume of the terminal equipment is adjusted according to the first volume. In this embodiment, attribute feature information of the user is acquired according to the biometric feature information, the first volume is determined according to the attribute feature information, and the output volume is adjusted according to the first volume, so that convenience in volume adjustment can be improved.
Drawings
Fig. 1 is a flow chart of a volume adjustment method in an embodiment of the present invention;
fig. 2 is a flow chart of a volume adjustment method in an embodiment of the present invention;
fig. 3 is a flow chart of a volume adjustment method in an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a volume adjustment device in an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal in an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Fig. 1 is a flowchart of a volume adjustment method according to an embodiment of the present invention, where the embodiment is applicable to adjusting an output volume of a terminal device, and the method may be executed by a volume adjustment device, where the volume adjustment device may be a smart phone, a tablet computer, or the like. As shown in fig. 1, the method specifically includes the following steps:
at step 110, biometric information input by the user is identified.
The biometric information may be fingerprint information, iris information, facial feature information, or the like. Specifically, the process of identifying the biometric information input by the user may be that the user places a body part carrying the biometric information in a biometric information acquisition area of the terminal device, the terminal device acquires the biometric information, and analyzes the acquired biometric information to obtain the biometric information. Illustratively, when the biometric information is fingerprint information, a user puts a finger carrying preset fingerprint information into a fingerprint identification area of the terminal, the terminal device collects the fingerprint in the finger, and analyzes the collected fingerprint to obtain fingerprint information.
And step 120, acquiring attribute feature information of the current user according to the biological feature information.
Wherein the attribute feature information may include one or more of the following feature information: age information, heart rate information, gender information, occupation category information, and the like. The attribute characteristic information is pre-stored in the terminal device, and the terminal device pre-stores the heart rate information of the user in a mode that the wearable device (such as an intelligent bracelet) detects the heart rate value of the user in a preset time period and averages the heart rate value in the preset time period to serve as the heart rate information of the user. In the application scenario, the terminal device can be used by different users, the biological characteristic information of the different users is prestored in the terminal device and used for unlocking the terminal device, and then the attribute characteristic information of each user is prestored in the terminal device according to the biological characteristic information of the different users. For example, it is assumed that the terminal device can be unlocked and used by the user a, the user B, and the user C respectively using their respective biometric information, the terminal device prestores attribute feature information corresponding to the biometric information of the three users, and after the user a inputs the biometric information to unlock the terminal device, the terminal device obtains the attribute feature information of the user a according to the biometric information of the user a. The attribute feature information of the user B and the user C is acquired in a manner similar to that of the user a.
Step 130, determining a first volume corresponding to the attribute feature information according to a mapping table, where the mapping table includes at least one volume mapping table corresponding to the attribute feature information.
The mapping table includes a volume mapping table corresponding to at least one attribute feature information, which may be a mapping table established according to a corresponding relationship between the attribute feature information and the first volume. And aiming at different attribute characteristic information, the rules for establishing the mapping table are different. When the attribute feature information is age information, the rule for establishing the mapping table may be that the greater the age, the higher the corresponding first volume, because the sensitivity of the human ear to sound gradually decreases with the age. When the attribute feature information is heart rate information, a rule for establishing the mapping table may be that the higher the heart rate is, the smaller the corresponding first volume is, which is because a user with a high heart rate may have a poor heart, and the lower volume may reduce stimulation to the user. When the attribute information is job category information, the corresponding first volume can be set according to the office environment where the job category is located. When the attribute feature information is gender information, the mapping table may be established such that the first volume corresponding to the male is higher than the first volume corresponding to the female because the female is generally more sensitive to sound than the male. Illustratively, table 1 is a mapping table established for the correspondence between each attribute feature information and the first volume.
TABLE 1
Figure BDA0001382518160000041
The mapping table in table 1 includes first volumes corresponding to the four attribute feature information, respectively. Optionally, when the attribute feature information is age information, the corresponding first volume is searched for under the corresponding relationship between age and first volume in the mapping table. Illustratively, the age information of the current user is age 27, and the first volume corresponding to age 27 in the mapping table is 40%. Optionally, when the attribute feature information is heart rate information, the corresponding first volume is searched for under the corresponding relationship between the heart rate and the first volume in the mapping table. For example, assuming that the heart rate information of the current user is 85%, the corresponding first volume in the mapping table is 40%. Optionally, when the attribute feature information is job category information, the corresponding first volume is searched for under the correspondence between job and first volume in the mapping table. Illustratively, the professional category information of the current user is office category, and the corresponding first volume in the mapping table is 30%. Optionally, when the attribute feature information is gender information, the corresponding first volume is searched for under the correspondence of gender to the first volume in the mapping table. For example, assuming that the gender information of the current user is male, the corresponding first volume in the mapping table is 50%.
Optionally, the attribute feature information includes at least two of the following feature information: age information, heart rate information, gender information, and occupation category information. Specifically, second volumes corresponding to at least two attribute feature information are searched in the mapping table to obtain at least two second volumes, then the second volumes are determined according to weights corresponding to at least two first volumes, and finally the output volume of the terminal device is adjusted according to the second volumes.
And step 140, adjusting the output volume of the terminal device according to the first volume.
Specifically, the output volume of the terminal device may be adjusted according to the first volume in a manner that the output volume of the terminal device is directly adjusted to the first volume; or calculating a difference value between the first volume and a third volume, and judging whether the difference value exceeds a preset value, wherein the third volume is the current volume of the terminal equipment, and if the difference value does not exceed the preset value, adjusting the output volume of the terminal equipment to the first volume; and if the difference value exceeds the preset value, adjusting the output volume of the terminal equipment to be the average value of the first volume and the third volume.
Wherein the preset value can be set to any percentage between 10% and 20%. For example, assuming that the preset value is set to 10%, the acquired first volume is 60%, the current volume of the terminal device is 36%, the difference between the two is 24%, and is greater than 10%, the average value of the two volumes is 48%, and the output volume of the terminal device is taken as the output volume. This has the advantage that the output volume of the terminal device can be adjusted gently when the difference between the first volume and the current output volume is large.
Optionally, when the attribute feature information includes occupation category information, a working time period of the user is obtained, during the working time period, a first volume corresponding to the occupation category information is determined according to the mapping table, and finally, an output volume of the terminal device is adjusted according to the first volume. Specifically, the mode of obtaining the working time period of the user may be that the user sets the working time period in the terminal device according to the actual working time condition of the user, during the working time period, the output volume of the terminal device is adjusted according to the first volume corresponding to the occupation category information, and outside the working time period, the user may manually adjust the output volume, or adjust the output volume according to other attribute feature information. For example, assuming that the working environment corresponding to the professional category information of the user is very noisy, the output volume of the terminal device needs to be adjusted to be very high during working, so that the user can hear the sound of the terminal device, and when the user goes home, the environment at home is much quieter than the working environment, so that the terminal device does not need the output volume as high. Assuming that the working time period of the user is 10-20 o' clock and the professional category information is factory category, the output volume of the terminal device is adjusted to 80% in the working time period. This has the advantage that the output volume is adjusted according to the working period of the user, and the reliability of the volume adjustment can be increased.
Optionally, when the attribute feature information includes heart rate information, detecting current motion state information of the user, if the user is in a motion state, determining a first volume according to the motion state information, and adjusting an output volume of the terminal device according to the first volume. Specifically, the current operation state information of the user may be detected by a method in which a gravitational acceleration sensor in the wearable device obtains the motion state information of the user by analyzing the magnitude and direction of the gravitational acceleration. Illustratively, if the user is making a jumping motion, the direction of the gravitational acceleration is switched between upward and downward. In the application scenario, when the user is in a motion state, the heart rate is much higher than that in a quiet state, and at this time, the output volume of the terminal device cannot be adjusted according to the first volume corresponding to the heart rate information, but the output volume of the terminal device is adjusted according to the first volume determined by the motion state information. For example, when the user is in the exercise state, the corresponding first volume is 80%, and when the user is in the normal state, the corresponding first volume is 40%.
Optionally, after step 120, the method further includes:
step 150, determining whether the terminal device is in a low power mode.
The low-power mode may be that the residual power value of the terminal device is smaller than a preset power value, and the preset power value may be set to any value between 10% and 20%. The method for judging whether the terminal device is in the low power mode may be that a power management chip in the terminal device detects a current remaining power of the battery, compares the remaining power with a preset power value, and if the remaining power is less than the preset power value, the terminal device is in the low power mode. For example, assuming that the preset charge value is set to 15%, the power management chip detects that the current remaining charge of the battery is 13%, and the terminal device is in the low-charge mode.
Accordingly, step 140 may be implemented by:
and step 141, if the terminal device is in the low power mode, adjusting the output volume of the terminal device according to the volume corresponding to the low power mode and the first volume.
The volume for the low battery mode may be anywhere between 5% and 15%. After the terminal is in the low power mode, in order to prolong the service time of the terminal device in the low power mode, the volume corresponding to the low power mode is relatively low. In the low power mode, the output volume of the terminal device may be adjusted according to the volume corresponding to the low power mode and the first volume, for example, by increasing the weight occupied by the volume corresponding to the low power mode and decreasing the weight occupied by the first volume: the first volume may occupy a decimal between 0.1-0.2. Illustratively, the low battery mode corresponds to a volume of 10%, a weight of 0.85, a first volume of 40%, and a weight of 0.15, and the output volume has a value of 0.85 × 10% +0.15 × 40% ═ 14.5%.
According to the technical scheme of the embodiment, if the terminal device is in the low-power mode, the output volume of the terminal device is adjusted according to the volume corresponding to the low-power mode and the first volume. The service time of the terminal equipment in the low-power mode can be properly prolonged, and the reliability of volume adjustment can be improved.
Optionally, after step 120, the method further includes:
and step 160, obtaining the interest and hobby information of the user according to the history music playing record.
The interest and hobby information may be music type information preferred by the user, and may be a metal music type, a rock music type, a rap type (such as rap, hip-pop), a ballad type, or a light music. Specifically, the manner of obtaining the interest and taste information of the user according to the history music playing record may be to count the type of music that the user uses the terminal device to play historically in a preset time period, and use the music type information with the highest proportion as the interest and taste interest information of the user.
Accordingly, step 140 may also be implemented by:
and 142, determining the output volume of the terminal equipment according to the first volume and the volume corresponding to the interest information.
And after the interest and hobby information of the user is obtained, the corresponding volume is obtained according to the hobby information. Specifically, the output volume of the terminal device may be determined according to the first volume and the volume corresponding to the interest information, where the output volume is determined according to the weights corresponding to the first volume and the volume corresponding to the interest information. Illustratively, table 3 shows a relationship between the interest information and the volume.
TABLE 3
Information on interests and hobbies Metal music Rock music Speaking and singing type Balladry Light music
Volume of sound 90% 70% 50% 30% 10%
Assuming that the weight of the first volume is 0.3, the weight of the volume corresponding to the interest information is 0.7. The interest and taste information of the user is the type of favorite rap, the first volume is 60%, and the calculation formula of the output volume is 0.3 × 60% +0.7 × 50% ═ 48%.
According to the technical scheme of the embodiment, the output volume of the terminal equipment is determined according to the first volume and the volume corresponding to the interest information, so that the accuracy of volume adjustment can be improved.
According to the technical scheme of the embodiment, the biological characteristic information input by the user is firstly identified, the attribute characteristic information of the current user is obtained according to the biological characteristic information, the first volume corresponding to the attribute characteristic information is determined according to the mapping table, and finally the output volume of the terminal device is adjusted according to the first volume. In this embodiment, the attribute feature information of the user is acquired according to the biometric feature information, the first volume is determined according to the attribute feature information, and the output volume is adjusted according to the first volume, so that convenience in volume adjustment can be improved.
Fig. 2 is a flowchart of a volume adjustment method according to an embodiment of the present invention, where optionally, the attribute feature information includes at least two of the following feature information: age information, heart rate information, gender information, and occupation category information, as shown in fig. 2, the method includes:
in step 210, biometric information input by a user is identified.
And step 220, acquiring attribute feature information of the current user according to the biological feature information.
Step 230, finding the first volume corresponding to the at least two attribute feature information in the mapping table, and obtaining at least two first volumes.
When the attribute feature information comprises at least two pieces of feature information, first volumes corresponding to the at least two pieces of attribute feature information are searched in the mapping table, and the at least two first volumes are obtained. For example, assuming that the attribute feature information of a certain user is age 35 and heart rate 68, the first volume corresponding to the age information and the heart rate information is found in the mapping table to be 50% and 80%, respectively.
And 240, determining a second volume according to the weights respectively corresponding to the at least two first volumes.
Wherein the weight is a decimal greater than 0 and less than 1. The sum of the weights of the feature information in the attribute feature information is 1. Table 2 shows the weights of the attribute information when the attribute feature information includes age information, heart rate information, gender information, and occupation category information.
TABLE 2
Characteristic information Age information Heart rate information Professional category information Gender information
Weight of 0.4 0.2 0.3 0.1
When the attribute feature information only contains 2 or 3 pieces of feature information, the weights of other feature information are calculated by taking the feature information with small weight as a reference. For example, when the attribute feature information includes age information and gender information, the obtained weights are gender information 0.1 and age information 0.9, respectively, based on the weight of the gender information. When the attribute feature information contains age information, heart rate information and occupation category information, the weights obtained by taking the weights of the heart rate information and the occupation category information as a reference are respectively heart rate information 0.2, occupation category information 0.3 and age information 0.5. Illustratively, if the attribute feature information of a certain user is age 24, heart rate 82, and the occupation category is office class, the corresponding three first volumes are 40%, and 30%, respectively, and the calculation formula of the second volume is 0.5 × 40% +0.2 × 40% +0.3 × 30% + 37%, that is, the second volume is 37%.
And step 250, adjusting the output volume of the terminal equipment according to the second volume.
Specifically, the output volume of the terminal device may be adjusted according to the second volume in a manner that the output volume of the terminal device is directly adjusted to the second volume; or calculating a difference value between the second volume and a third volume, and judging whether the difference value exceeds a preset value, wherein the third volume is the current volume of the terminal equipment, and if the difference value does not exceed the preset value, adjusting the output volume of the terminal equipment to the second volume; and if the difference value exceeds the preset value, adjusting the output volume of the terminal equipment to be the average value of the second volume and the third volume.
According to the technical scheme of the embodiment, when the attribute characteristic information comprises at least two pieces of characteristic information, the first volume corresponding to the at least two pieces of attribute characteristic information is searched in the mapping table, the at least two first volumes are obtained, the second volume is determined according to the weights corresponding to the at least two first volumes, and the output volume of the terminal device is adjusted according to the second volume. The accuracy of volume adjustment can be improved.
Fig. 3 is a flowchart of a volume adjustment method according to an embodiment of the present invention, and as further explained in the foregoing embodiment, as shown in fig. 3, the method includes:
at step 310, biometric information input by the user is identified.
And step 320, acquiring attribute feature information of the current user according to the biological feature information.
Step 330, when the attribute feature information includes at least two pieces of feature information, searching for second volumes corresponding to the at least two pieces of attribute feature information in the mapping table, and obtaining at least two first volumes.
Step 340, determining a second volume according to the weights respectively corresponding to the at least two first volumes.
And step 350, acquiring interest and hobby information of the user according to the history music playing record.
And step 360, judging whether the terminal equipment is in a low power mode.
Step 370, if the terminal device is in the low power mode, adjusting the output volume of the terminal device according to the volume corresponding to the low power mode, the volume corresponding to the interest information, and the second volume.
And 380, if the terminal is in the normal electric quantity mode, adjusting the output volume of the terminal equipment according to the volume corresponding to the interest information and the second volume.
Fig. 4 is a schematic structural diagram of a volume adjustment device according to an embodiment of the present invention. As shown in fig. 4, the apparatus includes: a biometric information recognition module 410, an attribute feature information acquisition module 420, a first volume determination module 430, and an output volume adjustment module 440.
A biometric information recognition module 410 for recognizing biometric information input by a user;
an attribute feature information obtaining module 420, configured to obtain attribute feature information of the current user according to the biometric feature information;
a first volume determining module 430, configured to determine a first volume corresponding to the attribute feature information according to a mapping table, where the mapping table includes a volume mapping table corresponding to at least one attribute feature information;
and an output volume adjusting module 440, configured to adjust an output volume of the terminal device according to the first volume.
Optionally, the attribute feature information includes at least two of the following feature information: age information, heart rate information, gender information, and occupation category information;
searching first volumes respectively corresponding to at least two attribute feature information in a mapping table to obtain at least two first volumes;
the first volume determining module 430 is further configured to determine a second volume according to weights corresponding to the at least two first volumes, respectively;
the output volume adjusting module 440 is further configured to adjust the output volume of the terminal device according to the second volume.
Optionally, the method further includes:
the low-power mode judging module is used for judging whether the terminal equipment is in a low-power mode or not;
the output volume adjusting module 440 is further configured to, when the terminal device is in the low power mode, adjust the output volume of the terminal device according to the volume corresponding to the low power mode and the output volume of the first volume.
Optionally, when the attribute feature information includes job category information, acquiring a work time period of the user;
the first volume determining module 430 is further configured to determine, in the working period, a first volume corresponding to the occupation category information according to the mapping table;
and adjusting the output volume of the terminal equipment according to the first volume.
Optionally, when the attribute feature information includes heart rate information, detecting current exercise state information of the user;
the first volume determining module 430 is further configured to determine a first volume according to the motion state information if the user is in the motion state;
the output volume adjusting module 440 is further configured to adjust an output volume of the terminal device according to the first volume.
Optionally, the method further includes:
the interest and hobby information acquisition module is used for acquiring interest and hobby information of the user according to the history music playing record;
the output volume adjusting module 440 is further configured to determine the output volume of the terminal device according to the first volume and the volume corresponding to the interest information.
Optionally, the output volume adjusting module 440 is further configured to:
calculating a difference value between the first volume and a third volume, and judging whether the difference value exceeds a preset value, wherein the third volume is the current volume of the terminal equipment;
if the difference value does not exceed the preset value, adjusting the output volume of the terminal equipment to be a first volume;
and if the difference value exceeds the preset value, adjusting the output volume of the terminal equipment to be the average value of the first volume and the third volume.
Fig. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention, and as shown in fig. 5, the terminal may include: a housing (not shown), a first memory 601, a first Central Processing Unit (CPU) 602 (also called a first processor, hereinafter referred to as CPU), a computer program stored in the first memory 601 and operable on the first processor 602, a circuit board (not shown), and a power circuit (not shown). The circuit board is arranged in a space enclosed by the shell; the CPU602 and the first memory 601 are disposed on the circuit board; the power supply circuit is used for supplying power to each circuit or device of the terminal; the first memory 601, configured to store executable program codes; the CPU602 executes a program corresponding to the executable program code by reading the executable program code stored in the first memory 601, to perform:
identifying biometric information input by a user;
acquiring attribute feature information of a current user according to the biological feature information;
determining a first volume corresponding to the attribute feature information according to a mapping table, wherein the mapping table comprises at least one volume mapping table corresponding to the attribute feature information;
and adjusting the output volume of the terminal equipment according to the first volume.
The terminal further comprises: peripheral interfaces 603, RF (Radio Frequency) circuitry 605, audio circuitry 606, speakers 611, power management chip 608, input/output (I/O) subsystem 609, touch screen 612, other input/control devices 610, and external ports 604, which communicate via one or more communication buses or signal lines 607.
It should be understood that the illustrated terminal 600 is merely one example of a terminal and that the terminal 600 may have more or fewer components than shown in the figures, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The following describes in detail the terminal for volume adjustment provided in this embodiment, and the terminal is a smart phone as an example.
A first memory 601, said first memory 601 being accessible by the CPU602, the peripheral interface 603, etc., said first memory 601 may comprise a high speed random access first memory, and may further comprise a non-volatile first memory, such as one or more magnetic disk first storage devices, flash memory devices, or other volatile solid state first storage devices.
A peripheral interface 603, said peripheral interface 603 may connect input and output peripherals of the device to the CPU602 and the first memory 601.
An I/O subsystem 609, the I/O subsystem 609 may connect input and output peripherals on the device, such as a touch screen 612 and other input/control devices 610, to the peripheral interface 603. The I/O subsystem 609 may include a display controller 6091 and one or more input controllers 6092 for controlling other input/control devices 610. Where one or more input controllers 6092 receive electrical signals from or transmit electrical signals to other input/control devices 610, the other input/control devices 610 may include physical buttons (push buttons, rocker buttons, etc.), dials, slide switches, joysticks, click wheels. It is noted that the input controller 6092 may be connected to any one of: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
The touch screen 612 may be a resistive type, a capacitive type, an infrared type, or a surface acoustic wave type, according to the operating principle of the touch screen and the classification of media for transmitting information. Classified by the installation method, the touch screen 612 may be: external hanging, internal or integral. Classified according to technical principles, the touch screen 612 may be: a vector pressure sensing technology touch screen, a resistive technology touch screen, a capacitive technology touch screen, an infrared technology touch screen, or a surface acoustic wave technology touch screen.
A touch screen 612, which touch screen 612 is an input interface and an output interface between the user terminal and the user, displays visual output to the user, which may include graphics, text, icons, video, and the like. Optionally, the touch screen 612 sends an electrical signal (e.g., an electrical signal of the touch surface) triggered by the user on the touch screen to the first processor 602.
The display controller 6091 in the I/O subsystem 609 receives electrical signals from the touch screen 612 or transmits electrical signals to the touch screen 612. The touch screen 612 detects a contact on the touch screen, and the display controller 6091 converts the detected contact into an interaction with a user interface object displayed on the touch screen 612, that is, to implement a human-computer interaction, where the user interface object displayed on the touch screen 612 may be an icon for running a game, an icon networked to a corresponding network, or the like. It is worth mentioning that the device may also comprise a light mouse, which is a touch sensitive surface that does not show visual output, or an extension of the touch sensitive surface formed by the touch screen.
The RF circuit 605 is mainly used to establish communication between the smart speaker and a wireless network (i.e., a network side), and implement data reception and transmission between the smart speaker and the wireless network. Such as sending and receiving short messages, e-mails, etc.
The audio circuit 606 is mainly used to receive audio data from the peripheral interface 603, convert the audio data into an electric signal, and transmit the electric signal to the speaker 611.
The speaker 611 is used to restore the voice signal received by the smart speaker from the wireless network through the RF circuit 605 to sound and play the sound to the user.
And a power management chip 608 for supplying power and managing power to the hardware connected to the CPU602, the I/O subsystem, and the peripheral interface.
In this embodiment, the central first processor 602 is configured to:
identifying biometric information input by a user;
acquiring attribute feature information of the current user according to the biological feature information;
determining a first volume corresponding to the attribute feature information according to a mapping table, wherein the mapping table comprises at least one volume mapping table corresponding to the attribute feature information;
and adjusting the output volume of the terminal equipment according to the first volume.
Further, the attribute feature information includes at least two of the following feature information: age information, heart rate information, gender information, and occupation category information;
searching first volumes respectively corresponding to at least two attribute feature information in the mapping table to obtain at least two first volumes;
determining a second volume according to the weights respectively corresponding to the at least two first volumes;
and adjusting the output volume of the terminal equipment according to the second volume.
Further, after obtaining the attribute feature information of the current user according to the biometric information, the method further includes:
judging whether the terminal equipment is in a low-power mode or not;
and if the terminal equipment is in the low-power mode, adjusting the output volume of the terminal equipment according to the volume corresponding to the low-power mode and the first volume.
Further, when the attribute feature information comprises professional category information, acquiring a work time period of the user;
in the working time period, determining a first volume corresponding to the occupation category information according to a mapping table;
and adjusting the output volume of the terminal equipment according to the first volume.
Further, when the attribute feature information comprises heart rate information, detecting current motion state information of the user;
if the user is in a motion state, determining a first volume according to the motion state information;
and adjusting the output volume of the terminal equipment according to the first volume.
Further, after obtaining the attribute feature information of the current user according to the biometric information, the method further includes:
acquiring interest and hobby information of a user according to a history music playing record;
and determining the output volume of the terminal equipment according to the first volume and the volume corresponding to the interest information.
Further, the adjusting the output volume of the terminal device according to the first volume includes:
calculating a difference value between the first volume and a third volume, and judging whether the difference value exceeds a preset value, wherein the third volume is the current volume of the terminal equipment;
if the difference value does not exceed the preset value, adjusting the output volume of the terminal equipment to the first volume;
and if the difference exceeds the preset value, adjusting the output volume of the terminal equipment to be the average value of the first volume and the third volume.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, or the like, as well as conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The device can execute the methods provided by all the embodiments of the invention, and has corresponding functional modules and beneficial effects for executing the methods. For details not described in detail in this embodiment, reference may be made to the methods provided in all the foregoing embodiments of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (7)

1. A volume adjustment method executed by a terminal device, comprising:
identifying biometric information input by a user;
acquiring attribute feature information of the current user according to the biological feature information, wherein the attribute feature information comprises at least two of the following feature information: age information, heart rate information, gender information, and occupation category information;
searching first volume respectively corresponding to at least two attribute feature information in a mapping table to obtain at least two first volumes, wherein the mapping table comprises volume mapping tables corresponding to the at least two attribute feature information;
determining a second volume according to the weights respectively corresponding to the at least two first volumes;
and adjusting the output volume of the terminal equipment according to the second volume.
2. The volume adjustment method according to claim 1, further comprising, after acquiring attribute feature information of a current user from the biometric information:
judging whether the terminal equipment is in a low-power mode or not;
and if the terminal equipment is in the low-power mode, adjusting the output volume of the terminal equipment according to the volume corresponding to the low-power mode and the second volume.
3. The volume adjustment method according to claim 1, further comprising, after acquiring attribute feature information of a current user from the biometric information:
acquiring interest and hobby information of a user according to a history music playing record;
and determining the output volume of the terminal equipment according to the second volume and the volume corresponding to the interest information.
4. The volume adjustment method according to claim 1, wherein the adjusting the output volume of the terminal device according to the second volume comprises:
calculating a difference value between the second volume and a third volume, and judging whether the difference value exceeds a preset value, wherein the third volume is the current volume of the terminal equipment;
if the difference value does not exceed the preset value, adjusting the output volume of the terminal equipment to the second volume;
and if the difference exceeds the preset value, adjusting the output volume of the terminal equipment to be the average value of the second volume and the third volume.
5. A volume adjustment device, comprising:
the biological characteristic information identification module is used for identifying biological characteristic information input by a user;
an attribute feature information obtaining module, configured to obtain attribute feature information of a current user according to the biometric feature information, where the attribute feature information includes at least two of the following feature information: age information, heart rate information, gender information, and occupation category information;
the first volume determining module is used for searching first volumes corresponding to at least two attribute feature information in a mapping table to obtain at least two first volumes, wherein the mapping table comprises volume mapping tables corresponding to the at least two attribute feature information;
the second volume determining module is used for determining second volume according to the weights respectively corresponding to the at least two first volumes;
and the output volume adjusting module is used for adjusting the output volume of the terminal equipment according to the second volume.
6. A terminal comprising a first memory, a first processor and a computer program stored on the first memory and executable on the first processor, wherein the first processor when executing the computer program implements the steps of:
identifying biometric information input by a user;
acquiring attribute feature information of the current user according to the biological feature information, wherein the attribute feature information comprises at least two of the following feature information: age information, heart rate information, gender information, and occupation category information;
searching first volume respectively corresponding to at least two attribute feature information in a mapping table to obtain at least two first volumes, wherein the mapping table comprises volume mapping tables corresponding to the at least two attribute feature information;
determining a second volume according to the weights corresponding to the at least two first volumes respectively;
and adjusting the output volume of the terminal equipment according to the second volume.
7. A storage medium on which a computer program is stored, which program, when executed by a processor, carries out a volume adjustment method as claimed in any one of claims 1 to 4.
CN201710710421.7A 2017-08-18 2017-08-18 Volume adjusting method, device, terminal and storage medium Active CN107508979B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710710421.7A CN107508979B (en) 2017-08-18 2017-08-18 Volume adjusting method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710710421.7A CN107508979B (en) 2017-08-18 2017-08-18 Volume adjusting method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN107508979A CN107508979A (en) 2017-12-22
CN107508979B true CN107508979B (en) 2020-04-17

Family

ID=60691911

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710710421.7A Active CN107508979B (en) 2017-08-18 2017-08-18 Volume adjusting method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN107508979B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110581918B (en) * 2018-06-11 2022-10-25 佛山市顺德区美的电热电器制造有限公司 Voice equipment, control method thereof, server and computer storage medium
CN108989931B (en) 2018-06-19 2020-10-09 美特科技(苏州)有限公司 Hearing protection earphone, hearing protection method thereof and computer readable storage medium
CN108924687A (en) * 2018-07-05 2018-11-30 Oppo(重庆)智能科技有限公司 A kind of volume setting method and equipment and computer storage medium
CN110213682A (en) * 2019-06-27 2019-09-06 温州众智科技有限公司 A kind of intelligent sound

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8235043B2 (en) * 2007-12-06 2012-08-07 Artivent Corporation Volume adjustable manual ventilation device
CN105282345B (en) * 2015-11-23 2019-03-15 小米科技有限责任公司 The adjusting method and device of In Call
CN105739942A (en) * 2016-01-29 2016-07-06 深圳市金立通信设备有限公司 Volume adjusting method and terminal

Also Published As

Publication number Publication date
CN107508979A (en) 2017-12-22

Similar Documents

Publication Publication Date Title
US11355110B2 (en) Electronic device and method of performing functions of electronic devices by voice therebetween
US10169639B2 (en) Method for fingerprint template update and terminal device
CN107508979B (en) Volume adjusting method, device, terminal and storage medium
CN110377153B (en) Wearable device multi-mode system
US10866706B2 (en) Electronic device for displaying application and operating method thereof
CN108153463B (en) Application interface display control method and device, storage medium and mobile terminal
CN108062180B (en) Touch screen sensitivity control method and device, storage medium and mobile terminal
CN108255382B (en) Method and device for recommending floating menu content
CN107404753B (en) Volume adjusting method, device, terminal and storage medium
US10678942B2 (en) Information processing method and related products
CN106096360B (en) A kind of solution lock control method and terminal device
CN107995370B (en) Call control method, device, storage medium and mobile terminal
CN107465997A (en) Bluetooth connecting method, device, terminal and computer-readable recording medium
JP6742385B2 (en) Electronic device for measuring water content using display and method of operating electronic device
US20210383806A1 (en) User input processing method and electronic device supporting same
CN108632713B (en) Volume control method and device, storage medium and terminal equipment
CN110730948A (en) Volume adjusting method and device, storage medium and mobile terminal
CN108968962B (en) Exhaled gas detection method and device, storage medium and terminal equipment
CN116307394A (en) Product user experience scoring method, device, medium and equipment
US20200167016A1 (en) Electronic device and method of transmitting data by electronic device
US20170086127A1 (en) Apparatus and method for controlling outbound communication
CN108417208A (en) A kind of pronunciation inputting method and device
KR20210051423A (en) Electronic device for providing activity information of a user and method of operating the same
CN110430321A (en) To method, storage medium and the mobile terminal of incoming call user's remarks
US20230335257A1 (en) Electronic apparatus for providing coaching and operating method thereof

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
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant