CN109819118A - A kind of volume adjusting method and mobile terminal - Google Patents

A kind of volume adjusting method and mobile terminal Download PDF

Info

Publication number
CN109819118A
CN109819118A CN201910253181.1A CN201910253181A CN109819118A CN 109819118 A CN109819118 A CN 109819118A CN 201910253181 A CN201910253181 A CN 201910253181A CN 109819118 A CN109819118 A CN 109819118A
Authority
CN
China
Prior art keywords
acoustic impedance
loudspeaker
volume
audio
mobile terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910253181.1A
Other languages
Chinese (zh)
Other versions
CN109819118B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910253181.1A priority Critical patent/CN109819118B/en
Publication of CN109819118A publication Critical patent/CN109819118A/en
Application granted granted Critical
Publication of CN109819118B publication Critical patent/CN109819118B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The present invention provides a kind of volume adjusting method and mobile terminals, which comprises when the loudspeaker of mobile terminal plays audio, determines the acoustic impedance parameter of loudspeaker;In the case where acoustic impedance parameter changes, the volume that loudspeaker plays audio is adjusted.Variation of the invention according to the acoustic impedance parameter of loudspeaker, automatic adjustment loudspeaker plays the volume of audio, convenient and efficient, and carrying out control to volume key without user can be realized the adjusting of volume, enhances the operability of user, promotes the usage experience of user.

Description

A kind of volume adjusting method and mobile terminal
Technical field
The present invention relates to technical field of mobile terminals, more particularly to a kind of volume adjusting method and mobile terminal.
Background technique
Now with the high speed development of science and technology, mobile terminal becomes essential tool in people's daily life, people Play game using mobile terminal, play music, communicated, alarm clock is set etc..
When user plays music using music application program, when not needing music, manual multiple point is needed Volume key is hit, to adjust the size of the volume of currently playing song, or when playing video, needs user manually to volume key It is repeatedly clicked, to adjust the volume of current mobile terminal.
As it can be seen that it is above-mentioned excessively cumbersome to the mode of volume adjustment, influence the usage experience of user.
Summary of the invention
The embodiment of the present invention provides a kind of volume adjusting method and mobile terminal, to solve volume adjustment side in the prior art The excessively cumbersome problem of formula.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, the embodiment of the invention provides a kind of volume adjusting methods, which comprises when described mobile whole When the loudspeaker at end plays audio, the acoustic impedance parameter of the loudspeaker is determined;In the changed feelings of the acoustic impedance parameter Under condition, the volume that the loudspeaker plays audio is adjusted.
Second aspect, the embodiment of the invention also provides a kind of mobile terminal, the mobile terminal comprises determining that module, For determining the acoustic impedance parameter of the loudspeaker when the loudspeaker of the mobile terminal plays audio;Control module is used for In the case where the acoustic impedance parameter changes, the volume that the loudspeaker plays audio is adjusted.
The third aspect the embodiment of the invention also provides a kind of mobile terminal, including processor, memory and is stored in institute The computer program that can be run on memory and on the processor is stated, when the computer program is executed by the processor The step of realizing the volume adjusting method.
Fourth aspect, it is described computer-readable to deposit the embodiment of the invention also provides a kind of computer readable storage medium Computer program is stored on storage media, and the step of the volume adjusting method is realized when the computer program is executed by processor Suddenly.
In embodiments of the present invention, when the loudspeaker of mobile terminal plays audio, the acoustic impedance parameter of loudspeaker is determined; In the case where acoustic impedance parameter changes, the volume that loudspeaker plays audio, foundation are adjusted based on acoustic impedance parameter The variation of the acoustic impedance parameter of loudspeaker, automatic adjustment loudspeaker plays the volume of audio, convenient and efficient, is not necessarily to user couple Volume key is controlled, and the adjusting of volume can be realized, and enhances the operability of user, promotes the usage experience of user.
Detailed description of the invention
Fig. 1 is a kind of step flow chart of volume adjusting method of the embodiment of the present invention one;
Fig. 2 is a kind of step flow chart of volume adjusting method of the embodiment of the present invention two;
Fig. 3 is a kind of step flow chart of volume adjusting method of the embodiment of the present invention three;
Fig. 4 is a kind of structural block diagram of mobile terminal of the embodiment of the present invention three;
Fig. 5 is a kind of structural block diagram of mobile terminal of the embodiment of the present invention four;
Fig. 6 is a kind of hardware structural diagram of mobile terminal of the embodiment of the present invention five.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Embodiment one
Referring to Fig.1, a kind of step flow chart of volume adjusting method of the embodiment of the present invention one is shown.
Volume adjusting method provided in an embodiment of the present invention the following steps are included:
Step 101: when the loudspeaker of mobile terminal plays audio, determining the acoustic impedance parameter of loudspeaker.
Such as: when user is using playing music by mobile terminal, broadcasting video, incoming ring tone, voice communication, mobile terminal Loudspeaker can all play audio, in above-mentioned several scenes, determine the acoustic impedance parameter of loudspeaker.
Acoustic impedance refers to the plural number of acoustic pressure of the medium on some area of wave surface with the volume velocity by this area Ratio.Unit is sound Europe, when consideration be lumped impedance rather than distribution impedance when, the acoustic impedance of certain a part of medium is exactly to drive Move the acoustic pressure difference of this part medium and the plural ratio of volume velocity.The real part of acoustic impedance often claims " acoustic resistance ", and imaginary part is known as " sound It is anti-.
Step 102: in the case where acoustic impedance parameter changes, adjusting the volume that loudspeaker plays audio.
Whether the acoustic impedance parameter of real-time detection loudspeaker changes, such as: when user to the generation hole of loudspeaker into When row touch control operation, then the play parameter of loudspeaker can be changed due to the touch control operation of user.
It should be noted that touch control operation can be for user to the pressing operation in the generation hole of loudspeaker, to loudspeaker Block, partly block operation etc., the embodiment of the present invention is not specifically limited this.
When the acoustic impedance parameter for detecting loudspeaker changes, then the volume of audio is adjusted, is reduced with realizing Volume plays or improves volume and plays.
In addition to detecting that the acoustic impedance parameter of loudspeaker changes, except the volume for adjusting audio, can also lead to The broadcasting etc. closed the corresponding application program of audio or suspend audio is realized in the variation for crossing acoustic impedance parameter.
It, can be to view when acoustic impedance parameter changes when the corresponding application program of audio is video or music Perhaps music pause is played or is closed to video or the corresponding application program of music frequency.
When the loudspeaker of mobile terminal plays audio, the acoustic impedance parameter of loudspeaker is determined;Occur in acoustic impedance parameter In the case where variation, the volume that loudspeaker plays audio is adjusted based on acoustic impedance parameter, the acoustic impedance according to loudspeaker is joined Several variations, automatic adjustment loudspeaker plays the volume of audio, convenient and efficient, controls without user volume key, The adjusting that volume can be realized enhances the operability of user, promotes the usage experience of user.
Embodiment two
Referring to Fig. 2, a kind of step flow chart of volume adjusting method of the embodiment of the present invention two is shown.
Volume adjusting method provided in an embodiment of the present invention the following steps are included:
Step 201: when the loudspeaker of mobile terminal plays audio, determining the acoustic impedance parameter of loudspeaker.
Such as: when user is using playing music by mobile terminal, broadcasting video, incoming ring tone, voice communication, mobile terminal Loudspeaker can all play audio, in above-mentioned several scenes, determine the acoustic impedance parameter of loudspeaker.
Step 202: the first acoustic impedance is compared with the second acoustic impedance.
Wherein, the first acoustic impedance is the acoustic impedance that this current time detects, the second acoustic impedance is the preceding primary of this current time The acoustic impedance detected.
Current first acoustic impedance and the second acoustic impedance are detected, according to the size of the first acoustic impedance and the second acoustic impedance, is determined Whether acoustic impedance parameter changes.
Step 203: in the case where the first acoustic impedance is greater than the second acoustic impedance, loudspeaker being played to the volume tune of audio It is small.
When the first acoustic impedance is greater than the second acoustic impedance, then show that acoustic impedance parameter changes, at this point, loudspeaker is broadcast The volume of playback frequency is turned down, and in the case where the first acoustic impedance is less than the second acoustic impedance, loudspeaker is played to the volume tune of audio Greatly.It except through the variation of acoustic impedance, adjusts other than volume, it is corresponding audio can also to be controlled by the variation of acoustic impedance The closing of application program.Such as: in the case where the first acoustic impedance is greater than the second acoustic impedance, it is corresponding using journey that audio will be played Sequence is closed.When being greater than the second acoustic impedance for the first acoustic impedance, closes and play the corresponding application program of audio, specific implementation It is not particularly limited, can be configured according to the demand of user.
Such as: when user carries out touch control operation to the vocal hole of loudspeaker, then the acoustic impedance of loudspeaker can be due to user Touch control operation changes, then adjusts the volume of audio or close the corresponding application program of broadcasting audio.
In addition to above-mentioned implementation, broadcasting for the corresponding application program of audio can also be controlled by the variation of acoustic impedance It puts state or when the corresponding application program of audio is system telephone, controls whether incoming call answering, such as: when audio is corresponding When application program is video or music, block the vocal hole of loudspeaker completely, acoustic impedance changes, can to video or Music carries out mute broadcasting, either plays to video or music pause.
When the corresponding application program of audio is system telephone, such as when receiving incoming call requests, the loudspeaking of mobile terminal Device plays the jingle bell of incoming call requests, by blocking loudspeaker vocal hole, so that the first acoustic impedance occurs compared to the second acoustic impedance Variation, then by jingle bell it is mute broadcasting or hang up the telephone.When the first acoustic impedance changes compared to the second acoustic impedance, Yong Huke To be set in advance as mute or refusal operation.
It, can also be by blocking the sounding of loudspeaker completely when the corresponding application program of audio is game application Game application is then carried out mute broadcasting or pass so that the first acoustic impedance changes compared to the second acoustic impedance by hole Close game application.Or the vocal hole of loudspeaker is blocked in part, so that the first acoustic impedance occurs compared to the second acoustic impedance Variation reduces the sound of game application.
It should be noted that closing the corresponding application program of audio, the corresponding application program of audio can be transported on backstage Row or the process for terminating application program.
Step 204: after prefixed time interval, determining the first acoustic impedance parameter of loudspeaker.
It should be noted that those skilled in the art can according to the actual situation be configured prefixed time interval, In, prefixed time interval can be 2s, 5s etc., and the embodiment of the present invention is not specifically limited this.
Step 205: in the case where the first acoustic impedance parameter changes, adjusting loudspeaker and play giving great volume for audio It is small.
By step 204 and step 205, realizes and dynamic detection is carried out to the acoustic impedance parameter of loudspeaker, with dynamic to sound The volume of frequency is adjusted.
When the loudspeaker of mobile terminal plays audio, the acoustic impedance parameter of loudspeaker is determined;Occur in acoustic impedance parameter In the case where variation, the volume that loudspeaker plays audio is adjusted based on acoustic impedance parameter, the acoustic impedance according to loudspeaker is joined Several variations, automatic adjustment loudspeaker plays the volume of audio, convenient and efficient, is controlled i.e. without user volume key The adjusting that volume can be achieved, enhances the operability of user, promotes the usage experience of user.
Embodiment three
Referring to Fig. 3, a kind of step flow chart of volume adjusting method of the embodiment of the present invention three is shown.
Volume adjusting method provided in an embodiment of the present invention the following steps are included:
Step 301: when the loudspeaker of mobile terminal plays audio, determining the acoustic impedance parameter of loudspeaker.
Such as: when user is using playing music by mobile terminal, broadcasting video, incoming ring tone, voice communication, mobile terminal Loudspeaker can all play audio, in above-mentioned several scenes, determine the acoustic impedance parameter of loudspeaker.
Step 302: when the first acoustic impedance changes compared to the second acoustic impedance, judging in preset duration, first Whether acoustic impedance remains unchanged.
Wherein, the first acoustic impedance is the acoustic impedance that this current time detects, the second acoustic impedance is the preceding primary of this current time The acoustic impedance detected.Certainly, the first acoustic impedance can be the acoustic impedance detected at current time, and the second acoustic impedance can be In the acoustic impedance that the T2 moment detects, T1 indicates current time, and T1=T2+t, t are between the adjacent time for detecting acoustic impedance twice Every.
User touches the mistake of loudspeaker in order to prevent, then judges in preset duration, whether the first acoustic impedance keeps It is constant.
It should be noted that those skilled in the art can be configured preset duration, wherein preset duration can be 2s, 3s, 4s etc., the embodiment of the present invention is not specifically limited this.
Such as: user a length of 2s, 3s, 4s when blocking to the vocal hole of loudspeaker, then the first acoustic impedance is in preset duration Remain unchanged.
Step 303: if so, adjusting the volume that loudspeaker plays audio.
First acoustic impedance is compared with the second acoustic impedance;In the case where the first acoustic impedance is greater than the second acoustic impedance, The volume that loudspeaker plays audio is turned down;Or in the case where the first acoustic impedance is less than the second acoustic impedance, loudspeaker is played The volume of audio tunes up.
When the corresponding application program of audio is video or music, when acoustic impedance changes, and the first acoustic impedance It remains unchanged, the volume of video perhaps music can be adjusted or temporary to video or music in preset duration Break and put, either video or the corresponding application program of music are closed.
When the corresponding application program of audio is system telephone, such as when receiving incoming call requests, the loudspeaking of mobile terminal Device then plays the jingle bell of incoming call requests, by blocking loudspeaker vocal hole completely, so that the first acoustic impedance is compared to the second acoustic resistance It is anti-to change, then it by the mute broadcasting of jingle bell or hangs up the telephone.When the first acoustic impedance changes compared to the second acoustic impedance, User can be set in advance as mute or refusal operation.It, can be by the volume of the tinkle of bells when partially blocking loudspeaker vocal hole It is turned up or turns down.
When the corresponding application program of audio is game application, can also be made by blocking the vocal hole of loudspeaker It obtains the first acoustic impedance to change compared to the second acoustic impedance, the sound of game application is turned up or is turned down, in addition to adjusting It, can also be by blocking the vocal hole of loudspeaker, so that the first acoustic impedance is compared to the other than the sound for saving game application After two acoustic impedances change, game application is closed.
Step 304: after prefixed time interval, determining the first acoustic impedance parameter of loudspeaker.
It should be noted that those skilled in the art can according to the actual situation be configured prefixed time interval, In, prefixed time interval can be 2s, 5s etc., and the embodiment of the present invention is not specifically limited this.
Step 305: in the case where the first acoustic impedance parameter changes, adjusting loudspeaker and play giving great volume for audio It is small.
By step 304 and step 305, realizes and dynamic detection is carried out to the acoustic impedance parameter of loudspeaker, with dynamic to sound The volume of frequency is adjusted.
When the loudspeaker of mobile terminal plays audio, the acoustic impedance parameter of loudspeaker is determined;Occur in acoustic impedance parameter In the case where variation, the volume that loudspeaker plays audio is adjusted based on acoustic impedance parameter, the acoustic impedance according to loudspeaker is joined Several variations, automatic adjustment loudspeaker plays the volume of audio, convenient and efficient, is controlled i.e. without user volume key The adjusting that volume can be achieved, enhances the operability of user, promotes the usage experience of user.
Example IV
Referring to Fig. 4, a kind of structural block diagram of mobile terminal of the embodiment of the present invention four is shown.
Mobile terminal provided in an embodiment of the present invention includes: the first determining module 401, for raising when the mobile terminal When sound device plays audio, the acoustic impedance parameter of the loudspeaker is determined;First adjustment module 402, for joining in the acoustic impedance In the case that number changes, the volume that the loudspeaker plays audio is adjusted.
When the loudspeaker of mobile terminal plays audio, the acoustic impedance parameter of loudspeaker is determined;Occur in acoustic impedance parameter In the case where variation, the volume that loudspeaker plays audio is adjusted based on acoustic impedance parameter, the acoustic impedance according to loudspeaker is joined Several variations, automatic adjustment loudspeaker plays the volume of audio, convenient and efficient, is controlled i.e. without user volume key The adjusting that volume can be achieved, enhances the operability of user, promotes the usage experience of user.
Embodiment five
Referring to Fig. 5, a kind of structural block diagram of mobile terminal of the embodiment of the present invention five is shown.
Mobile terminal provided in an embodiment of the present invention includes: the first determining module 501, for raising when the mobile terminal When sound device plays audio, the acoustic impedance parameter of the loudspeaker is determined;First adjustment module 502, for joining in the acoustic impedance In the case that number changes, the volume that the loudspeaker plays audio is adjusted.
Preferably, first adjustment module 502 includes: the first Comparative sub-module 5021, for by the first acoustic impedance with Second acoustic impedance is compared;Wherein, first acoustic impedance is the acoustic impedance that this current time detects, second acoustic impedance For the acoustic impedance once detected before this current time;First adjusts submodule 5022, for being greater than in first acoustic impedance In the case where second acoustic impedance, the volume that the loudspeaker plays audio is turned down;Second adjusts submodule 5023, is used for In the case where first acoustic impedance is less than second acoustic impedance, the volume that the loudspeaker plays audio is tuned up.
Preferably, the mobile terminal further include: the second determining module 503, for existing in first adjustment module 502 In the case that the acoustic impedance parameter changes, after adjusting the volume that the loudspeaker plays audio, when default Between be spaced after, determine the first acoustic impedance parameter of the loudspeaker;Second adjustment module 504, in first acoustic impedance In the case that parameter changes, the volume that the loudspeaker plays audio is adjusted.
Preferably, the mobile terminal further include: judgment module 505, for adjusting institute in first adjustment module 502 Before stating the volume that loudspeaker plays audio, when first acoustic impedance changes compared to second acoustic impedance When, judge in preset duration, whether first acoustic impedance remains unchanged;Execution module 506, if being used for the judgment module 505 judging result be it is yes, then adjust the volume that the loudspeaker plays audio.
Mobile terminal provided in an embodiment of the present invention can be realized mobile terminal in the embodiment of the method for Fig. 1 to Fig. 3 and realize Each process, to avoid repeating, which is not described herein again.
When the loudspeaker of mobile terminal plays audio, the acoustic impedance parameter of loudspeaker is determined;Occur in acoustic impedance parameter In the case where variation, the volume that loudspeaker plays audio is adjusted based on acoustic impedance parameter, the acoustic impedance according to loudspeaker is joined Several variations, automatic adjustment loudspeaker plays the volume of audio, convenient and efficient, is controlled i.e. without user volume key The adjusting that volume can be achieved, enhances the operability of user, promotes the usage experience of user.
Embodiment six
Referring to Fig. 6, the hardware structural diagram of a kind of mobile terminal of each embodiment to realize the present invention.
The mobile terminal 600 includes but is not limited to: radio frequency unit 601, network module 602, audio output unit 603, defeated Enter unit 604, sensor 605, display unit 606, user input unit 607, interface unit 608, memory 609, processor The components such as 610 and power supply 611.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 6 is not constituted Restriction to mobile terminal, mobile terminal may include than illustrating more or fewer components, perhaps combine certain components or Different component layouts.In embodiments of the present invention, mobile terminal include but is not limited to mobile phone, tablet computer, laptop, Palm PC, car-mounted terminal, wearable device and pedometer etc..
Processor 610, for determining the acoustic impedance of the loudspeaker when the loudspeaker of the mobile terminal plays audio Parameter;In the case where the acoustic impedance parameter changes, the volume that the loudspeaker plays audio is adjusted.
When the loudspeaker of mobile terminal plays audio, the acoustic impedance parameter of loudspeaker is determined;Occur in acoustic impedance parameter In the case where variation, the volume that loudspeaker plays audio is adjusted based on acoustic impedance parameter, the acoustic impedance according to loudspeaker is joined Several variations, automatic adjustment loudspeaker plays the volume of audio, convenient and efficient, is controlled i.e. without user volume key The adjusting that volume can be achieved, enhances the operability of user, promotes the usage experience of user.
It should be understood that the embodiment of the present invention in, radio frequency unit 601 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 610 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 601 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 601 can also by wireless communication system and network and other set Standby communication.
Mobile terminal provides wireless broadband internet by network module 602 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 603 can be received by radio frequency unit 601 or network module 602 or in memory 609 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 603 can also be provided and be moved The relevant audio output of specific function that dynamic terminal 600 executes is (for example, call signal receives sound, message sink sound etc. Deng).Audio output unit 603 includes loudspeaker, buzzer and receiver etc..
Input unit 604 is for receiving audio or video signal.Input unit 604 may include graphics processor (Graphics Processing Unit, GPU) 6041 and microphone 6042, graphics processor 6041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 606.Through graphics processor 6041, treated that picture frame can be deposited Storage is sent in memory 609 (or other storage mediums) or via radio frequency unit 601 or network module 602.Mike Wind 6042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 601 is converted in the case where telephone calling model.
Mobile terminal 600 further includes at least one sensor 605, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 6061, and proximity sensor can close when mobile terminal 600 is moved in one's ear Display panel 6061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify mobile terminal posture (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passes Sensor 605 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wet Meter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 606 is for showing information input by user or being supplied to the information of user.Display unit 606 can wrap Display panel 6061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 6061.
User input unit 607 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 607 include touch panel 6071 and Other input equipments 6072.Touch panel 6071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 6071 or in touch panel 6071 Neighbouring operation).Touch panel 6071 may include both touch detecting apparatus and touch controller.Wherein, touch detection Device detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch control Device processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 610, receiving area It manages the order that device 610 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Seed type realizes touch panel 6071.In addition to touch panel 6071, user input unit 607 can also include other input equipments 6072.Specifically, other input equipments 6072 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 6071 can be covered on display panel 6061, when touch panel 6071 is detected at it On or near touch operation after, send processor 610 to determine the type of touch event, be followed by subsequent processing device 610 according to touching The type for touching event provides corresponding visual output on display panel 6061.Although in Fig. 6, touch panel 6071 and display Panel 6061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodiments In, can be integrated by touch panel 6071 and display panel 6061 and realize the function that outputs and inputs of mobile terminal, it is specific this Place is without limitation.
Interface unit 608 is the interface that external device (ED) is connect with mobile terminal 600.For example, external device (ED) may include having Line or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card end Mouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification module Mouthful etc..Interface unit 608 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and By one or more elements that the input received is transferred in mobile terminal 600 or can be used in 600 He of mobile terminal Data are transmitted between external device (ED).
Memory 609 can be used for storing software program and various data.Memory 609 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 609 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 610 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 609, and calls and is stored in storage Data in device 609 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 610 may include one or more processing units;Preferably, processor 610 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 610.
Mobile terminal 600 can also include the power supply 611 (such as battery) powered to all parts, it is preferred that power supply 611 Can be logically contiguous by power-supply management system and processor 610, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
In addition, mobile terminal 600 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 610, and memory 609 is stored in On memory 609 and the computer program that can run on the processor 610, the computer program are executed by processor 610 Each process of the above-mentioned volume adjusting method embodiment of Shi Shixian, and identical technical effect can be reached, to avoid repeating, here It repeats no more.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of above-mentioned volume adjusting method embodiment, and energy when being executed by processor Reach identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form belongs within protection of the invention.

Claims (10)

1. a kind of volume adjusting method is applied to mobile terminal, which is characterized in that the described method includes:
When the loudspeaker of the mobile terminal plays audio, the acoustic impedance parameter of the loudspeaker is determined;
In the case where the acoustic impedance parameter changes, the volume that the loudspeaker plays audio is adjusted.
2. the method according to claim 1, wherein described the case where the acoustic impedance parameter changes Under, adjust the step of loudspeaker plays the volume of audio, comprising: compare the first acoustic impedance and the second acoustic impedance Compared with;Wherein, first acoustic impedance is the acoustic impedance that this current time detects, second acoustic impedance is the previous of this current time The secondary acoustic impedance detected;
In the case where first acoustic impedance is greater than second acoustic impedance, the loudspeaker is played to the volume tune of audio It is small;Or
In the case where first acoustic impedance is less than second acoustic impedance, the loudspeaker is played to the volume tune of audio Greatly.
3. according to the method described in claim 2, it is characterized in that, adjusting giving great volume for the loudspeaker broadcasting audio described Before small step, the method also includes:
When first acoustic impedance changes compared to second acoustic impedance, judge in preset duration, described first Whether acoustic impedance remains unchanged;
If so, the step of executing the volume for adjusting the loudspeaker broadcasting audio.
4. the method according to claim 1, wherein being adjusted in the case where the acoustic impedance parameter changes After saving the step of loudspeaker plays the volume of audio, the method also includes:
After prefixed time interval, the first acoustic impedance parameter of the loudspeaker is determined;
In the case where first acoustic impedance parameter changes, the volume that the loudspeaker plays audio is adjusted.
5. a kind of mobile terminal, which is characterized in that the mobile terminal includes:
First determining module, for determining the acoustic impedance of the loudspeaker when the loudspeaker of the mobile terminal plays audio Parameter;
Second adjustment module plays audio in the case where the acoustic impedance parameter changes, adjusting the loudspeaker Volume.
6. mobile terminal according to claim 5, which is characterized in that first adjustment module includes:
First comparison module, for the first acoustic impedance to be compared with the second acoustic impedance;Wherein, first acoustic impedance is to work as The acoustic impedance that this preceding time detects, second acoustic impedance are the preceding acoustic impedance once detected of this current time;
First adjusts submodule, is used in the case where first acoustic impedance is greater than second acoustic impedance, by the loudspeaking The volume that device plays audio is turned down;
Second adjusts submodule, is used in the case where first acoustic impedance is less than second acoustic impedance, by the loudspeaking The volume that device plays audio tunes up.
7. mobile terminal according to claim 6, which is characterized in that the mobile terminal further include:
Judgment module, for before the volume that the adjustment module adjusts that the loudspeaker plays audio, when described the When one acoustic impedance changes compared to second acoustic impedance, judge in preset duration, whether first acoustic impedance protects It holds constant;
Execution module, if the judging result for the first judgment module be it is yes, adjust the loudspeaker and play audio Volume.
8. mobile terminal according to claim 5, which is characterized in that the mobile terminal further include:
Second determining module, for, in the case where the acoustic impedance parameter changes, being adjusted in first adjustment module After the loudspeaker plays the volume of audio, after prefixed time interval, the first acoustic impedance of the loudspeaker is determined Parameter;
Second adjustment module is played in the case where first acoustic impedance parameter changes, adjusting the loudspeaker The volume of audio.
9. a kind of mobile terminal, which is characterized in that including processor, memory and be stored on the memory and can be described The computer program run on processor is realized when the computer program is executed by the processor as in Claims 1-4 The step of described in any item volume adjusting methods.
10. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium Sequence, the computer program realize volume adjusting method according to any one of claims 1 to 4 when being executed by processor Step.
CN201910253181.1A 2019-03-29 2019-03-29 Volume adjusting method and mobile terminal Active CN109819118B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910253181.1A CN109819118B (en) 2019-03-29 2019-03-29 Volume adjusting method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910253181.1A CN109819118B (en) 2019-03-29 2019-03-29 Volume adjusting method and mobile terminal

Publications (2)

Publication Number Publication Date
CN109819118A true CN109819118A (en) 2019-05-28
CN109819118B CN109819118B (en) 2021-05-14

Family

ID=66610993

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910253181.1A Active CN109819118B (en) 2019-03-29 2019-03-29 Volume adjusting method and mobile terminal

Country Status (1)

Country Link
CN (1) CN109819118B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110996220A (en) * 2019-12-02 2020-04-10 维沃移动通信有限公司 Electronic equipment and volume adjusting method thereof

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101438604A (en) * 2004-12-02 2009-05-20 皇家飞利浦电子股份有限公司 Position sensing using loudspeakers as microphones
CN103501375A (en) * 2013-09-16 2014-01-08 华为终端有限公司 Method and device for controlling sound effect
US20160148531A1 (en) * 2014-11-25 2016-05-26 Pulson, Inc. Systems and methods for coordinating musculoskeletal and cardiovascular or cerebrovascular hemodynamics
CN205609196U (en) * 2016-04-18 2016-09-28 东莞市龙健电子有限公司 Wireless guitar MIDI controller
US20160330546A1 (en) * 2015-05-06 2016-11-10 Aliphcom Headset with leakage detection
CN106170929A (en) * 2014-02-10 2016-11-30 奥迪马科斯公司 There is the communication system of the noise immunity of improvement, method and apparatus
CN107483735A (en) * 2017-08-18 2017-12-15 广东欧珀移动通信有限公司 Method for controlling volume, device and the storage medium and mobile terminal of mobile terminal
CN108140930A (en) * 2015-10-13 2018-06-08 三星电子株式会社 Electronic equipment and the method for controlling its electronic equipment
WO2019033435A1 (en) * 2017-08-18 2019-02-21 广东欧珀移动通信有限公司 Sound volume adjustment method and apparatus, mobile terminal, and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101438604A (en) * 2004-12-02 2009-05-20 皇家飞利浦电子股份有限公司 Position sensing using loudspeakers as microphones
CN103501375A (en) * 2013-09-16 2014-01-08 华为终端有限公司 Method and device for controlling sound effect
CN106170929A (en) * 2014-02-10 2016-11-30 奥迪马科斯公司 There is the communication system of the noise immunity of improvement, method and apparatus
US20160148531A1 (en) * 2014-11-25 2016-05-26 Pulson, Inc. Systems and methods for coordinating musculoskeletal and cardiovascular or cerebrovascular hemodynamics
US20160330546A1 (en) * 2015-05-06 2016-11-10 Aliphcom Headset with leakage detection
CN108140930A (en) * 2015-10-13 2018-06-08 三星电子株式会社 Electronic equipment and the method for controlling its electronic equipment
CN205609196U (en) * 2016-04-18 2016-09-28 东莞市龙健电子有限公司 Wireless guitar MIDI controller
CN107483735A (en) * 2017-08-18 2017-12-15 广东欧珀移动通信有限公司 Method for controlling volume, device and the storage medium and mobile terminal of mobile terminal
WO2019033435A1 (en) * 2017-08-18 2019-02-21 广东欧珀移动通信有限公司 Sound volume adjustment method and apparatus, mobile terminal, and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110996220A (en) * 2019-12-02 2020-04-10 维沃移动通信有限公司 Electronic equipment and volume adjusting method thereof
CN110996220B (en) * 2019-12-02 2021-03-23 维沃移动通信有限公司 Electronic equipment and volume adjusting method thereof

Also Published As

Publication number Publication date
CN109819118B (en) 2021-05-14

Similar Documents

Publication Publication Date Title
CN108958684A (en) Throw screen method and mobile terminal
CN108874357A (en) A kind of reminding method and mobile terminal
CN108551636A (en) A kind of speaker control method and mobile terminal
CN110177296A (en) A kind of video broadcasting method and mobile terminal
CN108712566A (en) A kind of voice assistant awakening method and mobile terminal
CN110062104A (en) Application program launching method, device and mobile terminal
CN109194899A (en) A kind of method and terminal of audio-visual synchronization
CN108521520A (en) A kind of call handling method and mobile terminal
CN107743178A (en) A kind of message player method and mobile terminal
CN108762869A (en) A kind of information processing method and mobile terminal
CN109144703A (en) A kind of processing method and its terminal device of multitask
CN110351407A (en) A kind of audio frequency playing method and mobile terminal
CN109951582A (en) A kind of mobile terminal and sound output control method
CN110012143A (en) A kind of receiver control method and terminal
CN110225195A (en) A kind of audio communication method and terminal
CN110062273A (en) The method and mobile terminal of screenshot
CN109361797A (en) A kind of vocal technique and mobile terminal
CN109491230A (en) A kind of clocking method and electronic equipment
CN108509141A (en) A kind of generation method and mobile terminal of control
CN110460717A (en) Terminal control method and mobile terminal
CN110138963A (en) A kind of message treatment method and mobile terminal
CN109981443A (en) Voice interactive method, device and terminal device
CN109672845A (en) A kind of method, apparatus and mobile terminal of video calling
CN109743454A (en) A kind of call handling method and mobile terminal
CN109639738A (en) The method and terminal device of voice data transmission

Legal Events

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