CN108377298B - Method and device for switching answering mode, mobile terminal and computer readable storage medium - Google Patents

Method and device for switching answering mode, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN108377298B
CN108377298B CN201810121799.8A CN201810121799A CN108377298B CN 108377298 B CN108377298 B CN 108377298B CN 201810121799 A CN201810121799 A CN 201810121799A CN 108377298 B CN108377298 B CN 108377298B
Authority
CN
China
Prior art keywords
mobile terminal
user
receiver
ear
intelligent mobile
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.)
Expired - Fee Related
Application number
CN201810121799.8A
Other languages
Chinese (zh)
Other versions
CN108377298A (en
Inventor
候祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810121799.8A priority Critical patent/CN108377298B/en
Publication of CN108377298A publication Critical patent/CN108377298A/en
Application granted granted Critical
Publication of CN108377298B publication Critical patent/CN108377298B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Landscapes

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

Abstract

The embodiment of the invention discloses a method and a device for switching an answering mode and a computer readable storage medium, which are used for automatically switching a user to a proper answering mode in a scene that the user is inconvenient to switch the answering mode. The method comprises the following steps: judging whether a receiver of the intelligent mobile terminal is close to the ear of the user or not; if the receiver of the intelligent mobile terminal is not close to the ear of the user, judging whether the current answering mode is the receiver mode; and if the current answering mode is the receiver mode, switching the receiver mode into the loudspeaker mode. The technical scheme provided by the invention ensures that the user can hear the sound of the caller without manual switching of the intelligent mobile terminal when the ear of the user is far away from the earphone, and is convenient for the user to use the intelligent mobile terminal under the condition of poor lighting environment.

Description

Method and device for switching answering mode, mobile terminal and computer readable storage medium
Technical Field
The present invention relates to the field of mobile terminals, and in particular, to a method, an apparatus, and a computer-readable storage medium for switching an answering mode.
Background
With the wide popularization of mobile intelligent terminals such as smart phones and tablet computers, mobile intelligent terminal manufacturers not only stay on the function of manufacturing mobile intelligent terminals such as smart phones, but also require that the appearance of the mobile intelligent terminals is more attractive so as to provide better experience for users, for example, many manufacturers seek so-called full screens at present. The comprehensive screen can provide good experience for users, however, the smart phone with the comprehensive screen also brings inconvenience to the users in the using process. For example, when the user turns off the screen, the user cannot determine where the handset of the mobile phone is, which causes a trouble for the user in that if the handset is not facing the ear during listening, the user may not hear clearly.
In view of the above problems, the existing solution is to provide a switch key, and switch the receiver mode to the speaker mode by clicking the switch key when the receiver is not facing the ear.
The drawback of the above-mentioned prior art solutions is that there are still a lot of inconveniences. For example, if the above-described scene occurs when the user is awake by an incoming call or in a dark environment, the user may be confused or may want to search for the switching key in such an environment.
Disclosure of Invention
The embodiments of the present invention mainly aim to provide a method, an apparatus, and a computer-readable storage medium for switching an answering mode, so as to automatically switch a suitable answering mode for a user in a scenario where the user is inconvenient to switch the answering mode.
In order to achieve the above object, a first aspect of the embodiments of the present invention provides a method for switching an answering mode, where the method includes:
judging whether a receiver of the intelligent mobile terminal is close to the ear of the user or not;
if the receiver of the intelligent mobile terminal is not close to the ear of the user, judging whether the current answering mode is the receiver mode;
and if the current listening mode is a receiver mode, switching the receiver mode into a loudspeaker mode.
With reference to the first aspect of the embodiments of the present invention, in a first implementation manner of the first aspect, the determining whether an earphone of the smart mobile terminal is close to an ear of a user includes:
detecting whether an earphone of the intelligent mobile terminal is positioned at the same horizontal line with the ear of a user;
and if the receiver of the intelligent mobile terminal and the ear of the user are not in the same horizontal line, determining that the receiver of the intelligent mobile terminal is not close to the ear of the user.
With reference to the first aspect of the embodiments of the present invention, in a second implementation manner of the first aspect, the determining whether an earphone of the smart mobile terminal is close to an ear of a user includes:
detecting whether the horizontal distance between a receiver of the intelligent mobile terminal and the ear of a user exceeds a preset threshold value or not;
and if the horizontal distance between the receiver of the intelligent mobile terminal and the ear of the user exceeds the preset threshold value, determining that the receiver of the intelligent mobile terminal is not close to the ear of the user.
With reference to the first aspect of the embodiments, the first implementation manner of the first aspect, or the second implementation manner of the first aspect, in a third implementation manner of the first aspect, the method further includes:
if the receiver of the intelligent mobile terminal is close to the ear of the user, judging whether the front main screen of the intelligent mobile terminal faces away from the ear of the user;
and if the front main screen of the intelligent mobile terminal faces back to the ears of the user, switching the current earphone to the earphone of the back auxiliary screen of the intelligent mobile terminal.
In order to achieve the above object, a second aspect of embodiments of the present invention provides an apparatus for processing a photo-modeling, the apparatus comprising:
the first judgment module is used for judging whether a receiver of the intelligent mobile terminal is close to the ear of the user;
the second judgment module is used for judging whether the current answering mode is the receiver mode or not if the receiver of the intelligent mobile terminal is not close to the ear of the user;
and the first switching module is used for switching the receiver mode into a loudspeaker mode if the current receiving mode is the receiver mode.
With reference to the second aspect of the embodiment of the present invention, in a first implementation manner of the second aspect, the first determining module includes:
the first detection unit is used for detecting whether an earphone of the intelligent mobile terminal and the ear of the user are in the same horizontal line or not;
the first determining unit is used for determining that the earphone of the intelligent mobile terminal is not close to the ear of the user if the earphone of the intelligent mobile terminal and the ear of the user are not in the same horizontal line.
With reference to the second aspect of the embodiment of the present invention, in a second implementation manner of the second aspect, the first determining module includes:
the second detection unit is used for detecting whether the horizontal distance between a receiver of the intelligent mobile terminal and the ear of the user exceeds a preset threshold value or not;
and the second determining unit is used for determining that the earphone of the intelligent mobile terminal is not close to the ear of the user if the horizontal distance between the earphone of the intelligent mobile terminal and the ear of the user exceeds the preset threshold value.
With reference to the second aspect of the present embodiments, the first implementation manner of the second aspect, or the second implementation manner of the second aspect, in a third implementation manner of the second aspect, the apparatus further includes:
the third judgment module is used for judging whether the front main screen of the intelligent mobile terminal faces back to the ears of the user or not if the receiver of the intelligent mobile terminal is close to the ears of the user;
and the second switching module is used for switching the current earphone to the earphone of the back auxiliary screen of the intelligent mobile terminal if the front main screen of the intelligent mobile terminal is opposite to the ears of the user.
In order to achieve the above object, a third aspect of embodiments of the present invention provides a mobile terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the following steps of the method when executing the computer program:
judging whether a receiver of the intelligent mobile terminal is close to the ear of the user or not;
if the receiver of the intelligent mobile terminal is not close to the ear of the user, judging whether the current answering mode is the receiver mode;
and if the current listening mode is a receiver mode, switching the receiver mode into a loudspeaker mode.
With reference to the third aspect of the present invention, in a first implementation manner of the third aspect, the determining whether an earpiece of the smart mobile terminal is close to an ear of a user includes:
detecting whether an earphone of the intelligent mobile terminal is positioned at the same horizontal line with the ear of a user;
and if the receiver of the intelligent mobile terminal and the ear of the user are not in the same horizontal line, determining that the receiver of the intelligent mobile terminal is not close to the ear of the user.
With reference to the third aspect of the present invention, in a second implementation manner of the third aspect, the determining whether an earpiece of the smart mobile terminal is close to an ear of a user includes:
detecting whether the horizontal distance between a receiver of the intelligent mobile terminal and the ear of a user exceeds a preset threshold value or not;
and if the horizontal distance between the receiver of the intelligent mobile terminal and the ear of the user exceeds the preset threshold value, determining that the receiver of the intelligent mobile terminal is not close to the ear of the user.
With reference to the third aspect of the present embodiments, the first implementation manner of the third aspect, or the second implementation manner of the third aspect, in a third implementation manner of the third aspect, the method further includes:
if the receiver of the intelligent mobile terminal is close to the ear of the user, judging whether the front main screen of the intelligent mobile terminal faces away from the ear of the user;
and if the front main screen of the intelligent mobile terminal faces back to the ears of the user, switching the current earphone to the earphone of the back auxiliary screen of the intelligent mobile terminal.
To achieve the above object, a fourth aspect of embodiments of the present invention provides a computer-readable storage medium storing a computer program, which when executed by a processor, implements the steps of the method:
judging whether a receiver of the intelligent mobile terminal is close to the ear of the user or not;
if the receiver of the intelligent mobile terminal is not close to the ear of the user, judging whether the current answering mode is the receiver mode;
and if the current listening mode is a receiver mode, switching the receiver mode into a loudspeaker mode.
With reference to the fourth aspect of the present invention, in a first implementation manner of the fourth aspect, the determining whether an earphone of the smart mobile terminal is close to an ear of a user includes:
detecting whether an earphone of the intelligent mobile terminal is positioned at the same horizontal line with the ear of a user;
and if the receiver of the intelligent mobile terminal and the ear of the user are not in the same horizontal line, determining that the receiver of the intelligent mobile terminal is not close to the ear of the user.
With reference to the fourth aspect of the present invention, in a second implementation manner of the fourth aspect, the determining whether an earphone of the smart mobile terminal is close to an ear of a user includes:
detecting whether the horizontal distance between a receiver of the intelligent mobile terminal and the ear of a user exceeds a preset threshold value or not;
and if the horizontal distance between the receiver of the intelligent mobile terminal and the ear of the user exceeds the preset threshold value, determining that the receiver of the intelligent mobile terminal is not close to the ear of the user.
With reference to the fourth aspect of the present embodiments, the first implementation manner of the fourth aspect, or the second implementation manner of the fourth aspect, in a third implementation manner of the fourth aspect, the method further includes:
if the receiver of the intelligent mobile terminal is close to the ear of the user, judging whether the front main screen of the intelligent mobile terminal faces away from the ear of the user;
and if the front main screen of the intelligent mobile terminal faces back to the ears of the user, switching the current earphone to the earphone of the back auxiliary screen of the intelligent mobile terminal.
According to the technical scheme provided by the embodiment of the invention, when the receiver of the intelligent mobile terminal is not close to the ear of the user, whether the current answering mode is the receiver mode or not is further judged, and when the current answering mode is judged to be the receiver mode, the receiver mode is switched to the loudspeaker mode, so that the sound of the calling party can be heard clearly without manual switching of the user of the intelligent mobile terminal when the ear of the user is far away from the receiver, and the user can conveniently use the intelligent mobile terminal under the condition of poor lighting environment.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a block diagram of a mobile terminal according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for switching listening mode according to an embodiment of the present invention;
fig. 3 is a flowchart of a method for switching listening mode according to another embodiment of the present invention;
fig. 4 is a flowchart of a method for switching listening mode according to another embodiment of the present invention;
fig. 5 is a block diagram of an apparatus for switching an answering mode according to an embodiment of the present invention;
fig. 6 is a block diagram of an apparatus for switching listening mode according to another embodiment of the present invention;
fig. 7 is a block diagram of an apparatus for switching listening mode according to another embodiment of the present invention;
fig. 8-a is a block diagram of an apparatus for switching listening mode according to another embodiment of the present invention;
fig. 8-b is a block diagram of an apparatus for switching listening mode according to another embodiment of the present invention;
fig. 8-c is a block diagram of an apparatus for switching listening mode according to another embodiment of the present invention.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 shows a block diagram of a mobile terminal. The method for switching listening mode provided by the embodiment of the present invention may be applied to the mobile terminal 10 shown in fig. 1, where the mobile terminal 10 may include, but is not limited to: the system is a smart phone, a notebook, a tablet computer, a wearable smart device and the like which need to maintain normal operation by depending on a battery and support network and downloading functions.
As shown in fig. 1, the mobile terminal 10 includes a memory 101, a memory controller 102, one or more processors 103 (only one shown), a peripheral interface 104, a radio frequency module 105, a key module 106, an audio module 107, and a touch screen 108. These components communicate with each other via one or more communication buses/signal lines 109.
It is to be understood that the structure shown in fig. 1 is only an illustration and does not limit the structure of the mobile terminal. The mobile terminal 10 may also include more or fewer components than shown in FIG. 1, or may have a different configuration than shown in FIG. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
The memory 101 may be used to store software programs and modules, such as the method for switching the listening mode and program instructions/modules corresponding to the mobile terminal in the embodiment of the present invention, and the processor 103 executes various functional applications and data processing by running the software programs and modules stored in the memory 101, that is, implements the method for switching the listening mode.
Memory 101 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 101 may further include memory located remotely from the processor 103, which may be connected to the mobile terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. Access to the memory 101 by the processor 103 and possibly other components may be under the control of the memory controller 102.
The peripheral interface 104 couples various input/output devices to the CPU and to the memory 101. The processor 103 executes various software, instructions within the memory 101 to perform various functions of the mobile terminal 10 and to perform data processing.
In some embodiments, the peripheral interface 104, the processor 103, and the memory controller 102 may be implemented in a single chip. In other examples, they may be implemented separately from the individual chips.
The rf module 105 is used for receiving and transmitting electromagnetic waves, and implementing interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. The rf module 105 may include various existing circuit elements for performing these functions, such as an antenna, an rf transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The rf module 105 may communicate with various networks such as the internet, an intranet, a preset type of wireless network, or other devices through a preset type of wireless network. The preset types of wireless networks described above may include cellular telephone networks, wireless local area networks, or metropolitan area networks. The Wireless network of the above-mentioned preset type may use various communication standards, protocols and technologies, including but not limited to Global System for mobile communication (GSM), Enhanced Data GSM Environment (EDGE), wideband Code Division Multiple Access (W-CDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), bluetooth, Wireless Fidelity (WiFi) (e.g., IEEE802.11a, IEEE802.11 b, IEEE802.11g and/or IEEE802.11 n), Voice over internet protocol (VoIP), Global internet Access (wimax), other protocols for email, instant messaging, and short messaging, and any other suitable messaging protocol.
The key module 106 provides an interface for user input to the mobile terminal, and the user may cause the mobile terminal 10 to perform different functions by pressing different keys.
Audio module 107 provides an audio interface to a user that may include one or more microphones, one or more speakers, and audio circuitry. The audio circuitry receives audio data from the peripheral interface 104, converts the audio data to electrical information, and transmits the electrical information to the speaker. The speaker converts the electrical information into sound waves that the human ear can hear. The audio circuitry also receives electrical information from the microphone, converts the electrical information to voice data, and transmits the voice data to the peripheral interface 104 for further processing. The audio data may be retrieved from the memory 101 or through the radio frequency module 105. In addition, the audio data may also be stored in the memory 101 or transmitted through the radio frequency module 105. In some examples, audio module 107 may also include a headphone jack for providing an audio interface to headphones or other devices.
The touch screen 108 provides both an output and an input interface between the mobile terminal and the user. In particular, the touch screen 108 displays video output to the user, the content of which may include text, graphics, video, and any combination thereof. Some of the output results are for some of the user interface objects. The touch screen 108 also receives user inputs, such as user clicks, swipes, and other gesture operations, for the user interface objects to respond to these user inputs. The technique of detecting user input may be based on resistive, capacitive, or any other possible touch detection technique. Specific examples of touch screen 108 display units include, but are not limited to, liquid crystal displays or light emitting polymer displays.
Based on the mobile terminal, a flowchart describing the method for switching the listening mode in the embodiment of the present invention is shown in fig. 2, where an execution main body of the method may be a mobile terminal, and the method mainly includes the following steps S201 to S203, which are described in detail as follows:
s201, judging whether a receiver of the intelligent mobile terminal is close to the ear of the user.
In the embodiment of the invention, for a traditional non-double-sided screen intelligent mobile terminal, such as a non-double-sided screen intelligent mobile phone, whether a receiver of the intelligent mobile terminal is close to the ear of a user is judged, so that whether the receiver and a microphone of the intelligent mobile terminal are inverted by the user of the intelligent mobile terminal is judged, and if the receiver and the microphone are inverted, the voice of the other party is difficult to hear in a receiver mode.
S202, if the receiver of the intelligent mobile terminal is not close to the ear of the user, judging whether the current answering mode is the receiver mode.
As described above, in the earpiece mode, when the earpiece of the smart mobile terminal is not close to the ear of the user, the user cannot hear the sound of the caller, and therefore, when the earpiece of the smart mobile terminal is not close to the ear of the user, it is necessary to determine whether the current listening mode is the earpiece mode. If the receiver of the intelligent mobile terminal is close to the ear of the user, no special processing is needed.
It should be noted that, in the embodiment of the present invention, if it is detected that the call audio output channel of the intelligent mobile terminal is a speaker, a bluetooth audio device, or the like, it is not determined whether the current answering mode is the receiver mode.
And S203, if the current answering mode is the receiver mode, switching the receiver mode into the loudspeaker mode.
In the embodiment of the invention, as the current answering mode is the receiver mode and the receiver is not close to the ear of the intelligent mobile terminal user, the user can hear the voice of the calling party when the receiver mode is switched to the loudspeaker mode.
In order to prevent the hearing of the user from being impaired due to the excessive volume of the voice of the caller in the speaker mode, in the embodiment of the present invention, after the earphone mode is switched to the speaker mode, the volume of the speaker may be set to a specific value, for example, a volume value suitable for most people to hear the voice of the caller without impairing the hearing when the ears are close to the speaker, and at the same time, the volume of the speaker before the volume of the speaker is set to the specific value may be recorded.
In the embodiment of steps S101 to S103, if the speaker mode is switched and the earphone of the smart mobile terminal is close to the ear of the user, the current speaker mode may be switched back to the earphone mode.
It can be known from the method for switching the answering mode illustrated in fig. 2 that when the receiver of the smart mobile terminal is not close to the ear of the user, the current answering mode is further determined to be the receiver mode, and when the current answering mode is determined to be the receiver mode, the receiver mode is switched to the speaker mode, so that it is ensured that the user can hear the sound of the caller without manually switching the receiver when the ear of the user is far away from the receiver, and the user can conveniently use the smart mobile terminal in a poor lighting environment.
A flowchart describing a method for switching an answering mode in another embodiment of the present invention based on the mobile terminal is shown in fig. 3, and mainly includes the following steps S301 to S304, which are explained in detail as follows:
s301, detecting whether an earphone of the intelligent mobile terminal and the ear of the user are in the same horizontal line or not.
Specifically, the earphone of the smart mobile terminal and the ear of the user may be connected to form a line, and an included angle formed by the line and the horizontal plane is compared with a preset threshold angle, so that whether the earphone of the smart mobile terminal and the ear of the user are located at substantially the same horizontal line can be detected. As an embodiment of the present invention, whether the earpiece of the smart mobile terminal and the ear of the user are at approximately the same horizontal line may be detected by a gravity sensor or other sensors built in the smart mobile terminal.
S302, if the receiver of the intelligent mobile terminal and the ear of the user are not in the same horizontal line, determining that the receiver of the intelligent mobile terminal is not close to the ear of the user.
As mentioned above, if the connection line between the earphone of the smart mobile terminal and the ear of the user is compared, and the included angle formed between the connection line and the horizontal plane exceeds the preset threshold angle, it is determined that the earphone of the smart mobile terminal is not close to the ear of the user. An obvious example is that if the smart mobile terminal user inverts the position of the receiver and the microphone of the smart mobile terminal when receiving an incoming call, that is, the microphone of the mobile smart terminal is close to the ear, but the receiver is close to the mouth, the receiver of the smart mobile terminal is not close to the ear of the user.
And S303, if the receiver of the intelligent mobile terminal is not close to the ear of the user, judging whether the current answering mode is the receiver mode.
The technical solution of step S303 is completely the same as the technical solution of step S202 in the foregoing embodiment, and the terms, concepts, and the like related thereto may refer to the description of the foregoing embodiment, which is not repeated herein.
And S304, if the current answering mode is the receiver mode, switching the receiver mode into the loudspeaker mode.
The technical solution of step S304 is completely the same as the technical solution of step S203 in the foregoing embodiment, and the terms, concepts, and the like related thereto can refer to the description of the foregoing embodiment, which is not repeated herein.
A flowchart describing a method for switching an answering mode in another embodiment of the present invention based on the mobile terminal is shown in fig. 4, and mainly includes the following steps S401 to S404, which are explained in detail as follows:
s401, detecting whether the horizontal distance between a receiver of the intelligent mobile terminal and a user exceeds a preset threshold value.
Obviously, if the horizontal distance between the receiver of the smart mobile terminal and the ear of the user exceeds the preset threshold, even if the receiver of the smart mobile terminal and the ear of the user are at approximately the same horizontal line, the user may still not hear the voice of the caller, and therefore, the further processing may be performed by detecting whether the horizontal distance between the receiver of the smart mobile terminal and the user exceeds the preset threshold.
S402, if the horizontal distance between the receiver of the intelligent mobile terminal and the ear of the user exceeds a preset threshold value, determining that the receiver of the intelligent mobile terminal is not close to the ear of the user.
And S403, if the receiver of the intelligent mobile terminal is not close to the ear of the user, judging whether the current answering mode is the receiver mode.
The technical solution of step S403 is completely the same as that of step S202 or step S303 in the foregoing embodiment, and terms, concepts, and the like related thereto may refer to the description of the foregoing embodiment, which is not repeated herein.
And S404, if the current answering mode is the receiver mode, switching the receiver mode into the loudspeaker mode.
The technical solution of step S404 is completely the same as that of step S203 or step S304 in the foregoing embodiment, and the terms, concepts, etc. related thereto can refer to the description of the foregoing embodiment, which is not repeated herein.
It should be noted that, in the above-mentioned technical solutions illustrated in fig. 1 to fig. 4, for an intelligent mobile terminal with only one screen, for a dual-screen intelligent mobile terminal, such as a dual-screen smart phone, which has screens on both sides and a handset on one side of each screen, the technical solutions of the above-mentioned embodiments of fig. 1 to fig. 4 further include: if the receiver of the intelligent mobile terminal is close to the ear of the user, judging whether the front main screen of the intelligent mobile terminal faces back to the ear of the user; and if the front main screen of the intelligent mobile terminal faces back to the ears of the user, switching the current earphone to the earphone of the back auxiliary screen of the intelligent mobile terminal. In other words, for a dual-screen smart phone having screens on both front and back sides, if the earphone of the smart mobile terminal is close to the ear of the user through the determination in the above steps S201, S301, or S401, it is further determined whether the front main screen of the smart mobile terminal faces away from the ear of the user, and if the front main screen of the smart mobile terminal faces away from the ear of the user, it means that the back screen of the smart mobile terminal faces the ear of the user, so that in order to hear the voice of the caller, the current earphone, i.e., the earphone of the front main screen of the smart mobile terminal, is switched to the earphone of the back auxiliary screen thereof.
As for a specific manner of determining whether the front main screen of the intelligent mobile terminal faces away from the user's ear, the determination may be made using a distance sensor of the intelligent mobile terminal. Specifically, for a dual-side-screen smart phone, the distance sensor is usually arranged at the top of the front main screen, when the front main screen faces outward, that is, the front main screen faces away from the ears of the user, the palm of the user does not block the distance sensor, and if the front main screen faces the ears of the user, the ears block the distance sensor.
Please refer to fig. 5, which is a diagram illustrating an apparatus for switching an answering mode according to an embodiment of the present invention. For convenience of explanation, only portions related to the embodiments of the present invention are shown. The apparatus for switching listening mode provided in fig. 5 mainly includes a first determining module 501, a second determining module 502 and a first switching module 503, which are described in detail as follows:
a first judging module 501, configured to judge whether a receiver of the smart mobile terminal is close to an ear of a user;
a second determining module 502, configured to determine whether a current answering mode is an earphone mode if an earphone of the smart mobile terminal is not close to an ear of the user;
the first switching module 503 is configured to switch the earpiece mode to the speaker mode if the current listening mode is the earpiece mode.
It should be noted that, since the apparatus provided in the embodiment of the present invention is based on the same concept as the method embodiment of the present invention, the technical effect brought by the apparatus is the same as the method embodiment of the present invention, and specific contents may refer to the description in the method embodiment of the present invention, and are not described herein again.
The first determining module 501 illustrated in fig. 5 may include a first detecting unit 601 and a first determining unit 602, such as the apparatus for switching listening mode illustrated in fig. 6, wherein:
a first detection unit 601, configured to detect whether an earpiece of the smart mobile terminal and an ear of a user are at substantially the same horizontal line;
a first determining unit 602, configured to determine that the earphone of the smart mobile terminal is not close to the ear of the user if the earphone of the smart mobile terminal and the ear of the user are not at substantially the same horizontal line.
The first determining module 501 illustrated in fig. 5 may include a second detecting unit 701 and a second determining unit 702, such as the apparatus for switching listening mode illustrated in fig. 7, wherein:
a second detecting unit 701, configured to detect whether a horizontal distance between an earphone of the smart mobile terminal and an ear of the user exceeds a preset threshold;
a second determining unit 702, configured to determine that the earphone of the smart mobile terminal is not close to the ear of the user if the horizontal distance between the earphone of the smart mobile terminal and the ear of the user exceeds a preset threshold.
The apparatus for switching listening mode illustrated in any one of fig. 5 to fig. 7 may further include a third determining module 801 and a second switching module 802, such as the apparatus for switching listening mode illustrated in any one of fig. 8-a to fig. 8-c, wherein:
a third determining module 801, configured to determine whether the front main screen of the smart mobile terminal faces away from the ear of the user if the earphone of the smart mobile terminal is close to the ear of the user;
the second switching module 802 is configured to switch the current earpiece to an earpiece of a back side auxiliary screen of the smart mobile terminal if the front side main screen of the smart mobile terminal faces away from the ear of the user.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and in actual implementation, there may be other divisions, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present invention is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no acts or modules are necessarily required of the invention.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the above description, for those skilled in the art, according to the idea of the embodiment of the present invention, there are variations in the specific implementation manners and application ranges thereof, and in summary, the content of the present specification should not be construed as limiting the present invention.

Claims (8)

1. A method for switching an answering mode is applied to a double-sided screen intelligent mobile terminal, wherein both sides of the double-sided screen intelligent mobile terminal are provided with screens, and each screen side is provided with a receiver, and the method comprises the following steps:
judging whether a receiver of the intelligent mobile terminal is close to the ear of the user or not;
if the receiver of the intelligent mobile terminal is not close to the ear of the user, judging whether the current answering mode is the receiver mode;
if the current listening mode is a receiver mode, switching the receiver mode into a loudspeaker mode;
if the receiver of the intelligent mobile terminal is close to the ear of the user, judging whether the front main screen of the intelligent mobile terminal faces away from the ear of the user;
and if the front main screen of the intelligent mobile terminal faces back to the ears of the user, switching the current earphone to the earphone of the back auxiliary screen of the intelligent mobile terminal.
2. The method for switching listening mode according to claim 1, wherein said determining whether the receiver of the smart mobile terminal is near the ear of the user comprises:
detecting whether an earphone of the intelligent mobile terminal is positioned at the same horizontal line with the ear of a user;
and if the receiver of the intelligent mobile terminal and the ear of the user are not in the same horizontal line, determining that the receiver of the intelligent mobile terminal is not close to the ear of the user.
3. The method for switching listening mode according to claim 1, wherein said determining whether the receiver of the smart mobile terminal is near the ear of the user comprises:
detecting whether the horizontal distance between a receiver of the intelligent mobile terminal and the ear of a user exceeds a preset threshold value or not;
and if the horizontal distance between the receiver of the intelligent mobile terminal and the ear of the user exceeds the preset threshold value, determining that the receiver of the intelligent mobile terminal is not close to the ear of the user.
4. The utility model provides a switch and answer mode's device which characterized in that, is applied to the two-sided screen intelligent Mobile terminal that both sides all have the screen and every screen side all disposes an earphone, the device includes:
the first judgment module is used for judging whether a receiver of the intelligent mobile terminal is close to the ear of the user;
the second judgment module is used for judging whether the current answering mode is the receiver mode or not if the receiver of the intelligent mobile terminal is not close to the ear of the user;
the first switching module is used for switching the receiver mode into a loudspeaker mode if the current receiving mode is the receiver mode;
the third judgment module is used for judging whether the front main screen of the intelligent mobile terminal faces back to the ears of the user or not if the receiver of the intelligent mobile terminal is close to the ears of the user;
and the second switching module is used for switching the current earphone to the earphone of the back auxiliary screen of the intelligent mobile terminal if the front main screen of the intelligent mobile terminal is opposite to the ears of the user.
5. The apparatus for switching listening mode according to claim 4, wherein the first determining module comprises:
the first detection unit is used for detecting whether an earphone of the intelligent mobile terminal and the ear of the user are in the same horizontal line or not;
the first determining unit is used for determining that the earphone of the intelligent mobile terminal is not close to the ear of the user if the earphone of the intelligent mobile terminal and the ear of the user are not in the same horizontal line.
6. The apparatus for switching listening mode according to claim 4, wherein the first determining module comprises:
the second detection unit is used for detecting whether the horizontal distance between a receiver of the intelligent mobile terminal and the ear of the user exceeds a preset threshold value or not;
and the second determining unit is used for determining that the earphone of the intelligent mobile terminal is not close to the ear of the user if the horizontal distance between the earphone of the intelligent mobile terminal and the ear of the user exceeds the preset threshold value.
7. A mobile terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 3 when executing the computer program.
8. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 3.
CN201810121799.8A 2018-02-07 2018-02-07 Method and device for switching answering mode, mobile terminal and computer readable storage medium Expired - Fee Related CN108377298B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810121799.8A CN108377298B (en) 2018-02-07 2018-02-07 Method and device for switching answering mode, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810121799.8A CN108377298B (en) 2018-02-07 2018-02-07 Method and device for switching answering mode, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108377298A CN108377298A (en) 2018-08-07
CN108377298B true CN108377298B (en) 2020-09-25

Family

ID=63017535

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810121799.8A Expired - Fee Related CN108377298B (en) 2018-02-07 2018-02-07 Method and device for switching answering mode, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108377298B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109005261B (en) * 2018-08-16 2019-12-10 珠海格力电器股份有限公司 Terminal communication method and device, storage medium and terminal
CN112889261A (en) * 2018-10-26 2021-06-01 深圳市柔宇科技股份有限公司 Voice call control method and folding mobile terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102801869A (en) * 2012-08-29 2012-11-28 北京小米科技有限责任公司 Method and device for switching answer modes of mobile terminal
CN102891914A (en) * 2011-05-11 2013-01-23 深圳市福智软件技术有限公司 Mobile terminal and method for switching answer modes of mobile terminal
JP5140867B2 (en) * 2007-06-21 2013-02-13 Necカシオモバイルコミュニケーションズ株式会社 Electronic device and program
CN105991836A (en) * 2015-03-05 2016-10-05 小米科技有限责任公司 Communication sound switching method and device
CN106775536A (en) * 2016-12-26 2017-05-31 宇龙计算机通信科技(深圳)有限公司 A kind of double screen changing method and device
CN107026938A (en) * 2017-04-26 2017-08-08 广东小天才科技有限公司 A kind of method for handover control, device and the user terminal of user terminal answer mode

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011203873A (en) * 2010-03-24 2011-10-13 Nec Corp Information processing apparatus, display switching method, program and recording medium
CN103533127A (en) * 2013-09-27 2014-01-22 小米科技有限责任公司 Call control method of terminal and terminal
CN105338156A (en) * 2014-08-07 2016-02-17 中兴通讯股份有限公司 Mode judging device and method, hearing protection device and method and terminal
CN105334916A (en) * 2014-08-15 2016-02-17 德斯国际公司 Dual-surface dual-screen intelligent mobile terminal
CN106488008A (en) * 2016-09-12 2017-03-08 努比亚技术有限公司 A kind of voice call control device and its method, mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5140867B2 (en) * 2007-06-21 2013-02-13 Necカシオモバイルコミュニケーションズ株式会社 Electronic device and program
CN102891914A (en) * 2011-05-11 2013-01-23 深圳市福智软件技术有限公司 Mobile terminal and method for switching answer modes of mobile terminal
CN102801869A (en) * 2012-08-29 2012-11-28 北京小米科技有限责任公司 Method and device for switching answer modes of mobile terminal
CN105991836A (en) * 2015-03-05 2016-10-05 小米科技有限责任公司 Communication sound switching method and device
CN106775536A (en) * 2016-12-26 2017-05-31 宇龙计算机通信科技(深圳)有限公司 A kind of double screen changing method and device
CN107026938A (en) * 2017-04-26 2017-08-08 广东小天才科技有限公司 A kind of method for handover control, device and the user terminal of user terminal answer mode

Also Published As

Publication number Publication date
CN108377298A (en) 2018-08-07

Similar Documents

Publication Publication Date Title
US11043980B2 (en) Method for controlling earphone switching, earphone, and earphone system
US10805731B2 (en) Method for controlling earphone switching, earphone, and earphone system
US10805708B2 (en) Headset sound channel control method and system, and related device
CA2740581C (en) System and method for resuming media
US20200008124A1 (en) Method for Controlling Earphone Switching and Earphone
CN108391205B (en) Left and right channel switching method and device, readable storage medium and terminal
CN107493500B (en) Multimedia resource playing method and device
CN108541080B (en) Method for realizing loop connection between first electronic equipment and second electronic equipment and related product
CN108777827B (en) Wireless earphone, volume adjusting method and related product
CN107948055B (en) Method, apparatus and computer readable storage medium for masking messages sent by group members
CN105100421A (en) Call control method and call control device
CN111556439A (en) Terminal connection control method, terminal and computer storage medium
KR101591274B1 (en) Method for noise removal of ear phone in potable terminal and apparatus thereof
CN108377298B (en) Method and device for switching answering mode, mobile terminal and computer readable storage medium
CN115190197A (en) Bluetooth headset-based communication method and device and storage medium
CN114077414A (en) Audio playing control method and device, electronic equipment and storage medium
CN108668018B (en) Mobile terminal, volume control method and related product
KR102155555B1 (en) Method for providing a hearing aid compatibility and an electronic device thereof
CN106657621B (en) Self-adaptive adjusting device and method for sound signal
CN104754099A (en) Conversation volume adjusting method
CN104780260A (en) Method for controlling volume of mobile terminal and mobile terminal
CN108566221B (en) Call control method and related equipment
WO2018035868A1 (en) Method for outputting audio, electronic device, and storage medium
CN112997471B (en) Audio channel switching method and device, readable storage medium and electronic equipment
CN106304287B (en) Method for reducing standby power consumption of mobile terminal and mobile terminal

Legal Events

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

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200925