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

CN117135262B - Conversation method and electronic equipment - Google Patents

Conversation method and electronic equipment Download PDF

Info

Publication number
CN117135262B
CN117135262B CN202310144862.0A CN202310144862A CN117135262B CN 117135262 B CN117135262 B CN 117135262B CN 202310144862 A CN202310144862 A CN 202310144862A CN 117135262 B CN117135262 B CN 117135262B
Authority
CN
China
Prior art keywords
volume
call
sound
preset
electronic equipment
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
CN202310144862.0A
Other languages
Chinese (zh)
Other versions
CN117135262A (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.)
Honor Device Co Ltd
Original Assignee
Honor Device 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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202310144862.0A priority Critical patent/CN117135262B/en
Priority to CN202410823799.8A priority patent/CN118714219A/en
Priority to PCT/CN2023/133485 priority patent/WO2024156220A1/en
Publication of CN117135262A publication Critical patent/CN117135262A/en
Application granted granted Critical
Publication of CN117135262B publication Critical patent/CN117135262B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/60Substation equipment, e.g. for use by subscribers including speech amplifiers
    • 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/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Theoretical Computer Science (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

A communication method and electronic equipment relate to the technical field of communication. In the process of voice communication by using the receiver, if the communication volume set in the electronic equipment is equal to a first preset volume and the electronic equipment is in a first type of environment, the electronic equipment automatically updates the communication volume to a second preset volume, the second preset volume is larger than the first preset volume, and the environment volume of the first type of environment is larger than a first preset threshold. In the process of voice communication by using the receiver, if the communication volume is equal to the second preset volume and the electronic equipment is in the second type environment, the electronic equipment automatically updates the communication volume to the first preset volume, and the environment volume of the second type environment is smaller than a second preset threshold. Thus, the call volume can be flexibly adjusted based on the current call volume and the environment volume.

Description

Conversation method and electronic equipment
Technical Field
The present application relates to the field of communications technologies, and in particular, to a call method and an electronic device.
Background
At present, in the process of using an earphone mode for communication (called earphone communication for short) of electronic equipment such as a mobile phone, a tablet and the like, a problem of sound leakage may occur, that is, communication contents played by the earphone may be heard by surrounding people. Possibly resulting in privacy disclosure.
However, in the prior art, a scheme for avoiding the problem of sound leakage and protecting privacy involved in the conversation process in the process of using the earphone to talk by the electronic equipment does not exist yet.
Disclosure of Invention
In view of the above, the present application provides a communication method and an electronic device, which can protect privacy related in the communication process based on environmental sound.
In a first aspect, the present application provides a call method, applied to an electronic device, where the electronic device includes a display screen, a first speaker, and a screen sounder; the first loudspeaker is arranged at a position, close to the top, on the electronic equipment, the display screen comprises a screen sounder, and the first loudspeaker and the screen sounder are both used for playing sound in the process that the electronic equipment uses the receiver to conduct voice communication. That is, in the present application, the earpiece includes the first speaker and the screen sounder.
Specifically, in the process of using the earphone to perform a voice call, if the call volume (which can be represented by a volume grid) set in the electronic device is equal to the first preset volume, and the electronic device is in the first environment, the electronic device automatically updates the call volume to a second preset volume, and the second preset volume is greater than the first preset volume. The environmental volume of the first type of environment is greater than a first preset threshold. I.e. the first type of environment is a noisy environment with a high environmental volume. In the process of using the receiver to carry out voice communication, if the communication volume is equal to the second preset volume and the electronic equipment is in the second type environment, the electronic equipment automatically updates the communication volume to the first preset volume. The environmental volume of the second type of environment is smaller than a second preset threshold, namely the second type of environment is a quiet environment with lower environmental volume.
And when the call volume is equal to the first preset volume, the privacy protection mode is operated, and the volume of the sound played by the screen sounder is larger than that of the sound played by the first loudspeaker. Namely, the sound played by the screen sounder is taken as the main sound, and the sound played by the first loudspeaker is taken as the auxiliary sound, so that the sound emitted by the first loudspeaker is prevented from being leaked, and the privacy protection is realized. And under the condition that the call volume is equal to the second preset volume, the system works in a normal mode. Compared with the condition that the call volume is equal to the first preset volume, under the condition that the call volume is equal to the second preset volume, namely in the normal mode, the volume of the sound played by the screen sounder and the volume of the sound played by the first loudspeaker are both increased, so that a user can hear clearer call content, and clear call is realized.
In summary, in the above-mentioned scheme, during the conversation using the earphone, the electronic device may automatically update the conversation volume based on the conversation volume set in the electronic device and the environmental volume of the environment where the electronic device is located, and intelligently switch between the privacy protection mode and the normal mode. When the mobile phone works in the privacy protection mode and the environment is noisy, the mobile phone is switched to the normal mode, so that clear communication is realized. When the device works in the normal mode and the environment is quiet, the device is switched to the privacy protection mode, so that privacy protection is realized. Thus, the requirements of privacy protection or clear communication can be flexibly met.
In one possible design manner of the first aspect, the method further includes: in the process of voice call by using the receiver, if the call volume set in the electronic equipment is equal to the first preset volume and the electronic equipment is in the second type environment, or the call volume set in the electronic equipment is equal to the second preset volume and the electronic equipment is in the first type environment, the call volume is not automatically updated.
That is, when the electronic device is operated in the privacy protection mode and the environment is quiet, or the electronic device is operated in the normal mode and the environment is noisy, the current operation mode is kept unchanged, the privacy protection is continuously realized in the quiet environment, and the clear call is realized in the noisy environment.
In another possible design manner of the first aspect, the method further includes: in the process of using the earphone to carry out voice call, if the call volume set in the electronic equipment is smaller than the first preset volume or the call volume set in the electronic equipment is larger than the second preset volume, the call volume is not automatically updated.
That is, if the call volume is small, i.e., smaller than the first preset volume, and the user does not manually turn it up, the user's need is considered to be using a very low call volume for the call. Similarly, if the call volume is large, i.e., greater than the second preset volume, and the user does not manually turn it down, the user's need is considered to be using a high call volume for the call. Based on the above, when the call volume is smaller or larger, the call volume is not automatically updated, and the rationality of automatic updating is improved.
In another possible design manner of the first aspect, the method further includes: before the electronic device automatically updates the call volume (e.g., to the first preset volume or the second preset volume), it is determined that an operation of manually adjusting the call volume by the user is not received during the voice call. Wherein, if the operation of manually adjusting the call volume by the user is received during the voice call, the call volume is not automatically updated.
It should be appreciated that the user manually triggers an adjustment of call volume, indicating that the user is not satisfied with the call volume. Then, one possible case is that the user is not satisfied with the call volume obtained by the automatic update of the electronic device. Or the user manually triggers to adjust the call volume, the user is indicated to be inclined to adjust the call volume manually, and the call volume does not need to be automatically adjusted. Based on the above, the electronic device automatically updates the call volume only on the premise that the user does not manually trigger the adjustment of the call volume in the call process, so that the rationality of automatically updating the call volume is improved.
In another possible design manner of the first aspect, the method further includes: the electronic device starts counting from 0 in response to the voice call starting. After the electronic device automatically updates the call volume (e.g., to the first preset volume or the second preset volume), the count is incremented by one. That is, after a call is started, the number of times of automatically updating the call volume is counted. The electronic device automatically updating the call volume (e.g. updating to the first preset volume or the second preset volume) includes: and determining that the count does not exceed a preset value, and automatically updating the call volume by the electronic equipment.
That is, in the process of one call, the number of times of automatically updating the call volume by the electronic device does not exceed the preset value, so that the influence of frequent adjustment of the call volume on the call experience can be avoided.
In another possible design manner of the first aspect, the method further includes: in response to the voice call beginning, the electronic device determines a call volume at which the voice call was initiated. The call volume set in the electronic equipment is equal to a first preset volume, and the method comprises the following steps: the initial call volume is equal to the first preset volume. The call volume is equal to a second preset volume, comprising: the initial call volume is equal to the second preset volume.
In another possible design manner of the first aspect, the determining, by the electronic device, an initial call volume includes: if the call volume at the end of the last voice call is x1, the x1 is larger than the first preset volume, and the electronic equipment determines that the initial call volume is the first preset volume. Thus, even if the call volume at the previous call end time is large, the call volume can be set to be a small value after a new call is started, privacy protection is prioritized, and the situation that the first loudspeaker sounds too large to cause sound leakage is avoided.
If the call volume at the end of the last voice call is x2, x2 is less than or equal to the first preset volume, the electronic device determines that the initial call volume is x2. Therefore, when the call volume at the previous call ending time is smaller, the call volume at the previous call ending time can be continuously used after the new call is started, so that the lower call volume is still maintained, and the inadaptation of a user caused by the fact that the call volume is increased is avoided.
In another possible design manner of the first aspect, the method further includes: after the electronic device automatically updates the call volume, the electronic device sends a prompt for prompting the updated call volume, and/or prompts for prompting the sounding effect after the updated call volume (e.g., prompting "protect privacy", "hear call content").
In another possible design manner of the first aspect, the method further includes: the electronic equipment displays a first interface, wherein the first interface comprises a first control, and the first control is used for triggering and starting a function of automatically updating call volume. And responding to the preset operation of the user on the first control, and starting a function of automatically updating the call volume. Before the electronic equipment automatically updates the call volume, the function of automatically updating the call volume is determined to be started.
That is, the call volume is automatically updated only after the function of automatically updating the call volume is turned on, so that the automatic update satisfies the user's demand.
In another possible design of the first aspect, the screen sounder comprises a sound-emitting driving device. The sound production driving device is used for driving a first area of the display screen to produce sound, and the first area is a position close to an auditory canal of a user in the process of using the earphone to carry out voice communication by the electronic equipment, so that sound emitted by the first area can accurately enter the auditory canal in the process of using the earphone to communicate.
In another possible design of the first aspect, the sound-emitting driver device is a ceramic device or a screen exciter.
In another possible design of the first aspect, the on-screen sounder emits sound in a first frequency band (medium, high frequency) and the first speaker emits sound in a second frequency band (low frequency), the first frequency band being higher than the second frequency band.
The screen sounder can sound with medium and high frequency, and the main frequency band of the human voice is the medium and high frequency. Thus, the screen sounder can sound similar to human voice. The first loudspeaker is used for emitting low-frequency sound, so that the defect of insufficient sound emission of the screen sounder can be compensated, and the hearing is improved.
In another possible design manner of the first aspect, the electronic device further includes a second speaker, where the second speaker is configured to play sound during the voice call using hands-free.
In another possible design manner of the first aspect, the electronic device may set the call volume by setting a volume grid. And if the volume grid of the call volume is equal to the first volume grid, the call volume is equal to the first preset volume. And if the volume grid of the call volume is equal to the second volume grid, the call volume is equal to the second preset volume. Wherein the second volume grid is equal to the first volume grid plus one.
Of course, the electronic device may also set the call volume at a smaller granularity than the volume grid, which is not particularly limited by the present application.
In another possible design manner of the first aspect, the electronic device is preconfigured with a first sounding parameter and a second sounding parameter corresponding to a first preset volume, and a third sounding parameter and a fourth sounding parameter corresponding to the second preset volume. Under the condition that the call volume is equal to the first preset volume, the volume of the sound played by the screen sounder is larger than that of the sound played by the first loudspeaker, and the method comprises the following steps: under the condition that the call volume is equal to the first preset volume, the screen sounder plays sound based on the first sounding parameter, and the first loudspeaker plays sound based on the second sounding parameter, so that the volume of the sound played by the screen sounder is larger than that of the sound played by the first loudspeaker. Compared with the condition that the call volume is equal to the first preset volume, under the condition that the call volume is equal to the second preset volume, the volume of the sound played by the screen sounder and the volume of the sound played by the first loudspeaker are both higher, and the method comprises the following steps: under the condition that the call volume is equal to the second preset volume, the screen sounder plays sound based on the third sounding parameter, and the first loudspeaker plays sound based on the fourth sounding parameter, so that the volume of the sound played by the screen sounder and the volume of the sound played by the first loudspeaker are both increased.
That is, the electronic device controls the screen sounder and the first speaker to emit sound with corresponding volume through a group of sounding parameters corresponding to the volume of the call, so as to realize privacy protection or clear call.
In another possible design manner of the first aspect, the electronic device automatically updates the call volume to a second preset volume, including: at a first time within a first preset time period, the screen sounder plays sound based on the weighted sum of the first sound generation parameter and the third sound generation parameter, and the first speaker plays sound based on the weighted sum of the second sound generation parameter and the fourth sound generation parameter. The first time is any one of a plurality of times included in the first preset time period, the weights of the first sounding parameter and the second sounding parameter gradually decrease, and the weights of the third sounding parameter and the fourth sounding parameter gradually increase in the process that the first time is changed from the starting time of the first preset time period to the ending time of the first preset time period.
That is, when the electronic device increases from the first preset volume to the second preset volume, the sound emission parameter corresponding to the first preset volume can be smoothly transited to the sound emission parameter corresponding to the second preset volume, so that noise caused by abrupt increase is avoided.
In another possible design manner of the first aspect, the electronic device automatically updates the call volume to a first preset volume, including: at a second moment in a second preset time period, the screen sounder plays sound based on the weighted sum of the first sounding parameter and the third sounding parameter, and the first loudspeaker plays sound based on the weighted sum of the second sounding parameter and the fourth sounding parameter. The second time is any one of a plurality of times included in the second preset time period, and in the process that the second time is changed from the starting time of the second preset time period to the ending time of the second preset time period, the weights of the first sounding parameter and the second sounding parameter become larger gradually, and the weights of the third sounding parameter and the fourth sounding parameter become smaller gradually.
That is, when the electronic device decreases from the second preset volume to the first preset volume, the sound production parameter corresponding to the second preset volume may be smoothly transited to the sound production parameter corresponding to the first preset volume, so as to avoid noise caused by too abrupt decrease.
In a second aspect, the present application further provides a call method, applied to an electronic device, where the electronic device includes a display screen, a first speaker, and a screen sounder; the first loudspeaker is arranged at a position, close to the top, on the electronic equipment, the display screen comprises a screen sounder, and the first loudspeaker and the screen sounder are both used for playing sound in the process that the electronic equipment uses the receiver to conduct voice communication. That is, in the present application, the earpiece includes the first speaker and the screen sounder.
In the process of using the earphone to carry out voice communication, if the communication volume set in the electronic device is equal to the third volume (such as the second preset volume or other volumes higher than the second preset volume, etc.), and the electronic device receives a first event, the electronic device displays first prompt information, the first prompt information is used for prompting the electronic device to work in a privacy protection mode (may also be called a first mode), the first event is used for triggering the electronic device to update the communication volume to the fourth volume (such as the first preset volume, or other volumes lower than the first preset volume, etc.), and the fourth volume is lower than the third volume. And when the electronic equipment works in the privacy protection mode, the volume of sound played by the screen sounder is larger than that of sound played by the first loudspeaker. In this way, the user can be timely prompted to switch to the privacy preserving mode.
In the process of using the receiver to carry out voice call, if the call volume is equal to the fourth volume and the electronic equipment receives a second event, the electronic equipment displays second prompt information, the second prompt information is used for prompting the electronic equipment to exit the privacy protection mode, and the second event is used for triggering the electronic equipment to update the call volume to the third volume. Compared with the electronic equipment working in the first mode, after the electronic equipment exits the first mode, the volume of sound played by the screen sounder and the volume of sound played by the first loudspeaker are both increased. Thus, the user can be timely prompted to exit the privacy protection mode.
In summary, according to the scheme of the application, after receiving the corresponding switching event (such as the first event or the second event), the user electronic equipment can be timely prompted on the current working mode, so as to conveniently confirm whether the current working mode is the current required working mode.
In one possible design of the second aspect, the first event includes an operation of manually adjusting the volume of the call to the fourth volume by the user. That is, the user manually turns down from the third volume to the fourth volume. Or the first event includes the electronic device detecting that the second environment exists, and the environmental volume of the second environment is smaller than a second preset threshold. That is, the second type of environment is a quiet environment with a small environmental volume.
In another possible design of the second aspect, the second event includes an operation of manually adjusting the call volume to the third volume by the user. That is, the user manually turns up from the fourth volume to the third volume. Or the second event comprises detecting that the electronic device is in a first type of environment, and the environmental volume of the first type of environment is larger than a first preset threshold value. That is, the first type of environment is a noisy environment with a loud environmental volume.
In another possible design manner of the second aspect, the method further includes: if the call volume set in the electronic equipment is equal to the third volume and the electronic equipment receives the first event, the electronic equipment displays third prompt information, and the third prompt information is used for indicating the fourth volume. If the call volume is equal to the fourth volume and the electronic equipment receives the second event, the electronic equipment displays fourth prompt information, and the fourth prompt information is used for indicating the third volume.
That is, the electronic device may prompt the adjusted volume grid in time, so that the user can clearly determine that the volume grid has been changed.
In another possible design manner of the second aspect, the third prompt includes a volume bar of the first color (e.g., green), and the fourth prompt includes a volume bar of the second color (e.g., blue). That is, the electronic device may prompt the fourth volume and the third volume through the volume bars with different colors, so as to facilitate distinguishing the working modes corresponding to the different volumes.
In a third aspect, embodiments of the present application also provide an electronic device including a display screen, a memory, and one or more processors. The display screen, the memory, and the processor are coupled. The memory is for storing computer program code comprising computer instructions which, when executed by the processor, cause the electronic device to perform the method of the first aspect and any of its possible designs.
In a fourth aspect, embodiments of the present application provide a chip system applied to an electronic device including a display screen and a memory; the system-on-chip includes one or more interface circuits and one or more processors; the interface circuit and the processor are interconnected through a circuit; the interface circuit is configured to receive a signal from a memory of the electronic device and to send the signal to the processor, the signal including computer instructions stored in the memory; when the processor executes the computer instructions, the electronic device performs the method according to the first aspect and any one of its possible designs.
In a fifth aspect, the present application provides a computer storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform a method as described in the first aspect and any one of its possible designs.
In a sixth aspect, the application provides a computer program product which, when run on a computer, causes the computer to carry out the method according to the first aspect and any one of its possible designs.
It may be appreciated that the advantages achieved by the electronic device according to the third aspect, the chip system according to the fourth aspect, the computer storage medium according to the fifth aspect, and the computer program product according to the sixth aspect may refer to the advantages of any one of the first aspect, the second aspect and any one of the possible designs thereof, which are not described herein again.
Drawings
FIG. 1 is a diagram of a call scenario provided in an embodiment of the present application;
FIG. 2 is a second call scenario diagram according to an embodiment of the present application;
FIG. 3 is a block diagram of a dual sound unit according to an embodiment of the present application;
Fig. 4 is a schematic call diagram of a dual sound unit according to an embodiment of the present application;
FIG. 5 is a schematic diagram of switching between a privacy preserving mode and a normal mode according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a second embodiment of the present application for switching between a privacy preserving mode and a normal mode;
fig. 7 is a hardware composition diagram of an electronic device according to an embodiment of the present application;
FIG. 8 is a flowchart of a call method according to an embodiment of the present application;
FIG. 9 is a diagram of one of the mobile phone interface diagrams according to the embodiment of the present application;
FIG. 10 is a second diagram of a mobile phone interface according to an embodiment of the present application;
FIG. 11 is a third diagram of a mobile phone interface according to an embodiment of the present application;
FIG. 12 is a flow diagram of classifying an environment according to an embodiment of the present application;
FIG. 13 is a schematic diagram of classifying environments according to an embodiment of the present application;
fig. 14 is a schematic diagram of adjusting volume grid in various scenes according to an embodiment of the present application;
FIG. 15 is a fourth diagram of a mobile phone interface according to an embodiment of the present application;
FIG. 16 is a second flowchart of a call method according to an embodiment of the present application;
FIG. 17 is a third flowchart of a call method according to an embodiment of the present application;
FIG. 18 is a fifth embodiment of a mobile phone interface diagram;
FIG. 19 is a functional block diagram of a mobile phone according to an embodiment of the present application;
FIG. 20 is a second functional block diagram of a mobile phone according to an embodiment of the present application;
Fig. 21 is a component structure diagram of a chip system according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application are described below with reference to the accompanying drawings in the embodiments of the present application. In the description of embodiments of the application, the terminology used in the embodiments below is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include, for example, "one or more" such forms of expression, unless the context clearly indicates to the contrary. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" means one or more than two (including two). The term "and/or" is used to describe an association relationship of associated objects, meaning that there may be three relationships; for example, a and/or B may represent: a alone, a and B together, and B alone, wherein A, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship.
Reference in the specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise. The term "coupled" includes both direct and indirect connections, unless stated otherwise. The terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated.
In embodiments of the application, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "for example" is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
The communication method provided by the embodiment of the application can be applied to a scene that the electronic equipment uses the earphone to conduct voice communication. For example, the electronic device may include a mobile phone, a tablet computer, a smart watch (smartwatch), a smart bracelet (smart wristband), and the like, which support voice call. The embodiment of the application does not limit the specific form of the electronic device. The following mainly takes the example that the electronic device is a mobile phone to describe the scheme of the application.
Referring to fig. 1 and fig. 2, the call method provided by the embodiment of the application can be applied to a scene of using the receiver to make a call in the working process shown in fig. 1, and can also be applied to a scene of using the receiver to make a call in the elevator riding process shown in fig. 2. It should be noted that, the scenario of using the handset to make a voice call is not limited to the scenario of receiving a call shown in fig. 1 and 2, and in practice, the scenario of using the handset to make a voice call may also include a scenario of using a chat application to make a voice call, a scenario of playing a voice message, and so on. The embodiment of the present application is not particularly limited thereto. Hereinafter, a case of making a call will be mainly described as an example.
It should be appreciated that when using an earpiece to make a voice call, it is often necessary for the user to hold the handset and hold it to the side of the ear to hear the call. Thus, voice calls using the handset may also be referred to as hand-held calls.
In some scenarios where handsets are used for voice calls, a problem of missing sound is likely to occur. That is, the conversation content played by the earpiece may be heard by surrounding persons. Illustratively, in the scenario of using the earpiece to make a voice call during the elevator ride in the elevator shown in fig. 2, the call content played by the earpiece is very easy to hear by others in the elevator. Thus possibly revealing privacy.
To address the problem of missing voice caused by using the handset to make a voice call, in some embodiments, in a scenario where the handset is used to make a voice call, the handset may employ a dual unit sounding. Referring to fig. 3, the dual cell sound production includes: the top speaker 301 (also may be referred to as a first speaker) sounds and the ceramic device 302 drives the screen sound emitting region 303 (also may be referred to as a first region) to sound. Wherein the top speaker 301 is disposed on the mobile phone near the top for emitting sound from the top and surrounding positions of the mobile phone. The ceramic device 302 is disposed on the back of the screen sound emitting region 303. The screen sounding region 303 is located proximate to the user's ear canal when the handset is used for voice calls. Illustratively, the screen sound emitting area 303 is located at a position down the top of the display screen, e.g., 10mm-20mm down. Also, the screen sound emitting area 303 may be located at a position equal or approximately equal to the left and right sides of the display screen.
Wherein the ceramic device 302 may drive the screen sound emitting region 303 to emit middle and high frequency (may also be referred to as a first frequency band) sounds. Note that the main frequency band of human voice is middle and high frequency sound. Thus, the ceramic device 302 drives the screen sound emitting region 303 to emit sound, and can emit sound similar to human voice. And the top speaker 301 is used for emitting low-frequency (may also be called as a second frequency band) sound, so that the defect of insufficient low-frequency sound emission of the ceramic device 302 can be compensated, and the hearing feeling can be improved.
Here, it should be noted that other devices, such as a screen exciter, may be used to drive the screen sound in addition to the ceramic device 302. The embodiment of the present application is not particularly limited thereto. For convenience of explanation, the devices driving the screen to sound, such as the ceramic device 302, the screen exciter, etc., may be referred to as sound driving devices. And, the whole of the sound emission driving device and the screen sound emission region 303 is referred to as a screen sound emitter.
Meanwhile, in the present embodiment, the sound 2 emitted by the screen sound emitting area 303 is mainly and the sound 1 emitted by the top speaker 301 is used as an auxiliary, so that the problem of sound leakage can be avoided.
Specifically, referring to fig. 4, in a scenario where a user uses an earpiece to make a voice call, after the user holds the mobile phone close to the ear until the user is close to the ear, both sound 1 and sound 2 can enter the ear. Wherein, the sound 2 is opposite to the auditory canal, and the problem of sound leakage is usually avoided; sound 1 is not facing the ear canal and there may be a problem of leakage. For example, sound 1 may reflect after encountering an obstacle.
In this embodiment, sound 2 is the main and sound 1 is the auxiliary. Illustratively, the call content from the opposite end is processed by two different sets of parameters, such that the screen sound producing area 303 produces sound 2 with higher intensity and the top speaker 301 produces sound 1 with lower intensity. Therefore, the problem of sound leakage caused by too high intensity of the sound 1 can be avoided, and privacy involved in the conversation process is protected. The higher the intensity, the larger the sound the user can hear (corresponding to the higher the volume), the lower the intensity, the smaller the sound the user can hear (corresponding to the lower the volume). For example, the intensity may be expressed in terms of sound pressure level (Sound Pressure Level, SPL), with the higher the SPL, the higher the intensity, and the lower the SPL.
In some scenarios, the primary requirement of the user may be to listen to the conversation content, rather than privacy protection. For example, when there are no other people around, using an earpiece and a pilot to talk, the most important requirement is to listen to the talk content. In this need, in the above-described two-unit sounding embodiment, both the screen sounding region 303 and the top speaker 301 can be controlled to emit a louder sound. That is, the intensities of both the control sound 2 and the sound 1 are large. Thus, the sound 2 with medium and high frequencies and the sound 1 with low frequencies can be transmitted into the ear with high intensity, so that the user can hear the conversation content.
For convenience of explanation, the mode of protecting privacy involved in the conversation may be referred to as a privacy protection mode (may also be referred to as a first mode) with the sound 2 as a main and the sound 1 as an auxiliary; and, a manner in which the intensity of the sound 1 and the sound 2 is made large so that the user listens to the contents of the call is called a normal mode. Note that in the privacy preserving mode, in order to avoid privacy disclosure, the intensity of sound 2 is significantly higher than that of sound 1. In the normal mode, the main purpose is to listen to the conversation content, so that the intensities of the sound 2 and the sound 1 are mainly controlled to be larger, and no special requirement is made on the relative magnitudes of the intensity of the sound 2 and the intensity of the sound 1. In practice, in the normal mode, the intensity of sound 2 may be greater than, equal to, or less than the intensity of sound 1.
Further, to address both the need to listen to the call content and the need for privacy protection, the handset may switch between the privacy protection mode and the normal mode based on the operation of the volume grid in which the user manually adjusts (e.g., by pressing the "volume+" key and the "volume-" key adjustments shown in fig. 5) the call volume.
In a mobile phone, the volume is usually adjusted cell by cell. Illustratively, when the mobile phone receives an operation of pressing the "volume+" key shown in fig. 5 once, the volume is increased by one, for example, the volume is updated from the volume 6 to the volume 7. Or the mobile phone receives the operation that the user presses the "volume-" key shown in fig. 5 once, the volume is reduced by one, for example, the volume is updated from the volume 7 to the volume 6. And, each volume grid corresponds to a certain call volume, and does not represent the true value of the played call volume. That is, setting the volume grid corresponds to setting a certain call volume.
Although the call volume of the mobile phone is normally increased or decreased in units of volume cells, in practice, the call volume may be increased or decreased in units of granularity smaller than the volume cells, so that the call volume may be adjusted with finer granularity. The embodiment of the present application is not particularly limited thereto. Hereinafter, the volume grid is mainly taken as an example to describe the scheme of the application.
Specifically, the mobile phone switches between the privacy protection mode and the normal mode based on the operation of manually adjusting the volume grid by the user, and the process of switching between the privacy protection mode and the normal mode includes: the mobile phone determines that the adjusted volume grid is larger than x (also can be a first volume grid) based on the operation of manually adjusting the volume grid by the user, and indicates that the current main requirement of the user is to hear the call content, and the mobile phone can work in a normal mode to ensure that the call content is clearly heard; otherwise, when the adjusted volume grid is smaller than or equal to x, the current main requirement of the user is to protect privacy, and the mobile phone can work in a privacy protection mode to protect privacy involved in the conversation process.
Where x is the maximum volume bin in the privacy preserving mode, and x+1 (which may also be referred to as the second volume bin) is the minimum volume bin in the normal mode.
However, in this embodiment, the switching between the privacy protection mode and the normal mode is triggered by the operation of manually adjusting the volume grid by the user, which is not intelligent enough. For example, if the user does not perform the operation of adjusting the volume grid in time, and adjusts the volume grid to be less than or equal to x, the user may not switch to the privacy protection mode in time, thereby causing privacy disclosure involved in the call.
Based on this, other embodiments provide a call method, which can be applied to an electronic device supporting a call, such as a mobile phone, a tablet, and the like, and used in a scenario of using an earpiece to perform a voice call in the electronic device. During a voice call using the handset, the electronic device may automatically switch between the privacy preserving mode and the normal mode based on ambient sound. For example, referring to fig. 6, if the current volume bin is x and the electronic device detects that the environment is noisy, the electronic device may switch to the normal mode, so that clear call content is played in the noisy environment (i.e., the first type of environment), thereby ensuring that the user can clearly hear the call content. If the current volume grid is x+1 and the electronic device detects that the environment is quiet, the privacy protection mode can be switched to, so that in the quiet environment (namely, the second type environment), sound leakage can be avoided, and privacy involved in the conversation process is protected.
Referring to fig. 7, a hardware structure diagram of an electronic device according to an embodiment of the present application is provided. As shown in fig. 7, taking an example in which the electronic device is a mobile phone, the electronic device may include a processor 610, an external memory interface 620, an internal memory 621, a universal serial bus (universal serial bus, USB) interface 630, a charge management module 640, a power management module 641, a battery 642, an antenna 1, an antenna 2, a mobile communication module 650, a wireless communication module 660, an audio module 670, a speaker 670A, a receiver 670B, a microphone 670C, an earphone interface 670D, a sensor module 680, keys 690, a motor 691, an indicator 692, a camera 693, a display 694, a subscriber identity module (subscriber identification module, SIM) card interface 695, and the like.
It is to be understood that the configuration illustrated in this embodiment does not constitute a specific limitation on the electronic apparatus. In other embodiments, the electronic device may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 610 may include one or more processing units, such as: the processor 610 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (IMAGE SIGNAL processor, ISP), a controller, a memory, a video codec, a digital signal processor (DIGITAL SIGNAL processor, DSP), a baseband processor, and/or a neural Network Processor (NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller may be a neural hub and command center of the electronic device. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
The charge management module 640 is used to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. The charging management module 640 may also provide power to the electronic device through the power management module 641 while charging the battery 642.
The power management module 641 is used for connecting the battery 642, the charge management module 640 and the processor 610. The power management module 641 receives input from the battery 642 and/or the charge management module 640 and provides power to the processor 610, the internal memory 621, the external memory, the display 694, the camera 693, the wireless communication module 660, and the like. The power management module 641 may also be configured to monitor battery capacity, battery cycle times, battery health (leakage, impedance), and other parameters.
The wireless communication function of the electronic device may be implemented by the antenna 1, the antenna 2, the mobile communication module 650, the wireless communication module 660, the modem processor, the baseband processor, and the like.
The electronic device implements display functions through a GPU, a display screen 694, and an application processor, etc. The GPU is a microprocessor for image processing, and is connected to the display 694 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 610 may include one or more GPUs that execute program instructions to generate or change display information.
In some embodiments, a sound-emitting driver device (e.g., a ceramic device) may also be disposed behind the display screen 694 for driving sound from a screen sound-emitting area in the display screen 694.
The electronic device may implement shooting functions through an ISP, a camera 693, a video codec, a GPU, a display 694, an application processor, and the like.
The external memory interface 620 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device. The external memory card communicates with the processor 610 through an external memory interface 620 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 621 may be used to store computer-executable program code that includes instructions. The processor 610 executes instructions stored in the internal memory 621 to perform various functional applications of the electronic device and data processing. The internal memory 621 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the electronic device (e.g., audio data, phonebook, etc.), and so forth. In addition, the internal memory 621 may include a high-speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like.
The electronic device may implement audio functions through an audio module 670, a speaker 670A, a receiver 670B, a microphone 670C, an ear-piece interface 670D, an application processor, etc. Such as music playing, recording, etc.
The audio module 670 is used to convert digital audio information to an analog audio signal output and also to convert an analog audio input to a digital audio signal. The audio module 670 may also be used to encode and decode audio signals. In some embodiments, the audio module 670 may be disposed in the processor 610, or some of the functional modules of the audio module 670 may be disposed in the processor 610.
Speaker 670A (which may also be referred to as a second speaker), also referred to as a "horn," is used to convert audio electrical signals into sound signals. The electronic device may listen to music, or to hands-free conversations, through speaker 670A.
A receiver 670B, also known as a "earpiece", is used to convert the audio electrical signal into a sound signal. When the electronic device picks up a phone call or voice message, the voice may be picked up by placing the receiver 670B close to the human ear. It should be appreciated that voice calls using handsets, i.e., using handsets 670B. In a handset with dual sound unit, receiver 670B includes top speaker 301 and screen sound region 303 shown in fig. 3.
It should be noted that the speaker 670A mainly refers to a speaker disposed at the bottom, the back, etc. of the mobile phone, and is mainly used for playing sound during the voice call when the mobile phone is in hands-free use. And does not include the top speaker 301 previously shown in fig. 3. The top speaker 301 is used for a scene of a voice call using a handset, which belongs to one structural component of the receiver 670B.
A handset may typically communicate in an earpiece mode, a hands-free mode (also referred to as a speaker mode), or a headset mode. In the receiver mode, a sound signal of the call content can be output through the receiver 670B. In the earphone mode, the user holds the mobile phone and is close to the ear, so that the conversation content can be clearly heard. In the handsfree mode, a sound signal of the call content can be output through the speaker 670A. In the hands-free mode, the mobile phone is placed on a desktop, a mobile phone support and the like at a position far away from ears, and conversation contents can be heard. And when the earphone mode is adopted, the earphone connected with the mobile phone outputs the call audio. In the earphone mode, the user needs to wear an earphone connected with the mobile phone to clearly hear the conversation content.
Microphone 670C, also known as a "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message or when it is desired to trigger the electronic device to perform certain functions by a voice assistant, the user may sound near microphone 670C through his mouth, inputting a sound signal to microphone 670C. The electronic device may be provided with at least one microphone 670C. In other embodiments, the electronic device may be provided with two microphones 670C, and may implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device may also be provided with three, four, or more microphones 670C to enable collection of sound signals, noise reduction, identification of sound sources, directional recording functions, etc.
In an embodiment of the present application, microphone 670C may be used to collect ambient sound. In the call process, the environmental sound collected by the microphone 670C can be used for processing and obtaining a call uplink signal and is transmitted to the opposite end of the call through a network; and on the other hand, can be used for automatically switching the privacy protection mode and the normal mode.
The earphone interface 670D is used to connect a wired earphone. The earphone interface 670D may be a USB interface 630 or a 3.5mm open mobile electronic device platform (open mobile terminal platform, OMTP) standard interface, a american cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The keys 690 include a power on key, a volume key, etc. The keys 690 may be mechanical keys. Or may be a touch key. The electronic device may receive key inputs, generating key signal inputs related to user settings and function controls of the electronic device.
The motor 691 may generate a vibration alert. The motor 691 may be used for incoming call vibration alerting as well as for touch vibration feedback. For example, touch operations acting on different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 691 may also correspond to different vibration feedback effects by touch operations applied to different areas of the display 694. Different application scenarios (such as time reminding, receiving information, alarm clock, game, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
The indicator 692 may be an indicator light, which may be used to indicate a state of charge, a change in power, a message, a missed call, a notification, or the like.
The SIM card interface 695 is used to connect a SIM card. The SIM card may be inserted into the SIM card interface 695 or removed from the SIM card interface 695 to enable contact and separation with the electronic device. The electronic device may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 695 may support Nano SIM cards, micro SIM cards, and the like.
The methods in the following embodiments may be implemented in an electronic device having the above-described hardware structure. The following will illustrate the scheme of the present application by taking an example that the electronic device is a mobile phone.
Referring to fig. 8, the call method provided by the embodiment of the present application includes:
S801, starting an automatic switching function by the mobile phone.
In some embodiments, after the automatic switching function (which may also be referred to as a function of automatically updating call volume) is turned on, the mobile phone may automatically switch the privacy-preserving mode and the normal mode based on the ambient sound during the voice call using the handset. Specifically, the user may perform an opening operation of the automatic switching function on the mobile phone, and in response to the opening operation, the mobile phone may open the automatic switching function. The start operation may be to input a preset voice, for example, the preset voice is "start a function of automatically switching the privacy protection mode and the normal mode". Or the mobile phone is provided with a setting control (also called a first control), the setting control is used for triggering the mobile phone to automatically switch the privacy protection mode and the normal mode based on the environmental sound in the process of using the earphone to carry out voice call, and the opening operation can be preset operations such as clicking, long pressing, sliding and the like of the setting control by a user. The present embodiment is not particularly limited thereto.
Taking the opening operation as an example, referring to fig. 9, the mobile phone may display an interface 901, where the interface 901 is a setting interface of a dialing service of the mobile phone, and the interface 901 includes various setting items of the dialing service, such as "voice control", "incoming call ringtone", "smart privacy call", "speed dial", and other setting items. In response to a user selection operation of any setting item in the interface 901, the mobile phone may display a setting interface of the corresponding setting item. In response to the user selecting the "smart privacy call" in the interface 901, the mobile phone may display a setting interface of "smart privacy call" shown in the interface 902 (may also be referred to as a first interface). The interface 902 includes introduction information of the smart privacy call, such as "reduce leakage, protect privacy" of the smart privacy call, and "use mode of the smart privacy call" when the phone answering cylinder calls, the phone can enter the smart privacy call by turning down the volume, so that the phone can be clearly moved up. The interface 902 also includes a switch 903 for intelligent privacy call, where the switch 903 is a set control. A switch 903 in the interface 902 is in an off state, indicating that the smart privacy call is off. In response to a user clicking on the switch 903 in the interface 902, the handset can initiate a smart privacy call. For example, after being turned on, the mobile phone may display an interface 904, where the interface 904 includes a switch 903 for the smart privacy call, but the switch 903 in the interface 904 is in an on state, indicating that the smart privacy call is on. And after the intelligent privacy call is started, the mobile phone can also automatically switch the privacy protection mode and the normal mode based on the environment sound, which is equivalent to starting an automatic switching function.
It should be noted that the process of turning on the automatic switching function shown in fig. 9 is only an example, and is not limited to this in practical implementation.
Also for example, the phone may initiate a smart privacy call in response to a user clicking on switch 903 in interface 902 shown in fig. 9. But opening the intelligent privacy call only can open the function of switching the privacy protection mode and the normal mode based on the operation of manually adjusting the volume grid by the user, but can not open the function of automatically switching the privacy protection mode and the normal mode based on the environment sound. I.e. the automatic switching function is not turned on. In this example, in response to a user clicking on the switch 903 in the interface 902 shown in fig. 9, the mobile phone may display an interface 1001 (may also be referred to as a first interface) shown in fig. 10, where the interface 1001 includes an automatically switched switch 1002, and the switch 1002 is a setting control. The switch 1002 in the interface 1001 is in an off state, indicating that the automatic switching function is not turned on. In response to a user clicking the switch 1002 in the interface 1001, the mobile phone may turn on the automatic switching function. For example, after the auto-switching function is turned on, the mobile phone may display an interface 1003, where the interface 1003 includes an auto-switching switch 1002, but the switch 1002 in the interface 1003 is in an on state, indicating that the auto-switching function has been turned on.
Of course, in other embodiments, the mobile phone may also default to the automatic switching function. In this embodiment, the mobile phone can automatically switch the privacy protection mode and the normal mode based on the environmental sound during the voice call using the handset without the user performing the opening operation.
S802, the mobile phone starts talking.
Illustratively, the handset may display the interface 1103 shown in fig. 11 in response to a user clicking on the "phone" icon 1102 in the desktop 1101 shown in fig. 11. The handset may dial "tom" in response to a user clicking on a history call 1104 in the interface 1103. After "tom" picks up the call, the call can be started. For example, after a "tom" call is received, the handset may display the interface 1105 shown in fig. 11, at which point the handset may output the voice signal of the call content.
After the call is started, the mobile phone needs to output a sound signal of the call content, so that the user can hear the call content. The mobile phone can determine the initial volume of the current call based on the volume of the previous call or the end time of the call. Or the mobile phone can determine the initial volume grid of the current call based on the default volume grid. The embodiment of the present application is not particularly limited thereto.
Taking the volume grid based on the last call ending time as an example, determining the initial volume grid of the current call, if the volume grid of the last call ending time is x1, x1> x, setting the volume grid of the initial volume grid as x. For example, x=8, x1=9, the volume bin of the initial volume bin is set to 8. Then, if the handset is used for voice communication, the device can work in the privacy protection mode. Thus, even if the volume grid at the last call end time is larger, the volume grid can be set to be a smaller value after a new call is started, privacy protection is prioritized, and the problem that sound 1 is too large to cause sound leakage is avoided.
If the volume grid at the last call ending time is x2, x2 is less than or equal to x, the volume grid of the initial volume grid is set to be x2. For example, x=8, x2=6, and the volume bin of the initial volume bin is set to 6. Therefore, when the volume grid at the last call ending time is smaller, the volume grid at the last call ending time can be continuously used after a new call is started, so that the lower call volume is still maintained, and the inadaptation of a user caused by the fact that the call volume becomes high is avoided.
And after the initial volume grid is determined, outputting a sound signal according to sound production parameters corresponding to the initial volume grid, so that a user can hear the call content.
Specifically, if the earphone is used for voice communication, after the initial volume grid is determined, the top loudspeaker is controlled to sound according to the loudspeaker sound production parameters corresponding to the initial volume grid, and the pottery device is controlled to drive the screen sound production area to sound according to the screen sound production parameters corresponding to the initial volume grid. The sounding parameters include Equalizer (EQ) parameters, dynamic Range Control (DRC) parameters, gain, and the like. The EQ achieves the aim of adjusting tone by carrying out gain or attenuation on one or more frequency bands of sound. That is, the EQ parameters may be used for EQ to adjust tone. DRCs provide compression and amplification capabilities that can adjust the amplitude of the signal to make the sound softer or louder. I.e. DRC parameters are used to adjust the amplitude of the signal. Gain is the amplification factor used to amplify the signal.
Taking the example that the maximum value of the volume grid is 10, the speaker sounding parameters and the screen sounding parameters corresponding to each volume grid are shown in the following table 1:
TABLE 1
Volume grid 1 2 3 4 5 6 7 8 9 10
Screen sounding parameters P11 P21 P31 P41 P51 P61 P71 P81 P91 P101
Sounding parameters of loudspeaker P12 P22 P32 P42 P52 P62 P72 P82 P92 P102
Taking the initial volume grid of 6 as an example, looking up table 1 above can obtain the screen sounding parameter of P61 and the speaker sounding parameter of P62. Then, the mobile phone can process the call downlink signal from the opposite terminal by using P61, and then the processed signal is used for controlling the ceramic device to drive the screen sounding area to output sound 2; and the mobile phone can process the call downlink signal from the opposite terminal by using the P62, and then control the top loudspeaker to output the sound 1 by using the processed signal.
The larger the volume grid is, the higher the intensity of the sound signal outputted by the corresponding sound production parameter control is, and the higher the call volume is. Still referring to table 1 above, if the volume cell 8 is larger than the volume cell 7, the intensity of the outputted sound 2 is controlled by using the screen sound parameter P81, and is higher than the intensity of the outputted sound 2 controlled by the screen sound parameter P71. Then, the volume of the call corresponding to volume cell 8 is higher than the volume of the call corresponding to volume cell 7 of Yu Yinliang. The volume grid 9 is larger than the volume grid 8, and the intensity of the output sound 2 is controlled by using the screen sounding parameter P91 and is higher than the intensity of the output sound 2 controlled by the screen sounding parameter P81. It should be understood that the same applies to the speaker sound parameters.
And x is the maximum volume grid in the privacy protection mode, and x+1 is the minimum volume grid in the normal mode. That is, if the volume grid is smaller than or equal to the volume grid x, the privacy protection mode is operated; the volume grid is greater than x (i.e., greater than or equal to x+1), then the device operates in the normal mode.
Then, in order to protect the privacy involved in the call in the privacy protection mode, the screen sounding parameter and the speaker sounding parameter corresponding to any one of the volume boxes with the volume box being less than or equal to x need to satisfy the following conditions: the intensity of the sound 2 emitted using the screen sound emission parameter control is higher than the intensity of the sound 1 emitted using the speaker sound emission parameter control. For convenience of explanation, the screen sound emission parameter corresponding to the volume bin x may be referred to as a first sound emission parameter, and the speaker sound emission parameter corresponding to the volume bin x may be referred to as a second sound emission parameter.
In order to ensure that the call content is clear in the normal mode, the screen sounding parameters and the loudspeaker sounding parameters corresponding to any one of the volume grids with the volume grid larger than x need to meet the following conditions: the intensity of the sound 2 emitted using the screen sound emission parameter control is larger than the intensity of the sound 1 emitted using the speaker sound emission parameter control. For convenience of explanation, the screen sound emission parameter corresponding to the volume bin x+1 may be referred to as a third sound emission parameter, and the speaker sound emission parameter corresponding to the volume bin x+1 may be referred to as a fourth sound emission parameter.
Taking x=8 as an example, on the basis of table 1, the correspondence between the volume grid and the privacy protection mode and the normal mode is shown in the following table 2:
TABLE 2
Taking the volume cell 6 and the volume cell 9 in table 2 as examples, the working mode corresponding to the volume cell 6 is the privacy protection mode, the intensity of the sound 2 emitted by using the P61 control is higher than the intensity of the sound 1 emitted by using the P62 control, so that the sound 2 emitted by the sound emitting area of the screen is mainly, and the sound 1 emitted by the top loudspeaker is auxiliary, thereby avoiding sound leakage and protecting the privacy involved in the conversation process. The working mode corresponding to the volume grid 9 is a normal mode, and the intensity of the sound 2 controlled by the P91 and the intensity of the sound 1 controlled by the P92 are both larger, so that the intensity of the sound in each frequency band is larger, and the communication content is ensured to be clear. For example, the intensity of the sound 2 emitted using P91 control is higher than the intensity of the sound 2 emitted using P61 control, and the intensity of the sound 1 emitted using P92 control is higher than the intensity of the sound 1 emitted using P62 control.
It should be appreciated that in order to achieve privacy protection, the intensity of sound 1 is weaker when the volume bin is x, and in order to ensure that the call is clear, the intensity of sound 1 is stronger when the volume bin is x+1. That is, from volume bin x to volume bin x+1, the intensity of sound 1 increases by a larger magnitude, while the intensity of sound 2 increases only normally, with the magnitude of the increase generally being lower than the magnitude of the increase of sound 1. Therefore, the screen sounding parameter and the speaker sounding parameter corresponding to the volume grid x and the screen sounding parameter and the speaker sounding parameter corresponding to the volume grid x+1 also need to satisfy the following conditions: the ratio of the sound 1 emitted by the speaker sound emitting parameter control corresponding to the volume grid x+1 to the sound 1 emitted by the speaker sound emitting parameter control corresponding to the volume grid x is higher than the ratio of the sound 2 emitted by the screen sound emitting parameter control corresponding to the volume grid x+1 to the sound 2 emitted by the screen sound emitting parameter control corresponding to the volume grid x.
S803, the mobile phone collects environment sounds and classifies the environments.
In the case where the automatic switching function is in the on state, as in S801, the automatic switching function is turned on or the automatic switching function is turned on by default, S803 may be continuously executed during the call, so that the result of the environmental classification is continuously obtained. The environment classification includes both silence and noise.
Specifically, during the call, the mobile phone can continuously collect the environmental sound through the microphone, and classify the environment based on the environmental sound. It should be noted that, in the embodiment of the present application, the manner of classifying the environment is not particularly limited.
The following describes a specific implementation of the environmental classification by calculating the sound pressure level of the environmental sound:
Referring to fig. 12, a specific implementation of the environment classification includes: the processes of frequency response calibration, filtering, sound pressure level calculation and classification are described in one-to-one manner as follows:
the frequency response calibration process essentially uses an equalizer (equalizer) to compensate for the differences in the incoming channels of the microphones.
It will be appreciated that microphones may convert sound signals into electrical signals, while different microphones, even if produced in the same production line, may differ in their ability to convert sound signals into electrical signals. For example, for the same sound signal a, the microphone 1 may be converted to an electrical signal a1 and the microphone 2 may be converted to an electrical signal a2, a1 being different from a 2. The frequency response calibration is based on the capability of the standard microphone to convert sound signals into electric signals, and compensates the conversion capability of the microphone used on the mobile phone, namely compensates the electric signals obtained by converting the microphone, so that the conversion capability of each microphone reaches a unified standard.
The filtering process is used to filter out transient sounds. For example, the sound of a keyboard being tapped in an office is loud, i.e., transient, at the moment the keyboard is tapped. If the sound is used for the calculation of the environmental classification, the result of the environmental classification may frequently vary between quiet and noisy, which shows to be unreasonable. By filtering, the transient sounds can be filtered out, and frequent changes of environmental classification are avoided. For example, the filtering may be implemented using a low pass filtering method.
The sound pressure level calculation process is used to calculate the sound pressure level of the ambient sound.
Illustratively, the handset may calculate the sound pressure level SPL using the following standard calculation formula:
Where p (pref) represents the minimum sound pressure amplitude 20 μpa audible to the human ear at 1000Hz, and p (e) is the root mean square value of the sound pressure over time T.
In practice, the mobile phone may calculate the primary sound pressure level at regular intervals. Wherein the fixed time interval can be flexibly adjusted by modifying the calculation parameters, for example, the fixed time interval can be 20ms or 10ms, etc.
The classification process is used for comparing the sound pressure level with a switching threshold value and outputting an environment classification result based on the comparison result. The switching threshold is a sound pressure level threshold value dividing quiet and noisy, files comprising the switching threshold, such as txt files or xml files, are stored in the mobile phone, and the switching threshold can be obtained by inquiring the files in the classifying process.
For example, referring to FIG. 13, the switching thresholds include a switching threshold M1 (which may also be referred to as a first preset threshold) and a switching threshold M2 (which may also be referred to as a second preset threshold), M1+_M2, where the output environment is classified as noisy when the sound pressure level is greater than the switching threshold M1, and classified as quiet when the sound pressure level is less than the switching threshold M2. If m1=m2, the output environment is classified as noisy when the sound pressure level is equal to the switching threshold value M1, or as quiet when the sound pressure level is equal to the switching threshold value M2. If M1> M2, when the sound pressure level is less than or equal to the switching threshold M1 and greater than or equal to the switching threshold M2, the result of the environment classification is not output.
S804, in the process of voice communication by using the earphone, the mobile phone adjusts the volume grid based on the environment classification, and communicates by using the sounding parameters corresponding to the adjusted volume grid so as to switch the privacy protection mode and the normal mode.
The communication method provided by the application is mainly used for automatically switching the privacy protection mode and the normal mode in the process of voice communication by using the earphone. Based on this, in some embodiments, after the call is started, the mobile phone may continue to execute S803, to obtain the result of the environmental classification. But only during the voice call using the handset, the volume is adjusted based on the environmental classification as shown in S804. Of course, in other embodiments, the mobile phone may collect the environmental sound only during the voice call using the handset, and the environmental classification, i.e. S803 may be updated as follows S803a: in the process of using the earphone to carry out voice communication, the mobile phone collects environmental sounds and classifies the environments. In this embodiment, after each time the result of the environmental classification is obtained, the mobile phone may execute the step of adjusting the volume grid based on the environmental classification, that is, S804 may be updated as follows S804a: the mobile phone adjusts the volume grid based on the environment classification, and uses the adjusted volume grid to communicate so as to switch the privacy protection mode and the normal mode.
Here, the scheme of the present application will be mainly described as shown in fig. 8, i.e., S803 and S804.
In the process of using the earphone to make a voice call, the mobile phone can classify S804 into four scenes, namely, scene 1, scene 2, scene 3 and scene 4 shown in fig. 14 according to the volume grid and environment of the current call volume. The volume of the current call volume may be the initial volume determined in S802, or the volume adjusted by executing S804 at least once, or may also be the volume manually set by the user.
Scene 1, scene 2, scene 3, and scene 4 will be described one by one:
Scene 1, the volume grid of the current call volume is x, and the environment is classified as noisy.
Because the volume grid x is the maximum volume grid in the privacy protection mode, the call volume corresponding to the volume grid x is the maximum volume in the privacy protection mode. And, if the environment is classified as noisy, it indicates that the environment is noisy. With S804, the handset may increase the volume grid to x+1 in case 1. Subsequently, the mobile phone can control the ceramic device to drive the screen sounding area to sound 2 by using the screen sounding parameters corresponding to the volume grid x+1, and control the top loudspeaker to sound 1 by using the loudspeaker sounding parameters corresponding to the volume grid x+1, so that the intensities of the sound 1 and the sound 2 are relatively high and equivalent, and the mobile phone can work in a normal mode.
Therefore, when the call volume is the maximum volume in the privacy protection mode and the environment is noisy, the normal mode can be switched to, and clear call content can be conveniently heard.
Taking x=8 as an example, the volume grid of the current call volume is 8, that is, x is equal, and the environment of S803 is classified as noisy, in this execution S804, the sound may be adjusted to volume grid 9, the sound 2 is generated by driving the screen sound generating area with the ceramic device using the screen sound generating parameter corresponding to volume grid 9, for example, P91, and the sound 1 is generated by controlling the top speaker using the speaker sound generating parameter corresponding to volume grid 9, for example, P92.
Scene 2, the volume grid of the current call volume is x+1, and the environment is classified as quiet.
Since the volume bin x+1 is the minimum volume bin in the normal mode, the call volume corresponding to the volume bin x+1 is the minimum volume in the normal mode. And, classification of the environment as quiet indicates that the environment is less noisy. With S804, the handset may reduce the volume grid to x in case 2. Subsequently, the mobile phone can use the screen sounding parameters corresponding to the volume grid x to control the ceramic device to drive the screen sounding region to sound 2, and use the speaker sounding parameters corresponding to the volume grid x to control the top speaker to sound 1, so that the sound 2 is main and the sound 1 is auxiliary, and therefore the mobile phone can work in a privacy protection mode.
Therefore, the method can switch to the privacy protection mode under the condition that the call volume is the minimum volume in the normal mode and the environment is quiet, thereby avoiding sound leakage and protecting the privacy involved in the call process.
Taking x=8 as an example, the volume grid of the current call volume is 9, that is, equal to x+1, and the environment of S803 is classified as quiet, in this execution S804, the current execution may adjust to volume grid 8, control the ceramic device to drive the screen sound emission area to emit sound 2 using the screen sound emission parameter corresponding to volume grid 8, for example, P81, and control the top speaker to emit sound 1 using the speaker sound emission parameter corresponding to volume grid 8, for example, P82.
Scene 3, the volume grid of the current call volume is x, the environment is classified as quiet, or the volume grid of the current call volume is x+1, and the environment is classified as noisy.
The volume grid is x, that is, the volume grid is the maximum volume grid in the privacy protection mode. And, classification of the environment as quiet indicates that the environment is less noisy. That is, currently operating in privacy preserving mode, and the ambient noise is less. In this case, the volume grid can be kept unchanged, so that privacy involved in the conversation process can be continuously protected in a quiet environment.
The volume grid is x+1, that is, the volume grid is the minimum volume grid in the normal mode. And, if the environment is classified as noisy, it indicates that the environment is noisy. That is, currently operating in normal mode and the environment is noisier. In this case, the volume grid can be kept unchanged, so that the communication content is ensured to be clear in a noisy environment.
Scene 4, the volume grid of the current call volume is smaller than x or larger than x+1.
In the embodiment of the application, the volume grid is automatically adjusted mainly aiming at the situation that the volume grid is the boundary between the privacy protection mode and the normal mode, namely, the situation that the volume grid is x or x+1. Therefore, when the volume grid is x and noisy, the device automatically switches to the normal mode, and when the volume grid is x+1 and quiet, the device automatically switches to the privacy protection mode.
In addition, if the volume grid is small, i.e., less than x, and the user does not manually turn it up, then the user's need is considered to be talking with a very low talk volume. Similarly, if the volume grid is large, e.g., greater than x+1, and the user does not manually turn it down, then the user's need is considered to be talking with a high talk volume. Based on this, for two cases that the volume grid is smaller than x and the volume grid is larger than x+1, the mobile phone will not adjust the volume grid, but keep the volume grid of the current call volume unchanged.
For example, x=8, where the current volume of the call is 3, and obviously less than 8, the volume is kept constant at 3 regardless of whether the result of the environmental classification is quiet or noisy during the voice call using the handset.
In contrast to S804, if the handset uses hands-free or earphone calls, the handset does not need to adjust the volume based on the environmental classification.
After the mobile phone adjusts the volume grid in S804, for example, after adjusting the volume grid in scene 1 and scene 2, noise may occur due to a larger difference between the sounding parameters corresponding to the volume grids before and after adjustment. For example, after adjusting from the volume cell 8 to the volume cell 9, the mobile phone may switch from controlling the ceramic device to drive the screen sounding region to sound 2 using the screen sounding parameter P81 to controlling the ceramic device to drive the screen sounding region to sound 2 using the screen sounding parameter P91, and if the difference between P81 and P91 is large, the transition may be uneven, and noise may occur.
Based on this, in order to avoid noise, when the mobile phone adjusts the volume grid, the mobile phone can smoothly transition from the sound emission parameter corresponding to the volume grid before adjustment to the sound emission parameter corresponding to the volume grid after adjustment, instead of directly switching from the sound emission parameter corresponding to the volume grid before adjustment to the sound emission parameter corresponding to the volume grid after adjustment.
Specifically, the mobile phone may perform weighted calculation on the sounding parameter (e.g., P81) corresponding to the volume grid before adjustment and the sounding parameter (e.g., P91) corresponding to the volume grid after adjustment, so as to obtain the transition sounding parameter Pt at each moment in the time interval of smooth transition. For example, pt=k1×p81+k2×p91, k1 is the weight of the sounding parameter corresponding to the volume bin before adjustment, and k2 is the weight of the sounding parameter corresponding to the volume bin after adjustment. In the time interval of the smooth transition, k1 gradually decreases, k2 gradually increases, and k1+k2=1. Then, the sound (e.g., sound 1, sound 2, etc.) emitted by the control using the transient sound emission parameter Pt can be smoothly increased or decreased without occurrence of noise.
In the design mode adopting the double sound generating units, the sound generating parameters comprise screen sound generating parameters and loudspeaker sound generating parameters.
Then, in the scene 1, when the volume grid x is adjusted to the volume grid x+1, the mobile phone may process the call downlink signal in a first preset time period (for example, determine any time (may also be referred to as a first time) of a plurality of times included in 500ms, 1s, and 2s after the scene 1 is satisfied), so as to obtain a processing result 1; on the other hand, the weighted sum of the speaker sounding parameter corresponding to the volume grid x and the speaker sounding parameter corresponding to the volume grid x+1 can be used for processing the call downlink signal, so as to obtain a processing result 2.
The closer the moment is to the starting moment of the first preset time period, the larger the weights of the screen sounding parameters and the loudspeaker sounding parameters corresponding to the volume grid x are, and the smaller the weights of the screen sounding parameters and the loudspeaker sounding parameters corresponding to the volume grid x+1 are; the closer the time is to the end time of the first preset time period, the larger the weights of the screen sounding parameters and the speaker sounding parameters corresponding to the volume grid x+1 are, and the smaller the weights of the screen sounding parameters and the speaker sounding parameters corresponding to the volume grid x are. For example, the screen sound emission parameter and the speaker sound emission parameter corresponding to the volume bin x gradually decrease from 1 to 0, and the screen sound emission parameter and the speaker sound emission parameter corresponding to the volume bin x+1 gradually increase from 0 to 1.
Taking the first preset time period as 1s, the volume grid before adjustment as x, the corresponding screen sounding parameter as P81, the volume grid after adjustment as x+1, the corresponding screen sounding parameter as P91 as an example, and in 1s of smooth transition, the change rule of k1 and k2 and the corresponding calculated Pt can be as shown in the following table 3:
TABLE 3 Table 3
Time of k1 k2 Pt
0ms 1 0 P81
200ms 0.8 0.2 0.8*P81+0.2*P91
400ms 0.6 0.4 0.6*P81+0.4*P91
600ms 0.4 0.6 0.4*P81+0.6*P91
800ms 0.2 0.8 0.2*P81+0.8*P91
1000ms 0 1 P91
Table 3 above reflects that k1 gradually decreases from 1 to 0 and k2 gradually increases from 0 to 1 within 1s of the smooth transition. Correspondingly, in the calculated Pt, the weight occupied by P81 is smaller and smaller, and the weight occupied by P91 is larger and larger.
After determining the processing result 1 and the processing result 2, the ceramic device may drive the screen sound emitting region to emit the sound 2 based on the processing result 1, and the top speaker may emit the sound 1 based on the processing result 2. So that both sound 1 and sound 2 can smoothly transition within the first preset time period.
Still referring to table 3 above as an example, at 0ms of smooth transition, pt=p81, that is, at 0ms of smooth transition, the ceramic device is still controlled to drive the screen sounding region to sound 2 by using the screen sounding parameter P81 corresponding to the volume grid 8; at 200ms of the smooth transition, pt=0.8p81+0.2p91, that is, at 200ms of the smooth transition, 0.8p81+0.2p91 is used to control the ceramic device to drive the screen sounding region to sound 2 … … at 1000ms of the smooth transition, and at 1000ms of the smooth transition, pt=p91 is used to control the ceramic device to drive the screen sounding region to sound 2 by using the screen sounding parameter P91 corresponding to the volume grid 9. Then, as Pt smoothly transits from P81 to P91, sound 2 can also realize a smooth transition without abrupt rise and without occurrence of noise.
For ease of illustration, the process of achieving a smooth transition in scenario 1 may be referred to as: the ceramic device may play sound based on a weighted sum of the screen sound parameters corresponding to the volume grid x and the screen sound parameters corresponding to the volume grid x+1, and the top speaker may play sound based on a weighted sum of the speaker sound parameters corresponding to the volume grid x and the speaker sound parameters corresponding to the volume grid x+1.
Similarly, in the scene 2, when the volume grid x+1 is adjusted to the volume grid x, the mobile phone can process the call downlink signal in a second preset time period (for example, any time (also referred to as a second time) of a plurality of times (for example, the time can be determined to satisfy 500ms, 1s and 2s after the scene 2), and on one hand, a weighted sum of the screen sounding parameter corresponding to the volume grid x and the screen sounding parameter corresponding to the volume grid x+1 can be used to obtain a processing result 3; on the other hand, the weighted sum of the speaker sounding parameter corresponding to the volume grid x and the speaker sounding parameter corresponding to the volume grid x+1 can be used for processing the call downlink signal, so as to obtain a processing result 4.
The closer the moment is to the starting moment of the second preset time period, the larger the weights of the screen sounding parameters and the loudspeaker sounding parameters corresponding to the volume grid x+1 are, and the smaller the weights of the screen sounding parameters and the loudspeaker sounding parameters corresponding to the volume grid x are; the closer the time is to the end time of the second preset time period, the greater the weights of the screen sounding parameters and the speaker sounding parameters corresponding to the volume grid x are, and the smaller the weights of the screen sounding parameters and the speaker sounding parameters corresponding to the volume grid x+1 are. For example, the screen sound emission parameter and the speaker sound emission parameter corresponding to the volume bin x+1 gradually decrease from 1 to 0, and the screen sound emission parameter and the speaker sound emission parameter corresponding to the volume bin x gradually increase from 0 to 1.
After determining the processing result 3 and the processing result 4, the ceramic device may drive the screen sound emitting region to emit the sound 2 based on the processing result 3, and the top speaker may emit the sound 1 based on the processing result 4. So that both sound 1 and sound 2 can smoothly transition within the second preset time period.
After adjusting the volume grid, for example, after adjusting the volume grid in scene 1 and scene 2, the mobile phone can send a prompt to make the user clearly adjust the effect after the volume grid.
In some embodiments, after adjusting the volume grid in scenario 2, the handset may prompt that the privacy preserving mode (which may also be referred to as a first prompt message) has been entered. For example, after reducing the volume grid to x in scenario 2, the mobile phone may display an interface 1501 shown in fig. 15, where the interface 1501 includes a prompt "smart privacy call mode" to indicate that the privacy preserving mode has been entered. And after adjusting the volume grid in scenario 1, the mobile phone may prompt that the normal mode has been entered (or that the privacy preserving mode has been exited, which may also be referred to as a second prompt message). For example, after the volume is adjusted up to x+1 in the scenario 1, the mobile phone may display an interface 1503 shown in fig. 15, where the interface 1503 includes a prompt "the volume is adjusted down to enter the smart privacy call" for prompting that the privacy protection mode is to be entered only by adjusting the volume down, i.e. the privacy protection mode has been exited.
In other embodiments, after adjusting the volume, the phone may prompt the adjusted volume. For example, after adjusting the volume grid to x in the scene 2, the mobile phone may prompt that the adjusted volume grid is x (may also be referred to as a third prompt message). For another example, after adjusting the volume grid to x+1 (may also be referred to as a fourth alert message) in the scene 1, the mobile phone may alert that the adjusted volume grid is x+1.
Further, in order to indicate the correspondence between the volume grid and the working mode (i.e. the privacy protection mode or the normal mode), the mobile phone may also prompt the adjusted volume grid based on the working mode corresponding to the adjusted volume grid. In a specific implementation manner, after the volume grid is reduced to x in the scene 2, the mobile phone may prompt the volume grid to be x with the volume bar of the first color. After the volume grid is turned up to x+1 in the scene 1, the mobile phone can prompt that the volume grid is adjusted to x+1 by the volume bar of the second color.
For example, after the volume grid is reduced to x in the scene 2, the mobile phone may display an interface 1501 shown in fig. 15, where the interface 1501 includes a prompt message 1502, and where the prompt message 1502 includes a black volume bar 15021 and a phone icon 15022 surrounded by a hexagonal shield, so that when the adjusted volume grid x is prompted, the adjusted volume grid x may be prompted to correspond to the privacy protection mode.
Also for example, after the volume is adjusted to x+1 in scenario 1, the handset may display interface 1503 shown in fig. 15. The interface 1503 includes a prompt 1504, where the prompt 1504 includes a gray volume bar 15041 and a telephone icon 15042 surrounded by a shield having no hexagon, so that when the adjusted volume grid x+1 is prompted, the adjusted volume grid x+1 corresponds to the normal mode.
Therefore, it should be noted that, when the user manually adjusts the volume grid, the mobile phone can also send a prompt, so that the user can clearly adjust the effect after the volume grid, and redundant description is omitted here.
In the process of a call, i.e. from the time of making a call to the time of hanging up, if the number of times of automatically adjusting the volume grid is too large, the call experience of the user is often very poor. For example, in a call of 1 minute, 3 times of automatic adjustment of the volume grid can cause the call volume to be automatically switched 3 times in 1 minute, and the call volume is frequently suddenly increased or reduced, so as to affect the call experience.
Based on this, in some embodiments, after a call is started, the handset may start counting from 0. And, after each execution of S804 of automatically adjusting the volume grid, the adjustment number is increased by 1. In this embodiment, the mobile phone may determine whether to continue to adjust the volume grid based on the adjustment times, so as to avoid excessive adjustment of the volume grid in a call process. Specifically, referring to fig. 16, after the call is started, that is, after S802, the method further includes:
s1600, starting a counter from 0 by the mobile phone.
The count indicates the number of times the volume is automatically adjusted, and when a call is started, the volume is not automatically adjusted, and the count is 0.
Prior to S804, further comprising:
S1601, the mobile phone judges whether the count exceeds a preset value. If not, executing S804; if yes, the volume grid is not automatically adjusted.
The preset value may be 1,2,3 … …. In general, in a call process, it is reasonable to automatically adjust the volume for 1 or 2 times, and experience is poor in many cases. Based on this, a preset value of 1 or 2 may be set.
If the adjustment times exceeds the preset value, the automatic adjustment of the volume grid is indicated to be more times, and in order to avoid influencing the conversation experience due to frequent adjustment of the volume grid, the mobile phone can not automatically adjust the volume grid any more. That is, after the adjustment times exceeds the preset value, even if the earphone is used for voice call, the volume grid of the current call volume and the environment classification belong to the scene 1 or the scene 2, the mobile phone can not adjust the volume grid any more.
If the adjustment times do not exceed the preset value, the automatic adjustment of the volume grid is indicated to be less, and the automatic adjustment of the volume grid can be continued later when the earphone is used for voice communication and the volume grid and the environment classification of the current communication volume belong to the scene 1 or the scene 2. That is, the handset may perform S804.
After S804, further including:
S1602, after adjusting the volume grid, the mobile phone increments the counter by one. Wherein if the volume grid is unchanged, the count of the counter is kept unchanged.
It should be understood that executing S804, if it is scene 1 or scene 2, adjusts the volume grid. Accordingly, in S1602, the number of adjustments need to be increased by one. And S804 is performed, if it is scene 3 or scene 4, the volume grid is not adjusted. Accordingly, in S1602, the adjustment count is not incremented by one.
For example, the initial value of the adjustment number is 0, S804 is performed under scenario 1, and after the volume grid is adjusted from x to x+1, S1602 is performed to update the adjustment number to 1. Thereafter, in the case of scene 2, S804 is performed, and after the volume grid is adjusted from x+1 to x, S1602 is performed to update the adjustment frequency to 2. Thereafter, when S804 is executed in the case of 3, the volume grid is kept unchanged at x+1, and when S1602 is executed subsequently, the adjustment number is kept unchanged at 2 … …
Note that in fig. 16, between S803 and S804, the number of adjustments is determined, and in the case where it is determined that the number of adjustments does not exceed the preset value, S804 is further performed. Of course, in other embodiments, the adjustment frequency may be determined before S803, and if it is determined that the adjustment frequency does not exceed the preset value, S803 and subsequent steps may be further performed. In this way, it is possible to avoid wasting the operation resources by continuing to execute S803 after the adjustment number exceeds the preset value.
By adopting the embodiment, the number of times of automatically adjusting the volume grid by the mobile phone does not exceed the preset value in the process of one call, so that the influence of frequently adjusting the volume grid on the call experience can be avoided on the basis of automatically switching the privacy protection mode and the normal mode.
In the process of one call, the mobile phone can automatically adjust the volume grid based on the environment classification, and can trigger and adjust the volume grid based on the manual operation of a user. For example, the user may trigger the cell phone to adjust the volume grid by manually pressing a volume key (e.g., the "volume+" key or the "volume-" key shown in FIG. 5). It should be appreciated that the user manually triggers the adjustment of the volume grid, indicating that the user is not satisfied with the volume grid of the current call volume. Then, a possible situation is that the user is not satisfied with the volume of the mobile phone automatically adjusted based on the environmental classification. Or the user manually triggers the volume adjusting grid, the user is indicated to be inclined to trigger the volume adjusting grid in a manual mode, and the mobile phone is not required to automatically adjust the volume grid.
Based on this, in some embodiments, referring to fig. 17, S804 may specifically be S804A:
S804A, if the operation of manually triggering and adjusting the volume grid is not received by the user in the conversation process, the mobile phone adjusts the volume grid based on environment classification in the voice conversation process by using the earphone, and the voice parameters corresponding to the adjusted volume grid are used for conversation, so that the privacy protection mode and the normal mode are switched.
The operation of manually triggering the volume adjustment by the user may be an operation of pressing a volume key, an operation of inputting a voice of adjusting the volume, an operation of sliding a volume bar on a display screen, or the like, which is not particularly limited in the embodiment of the present application.
If the operation of manually triggering and adjusting the volume grid by the user is not received in the conversation process, the mobile phone can adjust the volume grid based on the environment classification in the voice conversation process by using the earphone. Therefore, the volume grid can be automatically adjusted based on the environment classification only when the user is satisfied with the volume grid obtained by automatically adjusting the mobile phone based on the environment classification or the user needs to automatically adjust the volume grid by the mobile phone, so that the rationality of automatically adjusting the volume grid is improved.
In contrast, if the user manually adjusts the volume during the call, even if the handset is used for voice call and the condition of scene 1 or scene 2 is satisfied, the handset will not adjust the volume grid based on the environmental classification. Therefore, when the user is dissatisfied with the volume grid obtained by automatically adjusting the mobile phone based on the environment classification, or the user does not need to automatically adjust the volume grid by the mobile phone, the volume grid can not be automatically adjusted, and the rationality of automatically adjusting the volume grid is improved.
Note that in fig. 17, in the case where an operation of manually adjusting the volume by the user is not received during the call, the step of automatically adjusting the volume grid based on the environment classification is performed. Of course, in other embodiments, S803 and subsequent steps may be performed only if the user does not receive an operation of manually adjusting the volume during the call. Thus, it is possible to avoid wasting operation resources by continuing to execute S803 after receiving the operation of manually adjusting the volume by the user.
By adopting the embodiment, in the process of one call, the mobile phone can automatically adjust the volume based on the environment classification only under the condition that the user does not manually adjust the volume grid. In this way, the rationality of the automatic volume adjustment grid can be improved.
S805, the mobile phone ends the call.
After detecting the hang-up event of the call, the mobile phone can end the call. The hang-up event may be an event that a user actively hangs up, such as an event that a hang-up button is clicked; or the hang-up event is a passive hang-up event, such as an event that the opposite end hangs-up, an event that is affected by the network and hangs-up, etc.
Taking the hang-up event as an example, when the user clicks the hang-up button, and the phone calls 01:00 shown in fig. 18, the phone responds to the click operation of the hang-up button 1801 in fig. 18 by the user, and the call is ended.
In addition, in some embodiments of S802, the mobile phone may determine the initial volume of the current call based on the volume of the call volume during the previous call or at the end of the call. Then, in order to determine the initial volume grid when the call is started next time, the mobile phone also needs to store the volume grid of the call volume in the process of the call.
Taking the volume grid based on the call volume at the last call end time as an example, the initial volume grid of the current call is determined, and the mobile phone can always record the volume grid of the current call volume, then the volume grid at the call end time is recorded at the end time, so that the initial volume grid can be determined after the call is started next time.
Referring to fig. 19, a functional block diagram of a mobile phone according to an embodiment of the present application is provided. As shown in fig. 19, the hardware modules of the handset include a modem (modem) 1901, volume keys 1902, a microphone 1903, a screen sounding process 1904, a power amplifier 1905, a screen sounder 1906, and a top speaker 1907. The DSP of the handset includes a volume control 1908, a screen sounding process 1909, a speaker sounding process 1910, an echo reference (EC REF) pre-process 1911, and an EC process 1912.
The modem 1901 is a "translator" of analog and digital signals, among others. In one aspect, the modem 1901 may translate a call signal (an analog signal) transmitted from the opposite terminal through the network into a digital signal, so as to obtain a call uplink signal. On the other hand, the modem 1901 can translate a call uplink signal (digital signal) inputted by the user into an analog signal and transmit the signal to the opposite terminal via the network.
The volume button 1902 is used to adjust the volume. During a call, the volume button 1902 is used to adjust the call volume. The operation of manually triggering the adjustment of the volume pane by the user may be a pressing operation of the volume key 1903.
The microphone 1903 is used to collect ambient sound. It should be appreciated that during a conversation, sounds collected by the microphone 1911 include conversations of the user, sounds played by the earpiece, ambient noise, and the like.
Volume control 1908 is used to determine sound parameters such as screen sound parameters and speaker sound parameters. For example, upon receiving an operation of manually adjusting the volume grid by the user, the volume control 1908 may determine the sound emission parameter based on the correspondence between the volume grid and the sound emission parameter shown in table 1.
The screen sounding process 1909 and the power amplifier 1904 are configured to process the call downlink signal (e.g. s 1) based on the screen sounding parameter, to obtain a driving signal of the screen sounding device 1906, so as to drive the screen sounding device 1906 to make the sound 2.
Speaker voicing process 1910 and power amplifier 1905 are configured to process a call down signal (e.g., s 2) based on speaker voicing parameters to obtain a drive signal for top speaker 1907, thereby driving top speaker 1907 to emit sound 1.
It will be appreciated that through the volume control 1908, the screen sounding process 1909, the power amplifier 1904, and the screen sounding device 1906 described above, the screen sounding device 1906 may be caused to sound at corresponding intensities at corresponding volume boxes, and through the volume control 1908, the speaker sounding process 1910, the power amplifier 1905, and the top speaker 1907 described above, the top speaker 1907 may be caused to sound at corresponding intensities at corresponding volume boxes. Thereby realizing privacy protection or realizing clear conversation.
EC REF preprocessing 1911 is configured to fuse the driving signals obtained by processing by power amplifier 1904 and power amplifier 1905, so as to obtain a sound signal played by the earpiece.
The EC 1912 is used for filtering the sound signal played by the earphone from the environmental sound, so as to improve the purity of the uplink call signal.
In addition, the mobile phone also comprises an application program for realizing volume display, voice call and the like.
That is, with the functional module shown in fig. 19, after the call volume manually set by the user, the mobile phone can use the corresponding sounding parameters to control the dual-unit sounding, so as to realize privacy protection or realize clear call.
In the embodiment of the application, the privacy protection or the clear call can be realized based on the call volume manually set by the user, and the privacy protection or the clear call can be realized by automatically adjusting the call volume based on the environment classification. Based on this, on the basis of fig. 19, the embodiment of the application also provides a functional module diagram of the mobile phone shown in fig. 20.
As shown in fig. 20, the handset further includes an environmental classification 2001. The environment classification 2001 is used to classify the environment based on the environmental sound collected by the microphone 1903. For example, the action of the environmental classification in the foregoing S803 is performed. In one particular implementation, the context classification 2001 may classify the context based on the handover threshold M1 and the handover threshold M2. The sound pressure level of the environmental sound is higher than M1, and the environmental sound is classified as noisy; ambient sound is classified as quiet if its sound pressure level is lower than M2. See for details the description in S803 above.
The environment classification 2001 is also used to transmit the result of the environment classification to the volume control 1908 when the result of the environment classification changes. For example, after the result of the environmental classification changes from quiet to noisy, information that the environmental classification is noisy is sent to the volume control 1908; after the result of the environmental classification changes from noisy to quiet, information that the environmental classification is quiet is sent to the volume control 1908.
Accordingly, the volume control 1908 may also be used to automatically switch the privacy preserving mode and the normal mode based on the environment classification, for example, to perform S804 described above.
Further, the volume control 1908 automatically switches the privacy-preserving mode and the normal mode based on the environment classification only if the adjustment number does not exceed the preset value. With continued reference to fig. 20, the volume control 1908 also needs to determine whether switching is required in conjunction with a preset value before automatically switching the privacy preserving mode and the normal mode. See in particular the description of fig. 16 above.
Further, the volume control 1908 automatically switches the privacy protecting mode and the normal mode based on the environment classification only if the user does not manually adjust the volume. With continued reference to fig. 20, the volume control 1908 also needs to determine that the user has not manually adjusted the volume by operating the volume button 1903 before automatically switching the privacy preserving mode and the normal mode. See in particular the description of fig. 17 above.
Further, the volume control 1908 displays automatic switching of the privacy protecting mode and the normal mode based on the environment classification only after the automatic switching function is turned on. With continued reference to fig. 20, the volume control 1908 needs to switch the privacy preserving mode and the normal mode automatically based on the environment classification after the automatic switching function is turned on by the application. See for a detailed description of S801 above.
Further, after adjusting the volume, the application may also prompt that the privacy mode has been switched to or is switched to the normal mode. See in particular fig. 15 and its associated description.
The embodiment of the application also provides electronic equipment, which can comprise: a memory and one or more processors. The memory is coupled to the processor. The memory is for storing computer program code, the computer program code comprising computer instructions. When the processor executes the computer instructions, the electronic device may perform the functions or steps performed by the mobile phone in the above-described method embodiments.
Embodiments of the present application also provide a chip system, as shown in fig. 21, the chip system 2100 includes at least one processor 2101 and at least one interface circuit 2102. The processor 2101 and the interface circuit 2102 may be interconnected by wires. For example, the interface circuit 2102 may be used to receive signals from other devices (e.g., a memory of an electronic apparatus). For another example, the interface circuit 2102 may be used to send signals to other devices (e.g., the processor 2101). The interface circuit 2102 may, for example, read instructions stored in a memory and send the instructions to the processor 2101. The instructions, when executed by the processor 2101, may cause the electronic device to perform the various steps described in the embodiments above. Of course, the system-on-chip may also include other discrete devices, which are not particularly limited in accordance with embodiments of the present application.
The present embodiment also provides a computer readable storage medium, where computer instructions are stored, which when executed on an electronic device, cause the electronic device to perform the functions or steps performed by the mobile phone in the above-described method embodiment.
The present embodiment also provides a computer program product which, when run on a computer, causes the computer to perform the functions or steps performed by the handset in the method embodiments described above.
In addition, embodiments of the present application also provide an apparatus, which may be embodied as a chip, component or module, which may include a processor and a memory coupled to each other; the memory is configured to store computer-executable instructions, and when the device is operated, the processor may execute the computer-executable instructions stored in the memory, so that the chip performs the functions or steps executed by the mobile phone in the above method embodiment.
The electronic device, the communication system, the computer readable storage medium, the computer program product or the chip provided in this embodiment are used to execute the corresponding method provided above, so that the benefits achieved by the electronic device, the communication system, the computer readable storage medium, the computer program product or the chip can refer to the benefits in the corresponding method provided above, and are not repeated herein.
From the foregoing description of the embodiments, it will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of functional modules is illustrated, and in practical application, the above-described functional allocation may be implemented by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to implement all or part of the functions described above.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another apparatus, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and the parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated unit may be stored in a readable storage medium if implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or a part contributing to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions for causing a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that the above-mentioned embodiments are merely for illustrating the technical solution of the present application and not for limiting the same, and although the present application has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications and equivalents may be made to the technical solution of the present application without departing from the spirit and scope of the technical solution of the present application.

Claims (24)

1. The communication method is characterized by being applied to electronic equipment, wherein the electronic equipment comprises a display screen, a first loudspeaker and a screen sounder; the first loudspeaker is arranged at a position, close to the top, on the electronic equipment, the display screen comprises a screen sounder, the first loudspeaker and the screen sounder are both used for playing sound in the process of voice communication by using the receiver by the electronic equipment, and the method further comprises the following steps:
In the process of using the receiver to carry out voice communication, if the communication volume set in the electronic equipment is equal to a second preset volume and the electronic equipment receives a first event, the electronic equipment updates the communication volume to a first preset volume and displays first prompt information, wherein the first prompt information is used for prompting the electronic equipment to work in a first mode, and the first preset volume is lower than the second preset volume;
In the process of using the receiver to carry out voice communication, if the communication volume is equal to the first preset volume and the electronic equipment receives a second event, the electronic equipment updates the communication volume to the second preset volume and displays second prompt information, wherein the second prompt information is used for prompting that the electronic equipment exits from the first mode;
The electronic equipment works in the first mode, and the volume of sound played by the screen sounder is larger than that of sound played by the first loudspeaker; compared with the electronic equipment working in the first mode, after the electronic equipment exits from the first mode, the volume of sound played by the screen sounder and the volume of sound played by the first loudspeaker are both high;
The electronic equipment is pre-configured with a first sounding parameter and a second sounding parameter corresponding to the first preset volume, and a third sounding parameter and a fourth sounding parameter corresponding to the second preset volume; the electronic device updates the call volume to a second preset volume, including: at a first moment in a first preset time period, the screen sounder plays sound based on the weighted sum of the first sound generation parameter and the third sound generation parameter, and the first loudspeaker plays sound based on the weighted sum of the second sound generation parameter and the fourth sound generation parameter; the first time is any one of a plurality of times included in the first preset time period, and in the process that the first time is changed from the starting time of the first preset time period to the ending time of the first preset time period, the weights of the first sounding parameter and the third sounding parameter become smaller gradually, and the weights of the second sounding parameter and the fourth sounding parameter become larger gradually.
2. The method of claim 1, wherein the first event comprises a user manually adjusting the call volume to the first preset volume, or wherein the first event comprises the electronic device detecting that an environment of a second type is present, the second type having an environment volume less than a second preset threshold.
3. The method of claim 1 or 2, wherein the second event comprises a user manually adjusting the call volume to the second preset volume, or wherein the second event comprises the electronic device detecting that an environment of a first type is present, the environment volume of the first type being greater than a first preset threshold.
4. The method according to claim 1 or 2, characterized in that the method further comprises:
If the call volume set in the electronic equipment is equal to the second preset volume and the electronic equipment receives the first event, the electronic equipment displays third prompt information, wherein the third prompt information is used for indicating the first preset volume;
And if the call volume is equal to the first preset volume and the electronic equipment receives the second event, the electronic equipment displays fourth prompt information, wherein the fourth prompt information is used for indicating the second preset volume.
5. The method of claim 4, wherein the third message comprises a volume bar of a first color and the fourth message comprises a volume bar of a second color.
6. The communication method is characterized by being applied to electronic equipment, wherein the electronic equipment comprises a display screen, a first loudspeaker and a screen sounder; the first loudspeaker is arranged at a position, close to the top, on the electronic equipment, the display screen comprises a screen sounder, the first loudspeaker and the screen sounder are both used for playing sound in the process of voice communication by using the receiver by the electronic equipment, and the method further comprises the following steps:
In the process of using the earphone to carry out voice communication, if the communication volume set in the electronic equipment is equal to a first preset volume and the electronic equipment is in a first type of environment, the electronic equipment automatically updates the communication volume to a second preset volume, wherein the second preset volume is larger than the first preset volume, and the environment volume of the first type of environment is larger than a first preset threshold;
In the process of using the receiver to carry out voice communication, if the communication volume is equal to the second preset volume and the electronic equipment is in a second type environment, the electronic equipment automatically updates the communication volume to the first preset volume, and the environment volume of the second type environment is smaller than a second preset threshold;
In the process of using the receiver to carry out voice call, if the call volume set in the electronic equipment is smaller than the first preset volume or the call volume set in the electronic equipment is larger than the second preset volume, the call volume is not automatically updated;
Under the condition that the call volume is equal to the first preset volume, the volume of sound played by the screen sounder is larger than that of sound played by the first loudspeaker; compared with the condition that the call volume is equal to the first preset volume, the volume of the sound played by the screen sounder and the volume of the sound played by the first loudspeaker are both increased when the call volume is equal to the second preset volume.
7. The method of claim 6, wherein the method further comprises:
In the process of using the receiver to carry out voice call, if the call volume set in the electronic equipment is equal to the first preset volume and the electronic equipment is in the second type environment, or if the call volume set in the electronic equipment is equal to the second preset volume and the electronic equipment is in the first type environment, the call volume is not automatically updated.
8. The method according to claim 6 or 7, characterized in that the method further comprises:
Before the electronic equipment automatically updates the call volume, determining that the operation of manually adjusting the call volume by a user is not received in the process of the voice call;
Wherein if an operation of manually adjusting the call volume by a user is received during the voice call, the call volume is not automatically updated.
9. The method according to claim 6 or 7, characterized in that the method further comprises:
the electronic equipment starts counting from 0 in response to the voice call;
After the electronic equipment automatically updates the call volume, adding one to the count;
the electronic device automatically updating the call volume, including:
and determining that the count does not exceed a preset value, and automatically updating the call volume by the electronic equipment.
10. The method according to claim 6 or 7, characterized in that the method further comprises:
in response to the voice call beginning, the electronic device determines a call volume at which the voice call was initiated;
the call volume set in the electronic device is equal to a first preset volume, and the method comprises the following steps:
the initial call volume is equal to the first preset volume;
the call volume is equal to the second preset volume, and the method comprises the following steps:
The initial call volume is equal to the second preset volume.
11. The method of claim 10, wherein the electronic device determining an initial call volume comprises:
if the call volume at the last voice call end is x1, wherein x1 is larger than the first preset volume, the electronic equipment determines that the initial call volume is the first preset volume;
And if the call volume at the last voice call end is x2, and x2 is smaller than or equal to the first preset volume, the electronic equipment determines that the initial call volume is x2.
12. The method according to claim 6 or 7, characterized in that the method further comprises:
After the electronic equipment automatically updates the call volume, the electronic equipment sends a prompt, wherein the prompt is used for prompting the updated call volume, and/or the prompt is used for prompting the sounding effect after the call volume is updated.
13. The method according to claim 6 or 7, characterized in that the method further comprises:
the electronic equipment displays a first interface, wherein the first interface comprises a first control, and the first control is used for triggering and starting a function of automatically updating call volume;
responding to the preset operation of the user on the first control, and starting the function of automatically updating the call volume;
Before the electronic equipment automatically updates the call volume, determining that the function of automatically updating the call volume is started.
14. The method of claim 6 or 7, wherein the screen sounder comprises a sound drive means;
the sound production driving device is used for driving a first area of the display screen to produce sound, and the first area is a position close to an auditory canal of a user in the process that the electronic equipment uses the earphone to conduct voice communication.
15. The method of claim 14, wherein the sound-emitting driver device is a ceramic device or a screen exciter.
16. The method of claim 6 or 7, wherein the on-screen sounder emits sound in a first frequency band, the first speaker emits sound in a second frequency band, and the first frequency band is higher than the second frequency band.
17. The method of claim 6 or 7, wherein the electronic device further comprises a second speaker for playing sound during the voice call using hands-free.
18. The method according to claim 6 or 7, wherein the call volume is equal to the first preset volume if the volume of the call volume is equal to the first volume;
The volume grid of the call volume is equal to a second volume grid, and the call volume is equal to the second preset volume;
wherein the second volume grid is equal to the first volume grid plus one.
19. The method according to claim 6 or 7, wherein the electronic device is preconfigured with a first sounding parameter and a second sounding parameter corresponding to the first preset volume, and a third sounding parameter and a fourth sounding parameter corresponding to the second preset volume;
And when the call volume is equal to the first preset volume, the volume of the sound played by the screen sounder is larger than the volume of the sound played by the first loudspeaker, including:
when the call volume is equal to the first preset volume, the screen sounder plays sound based on the first sound generation parameter, and the first loudspeaker plays sound based on the second sound generation parameter, so that the volume of the sound played by the screen sounder is larger than that of the sound played by the first loudspeaker;
compared with the condition that the call volume is equal to the first preset volume, when the call volume is equal to the second preset volume, the volume of the sound played by the screen sounder and the volume of the sound played by the first loudspeaker are both higher, and the method comprises the following steps:
And under the condition that the call volume is equal to the second preset volume, the screen sounder plays sound based on the third sounding parameter, and the first loudspeaker plays sound based on the fourth sounding parameter, so that the volume of the sound played by the screen sounder and the volume of the sound played by the first loudspeaker are both increased.
20. The method of claim 19, wherein the electronic device automatically updating the call volume to a second preset volume comprises:
At a first moment in a first preset time period, the screen sounder plays sound based on the weighted sum of the first sound generation parameter and the third sound generation parameter, and the first loudspeaker plays sound based on the weighted sum of the second sound generation parameter and the fourth sound generation parameter;
The first time is any one of a plurality of times included in the first preset time period, and in the process that the first time is changed from the starting time of the first preset time period to the ending time of the first preset time period, the weights of the first sounding parameter and the second sounding parameter become smaller gradually, and the weights of the third sounding parameter and the fourth sounding parameter become larger gradually.
21. The method of claim 19, wherein the electronic device automatically updating the call volume to a first preset volume comprises:
At a second moment in a second preset time period, the screen sounder plays sound based on the weighted sum of the first sound generation parameter and the third sound generation parameter, and the first loudspeaker plays sound based on the weighted sum of the second sound generation parameter and the fourth sound generation parameter;
The second time is any one of a plurality of times included in the second preset time period, and in the process that the second time is changed from the starting time of the second preset time period to the ending time of the second preset time period, the weights of the first sounding parameter and the second sounding parameter become larger gradually, and the weights of the third sounding parameter and the fourth sounding parameter become smaller gradually.
22. An electronic device comprising a display screen, a first speaker, a screen sounder, a memory, and a processor, the display screen, the first speaker, the screen sounder, the memory, and the processor being coupled; wherein the memory has stored therein computer program code comprising computer instructions which, when executed by the processor, cause the electronic device to perform the method of any of claims 1-21.
23. A computer readable storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the method of any one of claims 1-21.
24. A chip system for application to an electronic device comprising a processor and a memory, the chip system comprising one or more interface circuits and one or more processors, the interface circuits and the processors being interconnected by wires, the interface circuits being adapted to receive signals from the memory of the electronic device and to send the signals to the processor, the signals comprising computer instructions stored in the memory, which when executed by the processor, cause the electronic device to perform the method of any of claims 1-21.
CN202310144862.0A 2023-01-29 2023-01-29 Conversation method and electronic equipment Active CN117135262B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN202310144862.0A CN117135262B (en) 2023-01-29 2023-01-29 Conversation method and electronic equipment
CN202410823799.8A CN118714219A (en) 2023-01-29 2023-01-29 Conversation method and electronic equipment
PCT/CN2023/133485 WO2024156220A1 (en) 2023-01-29 2023-11-22 Call method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310144862.0A CN117135262B (en) 2023-01-29 2023-01-29 Conversation method and electronic equipment

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202410823799.8A Division CN118714219A (en) 2023-01-29 2023-01-29 Conversation method and electronic equipment

Publications (2)

Publication Number Publication Date
CN117135262A CN117135262A (en) 2023-11-28
CN117135262B true CN117135262B (en) 2024-07-12

Family

ID=88858838

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202310144862.0A Active CN117135262B (en) 2023-01-29 2023-01-29 Conversation method and electronic equipment
CN202410823799.8A Pending CN118714219A (en) 2023-01-29 2023-01-29 Conversation method and electronic equipment

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202410823799.8A Pending CN118714219A (en) 2023-01-29 2023-01-29 Conversation method and electronic equipment

Country Status (2)

Country Link
CN (2) CN117135262B (en)
WO (1) WO2024156220A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103973863A (en) * 2014-05-30 2014-08-06 深圳市中兴移动通信有限公司 Method for automatically adjusting call volume and communication terminal
CN114466097A (en) * 2021-08-10 2022-05-10 荣耀终端有限公司 Mobile terminal capable of preventing sound leakage and sound output method of mobile terminal

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7142678B2 (en) * 2002-11-26 2006-11-28 Microsoft Corporation Dynamic volume control
CN202979082U (en) * 2012-05-31 2013-06-05 广东步步高电子工业有限公司 Automatic call volume adjuster applied for mobile phone
CN105472126B (en) * 2015-11-13 2017-11-21 珠海格力电器股份有限公司 Call privacy control method and device and mobile terminal
CN107135316B (en) * 2017-06-30 2019-12-10 Oppo广东移动通信有限公司 method and device for adjusting call volume, storage medium and terminal
CN110493470A (en) * 2019-08-27 2019-11-22 广东小天才科技有限公司 A kind of electronic equipment and talking state control method applied to electronic equipment
CN112383655B (en) * 2020-11-02 2022-07-12 Oppo广东移动通信有限公司 Electronic device, sound enhancement method for electronic device, and storage medium
CN115623121B (en) * 2021-07-13 2024-04-05 北京荣耀终端有限公司 Communication method, electronic equipment, chip system and storage medium
CN115623123B (en) * 2021-07-13 2024-07-23 北京荣耀终端有限公司 Audio processing method and equipment
CN113890936B (en) * 2021-11-09 2023-02-24 Oppo广东移动通信有限公司 Volume adjustment method, device and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103973863A (en) * 2014-05-30 2014-08-06 深圳市中兴移动通信有限公司 Method for automatically adjusting call volume and communication terminal
CN114466097A (en) * 2021-08-10 2022-05-10 荣耀终端有限公司 Mobile terminal capable of preventing sound leakage and sound output method of mobile terminal

Also Published As

Publication number Publication date
WO2024156220A1 (en) 2024-08-02
CN117135262A (en) 2023-11-28
CN118714219A (en) 2024-09-27

Similar Documents

Publication Publication Date Title
CN201750452U (en) Mobile communication terminal
CN105049977A (en) Automatic earphone volume adjusting method and device
JP2002244686A (en) Voice processing method, and telephone and repeater station using the same
CN101467431A (en) Audio processing in communication terminals
US10121491B2 (en) Intelligent volume control interface
JP2002118642A (en) Portable telephone
KR101607148B1 (en) Apparatus and method for outputting sound in mobile terminal
WO2022022423A1 (en) Method and apparatus for realizing low power consumption of wireless headset, and wireless headset and readable storage medium
CN113099336B (en) Method and device for adjusting earphone audio parameters, earphone and storage medium
CN116471355B (en) Audio playing method and electronic equipment
CN107621933B (en) Audio playing method and device and related medium product
CN114845213A (en) Method for adjusting volume of terminal and terminal
CN100531242C (en) Sound reproduction device and method in portable electronic equipment
CN111107226A (en) Volume control method applied to mobile terminal
CN117135262B (en) Conversation method and electronic equipment
CN109511040B (en) Whisper amplifying method and device and earphone
WO2023160204A1 (en) Audio processing method, and electronic device
WO2018035868A1 (en) Method for outputting audio, electronic device, and storage medium
CN108900706B (en) Call voice adjustment method and mobile terminal
CN113824838B (en) Sounding control method and device, electronic equipment and storage medium
CN113196800A (en) Hybrid microphone for wireless headset
CN109195044B (en) Noise reduction earphone, call terminal, noise reduction control method and recording method
CN115623121A (en) Call method and electronic equipment
CN111324331A (en) Interactive message prompting method and device, electronic equipment and storage medium
CN2857388Y (en) Blueteeth earphone with calling speech indication

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