CN106506803A - Control method of mobile equipment and mobile equipment - Google Patents
Control method of mobile equipment and mobile equipment Download PDFInfo
- Publication number
- CN106506803A CN106506803A CN201610863569.XA CN201610863569A CN106506803A CN 106506803 A CN106506803 A CN 106506803A CN 201610863569 A CN201610863569 A CN 201610863569A CN 106506803 A CN106506803 A CN 106506803A
- Authority
- CN
- China
- Prior art keywords
- mobile device
- label
- camera
- pressure sensor
- microphone
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User 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)
Abstract
一种移动设备的控制方法及移动设备,该移动设备正面设有接近传感器,左侧设有第一压力传感器,右侧设有第二压力传感器,该移动设备上设有双麦克风,该移动设备内置有主板控制器,其中:主板控制器用于在移动设备与通话对方进行通话的过程中,通过接近传感器实时检测移动设备正面与人耳的距离;以及,判断距离是否小于或等于预设距离,如果是,通过第一压力传感器检测移动设备左侧承受的左侧压力值和通过第二压力传感器检测移动设备右侧承受的右侧压力值;判断左侧压力值和右侧压力值是否均大于预设压力值,如果是,控制移动设备关闭双麦克风降噪功能。能够让通话对方切身感受到用户当前所处环境的背景声音。
A method for controlling a mobile device and the mobile device. The mobile device is provided with a proximity sensor on the front, a first pressure sensor on the left side, and a second pressure sensor on the right side. The mobile device is provided with dual microphones. The mobile device Built-in motherboard controller, wherein: the motherboard controller is used to detect the distance between the front of the mobile device and the human ear in real time through the proximity sensor during the conversation between the mobile device and the other party; and to determine whether the distance is less than or equal to the preset distance, If so, detect the left pressure value on the left side of the mobile device through the first pressure sensor and the right pressure value on the right side of the mobile device through the second pressure sensor; determine whether the left pressure value and the right pressure value are greater than Preset the pressure value, if yes, control the mobile device to turn off the noise reduction function of the dual microphones. It can make the caller feel the background sound of the user's current environment.
Description
技术领域technical field
本发明涉及移动通信技术领域,尤其涉及一种移动设备的控制方法及移动设备。The present invention relates to the technical field of mobile communication, in particular to a method for controlling a mobile device and the mobile device.
背景技术Background technique
目前,市面上的很多移动设备(如移动手机)都标配了双麦克风(也称为主副麦克风)降噪功能。其中,利用移动设备标配的双麦克风降噪功能,在通话过程中可以实现降低环境噪声,以及提高语音清晰度的语音通话效果。然而,当用户在某一些场景下,例如,当用户在演唱会现场等场景下,可能会希望通话对方也能切身感受一下用户当前所处环境的背景声音,如果仍利用移动设备标配的双麦克风降噪功能将背景声音当作环境噪声进行降噪处理,那么将无法让通话对方切身感受到用户当前所处环境的背景声音。At present, many mobile devices (such as mobile phones) on the market are equipped with a noise reduction function of dual microphones (also called primary and secondary microphones) as standard. Among them, using the dual-microphone noise reduction function that is standard on mobile devices, it can reduce environmental noise and improve voice clarity during calls. However, when the user is in certain scenarios, for example, when the user is at the scene of a concert, etc., he may hope that the other party can also experience the background sound of the user's current environment. The microphone noise reduction function treats the background sound as environmental noise for noise reduction processing, so it will not be possible for the other party to feel the background sound of the user's current environment.
发明内容Contents of the invention
本发明实施例公开了一种移动设备的控制方法及移动设备,能够让通话对方切身感受到用户当前所处环境的背景声音。The embodiment of the present invention discloses a control method of a mobile device and the mobile device, which can make the calling party personally feel the background sound of the environment where the user is currently located.
本发明实施例第一方面公开一种移动设备,所述移动设备正面设有接近传感器,所述移动设备左侧设有第一压力传感器以及右侧设有第二压力传感器,所述移动设备上设有双麦克风,所述移动设备内置有主板控制器,其中:The first aspect of the embodiment of the present invention discloses a mobile device, the front of the mobile device is provided with a proximity sensor, the left side of the mobile device is provided with a first pressure sensor and the right side is provided with a second pressure sensor, and the mobile device is equipped with a Equipped with dual microphones, the mobile device has a built-in motherboard controller, wherein:
所述主板控制器,用于在所述移动设备与通话对方进行通话的过程中,通过所述接近传感器实时检测所述移动设备正面与人耳的距离;The main board controller is used to detect the distance between the front of the mobile device and the human ear in real time through the proximity sensor during the process of the mobile device talking with the other party;
所述主板控制器,还用于判断所述距离是否小于或等于所述预设距离,如果是,通过所述第一压力传感器检测所述移动设备左侧承受的左侧压力值和通过所述第二压力传感器检测所述移动设备右侧承受的右侧压力值;The motherboard controller is also used to judge whether the distance is less than or equal to the preset distance, and if so, detect the left side pressure value on the left side of the mobile device through the first pressure sensor and pass the The second pressure sensor detects the right side pressure value on the right side of the mobile device;
所述主板控制器,还用于判断所述左侧压力值和所述右侧压力值是否均大于预设压力值,如果是,控制所述移动设备关闭双麦克风降噪功能。The motherboard controller is also used to judge whether the left pressure value and the right pressure value are both greater than a preset pressure value, and if so, control the mobile device to turn off the dual-microphone noise reduction function.
作为一种可选的实施方式,在本发明实施例第一方面中:As an optional implementation manner, in the first aspect of the embodiment of the present invention:
所述主板控制器,还用于以所述第一压力传感器检测到的所述左侧压力值为依据,从预设的压力值与音量值的对应关系中确定出所述左侧压力值对应的第一目标音量值;以及,以所述第一压力传感器的标签为依据,从所述预设的压力传感器的标签与麦克风的标签的对应关系中确定出所述第一压力传感器的标签对应的第一麦克风的标签;以及,以所述第一压力传感器的标签对应的第一麦克风的标签为依据,从所述双麦克风中确定出所述第一麦克风的标签所属的第一麦克风,控制所述双麦克风中的第一麦克风的音量值调整至所述第一目标音量值;其中,所述左侧压力值与所述第一目标音量值成正比例关系;The mainboard controller is further configured to determine the correspondence of the left pressure value from the preset correspondence between the pressure value and the volume value based on the left pressure value detected by the first pressure sensor. and, based on the label of the first pressure sensor, determine the label correspondence of the first pressure sensor from the preset correspondence between the label of the pressure sensor and the label of the microphone the label of the first microphone; and, based on the label of the first microphone corresponding to the label of the first pressure sensor, determine the first microphone to which the label of the first microphone belongs from the two microphones, and control The volume value of the first microphone in the dual microphones is adjusted to the first target volume value; wherein, the left pressure value is proportional to the first target volume value;
以及,还用于以所述第二压力传感器检测到的所述右侧压力值为依据,从所述预设的压力值与音量值的对应关系中确定出所述右侧压力值对应的第二目标音量值;以及,以所述第二压力传感器的标签为依据,从所述预设的压力传感器的标签与麦克风的标签的对应关系中确定出所述第二压力传感器的标签对应的第二麦克风的标签;以及,以所述第二压力传感器的标签对应的第二麦克风的标签为依据,从所述双麦克风中确定出所述第二麦克风的标签所属的第二麦克风,控制所述双麦克风中的第二麦克风的音量值调整至所述第二目标音量值;其中,所述右侧压力值与所述第二目标音量值成正比例关系。And, based on the right pressure value detected by the second pressure sensor, determine the first pressure value corresponding to the right pressure value from the preset correspondence relationship between the pressure value and the volume value. Two target volume values; and, based on the label of the second pressure sensor, determine the first corresponding to the label of the second pressure sensor from the preset correspondence between the label of the pressure sensor and the label of the microphone The label of the second microphone; and, based on the label of the second microphone corresponding to the label of the second pressure sensor, determine the second microphone to which the label of the second microphone belongs from the two microphones, and control the The volume value of the second microphone in the dual microphones is adjusted to the second target volume value; wherein, the right pressure value is proportional to the second target volume value.
作为一种可选的实施方式,在本发明实施例第一方面中:As an optional implementation manner, in the first aspect of the embodiment of the present invention:
所述主板控制器,还用于在控制所述双麦克风中的第一麦克风的音量值调整至所述第一目标音量值,以及在控制所述双麦克风中的第二麦克风的音量值调整至所述第二目标音量值之后,将所述左侧压力值与所述右侧压力值进行对比,若对比结果为所述左侧压力值超过所述右侧压力值,以所述第一压力传感器的标签为依据,从预设的压力传感器的标签与摄像头的标签的对应关系中确定出所述移动设备设置的双摄像头中所述第一压力传感器的标签对应的第一摄像头的标签;控制第一摄像头的标签所属的第一摄像头启动视频采集工作;以及,将所述第一摄像头采集到的视频传输给所述通话对方;The motherboard controller is also used to adjust the volume value of the first microphone in the dual microphones to the first target volume value, and adjust the volume value of the second microphone in the dual microphones to After the second target volume value, compare the left pressure value with the right pressure value, if the comparison result is that the left pressure value exceeds the right pressure value, use the first pressure value Based on the label of the sensor, the label of the first camera corresponding to the label of the first pressure sensor in the dual cameras set by the mobile device is determined from the preset correspondence between the label of the pressure sensor and the label of the camera; control The first camera to which the label of the first camera belongs starts the video collection work; and, transmits the video collected by the first camera to the calling party;
或者,若对比结果为所述左侧压力值未超过所述右侧压力值,所述主板控制器,还用于以所述第二压力传感器的标签为依据,从所述预设的压力传感器的标签与摄像头的标签的对应关系中确定出所述移动设备设置的双摄像头中所述第二压力传感器的标签对应的第二摄像头的标签;控制第二摄像头的标签所属的第二摄像头启动视频采集工作;以及,将所述第二摄像头采集到的视频传输给所述通话对方。Or, if the result of the comparison is that the left pressure value does not exceed the right pressure value, the main board controller is further configured to select from the preset pressure sensor based on the label of the second pressure sensor The label of the second camera corresponding to the label of the second pressure sensor in the dual camera set by the mobile device is determined in the corresponding relationship between the label of the camera and the label of the camera; the second camera to which the label of the second camera belongs is controlled to start the video collecting work; and, transmitting the video collected by the second camera to the calling party.
作为一种可选的实施方式,在本发明实施例第一方面中:As an optional implementation manner, in the first aspect of the embodiment of the present invention:
所述第一摄像头为所述移动设备设置的双摄像头中的后摄像头,而所述第二摄像头为所述移动设备设置的双摄像头中的前摄像头。The first camera is a rear camera in the dual cameras set on the mobile device, and the second camera is a front camera in the dual cameras set on the mobile device.
作为一种可选的实施方式,在本发明实施例第一方面中:As an optional implementation manner, in the first aspect of the embodiment of the present invention:
所述主板控制器将所述第一摄像头采集到的视频传输给所述通话对方的方式具体为:The manner in which the motherboard controller transmits the video captured by the first camera to the calling party is as follows:
所述主板控制器通过所述移动设备内置的定位模块获取所述移动设备的即时位置;The main board controller obtains the instant location of the mobile device through the built-in positioning module of the mobile device;
所述主板控制器将所述移动设备的即时位置加载至所述第一摄像头采集到的视频中传输给所述通话对方;The motherboard controller loads the real-time location of the mobile device into the video captured by the first camera and transmits it to the calling party;
所述主板控制器将所述第二摄像头采集到的视频传输给所述通话对方的方式具体为:The manner in which the mainboard controller transmits the video collected by the second camera to the calling party is as follows:
所述主板控制器通过所述移动设备内置的所述定位模块获取所述移动设备的即时位置;The main board controller obtains the instant location of the mobile device through the positioning module built in the mobile device;
所述主板控制器将所述移动设备的即时位置加载至所述第二摄像头采集到的视频中传输给所述通话对方。The mainboard controller loads the real-time location of the mobile device into the video captured by the second camera and transmits it to the calling party.
本发明实施例第第二方面公开一种移动设备的控制方法,所述方法包括:The second aspect of the embodiments of the present invention discloses a method for controlling a mobile device, the method including:
在所述移动设备与通话对方进行通话的过程中,通过设在所述移动设备正面的接近传感器实时检测所述移动设备正面与人耳的距离;During the conversation between the mobile device and the other party, the distance between the front of the mobile device and the human ear is detected in real time by a proximity sensor arranged on the front of the mobile device;
判断所述距离是否小于或等于所述预设距离,如果是,通过设置所述移动设备左侧的第一压力传感器检测所述移动设备左侧承受的左侧压力值和通过设置所述移动设备右侧的第二压力传感器检测所述移动设备右侧承受的右侧压力值;Judging whether the distance is less than or equal to the preset distance, if so, detecting the left pressure value on the left side of the mobile device by setting the first pressure sensor on the left side of the mobile device and by setting the first pressure sensor on the left side of the mobile device The second pressure sensor on the right side detects the right side pressure value on the right side of the mobile device;
判断所述左侧压力值和所述右侧压力值是否均大于预设压力值,如果是,控制所述移动设备关闭双麦克风降噪功能。Judging whether the left pressure value and the right pressure value are both greater than a preset pressure value, and if yes, controlling the mobile device to turn off the dual-microphone noise reduction function.
作为一种可选的实施方式,在本发明实施例第二方面中,在控制所述移动设备关闭双麦克风降噪功能之后,所述方法还包括:As an optional implementation manner, in the second aspect of the embodiment of the present invention, after controlling the mobile device to turn off the dual-microphone noise reduction function, the method further includes:
以所述第一压力传感器检测到的所述左侧压力值为依据,从预设的压力值与音量值的对应关系中确定出所述左侧压力值对应的第一目标音量值;以及,以所述第一压力传感器的标签为依据,从预设的压力传感器的标签与麦克风的标签的对应关系中确定出所述第一压力传感器的标签对应的第一麦克风的标签;以及,以所述第一压力传感器的标签对应的第一麦克风的标签为依据,从所述双麦克风中确定出所述第一麦克风的标签所属的第一麦克风,控制所述双麦克风中的第一麦克风的音量值调整至所述第一目标音量值;其中,所述左侧压力值与所述第一目标音量值成正比例关系;Based on the left pressure value detected by the first pressure sensor, a first target volume value corresponding to the left pressure value is determined from a preset correspondence relationship between a pressure value and a volume value; and, Based on the label of the first pressure sensor, determine the label of the first microphone corresponding to the label of the first pressure sensor from the preset correspondence between the label of the pressure sensor and the label of the microphone; and, based on the Based on the label of the first microphone corresponding to the label of the first pressure sensor, determine the first microphone to which the label of the first microphone belongs from the two microphones, and control the volume of the first microphone in the two microphones The value is adjusted to the first target volume value; wherein, the left pressure value is proportional to the first target volume value;
以及,以所述第二压力传感器检测到的所述右侧压力值为依据,从所述预设的压力值与音量值的对应关系中确定出所述右侧压力值对应的第二目标音量值;以及,以所述第二压力传感器的标签为依据,从所述预设的压力传感器的标签与麦克风的标签的对应关系中确定出所述第二压力传感器的标签对应的第二麦克风的标签;以及,以所述第二压力传感器的标签对应的第二麦克风的标签为依据,从所述双麦克风中确定出所述第二麦克风的标签所属的第二麦克风,控制所述双麦克风中的第二麦克风的音量值调整至所述第二目标音量值;其中,所述右侧压力值与所述第二目标音量值成正比例关系。And, based on the right pressure value detected by the second pressure sensor, the second target volume corresponding to the right pressure value is determined from the preset correspondence between the pressure value and the volume value value; and, based on the label of the second pressure sensor, determine from the preset correspondence between the label of the pressure sensor and the label of the microphone, the value of the second microphone corresponding to the label of the second pressure sensor label; and, based on the label of the second microphone corresponding to the label of the second pressure sensor, determine from the dual microphones the second microphone to which the label of the second microphone belongs, and control the The volume value of the second microphone is adjusted to the second target volume value; wherein, the right pressure value is proportional to the second target volume value.
作为一种可选的实施方式,在本发明实施例第二方面中,在控制所述双麦克风中的第一麦克风的音量值调整至所述第一目标音量值,以及在控制所述双麦克风中的第二麦克风的音量值调整至所述第二目标音量值之后,所述方法还包括:As an optional implementation manner, in the second aspect of the embodiment of the present invention, the volume value of the first microphone in the two microphones is controlled to be adjusted to the first target volume value, and the volume value of the first microphone in the two microphones is controlled to After the volume value of the second microphone is adjusted to the second target volume value, the method further includes:
将所述左侧压力值与所述右侧压力值进行对比,若对比结果为所述左侧压力值超过所述右侧压力值,以所述第一压力传感器的标签为依据,从预设的压力传感器的标签与摄像头的标签的对应关系中确定出所述移动设备设置的双摄像头中所述第一压力传感器的标签对应的第一摄像头的标签;控制第一摄像头的标签所属的第一摄像头启动视频采集工作;以及,将所述第一摄像头采集到的视频传输给所述通话对方;Comparing the left pressure value with the right pressure value, if the result of the comparison is that the left pressure value exceeds the right pressure value, based on the label of the first pressure sensor, from the preset The label of the first camera corresponding to the label of the first pressure sensor in the dual cameras set by the mobile device is determined from the corresponding relationship between the label of the pressure sensor and the label of the camera; the first camera to which the label of the control first camera belongs The camera starts the video collection work; and, transmits the video collected by the first camera to the calling party;
或者,若对比结果为所述左侧压力值未超过所述右侧压力值,以所述第二压力传感器的标签为依据,从所述预设的压力传感器的标签与摄像头的标签的对应关系中确定出所述移动设备设置的双摄像头中所述第二压力传感器的标签对应的第二摄像头的标签;控制第二摄像头的标签所属的第二摄像头启动视频采集工作;以及,将所述第二摄像头采集到的视频传输给所述通话对方。Or, if the comparison result is that the pressure value on the left side does not exceed the pressure value on the right side, based on the label of the second pressure sensor, from the corresponding relationship between the label of the preset pressure sensor and the label of the camera Determine the label of the second camera corresponding to the label of the second pressure sensor in the dual cameras set by the mobile device; control the second camera to which the label of the second camera belongs to start video acquisition; and, set the first The video collected by the two cameras is transmitted to the calling party.
作为一种可选的实施方式,在本发明实施例第二方面中,所述第一摄像头为所述移动设备设置的双摄像头中的后摄像头,而所述第二摄像头为所述移动设备设置的双摄像头中的前摄像头。As an optional implementation manner, in the second aspect of the embodiment of the present invention, the first camera is the rear camera in the dual camera set on the mobile device, and the second camera is the rear camera set on the mobile device The front camera of the dual camera.
作为一种可选的实施方式,在本发明实施例第二方面中,所述将所述第一摄像头采集到的视频传输给所述通话对方,包括:As an optional implementation manner, in the second aspect of the embodiments of the present invention, the transmitting the video captured by the first camera to the calling party includes:
通过所述移动设备内置的定位模块获取所述移动设备的即时位置;Obtaining the instant location of the mobile device through a built-in positioning module of the mobile device;
将所述移动设备的即时位置加载至所述第一摄像头采集到的视频中传输给所述通话对方;Loading the instant location of the mobile device into the video captured by the first camera and transmitting it to the calling party;
所述将所述第二摄像头采集到的视频传输给所述通话对方,包括:The transmitting the video captured by the second camera to the calling party includes:
通过所述移动设备内置的所述定位模块获取所述移动设备的即时位置;将所述移动设备的即时位置加载至所述第二摄像头采集到的视频中传输给所述通话对方。Obtain the instant location of the mobile device through the built-in positioning module of the mobile device; load the instant location of the mobile device into the video captured by the second camera and transmit it to the calling party.
与现有技术相比,本发明实施例具备以下有益效果:Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
本发明实施例中,在移动设备与通话对方进行通话的过程中,移动设备可以通过设在其正面的接近传感器实时检测其正面与人耳的距离,如果该距离小于或等于预设距离,说明此时移动设备已经离开人耳;进一步地,移动设备可以设在左侧的第一压力传感器检测其左侧承受的左侧压力值和通过设在右侧的第二压力传感器检测其右侧承受的右侧压力值,并且判断出左侧压力值和右侧压力值均大于预设压力值时,说明用户需要关闭双麦克风降噪功能,此时移动设备可以关闭双麦克风降噪功能。实施本发明实施例,当用户在演唱会现场等场景下,可以便捷地控制移动设备关闭其标配的双麦克风降噪功,从而使得移动设备无法利用其标配的双麦克风降噪功能将当前所处环境的背景声音当作环境噪声进行降噪处理,从而可以让通话对方切身感受到用户当前所处环境的背景声音。In the embodiment of the present invention, during the conversation between the mobile device and the other party, the mobile device can detect the distance between the front of the mobile device and the human ear in real time through the proximity sensor installed on the front of the mobile device. If the distance is less than or equal to the preset distance, it means At this time, the mobile device has left the human ear; further, the mobile device can detect the left pressure value on the left side by the first pressure sensor on the left side of the mobile device and detect the pressure on the right side by the second pressure sensor on the right side. When it is judged that both the left pressure value and the right pressure value are greater than the preset pressure value, it means that the user needs to turn off the dual-microphone noise reduction function. At this time, the mobile device can turn off the dual-microphone noise reduction function. Implementing the embodiment of the present invention, when the user is in a scene such as a concert, he can conveniently control the mobile device to turn off its standard dual-microphone noise reduction function, so that the mobile device cannot use its standard dual-microphone noise reduction function to turn off the current The background sound of the environment is treated as the environment noise for noise reduction processing, so that the caller can personally feel the background sound of the user's current environment.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without making creative efforts.
图1是本发明实施例公开的一种移动设备的结构示意图;FIG. 1 is a schematic structural diagram of a mobile device disclosed in an embodiment of the present invention;
图2是本发明实施例公开的另一种移动设备的结构示意图;Fig. 2 is a schematic structural diagram of another mobile device disclosed in an embodiment of the present invention;
图3是本发明实施例公开的一种移动设备的控制方法的流程示意图。Fig. 3 is a schematic flowchart of a method for controlling a mobile device disclosed in an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
本发明实施例公开了一种移动设备的控制方法及移动设备,能够让通话对方切身感受到用户当前所处环境的背景声音。以下进行结合附图进行详细描述。The embodiment of the present invention discloses a control method of a mobile device and the mobile device, which can make the calling party personally feel the background sound of the environment where the user is currently located. A detailed description will be given below in conjunction with the accompanying drawings.
实施例一Embodiment one
请参阅图1,图1是本发明实施例公开的一种移动设备的结构示意图。其中,图1所示的移动设备可以是移动手机、平板电脑等具备通信能力的移动设备,本发明实施例不作限定。Please refer to FIG. 1 . FIG. 1 is a schematic structural diagram of a mobile device disclosed in an embodiment of the present invention. Wherein, the mobile device shown in FIG. 1 may be a mobile device capable of communication, such as a mobile phone and a tablet computer, which is not limited in this embodiment of the present invention.
如图1所示,移动设备正面设有接近传感器101,移动设备左侧设有第一压力传感器102,移动设备右侧设有第二压力传感器103,移动设备上设有双麦克风,其中,双麦克风可以包括第一麦克风104和第二麦克风105,第一麦克风104可以位于移动设备的顶部,而第二麦克风105可以位于移动设备的底部;移动设备内置有主板控制器100,其中,主板控制器100分别与接近传感器101、第一压力传感器102、第二压力传感器103、第一麦克风104以及第二麦克风105电性连接,其中:As shown in Figure 1, a proximity sensor 101 is provided on the front of the mobile device, a first pressure sensor 102 is provided on the left side of the mobile device, a second pressure sensor 103 is provided on the right side of the mobile device, and dual microphones are provided on the mobile device, wherein the dual The microphone may include a first microphone 104 and a second microphone 105, the first microphone 104 may be located at the top of the mobile device, and the second microphone 105 may be located at the bottom of the mobile device; the mobile device is built with a motherboard controller 100, wherein the motherboard controller 100 is electrically connected to the proximity sensor 101, the first pressure sensor 102, the second pressure sensor 103, the first microphone 104 and the second microphone 105, wherein:
主板控制器100,用于在移动设备与通话对方进行通话的过程中,通过接近传感器101实时检测移动设备正面与人耳的距离;The main board controller 100 is used to detect the distance between the front of the mobile device and the human ear in real time through the proximity sensor 101 during the conversation between the mobile device and the other party;
主板控制器100,还用于判断该距离是否小于或等于预设距离,如果是,通过第一压力传感器102检测移动设备左侧承受的左侧压力值和通过第二压力传感器103检测移动设备右侧承受的右侧压力值;The motherboard controller 100 is also used to judge whether the distance is less than or equal to the preset distance, and if so, detect the left pressure value on the left side of the mobile device through the first pressure sensor 102 and detect the right side of the mobile device through the second pressure sensor 103. The right pressure value on the side;
主板控制器100,还用于判断左侧压力值和右侧压力值是否均大于预设压力值,如果是,控制移动设备关闭双麦克风降噪功能。The motherboard controller 100 is also used to judge whether the left pressure value and the right pressure value are both greater than the preset pressure value, and if so, control the mobile device to turn off the dual-microphone noise reduction function.
如图1所示,移动设备还可以包括:As shown in Figure 1, mobile devices can also include:
存储模块106、通信模块107、显示模块108、耳机接口模块109、输入模块110、数据/充电接口模块111以及双扬声器a和b,其中,主板控制器100分别与存储模块106、通信模块106、显示模块108、耳机接口模块109、输入模块110、数据/充电接口模块111以及双扬声器a和b电性连接。Storage module 106, communication module 107, display module 108, headphone interface module 109, input module 110, data/charging interface module 111 and double speaker a and b, wherein, mainboard controller 100 is connected with storage module 106, communication module 106, The display module 108 , the earphone interface module 109 , the input module 110 , the data/charging interface module 111 and the two speakers a and b are electrically connected.
其中,存储模块106作为一种存储介质,可以存储移动设备的操作所需的各种程序和数据。例如,存储模块106可存储用于操作移动设备的操作系统、各种应用程序以及数据。其中,数据可以包括各种数据的对应关系,例如预设的压力值与音量值的对应关系、预设的压力传感器的标签与麦克风的标签的对应关系、以及预设的压力传感器的标签与摄像头的标签的对应关系等等。Wherein, the storage module 106, as a storage medium, can store various programs and data required for the operation of the mobile device. For example, the storage module 106 can store an operating system, various application programs, and data for operating the mobile device. Wherein, the data may include the corresponding relationship of various data, such as the corresponding relationship between the preset pressure value and the volume value, the corresponding relationship between the preset pressure sensor label and the microphone label, and the preset pressure sensor label and camera The corresponding relationship of the labels and so on.
其中,通信模块107可以支持移动设备的通信功能。通信模块107可以支持移动设备的各种通信方案,诸如移动通信和无线短距离通信。因此,当移动设备被设计为支持多个通信方案时,通信模块107可以包括支持各个通信方案的多个通信模块。例如,为了支持移动通信,通信模块107可以包括基于2G、3G或4G移动通信的至少一个通信模块。为了支持无线短距离通信,通信模块107可以包括蓝牙模块、近场通信(NFC)模块和射频识别(RFID)模块中的至少一个模块。Wherein, the communication module 107 can support the communication function of the mobile device. The communication module 107 can support various communication schemes of the mobile device, such as mobile communication and wireless short-range communication. Therefore, when the mobile device is designed to support multiple communication schemes, the communication module 107 may include multiple communication modules supporting the respective communication schemes. For example, in order to support mobile communication, the communication module 107 may include at least one communication module based on 2G, 3G or 4G mobile communication. In order to support wireless short-distance communication, the communication module 107 may include at least one of a Bluetooth module, a Near Field Communication (NFC) module, and a Radio Frequency Identification (RFID) module.
其中,显示模块108可输出移动设备的操作所需的各种屏幕。例如,显示模块108可根据移动设备的操作而输出待机屏幕、菜单屏幕等。显示模块108可根据用户请求或预设安排信息输出与移动设备的功能(诸如,呼叫处理、视频呼叫处理、电话簿处理、音频文件播放、广播接收、视频播放)相关的各种屏幕。Among them, the display module 108 can output various screens required for the operation of the mobile device. For example, the display module 108 can output an idle screen, a menu screen, etc. according to the operation of the mobile device. The display module 108 may output various screens related to functions of the mobile device such as call handling, video call handling, phonebook handling, audio file playback, broadcast reception, video playback according to user requests or preset schedule information.
其中,耳机接口模块109可以包括有线耳机接口和/或无线耳机接口,本发明实施例不作限定。Wherein, the earphone interface module 109 may include a wired earphone interface and/or a wireless earphone interface, which is not limited in this embodiment of the present invention.
其中,输入模块110被配置为产生移动设备的操作所必需的输入信号。输入模块110可包括诸如主键、侧键、电源键等的物理键。当显示模块110具有触摸屏特征时,输入模块110可包括在显示模块108上输出的虚拟键。Among them, the input module 110 is configured to generate input signals necessary for the operation of the mobile device. The input module 110 may include physical keys such as a main key, a side key, a power key, and the like. When the display module 110 has touch screen features, the input module 110 may include virtual keys output on the display module 108 .
其中,数据/充电接口模块111可以包括标准USB接口、微型USB接口等。Wherein, the data/charging interface module 111 may include a standard USB interface, a micro USB interface and the like.
其中,实施图1所描述的移动设备,当用户在演唱会现场等场景下,可以便捷地控制移动设备关闭其标配的双麦克风降噪功,从而使得移动设备无法利用其标配的双麦克风降噪功能将当前所处环境的背景声音当作环境噪声进行降噪处理,从而可以让通话对方切身感受到用户当前所处环境的背景声音。Among them, implementing the mobile device described in Figure 1, when the user is in a scene such as a concert, he can conveniently control the mobile device to turn off its standard dual-microphone noise reduction function, so that the mobile device cannot use its standard dual-microphone The noise reduction function treats the background sound of the current environment as environmental noise for noise reduction processing, so that the caller can personally feel the background sound of the user's current environment.
实施例二Embodiment two
本发明实施例中,可以对图1所描述的移动设备的功能进一步优化。其中,优化如下:In the embodiment of the present invention, the functions of the mobile device described in FIG. 1 can be further optimized. Among them, the optimization is as follows:
主板控制器100,还用于以第一压力传感器102检测到的左侧压力值为依据,从存储模块106存储的预设的压力值与音量值的对应关系中确定出左侧压力值对应的第一目标音量值;以及,以第一压力传感器的标签为依据,从存储模块106存储预设的压力传感器的标签与麦克风的标签的对应关系中确定出第一压力传感器的标签对应的第一麦克风的标签;以及,以第一压力传感器102的标签对应的第一麦克风的标签为依据,从双麦克风中确定出第一麦克风的标签所属的第一麦克风104,并且控制双麦克风中的第一麦克风104的音量值调整至第一目标音量值;其中,左侧压力值与第一目标音量值成正比例关系;The motherboard controller 100 is further configured to determine the left side pressure value corresponding to the left side pressure value from the preset correspondence relationship between the pressure value and the volume value stored in the storage module 106 based on the left side pressure value detected by the first pressure sensor 102. The first target volume value; and, based on the label of the first pressure sensor, determine the first volume corresponding to the label of the first pressure sensor from the corresponding relationship between the label of the pressure sensor and the label of the microphone stored in the storage module 106. the label of the microphone; and, based on the label of the first microphone corresponding to the label of the first pressure sensor 102, determine the first microphone 104 to which the label of the first microphone belongs from the two microphones, and control the first of the two microphones The volume value of the microphone 104 is adjusted to a first target volume value; wherein, the pressure value on the left side is proportional to the first target volume value;
以及,主板控制器100还用于以第二压力传感器103检测到的右侧压力值为依据,从存储模块106存储的预设的压力值与音量值的对应关系中确定出右侧压力值对应的第二目标音量值;以及,以第二压力传感器103的标签为依据,从存储模块106存储的预设的压力传感器的标签与麦克风的标签的对应关系中确定出第二压力传感器103的标签对应的第二麦克风的标签;以及,以第二压力传感器103的标签对应的第二麦克风的标签为依据,从双麦克风中确定出第二麦克风的标签所属的第二麦克风105,并控制双麦克风中的第二麦克风150的音量值调整至第二目标音量值;其中,右侧压力值与第二目标音量值成正比例关系。And, the motherboard controller 100 is further configured to determine the right pressure value corresponding to and, based on the label of the second pressure sensor 103, determine the label of the second pressure sensor 103 from the corresponding relationship between the label of the pressure sensor and the label of the microphone stored in the storage module 106 The label of the corresponding second microphone; and, based on the label of the second microphone corresponding to the label of the second pressure sensor 103, determine the second microphone 105 to which the label of the second microphone belongs from the dual microphones, and control the dual microphone The volume value of the second microphone 150 is adjusted to the second target volume value; wherein, the right pressure value is proportional to the second target volume value.
本发明实施例中,由于移动设备关闭双麦克风降噪功能会带来部分功耗的下降,而降下来的部分功耗可以按照第一压力传感器102检测到的左侧压力值以及第二压力传感器103检测到的右侧压力值正比例地调整第一麦克风104和第二麦克风105的音量值,从而可以实现在不过度增加移动设备的功耗的前提下,当第一压力传感器102检测到的左侧压力值以及第二压力传感器103检测到的右侧压力值越大时,第一麦克风104和第二麦克风150的音量值的也就越大,相应地通话对方能收听到的用户当前所处环境的背景声音也就越大,从而使得通话对方可以更加切身的感受到用户当前所处环境的背景声音。In the embodiment of the present invention, since the mobile device turns off the dual-microphone noise reduction function, part of the power consumption will be reduced, and the reduced part of the power consumption can be based on the left pressure value detected by the first pressure sensor 102 and the left pressure value detected by the second pressure sensor 102. The right pressure value detected by 103 adjusts the volume values of the first microphone 104 and the second microphone 105 proportionally, so that when the left pressure detected by the first pressure sensor 102 When the side pressure value and the right side pressure value detected by the second pressure sensor 103 are greater, the volume values of the first microphone 104 and the second microphone 150 are also greater, and correspondingly the call partner can hear the user's current location. The background sound of the environment is also louder, so that the other party can feel the background sound of the user's current environment more personally.
实施例三Embodiment Three
请参阅图2,图2是本发明实施例公开的另一种移动设备的结构示意图。其中,图2所示的移动设备是由图1所示的移动设备进行优化得到的。与图1所示的移动设备相比,在图2所示的移动设备中,该移动设备可以进一步包括双摄像头,双摄像头包括:第一摄像头112和第二摄像头113,其中,主板控制器100分别与第一摄像头112和第二摄像头113电性连接,第一摄像头112可以为移动设备设置的双摄像头中的后摄像头,而第二摄像头113可以为移动设备设置的双摄像头中的前摄像头,本发明实施例不作限定。Please refer to FIG. 2 . FIG. 2 is a schematic structural diagram of another mobile device disclosed in an embodiment of the present invention. Wherein, the mobile device shown in FIG. 2 is obtained by optimizing the mobile device shown in FIG. 1 . Compared with the mobile device shown in FIG. 1, in the mobile device shown in FIG. Respectively electrically connected with the first camera 112 and the second camera 113, the first camera 112 can be the rear camera in the dual cameras set by the mobile device, and the second camera 113 can be the front camera in the dual cameras set by the mobile device, The embodiments of the present invention are not limited.
作为一种可选的实施方式,在图3所示的移动设备中:As an optional implementation manner, in the mobile device shown in Figure 3:
主板控制器100,还用于在控制双麦克风中的第一麦克风104的音量值调整至第一目标音量值,以及在控制双麦克风中的第二麦克风105的音量值调整至第二目标音量值之后,将左侧压力值与右侧压力值进行对比,若对比结果为左侧压力值超过右侧压力值,以第一压力传感器的标签为依据,从存储模块106存储的预设的压力传感器的标签与摄像头的标签的对应关系中确定出移动设备设置的双摄像头中第一压力传感器102的标签对应的第一摄像头112的标签;以及,控制第一摄像头112的标签所属的第一摄像头112启动视频采集工作;以及,将第一摄像头采集到的视频传输(通过通信模块107)给通话对方;The motherboard controller 100 is also used to adjust the volume value of the first microphone 104 in the dual microphones to a first target volume value, and to adjust the volume value of the second microphone 105 in the dual microphones to a second target volume value After that, compare the pressure value on the left side with the pressure value on the right side. If the result of the comparison is that the pressure value on the left side exceeds the pressure value on the right side, based on the label of the first pressure sensor, the preset pressure sensor stored in the storage module 106 Determine the label of the first camera 112 corresponding to the label of the first pressure sensor 102 in the dual cameras set by the mobile device in the corresponding relationship between the label of the mobile device and the label of the camera; and control the first camera 112 to which the label of the first camera 112 belongs Start the video collection work; And, the video transmission (through the communication module 107) that the first camera collects is given to the calling party;
或者,若对比结果为左侧压力值未超过右侧压力值,主板控制器100还用于以第二压力传感器103的标签为依据,从存储模块106存储的预设的压力传感器的标签与摄像头的标签的对应关系中确定出移动设备设置的双摄像头中第二压力传感器103的标签对应的第二摄像头113的标签;以及,控制第二摄像头113的标签所属的第二摄像头113启动视频采集工作;以及,将第二摄像头113采集到的视频传输给通话对方。Or, if the comparison result shows that the pressure value on the left side does not exceed the pressure value on the right side, the motherboard controller 100 is also configured to use the label of the second pressure sensor 103 as a basis, from the label of the preset pressure sensor stored in the storage module 106 and the camera Determine the label of the second camera 113 corresponding to the label of the second pressure sensor 103 in the dual cameras set by the mobile device in the corresponding relationship of the label; and control the second camera 113 to which the label of the second camera 113 belongs to start the video capture work and, transmitting the video captured by the second camera 113 to the call party.
本发明实施例中,用户可以控制施加给第一压力传感器102和第二压力传感器103的压力值,使得第一压力传感器102检测到的左侧压力值有时超过第二压力传感器103检测到的右侧压力值,而有时未超过第二压力传感器103检测到的右侧压力值,从而可以灵活地、便捷地切换前后摄像头采集视频,从而可以使得通话对方可以灵活地、便捷地切身感受到用户当前所处环境的前后视频。In the embodiment of the present invention, the user can control the pressure values applied to the first pressure sensor 102 and the second pressure sensor 103, so that the left pressure value detected by the first pressure sensor 102 sometimes exceeds the right pressure value detected by the second pressure sensor 103. side pressure value, but sometimes it does not exceed the right side pressure value detected by the second pressure sensor 103, so that the front and rear cameras can be flexibly and conveniently switched to collect video, so that the other party can flexibly and conveniently feel the user's current situation. Before and after videos of your environment.
作为一种可选的实施方式,在图3所示的移动设备中,还包括包括内置在移动设备中的定位模块114,其中:As an optional implementation manner, the mobile device shown in FIG. 3 also includes a positioning module 114 built in the mobile device, wherein:
主板控制器100将第一摄像头112采集到的视频传输给通话对方的方式可以为:The way that the motherboard controller 100 transmits the video captured by the first camera 112 to the calling party can be as follows:
主板控制器100通过定位模块114获取移动设备的即时位置;The motherboard controller 100 obtains the instant location of the mobile device through the positioning module 114;
主板控制器100将移动设备的即时位置加载至第一摄像头112采集到的视频中传输给通话对方;The mainboard controller 100 loads the real-time location of the mobile device into the video collected by the first camera 112 and transmits it to the calling party;
相应地,主板控制器100将第二摄像头113采集到的视频传输给通话对方的方式可以为:Correspondingly, the manner in which the motherboard controller 100 transmits the video captured by the second camera 113 to the calling party may be as follows:
主板控制器100通过定位模块114获取移动设备的即时位置;The motherboard controller 100 obtains the instant location of the mobile device through the positioning module 114;
主板控制器将移动设备的即时位置加载至第二摄像头113采集到的视频中传输给通话对方。The motherboard controller loads the real-time location of the mobile device into the video captured by the second camera 113 and transmits it to the other party.
其中,实施这种实施方式,可以使得通话对方在观看第一摄像头112或第二摄像头113采集到的视频时,可以便捷的了解用户的即时位置。Wherein, the implementation of this implementation mode can make the calling party conveniently know the real-time location of the user when watching the video captured by the first camera 112 or the second camera 113 .
作为一种可选的实施方式,在图3所示的移动设备中,主板控制器100通过定位模块114获取移动设备的即时位置之后,以及主板控制器100将移动设备的即时位置加载至第一摄像头112采集到的视频中传输给通话对方之前,还可以执行以下步骤:As an optional implementation, in the mobile device shown in FIG. 3 , after the motherboard controller 100 obtains the instant location of the mobile device through the positioning module 114, the motherboard controller 100 loads the instant location of the mobile device into the first Before the video captured by the camera 112 is transmitted to the calling party, the following steps may also be performed:
以该移动设备的即时位置为依据,确定该移动设备的即时位置在电子地图上对应的映射位置;Based on the real-time location of the mobile device, determine the corresponding mapping position of the real-time location of the mobile device on the electronic map;
识别该映射位置是否位于移动设备的电子地图预先设置的安全路径上,如果否,识别所述映射位置是否位于移动设备的电子地图预先设置的安全区域内,如果否,说明用户可能处在非安全区域中,主板控制器100可以将移动设备的即时位置加载至第一摄像头112采集到的视频中传输给通话对方,从而可以实现视频传输的同时进行位置告警。Identify whether the mapped location is on the safe path preset by the electronic map of the mobile device, if not, identify whether the mapped location is in the safe area preset by the electronic map of the mobile device, if not, indicate that the user may be in an unsafe area In the area, the main board controller 100 can load the real-time location of the mobile device into the video captured by the first camera 112 and transmit it to the calling party, so that the location alarm can be realized while the video is transmitted.
作为一种可选的实施方式,在图3所示的移动设备中,主板控制器100通过定位模块114获取移动设备的即时位置之后,以及主板控制器100将移动设备的即时位置加载至第二摄像头113采集到的视频中传输给通话对方之前,还可以执行以下步骤:As an optional implementation manner, in the mobile device shown in FIG. Before the video captured by the camera 113 is transmitted to the calling party, the following steps may also be performed:
以该移动设备的即时位置为依据,确定该移动设备的即时位置在电子地图上对应的映射位置;Based on the real-time location of the mobile device, determine the corresponding mapping position of the real-time location of the mobile device on the electronic map;
识别该映射位置是否位于移动设备的电子地图预先设置的安全路径上,如果否,识别所述映射位置是否位于移动设备的电子地图预先设置的安全区域内,如果否,说明用户可能处在非安全区域中,主板控制器100可以将移动设备的即时位置加载至第二摄像头113采集到的视频中传输给通话对方,从而可以实现视频传输的同时进行位置告警。Identify whether the mapped location is on the safe path preset by the electronic map of the mobile device, if not, identify whether the mapped location is in the safe area preset by the electronic map of the mobile device, if not, indicate that the user may be in an unsafe area In the area, the mainboard controller 100 can upload the real-time location of the mobile device to the video captured by the second camera 113 and transmit it to the calling party, so that the location alarm can be realized while the video is transmitted.
实施例五Embodiment five
请参阅图3,图3是本发明实施例公开的一种移动设备的控制方法的流程示意图。如图3所示,该方法包括:Please refer to FIG. 3 . FIG. 3 is a schematic flowchart of a method for controlling a mobile device disclosed in an embodiment of the present invention. As shown in Figure 3, the method includes:
301、移动设备与通话对方进行通话的过程中,通过设在移动设备正面的接近传感器实时检测移动设备正面与人耳的距离。301. During a call between the mobile device and the other party, the distance between the front of the mobile device and the human ear is detected in real time through a proximity sensor disposed on the front of the mobile device.
302、移动设备判断该距离是否小于或等于预设距离,如果是,执行步骤303;如果否,返回步骤301。302. The mobile device judges whether the distance is less than or equal to a preset distance, if yes, execute step 303; if no, return to step 301.
303、移动设备通过设置述移动设备左侧的第一压力传感器检测移动设备左侧承受的左侧压力值和通过设置移动设备右侧的第二压力传感器检测移动设备右侧承受的右侧压力值。303. The mobile device detects the left pressure value on the left side of the mobile device by setting the first pressure sensor on the left side of the mobile device, and detects the right side pressure value on the right side of the mobile device by setting the second pressure sensor on the right side of the mobile device .
304、移动设备判断左侧压力值和右侧压力值是否均大于预设压力值,如果是,执行步骤305;如果否,执行步骤306。304. The mobile device judges whether the left pressure value and the right pressure value are greater than the preset pressure value, if yes, perform step 305; if not, perform step 306.
305、移动设备控制移动设备关闭双麦克风降噪功能,结束本流程。305. The mobile device controls the mobile device to turn off the noise reduction function of the dual microphones, and ends this process.
306、移动设备维持开启双麦克风降噪功能,结束本流程。306. The mobile device maintains the dual-microphone noise reduction function enabled, and ends this process.
作为一种可选的实施方式,在图3所描述的控制方法中,移动设备在控制移动设备关闭双麦克风降噪功能之后,还可以执行以下步骤:As an optional implementation manner, in the control method described in FIG. 3 , after the mobile device controls the mobile device to turn off the dual-microphone noise reduction function, the following steps may also be performed:
移动设备以第一压力传感器检测到的左侧压力值为依据,从预设的压力值与音量值的对应关系中确定出左侧压力值对应的第一目标音量值;以及,以第一压力传感器的标签为依据,从预设的压力传感器的标签与麦克风的标签的对应关系中确定出第一压力传感器的标签对应的第一麦克风的标签;以及,以第一压力传感器的标签对应的第一麦克风的标签为依据,从双麦克风中确定出第一麦克风的标签所属的第一麦克风,控制双麦克风中的第一麦克风的音量值调整至第一目标音量值;其中,左侧压力值与第一目标音量值成正比例关系;Based on the left pressure value detected by the first pressure sensor, the mobile device determines the first target volume value corresponding to the left pressure value from the preset correspondence between the pressure value and the volume value; and, with the first pressure Based on the label of the sensor, the label of the first microphone corresponding to the label of the first pressure sensor is determined from the preset correspondence between the label of the pressure sensor and the label of the microphone; and, the label of the first pressure sensor corresponding to the label of the first pressure sensor Based on the label of a microphone, the first microphone to which the label of the first microphone belongs is determined from the two microphones, and the volume value of the first microphone in the two microphones is controlled to be adjusted to the first target volume value; wherein, the pressure value on the left side is the same as The first target volume value is proportional to the relationship;
以及,移动设备以第二压力传感器检测到的右侧压力值为依据,从预设的压力值与音量值的对应关系中确定出右侧压力值对应的第二目标音量值;以及,以第二压力传感器的标签为依据,从预设的压力传感器的标签与麦克风的标签的对应关系中确定出第二压力传感器的标签对应的第二麦克风的标签;以及,以第二压力传感器的标签对应的第二麦克风的标签为依据,从双麦克风中确定出第二麦克风的标签所属的第二麦克风,控制双麦克风中的第二麦克风的音量值调整至第二目标音量值;其中,右侧压力值与第二目标音量值成正比例关系。And, based on the right pressure value detected by the second pressure sensor, the mobile device determines the second target volume value corresponding to the right pressure value from the preset correspondence between the pressure value and the volume value; Based on the label of the second pressure sensor, the label of the second microphone corresponding to the label of the second pressure sensor is determined from the preset correspondence between the label of the pressure sensor and the label of the microphone; and, corresponding to the label of the second pressure sensor Based on the label of the second microphone, determine the second microphone to which the label of the second microphone belongs from the dual microphones, and control the volume value of the second microphone in the dual microphones to adjust to the second target volume value; wherein, the right pressure The value is proportional to the second target volume value.
本发明实施例中,由于移动设备关闭双麦克风降噪功能会带来部分功耗的下降,而降下来的部分功耗可以按照第一压力传感器检测到的左侧压力值以及第二压力传感器检测到的右侧压力值正比例地调整第一麦克风和第二麦克风的音量值,从而可以实现在不过度增加移动设备的功耗的前提下,当第一压力传感器检测到的左侧压力值以及第二压力传感器检测到的右侧压力值越大时,第一麦克风和第二麦克风的音量值的也就越大,相应地通话对方能收听到的用户当前所处环境的背景声音也就越大,从而使得通话对方可以更加切身的感受到用户当前所处环境的背景声音。In the embodiment of the present invention, since the mobile device turns off the dual-microphone noise reduction function, part of the power consumption will be reduced, and the reduced part of the power consumption can be detected according to the left pressure value detected by the first pressure sensor and the pressure value detected by the second pressure sensor. The volume values of the first microphone and the second microphone are adjusted in proportion to the detected right pressure value, so that when the left pressure value detected by the first pressure sensor and the When the pressure value on the right side detected by the second pressure sensor is greater, the volume values of the first microphone and the second microphone are also greater, and correspondingly, the background sound of the user's current environment that the other party can hear is also greater , so that the other party can feel the background sound of the user's current environment more personally.
作为一种可选的实施方式,在图3所描述的控制方法中,移动设备在控制双麦克风中的第一麦克风的音量值调整至第一目标音量值,以及在控制双麦克风中的第二麦克风的音量值调整至第二目标音量值之后,移动设备还可以执行以下步骤:As an optional implementation, in the control method described in FIG. 3 , the mobile device adjusts the volume value of the first microphone in the dual microphones to the first target volume value when controlling the volume value of the second microphone in the dual microphones, and adjusts the volume value of the second microphone in the dual microphones. After the volume value of the microphone is adjusted to the second target volume value, the mobile device may also perform the following steps:
移动设备将左侧压力值与右侧压力值进行对比,若对比结果为左侧压力值超过右侧压力值,以第一压力传感器的标签为依据,从预设的压力传感器的标签与摄像头的标签的对应关系中确定出移动设备设置的双摄像头中第一压力传感器的标签对应的第一摄像头的标签;控制第一摄像头的标签所属的第一摄像头启动视频采集工作;以及,将第一摄像头采集到的视频传输给通话对方;The mobile device compares the pressure value on the left side with the pressure value on the right side. If the result of the comparison is that the pressure value on the left side exceeds the pressure value on the right side, based on the label of the first pressure sensor, the preset pressure sensor label and camera Determine the label of the first camera corresponding to the label of the first pressure sensor in the dual cameras set by the mobile device in the corresponding relationship of the label; control the first camera to which the label of the first camera belongs to start the video capture work; and, set the first camera The collected video is transmitted to the other party;
或者,若对比结果为左侧压力值未超过所述右侧压力值,移动设备以第二压力传感器的标签为依据,从预设的压力传感器的标签与摄像头的标签的对应关系中确定出移动设备设置的双摄像头中第二压力传感器的标签对应的第二摄像头的标签;控制第二摄像头的标签所属的第二摄像头启动视频采集工作;以及,将第二摄像头采集到的视频传输给所述通话对方。Or, if the comparison result shows that the pressure value on the left side does not exceed the pressure value on the right side, the mobile device determines the mobile device from the preset corresponding relationship between the label of the pressure sensor and the label of the camera based on the label of the second pressure sensor. The label of the second camera corresponding to the label of the second pressure sensor in the dual camera set by the device; controlling the second camera to which the label of the second camera belongs to start the video capture work; and, transmitting the video captured by the second camera to the The caller.
其中,第一摄像头可以为移动设备设置的双摄像头中的后摄像头,而第二摄像头可以为移动设备设置的双摄像头中的前摄像头。Wherein, the first camera may be a rear camera in the dual cameras set on the mobile device, and the second camera may be a front camera in the dual cameras set on the mobile device.
本发明实施例中,用户可以控制施加给第一压力传感器和第二压力传感器的压力值,使得第一压力传感器检测到的左侧压力值有时超过第二压力传感器检测到的右侧压力值,而有时未超过第二压力传感器检测到的右侧压力值,从而可以灵活地、便捷地切换前后摄像头采集视频,从而可以使得通话对方可以灵活地、便捷地切身感受到用户当前所处环境的前后视频。In the embodiment of the present invention, the user can control the pressure values applied to the first pressure sensor and the second pressure sensor, so that the left pressure value detected by the first pressure sensor sometimes exceeds the right pressure value detected by the second pressure sensor, Sometimes it does not exceed the right pressure value detected by the second pressure sensor, so that the front and rear cameras can be flexibly and conveniently switched to collect video, so that the caller can flexibly and conveniently feel the front and rear of the user's current environment. video.
作为一种可选的实施方式,在图3所描述的控制方法中,移动设备将第一摄像头采集到的视频传输给所述通话对方,包括:As an optional implementation manner, in the control method described in FIG. 3 , the mobile device transmits the video captured by the first camera to the calling party, including:
移动设备通过移动设备内置的定位模块获取移动设备的即时位置;The mobile device obtains the real-time location of the mobile device through the built-in positioning module of the mobile device;
移动设备将移动设备的即时位置加载至第一摄像头采集到的视频中传输给通话对方;The mobile device loads the real-time location of the mobile device into the video captured by the first camera and transmits it to the caller;
移动设备将第二摄像头采集到的视频传输给通话对方,包括:The mobile device transmits the video captured by the second camera to the calling party, including:
移动设备通过移动设备内置的定位模块获取移动设备的即时位置;The mobile device obtains the real-time location of the mobile device through the built-in positioning module of the mobile device;
移动设备将移动设备的即时位置加载至第二摄像头采集到的视频中传输给通话对方。The mobile device loads the real-time location of the mobile device into the video captured by the second camera and transmits it to the calling party.
其中,实施这种实施方式,可以使得通话对方在观看第一摄像头或第二摄像头采集到的视频时,可以便捷的了解用户的即时位置。Wherein, the implementation of this embodiment can make the calling party conveniently know the user's real-time location when watching the video captured by the first camera or the second camera.
作为一种可选的实施方式,在图3所描述的控制方法中,移动设备通过定位模块获取移动设备的即时位置之后,以及移动设备将移动设备的即时位置加载至第一摄像头采集到的视频中传输给通话对方之前,还可以执行以下步骤:As an optional implementation, in the control method described in FIG. 3 , after the mobile device obtains the instant location of the mobile device through the positioning module, the mobile device loads the instant location of the mobile device into the video captured by the first camera. Before transmitting to the other party in the call, you can also perform the following steps:
以该移动设备的即时位置为依据,确定该移动设备的即时位置在电子地图上对应的映射位置;Based on the real-time location of the mobile device, determine the corresponding mapping position of the real-time location of the mobile device on the electronic map;
识别该映射位置是否位于移动设备的电子地图预先设置的安全路径上,如果否,识别所述映射位置是否位于移动设备的电子地图预先设置的安全区域内,如果否,说明用户可能处在非安全区域中,移动设备可以将移动设备的即时位置加载至第一摄像头采集到的视频中传输给通话对方,从而可以实现视频传输的同时进行位置告警。Identify whether the mapped location is on the safe path preset by the electronic map of the mobile device, if not, identify whether the mapped location is in the safe area preset by the electronic map of the mobile device, if not, indicate that the user may be in an unsafe area In the area, the mobile device can load the real-time location of the mobile device into the video captured by the first camera and transmit it to the caller, so that the location alarm can be realized while the video is transmitted.
作为一种可选的实施方式,在图3所描述的控制方法中,移动设备通过定位模块获取移动设备的即时位置之后,以及移动设备将移动设备的即时位置加载至第二摄像头采集到的视频中传输给通话对方之前,还可以执行以下步骤:As an optional implementation, in the control method described in FIG. 3, after the mobile device obtains the instant location of the mobile device through the positioning module, the mobile device loads the instant location of the mobile device into the video captured by the second camera Before transmitting to the other party in the call, you can also perform the following steps:
以该移动设备的即时位置为依据,确定该移动设备的即时位置在电子地图上对应的映射位置;Based on the real-time location of the mobile device, determine the corresponding mapping position of the real-time location of the mobile device on the electronic map;
识别该映射位置是否位于移动设备的电子地图预先设置的安全路径上,如果否,识别所述映射位置是否位于移动设备的电子地图预先设置的安全区域内,如果否,说明用户可能处在非安全区域中,移动设备可以将移动设备的即时位置加载至第二摄像头采集到的视频中传输给通话对方,从而可以实现视频传输的同时进行位置告警。Identify whether the mapped location is on the safe path preset by the electronic map of the mobile device, if not, identify whether the mapped location is in the safe area preset by the electronic map of the mobile device, if not, indicate that the user may be in an unsafe area In the area, the mobile device can upload the real-time location of the mobile device to the video captured by the second camera and transmit it to the caller, so that the location alarm can be realized while the video is transmitted.
其中,实施图3所描述的控制方法,当用户在演唱会现场等场景下,可以便捷地控制移动设备关闭其标配的双麦克风降噪功,从而使得移动设备无法利用其标配的双麦克风降噪功能将当前所处环境的背景声音当作环境噪声进行降噪处理,从而可以让通话对方切身感受到用户当前所处环境的背景声音。Among them, by implementing the control method described in Figure 3, when the user is in a scene such as a concert, he can conveniently control the mobile device to turn off its standard dual-microphone noise reduction function, so that the mobile device cannot use its standard dual-microphone The noise reduction function treats the background sound of the current environment as environmental noise for noise reduction processing, so that the caller can personally feel the background sound of the user's current environment.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质包括只读存储器(Read-Only Memory,ROM)、随机存储器(Random Access Memory,RAM)、可编程只读存储器(Programmable Read-only Memory,PROM)、可擦除可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、一次可编程只读存储器(One-time Programmable Read-Only Memory,OTPROM)、电子抹除式可复写只读存储器(Electrically-Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(CompactDisc Read-Only Memory,CD-ROM)或其他光盘存储器、磁盘存储器、磁带存储器、或者能够用于携带或存储数据的计算机可读的任何其他介质。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium includes read-only Memory (Read-Only Memory, ROM), Random Access Memory (Random Access Memory, RAM), Programmable Read-Only Memory (Programmable Read-only Memory, PROM), Erasable Programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), One-time Programmable Read-Only Memory (OTPROM), Electronically Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CompactDisc Read -Only Memory, CD-ROM) or other optical disk storage, magnetic disk storage, tape storage, or any other computer-readable medium that can be used to carry or store data.
以上对本发明实施例公开的一种移动设备的控制方法及移动设备进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The control method of a mobile device disclosed in the embodiment of the present invention and the mobile device are described above in detail. In this paper, specific examples are used to illustrate the principle and implementation of the present invention. The description of the above embodiment is only for helping understanding The method of the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary, the content of this specification should not be construed as a limitation of the invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610863569.XA CN106506803B (en) | 2016-09-28 | 2016-09-28 | Control method of mobile equipment and mobile equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610863569.XA CN106506803B (en) | 2016-09-28 | 2016-09-28 | Control method of mobile equipment and mobile equipment |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106506803A true CN106506803A (en) | 2017-03-15 |
| CN106506803B CN106506803B (en) | 2019-02-15 |
Family
ID=58290046
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610863569.XA Expired - Fee Related CN106506803B (en) | 2016-09-28 | 2016-09-28 | Control method of mobile equipment and mobile equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106506803B (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107682529A (en) * | 2017-09-07 | 2018-02-09 | 维沃移动通信有限公司 | A kind of acoustic signal processing method and mobile terminal |
| CN112527145A (en) * | 2020-12-04 | 2021-03-19 | 成都颜创启新信息技术有限公司 | Request method, terminal device, request device and readable storage medium |
| CN113459945A (en) * | 2021-07-19 | 2021-10-01 | 恒大新能源汽车投资控股集团有限公司 | Vehicle headrest sound control method and device, and computer readable storage medium |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040028198A1 (en) * | 2002-08-07 | 2004-02-12 | Brother Kogyo Kabushiki Kaisha | Telephone terminal, call system, internet terminal and terminal control program |
| CN103870166A (en) * | 2012-12-07 | 2014-06-18 | 联想(北京)有限公司 | Mode switching method and device |
| US20140210785A1 (en) * | 2008-10-02 | 2014-07-31 | Wacom Co., Ltd. | Combination touch and transducer input system and method |
| EP2810452A1 (en) * | 2012-02-03 | 2014-12-10 | Motorola Mobility LLC | Motion based compensation of downlinked audio |
| CN105162938A (en) * | 2008-09-23 | 2015-12-16 | 联想(北京)有限公司 | Method for adjusting conversation volume of communication terminal, volume controller and mobile phone |
| CN105554246A (en) * | 2015-11-27 | 2016-05-04 | 努比亚技术有限公司 | Call reminding method and device |
| CN105959489A (en) * | 2016-06-28 | 2016-09-21 | 广东欧珀移动通信有限公司 | Call voice processing method and system, and communication terminal |
-
2016
- 2016-09-28 CN CN201610863569.XA patent/CN106506803B/en not_active Expired - Fee Related
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040028198A1 (en) * | 2002-08-07 | 2004-02-12 | Brother Kogyo Kabushiki Kaisha | Telephone terminal, call system, internet terminal and terminal control program |
| CN105162938A (en) * | 2008-09-23 | 2015-12-16 | 联想(北京)有限公司 | Method for adjusting conversation volume of communication terminal, volume controller and mobile phone |
| US20140210785A1 (en) * | 2008-10-02 | 2014-07-31 | Wacom Co., Ltd. | Combination touch and transducer input system and method |
| EP2810452A1 (en) * | 2012-02-03 | 2014-12-10 | Motorola Mobility LLC | Motion based compensation of downlinked audio |
| CN103870166A (en) * | 2012-12-07 | 2014-06-18 | 联想(北京)有限公司 | Mode switching method and device |
| CN105554246A (en) * | 2015-11-27 | 2016-05-04 | 努比亚技术有限公司 | Call reminding method and device |
| CN105959489A (en) * | 2016-06-28 | 2016-09-21 | 广东欧珀移动通信有限公司 | Call voice processing method and system, and communication terminal |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107682529A (en) * | 2017-09-07 | 2018-02-09 | 维沃移动通信有限公司 | A kind of acoustic signal processing method and mobile terminal |
| CN107682529B (en) * | 2017-09-07 | 2019-11-26 | 维沃移动通信有限公司 | A kind of acoustic signal processing method and mobile terminal |
| CN112527145A (en) * | 2020-12-04 | 2021-03-19 | 成都颜创启新信息技术有限公司 | Request method, terminal device, request device and readable storage medium |
| CN113459945A (en) * | 2021-07-19 | 2021-10-01 | 恒大新能源汽车投资控股集团有限公司 | Vehicle headrest sound control method and device, and computer readable storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106506803B (en) | 2019-02-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP3163748B1 (en) | Method, device and terminal for adjusting volume | |
| EP3343559B1 (en) | De-reverberation control method and device thereof | |
| EP3163885B1 (en) | Method and apparatus for controlling electronic device | |
| JP6314286B2 (en) | Audio signal optimization method and apparatus, program, and recording medium | |
| CN107231473B (en) | Audio output regulation and control method, equipment and computer readable storage medium | |
| CN103414982B (en) | A kind of method and apparatus that sound is provided | |
| KR102460335B1 (en) | Electronic device and method for adjusting the output intensity of a speaker based on distance from an external electronic device | |
| CN104378485A (en) | Volume adjustment method and volume adjustment device | |
| CN108684029A (en) | A kind of Bluetooth pairing connection method and system, bluetooth equipment and terminal | |
| JP2019128586A (en) | Audio processing method and apparatus, and computer-readable storage medium | |
| KR20200011869A (en) | Method and Apparatus for Establishing Device Connection | |
| CN105187594A (en) | Echo canceling method and device | |
| CN111093137B (en) | A volume control method, device and computer-readable storage medium | |
| CN104424073A (en) | Information processing method and electronic equipment | |
| JP2023156321A (en) | Calling methods and equipment | |
| WO2021098698A1 (en) | Audio playback method and terminal device | |
| CN104112459A (en) | Method and apparatus for playing audio data | |
| CN106506803A (en) | Control method of mobile equipment and mobile equipment | |
| CN108540659B (en) | Method, terminal and computer readable storage medium for reducing TDD noise influence | |
| KR102155555B1 (en) | Method for providing a hearing aid compatibility and an electronic device thereof | |
| CN113380249B (en) | Voice control method, device, equipment and storage medium | |
| CN105635916A (en) | Audio processing method and apparatus | |
| CN104794074A (en) | External connection device identification method and device | |
| CN108769364A (en) | Call control method, device, mobile terminal and computer-readable medium | |
| CN107370883A (en) | Method, device and mobile terminal for improving call effect |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190215 |