CN107040661A - Control method, device and the mobile terminal of mobile terminal playing volume - Google Patents

Control method, device and the mobile terminal of mobile terminal playing volume Download PDF

Info

Publication number
CN107040661A
CN107040661A CN201710253743.3A CN201710253743A CN107040661A CN 107040661 A CN107040661 A CN 107040661A CN 201710253743 A CN201710253743 A CN 201710253743A CN 107040661 A CN107040661 A CN 107040661A
Authority
CN
China
Prior art keywords
volume
terminal
distance
voice
message
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
CN201710253743.3A
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 CN201710253743.3A priority Critical patent/CN107040661A/en
Publication of CN107040661A publication Critical patent/CN107040661A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72433User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for voice messaging, e.g. dictaphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a kind of control method, device and the mobile terminal of mobile terminal playing volume.Methods described includes:Determine that present terminal is in voice call state and present terminal is phonetic incepting terminal, detect the distance between the current speech receiving terminal and user or distance change situation;According to the distance or distance change situation generation volume adjustment message, and voice transmission terminal is sent to, to indicate that the voice sends the broadcast sound volume of the transmitted voice of terminal adjustment;Receive the voice and send the speech data after the adjustment that terminal is sent, played out according to the speech play volume after adjustment.Technical scheme provided in an embodiment of the present invention, can be according to the adaptive broadcast sound volume for adjusting mobile terminal of the distance between mobile terminal and user.

Description

Control method, device and the mobile terminal of mobile terminal playing volume
Technical field
The present embodiments relate to technical field of mobile terminals, more particularly to a kind of controlling party of mobile terminal playing volume Method, device and mobile terminal.
Background technology
Function in the mobile terminals such as mobile phone is more and more, is that the live and work of people is provided convenience, and people can be with Phone is taken using mobile phone, voice or video calling etc. can also be carried out.
At present, if user thinks that volume is improper during being conversed, volume key is pressed typically by touching manually To adjust volume, even if but the volume of mobile phone is sometimes adjusted to maximum, also or feel that volume is smaller, even if or by hand The volume of machine is adjusted to minimum, also still feels that volume is larger.The control method of mobile terminal sensor in correlation technique is deposited In defect, it is necessary to improve.
The content of the invention
The embodiment of the present invention provides a kind of control method, device and the mobile terminal of mobile terminal playing volume, Ke Yigen According to the broadcast sound volume of the adaptive adjustment mobile terminal of the distance between mobile terminal and user.
In a first aspect, the embodiments of the invention provide a kind of control method of mobile terminal playing volume, including:
Determine that present terminal is in voice call state and present terminal is phonetic incepting terminal, detect the current speech The distance between receiving terminal and user or distance change situation;
According to the distance or distance change situation generation volume adjustment message, and voice transmission terminal is sent to, with Indicate that the voice sends the broadcast sound volume of the transmitted voice of terminal adjustment;
Receive the voice and send the speech data after the adjustment that terminal is sent, entered according to the speech play volume after adjustment Row is played.
In second aspect, the embodiments of the invention provide a kind of control device of mobile terminal playing volume, including:
Apart from detection module, for determining that present terminal is in voice call state and present terminal is that phonetic incepting is whole End, detects the distance between the current speech receiving terminal and user or distance change situation;
Volume adjusts message generating module, for being disappeared according to the distance or the generation volume adjustment of distance change situation Breath, and voice transmission terminal is sent to, to indicate that the voice sends the broadcast sound volume of the transmitted voice of terminal adjustment;
Speech data playing module, the speech data after the adjustment that terminal is sent is sent for receiving the voice, according to Speech play volume after adjustment is played out.
In the third aspect, the embodiments of the invention provide a kind of mobile terminal, including memory, processor and it is stored in On reservoir and the computer program that can run on a processor, following walk is realized described in the computing device during computer program Suddenly:
Determine that present terminal is in voice call state and present terminal is phonetic incepting terminal, detect the current speech The distance between receiving terminal and user or distance change situation;
According to the distance or distance change situation generation volume adjustment message, and voice transmission terminal is sent to, with Indicate that the voice sends the broadcast sound volume of the transmitted voice of terminal adjustment;
Receive the voice and send the speech data after the adjustment that terminal is sent, entered according to the speech play volume after adjustment Row is played.
The embodiment of the present invention is by detecting the distance between current speech receiving terminal and user or distance change situation, root According to the distance or distance change situation generation volume adjustment message, and it is sent to voice transmission terminal, the predicate to indicate The broadcast sound volume of the transmitted voice of sound receiving terminal adjustment, receives the voice and sends the voice number after the adjustment that terminal is sent According to, operation is played out according to the speech data broadcast sound volume after adjustment, can be according to the distance between mobile terminal and user The broadcast sound volume of adaptive adjustment mobile terminal.
Brief description of the drawings
Fig. 1 is a kind of audio system block architecture diagram that one embodiment of the invention is provided;
Fig. 2 is a kind of flow chart of the control method for mobile terminal playing volume that one embodiment of the invention is provided;
Fig. 3 is a kind of flow chart of the control method for mobile terminal playing volume that one embodiment of the invention is provided;
Fig. 4 is a kind of flow chart of the control method for mobile terminal playing volume that one embodiment of the invention is provided;
Fig. 5 is a kind of structural representation of the control device for mobile terminal playing volume that one embodiment of the invention is provided Figure;
Fig. 6 is a kind of structural representation for mobile terminal that one embodiment of the invention is provided.
Embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, below in conjunction with the accompanying drawings to specific reality of the invention Example is applied to be described in further detail.It is understood that specific embodiment described herein is used only for explaining the present invention, Rather than limitation of the invention.It also should be noted that, for the ease of description, it illustrate only in accompanying drawing related to the present invention Part rather than full content.It should be mentioned that some exemplary realities before exemplary embodiment is discussed in greater detail Apply processing or method that example is described as describing as flow chart.Although operations (or step) are described as order by flow chart Processing, but many of which operation can be implemented concurrently, concomitantly or simultaneously.In addition, the order of operations It can be rearranged.The processing can be terminated when its operations are completed, it is also possible to being not included in accompanying drawing Additional step.The processing can correspond to method, function, code, subroutine, subprogram etc..
For ease of understanding, below by taking android system as an example, letter is carried out to the audio system framework in android system Unitary declaration.
As shown in figure 1, the audio system framework that the present embodiment is provided mainly includes user's space, kernel spacing and hardware system System.User's space includes application (Application) layer, application framework (Framework) layer and hardware abstraction layer (Hardware Abstraction Layer, HAL), kernel spacing include driving (Driver) layer, hardware system include sensor, loudspeaker and Microphone etc..Application layer is the superiors of audio system, can perform corresponding logical operation, example by writing an application program The distance between user and terminal or distance change situation are such as detected, volume adjustment message etc. is sent.Application framework layer is provided The interface of distance or distance change situation is obtained, and adjusts the interface of microphone volume.Hardware abstraction layer is application framework layer To the transition of driving layer, to realize the compatibility of bottom hardware.Driving layer enters according to the characteristic of sensor, loudspeaker and microphone to it Row control, it is ensured that it being capable of normal work.The distance between sensor user collection user and mobile terminal in hardware system, Loudspeaker user plays voice, and microphone is used to obtain speech data.
Fig. 2 gives a kind of flow of the control method of mobile terminal playing volume of one embodiment of the invention offer Figure, the method for the present embodiment can perform by the control device of mobile terminal playing volume, the device can by hardware and/or The mode of software realizes that described device can be arranged on the inside of the mobile terminal as a mobile terminal part.Such as Fig. 2 institutes Show, a kind of control method for mobile terminal playing volume that the present embodiment is provided comprises the following steps:
Step 101, to determine that present terminal is in voice call state and present terminal be phonetic incepting terminal, and detection is described The distance between current speech receiving terminal and user or distance change situation.
Mobile terminal described in the present embodiment includes but is not limited to mobile phone, tablet personal computer or notebook etc. with language The equipment of sound call function.The voice call includes phone voice communications and applies voice call, the application voice call Can be QQ chat softwares, Facetime calls software, wechat software etc..
Wherein, the determination present terminal be in voice call state can be by the current operation process of detection, according to working as It is preceding to run process identification (PID) to realize.The phonetic incepting end is the voice listener in communication process, can be by detecting terminal Microphone whether collect voice data, determined if voice data is not collected present terminal be phonetic incepting terminal.
The distance between the current speech receiving terminal and user or distance change situation can be utilized close to sensing Device is obtained, and specifically can obtain proximity transducer data by sensor interface, and then according to proximity transducer data acquisition Range information.The distance change situation includes moving closer to user, is gradually distance from user and apart from not changing.It is described by Gradually user's ear is remained stationary as actively close to terminal or the motionless terminal of user's ear close to user's ear including terminal close to user Piece or user's ear and terminal it is adjacent to each other, it is described be gradually distance from user and remain stationary as user's ear including terminal be actively teaches away from Terminal or the motionless terminal of user's ear away from user's ear or user's ear with terminal away from each other.If specifically, detection It is less and less to the distance between user and terminal, it is believed that distance change situation is moves closer to user, if detecting user It is increasing with the distance between terminal, it is believed that distance change situation is to be gradually distance from user.
Step 102, according to the distance or distance change situation generation volume adjustment message, and be sent to voice transmission Terminal, to indicate that the voice sends the broadcast sound volume of the transmitted voice of terminal adjustment.
According to the distance or distance change situation generation volume adjustment message, and volume adjustment message is sent Terminal is sent to voice, to indicate that the voice sends the broadcast sound volume of the transmitted voice of terminal adjustment.Wherein, the voice Send terminal be communication process in speech production and sender, can be by detecting whether the microphone of terminal collects audio number According to it is voice transmission terminal that the terminal is determined if voice data is collected.
Voice sends terminal after the volume adjustment message of phonetic incepting terminal transmission is received, and adjusts the language that will be sent The broadcast sound volume of sound data, and speech data after volume is adjusted is sent to voice and sends terminal.
Step 103, the reception voice send the speech data after the adjustment that terminal is sent, and are broadcast according to the voice after adjustment Playback amount is played out.
Phonetic incepting terminal receives the voice and sends the speech data after the adjustment that terminal is sent, and according to adjustment after Speech play volume carries out the broadcasting of speech data.
It is appreciated that mobile terminal can be phonetic incepting terminal or voice during voice call Terminal is sent, if present terminal, which is voice, sends terminal, can also be comprised the following steps:Receive what phonetic incepting terminal was sent Volume adjusts message, adjusts the volume that message adjustment current speech sends the microphone of terminal according to the volume, is sent out with adjusting The broadcast sound volume of sending voice data.Wherein, it is described that the microphone that message adjustment current speech sends terminal is adjusted according to the volume Volume include:The yield value that message adjustment current speech sends the microphone amplifier of terminal is adjusted according to the volume.
The control method for the mobile terminal playing volume that the present embodiment is provided, by detecting current speech receiving terminal and user The distance between or distance change situation, according to the distance or distance change situation generation volume adjustment message, concurrently Give voice and send terminal, to indicate the broadcast sound volume of the transmitted voice of the phonetic incepting terminal adjustment, receive institute's predicate Sound sends the speech data after the adjustment that terminal is sent, and operation is played out according to the speech data broadcast sound volume after adjustment, can With the broadcast sound volume according to the adaptive adjustment mobile terminal of the distance between mobile terminal and user.
Fig. 3 gives a kind of flow of the control method of mobile terminal playing volume of one embodiment of the invention offer Figure.As shown in figure 3, the method that the present embodiment is provided comprises the following steps:
Step 201, to determine that present terminal is in voice call state and present terminal be phonetic incepting terminal, and detection is described The distance between current speech receiving terminal and user.
Step 202, judge the distance whether be less than the first setpoint distance, if then perform step 203, otherwise perform step Rapid 204.
If the distance is less than the first setpoint distance, show that the user of current speech receiving terminal feels currently playing sound Amount is low, then generates volume and tune up message, and is sent to voice transmission terminal, and follow-up institute is adjusted to indicate that the voice sends terminal The broadcast sound volume of the voice of transmission.First setpoint distance can be set according to user's request, such as by the first setting Distance is set to 1 centimetre.
Step 203, generation volume tune up message, and are sent to voice transmission terminal, to indicate that the voice sends terminal The broadcast sound volume of the transmitted voice of adjustment.
Step 204, judge the distance whether be more than the second setpoint distance, if then perform step 205, otherwise perform step Rapid 206.
If the distance is more than the second setpoint distance, show that the user of current speech receiving terminal feels currently playing sound Amount is high, then generates volume and turn message down, and is sent to voice transmission terminal, and follow-up institute is adjusted to indicate that the voice sends terminal The broadcast sound volume of the voice of transmission.Second setpoint distance can be set according to user's request, such as by the second setting Distance is set to 5 centimetres.
It should be noted that including the first setting when the distance is between the first setpoint distance and the second setpoint distance Distance and the second setpoint distance, then it is believed that user feels that current broadcast sound volume is moderate, then keep current broadcast sound volume.
Step 205, generation volume turn message down, and are sent to voice transmission terminal, to indicate that the voice sends terminal The broadcast sound volume of the transmitted voice of adjustment.
The current broadcast sound volume of step 206, holding.
Step 207, the reception voice send the speech data after the adjustment that terminal is sent, and are broadcast according to the voice after adjustment Playback amount is played out.
The method that the present embodiment is provided, by detecting the distance between current speech receiving terminal and user, when apart from small Volume is generated when the first setting value and tunes up message, generation volume turns message down when distance is more than the second setting value, and by sound Amount tunes up or turned down message and is sent to voice transmission terminal, to indicate that it is transmitted that the phonetic incepting terminal is tuned up or turned down Voice broadcast sound volume, receive the voice and send the speech data after the adjustment that terminal is sent, according to the voice after adjustment Data playback volume plays out operation, can be according to the distance between mobile terminal and user adaptive adjustment mobile terminal Broadcast sound volume.
Fig. 4 gives a kind of flow of the control method of mobile terminal playing volume of one embodiment of the invention offer Figure.As shown in figure 4, the control method for the mobile terminal playing volume that the present embodiment is provided comprises the following steps:
Step 301, to determine that present terminal is in voice call state and present terminal be phonetic incepting terminal, and detection is described The distance between current speech receiving terminal and user situation of change.
Step 302, judge whether the distance change situation is to move closer to user, if then performing step 303, otherwise Perform step 304.
If the distance change situation shows that the user of current speech receiving terminal feels current to move closer to user Broadcast sound volume is low, then generates volume and tune up message, and is sent to voice transmission terminal, is tuned up with indicating that the voice sends terminal The broadcast sound volume for the voice that will subsequently send.
Step 303, generation volume tune up message, and are sent to voice transmission terminal, to indicate that the voice sends terminal Tune up the broadcast sound volume of transmitted voice.
Step 304, judge whether the distance change situation is to be gradually distance from user, if then performing step 305, otherwise Perform step 306.
If the distance change situation shows that the user of current speech receiving terminal feels current to be gradually distance from user Broadcast sound volume is high, then generates volume and turn message down, and is sent to voice transmission terminal, is turned down with indicating that the voice sends terminal The broadcast sound volume for the voice that will subsequently send.
Step 305, generation volume turn message down, and are sent to voice transmission terminal, to indicate that the voice sends terminal Turn the broadcast sound volume of transmitted voice down.
Step 306, distance change situation is determined not change, and keep current broadcast sound volume.
If detecting distance change situation not change, current broadcast sound volume is kept to play out.
Step 307, the reception voice send the speech data after the adjustment that terminal is sent, and are broadcast according to the voice after adjustment Playback amount is played out.
Receive voice send terminal send tune up or turn down after speech data, and according to tuning up or turning down after Speech play volume carries out the broadcasting of speech data.
The method that the present embodiment is provided, by detecting the distance between current speech receiving terminal and user situation of change, Message is tuned up for generation volume when moving closer to user when distance change situation, when distance change situation for when being gradually distance from user Generate volume and turn message down, and volume is tuned up or turned down message and be sent to voice transmission terminal, to indicate that the voice connects The broadcast sound volume that terminal tuned up or turned down transmitted voice is received, the voice is received and sends the language after the adjustment that terminal is sent Sound data, operation is played out according to the speech data broadcast sound volume after adjustment, can be according between mobile terminal and user The broadcast sound volume of the adaptive adjustment mobile terminal of distance.
On the basis of above-described embodiment, if the distance change situation generates volume to move closer to user Tuning up message, and be sent to voice transmission terminal to include:If the distance change situation is moves closer to user, the The first distance change of timing acquisition speed during one distance change;When the first distance change speed got is less than or waits When setting speed, generation volume tunes up the volume adjustment message of the first setting value, and is sent to voice transmission terminal;Work as acquisition When the first distance change speed arrived is more than setting speed, generation volume tunes up the volume adjustment message of the second setting value, concurrently Give voice and send terminal, second setting value is more than the first setting value.Wherein, the timing acquisition distance change speed can Think and obtained once every 1 second.
It is described to move closer to user and be divided into two kinds of situations:1st, it is slow close to user with less speed;2nd, with larger speed Degree is very fast close to user.In the first scenario, the first distance change speed is less than or equal to setting speed, in second of feelings Under condition, the first distance change speed is more than setting speed.In the first scenario, the time that user is moved closer to used in user can Can be longer, such as 3 seconds, then the 3 secondary volumes for tuning up the first setting value into volume will be performed and adjust message, and be sent to voice The operation of terminal is sent, will indicate that voice sends terminal and increases the volume of 3 the first setting values successively.The reason for so setting It is:Under the scene that terminal slowly moves closer to user, illustrate that user thinks that currently playing volume is somewhat small and needs to tune up volume, But it is not very strong that volume, which tunes up demand, then volume can gradually be increased to less first setting value, it is clear that the realization Mode is more fitted the demand of user.In the latter case, user's quick time close to user may be shorter, such as 1 second, So perform the 1 secondary volume for tuning up the first setting value into volume and adjust message, and be sent to the operation that voice sends terminal, i.e., It will indicate that voice sends terminal and increases the volume of 1 the second setting value.So set the reason for be:It is quick close to user in terminal Scene under, illustrate that user thinks that currently playing volume is somewhat small and needs to tune up volume, and tune up the demand of volume than stronger, So broadcast sound volume directly can be increased by a second larger setting value by terminal after user after 1 second, it is clear that the realization Mode is more fitted the demand of user.Wherein, first setting value can be 1, and second setting value can be 2.
On the basis of above-described embodiment, if the distance change situation generates volume to be gradually distance from user Turning message down, and be sent to voice transmission terminal to include:If the distance change situation is is gradually distance from user, the Timing acquisition second distance pace of change during two distance changes;When the second distance pace of change got is less than or waits When setting speed, generation volume turns the volume adjustment message of the 3rd setting value down, and is sent to voice transmission terminal;Work as acquisition When the second distance pace of change arrived is more than setting speed, generation volume turns the volume adjustment message of the 4th setting value down, concurrently Give voice and send terminal, the 4th setting value is more than the 3rd setting value.
It is described to be gradually distance from user and be divided into two kinds of situations:1st, it is slow away from user with less speed;2nd, with larger speed Degree is very fast away from user.In the first scenario, second distance pace of change is less than or equal to setting speed, in second of feelings Under condition, second distance pace of change is more than setting speed.In the first scenario, the time that user is gradually distance from used in user can Can be longer, such as 3 seconds, then the 3 secondary volumes for turning the 3rd setting value down into volume will be performed and adjust message, and be sent to voice The operation of terminal is sent, will indicate that voice sends the volume that terminal reduces 3 the 3rd setting values successively.The reason for so setting It is:Slowly it is gradually distance under the scene of user in terminal, illustrates that user thinks that currently playing volume is somewhat big and needs to turn volume down, But it is not very strong that volume, which turns demand down, then volume can be gradually reduced to less 3rd setting value, it is clear that the realization Mode is more fitted the demand of user.In the latter case, user be rapidly directed away from time of user may be shorter, such as 1 second, So perform the 1 secondary volume for turning the 4th setting value down into volume and adjust message, and be sent to the operation that voice sends terminal, i.e., It will indicate that voice sends the volume that terminal reduces 1 the 4th setting value.So set the reason for be:User is rapidly directed away from terminal Scene under, illustrate that user thinks that currently playing volume is somewhat big and needs to turn down volume, and turn the demand of volume down than stronger, So after 1 second terminal away from after user can directly by broadcast sound volume reduce a 4th larger setting value.Wherein, described Three setting values can be 1, and the 4th setting value can be 2.
A kind of structural representation of the control device for mobile terminal playing volume that Fig. 5 provides for one embodiment of the invention Figure, the device can realize by software and/or hardware, it is integrated in the terminal.Detected as shown in figure 5, the device includes distance Module 41, volume adjustment message generating module 42 and speech data playing module 43.
It is described apart from detection module 41, for determining that present terminal is in voice call state and present terminal connects for voice Terminal is received, the distance between the current speech receiving terminal and user or distance change situation is detected;
The volume adjusts message generating module 42, for being adjusted according to the distance or distance change situation generation volume Whole message, and voice transmission terminal is sent to, to indicate that the voice sends the broadcast sound volume of the transmitted voice of terminal adjustment;
The speech data playing module 43, the voice number after the adjustment that terminal is sent is sent for receiving the voice According to being played out according to the speech play volume after adjustment.
Further, the volume adjustment message generating module includes:
Volume tunes up message generation unit, if being less than the first setpoint distance value or distance change situation for the distance To move closer to user, then generate volume and tune up message, and be sent to voice transmission terminal;
Volume turns message generation unit down, if being more than the second setpoint distance value or distance change situation for the distance To be gradually distance from user, then generate volume and turn message down, and be sent to voice transmission terminal.
Further, if the volume tunes up the message generation unit distance change situation to move closer to user, Generate volume and tune up message, and be sent to voice transmission terminal and specifically include:
If the distance change situation is moves closer to user, during the first distance change timing acquisition first away from From pace of change;
When the first distance change speed got is less than or equal to setting speed, generation volume tunes up the first setting The volume adjustment message of value, and it is sent to voice transmission terminal;
When the first distance change speed got is more than setting speed, generation volume tunes up the volume of the second setting value Message is adjusted, and is sent to voice and sends terminal, second setting value is more than the first setting value.
Further, if the volume turns the message generation unit distance change situation down to be gradually distance from user, Generate volume and turn message down, and be sent to voice transmission terminal and specifically include:
If the distance change situation is is gradually distance from user, in second distance change procedure timing acquisition second away from From pace of change;
When the second distance pace of change got is less than or equal to setting speed, generation volume turns the 3rd setting down The volume adjustment message of value, and it is sent to voice transmission terminal;
When the second distance pace of change got is more than setting speed, generation volume turns the volume of the 4th setting value down Message is adjusted, and is sent to voice and sends terminal, the 4th setting value is more than the 3rd setting value.
Further, in addition to volume adjustment message reception module, if for present terminal be voice send terminal, connect The volume adjustment message that phonetic incepting terminal is sent is received, if sending terminal according to volume adjustment message adjustment current speech The volume of cylinder, to adjust the broadcast sound volume of transmitted speech data.
Further, the volume adjustment message reception module adjusts message adjustment current speech according to the volume and sent The volume of the microphone of terminal can include:
The yield value that message adjustment current speech sends the microphone amplifier of terminal is adjusted according to the volume.
The device that the present embodiment is provided, by detecting the distance between current speech receiving terminal and user or distance change Situation, according to the distance or distance change situation generation volume adjustment message, and is sent to voice transmission terminal, to indicate The broadcast sound volume of the transmitted voice of the phonetic incepting terminal adjustment, receives the voice and sends after the adjustment that terminal is sent Speech data, operation is played out according to the speech data broadcast sound volume after adjustment, can be according between mobile terminal and user Distance adaptively adjustment mobile terminal broadcast sound volume.
A kind of structural representation for mobile terminal that Fig. 6 provides for one embodiment of the invention, the mobile terminal can be wrapped The control device of mobile terminal playing volume provided in an embodiment of the present invention is included, as shown in fig. 6, the mobile terminal can include: Memory 501, central processing unit (Central Processing Unit, CPU) 502 (also known as processor, hereinafter referred to as CPU), The memory 501, for storing executable program code;The processor 502 is stored by reading in the memory 501 Executable program code run program corresponding with the executable program code, for performing:Determine present terminal It is phonetic incepting terminal in voice call state and present terminal, detects between the current speech receiving terminal and user Distance or distance change situation;According to the distance or distance change situation generation volume adjustment message, and it is sent to language Sound sends terminal, to indicate that the voice sends the broadcast sound volume of the transmitted voice of terminal adjustment;The voice is received to send Speech data after the adjustment that terminal is sent, is played out according to the speech play volume after adjustment.
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 or realization in the combination of hardware and software.
Below with regard to the present embodiment offer for controlling the mobile terminal of broadcast sound volume to be described in detail, the movement is whole End is by taking mobile phone as an example.
Memory 501, the memory 501 can be accessed by CPU502, Peripheral Interface 503 etc., and the memory 501 can With including high-speed random access memory, nonvolatile memory can also be included, 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 peripheral 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 One or more input controllers 5092 for controlling 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 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 is the input interface and output interface between user terminal and user, can Depending on output display to user, visual output can include figure, text, icon, video etc..
Display controller 5091 in I/O subsystems 509 receives electric signal from touch-screen 512 or sent out to touch-screen 512 Electric signals.The contact detected is converted to and shown by the contact on the detection touch-screen of touch-screen 512, display controller 5091 The interaction of user interface object on touch-screen 512, that is, realize man-machine interaction, is shown in the user interface 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 the extension for not showing the touch sensitive surface visually exported, or the touch sensitive surface formed by touch-screen.
RF circuits 505, are mainly used in setting up the communication of mobile phone and wireless network (i.e. network side), realize mobile phone and wireless network The data receiver of network and transmission.Such as transmitting-receiving short message, Email.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's mark mould Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 506, 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, 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 503 is supplied Electricity and power management.
Above-mentioned mobile terminal can perform the method that any embodiment of the present invention is provided, and possess the corresponding function of execution method Module, by detecting the distance between current speech receiving terminal and user or distance change situation, according to the distance or Distance change situation generation volume adjustment message, and voice transmission terminal is sent to, to indicate that the phonetic incepting terminal is adjusted The broadcast sound volume of transmitted voice, receives the voice and sends the speech data after the adjustment that terminal is sent, after adjustment Speech data broadcast sound volume play out operation, can be moved according to the adaptive adjustment of the distance between mobile terminal and user The broadcast sound volume of dynamic terminal.
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 when being performed by computer processor for performing a kind of control method of mobile terminal playing volume, and this method includes: Determine that present terminal is in voice call state and present terminal is phonetic incepting terminal, detect the current speech receiving terminal With the distance between user or distance change situation;Disappeared according to the distance or the generation volume adjustment of distance change situation Breath, and voice transmission terminal is sent to, to indicate that the voice sends the broadcast sound volume of the transmitted voice of terminal adjustment;Receive The voice sends the speech data after the adjustment that terminal is sent, and is played out according to the speech play volume after adjustment.
Storage medium --- any various types of memory devices or storage device.Term " storage medium " is intended to bag 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 to 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 the 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 (for example 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 control method operation for the mobile terminal playing volume that executable instruction is not limited to the described above, can also carry out of the invention any Associative operation in the control method for the mobile terminal playing volume that embodiment is provided.
The technical principle that above are only presently preferred embodiments of the present invention and used.The invention is not restricted to spy described here Determine embodiment, the various significant changes that can carry out for a person skilled in the art, readjust and substitute all without departing from Protection scope of the present invention.Therefore, although the present invention is described in further detail by above example, but this hair It is bright to be not limited only to above example, without departing from the inventive concept, other more equivalence enforcements can also be included Example, and the scope of the present invention is determined by the scope of claim.

Claims (11)

1. a kind of control method of mobile terminal playing volume, it is characterised in that including:
Determine that present terminal is in voice call state and present terminal is phonetic incepting terminal, detect that the current speech is received The distance between terminal and user or distance change situation;
According to the distance or distance change situation generation volume adjustment message, and voice transmission terminal is sent to, to indicate The voice sends the broadcast sound volume of the transmitted voice of terminal adjustment;
Receive the voice and send the speech data after the adjustment that terminal is sent, broadcast according to the speech play volume after adjustment Put.
2. according to the method described in claim 1, it is characterised in that volume is generated according to the distance or distance change situation Adjusting message, and be sent to voice transmission terminal includes:
If the distance is less than the first setpoint distance value or distance change situation to move closer to user, generation volume is tuned up Message, and it is sent to voice transmission terminal;
If the distance is more than the second setpoint distance value or distance change situation to be gradually distance from user, generation volume is turned down Message, and it is sent to voice transmission terminal.
3. method according to claim 2, it is characterised in that if the distance change situation is to move closer to use Family, then generating volume and tune up message, and be sent to voice transmission terminal includes:
If the distance change situation is moves closer to user, timing acquisition first is apart from change during the first distance change Change speed;
When the first distance change speed got is less than or equal to setting speed, generation volume tunes up the first setting value Volume adjusts message, and is sent to voice transmission terminal;
When the first distance change speed got is more than setting speed, generation volume tunes up the volume adjustment of the second setting value Message, and voice transmission terminal is sent to, second setting value is more than the first setting value.
4. method according to claim 2, it is characterised in that if the distance change situation is to be gradually distance from use Family, then generating volume and turn message down, and be sent to voice transmission terminal includes:
If the distance change situation is is gradually distance from user, timing acquisition second distance becomes in second distance change procedure Change speed;
When the second distance pace of change got is less than or equal to setting speed, generation volume turns the 3rd setting value down Volume adjusts message, and is sent to voice transmission terminal;
When the second distance pace of change got is more than setting speed, generation volume turns the volume adjustment of the 4th setting value down Message, and voice transmission terminal is sent to, the 4th setting value is more than the 3rd setting value.
5. the method according to claim any one of 1-4, it is characterised in that also include:
If present terminal, which is voice, sends terminal, the volume adjustment message that phonetic incepting terminal is sent is received, according to the sound Amount adjustment message adjustment current speech sends the volume of the microphone of terminal, to adjust the broadcast sound volume of transmitted speech data.
6. method according to claim 5, it is characterised in that described that message adjustment current speech is adjusted according to the volume Sending the volume of the microphone of terminal includes:
The yield value that message adjustment current speech sends the microphone amplifier of terminal is adjusted according to the volume.
7. a kind of control device of mobile terminal playing volume, it is characterised in that including:
Apart from detection module, for determining that present terminal is in voice call state and present terminal is phonetic incepting terminal, inspection Survey the distance between the current speech receiving terminal and user or distance change situation;
Volume adjusts message generating module, for adjusting message according to the distance or distance change situation generation volume, and It is sent to voice and sends terminal, indicates that the voice sends the broadcast sound volume of the transmitted voice of terminal adjustment;
Speech data playing module, sends the speech data after the adjustment that terminal is sent, according to adjustment for receiving the voice Speech play volume afterwards is played out.
8. device according to claim 7, it is characterised in that the volume adjustment message generating module includes:
Volume tunes up message generation unit, if for the distance be less than the first setpoint distance value or distance change situation be by Gradually close to user, then generate volume and tune up message, and be sent to voice transmission terminal;
Volume turns message generation unit down, if for the distance be more than the second setpoint distance value or distance change situation be by Gradually away from user, then generate volume and turn message down, and be sent to voice transmission terminal.
9. device according to claim 8, it is characterised in that the distance becomes if the volume tunes up message generation unit Change situation generates volume to move closer to user, then and tunes up message, and is sent to voice and sends terminal and specifically include:
If the distance change situation is moves closer to user, timing acquisition first is apart from change during the first distance change Change speed;
When the first distance change speed got is less than or equal to setting speed, generation volume tunes up the first setting value Volume adjusts message, and is sent to voice transmission terminal;
When the first distance change speed got is more than setting speed, generation volume tunes up the volume adjustment of the second setting value Message, and voice transmission terminal is sent to, second setting value is more than the first setting value.
10. device according to claim 8, it is characterised in that if the volume turns the message generation unit distance down Situation of change generates volume to be gradually distance from user, then and turns message down, and is sent to voice and sends terminal and specifically include:
If the distance change situation is is gradually distance from user, timing acquisition second distance becomes in second distance change procedure Change speed;
When the second distance pace of change got is less than or equal to setting speed, generation volume turns the 3rd setting value down Volume adjusts message, and is sent to voice transmission terminal;
When the second distance pace of change got is more than setting speed, generation volume turns the volume adjustment of the 4th setting value down Message, and voice transmission terminal is sent to, the 4th setting value is more than the 3rd setting value.
11. a kind of mobile terminal, including memory, processor and storage are on a memory and the calculating that can run on a processor Machine program, it is characterised in that realize following steps during computer program described in the computing device:Determine that present terminal is in Voice call state and present terminal are phonetic incepting terminal, detect the distance between the current speech receiving terminal and user Or distance change situation;
According to the distance or distance change situation generation volume adjustment message, and voice transmission terminal is sent to, to indicate The voice sends the broadcast sound volume of the transmitted voice of terminal adjustment;
Receive the voice and send the speech data after the adjustment that terminal is sent, broadcast according to the speech play volume after adjustment Put.
CN201710253743.3A 2017-04-18 2017-04-18 Control method, device and the mobile terminal of mobile terminal playing volume Pending CN107040661A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710253743.3A CN107040661A (en) 2017-04-18 2017-04-18 Control method, device and the mobile terminal of mobile terminal playing volume

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710253743.3A CN107040661A (en) 2017-04-18 2017-04-18 Control method, device and the mobile terminal of mobile terminal playing volume

Publications (1)

Publication Number Publication Date
CN107040661A true CN107040661A (en) 2017-08-11

Family

ID=59534929

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710253743.3A Pending CN107040661A (en) 2017-04-18 2017-04-18 Control method, device and the mobile terminal of mobile terminal playing volume

Country Status (1)

Country Link
CN (1) CN107040661A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107580113A (en) * 2017-08-18 2018-01-12 广东欧珀移动通信有限公司 Reminding method, device, storage medium and terminal
CN108696639A (en) * 2018-05-10 2018-10-23 Oppo广东移动通信有限公司 Put out screen display methods, mobile terminal and storage medium
CN108924375A (en) * 2018-06-14 2018-11-30 Oppo广东移动通信有限公司 Processing method, device, storage medium and the terminal of ringing volume
WO2019033437A1 (en) * 2017-08-18 2019-02-21 广东欧珀移动通信有限公司 Call control method, apparatus, terminal device, and storage medium
CN110347244A (en) * 2019-06-10 2019-10-18 努比亚技术有限公司 A kind of terminal and its interaction control method, computer readable storage medium
CN112637733A (en) * 2020-12-08 2021-04-09 歌尔科技有限公司 Method and device for automatically adjusting volume of voice equipment and voice equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101808271A (en) * 2010-02-01 2010-08-18 中兴通讯股份有限公司 Method capable of adjusting sound volume of opposite end terminal microphone
CN101969509A (en) * 2010-11-02 2011-02-09 华为终端有限公司 Method for automatically adjusting call volume and communication terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101808271A (en) * 2010-02-01 2010-08-18 中兴通讯股份有限公司 Method capable of adjusting sound volume of opposite end terminal microphone
CN101969509A (en) * 2010-11-02 2011-02-09 华为终端有限公司 Method for automatically adjusting call volume and communication terminal

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107580113A (en) * 2017-08-18 2018-01-12 广东欧珀移动通信有限公司 Reminding method, device, storage medium and terminal
WO2019033437A1 (en) * 2017-08-18 2019-02-21 广东欧珀移动通信有限公司 Call control method, apparatus, terminal device, and storage medium
CN107580113B (en) * 2017-08-18 2019-09-24 Oppo广东移动通信有限公司 Reminding method, device, storage medium and terminal
CN110754097A (en) * 2017-08-18 2020-02-04 Oppo广东移动通信有限公司 Call control method, device, terminal equipment and storage medium
CN108696639A (en) * 2018-05-10 2018-10-23 Oppo广东移动通信有限公司 Put out screen display methods, mobile terminal and storage medium
CN108924375A (en) * 2018-06-14 2018-11-30 Oppo广东移动通信有限公司 Processing method, device, storage medium and the terminal of ringing volume
CN110347244A (en) * 2019-06-10 2019-10-18 努比亚技术有限公司 A kind of terminal and its interaction control method, computer readable storage medium
CN112637733A (en) * 2020-12-08 2021-04-09 歌尔科技有限公司 Method and device for automatically adjusting volume of voice equipment and voice equipment
CN112637733B (en) * 2020-12-08 2023-02-28 歌尔科技有限公司 Method and device for automatically adjusting volume of voice equipment and voice equipment

Similar Documents

Publication Publication Date Title
CN110139262B (en) Bluetooth communication control method and related product
CN107040661A (en) Control method, device and the mobile terminal of mobile terminal playing volume
CN107040660A (en) Control method, device and the mobile terminal of mobile terminal playing volume
CN107343076A (en) Volume adjusting method, device, storage medium and mobile terminal
CN110870201A (en) Audio signal adjusting method and device, storage medium and terminal
CN107509153A (en) Detection method, device, storage medium and the terminal of Audio Players part
CN106170034B (en) A kind of sound effect treatment method and mobile terminal
CN111370018B (en) Audio data processing method, electronic device and medium
CN107491560A (en) Page pictures display methods, device, storage medium, server and mobile terminal
CN107562405A (en) Audio play control method, device and storage medium and mobile terminal
WO2015024434A1 (en) Devices and methods for audio volume adjustment
CN108418969B (en) Antenna feed point switching method and device, storage medium and electronic equipment
CN107678823A (en) Control method, device and the storage medium and mobile terminal of mobile terminal application
CN107483735A (en) Method for controlling volume, device and the storage medium and mobile terminal of mobile terminal
CN107547704A (en) Call MIC switching method, device and mobile terminal
CN109067965B (en) Translation method, translation device, wearable device and storage medium
CN106776385A (en) A kind of transmission method of daily record log information, device and terminal
CN112230877A (en) Voice operation method and device, storage medium and electronic equipment
CN108769401B (en) Signal detection method and related product
CN107371102A (en) Control method, device and the storage medium and mobile terminal of audio broadcast sound volume
CN106878915A (en) The control method of playback equipment, device and playback equipment and mobile terminal
CN111061450B (en) Parameter adjusting method and electronic equipment
CN110363702B (en) Image processing method and related product
CN107508983A (en) volume adjusting method, device, storage medium and terminal device
CN104301824A (en) Drive-by-wire device, controller, method and 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170811