CN108377298A - A kind of method, apparatus and computer readable storage medium of switching answer mode - Google Patents

A kind of method, apparatus and computer readable storage medium of switching answer mode Download PDF

Info

Publication number
CN108377298A
CN108377298A CN201810121799.8A CN201810121799A CN108377298A CN 108377298 A CN108377298 A CN 108377298A CN 201810121799 A CN201810121799 A CN 201810121799A CN 108377298 A CN108377298 A CN 108377298A
Authority
CN
China
Prior art keywords
user
mobile terminal
ear
receiver
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.)
Granted
Application number
CN201810121799.8A
Other languages
Chinese (zh)
Other versions
CN108377298B (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

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 kind of method, apparatus and computer readable storage medium of switching answer mode, to be that user is switched to suitable answer mode automatically under the scene that user's inconvenience switches answer mode.The method includes:Judge the receiver of intelligent mobile terminal whether close to user's ear;If the receiver of intelligent mobile terminal is without close to user's ear, judging whether current answer mode is handset mode;If current answer mode is handset mode, handset mode is switched to speaker mode.Technical solution provided by the invention ensure that the sound that can not hear caller without user's manual switching of intelligent mobile terminal when user's ear is far from receiver, facilitates user and uses intelligent mobile terminal in the case where daylighting environment is poor.

Description

A kind of method, apparatus and computer readable storage medium of switching answer mode
Technical field
The present invention relates to the method, apparatus and computer of field of mobile terminals more particularly to a kind of switching answer mode can Read storage medium.
Background technology
Widely available with mobile intelligent terminals such as smart mobile phone, tablet computers, mobile intelligent terminal manufacturer is to intelligence The manufacture of the mobile intelligent terminals such as energy mobile phone not only stops functionally, also requires appearance more attractive, to give user more Good experience, for example, so-called comprehensive screen is being pursued in many manufacture commercial cities at present.Screen can no doubt give the good body of user comprehensively It tests, however, the smart mobile phone shielded can also make troubles in use to user comprehensively.For example, when ceasing screen, user can not Judge mobile phone receiver where, if this give trouble caused by user when being to answer receiver without that against ear, can cause to listen It is unclear.
In view of the above-mentioned problems, existing solution is one switch key of setting, when receiver is without against ear, rely on User clicks switch key and handset mode is switched to speaker mode.
The defect of above-mentioned existing solution is still there is inconvenience.For example, if above-mentioned scene is to be happened at use Family sleep is waken either up user may be in a daze or to grope to cut in such environment in pitch-dark environment by incoming call Change key.
Invention content
The main purpose of the embodiment of the present invention is to provide the method, apparatus of a kind of switching answer mode and computer-readable Storage medium, to be that user is switched to suitable answer mode automatically under the scene that user's inconvenience switches answer mode.
To achieve the above object, first aspect of the embodiment of the present invention provides a kind of method of switching answer mode, the side Method includes:
Judge the receiver of intelligent mobile terminal whether close to user's ear;
If the receiver of the intelligent mobile terminal is without close to user's ear, judging whether current answer mode is receiver Pattern;
If the current answer mode is handset mode, the handset mode is switched to speaker mode.
In conjunction with the embodiment of the present invention in a first aspect, in the first embodiment of first aspect, the judgement intelligent sliding The receiver of terminal is moved whether close to user's ear, including:
Whether the receiver for detecting the intelligent mobile terminal with user's ear is in roughly the same horizontal line;
If the receiver and user's ear of the intelligent mobile terminal are not in roughly the same horizontal line, it is determined that described The receiver of intelligent mobile terminal is without close to user's ear.
In conjunction with the embodiment of the present invention in a first aspect, in second of embodiment of first aspect, the judgement intelligent sliding The receiver of terminal is moved whether close to user's ear, including:
Whether the horizontal distance of the receiver and user's ear that detect the intelligent mobile terminal is more than predetermined threshold value;
If the receiver of the intelligent mobile terminal and the horizontal distance of user's ear are more than the predetermined threshold value, it is determined that institute The receiver of intelligent mobile terminal is stated without close to user's ear.
In conjunction with the first embodiment of first aspect of the embodiment of the present invention, first aspect or second of reality of first aspect Mode is applied, in the third embodiment of first aspect, the method further includes:
If the receiver of the intelligent mobile terminal judges the positive main screen of the intelligent mobile terminal close to user's ear Whether the ear of the user facing away from;
If the positive main screen of the intelligent mobile terminal facing away from the ear of the user, current receiver is switched to institute State the receiver of the back side pair screen of intelligent mobile terminal.
To achieve the above object, second aspect of the embodiment of the present invention provides a kind of device of processing photo moulding, the dress Set including:
First judgment module, for judging the receiver of intelligent mobile terminal whether close to user's ear;
Second judgment module, if the receiver for the intelligent mobile terminal is without close to user's ear, judging current Whether answer mode is handset mode;
First handover module switches the handset mode if being handset mode for the current answer mode For speaker mode.
In conjunction with second aspect of the embodiment of the present invention, in the first embodiment of second aspect, described first judges mould Block includes:
First detection unit, for detect the intelligent mobile terminal receiver whether with user's ear be in it is roughly the same Horizontal line;
First determination unit, if the receiver and user's ear for the intelligent mobile terminal be not in it is roughly the same Horizontal line, it is determined that the receiver of the intelligent mobile terminal is without close to user's ear.
In conjunction with second aspect of the embodiment of the present invention, in second of embodiment of second aspect, described first judges mould Block includes:
Whether the horizontal distance of second detection unit, receiver and user's ear for detecting the intelligent mobile terminal surpasses Cross predetermined threshold value;
Second determination unit, if being more than described for the receiver of the intelligent mobile terminal and the horizontal distance of user's ear Predetermined threshold value, it is determined that the receiver of the intelligent mobile terminal is without close to user's ear.
In conjunction with the first embodiment of second aspect of the embodiment of the present invention, second aspect or second of reality of second aspect Mode is applied, in the third embodiment of second aspect, described device further includes:
Third judgment module, if the receiver for the intelligent mobile terminal judges the intelligence close to user's ear Whether the positive main screen of mobile terminal facing away from the ear of the user;
Second handover module, if facing away from the ear of the user for the positive main screen of the intelligent mobile terminal, Current receiver is switched to the receiver of the back side pair screen of the intelligent mobile terminal.
To achieve the above object, the third aspect of the embodiment of the present invention provides a kind of mobile terminal, including memory, processor And it is stored in the computer program that can be run in the memory and on the processor, the processor executes the meter The step of following method being realized when calculation machine program:
Judge the receiver of intelligent mobile terminal whether close to user's ear;
If the receiver of the intelligent mobile terminal is without close to user's ear, judging whether current answer mode is receiver Pattern;
If the current answer mode is handset mode, the handset mode is switched to speaker mode.
In conjunction with the third aspect of the embodiment of the present invention, in the first embodiment of the third aspect, the judgement intelligent sliding The receiver of terminal is moved whether close to user's ear, including:
Whether the receiver for detecting the intelligent mobile terminal with user's ear is in roughly the same horizontal line;
If the receiver and user's ear of the intelligent mobile terminal are not in roughly the same horizontal line, it is determined that described The receiver of intelligent mobile terminal is without close to user's ear.
In conjunction with the third aspect of the embodiment of the present invention, in second of embodiment of the third aspect, the judgement intelligent sliding The receiver of terminal is moved whether close to user's ear, including:
Whether the horizontal distance of the receiver and user's ear that detect the intelligent mobile terminal is more than predetermined threshold value;
If the receiver of the intelligent mobile terminal and the horizontal distance of user's ear are more than the predetermined threshold value, it is determined that institute The receiver of intelligent mobile terminal is stated without close to user's ear.
In conjunction with the first embodiment of the third aspect of the embodiment of the present invention, the third aspect or second of reality of the third aspect Mode is applied, in the third embodiment of the third aspect, the method further includes:
If the receiver of the intelligent mobile terminal judges the positive main screen of the intelligent mobile terminal close to user's ear Whether the ear of the user facing away from;
If the positive main screen of the intelligent mobile terminal facing away from the ear of the user, current receiver is switched to institute State the receiver of the back side pair screen of intelligent mobile terminal.
To achieve the above object, fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the meter Calculation machine readable storage medium storing program for executing is stored with computer program, and the computer program realizes the step of following method when being executed by processor Suddenly:
Judge the receiver of intelligent mobile terminal whether close to user's ear;
If the receiver of the intelligent mobile terminal is without close to user's ear, judging whether current answer mode is receiver Pattern;
If the current answer mode is handset mode, the handset mode is switched to speaker mode.
In conjunction with fourth aspect of the embodiment of the present invention, in the first embodiment of fourth aspect, the judgement intelligent sliding The receiver of terminal is moved whether close to user's ear, including:
Whether the receiver for detecting the intelligent mobile terminal with user's ear is in roughly the same horizontal line;
If the receiver and user's ear of the intelligent mobile terminal are not in roughly the same horizontal line, it is determined that described The receiver of intelligent mobile terminal is without close to user's ear.
In conjunction with fourth aspect of the embodiment of the present invention, in second of embodiment of fourth aspect, the judgement intelligent sliding The receiver of terminal is moved whether close to user's ear, including:
Whether the horizontal distance of the receiver and user's ear that detect the intelligent mobile terminal is more than predetermined threshold value;
If the receiver of the intelligent mobile terminal and the horizontal distance of user's ear are more than the predetermined threshold value, it is determined that institute The receiver of intelligent mobile terminal is stated without close to user's ear.
In conjunction with the first embodiment of fourth aspect of the embodiment of the present invention, fourth aspect or second of reality of fourth aspect Mode is applied, in the third embodiment of fourth aspect, the method further includes:
If the receiver of the intelligent mobile terminal judges the positive main screen of the intelligent mobile terminal close to user's ear Whether the ear of the user facing away from;
If the positive main screen of the intelligent mobile terminal facing away from the ear of the user, current receiver is switched to institute State the receiver of the back side pair screen of intelligent mobile terminal.
The technical solution provided from the embodiments of the present invention is it is found that the receiver in intelligent mobile terminal is no close to user When ear, by further judging whether current answer mode is handset mode, judging that current answer mode is to listen cylinder mould When formula, then handset mode is switched to speaker mode, do not have to intelligent mobile when user's ear is far from receiver in this way, ensure that User's manual switching of terminal can not hear the sound of caller, and facilitate user makes in the case where daylighting environment is poor Use intelligent mobile terminal.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those skilled in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 is the structure diagram of mobile terminal provided in an embodiment of the present invention;
Fig. 2 is the flow chart of the method for switching answer mode provided in an embodiment of the present invention;
Fig. 3 is the flow chart of the method for the switching answer mode that another embodiment of the present invention provides;
Fig. 4 is the flow chart of the method for the switching answer mode that another embodiment of the present invention provides;
Fig. 5 is the structure diagram of the device of switching answer mode provided in an embodiment of the present invention;
Fig. 6 is the structure diagram of the device for the switching answer mode that another embodiment of the present invention provides;
Fig. 7 is the structure diagram of the device for the switching answer mode that another embodiment of the present invention provides;
Fig. 8-a are the structure diagram of the device for the switching answer mode that another embodiment of the present invention provides;
Fig. 8-b are the structure diagram of the device for the switching answer mode that another embodiment of the present invention provides;
Fig. 8-c are the structure diagram of the device for the switching answer mode that another embodiment of the present invention provides.
Specific implementation mode
In order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below in conjunction with the present invention Attached drawing in embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described reality It is only a part of the embodiment of the present invention to apply example, and not all embodiments.Based on the embodiments of the present invention, people in the art The every other embodiment that member is obtained without making creative work, shall fall within the protection scope of the present invention.
Fig. 1 shows a kind of structure diagram of mobile terminal.The method of switching answer mode provided in an embodiment of the present invention Can be applied in mobile terminal 10 as shown in Figure 1, mobile terminal 10 can be, but not limited to include:Battery need to be relied on to remain normal Operation and smart mobile phone, notebook, tablet computer, the wearing smart machine etc. for supporting network and download function.
As shown in Figure 1, mobile terminal 10 includes memory 101, storage control 102, one or more (is only shown in figure One) processor 103, Peripheral Interface 104, radio-frequency module 105, key-press module 106, audio-frequency module 107 and Touch Screen 108.These components are mutually communicated by one or more communication bus/signal wire 109.
It is appreciated that structure shown in FIG. 1 is only to illustrate, the structure of mobile terminal is not caused to limit.It is mobile whole End 10 may also include than shown in Fig. 1 more either less components or with the configuration different from shown in Fig. 1.It is shown in FIG. 1 Hardware, software, or its combination realization may be used in each component.
Memory 101 can be used for storing software program and module, such as the switching answer mode in the embodiment of the present invention Method and the corresponding program instruction/module of mobile terminal, processor 103 are stored in the software journey in memory 101 by operation Sequence and module realize the above-mentioned method for switching answer mode to perform various functions application and data processing.
Memory 101 may include high speed random access memory, may also include nonvolatile memory, such as one or more magnetic Property storage device, flash memory or other non-volatile solid state memories.In some instances, memory 101 can further comprise The memory remotely located relative to processor 103, these remote memories can pass through network connection to mobile terminal 10.On The example for stating network includes but not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.Processor 103 And other possible components can carry out the access of memory 101 under the control of storage control 102.
Peripheral Interface 104 couples various input/output devices to CPU and memory 101.The operation of processor 103 is deposited Various softwares, instruction in reservoir 101 are to execute the various functions of mobile terminal 10 and carry out data processing.
In some embodiments, Peripheral Interface 104, processor 103 and storage control 102 can be in one single chips It realizes.In some other example, they can be realized by independent chip respectively.
Radio-frequency module 105 is used to receive and transmit electromagnetic wave, realizes the mutual conversion of electromagnetic wave and electric signal, thus with Communication network or other equipment are communicated.Radio-frequency module 105 may include the various existing electricity for executing these functions Circuit component, for example, antenna, RF transceiver, digital signal processor, encryption/deciphering chip, subscriber identity module (SIM) card, Memory etc..Radio-frequency module 105 can be with the wireless network progress of various networks such as internet, intranet, preset type Communication is communicated by the wireless network of preset type with other equipment.The wireless network of above-mentioned preset type can wrap Include cellular telephone networks, WLAN or Metropolitan Area Network (MAN).The wireless network of above-mentioned preset type can use various communications Standard, agreement and technology, including but not limited to global system for mobile communications (Global System for Mobile Communication, GSM), enhanced mobile communication technology (Enhanced Data GSM Environment, EDGE) is wide Band Code Division Multiple Access (Wideband Code Division Multiple Access, W-CDMA), Code Division Multiple Access (Code Division Access, CDMA), time division multiple access technology (Time Division Multiple Access, TDMA), Bluetooth, adopting wireless fidelity technology (Wireless-Fidelity, WiFi) (such as American Institute of Electrical and Electronics Engineers's standard IEEE 802.11a, IEEE 802.11b, IEEE802.11g and/or IEEE 802.11n), the networking telephone (Voice over Internet Protocal, VoIP), worldwide interoperability for microwave accesses (Worldwide Interoperability for Microwave Access, Wi-Max), other for mail, instant messaging and short message agreement and any other is suitable Communications protocol.
Key-press module 106 provides the interface that is inputted to mobile terminal of user, user can by press it is different by Key is so that mobile terminal 10 executes different functions.
Audio-frequency module 107 provides a user audio interface, may include that one or more microphones, one or more raises Sound device and voicefrequency circuit.Voicefrequency circuit receives voice data from Peripheral Interface 104, and voice data is converted to power information, Power information is transmitted to loud speaker.Power information is converted to the sound wave that human ear can be heard by loud speaker.Voicefrequency circuit is also from microphone Place receives power information, converts electrical signals to voice data, and by data transmission in network telephony to Peripheral Interface 104 with into advancing one The processing of step.Audio data can obtain from memory 101 or by radio-frequency module 105.In addition, audio data can also It stores into memory 101 or is sent by radio-frequency module 105.In some instances, audio-frequency module 107 may also include One earphone broadcasts hole, for providing audio interface to earphone or other equipment.
Touch Screen 108 provides an output and input interface simultaneously between mobile terminal and user.Specifically, touch-control Screen 108 shows that video output, the content of these videos output may include word, figure, video and its arbitrary group to user It closes.Some outputs are the result is that correspond to some user interface objects.Touch Screen 108 also receives the input of user, such as user The gesture operations such as click, sliding, so that user interface object responds the input of these users.It detects input by user Technology can be based on resistance-type, condenser type or any other possible touch control detection technology.108 display unit of Touch Screen Specific example include but is not limited to liquid crystal display or light emitting polymer displays.
Based on above-mentioned mobile terminal, the flow chart such as attached drawing 2 of the method for switching answer mode in the embodiment of the present invention is described Shown, executive agent can be mobile terminal, mainly include the following steps S201 to S203, detailed description are as follows:
Whether S201 judges the receiver of intelligent mobile terminal close to user's ear.
In embodiments of the present invention, for traditional non-double-sided screen intelligent mobile terminal, for example, non-double-sided screen intelligence hand Machine, judge intelligent mobile terminal receiver whether close to the purpose of user's ear be to judge intelligent mobile terminal user whether The receiver of intelligent mobile terminal and microphone are inverted, are difficult the speech for not hearing other side under handset mode if being inverted.
S202, if the receiver of intelligent mobile terminal is without close to user's ear, judging whether current answer mode is to listen Cylinder mould formula.
As previously mentioned, under handset mode, when the receiver of intelligent mobile terminal is without close to user's ear, user is to listen not The sound of clear caller, therefore, when the receiver of intelligent mobile terminal is without close to user's ear, need to judge currently to answer Whether pattern is handset mode.If the receiver of intelligent mobile terminal is close to user's ear, without doing specially treated.
It should be noted that in embodiments of the present invention, if detecting the call audio frequency output channel of intelligent mobile terminal Then whether it is that handset mode judges not to current answer mode for loud speaker, Bluetooth audio equipment etc..
Handset mode is switched to speaker mode by S203 if current answer mode is handset mode.
In embodiments of the present invention, since current answer mode is handset mode, and receiver is without close to intelligent mobile The ear of terminal user can allow user to hear the speech of caller when handset mode being then switched to speaker mode.
The voice volume of caller is excessive under speaker mode in order to prevent and the hearing of impaired user, implements in the present invention In example, it can set the volume of loud speaker to particular value after handset mode is switched to speaker mode, for example, It is suitble to most people's ear close to that can not hear caller's speech when loud speaker and not damage the volume value of hearing, at the same time, also The volume for setting the volume of loud speaker to the loud speaker before particular value can be recorded.
It should be noted that in the embodiment of above-mentioned steps S101 to S103, if being switched to speaker mode and intelligence When the receiver of mobile terminal is close to user's ear, then current speaker mode can be switched back into handset mode.
From the exemplary method for switching answer mode of above-mentioned attached drawing 2 it is found that the receiver in intelligent mobile terminal is not close When user's ear, by further judging whether current answer mode is handset mode, judging that current answer mode is to listen When cylinder mould formula, then handset mode is switched to speaker mode, do not have to intelligence when user's ear is far from receiver in this way, ensure that User's manual switching of mobile terminal can not hear the sound of caller, facilitate user's situation poor in daylighting environment It is lower to use intelligent mobile terminal.
The flow chart for describing to switch in another embodiment of the present invention the method for answer mode based on above-mentioned mobile terminal is for example attached Shown in Fig. 3, mainly include the following steps S301 to S304, detailed description are as follows:
Whether S301, the receiver for detecting intelligent mobile terminal with user's ear are in roughly the same horizontal line.
Specifically, the receiver of intelligent mobile terminal can be connected with user's ear it is into a line, by this line and horizontal plane Whether formed angle and predetermined threshold value angle changing rate, the receiver so as to detect intelligent mobile terminal are in user's ear Roughly the same horizontal line.As one embodiment of the invention, can by gravity sensor built in intelligent mobile terminal or Person's other sensors detect whether the receiver of intelligent mobile terminal is in roughly the same horizontal line with user's ear.
S302, if the receiver and user's ear of intelligent mobile terminal are not in roughly the same horizontal line, it is determined that intelligence The receiver of energy mobile terminal is without close to user's ear.
If as previously mentioned, through comparing, the line between the receiver and user's ear of intelligent mobile terminal, with horizontal plane institute At angle be more than predetermined threshold value angle, it is determined that the receiver of intelligent mobile terminal is without close to user's ear.One very aobvious Right example is if that, in incoming call answering, the receiver of intelligent mobile terminal and microphone position are inverted by intelligent mobile terminal user, That is the microphone of mobile intelligent terminal is close to ear, and receiver is close to face, then the receiver of intelligent mobile terminal is without close to using Family ear.
S303, if the receiver of intelligent mobile terminal is without close to user's ear, judging whether current answer mode is to listen Cylinder mould formula.
The technical solution of step S303 is identical with the technical solution of previous embodiment step S202, the art being related to Language, concept etc. can refer to the description of previous embodiment, be not repeated herein.
Handset mode is switched to speaker mode by S304 if current answer mode is handset mode.
The technical solution of step S304 is identical with the technical solution of previous embodiment step S203, the art being related to Language, concept etc. can refer to the description of previous embodiment, be not repeated herein.
The flow chart for describing to switch in another embodiment of the present invention the method for answer mode based on above-mentioned mobile terminal is for example attached Shown in Fig. 4, mainly include the following steps S401 to S404, detailed description are as follows:
Whether the horizontal distance of S401, the receiver and user that detect intelligent mobile terminal are more than predetermined threshold value.
Obviously, if the horizontal distance of the receiver of intelligent mobile terminal and user's ear is more than predetermined threshold value, even if intelligent sliding The receiver and user's ear of dynamic terminal are in roughly the same horizontal line, then user still may not hear the speech of caller, Therefore, can by detect intelligent mobile terminal receiver and user horizontal distance whether more than predetermined threshold value come do further Processing.
S402, if the horizontal distance of the receiver of intelligent mobile terminal and user's ear is more than predetermined threshold value, it is determined that intelligence The receiver of mobile terminal is without close to user's ear.
S403, if the receiver of intelligent mobile terminal is without close to user's ear, judging whether current answer mode is to listen Cylinder mould formula.
The technical solution of step S403 is identical with the technical solution of previous embodiment step S202 or step S303, Term, concept for being related to etc. can refer to the description of previous embodiment, be not repeated herein.
Handset mode is switched to speaker mode by S404 if current answer mode is handset mode.
The technical solution of step S404 is identical with the technical solution of previous embodiment step S203 or step S304, Term, concept for being related to etc. can refer to the description of previous embodiment, be not repeated herein.
It should be noted that above-mentioned attached drawing 1 to 4 exemplary technical solution of attached drawing is for only there are one the intelligent slidings of screen Dynamic terminal, for all there is the double-sided screen intelligent mobile that screen and that side of each screen all have a receiver in tow sides Terminal, such as double-sided screen smart mobile phone, the embodiment of above-mentioned attached drawing 1 to attached drawing 4, technical solution further include:If intelligent mobile The receiver of terminal then judges whether the positive main screen of intelligent mobile terminal facing away from the ear of user close to user's ear;If intelligence The positive main screen of energy mobile terminal facing away from the ear of user, then current receiver is switched to the back side pair screen of intelligent mobile terminal Receiver.In other words, in tow sides all double-screen intelligent mobile phones with screen, if through above-mentioned steps S201, S301 or The judgement of S401, the receiver of intelligent mobile terminal then further judge the positive main screen of intelligent mobile terminal close to user's ear Whether facing away from the ear of user, if the positive main screen of intelligent mobile terminal facing away from the ear of user, mean be at this time The back panel of intelligent mobile terminal faces the ear of user, therefore, in order to catch the speech of caller, then by current receiver That is the receiver of the positive main screen of intelligent mobile terminal is switched to the receiver of its back side pair screen.
As for judging whether the positive main screen of intelligent mobile terminal facing away from the concrete mode of the ear of user, can use The range sensor of intelligent mobile terminal judges.Specifically, for double-sided screen smart mobile phone, range sensor is usually arranged In positive main screen the top, when i.e. positive main screen facing away from user's ear to positive main screen outwardly, user's palm will not block away from From sensor, if positive main screen faces user's ear, ear can block range sensor, therefore, in the embodiment of the present invention In, it can judge whether the positive main screen of intelligent mobile terminal facing away from the ear of user based on the above-mentioned fact, that is, if ear Range sensor has been blocked, alternatively, user's palm blocks range sensor, then can judge the front of intelligent mobile terminal accordingly Main screen faces user's ear, and otherwise, the positive main screen of intelligent mobile terminal facing away from user's ear.
Referring to Fig. 5, for the device of switching answer mode provided in an embodiment of the present invention.For convenience of description, it only shows With relevant part of the embodiment of the present invention.The device for the switching answer mode that Fig. 5 is provided includes mainly the first judgment module 501, the second judgment module 502 and the first handover module 503, detailed description are as follows:
First judgment module 501, for judging the receiver of intelligent mobile terminal whether close to user's ear;
Second judgment module 502, if the receiver for intelligent mobile terminal is that close to user's ear, judgement does not currently connect Listen whether pattern is handset mode;
Handset mode is switched to and raises one's voice if being handset mode for current answer mode by the first handover module 503 Device pattern.
It should be noted that device provided in an embodiment of the present invention, due to being based on same structure with the method for the present invention embodiment Think, the technique effect brought is identical as the method for the present invention embodiment, and particular content can be found in the method for the present invention embodiment Narration, details are not described herein again.
5 exemplary first judgment module 501 of attached drawing may include first detection unit 601 and the first determination unit 602, such as 6 example of attached drawing switches the device of answer mode, wherein:
First detection unit 601, for detect intelligent mobile terminal receiver whether with user's ear be in it is roughly the same Horizontal line;
First determination unit 602, if the receiver and user's ear for intelligent mobile terminal be not in it is roughly the same Horizontal line, it is determined that the receiver of intelligent mobile terminal is without close to user's ear.
5 exemplary first judgment module 501 of attached drawing may include second detection unit 701 and the second determination unit 702, such as 7 example of attached drawing switches the device of answer mode, wherein:
Whether the horizontal distance of second detection unit 701, receiver and user's ear for detecting intelligent mobile terminal surpasses Cross predetermined threshold value;
Second determination unit 702, if being more than default for the receiver of intelligent mobile terminal and the horizontal distance of user's ear Threshold value, it is determined that the receiver of intelligent mobile terminal is without close to user's ear.
The device of attached drawing 5 to the switching answer mode of 7 any example of attached drawing can also include third judgment module 801 and the Two handover modules 802, as attached drawing 8-a to attached drawing 8-c any examples switching answer mode device, wherein:
Third judgment module 801, if the receiver for intelligent mobile terminal judges intelligent mobile end close to user's ear Whether the positive main screen at end facing away from the ear of user;
Second handover module 802 will be current if facing away from the ear of user for the positive main screen of intelligent mobile terminal Receiver is switched to the receiver of the back side pair screen of intelligent mobile terminal.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the module, only Only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple module or components can be tied Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling, direct-coupling or communication connection can be the INDIRECT COUPLING or logical by some interfaces, device or module Letter connection can be electrical, machinery or other forms.
The module illustrated as separating component may or may not be physically separated, aobvious as module The component shown may or may not be physical module, you can be located at a place, or may be distributed over multiple On network module.Some or all of module therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each function module in each embodiment of the present invention can be integrated in a processing module, it can also That modules physically exist alone, can also two or more modules be integrated in a module.Above-mentioned integrated mould The form that hardware had both may be used in block is realized, can also be realized in the form of software function module.
If the integrated module is realized in the form of software function module and sells or use as independent product When, it can be stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention Portion or part steps.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
It should be noted that for each method embodiment above-mentioned, describe, therefore it is all expressed as a series of for simplicity Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the described action sequence because According to the present invention, certain steps may be used other sequences or be carried out at the same time.Secondly, those skilled in the art should also know It knows, embodiment described in this description belongs to preferred embodiment, and involved action and module might not all be this hairs Necessary to bright.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiments.
It is to the switching method, apparatus of answer mode provided by the present invention, mobile terminal and computer-readable to deposit above The description of storage media, for those skilled in the art, the thought of embodiment according to the present invention, in specific implementation mode and application There will be changes in range, to sum up, the content of the present specification should not be construed as limiting the invention.

Claims (10)

1. a kind of method of switching answer mode, which is characterized in that the method includes:
Judge the receiver of intelligent mobile terminal whether close to user's ear;
If the receiver of the intelligent mobile terminal is without close to user's ear, judging whether current answer mode is to listen cylinder mould Formula;
If the current answer mode is handset mode, the handset mode is switched to speaker mode.
2. the method for switching answer mode as described in claim 1, which is characterized in that the receiver for judging intelligent mobile terminal Whether close to user's ear, including:
Whether the receiver for detecting the intelligent mobile terminal with user's ear is in roughly the same horizontal line;
If the receiver and user's ear of the intelligent mobile terminal are not in roughly the same horizontal line, it is determined that the intelligence The receiver of mobile terminal is without close to user's ear.
3. the method for switching answer mode as described in claim 1, which is characterized in that the receiver for judging intelligent mobile terminal Whether close to user's ear, including:
Whether the horizontal distance of the receiver and user's ear that detect the intelligent mobile terminal is more than predetermined threshold value;
If the receiver of the intelligent mobile terminal and the horizontal distance of user's ear are more than the predetermined threshold value, it is determined that the intelligence The receiver of energy mobile terminal is without close to user's ear.
4. switching the method for answer mode as described in claims 1 to 3 any one, which is characterized in that the method further includes:
If the receiver of the intelligent mobile terminal close to user's ear, judge the intelligent mobile terminal positive main screen whether It facing away from the ear of the user;
If the positive main screen of the intelligent mobile terminal facing away from the ear of the user, current receiver is switched to the intelligence The receiver of the back side pair screen of energy mobile terminal.
5. a kind of device of switching answer mode, which is characterized in that described device includes:
First judgment module, for judging the receiver of intelligent mobile terminal whether close to user's ear;
Second judgment module, if the receiver for the intelligent mobile terminal is that close to user's ear, judgement is not currently answered Whether pattern is handset mode;
The handset mode is switched to and raises if being handset mode for the current answer mode by the first handover module Sound device pattern.
6. the device of switching answer mode as claimed in claim 5, which is characterized in that first judgment module includes:
Whether first detection unit, the receiver for detecting the intelligent mobile terminal with user's ear are in roughly the same water Horizontal line;
First determination unit, if the receiver and user's ear for the intelligent mobile terminal are not in roughly the same level Line, it is determined that the receiver of the intelligent mobile terminal is without close to user's ear.
7. the device of switching answer mode as claimed in claim 5, which is characterized in that first judgment module includes:
Whether the horizontal distance of second detection unit, receiver and user's ear for detecting the intelligent mobile terminal is more than pre- If threshold value;
Second determination unit, if being more than described default for the receiver of the intelligent mobile terminal and the horizontal distance of user's ear Threshold value, it is determined that the receiver of the intelligent mobile terminal is without close to user's ear.
8. switching the device of answer mode as described in claim 5 to 7 any one, which is characterized in that described device further includes:
Third judgment module, if the receiver for the intelligent mobile terminal judges the intelligent mobile close to user's ear Whether the positive main screen of terminal facing away from the ear of the user;
Second handover module will work as if facing away from the ear of the user for the positive main screen of the intelligent mobile terminal Preceding receiver is switched to the receiver of the back side pair screen of the intelligent mobile terminal.
9. a kind of mobile terminal, including memory, processor and it is stored in the memory and can be on the processor The computer program of operation, which is characterized in that the processor realizes such as Claims 1-4 when executing the computer program The step of any one the method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, feature to exist In realization is such as the step of Claims 1-4 any one the method when the computer program is executed by processor.
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 true CN108377298A (en) 2018-08-07
CN108377298B 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)

Cited By (2)

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

Citations (11)

* 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
CN102812430A (en) * 2010-03-24 2012-12-05 日本电气株式会社 Information processing device, display switching method, program, and recording medium
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
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
CN105991836A (en) * 2015-03-05 2016-10-05 小米科技有限责任公司 Communication sound switching method and device
CN106488008A (en) * 2016-09-12 2017-03-08 努比亚技术有限公司 A kind of voice call control device and its method, mobile terminal
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

Patent Citations (11)

* 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
CN102812430A (en) * 2010-03-24 2012-12-05 日本电气株式会社 Information processing device, display switching method, program, and recording medium
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
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
CN105991836A (en) * 2015-03-05 2016-10-05 小米科技有限责任公司 Communication sound switching method and device
CN106488008A (en) * 2016-09-12 2017-03-08 努比亚技术有限公司 A kind of voice call control device and its method, mobile terminal
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

Cited By (2)

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

Also Published As

Publication number Publication date
CN108377298B (en) 2020-09-25

Similar Documents

Publication Publication Date Title
CN107466033B (en) Register method, device, mobile terminal and the storage medium of IMS
CN107371221B (en) Select method, apparatus, mobile terminal and the readable storage medium storing program for executing of network
CN107949024A (en) AP method for handover control and device, electronic device and computer-readable recording medium
CN107395883A (en) Voice signal adjusting method, communication terminal and computer-readable recording medium
CN107613536A (en) Select method, apparatus, mobile terminal and the readable storage medium storing program for executing of network
CN107360332A (en) Talking state display methods, device, mobile terminal and storage medium
CN105744609B (en) Improve the method and device of mobile terminal power consumption
CN107172313A (en) Improve method, device, mobile terminal and the storage medium of hand-free call quality
CN107948055A (en) Shielding group members send out the method, apparatus and computer-readable recording medium of message
CN107608720A (en) Using the display methods of footmark, device, mobile terminal and storage medium
CN111556439A (en) Terminal connection control method, terminal and computer storage medium
CN105657868A (en) Mobile terminal and interface control method thereof
CN106331258A (en) Call methods, call apparatus and call system
CN107682553B (en) Call signal sending method and device, mobile terminal and storage medium
CN105843361A (en) Method for reducing power consumption while photographing, and mobile terminal
CN108363628A (en) Message treatment method, device, terminal and computer readable storage medium
CN104917539A (en) Mobile terminal radio-frequency configuration method, mobile terminal radio-frequency configuration device and mobile terminal
CN108377298A (en) A kind of method, apparatus and computer readable storage medium of switching answer mode
CN106951145A (en) Electricity based reminding method and mobile terminal during charging
CN108063998B (en) Earphone and terminal with microphone Heng Tong function
CN108668018B (en) Mobile terminal, volume control method and related product
CN108566221B (en) Call control method and related equipment
CN108154886A (en) Noise suppressing method and device, electronic device and computer readable storage medium
CN107613535A (en) Method for network access, device, mobile terminal and computer-readable recording medium
CN104902084B (en) A kind of intelligent call method, apparatus and equipment

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

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.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200925

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