CN107508979A - volume adjusting method, device, terminal and storage medium - Google Patents

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

Info

Publication number
CN107508979A
CN107508979A CN201710710421.7A CN201710710421A CN107508979A CN 107508979 A CN107508979 A CN 107508979A CN 201710710421 A CN201710710421 A CN 201710710421A CN 107508979 A CN107508979 A CN 107508979A
Authority
CN
China
Prior art keywords
volume
information
terminal device
user
attributive character
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.)
Granted
Application number
CN201710710421.7A
Other languages
Chinese (zh)
Other versions
CN107508979B (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

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

Landscapes

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

Abstract

The embodiment of the invention discloses a kind of volume adjusting method, device, terminal and storage medium.This method includes:Identify the biological information of user's input;The attributive character information of active user is obtained according to the biological information;The first volume corresponding to the attributive character information is determined according to mapping table, the mapping table includes volume mapping table corresponding at least one attributive character information;According to the output volume of the first volume adjusting terminal device.The volume adjusting method that the present embodiment provides, the attributive character information of user is obtained according to biological information, the first volume is then determined according to attributive character information, according to the first volume adjusting output volume, the convenience of volume adjusting can be improved.

Description

Volume adjusting method, device, terminal and storage medium
Technical field
The present embodiments relate to intelligent terminal applied technical field, more particularly to a kind of volume adjusting method, device, end End and storage medium.
Background technology
With the development of mobile communication technology and the popularization of intelligent terminal, intelligent mobile terminal such as mobile phone has become Indispensable means of communication in people's life.
Sound in mobile terminal, including incoming ring tone, ringing sound of text message, notifications, application notification and media sound Sound etc..The volume of these sound determines that user is entering the system of mobile terminal by the system sound volume of mobile terminal If after centering or being adjusted by volume key, the volume of the sound of mobile terminal playing no longer changes, until next time User resets or adjusted, and this regulation to volume has many defects.
The content of the invention
The embodiment of the present invention provides a kind of volume adjusting method, device, terminal and storage medium, can improve volume adjusting Convenience.
In a first aspect, the embodiments of the invention provide a kind of volume adjusting method, this method includes:
Identify the biological information of user's input;
The attributive character information of active user is obtained according to the biological information;
The first volume corresponding to the attributive character information is determined according to mapping table, the mapping table includes at least one category Property volume mapping table corresponding to characteristic information;
According to the output volume of the first volume adjusting terminal device.
Second aspect, the embodiment of the present invention additionally provide a kind of volume adjustment device, and the device includes:
Biological information identification module, for identifying the biological information of user's input;
Attributive character data obtaining module, the attributive character for obtaining active user according to the biological information are believed Breath;
First volume determining module, for determining the first volume corresponding to the attributive character information, institute according to mapping table Stating mapping table includes volume mapping table corresponding at least one attributive character information;
Output volume adjusting module, for the output volume according to the first volume adjusting terminal device.
The third aspect, the embodiment of the present invention additionally provide a kind of terminal, including first memory, first processor and storage On the first memory and the computer program that can be run on the first processor, the first processor perform institute Following steps are realized when stating computer program:
Identify the biological information of user's input;
The attributive character information of active user is obtained according to the biological information;
The first volume corresponding to the attributive character information is determined according to mapping table, the mapping table includes at least one category Property volume mapping table corresponding to characteristic information;
According to the output volume of the first volume adjusting terminal device.
Fourth aspect, the embodiment of the present invention additionally provide a kind of storage medium, are stored thereon with computer program, its feature It is, volume adjusting method as described in relation to the first aspect is realized when the program is executed by processor.
The embodiment of the present invention, the biological information of user's input is identified first, is then obtained according to biological information The attributive character information of active user, subsequently determine the first volume corresponding to attributive character information, last root according to mapping table According to the output volume of the first volume adjusting terminal device.In the present embodiment, the attribute that user is obtained according to biological information is special Reference ceases, and then determines the first volume according to attributive character information, according to the first volume adjusting output volume, can improve volume The convenience of regulation.
Brief description of the drawings
Fig. 1 is a kind of flow chart of volume adjusting method in the embodiment of the present invention;
Fig. 2 is a kind of flow chart of volume adjusting method in the embodiment of the present invention;
Fig. 3 is a kind of flow chart of volume adjusting method in the embodiment of the present invention;
Fig. 4 is a kind of structural representation of volume adjustment device in the embodiment of the present invention;
Fig. 5 is a kind of structural representation of terminal in the embodiment of the present invention.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that in order to just Part related to the present invention rather than entire infrastructure are illustrate only in description, accompanying drawing.
Fig. 1 is a kind of flow chart of volume adjusting method provided in an embodiment of the present invention, and the present embodiment was applicable to end The situation that the output volume of end equipment is adjusted, this method can be performed by volume adjustment device, and volume adjustment device can To be smart mobile phone, tablet personal computer etc..As shown in figure 1, this method specifically comprises the following steps:
Step 110, the biological information of user's input is identified.
Wherein, biological information can be finger print information, iris information or face feature information etc..Specifically, identification The process of the biological information of user's input can be that the body part for carrying biological information is put into terminal and set by user In standby collecting biological feature information region, terminal device collection biological characteristic, and the biological characteristic to collecting is analyzed Obtain biological information.Exemplary, when biological information is finger print information, user will carry preset fingerprint information Finger is put into the fingerprint recognition region of terminal, the fingerprint in terminal device collection finger, and the fingerprint to collecting divides Analysis obtains finger print information.
Step 120, the attributive character information of active user is obtained according to biological information.
Wherein, attributive character information can include one or more of following characteristics information:Age information, heart rate letter Breath, gender information and occupational group's information etc..Attributive character information is pre-stored in terminal device, terminal device prestored user heart rate The mode of information can detect heart rate value of the user in preset time period by wearable device (such as Intelligent bracelet), will be pre- The heart rate information as the user if the heart rate value in the period is averaged.Under this application scene, terminal device can be by not Same user uses, and the biological information for the different user that prestored in terminal device is used to unlock terminal device, then for not With the attributive character information for each user that prestored in the biological information terminal device of user.Exemplary, it is assumed that terminal is set It is standby respective biological information unblock is utilized respectively by user A, user B and user C to use, prestore three in terminal device Attributive character information corresponding to the biological information of individual user, after user A input biological information unblock terminal devices, Terminal device obtains user A attributive character information according to user A biological information.User B and user C attributive character The acquisition modes of information are similar with user A's.
Step 130, the first volume corresponding to attributive character information is determined according to mapping table, mapping table includes at least one category Property volume mapping table corresponding to characteristic information.
Wherein, mapping table includes volume mapping table corresponding at least one attributive character information, can be special according to attribute Reference ceases the mapping table established with the corresponding relation of the first volume.For different attributive character information, the rule of mapping table are established It is then different.When attribute characteristic information is age information, the rule for establishing mapping table can be that the age is bigger, corresponding first sound Amount is higher, because with advancing age, human ear can be reduced gradually to the susceptibility of sound.When attribute characteristic information is the heart During rate information, the rule for establishing mapping table can be that heart rate is higher, and corresponding first volume is smaller, and this is due to the high use of heart rate Family, possible heart are not fine, and amount of bass can reduce the stimulation to user., can when attribute information is occupational group's information With the first volume corresponding to the working environment setting according to where occupational group.When attribute characteristic information is gender information, mapping The foundation rule of table can be that the first volume corresponding to male is higher than the first volume corresponding to women, because normal conditions Under, women is higher than male to the susceptibility of sound.It is exemplary, table 1 be each attributive character information respectively with the first volume Corresponding relation establish mapping table.
Table 1
The mapping table of table 1 includes the first volume corresponding to four attributive character information difference.Optionally, attributive character is worked as When information is age information, then in the mapping table under the corresponding relation of the volume of age-first search corresponding to the first volume. Exemplary, the age information of active user is 27 years old, and the first volume corresponding to 27 years old is 40% in the mapping table.Optionally, When attribute characteristic information is heart rate information, then in the mapping table under the corresponding relation of the volume of heart rate-first corresponding to lookup First volume.Exemplary, it is assumed that the heart rate information of active user is 85, and corresponding first volume is 40% in the mapping table. Optionally, when attribute characteristic information is occupational group's information, then in the mapping table under the corresponding relation of professional-first volume First volume corresponding to lookup.Exemplary, occupational group's information of active user is office's class, corresponding in the mapping table First volume is 30%.Optionally, when attribute characteristic information is gender information, then the volume of sex-first in the mapping table First volume corresponding to being searched under corresponding relation.Exemplary, it is assumed that the gender information of active user is male, in the mapping table Corresponding first volume is 50%.
Optionally, attributive character information includes at least two of following characteristics information:Age information, heart rate information, sex Information and occupational group's information.Specifically, the second sound corresponding at least two attributive character information difference is searched in the mapping table Amount, at least two second volumes are obtained, then corresponding weight determines the second volume respectively according at least two first volumes, finally According to the output volume of the second volume adjusting terminal device.
Step 140, according to the output volume of the first volume adjusting terminal device.
Specifically, can be according to the mode of the output volume of the first volume adjusting terminal device, directly by terminal device Output volume adjusting be the first volume;Or the difference between the first volume of calculating and the 3rd volume, and judge whether difference surpasses Cross preset value, wherein, the 3rd volume be terminal device current volume, if difference not less than preset value, by terminal device Output volume adjusting is the first volume;It is the first volume by the output volume adjusting of terminal device if difference exceedes preset value With the average value of the 3rd volume.
Wherein, any percentage before preset value could be arranged to 10%-20%.Exemplary, it is assumed that preset value is set 10% is set to, the first volume got is 60%, and the current volume of terminal device is 36%, and difference between the two is 24%, more than 10%, then the output volume using the average value 48% of two volumes as terminal device.Advantage of this is that When the first volume and larger current output volume difference, the output volume of regulation terminal device that can be gently.
Optionally, when attribute characteristic information includes occupational group's information, the working time section of user is obtained, at work Between in section, the first volume corresponding to occupational group's information is determined according to mapping table, finally according to the first volume adjusting terminal device Output volume.Specifically, the mode for obtaining the working time section of user can be running time of the user according to itself Situation, working time section is set in terminal device, during the working time, according to the first volume corresponding to occupational group's information Adjust the output volume of terminal device, at work between outside section, the manually adjustable output volume of user, or according to other category Property characteristic information adjusting output volume.Exemplary, it is assumed that working environment corresponding to occupational group's information of user is very noisy, During operation, it is necessary to by the output volume adjusting of terminal device to very high, user can just hear the sound of terminal device, and After user comes home from work, the environment of family is quiet many compared with working environment, and terminal device no longer needs so high defeated Go out volume.Assuming that the working time section of user is 10. -20 points, occupational group's information is factory class, will be eventually within the period The output volume adjusting of end equipment is 80%.Advantage of this is that according to the working time section adjusting output volume of user, can Heighten the reliability of volume adjusting.
Optionally, when attribute characteristic information includes heart rate information, the current movement state information of detection user, if user It is kept in motion, then the first volume is determined according to movement state information, according to the output sound of the first volume adjusting terminal device Amount.Specifically, detecting the mode of the current running state information of user can be, the acceleration of gravity sensing in wearable device Device obtains the movement state information of user by analyzing size and the direction of acceleration of gravity.Exemplary, if user does The motion of jump, the direction of its acceleration of gravity switch between up and down.Under this application scene, when user is in motion shape During state, heart rate is high when can be than peace and quiet, now, it is impossible to according to the first volume adjusting terminal device corresponding to heart rate information Output volume, and the output volume for the first volume adjusting terminal device to be determined according to movement state information.For example, at user When motion state, corresponding first volume is 80%, and for user in normal condition, corresponding first volume is 40%.
Optionally, after step 120, in addition to:
Step 150, judge whether terminal device is in Low Power Mode.
Wherein, Low Power Mode can be that the residual electric quantity of terminal device is less than default charge value, and default charge value can To be arranged to the arbitrary value between 10%-20%.Judge whether the mode in Low Power Mode can be terminal to terminal device The current residual electricity of power management chip detection battery in equipment, by dump energy compared with default charge value, if remaining Electricity is less than default charge value, then terminal device is in Low Power Mode.Exemplary, it is assumed that default charge value is arranged to 15%, it is 13% that power management chip, which measures battery current residual electricity, then terminal device is in Low Power Mode.
Accordingly, step 140 can be implemented by following manner:
Step 141, if terminal device is in Low Power Mode, volume and the first volume according to corresponding to Low Power Mode Adjust the output volume of terminal device.
Volume corresponding to Low Power Mode can be the arbitrary value between 5%-15%.When terminal is under Low Power Mode Afterwards, in order to extend usage time of the terminal device in Low Power Mode, volume corresponding to Low Power Mode is relatively low.In low electricity Under amount pattern, the mode of the output volume of volume and the first volume adjusting terminal device according to corresponding to Low Power Mode can be with It is to improve the weight shared by volume corresponding to Low Power Mode, reduces the weight shared by the first volume, such as:First volume institute It can be the decimal between 0.1-0.2 to account for weight.Exemplary, volume corresponding to Low Power Mode is 10%, weight 0.85, First volume is 40%, and weight 0.15, then the value of output volume is 0.85*10%+0.15*40%=14.5%.
The technical scheme of the present embodiment, if terminal device is in Low Power Mode, the sound according to corresponding to Low Power Mode The output volume of amount and the first volume adjusting terminal device.Both can be suitably extend terminal device Low Power Mode use Time, volume adjusting reliability can be improved again.
Optionally, after step 120, in addition to:
Step 160, the hobby information of music record acquisition user is played according to history.
Wherein, hobby information can be the music type information that user likes, and can be metal music type, rock music Type, Chinese musical telling type (such as rap, hip-pop), folk rhyme type or light music.Specifically, music record is played according to history Obtaining the mode of the hobby information of user can be, counting user is played in preset time period using terminal device history Music belonging to type, the hobby interest information using proportion highest music type information as user.
Accordingly, step 140 can also be implemented by following manner:
Step 142, the volume according to corresponding to the first volume and hobby information determines the output volume of terminal device.
After the hobby information for obtaining user, its corresponding volume is obtained according to preference information.Specifically, according to Volume corresponding to one volume and hobby information determines that the mode of the output volume of terminal device can be, according to the first volume With hobby information corresponding to volume respective weights determine output volume respectively.It is exemplary, table 3 be hobby information with A kind of corresponding relation of volume.
Table 3
Hobby information Metal music Rock music Chinese musical telling type Folk rhyme Light music
Volume 90% 70% 50% 30% 10%
Assuming that the weight of the first volume is 0.3, then the weight of volume corresponding to hobby information is 0.7.User's is emerging Interesting preference information is likes type of talking and singing, and the first volume is 60%, then the calculation formula of output volume is 0.3*60%+0.7* 50%=48%.
The technical scheme of the present embodiment, terminal device is determined according to volume corresponding to the first volume and hobby information Output volume, the accuracy of volume adjusting can be improved.
The technical scheme of the present embodiment, the biological information of user's input is identified first, is then believed according to biological characteristic Breath obtains the attributive character information of active user, subsequently determines the first volume corresponding to attributive character information according to mapping table, Finally according to the output volume of the first volume adjusting terminal device.In the present embodiment, obtain user's according to biological information Attributive character information, the first volume is then determined according to attributive character information,, can be with according to the first volume adjusting output volume Improve the convenience of volume adjusting.
Fig. 2 is a kind of flow chart of volume adjusting method provided in an embodiment of the present invention, optionally, attributive character packet Include at least two of following characteristics information:Age information, heart rate information, gender information and occupational group's information, as shown in Fig. 2 This method includes:
Step 210, the biological information of user's input is identified.
Step 220, the attributive character information of active user is obtained according to biological information.
Step 230, the first volume corresponding to searching at least two attributive character information difference in the mapping table, is obtained at least Two the first volumes.
When attribute characteristic information includes at least two characteristic informations, at least two attributive character letter is searched in the mapping table First volume corresponding to breath difference, obtains at least two first volumes.Exemplary, it is assumed that the attributive character information of some user For 35 years old age, heart rate 68, then search in the mapping table age information and heart rate information respectively corresponding to the first volume be 50% With 80%.
Step 240, according at least two first volumes, corresponding weight determines the second volume respectively.
Wherein, weight is the decimal more than 0 less than 1.The weight sum of each characteristic information in attributive character information is 1.Table 2 is each attribute when attribute characteristic information includes age information, heart rate information, gender information and occupational group's information The weight of information.
Table 2
Characteristic information Age information Heart rate information Occupational group's information Gender information
Weight 0.4 0.2 0.3 0.1
When attribute characteristic information only includes wherein 2 or 3 characteristic informations, counted on the basis of the characteristic information small by weight Calculate the weight of other characteristic informations.For example, when including age information and gender information in attribute characteristic information, then believed with sex On the basis of the weight of breath, the weight of acquisition is respectively gender information 0.1, age information 0.9.When including year in attribute characteristic information When age information, heart rate information and occupational group's information, on the basis of the weight of heart rate information and occupational group's information, the power of acquisition It is respectively heart rate information 0.2, occupational group's information 0.3, age information 0.5 again.Exemplary, the attributive character information of certain user Be office's class for 24 years old age, heart rate 82, occupational group, then corresponding three the first volumes be respectively 40%, 40%, 30%, the calculation formula of the second volume is 0.5*40%+0.2*40%+0.3*30%=37%, i.e. the second volume is 37%.
Step 250, according to the output volume of the second volume adjusting terminal device.
Specifically, can be according to the mode of the output volume of the second volume adjusting terminal device, directly by terminal device Output volume adjusting be the second volume;Or the difference between the second volume of calculating and the 3rd volume, and judge whether difference surpasses Cross preset value, wherein, the 3rd volume be terminal device current volume, if difference not less than preset value, by terminal device Output volume adjusting is the second volume;It is the second volume by the output volume adjusting of terminal device if difference exceedes preset value With the average value of the 3rd volume.
The technical scheme of the present embodiment, when including at least two characteristic informations in attribute characteristic information, in the mapping table The first volume corresponding to searching at least two attributive character information difference is obtained, at least two first volumes are obtained, according at least Corresponding weight determines the second volume to two the first volumes respectively, according to the output volume of the second volume adjusting terminal device.Can To improve the accuracy of volume adjusting.
Fig. 3 is a kind of flow chart of volume adjusting method provided in an embodiment of the present invention, is entered as to above-described embodiment One step is explained, as shown in figure 3, this method includes:
Step 310, the biological information of user's input is identified.
Step 320, the attributive character information of active user is obtained according to biological information.
Step 330, when attribute at least two characteristic information of characteristic information, at least two attributes spy is searched in the mapping table Second volume corresponding to reference breath difference, obtains at least two first volumes.
Step 340, according at least two first volumes, corresponding weight determines the second volume respectively.
Step 350, the hobby information of music record acquisition user is played according to history.
Step 360, judge whether terminal device is in Low Power Mode.
Step 370, if terminal device is in Low Power Mode, volume, hobby according to corresponding to Low Power Mode The output volume of volume corresponding to information and the second volume adjusting terminal device.
Step 380, if terminal is in normal electricity pattern, according to volume corresponding to hobby information and the second volume Adjust the output volume of terminal device.
A kind of Fig. 4 structural representations of volume adjustment device provided in an embodiment of the present invention.As shown in figure 4, the device bag Include:Biological information identification module 410, attributive character data obtaining module 420, the first volume determining module 430 and output Volume adjusting module 440.
Biological information identification module 410, for identifying the biological information of user's input;
Attributive character data obtaining module 420, the attributive character for obtaining active user according to biological information are believed Breath;
First volume determining module 430, for determining the first volume corresponding to attributive character information according to mapping table, map Table includes volume mapping table corresponding at least one attributive character information;
Output volume adjusting module 440, for the output volume according to the first volume adjusting terminal device.
Optionally, attributive character information includes at least two of following characteristics information:Age information, heart rate information, sex Information and occupational group's information;
First volume corresponding to searching at least two attributive character information difference in the mapping table, obtains at least two first Volume;
First volume determining module 430, is additionally operable to that corresponding weight determines second respectively according at least two first volumes Volume;
Output volume adjusting module 440, it is additionally operable to the output volume according to the second volume adjusting terminal device.
Optionally, in addition to:
Low Power Mode judge module, for judging whether terminal device is in Low Power Mode;
Output volume adjusting module 440, it is additionally operable to when terminal device is in Low Power Mode, according to Low Power Mode pair The volume and the output volume of the first volume adjusting terminal device answered.
Optionally, when attribute characteristic information includes occupational group's information, the working time section of user is obtained;
First volume determining module 430, is additionally operable to during the working time, and occupational group's information pair is determined according to mapping table The first volume answered;
According to the output volume of the first volume adjusting terminal device.
Optionally, when attribute characteristic information includes heart rate information, the current movement state information of detection user;
First volume determining module 430, is kept in motion if being additionally operable to user, and is determined according to movement state information One volume;
Output volume adjusting module 440, it is additionally operable to the output volume according to the first volume adjusting terminal device.
Optionally, in addition to:
Hobby data obtaining module, the hobby information of music record acquisition user is played according to history;
Output volume adjusting module 440, it is additionally operable to the volume according to corresponding to the first volume and hobby information and determines eventually The output volume of end equipment.
Optionally, output volume adjusting module 440, it is additionally operable to:
The difference between the first volume and the 3rd volume is calculated, and judges whether difference exceedes preset value, wherein, the 3rd volume For the current volume of terminal device;
It is the first volume by the output volume adjusting of terminal device if difference is not less than preset value;
It is being averaged for the first volume and the 3rd volume by the output volume adjusting of terminal device if difference exceedes preset value Value.
Fig. 5 is a kind of structural representation of terminal provided in an embodiment of the present invention, as shown in figure 5, the terminal can include: Housing (not shown), first memory 601, the first central processing unit (Central Processing Unit, CPU) 602 (also known as first processor, hereinafter referred to as CPU), it is stored on first memory 601 and can be run on first processor 602 Computer program, circuit board (not shown) and power circuit (not shown).The circuit board is placed in the housing The interior volume surrounded;The CPU602 and the first memory 601 are arranged on the circuit board;The power circuit, For each circuit or the device power supply for the terminal;The first memory 601, for storing executable program code; The CPU602 is run and the executable journey by reading the executable program code stored in the first memory 601 Program corresponding to sequence code, for performing:
Identify the biological information of user's input;
The attributive character information of active user is obtained according to biological information;
The first volume corresponding to attributive character information is determined according to mapping table, mapping table is believed including at least one attributive character Volume mapping table corresponding to breath;
According to the output volume of the first volume adjusting terminal device.
The terminal also includes:Peripheral Interface 603, RF (Radio Frequency, radio frequency) circuit 605, voicefrequency circuit 606th, loudspeaker 611, power management chip 608, input/output (I/O) subsystem 609, touch-screen 612, other input/controls Equipment 610 and outside port 604, these parts are communicated by one or more communication bus or signal wire 607.
It should be understood that graphic terminal 600 is only an example of terminal, and terminal 600 can have than figure Shown in more or less parts, two or more parts can be combined, or can have different portions Part configures.Various parts shown in figure can be including one or more signal transactings and/or application specific integrated circuit Hardware, software or hardware and software combination in realize.
The terminal for volume adjusting provided below with regard to the present embodiment is described in detail, and the terminal is with smart mobile phone Exemplified by.
First memory 601, the first memory 601 can be accessed by CPU602, Peripheral Interface 603 etc., and described One memory 601 can include high random access first memory, can also include non-volatile first memories, such as one Individual or multiple disk first memory parts, flush memory device or other volatile solid-state first memory parts.
The input of equipment and output peripheral hardware can be connected to CPU602 and the by Peripheral Interface 603, the Peripheral Interface 603 One memory 601.
I/O subsystems 609, the I/O subsystems 609 can be by the input/output peripherals in equipment, such as touch-screen 612 With other input/control devicess 610, Peripheral Interface 603 is connected to.I/O subsystems 609 can include the He of display controller 6091 For controlling one or more input controllers 6092 of other input/control devicess 610.Wherein, one or more input controls Device 6092 processed receives electric signal from other input/control devicess 610 or sends electric signal to other input/control devicess 610, Other input/control devicess 610 can include physical button (pressing button, rocker buttons etc.), dial, slide switch, behaviour Vertical pole, click on roller.What deserves to be explained is input controller 6092 can with it is following any one be connected:Keyboard, infrared port, The instruction equipment of USB interface and such as mouse.
Wherein, according to touch-screen operation principle and transmission information medium classification, touch-screen 612 can be resistance-type, Capacitor induction type, infrared-type or surface acoustic wave type.Classify according to mounting means, touch-screen 612 can be:It is external hanging type, built-in Formula or monoblock type.Classify according to technical principle, touch-screen 612 can be:Vector pressure sensing technology touch-screen, resistive technologies are touched Touch screen, capacitance technology touch-screen, infrared technology touch-screen or surface acoustic wave technique touch-screen.
Touch-screen 612, the touch-screen 612 are the input interface and output interface between user terminal and user, can It can include figure, text, icon, video etc. to user, visual output depending on output display.Optionally, touch-screen 612 is by user The electric signal (electric signal of such as contact surface) triggered on touch screen curtain, is sent to first processor 602.
Display controller 6091 in I/O subsystems 609 receives electric signal from touch-screen 612 or sent out to touch-screen 612 Electric signals.Touch-screen 612 detects the contact on touch-screen, and the contact detected is converted to and shown by display controller 6091 The interaction of user interface object on touch-screen 612, that is, realize man-machine interaction, the user interface being shown on touch-screen 612 Icon that object can be the icon of running game, be networked to corresponding network etc..What deserves to be explained is equipment can also include light Mouse, light mouse is not show the touch sensitive surface visually exported, or the extension of the touch sensitive surface formed by touch-screen.
RF circuits 605, it is mainly used in establishing the communication of intelligent sound box and wireless network (i.e. network side), realizes intelligent sound box Data receiver and transmission with wireless network.Such as transmitting-receiving short message, Email etc..
Voicefrequency circuit 606, it is mainly used in receiving voice data from Peripheral Interface 603, the voice data is converted into telecommunications Number, and the electric signal is sent to loudspeaker 611.
Loudspeaker 611, for the voice signal for receiving intelligent sound box from wireless network by RF circuits 605, it is reduced to Sound simultaneously plays the sound to user.
Power management chip 608, the hardware for being connected by CPU602, I/O subsystem and Peripheral Interface are powered And power management.
In the present embodiment, central first processor 602 is used for:
Identify the biological information of user's input;
The attributive character information of active user is obtained according to the biological information;
The first volume corresponding to the attributive character information is determined according to mapping table, the mapping table includes at least one category Property volume mapping table corresponding to characteristic information;
According to the output volume of the first volume adjusting terminal device.
Further, the attributive character information includes at least two of following characteristics information:Age information, heart rate letter Breath, gender information and occupational group's information;
First volume corresponding at least two attributive character information difference is searched in the mapping table, obtains at least two First volume;
According at least two first volume, corresponding weight determines the second volume respectively;
According to the output volume of the second volume adjusting terminal device.
Further, after the attributive character information of active user is obtained according to the biological information, in addition to:
Judge whether terminal device is in Low Power Mode;
If terminal device is in Low Power Mode, volume and first volume adjusting according to corresponding to Low Power Mode The output volume of terminal device.
Further, when the attributive character information includes occupational group's information, the working time section of user is obtained;
In the working time section, the first volume corresponding to occupational group's information is determined according to mapping table;
According to the output volume of the first volume adjusting terminal device.
Further, when the attributive character information includes heart rate information, the current movement state information of detection user;
If user is kept in motion, the first volume is determined according to movement state information;
According to the output volume of the first volume adjusting terminal device.
Further, after the attributive character information of active user is obtained according to the biological information, in addition to:
The hobby information of music record acquisition user is played according to history;
The output volume of terminal device is determined according to volume corresponding to first volume and the hobby information.
Further, the output volume according to the first volume adjusting terminal device, including:
The difference between first volume and the 3rd volume is calculated, and judges whether the difference exceedes preset value, wherein, 3rd volume is the current volume of terminal device;
It is first volume by the output volume adjusting of terminal device if the difference is not less than the preset value;
It is first volume and institute by the output volume adjusting of terminal device if the difference exceedes the preset value State the average value of the 3rd volume.
The computer-readable storage medium of the embodiment of the present invention, any of one or more computer-readable media can be used Combination.Computer-readable medium can be computer-readable signal media or computer-readable recording medium.It is computer-readable Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or Device, or any combination above.The more specifically example (non exhaustive list) of computer-readable recording medium includes:Tool There are the electrical connections of one or more wires, portable computer diskette, hard disk, random access memory (RAM), read-only storage (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only storage (CD- ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage Medium can be any includes or the tangible medium of storage program, the program can be commanded execution system, device or device Using or it is in connection.
Computer-readable signal media can include in a base band or as carrier wave a part propagation data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium beyond storage medium is read, the computer-readable medium, which can send, propagates or transmit, to be used for By instruction execution system, device either device use or program in connection.
The program code included on computer-readable medium can be transmitted with any appropriate medium, including --- but it is unlimited In wireless, electric wire, optical cable, RF etc., or above-mentioned any appropriate combination.
It can be write with one or more programming languages or its combination for performing the computer that operates of the present invention Program code, programming language include object oriented program language-such as Java, Smalltalk, C++, also wrapped Include conventional procedural programming language-such as " C " language or similar programming language.Program code can be complete Ground is performed, partly performed on the user computer on the user computer, the software kit independent as one performs, partly existed Subscriber computer upper part is performed or performed completely on remote computer or server on the remote computer.It is being related to In the situation of remote computer, remote computer can pass through the network of any kind --- including LAN (LAN) or wide area Net (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as utilize ISP To pass through Internet connection).
The method that the executable foregoing all embodiments of the present invention of said apparatus are provided, it is corresponding to possess the execution above method Functional module and beneficial effect.Not ins and outs of detailed description in the present embodiment, reference can be made to the foregoing all implementations of the present invention The method that example is provided.
Pay attention to, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

  1. A kind of 1. volume adjusting method, it is characterised in that including:
    Identify the biological information of user's input;
    The attributive character information of active user is obtained according to the biological information;
    The first volume corresponding to the attributive character information is determined according to mapping table, it is special that the mapping table includes at least one attribute Volume mapping table corresponding to reference breath;
    According to the output volume of the first volume adjusting terminal device.
  2. 2. volume adjusting method according to claim 1, it is characterised in that the attributive character information includes following characteristics At least two of information:Age information, heart rate information, gender information and occupational group's information;
    First volume corresponding at least two attributive character information difference is searched in the mapping table, obtains at least two first Volume;
    According at least two first volume, corresponding weight determines the second volume respectively;
    According to the output volume of the second volume adjusting terminal device.
  3. 3. volume adjusting method according to claim 1, it is characterised in that work as being obtained according to the biological information After the attributive character information of preceding user, in addition to:
    Judge whether terminal device is in Low Power Mode;
    If terminal device is in Low Power Mode, volume and the first volume adjusting terminal according to corresponding to Low Power Mode The output volume of equipment.
  4. 4. volume adjusting method according to claim 2, it is characterised in that when the attributive character information includes professional class During other information, the working time section of user is obtained;
    In the working time section, the first volume corresponding to occupational group's information is determined according to mapping table;
    According to the output volume of the first volume adjusting terminal device.
  5. 5. volume adjusting method according to claim 2, it is characterised in that when the attributive character information is believed including heart rate During breath, the current movement state information of detection user;
    If user is kept in motion, the first volume is determined according to movement state information;
    According to the output volume of the first volume adjusting terminal device.
  6. 6. volume adjusting method according to claim 1, it is characterised in that work as being obtained according to the biological information After the attributive character information of preceding user, in addition to:
    The hobby information of music record acquisition user is played according to history;
    The output volume of terminal device is determined according to volume corresponding to first volume and the hobby information.
  7. 7. volume adjusting method according to claim 1, it is characterised in that described according to the first volume adjusting terminal The output volume of equipment, including:
    The difference between first volume and the 3rd volume is calculated, and judges whether the difference exceedes preset value, wherein, the 3rd Volume is the current volume of terminal device;
    It is first volume by the output volume adjusting of terminal device if the difference is not less than the preset value;
    It is first volume and described the by the output volume adjusting of terminal device if the difference exceedes the preset value The average value of three volumes.
  8. A kind of 8. volume adjustment device, it is characterised in that including:
    Biological information identification module, for identifying the biological information of user's input;
    Attributive character data obtaining module, for obtaining the attributive character information of active user according to the biological information;
    First volume determining module, it is described to reflect for determining the first volume corresponding to the attributive character information according to mapping table Firing table includes volume mapping table corresponding at least one attributive character information;
    Output volume adjusting module, for the output volume according to the first volume adjusting terminal device.
  9. 9. a kind of terminal, including first memory, first processor and it is stored on the first memory and can be described The computer program run on one processor, it is characterised in that the first processor is realized when performing the computer program Following steps:
    Identify the biological information of user's input;
    The attributive character information of active user is obtained according to the biological information;
    The first volume corresponding to the attributive character information is determined according to mapping table, it is special that the mapping table includes at least one attribute Volume mapping table corresponding to reference breath;
    According to the output volume of the first volume adjusting terminal device.
  10. 10. a kind of storage medium, is stored thereon with computer program, it is characterised in that the program is realized when being executed by processor Volume adjusting method as described in any in claim 1-7.
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 true CN107508979A (en) 2017-12-22
CN107508979B 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)

Cited By (4)

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

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130125894A1 (en) * 2005-06-06 2013-05-23 Artivent Corporation Volume-adjustable manual ventilation device
CN105282345A (en) * 2015-11-23 2016-01-27 小米科技有限责任公司 Method and device for regulation of conversation volume
CN105739942A (en) * 2016-01-29 2016-07-06 深圳市金立通信设备有限公司 Volume adjusting method and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130125894A1 (en) * 2005-06-06 2013-05-23 Artivent Corporation Volume-adjustable manual ventilation device
CN105282345A (en) * 2015-11-23 2016-01-27 小米科技有限责任公司 Method and device for regulation of conversation volume
CN105739942A (en) * 2016-01-29 2016-07-06 深圳市金立通信设备有限公司 Volume adjusting method and terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110581918A (en) * 2018-06-11 2019-12-17 佛山市顺德区美的电热电器制造有限公司 Voice equipment, control method thereof, server and computer storage medium
CN108989931A (en) * 2018-06-19 2018-12-11 美特科技(苏州)有限公司 Hearing-protection earphone and its method for protecting hearing ability, computer program memory medium
US10674247B2 (en) 2018-06-19 2020-06-02 Merry Electronics (Suzhou) Co., Ltd. Hearing protection earphone, hearing protection method and computer program storage medium for the same
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

Also Published As

Publication number Publication date
CN107508979B (en) 2020-04-17

Similar Documents

Publication Publication Date Title
CN107508979A (en) volume adjusting method, device, terminal and storage medium
KR20160015727A (en) Method and apparatus for visualizing music information
CN107404753A (en) Volume adjusting method, device, terminal and storage medium
CN109005480A (en) Information processing method and related product
CN109218535A (en) Intelligence adjusts method, apparatus, storage medium and the terminal of volume
CN106096360B (en) A kind of solution lock control method and terminal device
CN106776385A (en) A kind of transmission method of daily record log information, device and terminal
CN108156594A (en) A kind of method and terminal for realizing virtual card
CN109982228A (en) A kind of microphone fault detection method and mobile terminal
CN107402625A (en) Touch screen scanning method, device, terminal and computer-readable recording medium
CN107193527A (en) A kind of audio control method, terminal and computer-readable recording medium
CN108268763A (en) terminal control method, device, storage medium and terminal
CN107172258A (en) A kind of method, device, terminal and storage medium for preserving associated person information
CN108681474A (en) Using preloading method, apparatus, storage medium and terminal
CN106960530A (en) Alarm method, device and terminal based on vital sign parameter
CN107508983A (en) volume adjusting method, device, storage medium and terminal device
CN108492837A (en) Detection method, device and the storage medium of audio burst white noise
CN108234738A (en) volume adjusting method, device, terminal and storage medium
CN108960213A (en) Method for tracking target, device, storage medium and terminal
CN108668018A (en) Mobile terminal, method for controlling volume and Related product
CN111341317B (en) Method, device, electronic equipment and medium for evaluating wake-up audio data
CN107422978A (en) gesture unlocking method, device, terminal and storage medium
CN107493339A (en) Information-pushing method, device, terminal and computer-readable recording medium
CN108632713B (en) Volume control method and device, storage medium and terminal equipment
CN108968962A (en) Exhaled gas detection method, device, storage medium and terminal device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
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.

GR01 Patent grant
GR01 Patent grant