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

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

Info

Publication number
CN107343076A
CN107343076A CN201710711063.1A CN201710711063A CN107343076A CN 107343076 A CN107343076 A CN 107343076A CN 201710711063 A CN201710711063 A CN 201710711063A CN 107343076 A CN107343076 A CN 107343076A
Authority
CN
China
Prior art keywords
mobile terminal
volume
distance value
user
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710711063.1A
Other languages
Chinese (zh)
Inventor
甘高亭
许钊铵
严锋贵
郑志勇
杨海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201710711063.1A priority Critical patent/CN107343076A/en
Publication of CN107343076A publication Critical patent/CN107343076A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • H04M1/6033Substation equipment, e.g. for use by subscribers including speech amplifiers for providing handsfree use or a loudspeaker mode in telephone sets
    • H04M1/6041Portable telephones adapted for handsfree use
    • H04M1/605Portable telephones adapted for handsfree use involving control of the receiver volume to provide a dual operational mode at close or far distance from the user
    • 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
    • H04M1/6016Substation equipment, e.g. for use by subscribers including speech amplifiers in the receiver circuit
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/52Details of telephonic subscriber devices including functional features of a camera

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The embodiment of the invention discloses a kind of volume adjusting method, device, storage medium and mobile terminal.This method includes:When detecting that mobile terminal is in talking state, by determining the mobile terminal and the distance value of user apart from determining module;The volume adjusting information according to corresponding to determining the distance value;The volume of the mobile terminal is adjusted according to the volume adjusting information.The technical scheme that the embodiment of the present invention is provided, it is possible to achieve according to user and the effect apart from automatic regulating volume of mobile terminal.

Description

Volume adjusting method, device, storage medium and mobile terminal
Technical field
The present embodiments relate to computer realm, more particularly to a kind of volume adjusting method, device, storage medium and shifting Dynamic terminal.
Background technology
At present, the function of mobile terminal is increasingly abundant, also more and more intelligent.But for mobile terminal, most base Plinth, most practical function or its communication function, user is during using communication of mobile terminal, for the receiver of mobile terminal Volume adjusting often passive regulation.This is allowed for when user is without adjusting in time or being inconvenient to adjust, Headphone volume mistake It is big or too small, cause user's communication experience poor, it is also possible to miss some important informations.
The content of the invention
The embodiment of the present invention provides a kind of volume adjusting method, device, storage medium and mobile terminal, can optimize movement The volume adjusting mode of terminal.
In a first aspect, the embodiments of the invention provide a kind of volume adjusting method, this method includes:
When detecting that mobile terminal is in talking state, by determining the mobile terminal and user apart from determining module Distance value;
The volume adjusting information according to corresponding to determining the distance value;
The volume of the mobile terminal is adjusted according to the volume adjusting information.
Second aspect, the embodiments of the invention provide a kind of volume adjustment device, the device includes:
Apart from determining module, for when detecting that mobile terminal is in talking state, determining the mobile terminal and use The distance value at family;
Volume adjusting information determination module, for the volume adjusting information according to corresponding to distance value determination;
Volume adjusting module, for the volume of the mobile terminal to be adjusted according to the volume adjusting information.
The third aspect, the embodiments of the invention provide a kind of computer-readable recording medium, is stored thereon with computer journey Sequence, volume adjusting method as described in the present embodiment of the invention is realized when the program is executed by processor.
Fourth aspect, the embodiments of the invention provide a kind of mobile terminal, including memory, processor and it is stored in storage On device and it can be realized in the computer program of processor operation described in the computing device during computer program as the present invention is real Apply the volume adjusting method described in example.
Brief description of the drawings
Fig. 1 is a kind of schematic flow sheet of volume adjusting method provided in an embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another volume adjusting method provided in an embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another volume adjusting method provided in an embodiment of the present invention;
Fig. 4 is a kind of structured flowchart of volume adjustment device provided in an embodiment of the present invention;
Fig. 5 is a kind of structural representation of mobile terminal provided in an embodiment of the present invention.
Embodiment
Further illustrate technical scheme below in conjunction with the accompanying drawings and by embodiment.It is appreciated that It is that specific embodiment described herein is used only for explaining the present invention, rather than limitation of the invention.Further need exist for illustrating , for the ease of description, part related to the present invention rather than entire infrastructure are illustrate only in accompanying drawing.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing described as flow chart or method.Although each step is described as the processing of order, many of which by flow chart Step can be implemented concurrently, concomitantly or simultaneously.In addition, the order of each step can be rearranged.When its operation The processing can be terminated during completion, it is also possible to the additional step being not included in accompanying drawing.The processing can be with Corresponding to method, function, code, subroutine, subprogram etc..
In the prior art, either user using mobile terminal converse or carries out voice-enabled chat, mobile terminal Receiver or speaker volume be all the time it is constant, this resulted in when user distance mobile terminal farther out when, mobile terminal institute The volume of broadcasting is smaller, it is difficult to does not hear the content that other side speaks.Therefore, can be according to user the embodiments of the invention provide one kind The technical scheme that the volume of mobile terminal is adjusted with the distance of mobile terminal.
Fig. 1 is a kind of schematic flow sheet of volume adjusting method provided in an embodiment of the present invention, and this method can be by volume Adjusting means performs, and wherein the device can be realized by software and/or hardware, can typically integrate in the terminal.Such as Fig. 1 institutes Show, this method includes:
S101, when detecting that mobile terminal is in talking state, by apart from determining module determine the mobile terminal and The distance value of user.
Wherein, talking state can be the state called, can also be by communication software carry out voice communication with And the state of video communication, and every kind of state all includes using the receiver broadcasting sound of mobile terminal and using mobile whole The loudspeaker at end plays two kinds of situations of sound.
Can be proximity transducer, front camera, rear camera and the display of mobile terminal apart from determining module Screen etc..Proximity transducer, front camera and display screen are normally at the front of mobile terminal, and rear camera is positioned at movement The back side of terminal.Wherein, display screen can be determined between user and mobile terminal by detecting the change of display screen external electrical field Distance.
Wherein it is determined that the mobile terminal and the distance value of user can be mobile terminal and the face or ear of user Distance value.
S102, the volume adjusting information according to corresponding to determining the distance value.
Volume adjusting information can include target volume, can also include determining volume adjusting mode.Wherein, when volume is adjusted When section information includes target volume, the corresponding specific level of sound volume of volume adjusting information, you can with according to user and movement The distance of terminal, determine the output volume grade of mobile terminal.
Exemplary, such as currently by detecting the distance between user and mobile terminal apart from determining module as 15 centimetres, It is 8 grades of level of sound volume, as target volume then to obtain volume adjusting information, then 8 grades of cans are volumes exported after adjusting etc. Level.
When volume adjusting information includes volume adjusting mode, volume regulative mode in volume adjusting information corresponding one.Show Example property, such as current In Call is 4 grades, currently by detecting the distance between user and mobile terminal apart from determining module For 15 centimetres, then it is+4 grades of level of sound volume to obtain volume adjusting information, i.e., volume adjusting mode is 4 grades of increase, then 8 grades of cans It is the level of sound volume exported after adjusting.
S103, according to the volume adjusting information volume of the mobile terminal is adjusted.
According to volume adjusting information, the volume of mobile terminal is adjusted, if volume adjusting information is a target Volume, then by the volume adjusting of mobile terminal to the target volume, if volume adjusting information is a kind of volume adjusting mode, The volume of mobile terminal is adjusted according to the volume adjusting mode.
What deserves to be explained is the level of sound volume scope such as current mobile terminal is 0-15 levels, and on the basis of current volume On, the level of sound volume scope of mobile terminal can be can exceed that according to a kind of volume adjusting mode., can be with when such as increasing to more than 15 grades Detection is presently at handset mode or outer mode playback, if handset mode, then can arrival max volume grade it After switch to outer mode playback, if outer mode playback, then just can be exported with max volume grade.
The volume adjusting method provided in the embodiment of the present invention, when mobile terminal is in talking state, by distance really Cover half block determines mobile terminal and the distance of user, in the volume adjusting information according to corresponding to distance determination is preset, and utilizes sound The volume of mobile terminal is adjusted amount regulation information.The technical scheme that the embodiment of the present invention is provided, it is possible to achieve according to User and the effect apart from automatic regulating volume of mobile terminal.
Fig. 2 is the schematic flow sheet of another volume adjusting method provided in an embodiment of the present invention, as shown in Fig. 2 the party Method includes:
S201, when detecting that mobile terminal is in talking state, determine present talk mode.
Wherein, call mode can include handset mode and outer mode playback.Handset mode is listening by mobile terminal Cylinder plays sound, and outer mode playback is to play sound by the loudspeaker of mobile terminal.
S202, present talk mode is judged for handset mode, or be outer mode playback;If present talk mode is to listen cylinder mould Formula, then perform S203;If present talk mode is outer mode playback, S204 is performed.
The modes such as receiver and speaker current that can be by detecting mobile terminal carry out the judgement of call mode.
S203, the mobile terminal and the first distance value of user are determined by proximity transducer.
If present talk mode is handset mode, user is usually to press close to the receiver of mobile terminal with ear to converse , and the distance between receiver of user's ear and mobile terminal can be detected by being configured at the proximity transducer near receiver, should Distance can be used as the first distance value.
S204, the image gathered by camera determine the mobile terminal and the second distance value of user.
If present talk mode is outer mode playback, user is typically in a manner of video calling etc., in face of mobile terminal What front was conversed.So, it can gather image during user's communication using front camera, image can be utilized Face recognition technology determines face location.And then it can be determined according to the size of face between mobile terminal and user Distance, the distance can be used as second distance value.
In the embodiment of the present invention, image, and the figure that two cameras are got can also be obtained by rear camera As being compared, determine user mobile terminal before or the back side, further determine user and mobile terminal it Between distance.
S205, the volume adjusting information according to corresponding to determining the distance value.
S206, according to the volume adjusting information volume of the mobile terminal is adjusted.
The technical program is on the basis of above-mentioned technical proposal, there is provided under different call modes, obtains distance value Specific method, this method can effectively judge the distance between user and mobile terminal, and then makes corresponding volume and adjust Section, caters to demand of the user to mobile terminal loudness, improves the usage experience of user.
On the basis of above-mentioned each technical scheme, optionally, the image gathered by camera determines the mobile terminal With the second distance value of user, including:By the focusing result during camera collection image, determine the mobile terminal and The second distance value of user.Wherein, focusing result is defaulted as the result of camera focusing and user face, can aid in and face Identification function realizes auto-focusing to face, and in actual use, when video calling, user face and mobile terminal The distance between typically can be in 20-80 cm ranges, and be face face camera, it is possible to according to focusing result, read Get the focusing adjusting parameter inside camera and determine the distance between user and mobile terminal.The benefit so set is i.e. accurate It is true and convenient, improve the usage experience of user.
On the basis of above-mentioned each technical scheme, optionally, if the call mode is handset mode, the basis Volume adjusting information corresponding to the distance value determination, the volume of the mobile terminal is carried out according to the volume adjusting information Regulation includes:Headphone volume regulation information, foundation according to corresponding to determining first distance value and Headphone volume mapping table The Headphone volume of the mobile terminal is adjusted the Headphone volume regulation information.Headphone volume mapping table is set, can be with In the case where mobile terminal is in handset mode, the quick and accurate pair of volume for determining mobile terminal corresponding with the first distance value is adjusted Information is saved, and mobile terminal Headphone volume is adjusted according to the information, improves the response speed of mobile terminal, improves user Usage experience.
On the basis of above-mentioned each technical scheme, optionally, if the call mode is speaker mode, described According to volume adjusting information corresponding to distance value determination, the volume of the mobile terminal is entered according to the volume adjusting information Row regulation includes:The speaker volume regulation letter according to corresponding to determining the second distance value and speaker volume mapping table Breath, the speaker volume of the mobile terminal is adjusted according to speaker volume regulation information.Speaker is set Mapping table is measured, can be in the case where mobile terminal be in outer mode playback, quick and accurate pair determines move corresponding with second distance value The volume adjusting information of dynamic terminal, and mobile terminal speaker volume is adjusted according to the information, improve mobile terminal Response speed, improve the usage experience of user.
Fig. 3 is the schematic flow sheet of another volume adjusting method provided in an embodiment of the present invention, as shown in figure 3, the party Method includes:
S301, when detecting that mobile terminal is in talking state, determine present talk mode.
S302, present talk mode is judged for handset mode, or be outer mode playback;If present talk mode is to listen cylinder mould Formula, then perform S303;If present talk mode is outer mode playback, S304 is performed.
S303, the mobile terminal and the first distance value of user are determined by proximity transducer, and perform S307.
S304, the image gathered by camera determine the mobile terminal and the second distance value of user.
S305, the image to collection carry out recognition of face, determine the attribute information of active user.
Wherein, attribute information can be that the information such as sex, the age range of user are determined according to face recognition result.Example Such as, the human face ratio in five, three front yard can be utilized to determine whether user is the elderly etc..
S306, raised according to corresponding to determining the second distance value, the attribute information and speaker volume mapping table Sound device volume adjusting information, the volume of the mobile terminal is adjusted according to the volume adjusting information.
It is determined that after the attribute information of active user, the volume adjusting letter of loudspeaker can be determined according to the attribute information Breath, as the attribute information of active user is expressed as the elderly, then it can increase volume adjusting result accordingly, such as in loudspeaker Attribute coefficients etc. are multiplied by the basis of volume mapping table.
S307, the Headphone volume regulation information according to corresponding to determining first distance value and Headphone volume mapping table, The Headphone volume of the mobile terminal is adjusted according to Headphone volume regulation information.
The technical program is on the basis of above-mentioned each technical scheme, there is provided a kind of face recognition result according to user, And then the attribute information of user is determined, the judgment technology side of the speaker volume regulation of terminal is moved further according to attribute information Case, the program can be in a manner of being preferably directed to different users and set different volume adjustings, to be that different user was using Cheng Zhong, the volume required for user can be obtained, improve the usage experience of user.
It is optionally, described by determining the mobile terminal apart from determining module on the basis of above-mentioned each technical scheme Include with the distance value of user:Every preset time, by determining the mobile terminal and the distance of user apart from determining module Value.Wherein, preset time can be the set time, such as 5 seconds, 10 seconds, can also be adjusted according to the setting of user, so Setting is advantageous in that the use demand that can cater to different user, and can save energy resource consumption, extends treating for mobile terminal The machine time.
Fig. 4 is a kind of structured flowchart of volume adjustment device provided in an embodiment of the present invention, the device can by software and/or Hardware is realized, is typically integrated in mobile terminal, the volume of mobile terminal can be adjusted by performing volume adjusting method Section.As shown in figure 4, the device includes:
Apart from determining module 401, for when detecting that mobile terminal is in talking state, determine the mobile terminal and The distance value of user;
Volume adjusting information determination module 402, for the volume adjusting information according to corresponding to distance value determination;
Volume adjusting module 403, for the volume of the mobile terminal to be adjusted according to the volume adjusting information.
The volume adjusting scheme provided in the embodiment of the present invention, when mobile terminal is in talking state, by distance really Cover half block determines mobile terminal and the distance of user, in the volume adjusting information according to corresponding to distance determination is preset, and utilizes sound The volume of mobile terminal is adjusted amount regulation information.The technical scheme that the embodiment of the present invention is provided, it is possible to achieve according to User and the effect apart from automatic regulating volume of mobile terminal.
It is optionally, described to include apart from determining module 401 on the basis of above-mentioned each technical scheme:
First distance value determining unit, it is true by proximity transducer if being handset mode for the call mode The fixed mobile terminal and the first distance value of user;
Second distance value determining unit, if being outer mode playback for the call mode, gathered by camera Image determines the mobile terminal and the second distance value of user.
On the basis of above-mentioned each technical scheme, optionally, the second distance value determining unit is specifically used for:
By the focusing result during camera collection image, the mobile terminal and the second distance of user are determined Value.
On the basis of above-mentioned each technical scheme, optionally, if the call mode is handset mode, volume adjusting Information determination module 402 is specifically used for:
The Headphone volume regulation information according to corresponding to determining first distance value and Headphone volume mapping table;
Accordingly, the volume adjusting module 403 is specifically used for:
The Headphone volume of the mobile terminal is adjusted according to Headphone volume regulation information.
On the basis of above-mentioned each technical scheme, optionally, if the call mode is speaker mode, volume is adjusted Section information determination module 402 is specifically used for:
The speaker volume regulation information according to corresponding to determining the second distance value and speaker volume mapping table;
Accordingly, the volume adjusting module 403 is specifically used for:
The speaker volume of the mobile terminal is adjusted according to speaker volume regulation information.
On the basis of above-mentioned each technical scheme, optionally, described device also includes:
Attribute information determining module, for carrying out recognition of face to the image of collection, determine the attribute information of active user;
Accordingly, the second distance value determining unit is additionally operable to:
The speaker according to corresponding to determining the second distance value, the attribute information and speaker volume mapping table Amount regulation information.
It is optionally, described to be specifically used for apart from determining module 401 on the basis of above-mentioned each technical scheme:
Every preset time, by determining the mobile terminal and the distance value of user apart from determining module 401.
The embodiment of the present invention also provides a kind of storage medium for including computer executable instructions, and the computer can perform Instruction is used to perform a kind of volume adjusting method when being performed by computer processor, and this method includes:
When detecting that mobile terminal is in talking state, by determining the mobile terminal and user apart from determining module Distance value;
The volume adjusting information according to corresponding to determining the distance value;
The volume of the mobile terminal is adjusted according to the volume adjusting information.
Storage medium --- any various types of memory devices or storage device.Term " storage medium " is intended to wrap Include:Install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, blue Bath (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetizing mediums (such as hard disk or optical storage);Memory component of register or other similar types etc..Storage medium can also include other The memory of type or its combination.In addition, storage medium can be located at program in the first computer system being wherein performed, Or can be located in different second computer systems, second computer system is connected to the by network (such as internet) One computer system.Second computer system can provide programmed instruction and be used to perform to the first computer." storage is situated between term Matter " can include may reside within diverse location two of (such as in different computer systems by network connection) or More storage mediums.Storage medium can store the programmed instruction that can be performed by one or more processors and (such as implement For computer program).
Certainly, a kind of storage medium for including computer executable instructions that the embodiment of the present invention is provided, its computer The volume adjusting operation that executable instruction is not limited to the described above, can also carry out the volume that any embodiment of the present invention is provided Associative operation in adjusting method.
The embodiments of the invention provide a kind of mobile terminal, sound provided in an embodiment of the present invention can be integrated in the mobile terminal Quantity regulating device.Fig. 5 is a kind of structural representation of mobile terminal provided in an embodiment of the present invention.As shown in figure 5, the movement is whole End can include:Memory 501, central processing unit (Central Processing Unit, CPU) 502 (also known as processor, with Lower abbreviation CPU), circuit board (not shown) and power circuit (not shown).The circuit board is placed in the housing The interior volume surrounded;The CPU502 and the memory 501 are arranged on the circuit board;The power circuit, is used for Powered for each circuit or device of the mobile terminal;The memory 501, for storing executable program code;It is described CPU502 is run and the executable program code pair by reading the executable program code stored in the memory 501 The computer program answered, to realize following steps:
When detecting that mobile terminal is in talking state, by determining the mobile terminal and user apart from determining module Distance value;
The volume adjusting information according to corresponding to determining the distance value;
The volume of the mobile terminal is adjusted according to the volume adjusting information.
The mobile terminal also includes:Peripheral Interface 503, RF (Radio Frequency, radio frequency) circuit 505, audio-frequency electric Road 506, loudspeaker 511, power management chip 508, input/output (I/O) subsystem 509, touch-screen 512, other input/controls Control equipment 510 and outside port 504, these parts are communicated by one or more communication bus or signal wire 507.
It should be understood that diagram mobile terminal 500 is only an example of mobile terminal, and mobile terminal 500 Can have than more or less parts shown in figure, can combine two or more parts, or can be with Configured with different parts.Various parts shown in figure can be including one or more signal transactings and/or special Hardware, software including integrated circuit are realized in the combination of hardware and software.
Below with regard to the present embodiment provide the mobile terminal for volume adjusting be described in detail, the mobile terminal with Exemplified by mobile phone.
Memory 501, the memory 501 can be accessed by CPU502, Peripheral Interface 503 etc., and the memory 501 can Including high-speed random access memory, can also include nonvolatile memory, such as one or more disk memories, Flush memory device or other volatile solid-state parts.
The input of equipment and output peripheral hardware can be connected to CPU502 and deposited by Peripheral Interface 503, the Peripheral Interface 503 Reservoir 501.
I/O subsystems 509, the I/O subsystems 509 can be by the input/output peripherals in equipment, such as touch-screen 512 With other input/control devicess 510, Peripheral Interface 503 is connected to.I/O subsystems 509 can include the He of display controller 5091 For controlling one or more input controllers 5092 of other input/control devicess 510.Wherein, one or more input controls Device 5092 processed receives electric signal from other input/control devicess 510 or sends electric signal to other input/control devicess 510, Other input/control devicess 510 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 5092 can with it is following any one be connected:Keyboard, infrared port, The instruction equipment of USB interface and such as mouse.
Touch-screen 512, the touch-screen 512 are the input interface and output interface between customer mobile terminal and user, Visual output display can be included into figure, text, icon, video etc. to user, visual output.
Display controller 5091 in I/O subsystems 509 receives electric signal from touch-screen 512 or sent out to touch-screen 512 Electric signals.Touch-screen 512 detects the contact on touch-screen, and the contact detected is converted to and shown by display controller 5091 The interaction of user interface object on touch-screen 512, that is, realize man-machine interaction, the user interface being shown on touch-screen 512 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 505, it is mainly used in establishing the communication of mobile phone and wireless network (i.e. network side), realizes mobile phone and wireless network The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuits 505 receive and send RF letters Number, RF signals are also referred to as electromagnetic signal, and RF circuits 505 convert electrical signals to electromagnetic signal or electromagnetic signal is converted into telecommunications Number, and communicated by the electromagnetic signal with communication network and other equipment.RF circuits 505 can include being used to perform The known circuit of these functions, it includes but is not limited to antenna system, RF transceivers, one or more amplifiers, tuner, one Individual or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, user identify mould Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 506, it is mainly used in receiving voice data from Peripheral Interface 503, the voice data is converted into telecommunications Number, and the electric signal is sent to loudspeaker 511.
Loudspeaker 511, for the voice signal for receiving mobile phone from wireless network by RF circuits 505, it is reduced to sound And play the sound to user.
Power management chip 508, the hardware for being connected by CPU502, I/O subsystem and Peripheral Interface are powered And power management.
Mobile terminal provided in an embodiment of the present invention, it is possible to achieve determine to move according to the distance between user and mobile terminal The effect of dynamic terminal volume.
Any implementation of the executable present invention of volume adjustment device, storage medium and mobile terminal provided in above-described embodiment The volume adjusting method that example is provided, possess and perform the corresponding functional module of this method and beneficial effect.Not in above-described embodiment In detailed description ins and outs, reference can be made to the volume adjusting method that any embodiment of the present invention 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:
    When detecting that mobile terminal is in talking state, by determining the mobile terminal and the distance of user apart from determining module Value;
    The volume adjusting information according to corresponding to determining the distance value;
    The volume of the mobile terminal is adjusted according to the volume adjusting information.
  2. 2. according to the method for claim 1, it is characterised in that described by determining the mobile terminal apart from determining module Include with the distance value of user:
    Present talk mode is determined, if the call mode is handset mode, the movement is determined by proximity transducer Terminal and the first distance value of user, if the call mode is outer mode playback, the image gathered by camera determines The mobile terminal and the second distance value of user.
  3. 3. according to the method for claim 2, it is characterised in that the image gathered by camera determines the mobile terminal With the second distance value of user, including:
    By the focusing result during camera collection image, the mobile terminal and the second distance value of user are determined.
  4. 4. according to the method for claim 2, it is characterised in that if the call mode is handset mode, described According to volume adjusting information corresponding to distance value determination, the volume of the mobile terminal is entered according to the volume adjusting information Row regulation includes:
    Headphone volume regulation information, listens according to described according to corresponding to determining first distance value and Headphone volume mapping table The Headphone volume of the mobile terminal is adjusted cylinder volume adjusting information.
  5. 5. according to the method for claim 2, it is characterised in that described if the call mode is speaker mode The volume adjusting information according to corresponding to determining the distance value, the volume according to the volume adjusting information to the mobile terminal Be adjusted including:
    The speaker volume regulation information according to corresponding to determining the second distance value and speaker volume mapping table, according to institute Speaker volume regulation information is stated the speaker volume of the mobile terminal is adjusted.
  6. 6. according to the method for claim 5, it is characterised in that determined in the image gathered by camera described mobile whole After the second distance value of end and user, in addition to:
    Recognition of face is carried out to the image of collection, determines the attribute information of active user;
    Accordingly, the speaker volume regulation information according to corresponding to determining the second distance value and speaker volume mapping table Including:
    Speaker volume is adjusted according to corresponding to determining the second distance value, the attribute information and speaker volume mapping table Save information.
  7. 7. according to the method any one of claim 1-6, it is characterised in that described by determining institute apart from determining module Stating the distance value of mobile terminal and user includes:
    Every preset time, by determining the mobile terminal and the distance value of user apart from determining module.
  8. A kind of 8. volume adjustment device, it is characterised in that including:
    Apart from determining module, for when detecting that mobile terminal is in talking state, determining the mobile terminal and user Distance value;
    Volume adjusting information determination module, for the volume adjusting information according to corresponding to distance value determination;
    Volume adjusting module, for the volume of the mobile terminal to be adjusted according to the volume adjusting information.
  9. 9. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is held by processor The volume adjusting method as described in any in claim 1-7 is realized during row.
  10. 10. a kind of mobile terminal, including memory, processor and storage are on a memory and can be in the computer of processor operation Program, it is characterised in that realize the sound as described in any in claim 1-7 described in the computing device during computer program Amount adjustment method.
CN201710711063.1A 2017-08-18 2017-08-18 Volume adjusting method, device, storage medium and mobile terminal Pending CN107343076A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710711063.1A CN107343076A (en) 2017-08-18 2017-08-18 Volume adjusting method, device, storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710711063.1A CN107343076A (en) 2017-08-18 2017-08-18 Volume adjusting method, device, storage medium and mobile terminal

Publications (1)

Publication Number Publication Date
CN107343076A true CN107343076A (en) 2017-11-10

Family

ID=60215164

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710711063.1A Pending CN107343076A (en) 2017-08-18 2017-08-18 Volume adjusting method, device, storage medium and mobile terminal

Country Status (1)

Country Link
CN (1) CN107343076A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108712571A (en) * 2018-05-17 2018-10-26 Oppo广东移动通信有限公司 Method, apparatus, electronic device and the storage medium of display screen sounding
CN108769364A (en) * 2018-04-13 2018-11-06 Oppo广东移动通信有限公司 Call control method, device, mobile terminal and computer-readable medium
CN108900689A (en) * 2018-07-23 2018-11-27 Oppo广东移动通信有限公司 Sounding control method, device, electronic equipment and storage medium
CN109086023A (en) * 2018-07-09 2018-12-25 Oppo广东移动通信有限公司 Sounding control method, device, electronic equipment and storage medium
CN109189362A (en) * 2018-07-09 2019-01-11 Oppo广东移动通信有限公司 Sounding control method, device, electronic equipment and storage medium
CN109409966A (en) * 2018-12-29 2019-03-01 河北三川科技有限公司 A kind of system and method automatically adjusting advertisement machine volume
CN109495652A (en) * 2018-12-21 2019-03-19 惠州Tcl移动通信有限公司 A kind of volume adjusting method of terminal device, terminal device and storage medium
CN110392298A (en) * 2018-04-23 2019-10-29 腾讯科技(深圳)有限公司 A kind of volume adjusting method, device, equipment and medium
CN110620837A (en) * 2019-10-25 2019-12-27 维沃移动通信有限公司 Receiver control method and electronic equipment
CN111107214A (en) * 2019-12-09 2020-05-05 西安易朴通讯技术有限公司 Volume adjusting method and device
CN112235459A (en) * 2020-09-30 2021-01-15 咪咕音乐有限公司 Volume adjustment method, electronic device, and computer-readable storage medium
CN112511786A (en) * 2020-11-11 2021-03-16 北京融讯科创技术有限公司 Method and device for adjusting volume of video conference, terminal equipment and storage medium
WO2023040547A1 (en) * 2021-09-16 2023-03-23 Oppo广东移动通信有限公司 Volume adjustment method and apparatus, terminal, and computer-readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003037651A (en) * 2001-07-25 2003-02-07 Nec Saitama Ltd Automatic volume control for telephone set
CN104125325A (en) * 2013-04-29 2014-10-29 深圳富泰宏精密工业有限公司 Conversation volume control method and system thereof
CN105282345A (en) * 2015-11-23 2016-01-27 小米科技有限责任公司 Method and device for regulation of conversation volume
CN105657128A (en) * 2016-03-22 2016-06-08 上海斐讯数据通信技术有限公司 Mobile phone and intelligent in-call volume regulation method thereof
CN106331371A (en) * 2016-09-14 2017-01-11 维沃移动通信有限公司 Volume adjustment method and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003037651A (en) * 2001-07-25 2003-02-07 Nec Saitama Ltd Automatic volume control for telephone set
CN104125325A (en) * 2013-04-29 2014-10-29 深圳富泰宏精密工业有限公司 Conversation volume control method and system thereof
CN105282345A (en) * 2015-11-23 2016-01-27 小米科技有限责任公司 Method and device for regulation of conversation volume
CN105657128A (en) * 2016-03-22 2016-06-08 上海斐讯数据通信技术有限公司 Mobile phone and intelligent in-call volume regulation method thereof
CN106331371A (en) * 2016-09-14 2017-01-11 维沃移动通信有限公司 Volume adjustment method and mobile terminal

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108769364A (en) * 2018-04-13 2018-11-06 Oppo广东移动通信有限公司 Call control method, device, mobile terminal and computer-readable medium
CN108769364B (en) * 2018-04-13 2021-02-02 Oppo广东移动通信有限公司 Call control method, device, mobile terminal and computer readable medium
CN110392298B (en) * 2018-04-23 2021-09-28 腾讯科技(深圳)有限公司 Volume adjusting method, device, equipment and medium
CN110392298A (en) * 2018-04-23 2019-10-29 腾讯科技(深圳)有限公司 A kind of volume adjusting method, device, equipment and medium
CN108712571A (en) * 2018-05-17 2018-10-26 Oppo广东移动通信有限公司 Method, apparatus, electronic device and the storage medium of display screen sounding
CN109086023A (en) * 2018-07-09 2018-12-25 Oppo广东移动通信有限公司 Sounding control method, device, electronic equipment and storage medium
CN109189362A (en) * 2018-07-09 2019-01-11 Oppo广东移动通信有限公司 Sounding control method, device, electronic equipment and storage medium
CN109189362B (en) * 2018-07-09 2022-07-12 Oppo广东移动通信有限公司 Sound production control method and device, electronic equipment and storage medium
CN109086023B (en) * 2018-07-09 2022-06-21 Oppo广东移动通信有限公司 Sound production control method and device, electronic equipment and storage medium
CN108900689A (en) * 2018-07-23 2018-11-27 Oppo广东移动通信有限公司 Sounding control method, device, electronic equipment and storage medium
CN109495652A (en) * 2018-12-21 2019-03-19 惠州Tcl移动通信有限公司 A kind of volume adjusting method of terminal device, terminal device and storage medium
CN109409966A (en) * 2018-12-29 2019-03-01 河北三川科技有限公司 A kind of system and method automatically adjusting advertisement machine volume
CN110620837A (en) * 2019-10-25 2019-12-27 维沃移动通信有限公司 Receiver control method and electronic equipment
CN110620837B (en) * 2019-10-25 2021-12-14 维沃移动通信有限公司 Receiver control method and electronic equipment
CN111107214A (en) * 2019-12-09 2020-05-05 西安易朴通讯技术有限公司 Volume adjusting method and device
CN112235459B (en) * 2020-09-30 2022-03-04 咪咕音乐有限公司 Volume adjustment method, electronic device, and computer-readable storage medium
CN112235459A (en) * 2020-09-30 2021-01-15 咪咕音乐有限公司 Volume adjustment method, electronic device, and computer-readable storage medium
CN112511786A (en) * 2020-11-11 2021-03-16 北京融讯科创技术有限公司 Method and device for adjusting volume of video conference, terminal equipment and storage medium
WO2023040547A1 (en) * 2021-09-16 2023-03-23 Oppo广东移动通信有限公司 Volume adjustment method and apparatus, terminal, and computer-readable storage medium

Similar Documents

Publication Publication Date Title
CN107343076A (en) Volume adjusting method, device, storage medium and mobile terminal
US11251763B2 (en) Audio signal adjustment method, storage medium, and terminal
JP6505252B2 (en) Method and apparatus for processing audio signals
US11632621B2 (en) Method for controlling volume of wireless headset, and computer-readable storage medium
CN107040660A (en) Control method, device and the mobile terminal of mobile terminal playing volume
CN109511037B (en) Earphone volume adjusting method and device and computer readable storage medium
CN106791067B (en) Call volume adjusting method and device and mobile terminal
JP6314286B2 (en) Audio signal optimization method and apparatus, program, and recording medium
CN108108142A (en) Voice information processing method, device, terminal device and storage medium
CN107509153A (en) Detection method, device, storage medium and the terminal of Audio Players part
CN107562405A (en) Audio play control method, device and storage medium and mobile terminal
CN107483735A (en) Method for controlling volume, device and the storage medium and mobile terminal of mobile terminal
CN107835033A (en) Control method, device, terminal device and the storage medium of antenna tuning switch
CN107371102B (en) Audio playing volume control method and device, storage medium and mobile terminal
CN107040661A (en) Control method, device and the mobile terminal of mobile terminal playing volume
CN107360326A (en) terminal volume adjusting processing method and terminal
CN107483731A (en) Control method, device and the storage medium and mobile terminal of audio broadcast sound volume
CN108769401B (en) Signal detection method and related product
CN107799113A (en) Audio-frequency processing method, device, storage medium and mobile terminal
CN107508983A (en) volume adjusting method, device, storage medium and terminal device
CN107526570A (en) volume adjusting method, device, terminal device and storage medium
CN107526569A (en) A kind of volume adjusting method, device, storage medium and mobile terminal
CN112905035A (en) Touch screen control method and device and computer storage medium
CN108668018B (en) Mobile terminal, volume control method and related product
CN107493380A (en) volume adjusting 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20171110

RJ01 Rejection of invention patent application after publication