[go: up one dir, main page]

CN102984374A - Communication terminal and switching method of call mode thereof - Google Patents

Communication terminal and switching method of call mode thereof Download PDF

Info

Publication number
CN102984374A
CN102984374A CN2012104800187A CN201210480018A CN102984374A CN 102984374 A CN102984374 A CN 102984374A CN 2012104800187 A CN2012104800187 A CN 2012104800187A CN 201210480018 A CN201210480018 A CN 201210480018A CN 102984374 A CN102984374 A CN 102984374A
Authority
CN
China
Prior art keywords
communication terminal
data transmission
transmission state
switching
distance value
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.)
Pending
Application number
CN2012104800187A
Other languages
Chinese (zh)
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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Dongguan Yulong Telecommunication Technology Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Dongguan Yulong Telecommunication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd, Dongguan Yulong Telecommunication Technology Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN2012104800187A priority Critical patent/CN102984374A/en
Publication of CN102984374A publication Critical patent/CN102984374A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The invention is suitable for the technical field of communication, and provides a method for switching communication modes of a communication terminal, which is characterized by comprising the following steps: setting a distance threshold value between the communication terminal and the human ear; after the communication terminal starts video call, acquiring a distance value between the communication terminal and the human ear; and judging whether the distance value is smaller than a preset distance threshold value, if so, switching the video data transmission state of the communication terminal into a voice data transmission state. The invention also correspondingly provides a communication terminal for realizing the method. Therefore, the invention can save system resources and improve user experience.

Description

通信终端及其通话方式的切换方法Communication terminal and switching method of call mode thereof

技术领域 technical field

本发明涉及通信技术领域,尤其涉及一种通信终端及其通话方式的切换方法。The invention relates to the technical field of communication, in particular to a communication terminal and a method for switching a communication mode thereof.

背景技术 Background technique

现有的Android智能手机在可视电话通话时,如果不插耳机线,一般都是开扬声器;而如果手机贴在耳朵边上不希望身边的人听到电话内容时,我们一般选择关掉扬声器启用听筒模式进行普通语音通话。但一般而言,这两种通话模式的切换需要一定的时间手动去设置,也就是说这两种通话模式之间切换时需要手动去操作多个动作,如挂机、视频拨号等,较为不便。同时,现有的Android智能手机在可视电话通话时,一般都是开扬声器且只能通过调节音量按键来调整音量,但只要开了扬声器,声音还是很大,当电话过程中涉及私密信息时,很容易被身边的人听到电话内容;并且随着手机的普及,越来越多的小孩子也可以很轻易接触到手机,当打可视电话时,如果我们(尤其是小孩)不小心将手机放在耳朵边上时,因为扬声器开着时声音很大,所以极有可能会伤害到他们的听力。When the existing Android smart phone is in a videophone call, if the earphone cable is not plugged in, the speaker is generally turned on; and if the phone is attached to the ear and we do not want the people around us to hear the content of the call, we generally choose to turn off the speaker Enable handset mode for normal voice calls. But generally speaking, switching between these two call modes requires a certain amount of time to manually set, that is to say, when switching between these two call modes, it is necessary to manually operate multiple actions, such as hanging up, video dialing, etc., which is inconvenient. Simultaneously, when the existing Android smart phone is in a videophone call, the speaker is generally turned on and the volume can only be adjusted by adjusting the volume buttons, but as long as the speaker is turned on, the sound is still very loud. When private information is involved in the phone process , it is easy to be heard by people around you; and with the popularization of mobile phones, more and more children can easily access mobile phones. When making video calls, if we (especially children) are not careful Holding the phone up to their ear is more likely to damage their hearing because the speaker is loud when it's on.

综上可知,现有的通信终端的通话方式的切换技术,在实际使用上显然存在不便与缺陷,所以有必要加以改进。To sum up, it can be seen that the existing technology for switching the communication mode of the communication terminal obviously has inconvenience and defects in actual use, so it is necessary to improve it.

发明内容 Contents of the invention

针对上述的缺陷,本发明的目的在于提供一种通信终端及其通话方式的切换方法,其可以节约系统资源,提高用户体验。In view of the above defects, the purpose of the present invention is to provide a communication terminal and a method for switching a call mode thereof, which can save system resources and improve user experience.

为了实现上述目的,本发明提供一种通信终端及其通话方式的切换方法,所述方法包括:In order to achieve the above object, the present invention provides a communication terminal and a method for switching a communication mode thereof, the method comprising:

设置所述通信终端与人耳的距离阈值;Setting the distance threshold between the communication terminal and the human ear;

所述通信终端开始视频通话后,获取所述通信终端与人耳的距离值;After the communication terminal starts the video call, acquire the distance value between the communication terminal and the human ear;

判断所述距离值是否小于预设的距离阈值,若是,则将所述通信终端由视频数据传输状态切换为语音数据传输状态。Judging whether the distance value is smaller than a preset distance threshold, if so, switching the communication terminal from a video data transmission state to a voice data transmission state.

根据本发明的通信终端通话方式的切换方法,所述将所述通信终端由视频数据传输状态切换为语音数据传输状态步骤之后还包括:According to the switching method of the communication terminal communication mode of the present invention, after the step of switching the communication terminal from the video data transmission state to the voice data transmission state, it also includes:

获取所述通信终端与人耳的距离值;Acquiring the distance value between the communication terminal and the human ear;

判断所述距离值是否小于预设的距离阈值,若所述距离值不小于预设的距离阈值,则将所述通信终端由语音数据传输状态切换为视频数据传输状态。Judging whether the distance value is less than a preset distance threshold, if the distance value is not less than the preset distance threshold, switching the communication terminal from the voice data transmission state to the video data transmission state.

根据本发明的通信终端通话方式的切换方法,所述通信终端开始视频通话后,获取所述通信终端与人耳的距离值步骤包括:According to the switching method of the communication terminal communication mode of the present invention, after the communication terminal starts the video call, the step of obtaining the distance value between the communication terminal and the human ear includes:

所述通信终端开始视频通话后,将所述视频通话的标志位设为1。After the communication terminal starts the video call, it sets the flag bit of the video call to 1.

根据本发明的通信终端通话方式的切换方法,According to the switching method of communication terminal communication mode of the present invention,

所述通信终端由视频数据传输状态切换为语音数据传输状态后,所述通信终端的声音由扬声器模式转换为听筒模式;After the communication terminal is switched from the video data transmission state to the voice data transmission state, the sound of the communication terminal is converted from the speaker mode to the earpiece mode;

所述通信终端由语音数据传输状态切换为视频数据传输状态后,所述通信终端的声音由听筒模式转换为扬声器模式。After the communication terminal is switched from the voice data transmission state to the video data transmission state, the sound of the communication terminal is converted from the handset mode to the speaker mode.

根据本发明的通信终端通话方式的切换方法,所述通信终端通过红外探测传感器获取其与人耳之间的距离值。According to the communication terminal switching method of the present invention, the communication terminal obtains the distance value between it and the human ear through an infrared detection sensor.

本发明还提供一种通信终端,所述通信终端包括:The present invention also provides a communication terminal, and the communication terminal includes:

设置模块,用于设置所述通信终端与人耳的距离阈值;A setting module, configured to set the distance threshold between the communication terminal and the human ear;

距离获取模块,用于所述通信终端开始视频通话后,获取所述通信终端与人耳的距离值;The distance acquisition module is used to obtain the distance value between the communication terminal and the human ear after the communication terminal starts the video call;

判断模块,用于判断所述距离值是否小于预设的距离阈值,若是,则由交由切换模块处理。The judging module is used to judge whether the distance value is smaller than the preset distance threshold, and if so, hand it over to the switching module for processing.

切换模块,用于所述通信终端与人耳的距离值小于预设的距离阈值时,将所述通信终端由视频数据传输状态切换为语音数据传输状态。The switching module is used for switching the communication terminal from the video data transmission state to the voice data transmission state when the distance between the communication terminal and the human ear is less than a preset distance threshold.

根据本发明的通信终端,所述切换模块还用于所述距离值大于或等于所述预设的距离阈值时,将所述通信终端由语音数据传输状态切换为视频数据传输状态。According to the communication terminal of the present invention, the switching module is further configured to switch the communication terminal from the voice data transmission state to the video data transmission state when the distance value is greater than or equal to the preset distance threshold.

根据本发明的通信终端,所述通信终端还包括According to the communication terminal of the present invention, the communication terminal further includes

标志位模块,用于所述通信终端开始视频通话后,将所述视频通话的标志位设为1。The flag bit module is used to set the flag bit of the video call to 1 after the communication terminal starts the video call.

根据本发明的通信终端,所述切换模块包括语According to the communication terminal of the present invention, the switching module includes language

音切换子模块,用于所述通信终端由视频数据传输状态切换为语音数据传输状态后,将所述通信终端的声音由扬声器模式转换为听筒模式;或者The sound switching submodule is used to convert the sound of the communication terminal from the speaker mode to the earpiece mode after the communication terminal is switched from the video data transmission state to the voice data transmission state; or

在所述通信终端由语音数据传输状态切换为视频数据传输状态后,将所述通信终端的声音由听筒模式转换为扬声器模式。After the communication terminal is switched from the voice data transmission state to the video data transmission state, the voice of the communication terminal is switched from the handset mode to the speaker mode.

根据本发明的通信终端,所述距离获取模块为红外探测距离传感器。According to the communication terminal of the present invention, the distance acquisition module is an infrared detection distance sensor.

本发明通过预设一通信终端与人耳之间的距离阈值,且在通信终端开启视频通话后不断的检测并获取通信终端与人耳之间的距离值,若检测的距离值小于预设的距离阈值时,则控制通信终端的数据传输状态由视频数据传输状态切换到语音数据传输状态。更好的,若检测到的距离值大于或等于预设的阈值时,则控制通信终端由语音数据传输状态切换到视频数据传输状态。借此本发明不需要用户再额外操作即可实现通话方式的切换,节约了系统资源,提高用户体验。The present invention presets a distance threshold between a communication terminal and the human ear, and continuously detects and obtains the distance value between the communication terminal and the human ear after the communication terminal starts a video call. If the detected distance value is less than the preset When the distance threshold is reached, the data transmission state of the communication terminal is controlled to switch from the video data transmission state to the voice data transmission state. More preferably, if the detected distance value is greater than or equal to a preset threshold, the communication terminal is controlled to switch from the voice data transmission state to the video data transmission state. In this way, the present invention can realize the switching of the call mode without any additional operation by the user, which saves system resources and improves user experience.

附图说明 Description of drawings

图1是本发明一实施例的通信终端的结构示意图;FIG. 1 is a schematic structural diagram of a communication terminal according to an embodiment of the present invention;

图2是本发明另一实施例的通信终端的结构示意图;FIG. 2 is a schematic structural diagram of a communication terminal according to another embodiment of the present invention;

图3是本发明一实施例的通信终端通话方式的切换方法流程图;FIG. 3 is a flowchart of a method for switching communication terminal call modes according to an embodiment of the present invention;

图4是本发明另一实施例的通信终端通话方式的切换方法流程图。Fig. 4 is a flow chart of a method for switching a communication terminal's call mode according to another embodiment of the present invention.

具体实施方式 Detailed ways

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

参见图1,本发明提供了一种可自动切换通话方式的通信终端,该通信终端100可以为移动终端比如手机,其包括设置模块10、距离获取模块20、判断模块30及切换模块40,具体的:Referring to Fig. 1, the present invention provides a kind of communication terminal that can switch call mode automatically, and this communication terminal 100 can be mobile terminal such as mobile phone, and it comprises setting module 10, distance obtaining module 20, judging module 30 and switching module 40, specifically of:

设置模块10,用于设置通信终端100与人耳的距离阈值。该距离阈值是通信终端100的通话方式切换的判断标准。The setting module 10 is used to set the distance threshold between the communication terminal 100 and the human ear. The distance threshold is a criterion for judging communication terminal 100 to switch between speaking modes.

距离获取模块20,用于通信终端100开始视频通话后,获取通信终端100与人耳的距离值。具体应用中,该距离获取模块20采用红外探测距离传感器,其安装于通信终端100,待通信终端100的视频通话开启后即触发距离获取模块20检测获取人耳与通信终端100之间的距离值,并交由判断模块30处理。需要说明的,距离获取模块20在视频通话开始后,可以实时检测获取距离值,也可以按一定频率获取检测的距离值,比如间隔2秒检测一次,借此可节约资源。The distance acquiring module 20 is configured to acquire the distance value between the communication terminal 100 and the human ear after the communication terminal 100 starts the video call. In a specific application, the distance acquisition module 20 uses an infrared detection distance sensor, which is installed on the communication terminal 100, and the distance acquisition module 20 is triggered to detect and acquire the distance value between the human ear and the communication terminal 100 after the video call of the communication terminal 100 is started. , and handed over to the judging module 30 for processing. It should be noted that after the video call starts, the distance acquisition module 20 can detect and acquire the distance value in real time, or acquire the detected distance value at a certain frequency, such as once every 2 seconds, so as to save resources.

判断模块30,用于判断距离获取模块获取的距离值是否小于预设的距离阈值,若是,则由交由切换模块40处理。The judging module 30 is used to judge whether the distance value acquired by the distance acquiring module is less than a preset distance threshold, and if so, hand it over to the switching module 40 for processing.

切换模块40,用于所述通信终端与人耳的距离值小于预设的距离阈值时,将通信终端100由视频数据传输状态切换为语音数据传输状态。若检测距离值由小增大至大于或等于预设的距离阈值时,切换模块40将所述通信终端100由语音数据传输状态切换为视频数据传输状态。The switching module 40 is configured to switch the communication terminal 100 from the video data transmission state to the voice data transmission state when the distance between the communication terminal and the human ear is less than a preset distance threshold. If the detected distance value increases from small to greater than or equal to the preset distance threshold, the switching module 40 switches the communication terminal 100 from the voice data transmission state to the video data transmission state.

需要说明的,本发明所述的视频数据传输状态和语音数据传输状态实际上是视频通话的两个不同状态,二者的切换其实就是通过控制摄像头的关闭和打开来控制视频数据的传送与否,借此使视频传输和语音传输可以来回切换,且不会涉及到通信链路的切换问题。It should be noted that the video data transmission state and the voice data transmission state described in the present invention are actually two different states of the video call, and the switching between the two is actually to control whether the video data is transmitted or not by controlling the closing and opening of the camera. , so that video transmission and voice transmission can be switched back and forth without involving the switching of communication links.

本发明另一实施例中,参见图2,通信终端100还包括一标志位模块50,用于所述通信终端100开始视频通话后,将视频通话的标志位设为1。当判断模块30判断具体应用时,判断模块30在判断所述检测距离是否小于阈值时,还判断视频通话的标志位是否为1。本发明中设置可视频通话标志位是因为只有通信终端100先是拨打的视频通话时,才可以从语音数据传输状态切换到视频数据传输状态,正常拨打普通语音电话时,不能如此切换。In another embodiment of the present invention, referring to FIG. 2 , the communication terminal 100 further includes a flag bit module 50 , configured to set the flag bit of the video call to 1 after the communication terminal 100 starts the video call. When the judging module 30 judges a specific application, the judging module 30 also judges whether the flag bit of the video call is 1 when judging whether the detection distance is smaller than a threshold. In the present invention, the video call flag is set because only when the communication terminal 100 dials a video call first, can it switch from the voice data transmission state to the video data transmission state, and it cannot switch like this when making an ordinary voice call.

该实施例中,切换模块40还包括语音切换子模块41,用于通信终端100由视频数据传输状态切换为语音数据传输状态后,将通信终端100的声音由扬声器模式转换为听筒模式;或者在通信终端100由语音数据传输状态切换为视频数据传输状态后,将所述通信终端的声音由听筒模式转换为扬声器模式,借此提高用户体验。In this embodiment, the switching module 40 also includes a voice switching sub-module 41, which is used to switch the voice of the communication terminal 100 from the speaker mode to the earpiece mode after the communication terminal 100 is switched from the video data transmission state to the voice data transmission state; or After the communication terminal 100 switches from the voice data transmission state to the video data transmission state, the voice of the communication terminal is converted from the handset mode to the speaker mode, thereby improving user experience.

参见图3,本发明提供了一种通信终端通话方式的切换方法,其可以通过如图1所示的通信终端100实现,该方法包括:Referring to FIG. 3 , the present invention provides a method for switching communication terminal call modes, which can be implemented by the communication terminal 100 shown in FIG. 1 , and the method includes:

步骤S301,通过设置模块10设置通信终端100与人耳的距离阈值。In step S301 , the setting module 10 sets the distance threshold between the communication terminal 100 and the human ear.

步骤S302,通信终端100开始视频通话后,距离获取模块20获取所述通信终端与人耳的距离值。本发明的实施例中,距离获取模块20优选为红外探测传感器,通信终端100通过设置的红外探测传感器获取其自身与人耳之间的距离值。Step S302, after the communication terminal 100 starts the video call, the distance acquisition module 20 acquires the distance value between the communication terminal and the human ear. In the embodiment of the present invention, the distance obtaining module 20 is preferably an infrared detection sensor, and the communication terminal 100 obtains the distance value between itself and the human ear through the provided infrared detection sensor.

步骤S303,判断模块20判断所述距离值是否小于预设的距离阈值,若是,则通过切换模块40将所述通信终端100由视频数据传输状态切换为语音数据传输状态。Step S303 , the judging module 20 judges whether the distance value is smaller than a preset distance threshold, and if so, switches the communication terminal 100 from the video data transmission state to the voice data transmission state through the switching module 40 .

参见图4,本发明提供了另外一种通信终端通话方式的切换方法,其包括:Referring to Fig. 4, the present invention provides another method for switching communication terminal call modes, which includes:

步骤S401,预设通信终端100与人耳的距离阈值。Step S401, preset the distance threshold between the communication terminal 100 and the human ear.

步骤S402,通信终端100开启视频通话,将视频通话的标志位设为1。In step S402, the communication terminal 100 starts the video call, and sets the flag bit of the video call to 1.

步骤S403,获取通信终端与人耳的距离值。Step S403, acquiring a distance value between the communication terminal and the human ear.

步骤S404,判断所述距离值是否小于预设阈值,并判断视频通话的标志位是否为1,若是则执行步骤S405,否则执行步骤S403。Step S404, judging whether the distance value is smaller than a preset threshold, and judging whether the flag bit of the video call is 1, if so, go to step S405, otherwise go to step S403.

步骤S405,通信终端100由视频数据传输状态切换为语音数据传输状态,所述通信终端100的声音由扬声器模式转换为听筒模式。Step S405, the communication terminal 100 switches from the video data transmission state to the voice data transmission state, and the voice of the communication terminal 100 is switched from the speaker mode to the earpiece mode.

步骤S406,继续获取通信终端与人耳的距离值。Step S406, continue to obtain the distance value between the communication terminal and the human ear.

步骤S407,判断所述距离值是否大于或等于预设阈值,且标志位为1,若是则执行步骤S402,且通信终端100的声音由听筒模式转换为扬声器模式,否则执行步骤S406。Step S407, judging whether the distance value is greater than or equal to a preset threshold and the flag bit is 1, if so, execute step S402, and switch the voice of the communication terminal 100 from earpiece mode to speaker mode, otherwise execute step S406.

综上所述,本发明通过预设一通信终端与人耳之间的距离阈值,且在通信终端开启视频通话后不断的检测并获取通信终端与人耳之间的距离值,若检测的距离值小于预设的距离阈值时,则控制通信终端的数据传输状态由视频数据传输状态切换到语音数据传输状态。更好的,若检测到的距离值大于或等于预设的阈值时,则控制通信终端由语音数据传输状态切换到视频数据传输状态。借此本发明不需要用户再额外操作即可实现通话方式的切换,节约了系统资源,提高用户体验。To sum up, the present invention presets a distance threshold between a communication terminal and the human ear, and continuously detects and acquires the distance value between the communication terminal and the human ear after the communication terminal starts a video call. If the detected distance When the value is less than the preset distance threshold, the data transmission state of the communication terminal is controlled to switch from the video data transmission state to the voice data transmission state. More preferably, if the detected distance value is greater than or equal to a preset threshold, the communication terminal is controlled to switch from the voice data transmission state to the video data transmission state. In this way, the present invention can realize the switching of the call mode without any additional operation by the user, which saves system resources and improves user experience.

当然,本发明还可有其它多种实施例,在不背离本发明精神及其实质的情况下,熟悉本领域的技术人员当可根据本发明作出各种相应的改变和变形,但这些相应的改变和变形都应属于本发明所附的权利要求的保护范围。Certainly, the present invention also can have other multiple embodiments, without departing from the spirit and essence of the present invention, those skilled in the art can make various corresponding changes and deformations according to the present invention, but these corresponding Changes and deformations should belong to the scope of protection of the appended claims of the present invention.

Claims (10)

1.一种通信终端通话方式的切换方法,其特征在于,所述方法包括:1. A method for switching communication terminal call modes, characterized in that the method comprises: 设置所述通信终端与人耳的距离阈值;Setting the distance threshold between the communication terminal and the human ear; 所述通信终端开始视频通话后,获取所述通信终端与人耳的距离值;After the communication terminal starts the video call, acquire the distance value between the communication terminal and the human ear; 判断所述距离值是否小于预设的距离阈值,若是,则将所述通信终端由视频数据传输状态切换为语音数据传输状态。Judging whether the distance value is smaller than a preset distance threshold, if so, switching the communication terminal from a video data transmission state to a voice data transmission state. 2.根据权利要求1所述的通信终端通话方式的切换方法,其特征在于,所述将所述通信终端由视频数据传输状态切换为语音数据传输状态步骤之后还包括:2. the switching method of communication terminal call mode according to claim 1, it is characterized in that, described communication terminal is switched to voice data transmission state step from video data transmission state and also comprises after: 获取所述通信终端与人耳的距离值;Acquiring the distance value between the communication terminal and the human ear; 判断所述距离值是否小于预设的距离阈值,若所述距离值不小于预设的距离阈值,则将所述通信终端由语音数据传输状态切换为视频数据传输状态。Judging whether the distance value is less than a preset distance threshold, if the distance value is not less than the preset distance threshold, switching the communication terminal from the voice data transmission state to the video data transmission state. 3.根据权利要求2所述的通信终端通话方式的切换方法,其特征在于,所述通信终端开始视频通话后,获取所述通信终端与人耳的距离值步骤包括:3. The switching method of communication terminal call mode according to claim 2, characterized in that, after the communication terminal starts the video call, the step of obtaining the distance value between the communication terminal and the human ear comprises: 所述通信终端开始视频通话后,将所述视频通话的标志位设为1。After the communication terminal starts the video call, it sets the flag bit of the video call to 1. 4.根据权利要求2所述的通信终端通话方式的切换方法,其特征在于,4. The switching method of communication terminal talking mode according to claim 2, is characterized in that, 所述通信终端由视频数据传输状态切换为语音数据传输状态后,所述通信终端的声音由扬声器模式转换为听筒模式;After the communication terminal is switched from the video data transmission state to the voice data transmission state, the sound of the communication terminal is converted from the speaker mode to the earpiece mode; 所述通信终端由语音数据传输状态切换为视频数据传输状态后,所述通信终端的声音由听筒模式转换为扬声器模式。After the communication terminal is switched from the voice data transmission state to the video data transmission state, the sound of the communication terminal is converted from the handset mode to the speaker mode. 5.根据权利要求1所述的通信终端通话方式的切换方法,其特征在于,所述通信终端通过红外探测传感器获取其与人耳之间的距离值。5 . The method for switching communication terminal communication modes according to claim 1 , wherein the communication terminal obtains the distance value between itself and the human ear through an infrared detection sensor. 6 . 6.一种通信终端,其特征在于,所述通信终端包括:6. A communication terminal, characterized in that the communication terminal comprises: 设置模块,用于设置所述通信终端与人耳的距离阈值;A setting module, configured to set the distance threshold between the communication terminal and the human ear; 距离获取模块,用于所述通信终端开始视频通话后,获取所述通信终端与人耳的距离值;The distance acquisition module is used to obtain the distance value between the communication terminal and the human ear after the communication terminal starts the video call; 判断模块,用于判断所述距离值是否小于预设的距离阈值,若是,则由交由切换模块处理。The judging module is used to judge whether the distance value is smaller than the preset distance threshold, and if so, hand it over to the switching module for processing. 切换模块,用于所述通信终端与人耳的距离值小于预设的距离阈值时,将所述通信终端由视频数据传输状态切换为语音数据传输状态。The switching module is used for switching the communication terminal from the video data transmission state to the voice data transmission state when the distance between the communication terminal and the human ear is less than a preset distance threshold. 7.根据权利要求6所述的通信终端,其特征在于,所述切换模块还用于所述距离值大于或等于所述预设的距离阈值时,将所述通信终端由语音数据传输状态切换为视频数据传输状态。7. The communication terminal according to claim 6, wherein the switching module is also used to switch the communication terminal from the voice data transmission state when the distance value is greater than or equal to the preset distance threshold Indicates the video data transmission status. 8.根据权利要求7所述的通信终端,其特征在于,所述通信终端还包括8. The communication terminal according to claim 7, characterized in that, the communication terminal further comprises 标志位模块,用于所述通信终端开始视频通话后,将所述视频通话的标志位设为1。The flag bit module is used to set the flag bit of the video call to 1 after the communication terminal starts the video call. 9.根据权利要求7所述的通信终端,其特征在于,所述切换模块包括语音切换子模块,用于所述通信终端由视频数据传输状态切换为语音数据传输状态后,将所述通信终端的声音由扬声器模式转换为听筒模式;或者9. The communication terminal according to claim 7, wherein the switching module includes a voice switching sub-module for switching the communication terminal from the video data transmission state to the voice data transmission state after the communication terminal the sound from the speaker mode to the earpiece mode; or 在所述通信终端由语音数据传输状态切换为视频数据传输状态后,将所述通信终端的声音由听筒模式转换为扬声器模式。After the communication terminal is switched from the voice data transmission state to the video data transmission state, the voice of the communication terminal is switched from the handset mode to the speaker mode. 10.根据权利要求6所述的通信终端,其特征在于,所述距离获取模块为红外探测距离传感器。10. The communication terminal according to claim 6, wherein the distance acquisition module is an infrared detection distance sensor.
CN2012104800187A 2012-11-22 2012-11-22 Communication terminal and switching method of call mode thereof Pending CN102984374A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012104800187A CN102984374A (en) 2012-11-22 2012-11-22 Communication terminal and switching method of call mode thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012104800187A CN102984374A (en) 2012-11-22 2012-11-22 Communication terminal and switching method of call mode thereof

Publications (1)

Publication Number Publication Date
CN102984374A true CN102984374A (en) 2013-03-20

Family

ID=47858101

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012104800187A Pending CN102984374A (en) 2012-11-22 2012-11-22 Communication terminal and switching method of call mode thereof

Country Status (1)

Country Link
CN (1) CN102984374A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104539871A (en) * 2014-12-22 2015-04-22 小米科技有限责任公司 Multimedia call method and device
CN104780337A (en) * 2015-04-15 2015-07-15 无锡华海天和信息科技有限公司 Method for automatically switching audio/video calling mode through distance sensing
CN104935863A (en) * 2014-03-19 2015-09-23 联想(北京)有限公司 Communication control method and electronic devices
CN105100368A (en) * 2014-04-21 2015-11-25 联想(北京)有限公司 Information processing method and information processing device
CN106375573A (en) * 2016-10-10 2017-02-01 广东小天才科技有限公司 Method and device for switching call mode
CN106888321A (en) * 2017-01-24 2017-06-23 瑞声科技(新加坡)有限公司 The method that communication apparatus switches silent mode
CN107948575A (en) * 2017-11-30 2018-04-20 深圳天珑无线科技有限公司 A kind of control method and device of call mode
WO2019056300A1 (en) * 2017-09-22 2019-03-28 深圳传音通讯有限公司 Adjustment system and method for automatically switching audio mode during call
CN110650253A (en) * 2019-08-15 2020-01-03 咪咕音乐有限公司 Self-adaptive playing method of polyphonic ringtone, terminal equipment, server and storage medium
CN112035050A (en) * 2020-09-10 2020-12-04 Oppo(重庆)智能科技有限公司 Control method, control device, storage medium and terminal device
WO2021057858A1 (en) * 2019-09-25 2021-04-01 深圳市万普拉斯科技有限公司 Method for answering incoming call in instant messaging application, mobile terminal and computer storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345962A (en) * 2008-08-15 2009-01-14 宇龙计算机通信科技(深圳)有限公司 Call mode switch control method, system and mobile terminal
US20100097440A1 (en) * 2008-10-21 2010-04-22 Samsung Electronics Co., Ltd. Communication mode switching method and apparatus for mobile terminal
CN102098483A (en) * 2010-12-17 2011-06-15 惠州Tcl移动通信有限公司 Mobile terminal and method and device for controlling answering of video call

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101345962A (en) * 2008-08-15 2009-01-14 宇龙计算机通信科技(深圳)有限公司 Call mode switch control method, system and mobile terminal
US20100097440A1 (en) * 2008-10-21 2010-04-22 Samsung Electronics Co., Ltd. Communication mode switching method and apparatus for mobile terminal
CN102098483A (en) * 2010-12-17 2011-06-15 惠州Tcl移动通信有限公司 Mobile terminal and method and device for controlling answering of video call

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104935863A (en) * 2014-03-19 2015-09-23 联想(北京)有限公司 Communication control method and electronic devices
CN105100368A (en) * 2014-04-21 2015-11-25 联想(北京)有限公司 Information processing method and information processing device
CN105100368B (en) * 2014-04-21 2018-11-09 联想(北京)有限公司 Information processing method and device
CN104539871A (en) * 2014-12-22 2015-04-22 小米科技有限责任公司 Multimedia call method and device
CN104780337A (en) * 2015-04-15 2015-07-15 无锡华海天和信息科技有限公司 Method for automatically switching audio/video calling mode through distance sensing
CN106375573A (en) * 2016-10-10 2017-02-01 广东小天才科技有限公司 Method and device for switching call mode
CN106375573B (en) * 2016-10-10 2020-07-10 广东小天才科技有限公司 A method and device for switching call modes
CN106888321A (en) * 2017-01-24 2017-06-23 瑞声科技(新加坡)有限公司 The method that communication apparatus switches silent mode
CN111386693A (en) * 2017-09-22 2020-07-07 深圳传音通讯有限公司 Adjusting system and method for automatically switching audio modes in call
WO2019056300A1 (en) * 2017-09-22 2019-03-28 深圳传音通讯有限公司 Adjustment system and method for automatically switching audio mode during call
CN107948575A (en) * 2017-11-30 2018-04-20 深圳天珑无线科技有限公司 A kind of control method and device of call mode
CN110650253A (en) * 2019-08-15 2020-01-03 咪咕音乐有限公司 Self-adaptive playing method of polyphonic ringtone, terminal equipment, server and storage medium
WO2021057858A1 (en) * 2019-09-25 2021-04-01 深圳市万普拉斯科技有限公司 Method for answering incoming call in instant messaging application, mobile terminal and computer storage medium
CN112035050A (en) * 2020-09-10 2020-12-04 Oppo(重庆)智能科技有限公司 Control method, control device, storage medium and terminal device

Similar Documents

Publication Publication Date Title
CN102984374A (en) Communication terminal and switching method of call mode thereof
CN105472126B (en) Call privacy control method and device and mobile terminal
CN106375573B (en) A method and device for switching call modes
CN102843464A (en) System and method utilizing distance sensor to adjust call audio output mode
WO2015117347A1 (en) Adjustment method and device for terminal scene mode
CN102158606A (en) Method for controlling peripheral environment volume of mobile terminal and mobile terminal
US10827455B1 (en) Method and apparatus for sending a notification to a short-range wireless communication audio output device
CN104065827A (en) Terminal voice mode switching method and apparatus and terminal
CN104683557A (en) Method and device for automatically switching call mode of mobile terminal
CN105260159B (en) A kind of audio frequency playing method and device
CN108432220B (en) Method and terminal for switching call mode
CN102158591A (en) Mobile terminal, and video call control method and device thereof
CN104636110A (en) Method and device for controlling volume
WO2017113581A1 (en) Method, device and system for controlling call
CN105516439A (en) Telephone answering method, telephone hanging up method, and terminal
EP2119203A1 (en) Battery saving selective screen control
CN104023117B (en) A kind of method of information processing and electronic equipment
CN110933710B (en) Voice communication control method and system
CN103685752A (en) Loudspeaker and earphone automatic switching method based on camera
EP2670135B1 (en) Videophone input apparatus utilizing video call control functions based on open and closed positions of cover part
CN104902084B (en) A kind of intelligent call method, apparatus and equipment
CN104394260A (en) Handheld call receiver volume adjusting method and device
CN108377298B (en) A method, device, mobile terminal and computer-readable storage medium for switching listening mode
CN107370883A (en) Method, device and mobile terminal for improving call effect
CN107872566A (en) A terminal call switching method, system and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130320