CN109451180B - Mobile terminal call audio capacity adjusting method, storage medium and mobile terminal - Google Patents

Mobile terminal call audio capacity adjusting method, storage medium and mobile terminal Download PDF

Info

Publication number
CN109451180B
CN109451180B CN201811624591.4A CN201811624591A CN109451180B CN 109451180 B CN109451180 B CN 109451180B CN 201811624591 A CN201811624591 A CN 201811624591A CN 109451180 B CN109451180 B CN 109451180B
Authority
CN
China
Prior art keywords
capacity
mobile terminal
call
audio
storage space
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
CN201811624591.4A
Other languages
Chinese (zh)
Other versions
CN109451180A (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.)
Shenzhen Huaxi Investment Co ltd
Original Assignee
TCL Mobile Communication Technology Ningbo 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 TCL Mobile Communication Technology Ningbo Ltd filed Critical TCL Mobile Communication Technology Ningbo Ltd
Priority to CN201811624591.4A priority Critical patent/CN109451180B/en
Publication of CN109451180A publication Critical patent/CN109451180A/en
Application granted granted Critical
Publication of CN109451180B publication Critical patent/CN109451180B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72433User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for voice messaging, e.g. dictaphones
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals

Abstract

The invention discloses a mobile terminal call audio capacity adjusting method, a storage medium and a mobile terminal, wherein the method comprises the following steps: when the mobile terminal starts a call, recording the current call sound to a preset time length in a timing manner; calculating an average value of the call sound magnitude in the predetermined time; and adjusting the capacity of the audio storage space according to the average value. The invention can avoid the problem of capacity waste caused by over-large capacity allocation of the storage space, and simultaneously prevent the problem of sound interception caused by insufficient capacity of the storage space allocated for the audio.

Description

Mobile terminal call audio capacity adjusting method, storage medium and mobile terminal
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a method for adjusting call audio capacity of a mobile terminal, a storage medium and the mobile terminal.
Background
The call is one of the most basic functions of the mobile terminal, and the energy consumed by the call is often large because the call process involves the cooperative work of various components such as radio frequency, audio frequency, baseband and the like. In order to keep the mobile terminal stable during the call, the mobile terminal often pre-allocates a section of memory space for processing the voice signal received from the base station. In practical use, the following problems exist: when a relatively rich voice signal is continuously received during a call, the allocated storage space is insufficient, a small portion of the voice signal is cut off, and when the other party does not speak or speaks less, the allocated storage space is wasted if a relatively small or even no voice signal is received.
Accordingly, the prior art is yet to be improved and developed.
Disclosure of Invention
In view of the above-mentioned deficiencies of the prior art, an object of the present invention is to provide a method for adjusting call audio capacity of a mobile terminal, a storage medium and a mobile terminal, which are used to solve the problem in the prior art that the allocation of audio storage space is fixed during a call of the mobile terminal, which is likely to cause the waste of storage space capacity or the cut-off of call sound.
The technical scheme of the invention is as follows:
a method for adjusting the call audio capacity of a mobile terminal comprises the following steps:
when the mobile terminal starts a call, recording the current call sound to a preset time length in a timing manner;
calculating the average value of the call sound in the preset time;
and adjusting the capacity of the audio storage space according to the average value.
The method for adjusting the call audio capacity of the mobile terminal further comprises the following steps: a plurality of continuous sound size intervals and capacity values corresponding to the intervals are preset, and the capacity values corresponding to the intervals are different in size.
The method for adjusting the call audio capacity of the mobile terminal, wherein the step of controlling the audio storage space capacity according to the average value specifically comprises the following steps:
and judging the sound size interval to which the average value belongs, and adjusting the audio storage space to a corresponding capacity value according to the sound size interval.
According to the method for adjusting the call audio capacity of the mobile terminal, when the mobile terminal starts a call, the capacity of the audio storage space is adjusted to a preset value.
The mobile terminal communication audio capacity adjusting method is characterized in that the mobile terminal is a mobile phone or a tablet computer.
A storage medium having stored thereon a plurality of instructions, wherein the instructions are adapted to be loaded by a processor and to carry out the steps of:
when the mobile terminal starts a call, recording the current call sound to a preset time length in a timing manner;
calculating the average value of the call sound in the preset time;
and adjusting the capacity of the audio storage space according to the average value.
The storage medium, wherein the instructions are adapted to be loaded by a processor and further perform:
a plurality of continuous sound size intervals and capacity values corresponding to the intervals are preset, and the capacity values corresponding to the intervals are different in size.
The storage medium, wherein the instructions are adapted to be loaded by a processor and further perform:
and judging the sound size interval to which the average value belongs, and adjusting the audio storage space to a corresponding capacity value according to the sound size interval.
The storage medium, wherein the instructions are adapted to be loaded by a processor and further perform:
when the mobile terminal starts a call, the capacity of the audio storage space is adjusted to a preset value.
A mobile terminal, comprising:
a processor adapted to implement instructions; and
a storage medium adapted to store a plurality of instructions, the instructions adapted to be loaded by a processor and to execute the mobile terminal call audio capacity adjustment method as described above.
Has the advantages that: according to the invention, after the mobile terminal starts a call, the magnitude of the call sound is continuously monitored to the preset time at intervals, and then the magnitude of the capacity distributed to the audio storage space is adjusted according to the average value of the magnitude of the call sound in the preset time, so that the problem of capacity waste caused by overlarge capacity distribution of the storage space is avoided, and the problem of sound cut-off caused by insufficient capacity of the storage space distributed to the audio is also prevented.
Drawings
FIG. 1 is a flowchart illustrating a method for adjusting call audio capacity of a mobile terminal according to a preferred embodiment of the present invention;
fig. 2 is a schematic structural diagram of a mobile terminal according to the present invention.
Detailed Description
The invention provides a method for adjusting the call audio capacity of a mobile terminal, a storage medium and the mobile terminal, and the invention is further described in detail below in order to make the purpose, technical scheme and effect of the invention clearer and clearer. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
A method for adjusting call audio capacity of a mobile terminal, as shown in fig. 1, includes the following steps:
s1, when the mobile terminal starts a call, recording the current call sound to a preset time length in a timing manner;
s2, calculating the average value of the call sound in the preset time;
and S3, adjusting the capacity of the audio storage space according to the average value.
The method for adjusting the call audio capacity of the mobile terminal dynamically adjusts the capacity allocated to the audio storage space according to the current call volume, namely more capacity is allocated to the audio storage space when the call volume is larger, so that the phenomenon of sound interception caused by insufficient capacity of the storage space allocated to audio is prevented; when the call volume is smaller, less capacity is allocated to the audio storage space, so that the problem of capacity waste caused by over-capacity allocation of the audio storage space is avoided
In the present invention, the audio storage space specifically refers to a segment of storage space pre-allocated by the mobile terminal for voice processing of a call, and the storage space is used for processing a voice signal received from the base station.
In step S1, when the mobile terminal starts a call, the current call sound level is recorded at regular time and continues for a predetermined time, that is, after the mobile terminal starts the call, the current call sound level is recorded at intervals and continues for a predetermined time length, so as to calculate the average audio sound level within the predetermined time length. And the current communication sound size is recorded at set time, so that the current communication sound size can be mastered in real time, and the capacity of the audio storage space can be adjusted according to the current sound size. The predetermined time length is set to avoid the situation that the size of the audio storage space is adjusted due to the occasional sound level, namely, the mobile terminal is prevented from adjusting the volume of the audio storage space allocated to the call excessively sensitively.
Obviously, a timer needs to be set, and the current call sound is triggered and recorded when overtime occurs; preferably, the timeout threshold is 5-10 s, that is, the current call sound is detected every 5-10 s. Preferably, the preset time is 1-5 s, namely, the current call sound size of 1-5 s is recorded after the timer is overtime each time. The communication sound magnitude can be a sound volume magnitude or an amplitude magnitude. The predetermined time may be a fixed value or a dynamic value, for example, when it is detected that the noise of the current call environment is too much, the predetermined time may be appropriately shortened, so as to quickly increase the capacity of the storage space and prevent the sound from being cut off.
In addition, in step S1, when the mobile terminal starts a call, the audio storage space is adjusted to a preset capacity value, that is, the size of the audio storage space for audio processing is allocated according to a preset capacity value each time the call is started, and then the size of the storage space is dynamically adjusted according to the size of the call sound. Of course, in step S1, the current audio storage space capacity may be maintained each time the call is ended, and then when the call is opened again, the audio storage space capacity is allocated according to the audio storage space capacity allocated last time the call is made, and then the size of the storage space is dynamically adjusted according to the call sound size.
In step S2, the average value of the call sound level in the predetermined time period needs to be calculated, and specifically, the average value of the call sound level in the predetermined time period may be obtained by integrating the recorded call sound level by time and then dividing the integrated value by the predetermined time period.
In step S3, the volume of the audio storage space is adjusted according to the average value of the call sounds calculated in step S2, specifically, the volume of the audio storage space corresponding to the average value of the call sounds calculated in step S2 is calculated, and then the volume of the audio storage space of the mobile terminal is adjusted to the volume.
Preferably, the plurality of capacity values are different in size, and the plurality of capacity values should match a sound size range in a general call state.
Preferably, a plurality of continuous sound size intervals and capacity values corresponding to the intervals can be preset, the capacity values corresponding to the intervals are different in size, namely, adjacent sound size intervals are continuous but not staggered, a corresponding and matched capacity value is set for each interval, and then when the average value of the call sound sizes is in the sound size interval, the capacity value of the audio storage space of the mobile terminal is adjusted to be the capacity value corresponding to the sound size interval. Obviously, a higher sound should match a larger storage space capacity, and correspondingly, a higher sound size interval also corresponds to a larger storage space capacity; smaller sounds should be matched to a larger storage space capacity, and correspondingly, higher sound size intervals should also be matched to a larger storage space capacity.
Preferably, in step S3, the step of controlling the size of the audio storage space according to the average value specifically includes: and judging the sound size interval to which the average value belongs, adjusting the audio storage space to a corresponding capacity value according to the sound size interval, and storing the opened audio storage space to the corresponding capacity value until next adjustment.
In the method for adjusting the call audio capacity of the mobile terminal, the mobile terminal is a mobile phone or a tablet personal computer, namely, the method for adjusting the call audio capacity is suitable for mobile terminals which can be used for audio or video calls, such as the mobile phone or the tablet personal computer.
The present invention also provides a storage medium having stored thereon a plurality of instructions, wherein the instructions are adapted to be loaded by a processor and to perform the steps of:
when the mobile terminal starts a call, recording the current call sound at regular time and continuing for preset time;
calculating the average value of the call sound in the preset time;
and adjusting the capacity of the audio storage space according to the average value.
The storage medium, wherein the instructions are adapted to be loaded by a processor and further perform:
a plurality of continuous sound size intervals and capacity values corresponding to the intervals are preset, and the capacity values corresponding to the intervals are different in size.
The storage medium, wherein the instructions are adapted to be loaded by a processor and further perform:
and judging the sound size interval to which the average value belongs, and adjusting the audio storage space to a corresponding capacity value according to the sound size interval.
The storage medium, wherein the instructions are adapted to be loaded by a processor and further perform:
when the mobile terminal starts a call, the capacity of the audio storage space is adjusted to a preset capacity value.
Based on the above method, the present invention further provides a mobile terminal, wherein as shown in fig. 2, the method includes:
a processor 100 adapted to implement instructions; and
a storage medium 200 adapted to store a plurality of instructions adapted to be loaded by a processor and to perform the mobile terminal image preview control method as described above.
Technical details and advantages with respect to the above mobile terminal and storage medium have been set forth in the above method and will not be described again.
In summary, according to the method for adjusting the call audio capacity of the mobile terminal, the storage medium and the mobile terminal provided by the present invention, after the mobile terminal starts a call, the magnitude of the call sound is continuously monitored to the predetermined time at intervals, and then the magnitude of the capacity allocated to the audio storage space is adjusted according to the average value of the magnitude of the call sound within the predetermined time, so that the problem of capacity waste caused by over-large capacity allocation of the storage space is avoided, and the problem of sound cut-off caused by insufficient capacity of the storage space allocated to the audio is prevented.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.

Claims (10)

1. A method for adjusting the call audio capacity of a mobile terminal is characterized by comprising the following steps:
when the mobile terminal starts a call, recording the current call sound at intervals, wherein the recording time length is the preset time length;
calculating an average value of the call sound magnitude in the predetermined time;
and adjusting the capacity of the audio storage space according to the average value.
2. The method for adjusting call audio capacity of a mobile terminal according to claim 1, further comprising the steps of: a plurality of continuous sound size intervals and capacity values corresponding to the intervals are preset, and the capacity values corresponding to the intervals are different in size.
3. The method according to claim 2, wherein the step of controlling the audio storage space capacity according to the average value specifically comprises:
and judging the sound size interval to which the average value belongs, and adjusting the audio storage space to a corresponding capacity value according to the sound size interval.
4. The method as claimed in claim 1, wherein the audio storage capacity is adjusted to a predetermined value when the mobile terminal starts a call.
5. The method according to claim 1, wherein the mobile terminal is a mobile phone or a tablet computer.
6. A storage medium having stored thereon a plurality of instructions adapted to be loaded by a processor and to perform the steps of:
when the mobile terminal starts a call, recording the current call sound at intervals, wherein the recording time length is the preset time length;
calculating the average value of the call sound in the preset time;
and adjusting the capacity of the audio storage space according to the average value.
7. The storage medium of claim 6, wherein the instructions are adapted to be loaded by a processor and further perform:
a plurality of continuous sound size intervals and capacity values corresponding to the intervals are preset, and the capacity values corresponding to the intervals are different in size.
8. The storage medium of claim 7, wherein the instructions are adapted to be loaded by a processor and further perform:
and judging the sound size interval to which the average value belongs, and adjusting the audio storage space to a corresponding capacity value according to the sound size interval.
9. The storage medium of claim 7, wherein the instructions are adapted to be loaded by a processor and further perform:
when the mobile terminal starts a call, the capacity of the audio storage space is adjusted to a preset value.
10. A mobile terminal, comprising:
a processor adapted to implement instructions; and
a storage medium adapted to store a plurality of instructions, the instructions being adapted to be loaded by a processor and to perform the method for adjusting call audio capacity of a mobile terminal according to any one of claims 1 to 5.
CN201811624591.4A 2018-12-28 2018-12-28 Mobile terminal call audio capacity adjusting method, storage medium and mobile terminal Active CN109451180B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811624591.4A CN109451180B (en) 2018-12-28 2018-12-28 Mobile terminal call audio capacity adjusting method, storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811624591.4A CN109451180B (en) 2018-12-28 2018-12-28 Mobile terminal call audio capacity adjusting method, storage medium and mobile terminal

Publications (2)

Publication Number Publication Date
CN109451180A CN109451180A (en) 2019-03-08
CN109451180B true CN109451180B (en) 2021-03-23

Family

ID=65538498

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811624591.4A Active CN109451180B (en) 2018-12-28 2018-12-28 Mobile terminal call audio capacity adjusting method, storage medium and mobile terminal

Country Status (1)

Country Link
CN (1) CN109451180B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1585431A (en) * 2003-08-18 2005-02-23 Sk电信技术有限公司 Call announce method and mobile communication terminal for using it
CN1691706A (en) * 2004-04-19 2005-11-02 乐金电子(中国)研究开发中心有限公司 Audio frequency output automatic regulation device and method
US7440455B2 (en) * 2005-12-22 2008-10-21 Level 3 Communications, Llc Registration of multiple VoIP devices
CN101572021A (en) * 2008-04-28 2009-11-04 北京上行逶式信息公司 Sound production selection device
CN102045434A (en) * 2009-10-12 2011-05-04 阿尔派株式会社 Telephone, vehicular hand-free telephone system and download method
CN103795950A (en) * 2014-02-21 2014-05-14 深圳创维-Rgb电子有限公司 Television audio signal processing device
CN104660772A (en) * 2015-02-25 2015-05-27 惠州Tcl移动通信有限公司 Call record sampling method and system based on mobile terminal
CN107155133A (en) * 2017-06-06 2017-09-12 深圳Tcl数字技术有限公司 Volume adjusting method, audio-frequency playing terminal and computer-readable recording medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7216221B2 (en) * 2003-09-30 2007-05-08 Microsoft Corporation Method and system for unified audio control on a personal computer

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1585431A (en) * 2003-08-18 2005-02-23 Sk电信技术有限公司 Call announce method and mobile communication terminal for using it
CN1691706A (en) * 2004-04-19 2005-11-02 乐金电子(中国)研究开发中心有限公司 Audio frequency output automatic regulation device and method
US7440455B2 (en) * 2005-12-22 2008-10-21 Level 3 Communications, Llc Registration of multiple VoIP devices
CN101572021A (en) * 2008-04-28 2009-11-04 北京上行逶式信息公司 Sound production selection device
CN102045434A (en) * 2009-10-12 2011-05-04 阿尔派株式会社 Telephone, vehicular hand-free telephone system and download method
CN103795950A (en) * 2014-02-21 2014-05-14 深圳创维-Rgb电子有限公司 Television audio signal processing device
CN104660772A (en) * 2015-02-25 2015-05-27 惠州Tcl移动通信有限公司 Call record sampling method and system based on mobile terminal
CN107155133A (en) * 2017-06-06 2017-09-12 深圳Tcl数字技术有限公司 Volume adjusting method, audio-frequency playing terminal and computer-readable recording medium

Also Published As

Publication number Publication date
CN109451180A (en) 2019-03-08

Similar Documents

Publication Publication Date Title
EP3512185B1 (en) Volume adjustment method and terminal
US8903097B2 (en) Information processing device and method and program
JP5704470B2 (en) Audio intelligibility increasing method and apparatus and computer apparatus
US8995683B2 (en) Methods and devices for adaptive ringtone generation
US20120121096A1 (en) Intelligibility control using ambient noise detection
MX2007006484A (en) Equalization apparatus and method based on audiogram.
CN105931647B (en) Method and device for noise suppression
CN102185954A (en) Method for regulating audio frequency in video call and terminal equipment
EP3882913A1 (en) Echo elimination method and terminal
CN102196091A (en) Method for controlling surrounding device and communication device thereof
CN111383647B (en) Voice signal processing method and device and readable storage medium
US10949164B2 (en) Volume of sound adjustment method, electronic device thereof and non-transitory computer readable storage medium device thereof
US20180324857A1 (en) Method, apparatus, and system for sending and receiving information
CN105611026B (en) A kind of method, apparatus and electronic equipment adjusting In Call
CN109451180B (en) Mobile terminal call audio capacity adjusting method, storage medium and mobile terminal
US20080161064A1 (en) Methods and devices for adaptive ringtone generation
CN102843455A (en) Mobile terminal and bell adjusting method thereof
CA2534774A1 (en) System and method of safe and automatic acoustic volume adjustment for handsfree operation
CN111613235A (en) Echo cancellation method and device
CN112199070B (en) Audio processing method and device, storage medium and computer equipment
US20150296079A1 (en) Gateway and method for delaying telephone ringing
US10388298B1 (en) Methods for detecting double talk
CN107342873B (en) Power consumption control method and device
CN103124312B (en) A kind of prevent missing mobile phones from sending a telegram here ringtone volume control method and device
CN107205092B (en) Storage device, mobile terminal and voice secret playing method thereof

Legal Events

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

Effective date of registration: 20230412

Address after: 518000 Room 201, building A, No. 1, Qian Wan Road, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen, Guangdong (Shenzhen Qianhai business secretary Co., Ltd.)

Patentee after: Shenzhen Huaxi Investment Co.,Ltd.

Address before: 10 / F, No.5, Lane 999, Yangfan Road, high tech Zone, Ningbo, Zhejiang 315100

Patentee before: TCL mobile communication technology (Ningbo) Co.,Ltd.