CN107147767A - 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
CN107147767A
CN107147767A CN201710526169.4A CN201710526169A CN107147767A CN 107147767 A CN107147767 A CN 107147767A CN 201710526169 A CN201710526169 A CN 201710526169A CN 107147767 A CN107147767 A CN 107147767A
Authority
CN
China
Prior art keywords
call
terminal
volume
environment
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.)
Granted
Application number
CN201710526169.4A
Other languages
Chinese (zh)
Other versions
CN107147767B (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 invention provides a kind of In Call control method, device, storage medium and terminal.The In Call control method, applied in terminal, comprises the following steps:During call, the distance between the current call mode of terminal and the terminal and user value are obtained, the call mode includes handset mode and hands-free mode;Initial call volume is set according to the call mode and the distance value;Obtain the first environment noise figure that the terminal is presently in environment;Actual In Call is set according to the first environment noise figure and the initial call volume.The present invention can improve the intelligence degree of In Call regulation.

Description

In Call control method, device, storage medium and terminal
Technical field
The present invention relates to the communications field, more particularly to a kind of In Call control method, device, storage medium and end End.
Background technology
With the development of terminal technology, mobile terminal has begun to simply provide verbal system from the past and become one gradually The platform of individual common software operation.The platform is no longer to provide call management as main purpose, and being to provide one includes call Running environment including management, Entertainment, office account, the types of applications software such as mobile payment, with substantial amounts of popularization, Every aspect through life deeply to people, work.
In communication process, In Call all pre-sets or manually adjusted, and intelligence degree is too low.
The content of the invention
The embodiment of the present invention provides a kind of In Call control method, device, storage medium and terminal, can improve call The intelligence degree of volume adjusting.
The embodiments of the invention provide a kind of In Call control method, applied in terminal, methods described includes following Step:
During call, the distance between the current call mode of terminal and the terminal and user value are obtained, it is described Call mode includes handset mode and hands-free mode;
Initial call volume is set according to the call mode and the distance value;
Obtain the first environment noise figure that the terminal is presently in environment;
Actual In Call is set according to the first environment noise figure and the initial call volume.
The embodiments of the invention provide a kind of In Call control device, applied in terminal, described device includes:
First acquisition module, in call, obtaining the current call mode of terminal and the terminal with using The distance between family is worth, and the call mode includes handset mode and hands-free mode;
First setup module, for setting initial call volume according to the call mode and the distance value;
Second acquisition module, the first environment noise figure of environment is presently in for obtaining the terminal;
Second setup module, for setting actual logical according to the first environment noise figure and the initial call volume Speech amount.
The embodiments of the invention provide a kind of storage medium, be stored with a plurality of instruction, and the instruction is loaded simultaneously by processor Perform the method described in any of the above-described.
The embodiments of the invention provide a kind of terminal, it is characterised in that including memory, processor and is stored in memory Computer program that is upper and can running on a processor, realization is any as described above during computer program described in the computing device Described method.
The embodiment of the present invention is by call, obtaining the current call mode of the terminal and the terminal and user The distance between value, the call mode include handset mode and hands-free mode;According to the call mode and the distance Value sets initial call volume;Obtain the first environment noise figure that the terminal is presently in environment;According to the first environment Noise figure and the initial call volume set actual In Call, with speech quality is improved, can improve In Call The intelligence degree of regulation.
Brief description of the drawings
Fig. 1 be one embodiment of the invention in In Call control method schematic diagram of a scenario.
Fig. 2 be one embodiment of the invention in In Call control method the first flow chart.
Fig. 3 be one embodiment of the invention in In Call control method second of flow chart.
Fig. 4 be one embodiment of the invention in In Call control method the third flow chart.
Fig. 5 be one embodiment of the invention in In Call control device the first structure chart.
Fig. 6 be one embodiment of the invention in In Call control device second of structure chart.
Fig. 7 be one embodiment of the invention in In Call control device the third structure chart.
Fig. 8 be one embodiment of the invention in In Call control device the 4th kind of structure chart.
Fig. 9 be one embodiment of the invention in In Call control device the 5th kind of structure chart.
Figure 10 be one embodiment of the invention in terminal a kind of structure chart.
Figure 11 be one embodiment of the invention in terminal another structure chart.
Embodiment
It refer to schema, wherein identical element numbers represent identical component, principle of the invention is to implement one Illustrated in appropriate computing environment.The following description is that, based on the illustrated specific embodiment of the invention, it should not be by It is considered as the limitation present invention other specific embodiments not detailed herein.
In the following description, specific embodiment of the invention will be referred to as the operation performed by one or multi-section computer The step of and symbol illustrate, unless otherwise stating clearly.Therefore, it will appreciate that these steps and operation, be carried for several times wherein having To be performed by computer, include by representing with the computer disposal list of the electronic signal of the data in a structuring pattern Member is manipulated.At this manipulation transforms data or the position being maintained in the memory system of the computer, it can match somebody with somebody again Put or change in a manner familiar to those skilled in the art in addition the running of the computer.The data knot that the data are maintained Structure is the provider location of the internal memory, and it has the particular characteristics as defined in the data format.But, the principle of the invention is with above-mentioned Word illustrates, it 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 among hardware.
It refer to Fig. 1 and Fig. 2, Fig. 1 be that the scenes of 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 comprises the following steps:
When S101, call, the distance between the current call mode of terminal and 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 use loudspeaker sounding Call mode.Headset mode refers to insert after earphone in terminal, using earphone come transaudient call mode.
In this step, the distance between terminal and user value can be obtained by range sensor.Wherein, it is different Call mode is detected using the sensor of diverse location.
When in handset mode, because the position of sounding is located at receiver, therefore selection at the receiver away from The distance value of user and terminal is detected from sensor.
When in hands-free mode, the position of sounding is loudspeaker, therefore selection is in the range sensor at loudspeaker To detect the distance value of user and terminal.
S102, initial call volume set according to the call mode and the distance value.
In this step, initial call volume can be set according to below equation:Q=xq0, wherein q0It is current talking Volume basic value under pattern, x is influence coefficient of the distance to call under present talk mode.
In certain embodiments, because the left and right ear of people is different for the identification sensitivity of sound, therefore, 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 Really;Initial call volume is set according to the testing result and the distance value.Wherein, the left ear of user or auris dextra is sensitive During degree can be according to usual using terminal, volume during audio-frequency information is listened to using handset mode and sets custom to divide Analysis is obtained.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 acquisition terminal are presently in the first environment noise figure of environment.
In this step, typically in communication process, the voice signal that can be all gathered to microphone carries out ambient noise and gone Remove, therefore ambient noise value can be obtained using the voice signal after the voice signal of non-denoising and denoising.
In certain embodiments, step S103 comprises the following steps:
S1031, the timbre information for obtaining user.
S1032, to the terminal gather voice signal carry out tone color identification, when it is unidentified arrive the timbre information when, Judge that user does not speak.Before this step, it is necessary to be modeled and learn, it is necessary to which first collection is used to the timbre information of user Several common expressions at family are analyzed and learnt, to set up 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, actual In Call set according to the first environment noise figure and the initial call volume.
In this step, the first environment noise figure is bigger, and the modification to initial call volume is bigger, so that actual call The difference of volume and initial call volume is bigger.
In certain embodiments, step S104 includes:
S1041, noise is obtained according to the first environment noise figure and the distance value influence degree of call is joined Number.In communication process, the difference of distance value, identical first environment noise figure is also different to the influence degree of call, by Nearer in terminal and human ear distance, terminal is higher for the isolation of ambient noise in itself.
S1042, actual In Call set 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 corresponds to one and repaiied On the occasion of it can be drawn by test of many times, and be 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 call, obtaining the current call mode of the terminal and described The distance between terminal and user value, the call mode include handset mode and hands-free mode;According to the call mode with And the distance value sets initial call volume;Obtain the first environment noise figure that the terminal is presently in environment;According to institute State first environment noise figure and the initial call volume sets actual In Call, with raising speech quality, Ke Yiti The intelligence degree of high In Call regulation, beneficial effect of the reduction ambient noise on call influence.
It refer to Fig. 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 comprises the following steps:
When S201, call, the distance between the current call mode of terminal and 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 use loudspeaker sounding Call mode.Certainly, in practice, call mode also includes headset mode, but under headset mode, earphone is directly filled in human ear In, the setting of In Call in this programme with apart from unrelated, therefore, being not related to.
In this step, the distance between terminal and user value can be obtained by range sensor.Wherein, it is different Call mode is detected using the sensor of diverse location.
When in handset mode, because the position of sounding is located at receiver, therefore selection at the receiver away from The distance value of user and terminal is detected from sensor.
When in hands-free mode, the position of sounding is loudspeaker, therefore selection is in the range sensor at loudspeaker To detect the distance value of user and terminal.
S202, initial call volume set according to the call mode and the distance value.
In this step, initial call volume can be set according to below equation:Q=q0+xq0, wherein, wherein q0It is Volume basic value under present talk mode, x is influence coefficient of the distance to call under present talk mode.
In certain embodiments, because the left and right ear of people is different for the identification sensitivity of sound, therefore, 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 Really;Initial call volume is set according to the testing result and the distance value.Wherein, the left ear of user or auris dextra is sensitive During degree can be according to usual using terminal, volume during audio-frequency information is listened to using handset mode and sets custom to divide Analysis is obtained.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 acquisition terminal are presently in the first environment noise figure of environment.
In this step, typically in communication process, the voice signal that can be all gathered to microphone carries out ambient noise and gone Remove, therefore ambient noise value can be obtained using the voice signal after the voice signal of non-denoising and denoising.Certainly, also may be used To obtain the first environment noise figure using other modes, for example, the volume intensity value that detection is spoken in gap as user, i.e., The acquisition of first environment noise figure can be realized.
Referring to Fig. 4, in certain embodiments, step S203 comprises the following steps:
S2031, the timbre information for obtaining user.Before this step, it is necessary to the timbre information of user is modeled with And study is, it is necessary to which first several common expressions of collection user are analyzed and learnt, to set up the tone color model of user.So as to It is called when needing to carry out tone color identification.
S2032, to the terminal gather voice signal carry out tone color identification, when it is unidentified arrive 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.
S204, acquisition and the second environment noise figure of the equipment local environment of the terminal call.
In this step, detected, and be sent in the terminal by the equipment during 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, actual conversation voice set 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 the modification to initial call volume is bigger, so that actual logical The difference of speech amount and initial call volume is bigger.
In certain embodiments, step S205 includes:
S2051, according to the first environment noise figure, the second environment noise figure and the distance value obtain noise 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, because terminal and human ear distance are nearer, terminal is higher for the isolation of ambient noise in itself.In addition, second environment Noise figure also has an impact to influence degree parameter, and it is mainly based upon the intensity level of itself to influence the influence degree parameter, phase For, second environment noise figure comes for the weighted value of the influence degree parameter relative to the weighted value of first environment noise figure Say small.In actual applications, each first environment noise figure, second environment can be calculated by advance repeated detection Noise figure and apart from the corresponding influence degree parameter.
S2052, actual In Call set according to the influence degree parameter and the initial call volume of stating.At this Step is red, when being modified according to influence degree parameter to initial call volume, and each influence degree parameter all corresponds to one and repaiied On the occasion of it can be drawn by test of many times, and be 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 call, obtaining the current call mode of the terminal and described The distance between terminal and user value, the call mode include handset mode and hands-free mode;According to the call mode with And the distance value sets initial call volume;Obtain the first environment noise figure that the terminal is presently in environment;According to institute State first environment noise figure and the initial call volume sets actual In Call, with speech quality is improved, reduction is made an uproar Beneficial effect of the sound on call influence.
It refer to Fig. 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 includes:First acquisition module 301, the first setup module 302, the second acquisition module 303, Second setup module 304.
Wherein, the first acquisition module 301 is used to, in call, obtain the current call mode of terminal and the end The distance between end and user value, the call mode include handset mode and hands-free mode.
First setup module 302 is used to set initial call volume according to the call mode and the distance value.
Referring to Fig. 6, in certain embodiments, first setup module 302 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 set initial call volume according to the testing result and the distance value.
Second acquisition module 303 is used to obtain the first environment noise figure that the terminal is presently in environment.
Referring to Fig. 7, in certain embodiments, the second acquisition module 303 includes:Second acquisition unit 3031, sentence Disconnected unit 3032 and detection unit 3033.
Wherein, second acquisition unit 3031 is used for the timbre information for obtaining user;Judging unit 3032, for the end End collection voice signal carry out tone color identification, when it is unidentified arrive the timbre information when, judge that user does not speak.Detection unit 3033 are used to detect 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 set actual according to the first environment noise figure and the initial call volume In Call.
Referring to Fig. 8, in certain embodiments, the second setup module 304 includes: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 Speech amount sets actual In Call.
Referring to Fig. 9, in certain embodiments, the device also includes:3rd acquisition 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 the initial call volume sets actual In Call.
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 influence degree parameter of the noise to call;First setting unit, for being joined according to influence degree Count and state initial call volume and actual In Call is set.
It refer to Figure 10, 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 performing Method in embodiment.For example, it can perform following steps:During call, obtain the current call mode of the terminal and The distance between the terminal and user value, the call mode include handset mode and hands-free mode;According to the call mould Formula and the distance value set initial call volume;Obtain the first environment noise figure that the terminal is presently in environment;Root According to the first environment noise figure and the initial call volume, actual In Call is set.
It refer to Figure 11, Figure 11 is another structure chart of the terminal in one embodiment of the invention.The terminal 500 can be Mobile phone, tablet personal computer etc..The terminal 500 can include radio frequency (RF, Radio Frequency) circuit 501, include one or The memory 502 of more than one computer-readable recording medium, input block 503, display unit 504, sensor 505, audio Circuit 506, Wireless Fidelity (WiFi, Wireless Fidelity) module 507, include one or more than one process cores The parts such as the processor 508 and power supply 509 of the heart.It will be understood by those skilled in the art that the terminal structure shown in Figure 11 is simultaneously The not restriction of structure paired terminal, can include than illustrating more or less parts, either combine some parts or different Part is arranged.Wherein:
RF circuits 501 can be used for receive and send messages or communication process in, the reception and transmission of signal, especially, by base station After downlink information is received, transfer to one or more than one processor 508 is handled;In addition, being sent to up data are related to Base station.
Memory 502 can be used for storage software program and module, and processor 508 is stored in memory 502 by operation Software program and module, so as to perform various function application and data processing.
Input block 503 can be used for the numeral or character information for receiving input, and generation to be set with user and function The relevant keyboard of control, mouse, action bars, optics or the input of trace ball signal.Specifically, in a specific embodiment In, input block 503 may include touch sensitive surface and other input equipments.
Display unit 504 can be used for the various of the information that is inputted by user of display or the information for being supplied to user and terminal Graphical user interface, these graphical user interface can be made up of figure, text, icon, video and its any combination.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 the touch operation on or near it, send processing to Device 708 is provided accordingly on a display panel with determining the type of touch event with preprocessor 508 according to the type of touch event Visual output.Although in fig. 11, touch sensitive surface is input to be realized as two independent parts and defeated with display panel Enter function, but it is in some embodiments it is possible to touch sensitive surface and display panel is integrated and realize input and output 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 transducer, wherein, ambient light sensor can be according to ambient light Light and shade adjust the brightness of display panel, proximity transducer can close display panel and/or the back of the body when terminal is moved in one's ear Light.As one kind of motion sensor, gravity accelerometer can detect in all directions (generally three axles) acceleration Size, can detect that size and the direction of gravity when static, available for identification 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 ray sensor, will not be repeated here.
Voicefrequency circuit 506, loudspeaker, microphone can provide the COBBAIF between user and terminal.Voicefrequency circuit 506 can Electric signal after the voice data received is changed, is transferred to loudspeaker, and voice signal output is converted to by loudspeaker;It is another The voice signal of collection is converted to electric signal by aspect, microphone, by voicefrequency circuit 506 receive after be converted to voice data, then After voice data output processor 508 is handled, through RF circuits 501 to be sent to such as another terminal, or by voice data Output is to memory 502 so as to further processing.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 electronicses postal by WiFi module 507 Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Figure 11 is shown WiFi module 507, but it is understood that, it is simultaneously not belonging to must be configured into for terminal, can not change as needed completely Become in the essential scope of invention and omit.
Processor 508 is the control centre of terminal, using various interfaces and the various pieces of connection whole mobile phone, is led to Cross operation or perform and be stored in software program and/or module in memory 502, and call and be stored in memory 502 Data, perform the various functions and processing data of terminal, so as to carry out integral monitoring to mobile phone.
Terminal also 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, so as to realize management charging, electric discharge and power managed by power-supply management system Etc. function.Power supply 509 can also include one or more direct current or AC power, recharging system, power failure inspection The random component such as slowdown monitoring circuit, power supply changeover device or inverter, power supply status indicator.
Although not shown, terminal can also include camera, bluetooth module etc., will not be repeated here.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:During call, the distance between the current call mode of terminal and the terminal and user are obtained Value, the call mode includes handset mode and hands-free mode;Set initial according to the call mode and the distance value In Call;Obtain the first environment noise figure that the terminal is presently in environment;According to the first environment noise figure and The initial call volume sets actual In Call.
There is provided herein the various operations of embodiment.In one embodiment, described one or more operations can be with structure The computer-readable instruction stored on into one or more computer-readable mediums, it will make to succeed in one's scheme when being performed by electronic equipment Calculate equipment and perform the operation.Describing the orders of some or all of operations, to should not be construed as to imply that these operations necessarily suitable Sequence correlation.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 " preferably " 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 favourable.On the contrary, the use purport of word " preferably " Concept is being proposed in a concrete fashion.Term "or" as used in this application is intended to mean the "or" included and non-excluded "or".I.e., unless otherwise or clear from the context, " X means that nature includes any one of arrangement using A or B ". That is, if X uses A;X uses B;Or X uses A and B both, then " X is met using A or B " in foregoing any example.
Although moreover, the disclosure, this area skill has shown and described relative to one or more implementations Art personnel are based on the reading to the specification and drawings and understand it will be appreciated that equivalent variations and modification.The disclosure include it is all this The modifications and variations of sample, and be limited only by the scope of the following claims.Particularly with by said modules (such as element, Resource etc.) various functions that perform, it is intended to correspond to the specified work(for performing the component for describing the term of such component The random component (unless otherwise instructed) of energy (for example it is functionally of equal value), it is illustrated herein with execution in structure The disclosure exemplary implementations in function open structure it is not equivalent.Although in addition, the special characteristic of the disclosure is Through being disclosed relative to the only one in some implementations, but this feature can with such as can be to given or application-specific For be expect and other favourable implementations other one or more combinations of features.Moreover, with regard to term " comprising ", " tool Have ", " containing " or its deformation be used in embodiment or claim 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 be integrated in a processing module or unit list Solely be physically present, can also two or more units be integrated in a module.Above-mentioned integrated module can both be used The form of hardware is realized, it would however also be possible to employ the form of software function module is realized.If the integrated module is with software function The form of module is realized and is situated between as independent production marketing or in use, an embodied on computer readable storage can also be stored in In matter.Storage medium mentioned above can be read-only storage, disk or CD etc..Above-mentioned each device or system, can be with Perform the method in correlation method embodiment.
In summary, although the present invention it is disclosed above with preferred embodiment, but above preferred embodiment and be not used to limit The system present invention, one of ordinary skill in the art without departing from the spirit and scope of the present invention, can make various changes and profit Adorn, therefore protection scope of the present invention is defined by the scope that claim is defined.

Claims (14)

1. a kind of In Call control method, applied in terminal, it is characterised in that comprise the following steps:
During call, the distance between the current call mode of terminal and the terminal and user value, the call are obtained Pattern includes handset mode and hands-free mode;
Initial call volume is set according to the call mode and the distance value;
Obtain the first environment noise figure that the terminal is presently in environment;
Actual In Call is set according to the first environment noise figure and the initial call volume.
2. In Call control method according to claim 1, it is characterised in that described according to the first environment noise figure And the step of initial call volume setting actual In Call includes:
Influence degree parameter of the noise to call is obtained according to the first environment noise figure and the distance value;
Actual In Call is set according to the influence degree parameter and the initial call volume of stating.
3. In Call control method according to claim 1, it is characterised 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 be included according to the step of the first environment noise figure and initial call volume setting actual In Call:
Actual conversation voice is set according to the first environment noise figure, second environment noise figure and the initial call volume Amount.
4. In Call control method according to claim 3, it is characterised in that described according to the first environment noise The step of value, second environment noise figure and the initial call volume set actual In Call includes:
Shadow of the noise to call is obtained according to the first environment noise figure, the second environment noise figure and the distance value Ring extent index;
Actual In Call is set according to the influence degree parameter and the initial call volume of stating.
5. In Call control method according to claim 1, it is characterised in that it is described according to the call mode and The step of distance value sets initial call volume includes:
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 Really;
Initial call volume is set according to the testing result and the distance value.
6. In Call control method according to claim 1, it is characterised in that the acquisition terminal is presently in The step of first environment noise figure of environment, includes:
Obtain the timbre information of user;
To the terminal gather voice signal carry out tone color identification, when it is unidentified arrive the timbre information when, judge user not Speak;
The first volume value when detection user does not speak, and using first volume value as first environment volume value.
7. a kind of In Call control device, applied in terminal, it is characterised in that described device includes:
First acquisition module, in call, obtain the current call mode of terminal and the terminal and user it Between distance value, the call mode include handset mode and hands-free mode;
First setup module, for setting initial call volume according to the call mode and the distance value;
Second acquisition module, the first environment noise figure of environment is presently in for obtaining the terminal;
Second setup module, for setting actual conversation voice according to the first environment noise figure and the initial call volume Amount.
8. In Call control device according to claim 7, it is characterised 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 setting actual conversation voice according to the influence degree parameter and the initial call volume of stating Amount.
9. In Call control device according to claim 7, it is characterised in that also include:
3rd acquisition module, for obtaining the second environment noise figure with the equipment local environment of the terminal call;
Second setup module is used for:
Actual conversation voice is set according to the first environment noise figure, second environment noise figure and the initial call volume Amount.
10. In Call control device according to claim 9, it is characterised 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 Obtain influence degree parameter of the noise to call;
First setting unit, for setting actual conversation voice according to the influence degree parameter and the initial call volume of stating Amount.
11. In Call control device according to claim 7, it is characterised in that first setup module includes:
Detection unit, for when call mode is handset mode, what call was listened in detection user's selection to be left ear or auris dextra, And generate testing result;
Second setting unit, for setting initial call volume according to the testing result and the distance value.
12. In Call control device according to claim 7, it is characterised in that second acquisition module includes:
Second acquisition unit, the timbre information for obtaining user;
Judging unit, the voice signal for being gathered to the terminal carries out tone color identification, and the timbre information is arrived when unidentified When, judge that user does not speak;
Detection unit, the first volume value during for detecting that user does not speak, and using first volume value as first environment sound Value.
13. a kind of storage medium, be stored with a plurality of instruction, it is characterised in that the instruction is by processor loading and perform claim It is required that the method described in any one of 1-6.
14. a kind of terminal, it is characterised in that including memory, processor and store on a memory and can transport on a processor Capable computer program, side of the realization as described in claim any one of 1-6 during computer program described in the computing device Method.
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 true CN107147767A (en) 2017-09-08
CN107147767B 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)

Cited By (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
CN108737619A (en) * 2018-07-03 2018-11-02 佛山市影腾科技有限公司 A kind of call control method of terminal, device and terminal
CN108769364A (en) * 2018-04-13 2018-11-06 Oppo广东移动通信有限公司 Call control method, device, mobile terminal and computer-readable medium
CN108958631A (en) * 2018-07-09 2018-12-07 Oppo广东移动通信有限公司 Screen sounding control method, device and electronic device
CN109842718A (en) * 2017-11-29 2019-06-04 努比亚技术有限公司 A kind of call method of adjustment, terminal and computer readable storage medium

Citations (8)

* 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
CN101740036A (en) * 2009-12-14 2010-06-16 深圳华为通信技术有限公司 Method and device for automatically adjusting call volume
CN102325216A (en) * 2011-06-29 2012-01-18 惠州Tcl移动通信有限公司 Mobile communication equipment and volume control method thereof
CN105225681A (en) * 2014-06-26 2016-01-06 美的集团股份有限公司 Speech playing method and system
CN105657125A (en) * 2014-11-12 2016-06-08 阿尔卡特朗讯 Method and device for adjusting call volume
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

Patent Citations (8)

* 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
CN101740036A (en) * 2009-12-14 2010-06-16 深圳华为通信技术有限公司 Method and device for automatically adjusting call volume
CN102325216A (en) * 2011-06-29 2012-01-18 惠州Tcl移动通信有限公司 Mobile communication equipment and volume control method thereof
CN105225681A (en) * 2014-06-26 2016-01-06 美的集团股份有限公司 Speech playing method and system
CN105657125A (en) * 2014-11-12 2016-06-08 阿尔卡特朗讯 Method and device for adjusting call volume
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

Cited By (6)

* 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
CN109842718A (en) * 2017-11-29 2019-06-04 努比亚技术有限公司 A kind of call method of adjustment, terminal and computer readable storage medium
CN108769364A (en) * 2018-04-13 2018-11-06 Oppo广东移动通信有限公司 Call control method, device, mobile terminal and computer-readable medium
CN108769364B (en) * 2018-04-13 2021-02-02 Oppo广东移动通信有限公司 Call control method, device, mobile terminal and computer readable medium
CN108737619A (en) * 2018-07-03 2018-11-02 佛山市影腾科技有限公司 A kind of call control method of terminal, device and terminal
CN108958631A (en) * 2018-07-09 2018-12-07 Oppo广东移动通信有限公司 Screen sounding control method, device and electronic device

Also Published As

Publication number Publication date
CN107147767B (en) 2019-08-06

Similar Documents

Publication Publication Date Title
CN107147767B (en) In Call control method, device, storage medium and terminal
CN108364644A (en) A kind of voice interactive method, terminal and computer-readable medium
CN106331359B (en) A kind of speech signal collection method, device and terminal
CN107295182A (en) Subway arrival reminding method, device, storage medium and terminal
CN106502906A (en) A kind of method and apparatus of test application program
CN107517494A (en) A kind of display methods of terminal battery electricity quantity, terminal and computer-readable recording medium
CN107633051A (en) Desktop searching method, mobile terminal and computer-readable recording medium
CN105959483B (en) A kind of audio stream processing method and mobile terminal
CN106126165B (en) A kind of audio stream processing method and mobile terminal
CN108594120A (en) Detection method, device and the computer readable storage medium of battery status
CN107729115A (en) A kind of display methods, equipment and computer-readable storage medium
CN107797871A (en) EMS memory occupation method for releasing resource, mobile terminal and computer-readable recording medium
CN108418948A (en) A kind of based reminding method, mobile terminal and computer storage media
CN107786714B (en) Sound control method, apparatus and system based on vehicle-mounted multimedia equipment
CN104699501B (en) A kind of method and device for running application program
CN108196815A (en) A kind of adjusting method and mobile terminal of sound of conversing
CN107846516A (en) One kind call scene reminding method and mobile terminal
CN107403104A (en) A kind of apparatus and method for realizing tables of data inquiry limitation
CN108521501A (en) Pronunciation inputting method and mobile terminal
CN107295183A (en) A kind of alarm clock prompting method, device, storage medium and terminal
CN107317918A (en) Parameter setting method and related product
CN107154262A (en) A kind of voice operating method, device and mobile terminal
CN106486119A (en) A kind of method and apparatus of identification voice messaging
CN107343095A (en) In Call control method, device, storage medium and terminal
CN107241147A (en) Radio frequency interference processing method, device, storage medium and 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