WO2012152156A1 - Mobile terminal and method for mobile terminal to switch answer modes - Google Patents
Mobile terminal and method for mobile terminal to switch answer modes Download PDFInfo
- Publication number
- WO2012152156A1 WO2012152156A1 PCT/CN2012/073419 CN2012073419W WO2012152156A1 WO 2012152156 A1 WO2012152156 A1 WO 2012152156A1 CN 2012073419 W CN2012073419 W CN 2012073419W WO 2012152156 A1 WO2012152156 A1 WO 2012152156A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- mobile terminal
- distance
- handset
- central controller
- angle
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/60—Substation equipment, e.g. for use by subscribers including speech amplifiers
- H04M1/6033—Substation equipment, e.g. for use by subscribers including speech amplifiers for providing handsfree use or a loudspeaker mode in telephone sets
- H04M1/6041—Portable telephones adapted for handsfree use
- H04M1/605—Portable telephones adapted for handsfree use involving control of the receiver volume to provide a dual operational mode at close or far distance from the user
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/12—Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
Definitions
- the present invention relates to mobile communication technologies, and in particular, to a mobile terminal and a method for a mobile terminal to switch a listening mode.
- the earpiece and the speaker are switched only by detecting the distance between the mobile terminal and the user's head.
- the mobile terminal has formed a certain distance from the user's head, it will cause a false positive.
- the present invention provides a mobile terminal, comprising: an infrared emitting tube for emitting infrared rays; an infrared sensor for measuring a distance from a handset of the mobile terminal to a user's head; an acceleration sensor for measuring The angle between the plane of the mobile terminal and the horizontal plane; the central controller is configured to read the distance from the handset of the mobile terminal to the head of the user from the infrared sensor and determine whether the distance from the handset of the mobile terminal to the head of the user is less than a predetermined distance, and is greater than At a predetermined distance, the angle of the plane of the mobile terminal from the horizontal plane is read from the memory, and it is judged whether the angle is less than a predetermined value; and when the angle is less than a predetermined value, the handset is turned off, and the audio amplifier is turned on to drive the speaker by the audio amplifier. Further, the central controller is further configured to: after the mobile terminal enters the call state, read the answer mode switching state value from the memory; and
- the central controller is further configured to open the earpiece and the microphone if the automatic switching function is not turned on, and if it is turned on, turn on the infrared sensor, the infrared emitting tube, the acceleration sensor, open the earpiece and the microphone, and set the microphone gain.
- the central controller is further configured to: if less than the predetermined distance, turn off the audio amplifier, turn on the handset, and set the microphone gain.
- the central controller is further configured to: if the angle is greater than a predetermined value, read a distance from the infrared sensor to the user's head from the infrared sensor.
- the invention also provides a method for switching a listening mode of a mobile terminal, which is used in the above mobile terminal, comprising the following steps:
- the infrared emitting tube emits infrared rays, and the infrared sensor measures the distance from the handset of the mobile terminal to the head of the user, and the acceleration sensor measures The angle between the plane of the mobile terminal and the horizontal plane;
- the central controller reads the distance from the handset of the mobile terminal to the head of the user from the infrared sensor, and determines whether the distance from the handset of the mobile terminal to the head of the user is less than a predetermined distance; if greater than the predetermined distance,
- the central controller reads the angle of the plane of the mobile terminal from the horizontal plane from the memory and determines whether the angle is less than a predetermined value; if the angle is less than the predetermined value, the central controller closes the handset, turns on the audio amplifier, and drives the speaker by the audio amplifier.
- the method further includes the following steps: after the mobile terminal enters the call state, the central controller reads the answer mode switching state value from the memory; and determines whether the automatic switching function is enabled according to the state value.
- the method further includes the steps of: if not, the central controller only opens the handset and the microphone, and if turned on, the central controller turns on the infrared sensor, the infrared emission tube, the acceleration sensor, opens the handset and the microphone, and sets Microphone gain.
- the above method further comprises the step of: if less than the predetermined distance, the central controller turns off the audio amplifier, turns on the handset, and sets the microphone gain.
- the above method further comprises the step of: if the angle is greater than the predetermined value, the central controller reads the distance from the handset of the mobile terminal to the head of the user from the infrared sensor.
- the invention automatically switches between the earpiece answering mode and the speaker answering mode, without the need for the user to manually switch, which not only improves the user experience, but also avoids misjudgment.
- FIG. 1 is a structural diagram of a mobile terminal according to the present invention.
- FIG. 2 is a flow chart showing a method for a mobile terminal to switch an answer mode according to the present invention.
- the mobile terminal of the present invention can automatically switch between the handset answering and the speaker answering mode according to the distance between the handset of the mobile terminal and the head of the user, without manual switching by the user.
- the mobile terminal automatically turns on the speaker and turns off the handset.
- the handset of the mobile terminal approaches the user's head again, the handset is automatically turned on and the speaker is turned off.
- FIG. 1 is a structural diagram of a mobile terminal according to the present invention.
- a mobile terminal includes a central controller 104, an infrared sensor 105, an acceleration sensor 103, an audio amplifier 108, a memory 107, an infrared transmitting tube 106, a speaker 109, an earpiece 102, and a microphone 101.
- the infrared emitting tube 106 is configured to emit infrared rays; the infrared sensor 105 is configured to measure the distance of the mobile terminal handset 102 to the user's head; the acceleration sensor 103 is configured to measure the angle of the mobile terminal plane and the horizontal plane; And reading the distance from the infrared sensor 105 to the head of the user from the infrared sensor 105 and determining whether the distance from the mobile terminal handset 102 to the user's head is less than a predetermined distance, and reading from the memory 107 when the distance is greater than the predetermined distance.
- the central controller 104 is further configured to: after the mobile terminal enters the call state, read the answer mode switching state value from the memory 107; and determine whether to turn on the automatic switching function according to the state value.
- the central controller 104 is further configured to: if the automatic switching function is not turned on, open the earpiece 102 and the microphone 101, if turned on, turn on the infrared sensor 105, the infrared emission tube 106, the acceleration sensor 103, and open the earpiece 102. And the microphone 101, and set the microphone 101 gain.
- the central controller 104 is further configured to: if less than the predetermined distance, turn off the audio amplifier 108, turn on the earpiece 102, and set the microphone 101 gain.
- the central controller 104 is further configured to read the distance from the infrared sensor 105 to the head of the user from the infrared sensor 105 if the angle is greater than a predetermined value.
- FIG. 2 is a flow chart showing a method for a mobile terminal to switch an answer mode according to the present invention.
- Step S201 After the mobile terminal enters the call state, the central controller 104 reads the answer mode switching state value from the memory 107;
- Step S202 determining whether to enable the automatic switching function according to the status value; if not, proceeding to step S208, the central controller 104 opens the handset 102 and the microphone 101, and if so, proceeds to step S203;
- Step S203 the central controller 104 turns on the infrared sensor 105, the infrared emission tube 106, the acceleration sensor 103, opens the earpiece 102 and the microphone 101, and sets the microphone 101 gain; the infrared emission tube 106 starts to emit infrared rays, and the infrared sensor 105 starts measuring.
- the distance of the mobile terminal handset 102 to the user's head, the acceleration sensor 103 begins to measure the angle of the plane of the mobile terminal to the horizontal plane.
- Step S204 the central controller 104 reads the distance from the mobile terminal handset 102 to the user's head from the infrared sensor 105 and determines whether the distance from the mobile terminal handset 102 to the user's head is less than a predetermined distance; if the distance is less than the predetermined distance, enter Step S205, if the distance is greater than the predetermined distance, proceeding to step S206; in the present invention, the predetermined distance may be set as needed, and the predetermined distance is preferably 20 mm.
- Step S205 the central controller 104 turns off the audio amplifier 108, opens the handset 102, sets the microphone 101 gain, and returns to step S204;
- Step S206 the central controller 104 reads the angle of the plane of the mobile terminal from the horizontal plane from the memory 107, and determines whether the angle is greater than a predetermined value; if the angle is greater than the predetermined value, the process returns to step S204, and if the angle is less than the predetermined value, Proceeding to step S207; in the present invention, the predetermined value may be set as needed, and the predetermined value is preferably 15 degrees.
- Step S207 the central controller 104 closes the earpiece 102, turns on the audio amplifier 108, drives the speaker 109 by the audio amplifier 108, sets the microphone 101 gain, and returns to step S204.
- the invention automatically switches between the earpiece answering mode and the speaker answering mode, and does not require manual switching by the user, thereby improving the user experience.
- the step S206 of the present invention adds a judgment to whether the angle between the plane of the mobile terminal and the horizontal plane is greater than a predetermined value, so as to avoid that when the mobile terminal and the user's head have formed a certain distance, the user does not want to perform Mistakes that can occur when switching.
- each device/module/unit in the foregoing embodiment may be implemented in the form of hardware, or may adopt a software function.
- the form of the module is implemented. The invention is not limited to any specific form of combination of hardware and software.
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
Provided is a mobile terminal, including an infrared ray emission tube used for emitting infrared rays; an infrared ray sensor used for measuring the distance between the telephone receiver of the mobile terminal and the head of a user; an acceleration sensor used for measuring the angle between the plane of the mobile terminal and the horizontal plane; a central controller used for reading the distance between the telephone receiver of the mobile terminal and the head of the user from the infrared ray sensor and judging whether or not the distance between the telephone receiver of the mobile terminal and the head of the user is less than a preset distance, and when it is greater than the preset distance, reading the angle between the plane of the mobile terminal and the horizontal plane from a storage and judging whether or not the angle is less than a preset value, and used for turning off the telephone receiver, and turning on an audio frequency amplifier to drive a loudspeaker when the angle is less than the preset value. Also provided is a method for a mobile terminal to switch answer modes. The present invention performs automatic switching between the telephone receiver answer mode and the loudspeaker answer mode without manual switching of the user, improving user experience.
Description
移动终端以及移动终端切换接听模式的方法 Mobile terminal and method for switching mobile terminal to answer mode
【技术领域】 [Technical Field]
本发明涉及移动通信技术, 特别是涉及一种移动终端以及移动终端切换接 听模式的方法。 The present invention relates to mobile communication technologies, and in particular, to a mobile terminal and a method for a mobile terminal to switch a listening mode.
【背景技术】 【Background technique】
诸如手机等移动终端, 已经成为人们比必可少的通信工具, 当人们在室外 吵杂的地方用移动终端通话时, 如果听筒声音不够大, 则需要打开移动终端的 扬声器进行通话, 回到安静的地方时, 又需要使用听筒通话。 或者是通话过程 中, 身边有其他人需要一起通话时, 就要打开移动终端的扬声器进行通话, 当 不需要他人参加通话时, 又需要使用听筒通话。 应对这些繁杂的操作, 传统做 法是: 在通话过程中, 通过使用移动终端上设置的按键(可以是硬件按钮也可 以使软件按钮) 进行切换, 这样使用起来非常的不方便。 而且现有技术中只通 过检测移动终端与使用者头部的距离来切换听筒和扬声器。 当用户不想进行切 换, 而移动终端与使用者头部又已经形成一定距离时, 就会造成误判。 Mobile terminals such as mobile phones have become less common communication tools. When people use mobile terminals to talk in a noisy place outdoors, if the handset sound is not loud enough, you need to open the speaker of the mobile terminal to make a call and return to the quiet. When you are in a place, you need to use the handset to talk. Or during a call, when someone else needs to talk together, you should open the speaker of the mobile terminal to make a call. When you do not need others to participate in the call, you need to use the handset to talk. To deal with these complicated operations, the traditional method is: During the call, it is very inconvenient to use by using the buttons set on the mobile terminal (which can be hardware buttons or software buttons). Moreover, in the prior art, the earpiece and the speaker are switched only by detecting the distance between the mobile terminal and the user's head. When the user does not want to switch, and the mobile terminal has formed a certain distance from the user's head, it will cause a false positive.
【发明内容】 [Summary of the Invention]
本发明的目的是提供一种移动终端以及移动终端切换接听模式的方法, 可 在听筒接听模式和扬声器接听模式之间进行自动切换, 并避免造成误判。 SUMMARY OF THE INVENTION It is an object of the present invention to provide a mobile terminal and a method for a mobile terminal to switch an answering mode, which can automatically switch between an earpiece answering mode and a speaker answering mode, and avoid causing misjudgment.
为了解决上述问题, 本发明提供了一种移动终端, 包括: 红外线发射管, 用于发射红外线; 红外线感应器, 用于测量移动终端听筒至使用者头部的距离; 加速度感应器, 用于测量移动终端平面与水平面的角度; 中央控制器, 用于从 红外线感应器读取移动终端听筒到使用者头部的距离并判断移动终端听筒至使 用者头部的距离是否小于预定距离, 以及在大于预定距离时, 从存储器读取移 动终端平面与水平面的角度, 并判断该角度是否小于预定值; 以及用于在该角 度小于预定值时, 关闭听筒, 打开音频放大器由音频放大器驱动扬声器。
进一步的, 上述中央控制器还用于在移动终端进入通话状态后, 从存储器 读取接听模式切换状态值; 以及根据状态值判断是否开启自动切换功能。 In order to solve the above problems, the present invention provides a mobile terminal, comprising: an infrared emitting tube for emitting infrared rays; an infrared sensor for measuring a distance from a handset of the mobile terminal to a user's head; an acceleration sensor for measuring The angle between the plane of the mobile terminal and the horizontal plane; the central controller is configured to read the distance from the handset of the mobile terminal to the head of the user from the infrared sensor and determine whether the distance from the handset of the mobile terminal to the head of the user is less than a predetermined distance, and is greater than At a predetermined distance, the angle of the plane of the mobile terminal from the horizontal plane is read from the memory, and it is judged whether the angle is less than a predetermined value; and when the angle is less than a predetermined value, the handset is turned off, and the audio amplifier is turned on to drive the speaker by the audio amplifier. Further, the central controller is further configured to: after the mobile terminal enters the call state, read the answer mode switching state value from the memory; and determine whether to turn on the automatic switching function according to the state value.
进一步的, 上述中央控制器还用于如果不开启自动切换功能, 则打开听筒 和麦克风, 如果开启, 则打开红外线感应器, 红外线发射管, 加速度感应器, 打开听筒和麦克风, 并设置麦克风增益。 Further, the central controller is further configured to open the earpiece and the microphone if the automatic switching function is not turned on, and if it is turned on, turn on the infrared sensor, the infrared emitting tube, the acceleration sensor, open the earpiece and the microphone, and set the microphone gain.
进一步的, 上述中央控制器还用于: 如果小于预定距离, 则关闭音频放大 器, 打开听筒, 设置麦克风增益。 Further, the central controller is further configured to: if less than the predetermined distance, turn off the audio amplifier, turn on the handset, and set the microphone gain.
进一步的, 上述中央控制器还用于: 如果该角度大于预定值, 则从红外线 感应器读取移动终端听筒到使用者头部的距离。 Further, the central controller is further configured to: if the angle is greater than a predetermined value, read a distance from the infrared sensor to the user's head from the infrared sensor.
本发明还提供一种移动终端切换接听模式的方法, 用于上述的移动终端, 包括如下步骤: 红外线发射管发射红外线, 红外线感应器测量移动终端听筒至 使用者头部的距离, 加速度感应器测量移动终端平面与水平面的角度; 中央控 制器从红外线感应器读取移动终端听筒到使用者头部的距离, 并判断移动终端 听筒至使用者头部的距离是否小于预定距离; 如果大于预定距离, 中央控制器 从存储器读取移动终端平面与水平面的角度, 并判断该角度是否小于预定值; 如果该角度小于预定值, 则中央控制器关闭听筒, 打开音频放大器, 由音频放 大器驱动扬声器。 The invention also provides a method for switching a listening mode of a mobile terminal, which is used in the above mobile terminal, comprising the following steps: The infrared emitting tube emits infrared rays, and the infrared sensor measures the distance from the handset of the mobile terminal to the head of the user, and the acceleration sensor measures The angle between the plane of the mobile terminal and the horizontal plane; the central controller reads the distance from the handset of the mobile terminal to the head of the user from the infrared sensor, and determines whether the distance from the handset of the mobile terminal to the head of the user is less than a predetermined distance; if greater than the predetermined distance, The central controller reads the angle of the plane of the mobile terminal from the horizontal plane from the memory and determines whether the angle is less than a predetermined value; if the angle is less than the predetermined value, the central controller closes the handset, turns on the audio amplifier, and drives the speaker by the audio amplifier.
进一步的, 上述方法还包括步骤: 移动终端进入通话状态后, 中央控制器 从存储器读取接听模式切换状态值; 根据状态值判断是否开启自动切换功能。 Further, the method further includes the following steps: after the mobile terminal enters the call state, the central controller reads the answer mode switching state value from the memory; and determines whether the automatic switching function is enabled according to the state value.
进一步的, 上述方法还包括步骤: 如果不开启, 则中央控制器只打开听筒 和麦克风, 如果开启, 则中央控制器打开红外线感应器, 红外线发射管, 加速 度感应器, 打开听筒和麦克风, 并设置麦克风增益。 Further, the method further includes the steps of: if not, the central controller only opens the handset and the microphone, and if turned on, the central controller turns on the infrared sensor, the infrared emission tube, the acceleration sensor, opens the handset and the microphone, and sets Microphone gain.
进一步的, 上述方法还包括步骤: 如果小于预定距离, 中央控制器关闭音 频放大器, 打开听筒, 设置麦克风增益。 Further, the above method further comprises the step of: if less than the predetermined distance, the central controller turns off the audio amplifier, turns on the handset, and sets the microphone gain.
进一步的, 上述方法还包括步骤: 如果该角度大于预定值, 则中央控制器 从红外线感应器读取移动终端听筒到使用者头部的距离。
本发明在听筒接听模式和扬声器接听模式之间进行自动切换, 无需用户手 动切换, 不但提升了用户的使用体验, 而且可以避免造成误判。 Further, the above method further comprises the step of: if the angle is greater than the predetermined value, the central controller reads the distance from the handset of the mobile terminal to the head of the user from the infrared sensor. The invention automatically switches between the earpiece answering mode and the speaker answering mode, without the need for the user to manually switch, which not only improves the user experience, but also avoids misjudgment.
【附图说明】 [Description of the Drawings]
为了易于说明, 本发明由下述的较佳实施例及附图作以详细描述。 For ease of description, the present invention is described in detail by the following preferred embodiments and the accompanying drawings.
图 1所示为本发明移动终端的结构图; 1 is a structural diagram of a mobile terminal according to the present invention;
图 2所示为本发明移动终端切换接听模式的方法的流程图。 2 is a flow chart showing a method for a mobile terminal to switch an answer mode according to the present invention.
【具体实施方式】 【detailed description】
为使本发明的目的、 技术方案和优点更加清楚明白, 下文中将结合附图对 本发明的实施例进行详细说明。 需要说明的是, 在不沖突的情况下, 本申请中 的实施例及实施例中的特征可以相互任意组合。 In order to make the objects, the technical solutions and the advantages of the present invention more apparent, the embodiments of the present invention will be described in detail below. It should be noted that the embodiments in the present application and the features in the embodiments may be arbitrarily combined with each other without conflict.
本发明的移动终端可根据移动终端的听筒与使用者的头部之间的距离, 在 听筒接听和扬声器接听模式之间进行自动切换, 不用使用者进行手动切换。 当 移动终端的听筒与使用者的头部之间的距离大于预定值, 并且移动终端与水平 面平行时, 移动终端自动打开扬声器, 关闭听筒。 当移动终端的听筒再次靠近 使用者头部时, 自动打开听筒, 关闭扬声器。 The mobile terminal of the present invention can automatically switch between the handset answering and the speaker answering mode according to the distance between the handset of the mobile terminal and the head of the user, without manual switching by the user. When the distance between the handset of the mobile terminal and the head of the user is greater than a predetermined value, and the mobile terminal is parallel to the horizontal plane, the mobile terminal automatically turns on the speaker and turns off the handset. When the handset of the mobile terminal approaches the user's head again, the handset is automatically turned on and the speaker is turned off.
图 1所示为本发明移动终端的结构图。 FIG. 1 is a structural diagram of a mobile terminal according to the present invention.
一种移动终端包括:中央控制器 104,红外线感应器 105 ,加速度感应器 103, 音频放大器 108, 存储器 107, 红外线发射管 106, 扬声器 109, 听筒 102, 麦克 风 101。 A mobile terminal includes a central controller 104, an infrared sensor 105, an acceleration sensor 103, an audio amplifier 108, a memory 107, an infrared transmitting tube 106, a speaker 109, an earpiece 102, and a microphone 101.
红外线发射管 106, 用于发射红外线; 红外线感应器 105, 用于测量移动终 端听筒 102至使用者头部的距离; 加速度感应器 103, 用于测量移动终端平面与 水平面的角度; 中央控制器 104, 用于从红外线感应器 105 读取移动终端听筒 102到使用者头部的距离并判断移动终端听筒 102至使用者头部的距离是否小于 预定距离, 以及在大于预定距离时, 从存储器 107读取移动终端平面与水平面
的角度, 并判断该角度是否小于预定值; 以及用于在该角度小于预定值时, 关 闭听筒 102, 打开音频放大器 108, 由音频放大器 108驱动扬声器 109。 The infrared emitting tube 106 is configured to emit infrared rays; the infrared sensor 105 is configured to measure the distance of the mobile terminal handset 102 to the user's head; the acceleration sensor 103 is configured to measure the angle of the mobile terminal plane and the horizontal plane; And reading the distance from the infrared sensor 105 to the head of the user from the infrared sensor 105 and determining whether the distance from the mobile terminal handset 102 to the user's head is less than a predetermined distance, and reading from the memory 107 when the distance is greater than the predetermined distance. Take the mobile terminal plane and horizontal plane And determining whether the angle is less than a predetermined value; and for closing the earpiece 102 when the angle is less than a predetermined value, turning on the audio amplifier 108, and driving the speaker 109 by the audio amplifier 108.
进一步的, 上述中央控制器 104还用于在移动终端进入通话状态后, 从存 储器 107读取接听模式切换状态值; 以及根据状态值判断是否开启自动切换功 能。 Further, the central controller 104 is further configured to: after the mobile terminal enters the call state, read the answer mode switching state value from the memory 107; and determine whether to turn on the automatic switching function according to the state value.
进一步的, 上述中央控制器 104还用于, 如果不开启自动切换功能, 则打 开听筒 102和麦克风 101 , 如果开启, 则打开红外线感应器 105, 红外线发射管 106, 加速度感应器 103, 打开听筒 102和麦克风 101 , 并设置麦克风 101增益。 Further, the central controller 104 is further configured to: if the automatic switching function is not turned on, open the earpiece 102 and the microphone 101, if turned on, turn on the infrared sensor 105, the infrared emission tube 106, the acceleration sensor 103, and open the earpiece 102. And the microphone 101, and set the microphone 101 gain.
进一步的, 上述中央控制器 104还用于, 如果小于预定距离, 则关闭音频 放大器 108, 打开听筒 102, 设置麦克风 101增益。 Further, the central controller 104 is further configured to: if less than the predetermined distance, turn off the audio amplifier 108, turn on the earpiece 102, and set the microphone 101 gain.
进一步的, 上述中央控制器 104还用于, 如果该角度大于预定值, 则从红 外线感应器 105读取移动终端听筒 102到使用者头部的距离。 Further, the central controller 104 is further configured to read the distance from the infrared sensor 105 to the head of the user from the infrared sensor 105 if the angle is greater than a predetermined value.
图 2所示为本发明移动终端切换接听模式的方法的流程图。 2 is a flow chart showing a method for a mobile terminal to switch an answer mode according to the present invention.
步骤 S201 , 移动终端进入通话状态后, 中央控制器 104从存储器 107读取 接听模式切换状态值; Step S201: After the mobile terminal enters the call state, the central controller 104 reads the answer mode switching state value from the memory 107;
步骤 S202, 根据状态值判断是否开启自动切换功能; 如果不开启, 则进入 步骤 S208, 中央控制器 104打开听筒 102和麦克风 101 , 如果开启, 则进入步 骤 S203; Step S202, determining whether to enable the automatic switching function according to the status value; if not, proceeding to step S208, the central controller 104 opens the handset 102 and the microphone 101, and if so, proceeds to step S203;
步骤 S203 , 中央控制器 104打开红外线感应器 105, 红外线发射管 106, 加 速度感应器 103, 打开听筒 102和麦克风 101, 并设置麦克风 101增益; 红外线 发射管 106开始发射红外线, 红外线感应器 105开始测量移动终端听筒 102至 使用者头部的距离, 加速度感应器 103开始测量移动终端平面与水平面的角度。 Step S203, the central controller 104 turns on the infrared sensor 105, the infrared emission tube 106, the acceleration sensor 103, opens the earpiece 102 and the microphone 101, and sets the microphone 101 gain; the infrared emission tube 106 starts to emit infrared rays, and the infrared sensor 105 starts measuring. The distance of the mobile terminal handset 102 to the user's head, the acceleration sensor 103 begins to measure the angle of the plane of the mobile terminal to the horizontal plane.
步骤 S204, 中央控制器 104从红外线感应器 105读取移动终端听筒 102到 使用者头部的距离并判断移动终端听筒 102 至使用者头部的距离是否小于预定 距离; 如果距离小于预定距离, 进入步骤 S205 , 如果距离大于预定距离, 进入 步骤 S206; 在本发明中, 该预定距离可根据需要进行设置, 该预定距离优选为
20毫米。 Step S204, the central controller 104 reads the distance from the mobile terminal handset 102 to the user's head from the infrared sensor 105 and determines whether the distance from the mobile terminal handset 102 to the user's head is less than a predetermined distance; if the distance is less than the predetermined distance, enter Step S205, if the distance is greater than the predetermined distance, proceeding to step S206; in the present invention, the predetermined distance may be set as needed, and the predetermined distance is preferably 20 mm.
步骤 S205 , 中央控制器 104关闭音频放大器 108 , 打开听筒 102, 设置麦克 风 101增益, 返回步骤 S204; Step S205, the central controller 104 turns off the audio amplifier 108, opens the handset 102, sets the microphone 101 gain, and returns to step S204;
步骤 S206, 中央控制器 104从存储器 107读取移动终端平面与水平面的角 度, 并判断该角度是否大于预定值; 如杲该角度大于预定值, 则返回步驟 S204, 如果该角度小于预定值, 则进入步骤 S207; 在本发明中, 该预定值可根据需要 进行设置, 该预定值优选为 15度。 Step S206, the central controller 104 reads the angle of the plane of the mobile terminal from the horizontal plane from the memory 107, and determines whether the angle is greater than a predetermined value; if the angle is greater than the predetermined value, the process returns to step S204, and if the angle is less than the predetermined value, Proceeding to step S207; in the present invention, the predetermined value may be set as needed, and the predetermined value is preferably 15 degrees.
步骤 S207 , 中央控制器 104关闭听筒 102, 打开音频放大器 108, 由音频放 大器 108驱动扬声器 109, 设置麦克风 101增益, 返回步骤 S204。 Step S207, the central controller 104 closes the earpiece 102, turns on the audio amplifier 108, drives the speaker 109 by the audio amplifier 108, sets the microphone 101 gain, and returns to step S204.
如果通话结束, 则退出本流程。 If the call ends, exit this process.
本发明在听筒接听模式和扬声器接听模式之间进行自动切换, 无需用户手 动切换, 提升了用户的使用体验。 同时, 本发明的步骤 S206相对于现有技术而 言加入了判断移动终端平面与水平面的角度是否大于预定值, 来避免当移动终 端和使用者头部已经形成一定距离时, 而使用者不想进行切换时, 所可能发生 的误判。 The invention automatically switches between the earpiece answering mode and the speaker answering mode, and does not require manual switching by the user, thereby improving the user experience. At the same time, the step S206 of the present invention adds a judgment to whether the angle between the plane of the mobile terminal and the horizontal plane is greater than a predetermined value, so as to avoid that when the mobile terminal and the user's head have formed a certain distance, the user does not want to perform Mistakes that can occur when switching.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来 指令相关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如只读存储 器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用一个或 多个集成电路来实现, 相应地, 上述实施例中的各装置 /模块 /单元可以采用硬件 的形式实现, 也可以采用软件功能模块的形式实现。 本发明不限制于任何特定 形式的硬件和软件的结合。 One of ordinary skill in the art will appreciate that all or a portion of the above steps may be performed by a program to instruct the associated hardware, such as a read only memory, a magnetic disk, or an optical disk. Optionally, all or part of the steps of the foregoing embodiments may also be implemented by using one or more integrated circuits. Accordingly, each device/module/unit in the foregoing embodiment may be implemented in the form of hardware, or may adopt a software function. The form of the module is implemented. The invention is not limited to any specific form of combination of hardware and software.
以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领 域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则 之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之 内。
The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
Claims
1、 一种移动终端, 其特征在于, 包括: A mobile terminal, comprising:
红外线发射管, 用于发射红外线; Infrared emission tube for emitting infrared rays;
红外线感应器, 用于测量移动终端听筒至使用者头部的距离; An infrared sensor for measuring the distance from the handset of the mobile terminal to the head of the user;
加速度感应器, 用于测量移动终端平面与水平面的角度; An acceleration sensor for measuring an angle of a plane of the mobile terminal and a horizontal plane;
中央控制器, 用于从红外线感应器读取移动终端听筒到使用者头部的距离 并判断移动终端听筒至使用者头部的距离是否小于预定距离, 以及在大于预定 距离时, 从存储器读取移动终端平面与水平面的角度, 并判断该角度是否小于 预定值; 以及用于在该角度小于预定值时, 关闭听筒, 打开音频放大器由音频 放大器驱动扬声器。 a central controller, configured to read a distance from the infrared sensor to the head of the user from the infrared sensor and determine whether the distance from the handset of the mobile terminal to the head of the user is less than a predetermined distance, and read from the memory when the distance is greater than a predetermined distance An angle of the plane of the mobile terminal to the horizontal plane, and determining whether the angle is less than a predetermined value; and for turning off the handset when the angle is less than a predetermined value, turning on the audio amplifier to drive the speaker by the audio amplifier.
2、 如权利要求 1所述的移动终端, 其特征在于, 所述中央控制器还用于在 移动终端进入通话状态后, 从存储器读取接听模式切换状态值; 以及根据状态 值判断是否开启自动切换功能。 2. The mobile terminal according to claim 1, wherein the central controller is further configured to: after the mobile terminal enters a call state, read an answer mode switching state value from the memory; and determine whether to enable the automatic according to the state value. Switch function.
3、 如权利要求 2所述的移动终端, 其特征在于, 所述中央控制器还用于如 果不开启自动切换功能, 则打开听筒和麦克风, 如果开启, 则打开红外线感应 器, 红外线发射管, 加速度感应器, 打开听筒和麦克风, 并设置麦克风增益。 3. The mobile terminal according to claim 2, wherein the central controller is further configured to open the earpiece and the microphone if the automatic switching function is not turned on, and if enabled, turn on the infrared sensor, the infrared emitting tube, Acceleration sensor, turn on the handset and microphone, and set the microphone gain.
4、 如权利要求 1所述的移动终端, 其特征在于, 所述中央控制器还用于: 如果小于预定距离, 则关闭音频放大器, 打开听筒, 设置麦克风增益。 4. The mobile terminal according to claim 1, wherein the central controller is further configured to: if less than the predetermined distance, turn off the audio amplifier, turn on the handset, and set the microphone gain.
5、 如权利要求 1所述的移动终端, 其特征在于, 所述中央控制器还用于: 如果该角度大于预定值, 则从红外线感应器读取移动终端听筒到使用者头部的 距离。 The mobile terminal according to claim 1, wherein the central controller is further configured to: if the angle is greater than a predetermined value, read a distance from the handset of the mobile terminal to the head of the user from the infrared sensor.
6、 一种移动终端切换接听模式的方法, 用于权利要求 1至 5任一项所述的 移动终端, 其特征在于, 包括如下步骤: A mobile terminal switching the answering mode, the mobile terminal according to any one of claims 1 to 5, comprising the steps of:
红外线发射管发射红外线, 红外线感应器测量移动终端听筒至使用者头部 的距离, 加速度感应器测量移动终端平面与水平面的角度; 中央控制器从红外线感应器读取移动终端听筒到使用者头部的距离, 并判 断移动终端听筒至使用者头部的距离是否小于预定距离; The infrared emitting tube emits infrared rays, and the infrared sensor measures the distance from the handset of the mobile terminal to the head of the user, and the acceleration sensor measures the angle of the plane of the mobile terminal and the horizontal plane; The central controller reads the distance from the handset of the mobile terminal to the head of the user from the infrared sensor, and determines whether the distance from the handset of the mobile terminal to the head of the user is less than a predetermined distance;
如果大于预定距离, 中央控制器从存储器读取移动终端平面与水平面的角 度, 并判断该角度是否小于预定值; If greater than the predetermined distance, the central controller reads the angle of the plane of the mobile terminal from the horizontal plane from the memory, and determines whether the angle is less than a predetermined value;
如果该角度小于预定值, 则中央控制器关闭听筒, 打开音频放大器, 由音 频放大器驱动扬声器。 If the angle is less than the predetermined value, the central controller turns off the handset, turns on the audio amplifier, and drives the speaker by the audio amplifier.
7、 如权利要求 6所述的移动终端切换接听模式的方法, 其特征在于, 还包 括步骤: 移动终端进入通话状态后, 中央控制器从存储器读取接听模式切换状 态值; 根据状态值判断是否开启自动切换功能。 The method for switching a listening mode of a mobile terminal according to claim 6, further comprising the steps of: after the mobile terminal enters a call state, the central controller reads the answer mode switching state value from the memory; Turn on automatic switching.
8、 如权利要求 7所述的移动终端切换接听模式的方法, 其特征在于, 还包 括步骤: 如杲不开启, 则中央控制器只打开听筒和麦克风, 如杲开启, 则中央 控制器打开红外线感应器, 红外线发射管, 加速度感应器, 打开听筒和麦克风, 并设置麦克风增益。 The method for switching a listening mode of a mobile terminal according to claim 7, further comprising the steps of: if the 杲 is not turned on, the central controller only turns on the handset and the microphone, and if the 杲 is turned on, the central controller turns on the infrared ray. Sensor, Infrared Emitter, Acceleration Sensor, Turn on the handset and microphone, and set the microphone gain.
9、 如权利要求 6所述的移动终端切换接听模式的方法, 其特征在于, 还包 括步骤: 如果小于预定距离, 中央控制器关闭音频放大器, 打开听筒, 设置麦 克风增益。 9. The method according to claim 6, further comprising the step of: if less than the predetermined distance, the central controller turns off the audio amplifier, turns on the handset, and sets the microphone gain.
10、 如权利要求 6所述的移动终端切换接听模式的方法, 其特征在于, 还 包括步骤: 如果该角度大于预定值, 则中央控制器从红外线感应器读取移动终 端听筒到使用者头部的距离。 10. The method according to claim 6, further comprising the step of: if the angle is greater than a predetermined value, the central controller reads the mobile terminal handset from the infrared sensor to the user's head. the distance.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110120965.0 | 2011-05-11 | ||
CN201110120965.0A CN102891914B (en) | 2011-05-11 | 2011-05-11 | Mobile terminal and mobile terminal switch the method for answer mode |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2012152156A1 true WO2012152156A1 (en) | 2012-11-15 |
Family
ID=47138776
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2012/073419 WO2012152156A1 (en) | 2011-05-11 | 2012-03-31 | Mobile terminal and method for mobile terminal to switch answer modes |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102891914B (en) |
WO (1) | WO2012152156A1 (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105516511A (en) * | 2016-01-08 | 2016-04-20 | 深圳市普达尔科技有限公司 | Method and device for switching telephone answering modes |
CN106131748A (en) * | 2016-06-30 | 2016-11-16 | 蔡军 | A kind of intelligent sound with infrared induction identification |
CN107027001A (en) * | 2017-03-31 | 2017-08-08 | 北京奇艺世纪科技有限公司 | A kind of video communication method and device |
US9769225B2 (en) | 2014-01-30 | 2017-09-19 | Motorola Solutions, Inc. | Method and apparatus for coordinating an operation of multiple mobile devices in a group call |
CN107483684A (en) * | 2017-09-27 | 2017-12-15 | 北京小米移动软件有限公司 | Electronic equipment |
CN109525711A (en) * | 2018-10-25 | 2019-03-26 | 维沃移动通信有限公司 | A kind of distance sensing devices, electronic equipment and distance detection method |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103369144B (en) * | 2013-07-11 | 2015-05-27 | 广东欧珀移动通信有限公司 | Method for processing misoperation in mobile phone communication process through acceleration sensor |
CN103369145B (en) * | 2013-07-11 | 2016-05-04 | 广东欧珀移动通信有限公司 | Process the method for maloperation in mobile phone communication process in conjunction with gyroscope |
CN103984518A (en) * | 2014-04-18 | 2014-08-13 | 青岛尚慧信息技术有限公司 | Intelligent mobile terminal |
CN103985400A (en) * | 2014-04-18 | 2014-08-13 | 青岛尚慧信息技术有限公司 | Audio file playing system |
CN103985397A (en) * | 2014-04-18 | 2014-08-13 | 青岛尚慧信息技术有限公司 | Electronic device |
WO2015172321A1 (en) * | 2014-05-14 | 2015-11-19 | 华为技术有限公司 | Infrared distance-measuring anti-collision method and terminal |
CN104219390A (en) * | 2014-09-17 | 2014-12-17 | 深圳市中兴移动通信有限公司 | Mobile terminal and sound recording method and device thereof |
CN105827812A (en) * | 2015-10-30 | 2016-08-03 | 维沃移动通信有限公司 | Communication mode switching method and mobile communication terminal |
CN105635489A (en) * | 2016-03-23 | 2016-06-01 | 北京小米移动软件有限公司 | Call communication mode processing method and device |
CN106878557B (en) * | 2017-02-16 | 2019-08-27 | Oppo广东移动通信有限公司 | Control method, device and the mobile terminal that mobile terminal sound plays |
TWI689208B (en) * | 2017-09-22 | 2020-03-21 | 美律實業股份有限公司 | Electronic apparatus |
CN107995559B (en) * | 2017-12-26 | 2020-12-01 | 上海展扬通信技术有限公司 | Audio control terminal and method |
CN108377298B (en) * | 2018-02-07 | 2020-09-25 | Oppo广东移动通信有限公司 | Method and device for switching answering mode, mobile terminal and computer readable storage medium |
CN109343820A (en) * | 2018-10-12 | 2019-02-15 | Oppo广东移动通信有限公司 | A kind of control method, device and terminal that audio plays |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1921665A (en) * | 2005-08-26 | 2007-02-28 | 乐金电子(中国)研究开发中心有限公司 | Mobile communication terminal with voice output switching function and operation method thereof |
CN101610307A (en) * | 2008-06-17 | 2009-12-23 | 深圳富泰宏精密工业有限公司 | Answering modes of mobile phone switched system and method |
CN101640720A (en) * | 2008-07-31 | 2010-02-03 | 鸿富锦精密工业(深圳)有限公司 | Mobile communication terminal and switching method of answer mode thereof |
US20110053563A1 (en) * | 2009-09-01 | 2011-03-03 | Sony Ericsson Mobile Communications Ab | Portable handsfree device with local voicemail service for use with a mobile terminal |
-
2011
- 2011-05-11 CN CN201110120965.0A patent/CN102891914B/en active Active
-
2012
- 2012-03-31 WO PCT/CN2012/073419 patent/WO2012152156A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1921665A (en) * | 2005-08-26 | 2007-02-28 | 乐金电子(中国)研究开发中心有限公司 | Mobile communication terminal with voice output switching function and operation method thereof |
CN101610307A (en) * | 2008-06-17 | 2009-12-23 | 深圳富泰宏精密工业有限公司 | Answering modes of mobile phone switched system and method |
CN101640720A (en) * | 2008-07-31 | 2010-02-03 | 鸿富锦精密工业(深圳)有限公司 | Mobile communication terminal and switching method of answer mode thereof |
US20110053563A1 (en) * | 2009-09-01 | 2011-03-03 | Sony Ericsson Mobile Communications Ab | Portable handsfree device with local voicemail service for use with a mobile terminal |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9769225B2 (en) | 2014-01-30 | 2017-09-19 | Motorola Solutions, Inc. | Method and apparatus for coordinating an operation of multiple mobile devices in a group call |
CN105516511A (en) * | 2016-01-08 | 2016-04-20 | 深圳市普达尔科技有限公司 | Method and device for switching telephone answering modes |
CN106131748A (en) * | 2016-06-30 | 2016-11-16 | 蔡军 | A kind of intelligent sound with infrared induction identification |
CN107027001A (en) * | 2017-03-31 | 2017-08-08 | 北京奇艺世纪科技有限公司 | A kind of video communication method and device |
CN107483684A (en) * | 2017-09-27 | 2017-12-15 | 北京小米移动软件有限公司 | Electronic equipment |
CN107483684B (en) * | 2017-09-27 | 2024-02-06 | 北京小米移动软件有限公司 | Electronic equipment |
CN109525711A (en) * | 2018-10-25 | 2019-03-26 | 维沃移动通信有限公司 | A kind of distance sensing devices, electronic equipment and distance detection method |
Also Published As
Publication number | Publication date |
---|---|
CN102891914A (en) | 2013-01-23 |
CN102891914B (en) | 2015-12-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2012152156A1 (en) | Mobile terminal and method for mobile terminal to switch answer modes | |
US20170126192A1 (en) | Method, device, and computer-readable medium for adjusting volume | |
CN108399917B (en) | Speech processing method, apparatus and computer readable storage medium | |
US7702368B2 (en) | Apparatus and method for controlling speaker volume of push-to-talk (PTT) phone | |
US11032675B2 (en) | Electronic accessory incorporating dynamic user-controlled audio muting capabilities, related methods and communications terminal | |
US10521185B1 (en) | Privacy-enabled voice-assisted intelligent automated assistant user interface device | |
US20140120894A1 (en) | Mobile Device and Method for Controlling Application Procedures of the Mobile Device Thereof | |
CN108476256A (en) | A kind of volume adjusting method and terminal | |
CN105138319B (en) | Event-prompting method and device | |
CN106454644B (en) | Audio playing method and device | |
JP2007221744A (en) | Mobile device capable of regulating dynamically volume thereof and its related method | |
CN109473097B (en) | Intelligent voice equipment and control method thereof | |
CN104539871B (en) | Multimedia session method and device | |
WO2014127712A1 (en) | Method and device for controlling call audio channel of communication terminal, and communication terminal | |
WO2023029299A1 (en) | Earphone-based communication method, earphone device, and computer-readable storage medium | |
CN104935729B (en) | Audio-frequency inputting method and device | |
US20120287283A1 (en) | Electronic device with voice prompt function and voice prompt method | |
CN104506703A (en) | Voice message leaving method, voice message leaving device, voice message playing method and voice message playing device | |
US9100821B2 (en) | Anti-eavesdropping communication system and method | |
KR100833106B1 (en) | Mobile communication terminal and its operating method | |
TW201625020A (en) | Headset and controlling handheld device system, method | |
CN108206884A (en) | Terminal, the method for adjustment of terminal transmission signal of communication and electronic equipment | |
WO2023005125A1 (en) | Bluetooth headset mode control method and device, and computer-readable storage medium | |
CN109862171A (en) | Terminal equipment control method and device | |
TW201336290A (en) | Communication device and method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 12782243 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 12782243 Country of ref document: EP Kind code of ref document: A1 |