CN107147767B - In Call control method, device, storage medium and terminal - Google Patents

In Call control method, device, storage medium and terminal Download PDF

Info

Publication number
CN107147767B
CN107147767B CN201710526169.4A CN201710526169A CN107147767B CN 107147767 B CN107147767 B CN 107147767B CN 201710526169 A CN201710526169 A CN 201710526169A CN 107147767 B CN107147767 B CN 107147767B
Authority
CN
China
Prior art keywords
call
volume
terminal
value
mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710526169.4A
Other languages
Chinese (zh)
Other versions
CN107147767A (en
Inventor
梁昆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710526169.4A priority Critical patent/CN107147767B/en
Publication of CN107147767A publication Critical patent/CN107147767A/en
Application granted granted Critical
Publication of CN107147767B publication Critical patent/CN107147767B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/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/02Constructional features of telephone sets
    • H04M1/19Arrangements of transmitters, receivers, or complete sets to prevent eavesdropping, to attenuate local noise or to prevent undesired transmission; Mouthpieces or receivers specially adapted therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • 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

Landscapes

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

Abstract

The present invention provides a kind of In Call control method, device, storage medium and terminals.The In Call control method is applied in terminal, comprising the following steps: when call, obtaining the current call mode of the terminal and the distance between the terminal and user value, the call mode includes handset mode and hands-free mode;According to the call mode and the distance value, initial call volume is set;Obtain the first environment noise figure of the terminal current environment;According to the first environment noise figure and the initial call volume, practical In Call is set.The intelligence degree of In Call adjusting can be improved in the present invention.

Description

In Call control method, device, storage medium and terminal
Technical field
The present invention relates to the communications fields, more particularly to a kind of In Call control method, device, storage medium and end End.
Background technique
With the development of terminal technology, mobile terminal has begun from the past and simply provides verbal system and became one gradually The platform of a common software operation.The platform is no longer to provide call management as the main purpose, and being to provide one includes call Running environment including the types of applications softwares such as management, Entertainment, office account, mobile payment, is popularized, with a large amount of Through deeply to people's lives, the every aspect of work.
In communication process, In Call all presets or manually adjusts, and intelligence degree is too low.
Summary of the invention
The embodiment of the present invention provides a kind of In Call control method, device, storage medium and terminal, and call can be improved The intelligence degree of volume adjustment.
The embodiment of the invention provides a kind of In Call control methods, are applied in terminal, the method includes following Step:
When call, the current call mode of the terminal and the distance between the terminal and user value are obtained, it is described Call mode includes handset mode and hands-free mode;
According to the call mode and the distance value, initial call volume is set;
Obtain the first environment noise figure of the terminal current environment;
According to the first environment noise figure and the initial call volume, practical In Call is set.
The embodiment of the invention provides a kind of In Call control devices, are applied in terminal, described device includes:
First obtains module, in call, obtaining the current call mode of the terminal and the terminal and using The distance between family value, the call mode includes handset mode and hands-free mode;
First setup module, for initial call volume to be arranged according to the call mode and the distance value;
Second obtains module, for obtaining the first environment noise figure of the terminal current environment;
Second setup module, for practical logical according to the first environment noise figure and initial call volume setting Speech amount.
The embodiment of the invention provides a kind of storage mediums, are stored with a plurality of instruction, and described instruction is loaded simultaneously by processor Execute method described in any of the above embodiments.
The embodiment of the invention provides a kind of terminals, which is characterized in that including memory, processor and is stored in memory Computer program that is upper and can running on a processor, the processor are realized when executing the computer program as any of the above-described The method.
The embodiment of the present invention is by obtaining the current call mode of the terminal and the terminal and user in call The distance between value, the call mode includes handset mode and hands-free mode;According to the call mode and the distance Value setting initial call volume;Obtain the first environment noise figure of the terminal current environment;According to the first environment Practical In Call is arranged in noise figure and the initial call volume, has and improves speech quality, In Call can be improved The intelligence degree of adjusting.
Detailed description of the invention
Fig. 1 is the schematic diagram of a scenario of the In Call control method in one embodiment of the invention.
Fig. 2 is the first flow chart of the In Call control method in one embodiment of the invention.
Fig. 3 is second of flow chart of the In Call control method in one embodiment of the invention.
Fig. 4 is the third flow chart of the In Call control method in one embodiment of the invention.
Fig. 5 is the first structure chart of the In Call control device in one embodiment of the invention.
Fig. 6 is second of structure chart of the In Call control device in one embodiment of the invention.
Fig. 7 is the third structure chart of the In Call control device in one embodiment of the invention.
Fig. 8 is the 4th kind of structure chart of the In Call control device in one embodiment of the invention.
Fig. 9 is the 5th kind of structure chart of the In Call control device in one embodiment of the invention.
Figure 10 is a kind of structure chart of the terminal in one embodiment of the invention.
Figure 11 is another structure chart of the terminal in one embodiment of the invention.
Specific embodiment
Schema is please referred to, wherein identical component symbol represents identical component, the principle of the present invention is to implement one It is illustrated in computing environment appropriate.The following description be based on illustrated by the specific embodiment of the invention, should not be by It is considered as the limitation present invention other specific embodiments not detailed herein.
In the following description, specific embodiments of the present invention will refer to the operation as performed by one or multi-section computer The step of and symbol illustrate, unless otherwise stating clearly.Therefore, these steps and operation be will appreciate that, mentioned for several times wherein having It include by representing with the computer disposal list of the electronic signal of the data in a structuring pattern to be executed by computer Member is manipulated.At this manipulation transforms data or the position being maintained in the memory system of the computer, it can match again Set or in addition change in a manner familiar to those skilled in the art the running of the computer.The maintained data knot of the data Structure is the provider location of the memory, has the specific feature as defined in the data format.But the principle of the invention is with above-mentioned Text illustrates, is not represented as a kind of limitation, those skilled in the art will appreciate that plurality of step as described below and Operation also may be implemented in hardware.
Fig. 1 and Fig. 2 is please referred to, Fig. 1 is that the scene of the In Call control method and device in the embodiment of the present invention is shown It is intended to.Fig. 2 is the flow chart of the In Call control method in one embodiment of the invention.In the present embodiment, the In Call Control method the following steps are included:
When S101, call, the current call mode of terminal and the distance between terminal and user value, call mode are obtained Including handset mode and hands-free mode.
Wherein, handset mode refers to the call mode using receiver sounding.Hands-free mode refers to using loudspeaker sounding Call mode.After headset mode refers to insertion earphone at the terminal, using earphone come transaudient call mode.
In this step, the distance between terminal and user value can be obtained by range sensor.Wherein, different Call mode is detected using the sensor of different location.
When be in handset mode when, since the position of sounding is located at receiver, selection be in receiver at away from The distance value of user and terminal is detected from sensor.
When being in hands-free mode, the position of sounding is loudspeaker, therefore selects the range sensor at loudspeaker To detect the distance value of user and terminal.
S102, initial call volume is arranged according to the call mode and the distance value.
In this step, initial call volume: q=xq can be set according to the following formula0, wherein q0It is current talking Volume basic value under mode, x are influence coefficient of the distance to call under present talk mode.
In some embodiments, since identification sensitivity of the left and right ear of people for sound is different, in practical application In, when call mode is handset mode, what call was listened in detection user's selection is left ear or auris dextra, and generates detection knot Fruit;According to the testing result and the distance value, initial call volume is set.Wherein, the left ear or auris dextra of user is sensitive During degree can be according to usual using terminal, volume setting habit when listening to audio-frequency information using handset mode is to divide Analysis obtains.It is of course also possible to be detected in advance to the left and right ear of user, to obtain the Sensitirity va1ue of customer acceptance.
S103, the first environment noise figure for obtaining the terminal current environment.
In this step, generally in communication process, the voice signal that can all acquire to microphone carries out ambient noise and goes It removes, therefore ambient noise value can be obtained using the voice signal after the voice signal and denoising not denoised.
In some embodiments, step S103 the following steps are included:
S1031, the timbre information for obtaining user.
S1032, tone color identification is carried out to the voice signal of terminal acquisition, when it is unidentified to the timbre information when, Judge that user does not speak.Before this step, it needs that the timbre information of user is modeled and learnt, needs first to acquire use Several common expressions at family are analyzed and are learnt, to establish the tone color model of user.In order to need to carry out tone color knowledge It is called when other.
The first volume value of S1033, detection user when not speaking, and using first volume value as first environment volume Value.
S104, practical In Call is arranged according to the first environment noise figure and the initial call volume.
In this step, the first environment noise figure is bigger, bigger to the modification of initial call volume, thus practical call The difference of volume and initial call volume is bigger.
In some embodiments, step S104 includes:
S1041, noise is obtained according to the first environment noise figure and the distance value to the influence degree ginseng of call Number.In communication process, the difference of distance value, identical first environment noise figure is also different to the influence degree of call, by Closer with human ear distance in terminal, terminal itself is higher for the isolation of ambient noise.
S1042, practical In Call is arranged according to the influence degree parameter and the initial call volume of stating.At this In step, when being modified according to influence degree parameter to initial call volume, each influence degree parameter all corresponding one is repaired Positive value can obtain by test of many times, and saved it in memory, can be according to current influence when amendment Extent index obtains the correction value.
From the foregoing, it will be observed that the embodiment of the present invention is by obtaining the current call mode of the terminal and described in call The distance between terminal and user value, the call mode includes handset mode and hands-free mode;According to the call mode with And initial call volume is arranged in the distance value;Obtain the first environment noise figure of the terminal current environment;According to institute It states first environment noise figure and practical In Call is arranged in the initial call volume, have and improve speech quality, Ke Yiti The intelligence degree that high In Call is adjusted reduces the beneficial effect that ambient noise influences call.
Referring to figure 3., Fig. 3 is the flow chart of the In Call control method in one embodiment of the invention.In the present embodiment In, the In Call control method the following steps are included:
When S201, call, the current call mode of terminal and the distance between terminal and user value, call mode are obtained Including handset mode and hands-free mode.
Wherein, handset mode refers to the call mode using receiver sounding.Hands-free mode refers to using loudspeaker sounding Call mode.Certainly, in practice, call mode further includes headset mode, but under headset mode, earphone is directly filled in human ear In, therefore the setting of In Call, is not related to apart from unrelated in this programme.
In this step, the distance between terminal and user value can be obtained by range sensor.Wherein, different Call mode is detected using the sensor of different location.
When be in handset mode when, since the position of sounding is located at receiver, selection be in receiver at away from The distance value of user and terminal is detected from sensor.
When being in hands-free mode, the position of sounding is loudspeaker, therefore selects the range sensor at loudspeaker To detect the distance value of user and terminal.
S202, initial call volume is arranged according to the call mode and the distance value.
In this step, initial call volume: q=q can be set according to the following formula0+xq0, wherein wherein q0It is Volume basic value under present talk mode, x are influence coefficient of the distance to call under present talk mode.
In some embodiments, since identification sensitivity of the left and right ear of people for sound is different, in practical application In, when call mode is handset mode, what call was listened in detection user's selection is left ear or auris dextra, and generates detection knot Fruit;According to the testing result and the distance value, initial call volume is set.Wherein, the left ear or auris dextra of user is sensitive During degree can be according to usual using terminal, volume setting habit when listening to audio-frequency information using handset mode is to divide Analysis obtains.It is of course also possible to be detected in advance to the left and right ear of user, to obtain the Sensitirity va1ue of customer acceptance.
S203, the first environment noise figure for obtaining the terminal current environment.
In this step, generally in communication process, the voice signal that can all acquire to microphone carries out ambient noise and goes It removes, therefore ambient noise value can be obtained using the voice signal after the voice signal and denoising not denoised.Certainly, may be used To obtain the first environment noise figure using other modes, for example, detection is spoken the volume intensity value in gap as user, i.e., The acquisition of first environment noise figure may be implemented.
Referring to Fig. 4, in some embodiments, step S203 the following steps are included:
S2031, the timbre information for obtaining user.Before this step, need to model the timbre information of user with And study, the several common expressions for needing first to acquire user are analyzed and are learnt, to establish the tone color model of user.So as to It is called in when needing to carry out tone color identification.
S2032, tone color identification is carried out to the voice signal of terminal acquisition, when it is unidentified to the timbre information when, Judge that user does not speak.
The first volume value of S2033, detection user when not speaking, and using first volume value as first environment volume Value.
The second environment noise figure of the equipment local environment of S204, acquisition and the terminal call.
In this step, it is detected, and is sent in the terminal by the equipment when second environment noise figure.When So, in some embodiments, it is also possible to by the analysis software of terminal come the second environment noise figure of detection device.
S205, practical conversation voice is arranged according to first environment noise figure, second environment noise figure and initial call volume Amount.
In this step, initial call volume is modified according to first environment noise figure, second environment noise figure When, the weighing factor of first environment noise figure is bigger, and the weighing factor of second environment noise figure is relatively small.In the step In, the first environment noise figure and second environment noise figure are bigger, and it is bigger to the modification of initial call volume, thus practical logical Speech amount and the difference of initial call volume are bigger.
In some embodiments, step S205 includes:
S2051, noise is obtained according to the first environment noise figure, the second environment noise figure and the distance value To the influence degree parameter of call.
Wherein, in communication process, the difference of distance value, influence degree of the identical first environment noise figure to call Different, since terminal is closer with human ear distance, terminal itself is higher for the isolation of ambient noise.In addition, second environment Noise figure also has an impact to influence degree parameter, is mainly based upon the intensity value of itself to influence the influence degree parameter, phase For, second environment noise figure carrys out the weighted value of the influence degree parameter relative to the weighted value of first environment noise figure It says and wants small.In practical applications, each first environment noise figure, second environment can be calculated by preparatory repeated detection Noise figure and apart from the corresponding influence degree parameter.
S2052, practical In Call is arranged according to the influence degree parameter and the initial call volume of stating.At this Step is red, and when being modified according to influence degree parameter to initial call volume, each influence degree parameter all corresponding one is repaired Positive value can obtain by test of many times, and saved it in memory, can be according to current influence when amendment Extent index obtains the correction value.
From the foregoing, it will be observed that the embodiment of the present invention is by obtaining the current call mode of the terminal and described in call The distance between terminal and user value, the call mode includes handset mode and hands-free mode;According to the call mode with And initial call volume is arranged in the distance value;Obtain the first environment noise figure of the terminal current environment;According to institute It states first environment noise figure and practical In Call is arranged in the initial call volume, have and improve speech quality, reduction is made an uproar The beneficial effect that sound influences call.
Referring to figure 5., Fig. 5 is the structure chart of the In Call control device in one embodiment of the invention.In the embodiment In, the In Call control device 300 include: the first acquisition module 301, the first setup module 302, second obtain module 303, Second setup module 304.
Wherein, first module 301 is obtained for obtaining the current call mode of the terminal and the end in call The distance between end and user value, the call mode includes handset mode and hands-free mode.
First setup module 302 is used to that initial call volume to be arranged according to the call mode and the distance value.
Referring to Fig. 6, in some embodiments, which includes: detection unit 3021 and Two setting units 3022.
Wherein, detection unit 3021 is used for when call mode is handset mode, and what call was listened in detection user's selection is Left ear or auris dextra, and generate testing result.
Second setting unit 3022 is used to that initial call volume to be arranged according to the testing result and the distance value.
Second acquisition module 303 is used to obtain the first environment noise figure of the terminal current environment.
Referring to Fig. 7, in some embodiments, the second acquisition module 303 includes: second acquisition unit 3031, sentences Disconnected unit 3032 and detection unit 3033.
Wherein, second acquisition unit 3031 is used to obtain the timbre information of user;Judging unit 3032, for the end The voice signal of end acquisition carries out tone color identification, when it is unidentified to the timbre information when, judge that user does not speak.Detection unit 3033 for detecting the first volume value when user does not speak, and using first volume value as first environment volume value.
Second setup module 304 is used to be arranged according to the first environment noise figure and the initial call volume practical In Call.
Referring to Fig. 8, in some embodiments, the second setup module 304 include: first acquisition unit 3041 and First setting unit 3042.
Wherein first acquisition unit 3041 is used to obtain noise according to the first environment noise figure and the distance value To the influence degree parameter of call;First setting unit 3042 is used to initially be led to according to the influence degree parameter and described state Practical In Call is arranged in speech amount.
Referring to Fig. 9, in some embodiments, the device further include: third obtains module 305.For obtain with The second environment noise figure of the equipment local environment of the terminal call;
In this embodiment, the second setup module 304 is used for according to the first environment noise figure, second environment noise figure And practical In Call is arranged in the initial call volume.
Wherein, the second setup module includes: first acquisition unit, for being made an uproar according to first environment noise figure, second environment Sound value and institute's distance value obtain noise to the influence degree parameter of call;First setting unit, for being joined according to influence degree It counts and states initial call volume and practical In Call is set.
Figure 10 is please referred to, Figure 10 is a kind of structure chart of the terminal in one embodiment of the invention.The terminal 400 includes processing Device 401, memory 402, by calling the computer program in the memory 402, the processor 401 is above-mentioned for executing Method in embodiment.For example, it can execute following steps: when call, obtain the current call mode of the terminal and The distance between the terminal and user value, the call mode includes handset mode and hands-free mode;According to the call mould Initial call volume is arranged in formula and the distance value;Obtain the first environment noise figure of the terminal current environment;Root According to the first environment noise figure and the initial call volume, practical In Call is set.
Figure 11 is please referred to, Figure 11 is another structure chart of the terminal in one embodiment of the invention.The terminal 500 can be Mobile phone, tablet computer etc..The terminal 500 may include radio frequency (RF, Radio Frequency) circuit 501, include one or Memory 502, input unit 503, display unit 504, the sensor 505, audio of more than one computer readable storage medium Circuit 506, includes one or more than one processing core at Wireless Fidelity (WiFi, Wireless Fidelity) module 507 The components such as the processor 508 and power supply 509 of the heart.It will be understood by those skilled in the art that terminal structure shown in Figure 11 is simultaneously The not restriction of structure paired terminal may include perhaps combining certain components or different than illustrating more or fewer components Component layout.Wherein:
RF circuit 501 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, one or the processing of more than one processor 508 are transferred to;In addition, the data for being related to uplink are sent to Base station.
Memory 502 can be used for storing software program and module, and processor 508 is stored in memory 502 by operation Software program and module, thereby executing various function application and data processing.
Input unit 503 can be used for receiving the number or character information of input, and generate and user setting and function Control related keyboard, mouse, operating stick, optics or trackball signal input.Specifically, in a specific embodiment In, input unit 503 may include touch sensitive surface and other input equipments.
Display unit 504 can be used for showing information input by user or be supplied to user information and terminal it is various Graphical user interface, these graphical user interface can be made of figure, text, icon, video and any combination thereof.Display Unit 504 may include display panel, optionally, can using liquid crystal display (LCD, Liquid Crystal Display), The forms such as Organic Light Emitting Diode (OLED, Organic Light-Emitting Diode) configure display panel.Further , touch sensitive surface can cover display panel, after touch sensitive surface detects touch operation on it or nearby, send processing to Device 708 is followed by subsequent processing device 508 and is provided on a display panel accordingly according to the type of touch event to determine the type of touch event Visual output.Although touch sensitive surface and display panel are to realize input and defeated as two independent components in Figure 11 Enter function, but in some embodiments it is possible to touch sensitive surface and display panel is integrated and realizes and outputs and inputs function.
Terminal may also include at least one sensor 505, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light Light and shade adjust the brightness of display panel, proximity sensor can close display panel and/or back when terminal is moved in one's ear Light.As a kind of motion sensor, gravity accelerometer can detect (generally three axis) acceleration in all directions Size can detect that size and the direction of gravity when static, can be used to identify mobile phone posture application (such as horizontal/vertical screen switching, Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;It can also configure as terminal The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, details are not described herein.
Voicefrequency circuit 506, loudspeaker, microphone can provide the audio interface between user and terminal.Voicefrequency circuit 506 can By the electric signal after the audio data received conversion, it is transferred to loudspeaker, voice signal output is converted to by loudspeaker;It is another The voice signal of collection is converted to electric signal by aspect, microphone, is converted to audio data after being received by voicefrequency circuit 506, then After the processing of audio data output processor 508, it is sent to such as another terminal through RF circuit 501, or by audio data Output is further processed to memory 502.Voicefrequency circuit 506 is also possible that earphone jack, with provide peripheral hardware earphone with The communication of terminal.
WiFi belongs to short range wireless transmission technology, and terminal can help user's transceiver electronics postal by WiFi module 507 Part, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Figure 11 is shown WiFi module 507, but it is understood that, and it is not belonging to must be configured into for terminal, it can according to need do not changing completely Become in the range of the essence of invention and omits.
Processor 508 is the control centre of terminal, using the various pieces of various interfaces and connection whole mobile phone, is led to It crosses operation or executes the software program and/or module being stored in memory 502, and call and be stored in memory 502 Data execute the various functions and processing data of terminal, to carry out integral monitoring to mobile phone.
Terminal further includes the power supply 509 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe Reason system and processor 508 are logically contiguous, to realize management charging, electric discharge and power managed by power-supply management system Etc. functions.Power supply 509 can also include one or more direct current or AC power source, recharging system, power failure inspection The random components such as slowdown monitoring circuit, power adapter or inverter, power supply status indicator.
Although being not shown, terminal can also include camera, bluetooth module etc., and details are not described herein.Specifically in this implementation In example, the processor 508 in terminal can be corresponding by the process of one or more application program according to following instruction Executable file is loaded into memory 502, and the application program being stored in memory 502 is run by processor 508, from And realize following functions: when call, obtaining the current call mode of the terminal and the distance between the terminal and user Value, the call mode includes handset mode and hands-free mode;It is initial according to the call mode and distance value setting In Call;Obtain the first environment noise figure of the terminal current environment;According to the first environment noise figure and Practical In Call is arranged in the initial call volume.
There is provided herein the various operations of embodiment.In one embodiment, one or more operations can be with structure At the computer-readable instruction stored on one or more computer-readable mediums, will make to succeed in one's scheme when being executed by electronic equipment It calculates equipment and executes the operation.Describing the sequences of some or all of operations, to should not be construed as to imply that these operations necessarily suitable Sequence is relevant.It will be appreciated by those skilled in the art that the alternative sequence of the benefit with this specification.Furthermore, it is to be understood that Not all operation must exist in each embodiment provided in this article.
Moreover, word " preferred " used herein means serving as example, example or illustration.Feng Wen is described as " preferably " any aspect or design be not necessarily to be construed as than other aspect or design it is more advantageous.On the contrary, the use purport of word " preferred " Concept is being proposed in specific ways.Term "or" as used in this application is intended to mean the "or" for including and non-excluded "or".That is, unless specified otherwise or clear from the context, " X uses A or B " means that nature includes any one of arrangement. That is, if X uses A;X uses B;Or X uses A and B both, then " X uses A or B " is met in aforementioned any example.
Moreover, although the disclosure, this field skill has shown and described relative to one or more implementations Art personnel will be appreciated that equivalent variations and modification based on the reading and understanding to the specification and drawings.The disclosure include it is all this The modifications and variations of sample, and be limited only by the scope of the following claims.In particular, to by said modules (such as element, Resource etc.) the various functions that execute, term for describing such components is intended to correspond to the specified function for executing the component The random component (unless otherwise instructed) of energy (such as it is functionally of equal value), even if illustrated herein with execution in structure The disclosure exemplary implementations in function open structure it is not equivalent.In addition, although the special characteristic of the disclosure Through being disclosed relative to the only one in several implementations, but this feature can with such as can be to given or specific application For be expectation and one or more other features combinations of other advantageous implementations.Moreover, with regard to term " includes ", " tool Have ", " containing " or its deformation be used in specific embodiments or claims for, such term be intended to with term The similar mode of "comprising" includes.
Each functional unit in the embodiment of the present invention can integrate in a processing module, be also possible to each unit list It is solely physically present, can also be integrated in two or more units in a module.Above-mentioned integrated module can both use Formal implementation of hardware can also be realized in the form of software function module.If the integrated module is with software function The form of module is realized and when sold or used as an independent product, also can store in computer-readable storage Jie In matter.Storage medium mentioned above can be read-only memory, disk or CD etc..Above-mentioned each device or system, can be with Execute the method in correlation method embodiment.
In conclusion although the present invention has been disclosed above in the preferred embodiment, but above preferred embodiment is not to limit The system present invention, those skilled in the art can make various changes and profit without departing from the spirit and scope of the present invention Decorations, therefore protection scope of the present invention subjects to the scope of the claims.

Claims (10)

1. a kind of In Call control method is applied in terminal, which comprises the following steps:
The timbre information of user is obtained, and the default tone color model of the timbre information and calling is judged, when unidentified When to the timbre information, judge that user does not speak;
When call, the current call mode of the terminal and the distance between the terminal and user value, the call are obtained Mode includes handset mode and hands-free mode;
Initial call volume is set according to the call mode and the distance value, according to formula: q=q0+xq0To be arranged just Beginning In Call, wherein q0It is the volume basic value under present talk mode, x is distance under present talk mode to call Influence coefficient;
Obtain the first environment noise figure of the terminal current environment;
Practical In Call is set according to the first environment noise figure and the initial call volume, detection user does not speak When the first volume value, and using first volume value as first environment volume value, when call mode is handset mode, according to Initial call volume is arranged in the sensitivity of the left ear of user or auris dextra and the distance value.
2. In Call control method according to claim 1, which is characterized in that described according to the first environment noise figure And the initial call volume is arranged the step of practical In Call and includes:
Noise is obtained to the influence degree parameter of call according to the first environment noise figure and the distance value;
According to the influence degree parameter and the initial call volume of stating, practical In Call is set.
3. In Call control method according to claim 1, which is characterized in that further comprising the steps of:
Obtain the second environment noise figure with the equipment local environment of the terminal call;
It is described to include: according to the step of first environment noise figure and initial call volume setting practical In Call
According to the first environment noise figure, second environment noise figure and the initial call volume, practical conversation voice is set Amount.
4. In Call control method according to claim 3, which is characterized in that described according to the first environment noise The step of practical In Call is arranged in value, second environment noise figure and the initial call volume include:
Noise is obtained to the shadow of call according to the first environment noise figure, the second environment noise figure and the distance value Extent index is rung, the second environment noise figure is less than the first environment noise figure for the weighted value of the influence degree parameter Weighted value;
According to the influence degree parameter and the initial call volume of stating, practical In Call, each influence degree ginseng are set Number all corresponds to a correction values, when amendment, obtains the correction value according to current influence degree parameter.
5. a kind of In Call control device, it is applied in terminal, which is characterized in that described device includes:
Second acquisition unit, for obtaining the timbre information of user;
Judging unit, the voice signal for acquiring to the terminal carry out tone color identification, arrive the timbre information when unidentified When, judge that user does not speak;First obtains module, for obtaining the current call mode of the terminal and institute in call The distance between terminal and user value are stated, the call mode includes handset mode and hands-free mode;
First setup module, for initial call volume to be arranged according to the call mode and the distance value, according to formula: Q=q0+xq0Initial call volume is set, wherein q0It is the volume basic value under present talk mode, x is present talk mode Under influence coefficient of the distance to call;
Second obtains module, for obtaining the first environment noise figure of the terminal current environment;
Second setup module, for practical conversation voice to be arranged according to the first environment noise figure and the initial call volume Amount, the first volume value when detection user does not speak, and using first volume value as first environment volume value, work as call mode When for handset mode, initial call volume is arranged according to the sensitivity of the left ear of user or auris dextra and the distance value.
6. In Call control device according to claim 5, which is characterized in that second setup module includes:
First acquisition unit, for obtaining influence of the noise to call according to the first environment noise figure and the distance value Extent index;
First setting unit, for practical conversation voice to be arranged according to the influence degree parameter and the initial call volume of stating Amount.
7. In Call control device according to claim 5, which is characterized in that further include:
Third obtains module, for obtaining and the second environment noise figure of the equipment local environment of the terminal call;
Second setup module is used for:
According to the first environment noise figure, second environment noise figure and the initial call volume, practical conversation voice is set Amount.
8. In Call control device according to claim 7, which is characterized in that the second setup module includes:
First acquisition unit, for according to the first environment noise figure, the second environment noise figure and the distance value Noise is obtained to the influence degree parameter of call, the second environment noise figure is less than the weighted value of the influence degree parameter The weighted value of the first environment noise figure;
First setting unit, for practical conversation voice to be arranged according to the influence degree parameter and the initial call volume of stating Amount, each influence degree parameter all corresponds to a correction value, and when amendment, described repair is obtained according to current influence degree parameter Positive value.
9. a kind of storage medium is stored with a plurality of instruction, which is characterized in that described instruction is by processor load and perform claim is wanted Seek the described in any item methods of 1-4.
10. a kind of terminal, which is characterized in that including memory, processor and store on a memory and can transport on a processor Capable computer program, the processor realize the method as described in claim 1-4 is any when executing the computer program.
CN201710526169.4A 2017-06-30 2017-06-30 In Call control method, device, storage medium and terminal Active CN107147767B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710526169.4A CN107147767B (en) 2017-06-30 2017-06-30 In Call control method, device, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710526169.4A CN107147767B (en) 2017-06-30 2017-06-30 In Call control method, device, storage medium and terminal

Publications (2)

Publication Number Publication Date
CN107147767A CN107147767A (en) 2017-09-08
CN107147767B true CN107147767B (en) 2019-08-06

Family

ID=59785864

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710526169.4A Active CN107147767B (en) 2017-06-30 2017-06-30 In Call control method, device, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN107147767B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107506172A (en) * 2017-09-29 2017-12-22 惠州Tcl移动通信有限公司 Control method, mobile terminal and the storage medium that a kind of In Call automatically adjusts
CN109842718B (en) * 2017-11-29 2020-11-13 山东兴创信息科技有限公司 Call adjustment method, terminal and computer readable storage medium
CN108769364B (en) * 2018-04-13 2021-02-02 Oppo广东移动通信有限公司 Call control method, device, mobile terminal and computer readable medium
CN108737619A (en) * 2018-07-03 2018-11-02 佛山市影腾科技有限公司 A kind of call control method of terminal, device and terminal
CN108958631B (en) * 2018-07-09 2020-11-27 Oppo广东移动通信有限公司 Screen sounding control method and device and electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105225681A (en) * 2014-06-26 2016-01-06 美的集团股份有限公司 Speech playing method and system
CN106453946A (en) * 2016-11-15 2017-02-22 维沃移动通信有限公司 Method for regulating output volume and mobile terminal
CN106878862A (en) * 2016-12-29 2017-06-20 惠州华阳通用电子有限公司 A kind of inter-vehicle information system method for controlling volume and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004221806A (en) * 2003-01-14 2004-08-05 Hitachi Ltd Communication apparatus
CN101242595A (en) * 2007-02-05 2008-08-13 北京三星通信技术研究有限公司 Method for adjusting mobile phone volume
CN101740036B (en) * 2009-12-14 2012-07-04 华为终端有限公司 Method and device for automatically adjusting call volume
CN102325216B (en) * 2011-06-29 2015-07-15 惠州Tcl移动通信有限公司 Mobile communication equipment and volume control method thereof
CN105657125B (en) * 2014-11-12 2018-10-30 阿尔卡特朗讯 A kind of method and apparatus for adjusting In Call

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105225681A (en) * 2014-06-26 2016-01-06 美的集团股份有限公司 Speech playing method and system
CN106453946A (en) * 2016-11-15 2017-02-22 维沃移动通信有限公司 Method for regulating output volume and mobile terminal
CN106878862A (en) * 2016-12-29 2017-06-20 惠州华阳通用电子有限公司 A kind of inter-vehicle information system method for controlling volume and device

Also Published As

Publication number Publication date
CN107147767A (en) 2017-09-08

Similar Documents

Publication Publication Date Title
CN107147767B (en) In Call control method, device, storage medium and terminal
JP2021516786A (en) Methods, devices, and computer programs to separate the voices of multiple people
CN106502906B (en) A kind of method and apparatus of test application program
CN106951850B (en) A kind of method and mobile terminal controlling fingerprint recognition mould group
CN106446841B (en) A kind of fingerprint template matching order update method and terminal
CN105430600B (en) A kind of data transmission method and the terminal of data transmission
CN107276602B (en) Radio frequency interference processing method, device, storage medium and terminal
CN110364156A (en) Voice interactive method, system, terminal and readable storage medium storing program for executing
CN105245993A (en) Automatic earphone volume adjusting method and system, and smart earphone
CN107135419A (en) A kind of method and apparatus for editing video
CN112199246B (en) Terminal test method and device, storage medium and mobile terminal
CN106776301B (en) Subelement testing method and device
CN104010059A (en) Mobile terminal and method and device for making call through mobile terminal
CN108196815A (en) A kind of adjusting method and mobile terminal of sound of conversing
CN108521501A (en) Pronunciation inputting method and mobile terminal
CN106486119B (en) A kind of method and apparatus identifying voice messaging
KR20140116642A (en) Apparatus and method for controlling function based on speech recognition
CN108628534B (en) Character display method and mobile terminal
CN107241147B (en) Radio frequency interference processing method, device, storage medium and terminal
CN103412707A (en) Displaying method, device and equipment for display frame
CN107343095B (en) Call volume control method and device, storage medium and terminal
CN106228994B (en) A kind of method and apparatus detecting sound quality
CN110062412B (en) Wireless pairing method, system, storage medium and mobile terminal
CN108737619A (en) A kind of call control method of terminal, device and terminal
CN106775463B (en) Date storage method, device and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant