CN104853093A - Rotatable camera control method and mobile terminal - Google Patents
Rotatable camera control method and mobile terminal Download PDFInfo
- Publication number
- CN104853093A CN104853093A CN201510217809.4A CN201510217809A CN104853093A CN 104853093 A CN104853093 A CN 104853093A CN 201510217809 A CN201510217809 A CN 201510217809A CN 104853093 A CN104853093 A CN 104853093A
- Authority
- CN
- China
- Prior art keywords
- rotatable camera
- mobile terminal
- incoming call
- judge
- user
- 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
- 238000000034 method Methods 0.000 title claims abstract description 48
- 230000004888 barrier function Effects 0.000 claims 2
- 230000000694 effects Effects 0.000 abstract description 9
- 238000010586 diagram Methods 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000000903 blocking effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Landscapes
- Telephone Function (AREA)
- Studio Devices (AREA)
Abstract
本发明公开了一种可旋转摄像头的控制方法,该方法还包括:在接收到来电呼叫时,判断所述来电呼叫是否为视频来电呼叫;若判断出所述来电呼叫为视频来电呼叫,判断移动终端的可旋转摄像头是否满足第一旋转条件;若判断出所述可旋转摄像头满足第一旋转条件,获取所述可旋转摄像头的第一旋转角度;控制所述可旋转摄像头旋转至所述第一旋转角度;接听视频来电后,通过所述可旋转摄像头获取图像。本发明实施例还提供了一种移动终端。采用本发明实施例通过可旋转摄像头来提高摄像头的灵活性,且所述可旋转摄像头的提出有利于更好的满足一些场景下用户灵活多变的需求,进而提高了用户体验效果。
The invention discloses a method for controlling a rotatable camera. The method further includes: when receiving an incoming call, judging whether the incoming call is a video incoming call; if judging that the incoming call is a video incoming call, judging whether the mobile Whether the rotatable camera of the terminal satisfies the first rotation condition; if it is determined that the rotatable camera satisfies the first rotation condition, obtain the first rotation angle of the rotatable camera; control the rotatable camera to rotate to the first Rotation angle; after answering the video call, the image is acquired through the rotatable camera. The embodiment of the present invention also provides a mobile terminal. The embodiment of the present invention improves the flexibility of the camera by using the rotatable camera, and the proposal of the rotatable camera is conducive to better satisfying the flexible and changeable needs of users in some scenarios, thereby improving the user experience effect.
Description
技术领域technical field
本发明涉及电子技术领域,尤其涉及一种可旋转摄像头的控制方法及移动终端。The present invention relates to the field of electronic technology, in particular to a method for controlling a rotatable camera and a mobile terminal.
背景技术Background technique
视频通话是基于移动互联网、互联网或者普通电话线路,通过移动终端之间实时传送用户的语音和图像的一种通信方式。Video call is a communication method based on the mobile Internet, the Internet or ordinary telephone lines, through which the user's voice and images are transmitted in real time between mobile terminals.
目前,现有的移动终端通常包括前置摄像头和后置摄像头,在视频通话时,通过切换前置摄像头和后置摄像头来采集不同视角的图像信息。由于前置摄像头或者后置摄像头能采集到的图像信息的视角范围是有限的,当用户想要通过视频通话传送的图像信息在前置摄像头或者后置摄像头采集不到的视角范围内时,此时,需要通过用户手动的将移动终端旋转至前置摄像头或者后置摄像头能采集的视角范围进行采集图像信息。综上,现有的移动终端在视频通话时控制摄像头的灵活性较差。At present, existing mobile terminals usually include a front camera and a rear camera, and image information of different viewing angles is collected by switching the front camera and the rear camera during a video call. Since the viewing angle range of the image information that can be collected by the front camera or rear camera is limited, when the image information that the user wants to transmit through a video call is within the viewing angle range that cannot be collected by the front camera or rear camera, this In this case, it is necessary for the user to manually rotate the mobile terminal to a viewing angle range that can be collected by the front camera or the rear camera to collect image information. To sum up, the existing mobile terminal has poor flexibility in controlling the camera during a video call.
发明内容Contents of the invention
本发明实施例提供一种可旋转摄像头的控制方法及移动终端,通过可旋转摄像头来提高摄像头的灵活性。Embodiments of the present invention provide a method for controlling a rotatable camera and a mobile terminal, and the flexibility of the camera is improved through the rotatable camera.
本发明第一方面提供一种可旋转摄像头的控制方法,包括:The first aspect of the present invention provides a method for controlling a rotatable camera, including:
在接收到来电呼叫时,判断所述来电呼叫是否为视频来电呼叫;When receiving an incoming call, determine whether the incoming call is a video incoming call;
若判断出所述来电呼叫为视频来电呼叫,判断移动终端的可旋转摄像头是否满足第一旋转条件;If it is determined that the incoming call is a video incoming call, it is judged whether the rotatable camera of the mobile terminal satisfies the first rotation condition;
若判断出所述可旋转摄像头满足第一旋转条件,获取所述可旋转摄像头的第一旋转角度;If it is determined that the rotatable camera satisfies the first rotation condition, acquiring a first rotation angle of the rotatable camera;
控制所述可旋转摄像头旋转至所述第一旋转角度;controlling the rotatable camera to rotate to the first rotation angle;
接听视频来电后,通过所述可旋转摄像头获取图像。After answering the video call, the image is acquired through the rotatable camera.
本发明第二方面提供一种移动终端,包括:A second aspect of the present invention provides a mobile terminal, including:
第一判断单元,用于在接收到来电呼叫时,判断所述来电呼叫是否为视频来电呼叫;A first judging unit, configured to judge whether the incoming call is a video incoming call when receiving an incoming call;
第二判断单元,用于若第一判断单元判断出所述来电呼叫为视频来电呼叫,判断移动终端的可旋转摄像头是否满足第一旋转条件;The second judging unit is used to judge whether the rotatable camera of the mobile terminal satisfies the first rotation condition if the first judging unit judges that the incoming call is a video incoming call;
第一获取单元,用于若第二判断单元判断出所述可旋转摄像头满足第一旋转条件,获取所述可旋转摄像头的第一旋转角度;The first acquiring unit is configured to acquire the first rotation angle of the rotatable camera if the second judging unit judges that the rotatable camera satisfies the first rotation condition;
第一控制单元,用于控制所述可旋转摄像头旋转至所述第一旋转角度;a first control unit, configured to control the rotatable camera to rotate to the first rotation angle;
第二获取单元,用于接听视频来电后,通过所述可旋转摄像头获取图像。The second acquisition unit is configured to acquire images through the rotatable camera after answering the video call.
实施本发明实施例,具有如下有益效果:Implementing the embodiment of the present invention has the following beneficial effects:
本发明实施例中,由于来电呼叫有视频来电呼叫和非视频来电呼叫,因此在接收到来电呼叫时,先判断所述来电呼叫是否为视频来电呼叫;若判断出所述来电呼叫为视频来电呼叫,判断移动终端的可旋转摄像头是否满足第一旋转条件,即判断可旋转摄像头当前是否处于可采集到用户图像的位置;若判断出所述可旋转摄像头满足第一旋转条件,即判断可旋转摄像头当前不处于可采集到用户图像的位置,获取所述可旋转摄像头的第一旋转角度;控制所述可旋转摄像头旋转至所述第一旋转角度;接听视频来电后,通过所述可旋转摄像头获取图像。通过可旋转摄像头来提高摄像头的灵活性,且所述可旋转摄像头的提出有利于更好的满足一些场景下用户灵活多变的需求,进而提高了用户体验效果。In the embodiment of the present invention, since incoming calls include video incoming calls and non-video incoming calls, when receiving an incoming call, first determine whether the incoming call is a video incoming call; if it is determined that the incoming call is a video incoming call , to determine whether the rotatable camera of the mobile terminal satisfies the first rotation condition, that is, to determine whether the rotatable camera is currently in a position where user images can be collected; if it is determined that the rotatable camera meets the first rotation condition, it is determined that the rotatable camera Currently not in a position where user images can be collected, acquire the first rotation angle of the rotatable camera; control the rotation of the rotatable camera to the first rotation angle; image. The flexibility of the camera is improved by using the rotatable camera, and the proposal of the rotatable camera is conducive to better satisfying flexible and changeable needs of users in some scenarios, thereby improving the user experience effect.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1为本发明实施例提供的可旋转摄像头的控制方法的第一实施例流程图;Fig. 1 is a flow chart of the first embodiment of the control method of the rotatable camera provided by the embodiment of the present invention;
图2为本发明实施例提供的可旋转摄像头的控制方法的第二实施例流程图;Fig. 2 is a flow chart of the second embodiment of the control method of the rotatable camera provided by the embodiment of the present invention;
图3为本发明实施例提供的可旋转摄像头的控制方法的第三实施例流程图;Fig. 3 is a flow chart of the third embodiment of the control method of the rotatable camera provided by the embodiment of the present invention;
图4为本发明实施例提供的移动终端的第一实施例结构示意图;FIG. 4 is a schematic structural diagram of a first embodiment of a mobile terminal provided by an embodiment of the present invention;
图5为本发明实施例提供的移动终端的第二实施例结构示意图。FIG. 5 is a schematic structural diagram of a second embodiment of a mobile terminal provided by an embodiment of the present invention.
具体实施方式detailed description
本发明实施例提供一种可旋转摄像头的控制方法及移动终端,通过可旋转摄像头来提高摄像头的灵活性。Embodiments of the present invention provide a method for controlling a rotatable camera and a mobile terminal, and the flexibility of the camera is improved through the rotatable camera.
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.
以下分别进行详细说明。Each will be described in detail below.
本发明的说明书和权利要求书及所述附图中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third" and "fourth" in the description and claims of the present invention and the drawings are used to distinguish different objects, rather than to describe a specific order . Furthermore, the terms "include" and "have", as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally further includes For other steps or units inherent in these processes, methods, products or apparatuses.
本发明可旋转摄像头的控制方法的一个实施例。其中,一种可旋转摄像头的控制方法:在接收到来电呼叫时,判断所述来电呼叫是否为视频来电呼叫;若判断出所述来电呼叫为视频来电呼叫,判断移动终端的可旋转摄像头是否满足第一旋转条件;若判断出所述可旋转摄像头满足第一旋转条件,获取所述可旋转摄像头的第一旋转角度;控制所述可旋转摄像头旋转至所述第一旋转角度;接听视频来电后,通过所述可旋转摄像头获取图像。An embodiment of the control method of the rotatable camera of the present invention. Among them, a control method of a rotatable camera: when receiving an incoming call, judge whether the incoming call is a video incoming call; if it is judged that the incoming call is a video incoming call, judge whether the rotatable camera of the mobile terminal satisfies The first rotation condition; if it is determined that the rotatable camera satisfies the first rotation condition, obtain the first rotation angle of the rotatable camera; control the rotatable camera to rotate to the first rotation angle; after answering the video call , acquiring images through the rotatable camera.
首先参见图1,图1为本发明实施例提供的可旋转摄像头的控制方法的第一实施例流程图。其中,如图1所示,本发明的一个实施例提供的一种可旋转摄像头的控制方法可以包括步骤S101~S105:Referring first to FIG. 1 , FIG. 1 is a flowchart of a first embodiment of a method for controlling a rotatable camera provided by an embodiment of the present invention. Wherein, as shown in FIG. 1, a method for controlling a rotatable camera provided by an embodiment of the present invention may include steps S101-S105:
S101、在接收到来电呼叫时,判断所述来电呼叫是否为视频来电呼叫。S101. When receiving an incoming call, determine whether the incoming call is an incoming video call.
本发明实施例中,由于视频来电呼叫与非视频来电呼叫应用背景可能不一样,使得具体操作方案也可能不一样,为了提高用户的体验效果,因此,在移动终端接收到来电呼叫时,移动终端根据服务器推送的来电呼叫指令,判断所述来电呼叫是否为视频来电呼叫。In the embodiment of the present invention, since the application background of the video incoming call and the non-video incoming call may be different, the specific operation scheme may also be different. In order to improve the user experience effect, when the mobile terminal receives the incoming call, the mobile terminal According to the incoming call instruction pushed by the server, it is judged whether the incoming call is a video incoming call.
其中,所述来电呼叫例如可以包括来电号码呼叫/来电号码视频呼叫、即时通讯APP的来电呼叫(比如微信语音/视频通话、QQ语音/视频通话)等等。Wherein, the incoming call may include, for example, an incoming call number/video call, an incoming call of an instant messaging app (such as WeChat voice/video call, QQ voice/video call) and the like.
其中,所述视频来电呼叫可以包括来电号码视频呼叫/即时通讯APP的视频来电呼叫(比如微信视频通话、QQ视频通话)等等。Wherein, the video incoming call may include a video call of an incoming call number/a video incoming call of an instant messaging APP (such as a WeChat video call, a QQ video call) and the like.
其中,所述移动终端例如可以是下面中的任何一项或者全部,智能电话、可穿戴设备(个人中枢)、个人或移动多媒体播放器、个人数字助理(PDA)、膝上型计算机、平板电脑、智能本、掌上型计算机以及类似的个人电子设备,上述移动终端可以包括网络接口、处理器、存储器、音频处理电路、麦克风、可旋转摄像头、可旋转闪光灯(可旋转闪光灯和可旋转摄像头例如可以位于移动终端的顶部),并且包括可以在内部或外部的音频放大器以及包括连接到音频放大器的扬声器单元。Wherein, the mobile terminal can be, for example, any one or all of the following, smart phone, wearable device (personal hub), personal or mobile multimedia player, personal digital assistant (PDA), laptop computer, tablet computer , smart books, palmtop computers and similar personal electronic devices, the above-mentioned mobile terminals may include network interface, processor, memory, audio processing circuit, microphone, rotatable camera, rotatable flashlight (rotatable flashlight and rotatable camera can for example located on the top of the mobile terminal), and includes an audio amplifier which may be internal or external and includes a speaker unit connected to the audio amplifier.
S102、若判断出所述来电呼叫为视频来电呼叫,判断移动终端的可旋转摄像头是否满足第一旋转条件。S102. If it is determined that the incoming call is a video incoming call, determine whether the rotatable camera of the mobile terminal satisfies a first rotation condition.
本发明实施例中,判断所述移动终端的可旋转摄像头是否满足第一旋转条件是由于视频来电需要开启摄像头来采集图像信息,因此在接听视频来电之前,需要判断所述移动终端的可旋转摄像头是否需要旋转至对准用户的位置,来判断所述移动终端的可旋转摄像头是否满足第一旋转条件。判断所述移动终端的可旋转摄像头是否满足第一旋转条件可以由以下方式实现:启动所述可旋转摄像头;控制所述可旋转摄像头进行拍摄,以得到图像信息W;将所述图像信息W与预先存储的用户的图像信息进行匹配;若将所述图像信息W与预先存储的用户的图像信息匹配不一致,表示所述可旋转摄像头所处的当前位置采集不到用户的图像信息,则判断出所述移动终端的可旋转摄像头满足第一旋转条件;若将所述图像信息W与预先存储的用户的图像信息匹配一致,表示所述可旋转摄像头所处的当前位置可采集到用户的图像信息,判断出所述移动终端的可旋转摄像头不满足第一旋转条件。In the embodiment of the present invention, judging whether the rotatable camera of the mobile terminal satisfies the first rotation condition is because the video call needs to turn on the camera to collect image information, so before answering the video call, it is necessary to judge the rotatable camera of the mobile terminal It is determined whether the rotatable camera of the mobile terminal satisfies the first rotation condition whether it needs to be rotated to a position aimed at the user. Judging whether the rotatable camera of the mobile terminal satisfies the first rotation condition can be realized by the following methods: starting the rotatable camera; controlling the rotatable camera to take pictures to obtain image information W; combining the image information W with Match the image information of the user stored in advance; if the image information W is inconsistent with the image information of the user stored in advance, it means that the current position of the rotatable camera cannot collect the image information of the user, then it is judged that The rotatable camera of the mobile terminal satisfies the first rotation condition; if the image information W is matched with the pre-stored user image information, it means that the current position of the rotatable camera can collect the user's image information , judging that the rotatable camera of the mobile terminal does not meet the first rotation condition.
S103、若判断出所述可旋转摄像头满足第一旋转条件,获取所述可旋转摄像头的第一旋转角度。S103. If it is determined that the rotatable camera satisfies a first rotation condition, acquire a first rotation angle of the rotatable camera.
本发明实施例中,在移动终端判断出所述可旋转摄像头满足第一旋转条件后,移动终端需要获取所述可旋转摄像头的第一旋转角度。获取所述可旋转摄像头的第一旋转角度可由以下方式实现:通过所述可旋转摄像头获取所述移动终端周围环境的图像信息;将获取到的所述图像信息与预先存储的用户的图像信息进行匹配,以得到用户的位置信息;根据所述用户的位置信息确定所述可旋转摄像头的第一旋转角度值。In the embodiment of the present invention, after the mobile terminal determines that the rotatable camera satisfies the first rotation condition, the mobile terminal needs to acquire the first rotation angle of the rotatable camera. Obtaining the first rotation angle of the rotatable camera can be achieved in the following manner: acquiring image information of the surrounding environment of the mobile terminal through the rotatable camera; comparing the acquired image information with the pre-stored image information of the user matching to obtain the location information of the user; and determine the first rotation angle value of the rotatable camera according to the location information of the user.
在另一实施例中,获取所述可旋转摄像头的第一旋转角度也可由以下方式实现:提示用户是否启动视频来电;若接收到用户的语音确认指令,获取所述用户的声纹信息,以得到所述用户的位置信息;根据所述用户的位置信息确定所述可旋转摄像头的第一旋转角度值。In another embodiment, obtaining the first rotation angle of the rotatable camera can also be achieved by: prompting the user whether to start a video call; if receiving a voice confirmation instruction from the user, obtaining the voiceprint information of the user, and Obtaining the location information of the user; determining a first rotation angle value of the rotatable camera according to the location information of the user.
S104、控制所述可旋转摄像头旋转至所述第一旋转角度。S104. Control the rotatable camera to rotate to the first rotation angle.
本发明实施例中,控制所述可旋转摄像头旋转至所述第一旋转角度可由以下方式实现:通过移动终端的霍尔传感器实现将所述可旋转摄像头旋转至所述第一旋转角度。In the embodiment of the present invention, controlling the rotation of the rotatable camera to the first rotation angle may be implemented in the following manner: the rotation of the rotatable camera to the first rotation angle is realized through a Hall sensor of the mobile terminal.
S105、接听视频来电后,通过所述可旋转摄像头获取图像。S105. After answering the incoming video call, acquire an image through the rotatable camera.
本发明实施例中,在接听视频来电后,所述移动终端通过所述可旋转摄像头实时获取用户的图像信息,并将获取到的用户的图像信息传送至服务器,服务器在将图像信息传送至另一终端,从而实现了视频通话。In the embodiment of the present invention, after answering the incoming video call, the mobile terminal obtains the image information of the user in real time through the rotatable camera, and transmits the acquired image information of the user to the server, and the server transmits the image information to another A terminal, thus realizing the video call.
本发明实施例中,由于来电呼叫有视频来电呼叫和非视频来电呼叫,因此在接收到来电呼叫时,先判断所述来电呼叫是否为视频来电呼叫;若判断出所述来电呼叫为视频来电呼叫,判断移动终端的可旋转摄像头是否满足第一旋转条件,即判断可旋转摄像头当前是否处于可采集到用户图像的位置;若判断出所述可旋转摄像头满足第一旋转条件,即判断可旋转摄像头当前不处于可采集到用户图像的位置,获取所述可旋转摄像头的第一旋转角度;控制所述可旋转摄像头旋转至所述第一旋转角度;接听视频来电后,通过所述可旋转摄像头获取图像。通过可旋转摄像头来提高摄像头的灵活性,且所述可旋转摄像头的提出有利于更好的满足一些场景下用户灵活多变的需求,进而提高了用户体验效果。In the embodiment of the present invention, since incoming calls include video incoming calls and non-video incoming calls, when receiving an incoming call, first determine whether the incoming call is a video incoming call; if it is determined that the incoming call is a video incoming call , to determine whether the rotatable camera of the mobile terminal satisfies the first rotation condition, that is, to determine whether the rotatable camera is currently in a position where user images can be collected; if it is determined that the rotatable camera meets the first rotation condition, it is determined that the rotatable camera Currently not in a position where user images can be collected, acquire the first rotation angle of the rotatable camera; control the rotation of the rotatable camera to the first rotation angle; image. The flexibility of the camera is improved by using the rotatable camera, and the proposal of the rotatable camera is conducive to better satisfying flexible and changeable needs of users in some scenarios, thereby improving the user experience effect.
可选的,在判断所述来电呼叫是否为视频来电呼叫之前,为了防止所述移动终端的扬声器因障碍物阻挡而使得来电铃声的声音变小,可能导致用户听不到来电铃声而错过来电呼叫,例如,一般智能手机的扬声器置于机身的背面,当用户将智能手机正放(屏幕朝上)放置在桌面上时,此时,若智能手机接收到来电呼叫,而因智能手机的扬声器被桌面阻挡而使得来电铃声的声音变小,可能导致用户听不到来电铃声而错过该来电,因此,可旋转摄像头的控制方法,还可包括:判断所述可旋转摄像头是否满足第二旋转条件;若判断出所述可旋转摄像头满足第二旋转条件,获取所述可旋转摄像头的第二旋转角度值;控制所述可旋转摄像头旋转至所述第二旋转角度。Optionally, before judging whether the incoming call is a video incoming call, in order to prevent the speaker of the mobile terminal from being blocked by obstacles, the sound of the incoming ringtone may become smaller, which may cause the user to miss the incoming call because the user cannot hear the incoming ringtone , for example, the speaker of a general smart phone is placed on the back of the fuselage. Blocking by the desktop makes the sound of the ringtone of the incoming call smaller, which may cause the user to miss the incoming call without hearing the ringtone of the incoming call. Therefore, the control method for the rotatable camera may also include: judging whether the rotatable camera satisfies the second rotation condition ; if it is determined that the rotatable camera satisfies the second rotation condition, acquiring a second rotation angle value of the rotatable camera; controlling the rotatable camera to rotate to the second rotation angle.
其中,判断所述可旋转摄像头是否满足第二旋转条件可由以下方式实现:检测所述移动终端的扬声器所播放的声音信号遇到障碍物后的反馈能量和反馈时间;判断所述反馈能量是否大于预设能量,并判断所述反馈时间是否小于预设时间;若判断出所述反馈能量大于预设能量且所述反馈时间小于预设时间,则判断出所述可旋转摄像头满足第二旋转条件。Wherein, judging whether the rotatable camera satisfies the second rotation condition can be realized in the following manner: detecting the feedback energy and feedback time after the sound signal played by the loudspeaker of the mobile terminal encounters an obstacle; judging whether the feedback energy is greater than preset energy, and judge whether the feedback time is less than the preset time; if it is judged that the feedback energy is greater than the preset energy and the feedback time is shorter than the preset time, it is judged that the rotatable camera satisfies the second rotation condition .
可选的,在判断所述来电呼叫是否为视频来电呼叫之后,可旋转摄像头的控制方法,还可包括:若判断出所述来电呼叫不为视频来电呼叫,判断所述可旋转摄像头是否满足复位条件;若判断出所述可旋转摄像头满足复位条件,则获取所述可旋转摄像头的第二旋转角度值;控制所述可旋转摄像头旋转至所述第三旋转角度。Optionally, after judging whether the incoming call is a video incoming call, the method for controlling the rotatable camera may further include: if it is judged that the incoming call is not a video incoming call, judging whether the rotatable camera satisfies reset Conditions; if it is determined that the rotatable camera satisfies the reset condition, then acquire a second rotation angle value of the rotatable camera; and control the rotatable camera to rotate to the third rotation angle.
可选的,在通过所述可旋转摄像头获取图像之后,可旋转摄像头的控制方法,还可包括:获取所述用户当前的环境亮度;根据所述环境亮度判断是否满足闪光灯开启条件;若判断出满足闪光灯开启条件,获取用户与所述移动终端之间的距离;根据所述用户与所述移动终端之间的距离调整所述闪光灯的输出功率,并开启所述闪光灯。Optionally, after the image is acquired by the rotatable camera, the control method of the rotatable camera may further include: acquiring the current ambient brightness of the user; judging whether the condition for turning on the flash is met according to the ambient brightness; The condition for turning on the flashlight is met, and the distance between the user and the mobile terminal is acquired; the output power of the flashlight is adjusted according to the distance between the user and the mobile terminal, and the flashlight is turned on.
为便于更好的理解和实施本发明实施例的上述方案,下面结合一些具体的应用场景进行举例说明。In order to facilitate a better understanding and implementation of the above-mentioned solutions of the embodiments of the present invention, some specific application scenarios are used for illustration below.
请参见图2,图2为本发明实施例提供的可旋转摄像头的控制方法的第二实施例的流程图示意图,其中,如图2所示,本发明的一个实施例提供的一种可旋转摄像头的控制方法可以包括步骤S201~S212:Please refer to Fig. 2, Fig. 2 is a schematic flowchart of the second embodiment of the control method of the rotatable camera provided by the embodiment of the present invention, wherein, as shown in Fig. 2, a rotatable camera provided by an embodiment of the present invention The camera control method may include steps S201-S212:
S201、移动终端接收来电呼叫。S201. The mobile terminal receives an incoming call.
S202、所述移动终端判断所述可旋转摄像头是否满足第二旋转条件。S202. The mobile terminal judges whether the rotatable camera satisfies a second rotation condition.
若是,则执行步骤S203。If yes, execute step S203.
若否,则不做任何操作。If not, do nothing.
S203、若所述移动终端判断出所述可旋转摄像头满足第二旋转条件,所述移动终端获取所述可旋转摄像头的第二旋转角度值。S203. If the mobile terminal determines that the rotatable camera satisfies a second rotation condition, the mobile terminal acquires a second rotation angle value of the rotatable camera.
S204、所述移动终端控制所述可旋转摄像头旋转至所述第二旋转角度。S204. The mobile terminal controls the rotatable camera to rotate to the second rotation angle.
S205、所述移动终端判断所述来电呼叫是否为视频来电呼叫。S205. The mobile terminal determines whether the incoming call is an incoming video call.
若是,则执行步骤S209。If yes, execute step S209.
若否,则执行步骤S206。If not, execute step S206.
S206、若所述移动终端判断出所述来电呼叫不为视频来电呼叫,所述移动终端判断所述可旋转摄像头是否满足复位条件。S206. If the mobile terminal determines that the incoming call is not a video incoming call, the mobile terminal determines whether the rotatable camera meets a reset condition.
S207、若所述移动终端判断出所述可旋转摄像头满足复位条件,则所述移动终端获取所述可旋转摄像头的第三旋转角度值。S207. If the mobile terminal determines that the rotatable camera meets a reset condition, the mobile terminal acquires a third rotation angle value of the rotatable camera.
若是,则执行步骤S208。If yes, execute step S208.
若否,则不做任何操作。If not, do nothing.
S208、所述移动终端控制所述可旋转摄像头旋转至所述第三旋转角度。S208. The mobile terminal controls the rotatable camera to rotate to the third rotation angle.
S209、若所述移动终端判断出所述来电呼叫为视频来电呼叫,所述移动终端判断所述移动终端的可旋转摄像头是否满足第一旋转条件。S209. If the mobile terminal determines that the incoming call is a video incoming call, the mobile terminal determines whether the rotatable camera of the mobile terminal satisfies a first rotation condition.
若是,则执行步骤S210。If yes, execute step S210.
若否,则不做任何操作。If not, do nothing.
S210、若所述移动终端判断出所述可旋转摄像头满足第一旋转条件,所述移动终端获取所述可旋转摄像头的第一旋转角度。S210. If the mobile terminal determines that the rotatable camera satisfies a first rotation condition, the mobile terminal acquires a first rotation angle of the rotatable camera.
S211、所述移动终端控制所述可旋转摄像头旋转至所述第一旋转角度。S211. The mobile terminal controls the rotatable camera to rotate to the first rotation angle.
S212、接听视频来电后,所述移动终端通过所述可旋转摄像头获取图像。S212. After answering the incoming video call, the mobile terminal acquires an image through the rotatable camera.
其中,移动终端例如可以是下面中的任何一项或者全部,智能电话、可穿戴设备(个人中枢)、个人或移动多媒体播放器、个人数字助理(PDA)、膝上型计算机、平板电脑、智能本、掌上型计算机以及类似的个人电子设备,上述移动终端可以包括网络接口、处理器、存储器、音频处理电路、麦克风、可旋转摄像头、可旋转闪光灯(可旋转闪光灯和可旋转摄像头例如可以位于移动终端的顶部),并且包括可以在内部或外部的音频放大器以及包括连接到音频放大器的扬声器单元。Wherein, the mobile terminal can be, for example, any or all of the following, smart phone, wearable device (personal hub), personal or mobile multimedia player, personal digital assistant (PDA), laptop computer, tablet computer, smartphone Notebooks, palmtop computers, and similar personal electronic devices, the above-mentioned mobile terminals may include a network interface, a processor, a memory, an audio processing circuit, a microphone, a rotatable camera, a rotatable flashlight (the rotatable flashlight and the rotatable camera, for example, may be located in a mobile terminal) and includes an audio amplifier which may be internal or external and includes a speaker unit connected to the audio amplifier.
本发明实施例中,在接收到来电呼叫时,为了防止所述移动终端的扬声器因障碍物阻挡而使得来电铃声的声音变小,可能导致用户听不到来电铃声而错过来电呼叫,因此需要判断所述可旋转摄像头是否满足旋转条件,若是,获取所述可旋转摄像头的旋转角度值;控制所述可旋转摄像头旋转至该旋转角度。以确保所述移动终端的扬声器不被障碍物阻挡,而使得用户能及时接听来电呼叫,从而提高了用户体验效果。In the embodiment of the present invention, when receiving an incoming call, in order to prevent the speaker of the mobile terminal from being blocked by obstacles, the sound of the incoming ringtone may be reduced, which may cause the user to miss the incoming call because the user cannot hear the incoming ringtone, so it is necessary to judge Whether the rotatable camera satisfies the rotation condition, if so, obtain the rotation angle value of the rotatable camera; control the rotatable camera to rotate to the rotation angle. In order to ensure that the loudspeaker of the mobile terminal is not blocked by obstacles, the user can answer incoming calls in time, thereby improving user experience.
另外,在判断所述可旋转摄像头是否满足旋转条件之后,判断所述来电呼叫是否为视频来电呼叫;若是,判断所述移动终端的可旋转摄像头是否满足旋转条件;若是,获取所述可旋转摄像头的旋转角度;控制所述可旋转摄像头旋转至该旋转角度;接听视频来电后,通过所述可旋转摄像头获取图像。通过可旋转摄像头来提高摄像头的灵活性,且所述可旋转摄像头的提出有利于更好的满足一些场景下用户灵活多变的需求,进而提高了用户体验效果。In addition, after judging whether the rotatable camera satisfies the rotation condition, it is judged whether the incoming call is a video call; if so, judging whether the rotatable camera of the mobile terminal satisfies the rotation condition; if so, acquiring the rotatable camera the rotation angle; control the rotatable camera to rotate to the rotation angle; after answering the video call, acquire images through the rotatable camera. The flexibility of the camera is improved by using the rotatable camera, and the proposal of the rotatable camera is conducive to better satisfying flexible and changeable needs of users in some scenarios, thereby improving the user experience effect.
请参见图3,图3为本发明实施例提供的可旋转摄像头的控制方法的第三实施例的流程图示意图,其中,如图3所示,本发明的一个实施例提供的一种可旋转摄像头的控制方法可以包括步骤S301~S316:Please refer to FIG. 3. FIG. 3 is a schematic flowchart of the third embodiment of the control method of the rotatable camera provided by the embodiment of the present invention. As shown in FIG. 3, a rotatable camera provided by an embodiment of the present invention The camera control method may include steps S301-S316:
S301、移动终端接收来电呼叫。S301. The mobile terminal receives an incoming call.
S302、所述移动终端判断所述可旋转摄像头是否满足第二旋转条件。S302. The mobile terminal judges whether the rotatable camera satisfies a second rotation condition.
若是,则执行步骤S303。If yes, execute step S303.
若否,则不做任何操作。If not, do nothing.
S303、若所述移动终端判断出所述可旋转摄像头满足第二旋转条件,所述移动终端获取所述可旋转摄像头的第二旋转角度值。S303. If the mobile terminal determines that the rotatable camera satisfies a second rotation condition, the mobile terminal acquires a second rotation angle value of the rotatable camera.
S304、所述移动终端控制所述可旋转摄像头旋转至所述第二旋转角度。S304. The mobile terminal controls the rotatable camera to rotate to the second rotation angle.
S305、所述移动终端判断所述来电呼叫是否为视频来电呼叫。S305. The mobile terminal determines whether the incoming call is an incoming video call.
若是,则执行步骤S309。If yes, execute step S309.
若否,则执行步骤S306。If not, execute step S306.
S306、若所述移动终端判断出所述来电呼叫不为视频来电呼叫,所述移动终端判断所述可旋转摄像头是否满足复位条件。S306. If the mobile terminal determines that the incoming call is not a video incoming call, the mobile terminal determines whether the rotatable camera meets a reset condition.
S307、若所述移动终端判断出所述可旋转摄像头满足复位条件,则所述移动终端获取所述可旋转摄像头的第三旋转角度值。S307. If the mobile terminal determines that the rotatable camera meets a reset condition, the mobile terminal acquires a third rotation angle value of the rotatable camera.
若是,则执行步骤S308。If yes, execute step S308.
若否,则不做任何操作。If not, do nothing.
S308、所述移动终端控制所述可旋转摄像头旋转至所述第三旋转角度。S308. The mobile terminal controls the rotatable camera to rotate to the third rotation angle.
S309、若所述移动终端判断出所述来电呼叫为视频来电呼叫,所述移动终端判断所述移动终端的可旋转摄像头是否满足第一旋转条件。S309. If the mobile terminal determines that the incoming call is a video incoming call, the mobile terminal determines whether the rotatable camera of the mobile terminal satisfies a first rotation condition.
若是,则执行步骤S310。If yes, execute step S310.
若否,则不做任何操作。If not, do nothing.
S310、若所述移动终端判断出所述可旋转摄像头满足第一旋转条件,所述移动终端获取所述可旋转摄像头的第一旋转角度。S310. If the mobile terminal determines that the rotatable camera satisfies a first rotation condition, the mobile terminal acquires a first rotation angle of the rotatable camera.
S311、所述移动终端控制所述可旋转摄像头旋转至所述第一旋转角度。S311. The mobile terminal controls the rotatable camera to rotate to the first rotation angle.
S312、接听视频来电后,所述移动终端通过所述可旋转摄像头获取图像。S312. After answering the incoming video call, the mobile terminal acquires an image through the rotatable camera.
S313、所述移动终端获取所述用户当前的环境亮度。S313. The mobile terminal acquires the current ambient brightness of the user.
S314、所述移动终端根据所述环境亮度判断是否满足闪光灯开启条件。S314. The mobile terminal determines whether a condition for turning on a flashlight is met according to the ambient brightness.
若是,则执行步骤S315。If yes, execute step S315.
若否,则不做任何操作。If not, do nothing.
S315、若判断出满足闪光灯开启条件,所述移动终端获取用户与所述移动终端之间的距离。S315. If it is determined that the condition for turning on the flashlight is met, the mobile terminal obtains the distance between the user and the mobile terminal.
S316、所述移动终端根据所述用户与所述移动终端之间的距离调整所述闪光灯的输出功率,并开启所述闪光灯。S316. The mobile terminal adjusts the output power of the flashlight according to the distance between the user and the mobile terminal, and turns on the flashlight.
其中,移动终端例如可以是下面中的任何一项或者全部,智能电话、可穿戴设备(个人中枢)、个人或移动多媒体播放器、个人数字助理(PDA)、膝上型计算机、平板电脑、智能本、掌上型计算机以及类似的个人电子设备,上述移动终端可以包括网络接口、处理器、存储器、音频处理电路、麦克风、可旋转摄像头、可旋转闪光灯(可旋转闪光灯和可旋转摄像头例如可以位于移动终端的顶部),并且包括可以在内部或外部的音频放大器以及包括连接到音频放大器的扬声器单元。Wherein, the mobile terminal can be, for example, any or all of the following, smart phone, wearable device (personal hub), personal or mobile multimedia player, personal digital assistant (PDA), laptop computer, tablet computer, smartphone Notebooks, palmtop computers, and similar personal electronic devices, the above-mentioned mobile terminals may include a network interface, a processor, a memory, an audio processing circuit, a microphone, a rotatable camera, a rotatable flashlight (the rotatable flashlight and the rotatable camera, for example, may be located in a mobile terminal) and includes an audio amplifier which may be internal or external and includes a speaker unit connected to the audio amplifier.
本发明实施例中,在接收到来电呼叫时,为了防止所述移动终端的扬声器因障碍物阻挡而使得来电铃声的声音变小,可能导致用户听不到来电铃声而错过来电呼叫,因此需要判断所述可旋转摄像头是否满足旋转条件,若是,获取所述可旋转摄像头的旋转角度值;控制所述可旋转摄像头旋转至该旋转角度。以确保所述移动终端的扬声器不被障碍物阻挡,而使得用户能及时接听来电呼叫,从而提高了用户体验效果。In the embodiment of the present invention, when receiving an incoming call, in order to prevent the speaker of the mobile terminal from being blocked by obstacles, the sound of the incoming ringtone may be reduced, which may cause the user to miss the incoming call because the user cannot hear the incoming ringtone, so it is necessary to judge Whether the rotatable camera satisfies the rotation condition, if so, obtain the rotation angle value of the rotatable camera; control the rotatable camera to rotate to the rotation angle. In order to ensure that the loudspeaker of the mobile terminal is not blocked by obstacles, the user can answer incoming calls in time, thereby improving user experience.
另外,在判断所述可旋转摄像头是否满足旋转条件之后,判断所述来电呼叫是否为视频来电呼叫;若是,判断所述移动终端的可旋转摄像头是否满足旋转条件;若是,获取所述可旋转摄像头的旋转角度;控制所述可旋转摄像头旋转至该旋转角度;接听视频来电后,通过所述可旋转摄像头获取图像。通过可旋转摄像头来提高摄像头的灵活性,且所述可旋转摄像头的提出有利于更好的满足一些场景下用户灵活多变的需求,进而提高了用户体验效果。In addition, after judging whether the rotatable camera satisfies the rotation condition, it is judged whether the incoming call is a video call; if so, judging whether the rotatable camera of the mobile terminal satisfies the rotation condition; if so, acquiring the rotatable camera the rotation angle; control the rotatable camera to rotate to the rotation angle; after answering the video call, acquire images through the rotatable camera. The flexibility of the camera is improved by using the rotatable camera, and the proposal of the rotatable camera is conducive to better satisfying flexible and changeable needs of users in some scenarios, thereby improving the user experience effect.
另外,为了视频通话传输的图像效果,通过所述可旋转摄像头获取图像之后,需要判断用户当前的环境是否需要闪光灯进行补光,若是,获取用户与所述移动终端之间的距离,根据所述用户与所述移动终端之间的距离调整所述闪光灯的输出功率,并开启所述闪光灯,以提高视频通话传输的图像的成像效果。In addition, for the image effect of video call transmission, after the image is acquired by the rotatable camera, it is necessary to judge whether the user’s current environment needs a flashlight for supplementary light, and if so, obtain the distance between the user and the mobile terminal, according to the The distance between the user and the mobile terminal adjusts the output power of the flashlight, and turns on the flashlight, so as to improve the imaging effect of the image transmitted by the video call.
请参见图4,图4为本发明实施例提供的一种移动终端400的结构示意图,该移动终端包括:Please refer to FIG. 4. FIG. 4 is a schematic structural diagram of a mobile terminal 400 provided by an embodiment of the present invention. The mobile terminal includes:
第一判断单元401,用于在接收到来电呼叫时,判断所述来电呼叫是否为视频来电呼叫。The first judging unit 401 is configured to, when receiving an incoming call, judge whether the incoming call is an incoming video call.
第二判断单元402,用于若第一判断单元判断出所述来电呼叫为视频来电呼叫,判断移动终端的可旋转摄像头是否满足第一旋转条件。The second judging unit 402 is configured to judge whether the rotatable camera of the mobile terminal satisfies the first rotation condition if the first judging unit judges that the incoming call is a video incoming call.
第一获取单元403,用于若第二判断单元判断出所述可旋转摄像头满足第一旋转条件,获取所述可旋转摄像头的第一旋转角度。The first obtaining unit 403 is configured to obtain a first rotation angle of the rotatable camera if the second judging unit judges that the rotatable camera satisfies a first rotation condition.
第一控制单元404,用于控制所述可旋转摄像头旋转至所述第一旋转角度。The first control unit 404 is configured to control the rotatable camera to rotate to the first rotation angle.
第二获取单元405,用于接听视频来电后,通过所述可旋转摄像头获取图像。The second acquisition unit 405 is configured to acquire an image through the rotatable camera after answering the video call.
其中,所述第一判断单元401包括:Wherein, the first judging unit 401 includes:
第一启动单元(未图示),用于启动所述可旋转摄像头;A first starting unit (not shown), used to start the rotatable camera;
第四控制单元(未图示),用于控制所述可旋转摄像头进行拍摄,以得到图像信息W;A fourth control unit (not shown), used to control the rotatable camera to take pictures to obtain image information W;
第一匹配单元(未图示),用于将所述图像信息W与预先存储的用户的图像信息进行匹配,以使得通过判断所述图像信息W与预先存储的用户的图像信息是否匹配从而判断所述移动终端的可旋转摄像头是否满足第一旋转条件。The first matching unit (not shown) is configured to match the image information W with the pre-stored user image information, so as to determine whether the image information W matches the pre-stored user image information. Whether the rotatable camera of the mobile terminal satisfies the first rotation condition.
其中,所述第一获取单元403包括:Wherein, the first obtaining unit 403 includes:
第五获取单元(未图示),用于通过所述可旋转摄像头获取所述移动终端周围环境的图像信息;A fifth acquisition unit (not shown), configured to acquire image information of the surrounding environment of the mobile terminal through the rotatable camera;
第二匹配单元(未图示),用于将获取到的所述图像信息与预先存储的用户的图像信息进行匹配,以得到用户的位置信息;A second matching unit (not shown), configured to match the acquired image information with pre-stored user image information to obtain user location information;
确定单元(未图示),用于根据所述用户的位置信息确定所述可旋转摄像头的第一旋转角度值。A determination unit (not shown), configured to determine a first rotation angle value of the rotatable camera according to the user's location information.
可选的,在第一判断单元401在接收到来电呼叫时,判断所述来电呼叫是否为视频来电呼叫之前,所述移动终端还包括:Optionally, before the first judging unit 401 judges whether the incoming call is an incoming video call when receiving the incoming call, the mobile terminal further includes:
第三判断单元(未图示),用于判断所述可旋转摄像头是否满足第二旋转条件A third judging unit (not shown), used to judge whether the rotatable camera satisfies the second rotation condition
第三获取单元(未图示),用于若所述第三判断单元判断出所述可旋转摄像头满足第二旋转条件,获取所述可旋转摄像头的第二旋转角度值;A third acquisition unit (not shown), configured to acquire a second rotation angle value of the rotatable camera if the third judging unit determines that the rotatable camera satisfies a second rotation condition;
第二控制单元(未图示),用于控制所述可旋转摄像头旋转至所述第二旋转角度。A second control unit (not shown) is configured to control the rotatable camera to rotate to the second rotation angle.
其中,所述第三判断包括:Wherein, the third judgment includes:
检测单元(未图示),用于检测所述移动终端的扬声器所播放的声音信号遇到障碍物后的反馈能量和反馈时间;A detection unit (not shown), used to detect the feedback energy and feedback time after the sound signal played by the speaker of the mobile terminal encounters an obstacle;
第四判断单元(未图示),用于判断所述反馈能量是否大于预设能量,并判断所述反馈时间是否小于预设时间;A fourth judging unit (not shown), for judging whether the feedback energy is greater than a preset energy, and judging whether the feedback time is shorter than a preset time;
若所述第四判断单元判断出所述反馈能量大于预设能量且所述反馈时间小于预设时间,则判断出所述可旋转摄像头满足第二旋转条件。If the fourth judging unit judges that the feedback energy is greater than a preset energy and the feedback time is shorter than a preset time, it is judged that the rotatable camera satisfies a second rotation condition.
可选的,在第一判断单元401在接收到来电呼叫时,判断所述来电呼叫是否为视频来电呼叫之后,所述移动终端还包括:Optionally, after the first judging unit 401 judges whether the incoming call is an incoming video call when receiving the incoming call, the mobile terminal further includes:
第五判断单元(未图示),用于若所述第一判断单元判断出所述来电呼叫不为视频来电呼叫,判断所述可旋转摄像头是否满足复位条件;A fifth judging unit (not shown), configured to judge whether the rotatable camera meets the reset condition if the first judging unit judges that the incoming call is not a video incoming call;
第四获取单元(未图示),用于若所述第五判断单元判断出所述可旋转摄像头满足复位条件,则获取所述可旋转摄像头的第二旋转角度值;A fourth acquiring unit (not shown), configured to acquire a second rotation angle value of the rotatable camera if the fifth judging unit judges that the rotatable camera satisfies a reset condition;
第三控制单元(未图示),用于控制所述可旋转摄像头旋转至所述第三旋转角度。A third control unit (not shown), configured to control the rotatable camera to rotate to the third rotation angle.
可选的,所述第二获取单元405在接听视频来电后,通过所述可旋转摄像头获取图像之后,所述移动终端还包括:Optionally, after the second acquiring unit 405 answers an incoming video call and acquires an image through the rotatable camera, the mobile terminal further includes:
第六获取单元(未图示),用于获取所述用户当前的环境亮度;A sixth acquisition unit (not shown), configured to acquire the current ambient brightness of the user;
第六判断单元(未图示),用于根据所述环境亮度判断是否满足闪光灯开启条件;A sixth judging unit (not shown), configured to judge whether the condition for turning on the flashlight is met according to the ambient brightness;
第七获取单元(未图示),用于若所述第六判断单元判断出满足闪光灯开启条件,获取用户与所述移动终端之间的距离;A seventh acquiring unit (not shown), configured to acquire the distance between the user and the mobile terminal if the sixth judging unit judges that the condition for turning on the flashlight is satisfied;
调整单元(未图示),用于根据所述用户与所述移动终端之间的距离调整所述闪光灯的输出功率;an adjustment unit (not shown), configured to adjust the output power of the flashlight according to the distance between the user and the mobile terminal;
第二开启单元(未图示),用于开启所述闪光灯。The second opening unit (not shown) is used to open the flashlight.
可以理解的是,本实施例的移动终端400的各功能模块的功能可根据所述方法实施例中的方法具体实现,其具体实现过程可以参照所述方法实施例的相关描述,此处不再赘述。It can be understood that the functions of the functional modules of the mobile terminal 400 in this embodiment can be specifically implemented according to the method in the method embodiment, and the specific implementation process can refer to the relevant description of the method embodiment, which will not be repeated here. repeat.
其中,移动终端例如可以是下面中的任何一项或者全部,智能电话、可穿戴设备(个人中枢)、个人或移动多媒体播放器、个人数字助理(PDA)、膝上型计算机、平板电脑、智能本、掌上型计算机以及类似的个人电子设备,上述移动终端可以包括网络接口、处理器、存储器、音频处理电路、麦克风、可旋转摄像头、可旋转闪光灯(可旋转闪光灯和可旋转摄像头例如可以位于移动终端的顶部),并且包括可以在内部或外部的音频放大器以及包括连接到音频放大器的扬声器单元。Wherein, the mobile terminal can be, for example, any or all of the following, smart phone, wearable device (personal hub), personal or mobile multimedia player, personal digital assistant (PDA), laptop computer, tablet computer, smartphone Notebooks, palmtop computers, and similar personal electronic devices, the above-mentioned mobile terminals may include a network interface, a processor, a memory, an audio processing circuit, a microphone, a rotatable camera, a rotatable flashlight (the rotatable flashlight and the rotatable camera, for example, may be located in a mobile terminal) and includes an audio amplifier which may be internal or external and includes a speaker unit connected to the audio amplifier.
本发明实施例中,在接收到来电呼叫时,第一判断单元401判断所述来电呼叫是否为视频来电呼叫;若第一判断单元401判断出所述来电呼叫为视频来电呼叫,第二判断单元402判断所述移动终端的可旋转摄像头是否满足第一旋转条件;若第二判断单元402判断出所述可旋转摄像头满足第一旋转条件,第一获取单元403获取所述可旋转摄像头的第一旋转角度;第一控制单元404控制所述可旋转摄像头旋转至所述第一旋转角度;接听视频来电后,第二获取单元405通过所述可旋转摄像头获取图像。通过可旋转摄像头来提高摄像头的灵活性,且所述可旋转摄像头的提出有利于更好的满足一些场景下用户灵活多变的需求,进而提高了用户体验效果。In the embodiment of the present invention, when receiving an incoming call, the first judging unit 401 judges whether the incoming call is a video incoming call; if the first judging unit 401 judges that the incoming call is a video incoming call, the second judging unit 402 Judging whether the rotatable camera of the mobile terminal satisfies the first rotation condition; Rotation angle: the first control unit 404 controls the rotatable camera to rotate to the first rotation angle; after answering the video call, the second acquisition unit 405 acquires an image through the rotatable camera. The flexibility of the camera is improved by using the rotatable camera, and the proposal of the rotatable camera is conducive to better satisfying flexible and changeable needs of users in some scenarios, thereby improving the user experience effect.
请参见图5,图5为本发明实施例提供的一种移动终端500的结构示意图,该移动终端包括:至少一个输入设备501;至少一个输出设备502;至少一个处理器503,例如CPU;和存储器504,所述输入设备501、输出设备502、处理器503和存储器504通过总线505连接。Please refer to FIG. 5. FIG. 5 is a schematic structural diagram of a mobile terminal 500 provided by an embodiment of the present invention, the mobile terminal includes: at least one input device 501; at least one output device 502; at least one processor 503, such as a CPU; and The memory 504 , the input device 501 , the output device 502 , the processor 503 and the memory 504 are connected through a bus 505 .
其中,所述输入设备501具体可为移动终端的触控面板,包括触摸屏和触控屏,用于检测移动终端触控面板上的操作指令。Wherein, the input device 501 may specifically be a touch panel of a mobile terminal, including a touch screen and a touch screen, and is used for detecting operation instructions on the touch panel of the mobile terminal.
所述输出设备502具体可为移动终端的显示屏,用于输出、显示信息。The output device 502 may specifically be a display screen of a mobile terminal, for outputting and displaying information.
所述存储器504可以是高速RAM存储器,也可为非不稳定的存储器(non-volatile memory),例如磁盘存储器。所述存储器504用于存储一组程序代码,所述输入设备501、输出设备502和处理器503用于调用存储器504中存储的程序代码,执行如下操作:The memory 504 can be a high-speed RAM memory, or a non-volatile memory, such as a disk memory. The memory 504 is used to store a set of program codes, and the input device 501, output device 502 and processor 503 are used to call the program codes stored in the memory 504 to perform the following operations:
所述处理器503,用于在接收到来电呼叫时,判断所述来电呼叫是否为视频来电呼叫;The processor 503 is configured to, when receiving an incoming call, determine whether the incoming call is a video incoming call;
所述处理器503,还用于若判断出所述来电呼叫为视频来电呼叫,判断移动终端的可旋转摄像头是否满足第一旋转条件;The processor 503 is further configured to determine whether the rotatable camera of the mobile terminal satisfies the first rotation condition if it is determined that the incoming call is a video incoming call;
所述处理器503,还用于若判断出所述可旋转摄像头满足第一旋转条件,获取所述可旋转摄像头的第一旋转角度;The processor 503 is further configured to acquire a first rotation angle of the rotatable camera if it is determined that the rotatable camera satisfies a first rotation condition;
所述处理器503,还用于控制所述可旋转摄像头旋转至所述第一旋转角度;The processor 503 is further configured to control the rotatable camera to rotate to the first rotation angle;
所述处理器503,还用于接听视频来电后,通过所述可旋转摄像头获取图像。The processor 503 is also configured to acquire an image through the rotatable camera after answering the video call.
其中,移动终端例如可以是下面中的任何一项或者全部,智能电话、可穿戴设备(个人中枢)、个人或移动多媒体播放器、个人数字助理(PDA)、膝上型计算机、平板电脑、智能本、掌上型计算机以及类似的个人电子设备,上述移动终端可以包括网络接口、处理器、存储器、音频处理电路、麦克风、可旋转摄像头、可旋转闪光灯(可旋转闪光灯和可旋转摄像头例如可以位于移动终端的顶部),并且包括可以在内部或外部的音频放大器以及包括连接到音频放大器的扬声器单元。Wherein, the mobile terminal can be, for example, any or all of the following, smart phone, wearable device (personal hub), personal or mobile multimedia player, personal digital assistant (PDA), laptop computer, tablet computer, smartphone Notebooks, palmtop computers, and similar personal electronic devices, the above-mentioned mobile terminals may include a network interface, a processor, a memory, an audio processing circuit, a microphone, a rotatable camera, a rotatable flashlight (the rotatable flashlight and the rotatable camera, for example, may be located in a mobile terminal) and includes an audio amplifier which may be internal or external and includes a speaker unit connected to the audio amplifier.
在一些可行的实施例中,在判断所述来电呼叫是否为视频来电呼叫之前,所述处理器503还具体用于:In some feasible embodiments, before judging whether the incoming call is a video incoming call, the processor 503 is further specifically configured to:
判断所述可旋转摄像头是否满足第二旋转条件;judging whether the rotatable camera satisfies the second rotation condition;
若判断出所述可旋转摄像头满足第二旋转条件,获取所述可旋转摄像头的第二旋转角度值;If it is determined that the rotatable camera satisfies the second rotation condition, acquiring a second rotation angle value of the rotatable camera;
控制所述可旋转摄像头旋转至所述第二旋转角度。controlling the rotatable camera to rotate to the second rotation angle.
在一些可行的实施例中,所述处理器503还具体用于:In some feasible embodiments, the processor 503 is further specifically configured to:
检测所述移动终端的扬声器所播放的声音信号遇到障碍物后的反馈能量和反馈时间;Detecting the feedback energy and feedback time after the sound signal played by the speaker of the mobile terminal encounters an obstacle;
判断所述反馈能量是否大于预设能量,并判断所述反馈时间是否小于预设时间;judging whether the feedback energy is greater than a preset energy, and judging whether the feedback time is shorter than a preset time;
若判断出所述反馈能量大于预设能量且所述反馈时间小于预设时间,则判断出所述可旋转摄像头满足第二旋转条件。If it is determined that the feedback energy is greater than a preset energy and the feedback time is less than a preset time, it is determined that the rotatable camera satisfies a second rotation condition.
在一些可行的实施例中,在判断所述来电呼叫是否为视频来电呼叫之后,所述处理器503还具体用于:In some feasible embodiments, after determining whether the incoming call is a video incoming call, the processor 503 is further specifically configured to:
若判断出所述来电呼叫不为视频来电呼叫,判断所述可旋转摄像头是否满足复位条件;If it is determined that the incoming call is not a video incoming call, it is judged whether the rotatable camera meets the reset condition;
若判断出所述可旋转摄像头满足复位条件,则获取所述可旋转摄像头的第二旋转角度值;If it is determined that the rotatable camera satisfies the reset condition, then acquire a second rotation angle value of the rotatable camera;
控制所述可旋转摄像头旋转至所述第三旋转角度。controlling the rotatable camera to rotate to the third rotation angle.
在一些可行的实施例中,所述处理器503还具体用于:In some feasible embodiments, the processor 503 is further specifically configured to:
启动所述可旋转摄像头;activate the rotatable camera;
控制所述可旋转摄像头进行拍摄,以得到图像信息W;controlling the rotatable camera to shoot, so as to obtain image information W;
将所述图像信息W与预先存储的用户的图像信息进行匹配,以使得通过判断所述图像信息W与预先存储的用户的图像信息是否匹配从而判断所述移动终端的可旋转摄像头是否满足第一旋转条件。Matching the image information W with the pre-stored image information of the user, so that by judging whether the image information W matches the pre-stored user image information, it is determined whether the rotatable camera of the mobile terminal satisfies the first requirement. rotation condition.
在一些可行的实施例中,所述处理器503还具体用于:In some feasible embodiments, the processor 503 is further specifically configured to:
通过所述可旋转摄像头获取所述移动终端周围环境的图像信息;acquiring image information of the surrounding environment of the mobile terminal through the rotatable camera;
将获取到的所述图像信息与预先存储的用户的图像信息进行匹配,以得到用户的位置信息;matching the acquired image information with the pre-stored image information of the user to obtain the location information of the user;
根据所述用户的位置信息确定所述可旋转摄像头的第一旋转角度值。A first rotation angle value of the rotatable camera is determined according to the location information of the user.
在一些可行的实施例中,在通过所述可旋转摄像头获取图像之后,所述处理器503还具体用于:In some feasible embodiments, after the image is acquired by the rotatable camera, the processor 503 is further specifically configured to:
获取所述用户当前的环境亮度;Obtain the current ambient brightness of the user;
根据所述环境亮度判断是否满足闪光灯开启条件;judging whether the condition for turning on the flashlight is met according to the brightness of the environment;
若判断出满足闪光灯开启条件,获取用户与所述移动终端之间的距离;If it is determined that the condition for turning on the flashlight is met, the distance between the user and the mobile terminal is obtained;
根据所述用户与所述移动终端之间的距离调整所述闪光灯的输出功率,并开启所述闪光灯。Adjusting the output power of the flashlight according to the distance between the user and the mobile terminal, and turning on the flashlight.
具体实现中,本发明实施例中所描述的输入设备501、输出设备502和处理器503可执行本发明实施例提供的可旋转摄像头的控制方法的各实施例中所描述的实现方式,也可执行本发明实施例提供的移动终端的第一实施例中所描述的终端的实现方式,在此不再赘述。In a specific implementation, the input device 501, the output device 502, and the processor 503 described in the embodiment of the present invention can execute the implementation described in each embodiment of the method for controlling the rotatable camera provided in the embodiment of the present invention, or can The implementation of the terminal described in the first embodiment of the mobile terminal provided by the embodiment of the present invention will not be repeated here.
本发明所有实施例中的单元,可以通过通用集成电路,例如CPU(CentralProcessing Unit,中央处理器),或通过ASIC(Application Specific IntegratedCircuit,专用集成电路)来实现。The units in all embodiments of the present invention can be realized by a general-purpose integrated circuit, such as a CPU (Central Processing Unit, central processing unit), or by an ASIC (Application Specific Integrated Circuit, application-specific integrated circuit).
本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the methods of the embodiments of the present invention can be adjusted, combined and deleted according to actual needs.
本发明实施例装置中的模块或单元可以根据实际需要进行合并、划分和删减。The modules or units in the device of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于—计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the programs can be stored in a computer-readable storage medium, the program During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM), etc.
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。The above disclosures are only preferred embodiments of the present invention, and certainly cannot limit the scope of rights of the present invention. Therefore, equivalent changes made according to the claims of the present invention still fall within the scope of the present invention.
Claims (14)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510217809.4A CN104853093B (en) | 2015-04-30 | 2015-04-30 | The control method and mobile terminal of a kind of rotatable camera |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510217809.4A CN104853093B (en) | 2015-04-30 | 2015-04-30 | The control method and mobile terminal of a kind of rotatable camera |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104853093A true CN104853093A (en) | 2015-08-19 |
CN104853093B CN104853093B (en) | 2018-01-23 |
Family
ID=53852426
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510217809.4A Expired - Fee Related CN104853093B (en) | 2015-04-30 | 2015-04-30 | The control method and mobile terminal of a kind of rotatable camera |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104853093B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105045517A (en) * | 2015-08-27 | 2015-11-11 | 广东欧珀移动通信有限公司 | Flashlight adjusting method and user terminal |
CN105791676A (en) * | 2016-02-26 | 2016-07-20 | 广东欧珀移动通信有限公司 | Terminal, imaging device, interactive system, control method and control device thereof |
CN107071328A (en) * | 2016-12-16 | 2017-08-18 | 维沃移动通信有限公司 | A kind of video calling processing method and mobile terminal |
CN108093099A (en) * | 2017-11-07 | 2018-05-29 | 广东欧珀移动通信有限公司 | Mobile terminal falling protection method and system and mobile terminal |
CN108873676A (en) * | 2018-08-08 | 2018-11-23 | 广东小天才科技有限公司 | Control method of smart watch |
CN110177238A (en) * | 2018-11-14 | 2019-08-27 | 广东小天才科技有限公司 | Image shooting method in video call process and wearable device |
CN110278401A (en) * | 2018-03-16 | 2019-09-24 | 优酷网络技术(北京)有限公司 | Video call method and device |
CN111757039A (en) * | 2019-05-09 | 2020-10-09 | 广东小天才科技有限公司 | A wearable device video call method and wearable device |
CN112653863A (en) * | 2019-10-12 | 2021-04-13 | 广东小天才科技有限公司 | Video call implementation, wearable device, computer device and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070132835A1 (en) * | 2001-06-12 | 2007-06-14 | Kang Jae S | Portable phone with camera |
CN201213278Y (en) * | 2008-07-02 | 2009-03-25 | 希姆通信息技术(上海)有限公司 | Intelligent human face tracing device taking image by mobile phone |
US20090096858A1 (en) * | 2007-10-10 | 2009-04-16 | Samsung Electronics Co., Ltd. | Video communication device and camera tracking method thereof |
CN103327168A (en) * | 2012-03-21 | 2013-09-25 | Lg电子株式会社 | Mobile terminal and control method thereof |
CN103701983A (en) * | 2013-11-27 | 2014-04-02 | 英华达(南京)科技有限公司 | Method and system for operating mobile phone applications quickly |
CN104320508A (en) * | 2014-10-27 | 2015-01-28 | 广东欧珀移动通信有限公司 | A mobile terminal with a rotating camera and camera angle control method thereof |
CN104483806A (en) * | 2014-11-21 | 2015-04-01 | 广东欧珀移动通信有限公司 | Method and device for facilitating user self-timing |
CN104506716A (en) * | 2014-12-08 | 2015-04-08 | 上海斐讯数据通信技术有限公司 | Electronic equipment |
CN104580864A (en) * | 2015-01-21 | 2015-04-29 | 广东欧珀移动通信有限公司 | Resetting method and device for camera |
-
2015
- 2015-04-30 CN CN201510217809.4A patent/CN104853093B/en not_active Expired - Fee Related
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070132835A1 (en) * | 2001-06-12 | 2007-06-14 | Kang Jae S | Portable phone with camera |
US20090096858A1 (en) * | 2007-10-10 | 2009-04-16 | Samsung Electronics Co., Ltd. | Video communication device and camera tracking method thereof |
CN201213278Y (en) * | 2008-07-02 | 2009-03-25 | 希姆通信息技术(上海)有限公司 | Intelligent human face tracing device taking image by mobile phone |
CN103327168A (en) * | 2012-03-21 | 2013-09-25 | Lg电子株式会社 | Mobile terminal and control method thereof |
CN103701983A (en) * | 2013-11-27 | 2014-04-02 | 英华达(南京)科技有限公司 | Method and system for operating mobile phone applications quickly |
CN104320508A (en) * | 2014-10-27 | 2015-01-28 | 广东欧珀移动通信有限公司 | A mobile terminal with a rotating camera and camera angle control method thereof |
CN104483806A (en) * | 2014-11-21 | 2015-04-01 | 广东欧珀移动通信有限公司 | Method and device for facilitating user self-timing |
CN104506716A (en) * | 2014-12-08 | 2015-04-08 | 上海斐讯数据通信技术有限公司 | Electronic equipment |
CN104580864A (en) * | 2015-01-21 | 2015-04-29 | 广东欧珀移动通信有限公司 | Resetting method and device for camera |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105045517B (en) * | 2015-08-27 | 2018-01-23 | 广东欧珀移动通信有限公司 | A kind of flash adjustment method and user terminal |
CN105045517A (en) * | 2015-08-27 | 2015-11-11 | 广东欧珀移动通信有限公司 | Flashlight adjusting method and user terminal |
CN105791676A (en) * | 2016-02-26 | 2016-07-20 | 广东欧珀移动通信有限公司 | Terminal, imaging device, interactive system, control method and control device thereof |
CN107071328B (en) * | 2016-12-16 | 2019-12-03 | 维沃移动通信有限公司 | A kind of video calling processing method and mobile terminal |
CN107071328A (en) * | 2016-12-16 | 2017-08-18 | 维沃移动通信有限公司 | A kind of video calling processing method and mobile terminal |
CN108093099B (en) * | 2017-11-07 | 2020-07-24 | Oppo广东移动通信有限公司 | Mobile terminal falling protection method and system and mobile terminal |
CN108093099A (en) * | 2017-11-07 | 2018-05-29 | 广东欧珀移动通信有限公司 | Mobile terminal falling protection method and system and mobile terminal |
CN110278401A (en) * | 2018-03-16 | 2019-09-24 | 优酷网络技术(北京)有限公司 | Video call method and device |
CN108873676A (en) * | 2018-08-08 | 2018-11-23 | 广东小天才科技有限公司 | Control method of smart watch |
CN110177238A (en) * | 2018-11-14 | 2019-08-27 | 广东小天才科技有限公司 | Image shooting method in video call process and wearable device |
CN110177238B (en) * | 2018-11-14 | 2021-01-26 | 广东小天才科技有限公司 | Image capturing method and wearable device during video call |
CN111757039A (en) * | 2019-05-09 | 2020-10-09 | 广东小天才科技有限公司 | A wearable device video call method and wearable device |
CN112653863A (en) * | 2019-10-12 | 2021-04-13 | 广东小天才科技有限公司 | Video call implementation, wearable device, computer device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN104853093B (en) | 2018-01-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104853093B (en) | The control method and mobile terminal of a kind of rotatable camera | |
EP3163748B1 (en) | Method, device and terminal for adjusting volume | |
CN104580992B (en) | A kind of control method and mobile terminal | |
CN105244048B (en) | Audio play control method and device | |
CN104935718B (en) | Control method and mobile terminal | |
CN104992096B (en) | A data protection method and mobile terminal | |
CN104902059A (en) | Call reminding method and device | |
WO2021104347A1 (en) | Camera control method and electronic device | |
CN108134868A (en) | A kind of speaker control method and mobile terminal | |
CN105007368B (en) | The method and mobile terminal of a kind of controlling loudspeaker | |
WO2023011473A1 (en) | Channel switching method and apparatus, and electronic device | |
CN110097872A (en) | A kind of audio-frequency processing method and electronic equipment | |
CN109981904A (en) | A kind of method for controlling volume and terminal device | |
CN104883436A (en) | A method and device for hiding information | |
CN104994285A (en) | Control method of wide-angle camera and electronic terminal | |
CN105007411B (en) | The method and mobile terminal of a kind of distortion correction | |
CN104980582B (en) | The switching method and mobile terminal of a kind of screen | |
CN107105165A (en) | The switching method and device of a kind of exposal model | |
CN110191280A (en) | Photographic method and related products based on cover display | |
CN106101441B (en) | Terminal control method and device | |
US20080266438A1 (en) | Digital camera and method of operation | |
CN108121583A (en) | Screenshotss method and Related product | |
CN105244037B (en) | Audio signal processing method and device | |
CN105049692A (en) | Shooting method and device | |
CN112099364B (en) | Intelligent interaction method for Internet of things household equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CP01 | Change in the name or title of a patent holder | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180123 |
|
CF01 | Termination of patent right due to non-payment of annual fee |