Nothing Special   »   [go: up one dir, main page]

CN105721705B - Call quality control method and device and mobile terminal - Google Patents

Call quality control method and device and mobile terminal Download PDF

Info

Publication number
CN105721705B
CN105721705B CN201610110153.0A CN201610110153A CN105721705B CN 105721705 B CN105721705 B CN 105721705B CN 201610110153 A CN201610110153 A CN 201610110153A CN 105721705 B CN105721705 B CN 105721705B
Authority
CN
China
Prior art keywords
environment
microphone
terminal
gain
mapping relation
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
CN201610110153.0A
Other languages
Chinese (zh)
Other versions
CN105721705A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610110153.0A priority Critical patent/CN105721705B/en
Publication of CN105721705A publication Critical patent/CN105721705A/en
Application granted granted Critical
Publication of CN105721705B publication Critical patent/CN105721705B/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/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
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location

Landscapes

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

Abstract

The disclosure relates to a method and a device for controlling call quality and a mobile terminal. The method comprises the following steps: acquiring the environment type of the current environment of the terminal; determining the gain of a microphone corresponding to the environment type according to the environment type and a preset mapping relation; the mapping relation comprises corresponding relations between different environment types and different microphone gains; and amplifying the voice signal collected by the microphone according to the gain of the microphone corresponding to the environment type. The method of the embodiment can reasonably amplify the currently collected voice signal by the microphone, thereby avoiding the occurrence of sound distortion heard by the opposite terminal due to the fact that the voice signal is excessively amplified, also avoiding the occurrence of the situation that the opposite terminal cannot hear sound due to the fact that the voice signal amplification degree is not enough, and improving the communication quality when the local terminal communicates with the opposite terminal.

Description

Call quality control method and device and mobile terminal
Technical Field
The present disclosure relates to communication technologies, and in particular, to a method and an apparatus for controlling call quality, and a mobile terminal.
Background
With the continuous development of social economy, mobile terminals such as mobile phones and the like become indispensable tools in the life of people, people can carry out voice call, network chat, shopping, ticket booking and the like through the mobile phones, and great convenience is brought to the life of people.
Taking a mobile phone as an example, when a call needs to be made with an opposite terminal through the mobile phone, a microphone on the mobile phone at the home terminal collects a voice signal input by a user, amplifies the voice signal and transmits the amplified voice signal to a baseband part inside the mobile phone, so that the baseband part performs digital-to-analog conversion, frequency mixing, radio frequency power amplification and other processing on the amplified voice signal and then sends the amplified voice signal to the opposite terminal, and the opposite terminal can acquire the voice signal input by the user at the home terminal.
However, in the above-mentioned mobile phone, in the process of a call, the voice signal received by the opposite terminal is often distorted or the voice signal is not heard, which results in a situation of low call quality.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a method and an apparatus for controlling call quality, and a mobile terminal.
According to a first aspect of the embodiments of the present disclosure, a method for controlling call quality is provided, including:
acquiring the environment type of the current environment of the terminal;
determining the gain of a microphone corresponding to the environment type according to the environment type and a preset mapping relation; the mapping relation comprises corresponding relations between different environment types and different microphone gains;
and amplifying the voice signal collected by the microphone according to the gain of the microphone corresponding to the environment type.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the mobile terminal acquires the environment type of the current environment, and determines the gain of the microphone corresponding to the environment type according to the environment type and the preset mapping relation, so that the voice signal collected by the microphone is amplified according to the gain of the microphone, the microphone can reasonably amplify the current collected voice signal, the sound distortion of the opposite terminal caused by the fact that the voice signal is excessively amplified is avoided, the situation that the opposite terminal cannot hear sound caused by the fact that the amplification degree of the voice signal is insufficient is also avoided, and the call quality of the local terminal and the opposite terminal during call is improved.
Further, the obtaining of the environment type of the current environment where the terminal is located includes:
acquiring environmental factors of the current environment of the terminal, wherein the environmental factors comprise at least one of the following factors: sound information of the current environment of the terminal and position information of the current environment of the terminal;
and determining the environment type according to the environment factors of the current environment of the terminal.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: by collecting the environmental factors of the current environment of the mobile terminal and determining the environmental type of the current environment of the mobile terminal according to the environmental factors, the environmental type determined by the mobile terminal is more fit with the actual environment, the gain of the microphone determined by the mobile terminal is more accurate, and the call quality is further improved.
Further, before the obtaining of the environment type of the environment in which the terminal is currently located, the method further includes:
acquiring test data, wherein the test data comprises corresponding relations among different environment types, different microphone gains and different call qualities;
and constructing the mapping relation according to the test data and a preset rule.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the mapping relation is constructed according to actual test data, so that the gains of the microphones corresponding to different environment types are more reasonable and effective, and the call quality between the home terminal and the opposite terminal can be better ensured.
Further, before the obtaining of the environment type of the environment in which the terminal is currently located, the method further includes:
and acquiring the mapping relation from a network server.
Still further, the method further comprises:
and when the new environmental factors are collected, sending the new environmental factors to the network server.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the mapping relationship in the embodiment is obtained through the network server, and it can be ensured that when the mobile terminal detects a new environmental factor, the new environmental factor can be reported to the network server, so that the network server can timely notify research and development personnel to update the mapping relationship on the network server, and then send the updated mapping relationship to the mobile terminal, so that the gain of the microphone determined by the mobile terminal is more reasonable and effective, and the communication quality between the local terminal and the opposite terminal is more ensured.
According to a second aspect of the embodiments of the present disclosure, there is provided a device for controlling call quality, including:
the terminal comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is configured to acquire the environment type of the environment where the terminal is currently located;
the determining module is configured to determine the gain of a microphone corresponding to the environment type according to the environment type and a preset mapping relation; the mapping relation comprises corresponding relations between different environment types and different microphone gains;
the amplification module is configured to amplify the voice signals collected by the microphones according to the gains of the microphones corresponding to the environment types.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the environmental type of the current environment is obtained through the first acquisition module, and according to the environmental type and the preset mapping relation through the determination module, the gain of the microphone corresponding to the environmental type is determined, so that the gain of the microphone is obtained through the amplification module according to the microphone, the voice signal collected by the microphone is amplified, the microphone can be used for reasonably amplifying the current collected voice signal, the sound distortion caused by the fact that the opposite end hears the voice signal is excessively amplified is avoided, the situation that the opposite end cannot hear the sound due to the fact that the amplification degree of the voice signal is insufficient is avoided, and the conversation quality when the local end is in conversation with the opposite end is improved.
Further, the first obtaining module includes:
the acquisition submodule is configured to acquire environmental factors of the current environment of the terminal, and the environmental factors include at least one of the following factors: sound information of the current environment of the terminal and position information of the current environment of the terminal;
the determining submodule is configured to determine the environment type according to the environment factors of the current environment where the terminal is located.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the environment factors of the current environment of the mobile terminal are collected through the collection submodule, the environment type of the current environment of the mobile terminal is determined through the determination submodule according to the environment factors, the environment type determined by the mobile terminal is more fit with the actual environment, the gain of the microphone determined by the mobile terminal is more accurate, and the call quality is further improved.
Still further, the apparatus further comprises
The second acquisition module is configured to acquire test data before the first acquisition sub-module acquires the environment type of the current environment of the terminal, wherein the test data comprises corresponding relations among different environment types, different microphone gains and different call qualities;
and the construction module is configured to construct the mapping relation according to the test data and a preset rule.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the mapping relation is constructed according to actual test data, so that the gains of the microphones corresponding to different environment types are more reasonable and effective, and the call quality between the home terminal and the opposite terminal can be better ensured.
Still further, the apparatus further comprises:
a third obtaining module configured to obtain the mapping relationship from the network server.
Still further, the apparatus further comprises:
and the sending module is configured to send the new environmental factors to the network server when the new environmental factors are collected.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the third acquisition module acquires the mapping relation from the network server, so that when the mobile terminal detects a new environmental factor, the new environmental factor is reported to the network server through the sending module, the network server can timely inform research and development personnel to update the mapping relation on the network server, the updated mapping relation is sent to the mobile terminal, the gain of the microphone determined by the mobile terminal is more reasonable and effective, and the call quality between the local terminal and the opposite terminal is more ensured.
According to a third aspect of the embodiments of the present disclosure, there is provided a mobile terminal including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring the environment type of the current environment of the terminal;
determining the gain of a microphone corresponding to the environment type according to the environment type and a preset mapping relation; the mapping relation comprises corresponding relations between different environment types and different microphone gains;
and amplifying the voice signal collected by the microphone according to the gain of the microphone corresponding to the environment type.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the environmental type of the current environment is obtained through the processor, the gain of the microphone corresponding to the environmental type is determined according to the environmental type and the preset mapping relation, the voice signal collected by the microphone is amplified according to the gain of the microphone, the microphone can reasonably amplify the voice signal collected at present, the sound distortion heard by the opposite terminal due to the fact that the voice signal is excessively amplified is avoided, the situation that the opposite terminal cannot hear sound due to the fact that the amplification degree of the voice signal is insufficient is also avoided, and the conversation quality when the local terminal and the opposite terminal carry out conversation is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flow chart illustrating a method of controlling call quality in accordance with an exemplary embodiment;
fig. 2 is a flow chart illustrating a method of controlling call quality in accordance with another exemplary embodiment;
fig. 3 is a flow chart illustrating a method of controlling call quality in accordance with yet another exemplary embodiment;
fig. 4 is a block diagram illustrating a call quality control apparatus according to an exemplary embodiment;
fig. 5 is a block diagram illustrating a call quality control apparatus according to another exemplary embodiment;
fig. 6 is a block diagram illustrating a call quality control apparatus according to yet another exemplary embodiment;
fig. 7 is a block diagram illustrating a call quality control apparatus according to yet another exemplary embodiment;
FIG. 8 is a block diagram illustrating entities of a mobile terminal in accordance with an exemplary embodiment;
fig. 9 is a block diagram illustrating a mobile terminal 1300 according to an example embodiment.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a call quality control method according to an exemplary embodiment, where the call quality control method is applied to a mobile terminal, for example, a terminal such as a mobile phone that can be used for voice call or video call. The embodiment relates to a specific process that the mobile terminal determines the gain of a microphone according with the current environment type according to the current environment type, so that the mobile terminal reasonably amplifies a voice signal collected by the microphone. As shown in fig. 1, the method comprises the steps of:
in step S101, an environment type of an environment in which the terminal is currently located is acquired.
In this step, the mobile terminal obtains the environment type of the current environment, which may be obtained before entering the call process or after entering the call process, and optionally, the environment type of the environment where the mobile terminal obtains after entering the call process may be obtained when the mobile terminal enters the call waiting state after the dialing is completed. Optionally, the environment type of the current environment acquired by the mobile terminal may include a noisy environment, a quiet environment, and a sound environment between the noisy environment and the quiet environment, where the noisy environment may be an indoor noisy environment or an outdoor noisy environment, and the quiet environment may be an indoor quiet environment or an outdoor quiet environment.
In step S102, determining a gain of a microphone corresponding to the environment type according to the environment type and a preset mapping relationship; the mapping includes a correspondence of different environmental types to different microphone gains.
In this step, after the mobile terminal obtains the environment type of the current environment, a mapping relation preset inside the mobile terminal is queried according to the environment type to determine the gain of the microphone corresponding to the environment type. It should be noted that the gain of the microphone according to the embodiments of the present disclosure may be an amplification factor or an amplification capability for amplifying the voice signal of the user collected by the microphone. Optionally, when the environment type of the current environment determined by the mobile terminal is an outdoor noisy environment, the gain of the microphone corresponding to the environment type is relatively large, and optionally, when the environment type of the current environment determined by the mobile terminal is an indoor noisy environment, the gain of the microphone corresponding to the environment type may be smaller than the gain of the microphone corresponding to the outdoor noisy environment, but needs to be larger than the gain of the microphone corresponding to the indoor or outdoor quiet environment. Through confirming the gain with the microphone of current environment type adaptation, can make the microphone carry out reasonable amplification to the speech signal who gathers at present to avoid appearing excessively amplifying speech signal and lead to the sound distortion that the opposite terminal heard, also avoid appearing speech signal and amplify the condition emergence that the degree is not enough to lead to the opposite terminal to hear unclear sound. The fixed microphone gain set in the mobile terminal cannot amplify the voice signals collected in different environment types to different degrees, so that the situation of sound distortion or inaudible sound of the opposite terminal is easy to occur, and compared with the microphone gain set fixedly, the technical scheme of the embodiment can ensure the call quality between the local terminal and the opposite terminal.
Optionally, the mapping relationship may be directly loaded into the mobile terminal by a manufacturer of the mobile terminal through a software loading fixture on a production line when the manufacturer produces the mobile terminal, or may be obtained by a user of the mobile terminal downloading a software package from a corresponding website through a network downloading function, and the obtaining manner of the mapping relationship is not limited in this embodiment.
In step S103, the speech signal collected by the microphone is amplified according to the gain of the microphone corresponding to the environment type.
Optionally, the voice signal may be a voice signal input by a user, or may also be a voice signal input by the user to another external device, and the voice signal input to the mobile terminal through the external device is, for example, input to the mobile terminal through an earphone. After the mobile terminal determines the gain of the microphone corresponding to the environment type according to the environment type, the voice signal collected by the microphone is amplified according to the gain, the amplified voice signal is transmitted to a baseband part inside the mobile terminal, and subsequent digital-to-analog conversion and other processing are carried out to send the voice signal to the opposite terminal, so that the opposite terminal can hear the voice with higher quality, and the communication quality is improved.
According to the call quality control method provided by the embodiment, the mobile terminal acquires the environment type of the current environment, and determines the gain of the microphone corresponding to the environment type according to the environment type and the preset mapping relation, so that the voice signal collected by the microphone is amplified according to the gain of the microphone, the microphone can reasonably amplify the current collected voice signal, the sound distortion heard by an opposite terminal due to the fact that the voice signal is excessively amplified is avoided, the situation that the opposite terminal cannot hear sound due to the fact that the amplification degree of the voice signal is insufficient is also avoided, and the call quality when the local terminal calls with the opposite terminal is improved.
Fig. 2 is a flowchart illustrating a call quality control method according to another exemplary embodiment, which is applied to a mobile terminal, for example, a terminal such as a mobile phone that can be used for voice call or video call. The embodiment relates to a specific process for acquiring the environment type of the current environment by the mobile terminal. On the basis of the foregoing embodiment, further, the foregoing S101 may include the following steps:
in step S201, environmental factors of the current environment of the terminal are collected, where the environmental factors include at least one of the following factors: sound information of the current environment of the terminal and position information of the current environment of the terminal.
In step S202, the environment type is determined according to the environmental factors of the environment in which the terminal is currently located.
In this embodiment, when the mobile terminal needs to communicate with the opposite terminal, the mobile terminal may collect an environmental factor of a current environment, optionally, the environmental factor may include at least one of sound information of the current environment of the mobile terminal and location information of the current environment of the mobile terminal, and optionally, the sound information may be a decibel value of background noise of the environment.
After the mobile terminal determines the environmental factors of the current environment, the environmental type of the current environment of the mobile terminal can be determined according to the environmental factors and the corresponding relationship between different environmental types defined for different environmental factors in the mobile terminal. Optionally, the corresponding relationship may be a corresponding relationship between different sound decibel ranges and different environment types, a corresponding relationship between different position information and different environment types, or a corresponding relationship between different sound decibel ranges, different position information, and different environment types.
For example, when the environmental factor determined by the mobile terminal is that the background noise decibel value of the current environment is 79dB, the current location information is located indoors, and in the corresponding relationship between different environmental types defined for different environmental factors inside the mobile terminal, the sound decibel range of 70dB to 80dB and the environmental type corresponding to the indoor environment are indoor noisy environments, the mobile terminal determines that the environmental type where the mobile terminal is currently located is an indoor noisy environment, and then the mobile terminal can determine the gain of the microphone corresponding to the indoor noisy environment according to the mapping relationship.
According to the control method of the call quality, the environmental factors of the current environment of the mobile terminal are collected, and the environmental type of the current environment of the mobile terminal is determined according to the environmental factors, so that the environmental type determined by the mobile terminal is more fit with the actual environment, the gain of the microphone determined by the mobile terminal is more accurate, and the call quality is further improved.
Fig. 3 is a flowchart illustrating a call quality control method according to yet another exemplary embodiment, where the call quality control method is applied to a mobile terminal, for example, a terminal such as a mobile phone that can be used for voice call or video call. The embodiment relates to a specific process for acquiring a mapping relation by a mobile terminal through early test data. On the basis of the foregoing embodiment, further, before the foregoing S101, the method may further include the following step:
in step S301, test data including a correspondence between different environment types, different microphone gains, and different call qualities is acquired.
In this step, before the mobile terminal leaves the factory, research and development personnel can test the call quality of the mobile terminal to obtain test data. The method specifically comprises the following steps: research personnel set different microphone gains for the microphone inside the mobile terminal to initiate a call request to the opposite terminal under different environment types, and collect the call quality of the opposite terminal, so that the call quality corresponding to the different microphone gains under each environment type can be obtained.
In step S302, the mapping relationship is constructed according to the test data and a preset rule.
In this step, after the mobile terminal obtains the test data, the mobile terminal may construct the mapping relationship according to a preset rule, where the preset rule may be an evaluation criterion of the call quality, and under the same environment type, the mobile terminal may determine, according to the best call quality corresponding to the environment type, a gain of a microphone corresponding to the best call quality, and further establish a corresponding relationship between the environment type and the gain of the microphone, and so on, to obtain the mapping relationship.
The mapping relation in the embodiment is obtained according to actual test data, so that the gains of the microphones corresponding to different environment types are more reasonable and effective, and the call quality between the local terminal and the opposite terminal can be better ensured.
Optionally, the mobile terminal may obtain the mapping relationship, or obtain the mapping relationship from a network server, for example, the mobile terminal may send an obtaining request of the mapping relationship to the network server (the obtaining request may carry an identifier of the mobile terminal), and the network server sends the mapping relationship to the mobile terminal according to the identifier of the mobile terminal in the obtaining request. Optionally, the mapping relationship in the network server may be that after a developer of the mobile terminal constructs the mapping relationship through the test data and the corresponding preset rule, the mapping relationship is uploaded to the network server by using a unified upload platform, so that the mapping relationship may face all mobile terminals through the network server, or face a certain type of mobile terminal, and then the mobile terminal may download the mapping relationship from the network server. Further, on the basis of this embodiment, the method may further include the following steps:
in step S301, when a new environmental factor is collected, the new environmental factor is transmitted to the web server.
In this step, when the mobile terminal collects the environmental factors of the current environment of the mobile terminal, it is assumed that the mobile terminal does not collect the sound information of the current environment or the position information of the current environment because of the relationship of hardware or software, however, the mobile terminal collects the factor of the moving speed of the mobile terminal, and therefore, the mobile terminal may attempt to determine the type of environment in which the mobile terminal is currently located according to the factor, however, because the current mapping relationship of the mobile terminal does not have the corresponding relationship between the moving speed and the environment type, the mobile terminal cannot know the current environment type of the mobile terminal, so that the mobile terminal cannot obtain the proper microphone gain during the call, optionally, the mobile terminal amplifies the voice signal collected this time by an intermediate value of the gain of one microphone. And the mobile terminal sends the new environmental factor to the network server, so that the network server knows that the mapping relationship downloaded by the current mobile terminal cannot meet the requirements of the user, and then the network server can inform research and development personnel of the mobile terminal to update the mapping relationship through the uploading platform, i.e. a new environmental type is defined for the new environmental factor and corresponds to the gain of a new microphone, so that the mapping relationship on the network server can be updated, and then the network server can send the updated mapping relationship to the mobile terminal in time, thereby further ensuring the call quality between the local terminal and the opposite terminal.
The mapping relationship in the embodiment is obtained through the network server, and it can be ensured that when the mobile terminal detects a new environmental factor, the new environmental factor can be reported to the network server, so that the network server can timely notify research and development personnel to update the mapping relationship on the network server, and then send the updated mapping relationship to the mobile terminal, so that the gain of the microphone determined by the mobile terminal is more reasonable and effective, and the communication quality between the local terminal and the opposite terminal is more ensured.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods. For details not disclosed in the embodiments of the apparatus of the present disclosure, refer to the embodiments of the method of the present disclosure.
Fig. 4 is a block diagram illustrating a call quality control apparatus, which may be implemented as part or all of a mobile terminal by software, hardware, or a combination of both, according to an example embodiment. As shown in fig. 4, the call quality control device. The method comprises the following steps: a first acquisition module 10, a determination module 11 and an amplification module 12.
The first obtaining module 10 is configured to obtain an environment type of an environment where the terminal is currently located;
the determining module 11 is configured to determine, according to the environment type and a preset mapping relationship, a gain of a microphone corresponding to the environment type; the mapping relation comprises corresponding relations between different environment types and different microphone gains;
an amplifying module 12 configured to amplify the voice signal collected by the microphone according to the gain of the microphone corresponding to the environment type.
To sum up, the control device of call quality that this disclosed embodiment provided acquires the environment type of the environment where present through first acquisition module, and according to this environment type and predetermined mapping relation through the confirming module, confirm the gain of the microphone that corresponds with this environment type, thereby gain according to this microphone through the amplifier module, the speech signal that the amplifier microphone was gathered, it can make the microphone carry out reasonable amplification to the speech signal who gathers at present, thereby avoid appearing excessively amplifying speech signal and lead to the sound distortion that the opposite end heard, also avoid appearing speech signal amplification degree and not enough lead to the condition emergence of the unclear sound of opposite end, call quality when having improved this end and opposite end and having talked.
Fig. 5 is a block diagram illustrating a call quality control apparatus, which may be implemented as part or all of a mobile terminal by software, hardware, or a combination of both, according to another exemplary embodiment. On the basis of the embodiment shown in fig. 4, the first obtaining module 10 further includes: an acquisition sub-module 101 and a determination sub-module 102.
The acquisition submodule 101 is configured to acquire an environmental factor of an environment where the terminal is currently located, where the environmental factor includes at least one of the following factors: sound information of the current environment of the terminal and position information of the current environment of the terminal;
a determining submodule 102 configured to determine the environment type according to an environment factor of an environment in which the terminal is currently located.
To sum up, the control device for call quality provided by the embodiment of the present disclosure collects the environmental factors of the current environment of the mobile terminal through the collection submodule, and determines the environmental type of the current environment of the mobile terminal according to the environmental factors through the determination submodule, so that the environmental type determined by the mobile terminal is more suitable for the actual environment, the gain of the microphone determined by the mobile terminal is more accurate, and the call quality is further improved.
Fig. 6 is a block diagram illustrating a call quality control apparatus, which may be implemented as part or all of a mobile terminal by software, hardware, or a combination of both, according to yet another exemplary embodiment. On the basis of the embodiment shown in fig. 4 or fig. 5, further, the device further comprises
A second obtaining module 13, configured to obtain test data before the first obtaining sub-module 10 obtains the environment type of the current environment of the terminal, where the test data includes corresponding relationships between different environment types, different microphone gains, and different call qualities;
and the construction module 14 is configured to construct the mapping relation according to the test data and a preset rule.
To sum up, the control device for call quality provided by the embodiment of the present disclosure constructs a mapping relationship according to actual test data, so that gains of microphones corresponding to different environment types are more reasonable and effective, and call quality between the home terminal and the peer terminal can be better ensured.
Fig. 7 is a block diagram illustrating a call quality control apparatus, which may be implemented as part or all of a mobile terminal by software, hardware, or a combination of both, according to yet another exemplary embodiment. On the basis of the embodiment shown in fig. 4 or fig. 5, further, the apparatus further includes:
a third obtaining module 15 configured to obtain the mapping relationship from the network server.
Further, as shown with continued reference to fig. 7, the apparatus may further include a sending module 16 configured to send a new environmental factor to the web server when the new environmental factor is collected.
To sum up, the device for controlling call quality provided in the embodiment of the present disclosure obtains the mapping relationship from the network server through the third obtaining module, and can ensure that when the mobile terminal detects a new environmental factor, the new environmental factor is reported to the network server through the sending module, so that the network server can timely notify the research and development personnel to update the mapping relationship on the network server, and then send the updated mapping relationship to the mobile terminal, so that the gain of the microphone determined by the mobile terminal is more reasonable and effective, and the call quality between the local terminal and the opposite terminal is more ensured.
With regard to the apparatus in the above-described embodiment, the specific manner in which the respective modules and units perform operations has been described in detail in the embodiment related to the method, and will not be elaborated upon here.
Having described the internal functional modules and the structural schematic of the control apparatus of call quality, fig. 8 is a block diagram illustrating an entity of a mobile terminal according to an exemplary embodiment, as shown in fig. 8, the mobile terminal may include: a processor 21 and a memory 22 for storing instructions executable by the processor 21.
Wherein the processor 21 is configured to:
acquiring the environment type of the current environment of the terminal;
determining the gain of a microphone corresponding to the environment type according to the environment type and a preset mapping relation; the mapping relation comprises corresponding relations between different environment types and different microphone gains;
and amplifying the voice signal collected by the microphone according to the gain of the microphone corresponding to the environment type.
In the above-mentioned embodiment of the mobile terminal, it should be understood that the Processor 21 may be a Central Processing Unit (CPU), other general-purpose processors, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. The general purpose processor may be a microprocessor, the processor may be any conventional processor, and the memory 22 may be a read-only memory (ROM), a Random Access Memory (RAM), a flash memory, a hard disk, or a solid state disk. SIM cards, also known as subscriber identity cards, smart cards, must be installed in a digital mobile phone for use. That is, the information of the digital mobile phone client, the encrypted key and the contents of the user's phone book are stored on the computer chip. The steps of a method disclosed in connection with the embodiments of the present disclosure may be embodied directly in a hardware processor, or in a combination of hardware and software modules.
Fig. 9 is a block diagram illustrating a mobile terminal 1300 according to an example embodiment. For example, the mobile terminal 1300 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and so forth.
Referring to fig. 9, mobile terminal 1300 may include one or more of the following components: a processing component 1302, a memory 1304, a power component 1306, a multimedia component 1308, an audio component 1310, an input/output (I/O) interface 1312, a sensor component 1314, and a communication component 1316.
Processing component 1302 generally controls overall operation of mobile terminal 1300, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1302 may include one or more processors 1320 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 1302 can include one or more modules that facilitate interaction between the processing component 1302 and other components. For example, the processing component 1302 may include a multimedia module to facilitate interaction between the multimedia component 1308 and the processing component 1302.
Memory 1304 is configured to store various types of data to support operation at mobile terminal 1300. Examples of such data include instructions for any application or method operating on mobile terminal 1300, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1304 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power components 1306 provide power to the various components of the mobile terminal 1300. The power components 1306 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the mobile terminal 1300.
The multimedia component 1308 includes a touch-sensitive display screen between the mobile terminal 1300 and a user that provides an output interface. In some embodiments, the touch display screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1308 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the mobile terminal 1300 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1310 is configured to output and/or input audio signals. For example, audio component 1310 includes a Microphone (MIC) configured to receive external audio signals when mobile terminal 1300 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1304 or transmitted via the communication component 1316. In some embodiments, the audio component 1310 also includes a speaker for outputting audio signals.
The I/O interface 1312 provides an interface between the processing component 1302 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
Sensor assembly 1314 includes one or more sensors for providing various aspects of state assessment for mobile terminal 1300. For example, sensor assembly 1314 may detect an open/closed state of mobile terminal 1300, the relative positioning of components, such as a display and keypad of mobile terminal 1300, sensor assembly 1314 may also detect a change in position of mobile terminal 1300 or a component of mobile terminal 1300, the presence or absence of user contact with mobile terminal 1300, orientation or acceleration/deceleration of mobile terminal 1300, and a change in temperature of mobile terminal 1300. The sensor assembly 1314 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1314 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1316 is configured to facilitate communications between the mobile terminal 1300 and other devices in a wired or wireless manner. The mobile terminal 1300 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1316 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1316 also includes a Near Field Communications (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the mobile terminal 1300 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described call quality control method.
In an exemplary embodiment, a non-transitory computer readable storage medium including instructions, such as the memory 1304 including instructions, executable by the processor 1320 of the mobile terminal 1300 to perform the above-described method of controlling call quality is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer-readable storage medium, wherein instructions of the storage medium, when executed by a processor of a mobile terminal 1300, enable the mobile terminal 1300 to perform the above-mentioned call quality control method, the method comprising:
acquiring the environment type of the current environment of the terminal;
determining the gain of a microphone corresponding to the environment type according to the environment type and a preset mapping relation; the mapping relation comprises corresponding relations between different environment types and different microphone gains;
and amplifying the voice signal collected by the microphone according to the gain of the microphone corresponding to the environment type.
Further, the obtaining of the environment type of the current environment where the terminal is located includes:
acquiring environmental factors of the current environment of the terminal, wherein the environmental factors comprise at least one of the following factors: sound information of the current environment of the terminal and position information of the current environment of the terminal;
and determining the environment type according to the environment factors of the current environment of the terminal.
Further, before the obtaining of the environment type of the environment in which the terminal is currently located, the method further includes:
acquiring test data, wherein the test data comprises corresponding relations among different environment types, different microphone gains and different call qualities;
and constructing the mapping relation according to the test data and a preset rule.
Further, before the obtaining of the environment type of the environment in which the terminal is currently located, the method further includes:
and acquiring the mapping relation from a network server.
Still further, the method further comprises:
and when the new environmental factors are collected, sending the new environmental factors to the network server.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (5)

1. A method for controlling call quality is characterized by comprising the following steps:
acquiring the environment type of the current environment of the terminal;
determining the gain of a microphone corresponding to the environment type according to the environment type and a preset mapping relation; the mapping relation comprises corresponding relations between different environment types and different microphone gains;
amplifying the voice signal collected by the microphone according to the gain of the microphone corresponding to the environment type;
the method further comprises the following steps:
when a new environmental factor is collected, amplifying the collected voice signal by using the middle value of the microphone gain, and sending the new environmental factor to a network server, so that the network server notifies to update the mapping relation, and sends the updated mapping relation to the terminal;
before the obtaining of the environment type of the current environment where the terminal is located, the method further includes:
acquiring test data, wherein the test data comprises corresponding relations among different environment types, different microphone gains and different call qualities;
and constructing the mapping relation according to the test data and a preset rule, wherein the preset rule is an evaluation standard of the call quality, and under the same environment type, determining the gain of the microphone corresponding to the best call quality according to the best call quality corresponding to the environment type, and further establishing the corresponding relation between the environment type and the gain of the microphone to further acquire the mapping relation.
2. The method according to claim 1, wherein the obtaining of the environment type of the current environment in which the terminal is located comprises:
acquiring environmental factors of the current environment of the terminal, wherein the environmental factors comprise at least one of the following factors: sound information of the current environment of the terminal and position information of the current environment of the terminal;
and determining the environment type according to the environment factors of the current environment of the terminal.
3. A speech quality control apparatus, comprising:
the terminal comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is configured to acquire the environment type of the environment where the terminal is currently located;
the determining module is configured to determine the gain of a microphone corresponding to the environment type according to the environment type and a preset mapping relation; the mapping relation comprises corresponding relations between different environment types and different microphone gains;
the amplification module is configured to amplify the voice signals collected by the microphones according to the gains of the microphones corresponding to the environment types;
the device further comprises:
the transmitting module is configured to amplify the acquired voice signal by using the intermediate value of the microphone gain when a new environmental factor is acquired, and transmit the new environmental factor to a network server, so that the network server notifies that the mapping relation is updated, and transmits the updated mapping relation to the terminal;
the device further comprises:
the second acquisition module is configured to acquire test data before the first acquisition module acquires the environment type of the current environment of the terminal, wherein the test data comprises corresponding relations among different environment types, different microphone gains and different call qualities;
and the construction module is configured to construct the mapping relation according to the test data and a preset rule, wherein the preset rule is an evaluation standard of the call quality, and under the same environment type, the gain of the microphone corresponding to the best call quality is determined according to the best call quality corresponding to the environment type, so that the environment type and the gain of the microphone are established to be in a corresponding relation, and the mapping relation is acquired.
4. The apparatus of claim 3, wherein the first obtaining module comprises:
the acquisition submodule is configured to acquire environmental factors of the current environment of the terminal, and the environmental factors include at least one of the following factors: sound information of the current environment of the terminal and position information of the current environment of the terminal;
the determining submodule is configured to determine the environment type according to the environment factors of the current environment where the terminal is located.
5. A mobile terminal, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring the environment type of the current environment of the terminal;
determining the gain of a microphone corresponding to the environment type according to the environment type and a preset mapping relation; the mapping relation comprises corresponding relations between different environment types and different microphone gains;
amplifying the voice signal collected by the microphone according to the gain of the microphone corresponding to the environment type;
when a new environmental factor is collected, amplifying the collected voice signal by using the middle value of the microphone gain, and sending the new environmental factor to a network server, so that the network server notifies to update the mapping relation, and sends the updated mapping relation to the terminal;
before the obtaining the environment type of the current environment where the terminal is located, the method further includes:
acquiring test data, wherein the test data comprises corresponding relations among different environment types, different microphone gains and different call qualities;
and constructing the mapping relation according to the test data and a preset rule, wherein the preset rule is an evaluation standard of the call quality, and under the same environment type, determining the gain of the microphone corresponding to the best call quality according to the best call quality corresponding to the environment type, and further establishing the corresponding relation between the environment type and the gain of the microphone to further acquire the mapping relation.
CN201610110153.0A 2016-02-29 2016-02-29 Call quality control method and device and mobile terminal Active CN105721705B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610110153.0A CN105721705B (en) 2016-02-29 2016-02-29 Call quality control method and device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610110153.0A CN105721705B (en) 2016-02-29 2016-02-29 Call quality control method and device and mobile terminal

Publications (2)

Publication Number Publication Date
CN105721705A CN105721705A (en) 2016-06-29
CN105721705B true CN105721705B (en) 2020-11-13

Family

ID=56156199

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610110153.0A Active CN105721705B (en) 2016-02-29 2016-02-29 Call quality control method and device and mobile terminal

Country Status (1)

Country Link
CN (1) CN105721705B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106657513B (en) * 2016-10-31 2019-10-25 努比亚技术有限公司 The calibration method and device of intelligent audio power amplifier
CN109905803B (en) * 2019-03-01 2020-08-14 深圳市沃特沃德股份有限公司 Microphone array switching method and device, storage medium and computer equipment
CN113395580B (en) * 2020-10-08 2022-06-24 广州广迅信息科技有限公司 Audio and video synchronization method based on video communication
CN115065849B (en) * 2022-06-06 2023-11-14 北京字跳网络技术有限公司 Audio recording method and device and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102014205A (en) * 2010-11-19 2011-04-13 中兴通讯股份有限公司 Method and device for treating voice call quality
JP2013135469A (en) * 2011-12-22 2013-07-08 Samsung Electronics Co Ltd Apparatus and method for adjusting volume in portable terminal, and electronic device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8285344B2 (en) * 2008-05-21 2012-10-09 DP Technlogies, Inc. Method and apparatus for adjusting audio for a user environment
CN101370322A (en) * 2008-09-12 2009-02-18 深圳华为通信技术有限公司 Microphone gain control method and communication equipment
CN101699831B (en) * 2009-10-23 2012-05-23 华为终端有限公司 Terminal sending method, system and equipment
CN102710856B (en) * 2012-05-23 2013-12-04 华为终端有限公司 Control method and control device
CN103716437A (en) * 2012-09-28 2014-04-09 华为终端有限公司 Sound quality and volume control method and apparatus
TW201415912A (en) * 2012-10-03 2014-04-16 Hon Hai Prec Ind Co Ltd Hand held device and method for adjusting the volume of electronic apparatus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102014205A (en) * 2010-11-19 2011-04-13 中兴通讯股份有限公司 Method and device for treating voice call quality
JP2013135469A (en) * 2011-12-22 2013-07-08 Samsung Electronics Co Ltd Apparatus and method for adjusting volume in portable terminal, and electronic device

Also Published As

Publication number Publication date
CN105721705A (en) 2016-06-29

Similar Documents

Publication Publication Date Title
CN110233934B (en) Electronic equipment control method and device and computer readable storage medium
CN114430920B (en) Capability reporting method and device, and capability determining method and device
CN105721705B (en) Call quality control method and device and mobile terminal
EP3136697B1 (en) Contact record processing method and apparatus
CN104539789A (en) Method and device for prompting call request
CN106507282B (en) Wireless connection control method and device
CN110945883A (en) Paging signaling receiving method and device and paging signaling sending method and device
CN104796875A (en) Call mode selection method and device
CN110547029B (en) Information configuration and reporting method and device, base station and user equipment
CN106453982A (en) Method and apparatus for dialing telephone number, fixed telephone and mobile terminal
CN106534495B (en) The method, device and equipment of information processing
CN109040651B (en) Video communication method and device
CN108600503B (en) Voice call control method and device
CN105100352B (en) Obtain the method and device of associated person information
CN106658412B (en) Positioning method and device
CN106550482B (en) Communication connection establishing method and device and electronic equipment
CN112019948B (en) Intercommunication method for intercom equipment, intercom equipment and storage medium
CN112511686A (en) Recording method and earphone equipment
CN109194808B (en) Volume adjusting method and device
CN109245992B (en) Request processing method and device, electronic equipment and storage medium
CN110764847A (en) User information processing method and device, electronic equipment and storage medium
CN106161808B (en) Method and device for updating information of telephone number, terminal equipment and server
CN105101258A (en) Communication request transfer method and device
CN108833728A (en) Adjust the method and device of incoming call prompting volume
CN110868495A (en) Message display method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant