[go: up one dir, main page]

CN108924406A - Photographing method and device, readable storage medium and intelligent terminal - Google Patents

Photographing method and device, readable storage medium and intelligent terminal Download PDF

Info

Publication number
CN108924406A
CN108924406A CN201810609591.0A CN201810609591A CN108924406A CN 108924406 A CN108924406 A CN 108924406A CN 201810609591 A CN201810609591 A CN 201810609591A CN 108924406 A CN108924406 A CN 108924406A
Authority
CN
China
Prior art keywords
camera
module
camera module
default
photographing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810609591.0A
Other languages
Chinese (zh)
Other versions
CN108924406B (en
Inventor
杨蒙
张维元
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shizhen Information Technology Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shizhen Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shizhen Information Technology Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201810609591.0A priority Critical patent/CN108924406B/en
Publication of CN108924406A publication Critical patent/CN108924406A/en
Application granted granted Critical
Publication of CN108924406B publication Critical patent/CN108924406B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/52Details of telephonic subscriber devices including functional features of a camera

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses a photographing method, a photographing device, a readable storage medium and an intelligent terminal, wherein the photographing method is applied to the intelligent terminal and comprises the following steps: receiving a photographing starting instruction sent by a mobile control terminal; judging whether a camera module of the intelligent terminal is in a starting state or not; and if so, shielding the starting operation of the camera module, and controlling the camera module to shoot when receiving a shooting instruction sent by the mobile control terminal. The invention can solve the problem of poor photographing experience.

Description

拍照方法、装置、可读存储介质及智能终端Photographing method, device, readable storage medium and intelligent terminal

技术领域technical field

本发明涉及智能终端技术领域,特别是涉及一种拍照方法、装置、可读存储介质及智能终端。The present invention relates to the technical field of intelligent terminals, in particular to a photographing method, device, readable storage medium and intelligent terminal.

背景技术Background technique

随着科技的进步,智能终端已经进入人们的生活,如平板电脑、智能电视机等,给人们的生活带来了便利。其中,交互智能平板,又称大平板,通常具有较大的屏幕尺寸,它集成了投影机、电子白板、幕布、音响、电视机、视频会议终端的多种功能,适用于群体沟通场合,广泛应用于教育教学、企业会议、商业展示等领域,可有效改善沟通环境、提升群体沟通效率。With the advancement of science and technology, smart terminals have entered people's lives, such as tablet computers, smart TVs, etc., which bring convenience to people's lives. Among them, the interactive smart tablet, also known as the large tablet, usually has a larger screen size. It integrates multiple functions of a projector, electronic whiteboard, curtain, audio, TV, and video conferencing terminal. It is suitable for group communication occasions and is widely used. Applied in education and teaching, corporate meetings, business exhibitions and other fields, it can effectively improve the communication environment and improve the efficiency of group communication.

目前在大平板领域,内置摄像头或者外置摄像头都会成为其标准配置,而拍照也成为大平板的重要功能之一。通常由于大平板的屏幕较大,因此,拍照的操作一般为点击拍照按钮或者使用语音助手等唤起拍照操作。At present, in the field of large tablets, built-in cameras or external cameras will become the standard configuration, and taking pictures has become one of the important functions of large tablets. Usually, due to the large screen of the large tablet, the operation of taking pictures is generally to click a picture taking button or use a voice assistant to arouse the picture taking operation.

但是,采用语音助手的方式进行拍照,会因为语音库的支持或者与大平板屏幕的距离限制,导致发出的拍照语音识别错误或者没有被识别到;而采用点击拍照按钮的方式进行拍照,由于拍照往往被限制在离屏幕很近的一块区域,而当人数较多合影的时候,会出现摆好姿势但无法触发拍照按钮的问题。因此,以上这几种拍照方案都会影响用户的拍照体验。However, taking pictures with a voice assistant will result in incorrect or unrecognized voice recognition for taking pictures due to the support of the voice library or the distance limitation with the large flat screen; It is often limited to an area very close to the screen, and when a large number of people take a group photo, there will be a problem of posing but not being able to trigger the photo button. Therefore, the above several photo-taking solutions will affect the user's photo-taking experience.

发明内容Contents of the invention

为此,本发明的一个目的在于提出一种应用在大平板这类智能终端的拍照方法,以解决拍照体验差的问题。For this reason, an object of the present invention is to propose a method for taking photos applied to smart terminals such as large tablets, so as to solve the problem of poor photo taking experience.

根据本发明一实施例的拍照方法,应用于智能终端中,所述方法包括:The photographing method according to an embodiment of the present invention is applied to a smart terminal, and the method includes:

接收移动控制端发送的拍照启动指令;Receive the camera start command sent by the mobile control terminal;

判断所述智能终端的相机模块是否处于启动状态;Judging whether the camera module of the smart terminal is in a startup state;

若是,则屏蔽所述相机模块的启动操作,并在接收到所述移动控制端发送的拍照指令时,控制所述相机模块进行拍照。If so, shield the start-up operation of the camera module, and control the camera module to take a picture when receiving a picture taking instruction sent by the mobile control terminal.

根据本发明实施例的拍照方法,用户首先通过移动控制端发送拍照启动指令,智能终端接收到该拍照启动指令后启动相机模块,然后在智能终端接收到移动控制端发送的拍照指令时,控制相机模块进行拍照,将传统的触发拍照按钮这种物理连接转换成接收拍照指令的指令连接,整个拍照过程可以不再受特定范围的限制,移动控制端例如是一种与智能终端配合使用的智能触控笔,在实际使用时,用户只需按下移动控制端的相应按钮,发送相应的拍照启动指令以及拍照指令,即可完成拍照,操作更方便,且该拍照方法不依赖语音库,不存在语音识别错误的问题,能够有效提高大平板这类智能终端的拍照体验。According to the photographing method of the embodiment of the present invention, the user first sends a photographing start command through the mobile control terminal, and the smart terminal starts the camera module after receiving the photographing start command, and then controls the camera when the smart terminal receives the photographing command sent by the mobile control terminal. The module takes pictures, and converts the traditional physical connection of triggering the photo button into an instruction connection for receiving photo instructions. The entire photo taking process can no longer be limited by a specific range. Pen control, in actual use, the user only needs to press the corresponding button on the mobile control terminal, send the corresponding camera start command and camera command, and the camera can be completed, the operation is more convenient, and the camera method does not rely on the voice library, there is no voice The problem of identifying errors can effectively improve the camera experience of smart terminals such as large tablets.

另外,根据本发明上述实施例的拍照方法,还可以具有如下附加的技术特征:In addition, the photographing method according to the above-mentioned embodiments of the present invention may also have the following additional technical features:

进一步地,在本发明的一个实施例中,所述相机模块包括至少两个摄像头,所述方法还包括:Further, in an embodiment of the present invention, the camera module includes at least two cameras, and the method further includes:

接收移动控制端发送的拍照启动指令;Receive the camera start command sent by the mobile control terminal;

判断所述相机模块中的默认摄像头是否处于启动状态,所述默认摄像头为所述相机模块中的其中一个摄像头;Judging whether the default camera in the camera module is in the startup state, the default camera is one of the cameras in the camera module;

若是,则屏蔽所述默认摄像头的启动操作,并在接收到所述移动控制端发送的拍照指令时,判断所述默认摄像头与被拍摄物之间的距离在所述相机模块的所有摄像头中是否为最小;If so, then shield the start-up operation of the default camera, and when receiving the photographing instruction sent by the mobile control terminal, judge whether the distance between the default camera and the subject is within the range of all cameras of the camera module. is the smallest;

若是,则控制所述默认摄像头进行拍照。If yes, then control the default camera to take pictures.

进一步地,在本发明的一个实施例中,当判断到所述默认摄像头与被拍摄物之间的距离在所述相机模块的所有摄像头中不是最小时,查找所述相机模块的所有摄像头中距离所述被拍摄物最近的摄像头;Further, in one embodiment of the present invention, when it is determined that the distance between the default camera and the subject is not the smallest among all the cameras of the camera module, the middle distance between all cameras of the camera module is searched The nearest camera of the object to be photographed;

启动所述距离所述被拍摄物最近的摄像头,以及关闭所述默认摄像头;Starting the camera closest to the object to be photographed, and closing the default camera;

控制所述距离所述被拍摄物最近的摄像头进行拍照。Controlling the camera closest to the subject to take pictures.

进一步地,在本发明的一个实施例中,所述判断所述智能终端的相机模块是否处于启动状态的步骤之后,所述方法还包括:Further, in an embodiment of the present invention, after the step of judging whether the camera module of the smart terminal is in the startup state, the method further includes:

若所述智能终端的相机模块未处于所述启动状态,则唤起所述相机模块,以使所述相机模块开启,并在接收到所述移动控制端发送的拍照指令时,控制所述相机模块进行拍照。If the camera module of the smart terminal is not in the startup state, then arouse the camera module, so that the camera module is turned on, and when receiving a photographing instruction sent by the mobile control terminal, control the camera module Take a picture.

进一步地,在本发明的一个实施例中,所述方法还包括:Further, in one embodiment of the present invention, the method also includes:

当接收到所述移动控制端发送的摄像头切换指令时,关闭所述相机模块中处于启动状态的摄像头,以及启动副摄像头,其中,所述副摄像头为所述相机模块中除所述处于启动状态的摄像头以外的另一个摄像头。When receiving the camera switching instruction sent by the mobile control terminal, close the camera in the starting state in the camera module, and start the sub-camera, wherein the sub-camera is the camera module except the one in the starting state a different camera than yours.

进一步地,在本发明的一个实施例中,所述智能终端与所述移动控制端之间通过无线方式连接,所述无线方式是红外、蓝牙、WIFI、NFC中的任一种。Further, in an embodiment of the present invention, the smart terminal is connected to the mobile control terminal through a wireless method, and the wireless method is any one of infrared, bluetooth, WIFI, and NFC.

本发明的另一个目的在于提出一种应用在大平板这类智能终端的拍照装置,以解决拍照体验差的问题。Another object of the present invention is to propose a photographing device applied to smart terminals such as large tablets, so as to solve the problem of poor photographing experience.

根据本发明实施例的拍照装置,应用于智能终端中,所述装置包括:The photographing device according to the embodiment of the present invention is applied to a smart terminal, and the device includes:

接收模块,用于接收移动控制端发送的拍照启动指令;The receiving module is used to receive the camera start command sent by the mobile control terminal;

判断模块,用于判断所述智能终端的相机模块是否处于启动状态;A judging module, configured to judge whether the camera module of the smart terminal is in a startup state;

控制模块,用于当所述判断模块判断到所述智能终端的相机模块处于启动状态时屏蔽所述相机模块的启动操作,并在接收到所述移动控制端发送的拍照指令时,控制所述相机模块进行拍照。A control module, configured to shield the start-up operation of the camera module when the judging module judges that the camera module of the smart terminal is in the start-up state, and when receiving a photographing instruction sent by the mobile control terminal, control the The camera module takes pictures.

另外,根据本发明上述实施例的拍照装置,还可以具有如下附加的技术特征:In addition, the photographing device according to the above-mentioned embodiments of the present invention may also have the following additional technical features:

进一步地,在本发明的一个实施例中,所述相机模块包括至少两个摄像头,所述控制模块包括判断单元和控制单元;Further, in an embodiment of the present invention, the camera module includes at least two cameras, and the control module includes a judging unit and a control unit;

所述判断模块具体用于判断所述相机模块中的默认摄像头是否处于启动状态,所述默认摄像头为所述相机模块中的其中一个摄像头;The judging module is specifically used to judge whether the default camera in the camera module is in the startup state, and the default camera is one of the cameras in the camera module;

所述判断单元用于当所述判断模块判断到所述相机模块中的默认摄像头处于启动状态时,屏蔽所述默认摄像头的启动操作,并在接收到所述移动控制端发送的拍照指令时,判断所述默认摄像头与被拍摄物之间的距离在所述相机模块的所有摄像头中是否为最小;The judging unit is configured to shield the startup operation of the default camera when the judging module judges that the default camera in the camera module is in the startup state, and when receiving the photographing instruction sent by the mobile control terminal, Judging whether the distance between the default camera and the subject is the smallest among all the cameras of the camera module;

所述控制单元用于当所述判断单元判断到所述默认摄像头与被拍摄物之间的距离在所述相机模块的所有摄像头中为最小时,控制所述默认摄像头进行拍照。The control unit is configured to control the default camera to take pictures when the judging unit determines that the distance between the default camera and the subject is the smallest among all the cameras of the camera module.

本发明的另一个实施例还提出一种可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述方法的步骤。Another embodiment of the present invention also proposes a readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the above method are implemented.

本发明的另一个实施例还提出一种智能终端,包括相机模块、距离检测器、存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序,所述距离检测器用于检测所述相机模块与被拍摄物之间的距离,所述处理器执行所述程序时实现上述方法的步骤。Another embodiment of the present invention also proposes an intelligent terminal, including a camera module, a distance detector, a memory, a processor, and a computer program stored in the memory and operable on the processor, and the distance detector is used to detect the The distance between the camera module and the object to be photographed, the steps of the above method are realized when the processor executes the program.

本发明的附加方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明的实施例了解到。Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be apparent from the description which follows, or may be learned by practice of the invention.

附图说明Description of drawings

本发明实施例的上述和/或附加的方面和优点从结合下面附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the embodiments of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, wherein:

图1是根据本发明第一实施例的拍照方法的流程图;Fig. 1 is the flow chart of the photographing method according to the first embodiment of the present invention;

图2是根据本发明第二实施例的拍照方法的流程图;Fig. 2 is a flowchart of a photographing method according to a second embodiment of the present invention;

图3是根据本发明另一实施例的拍照装置的结构示意图。Fig. 3 is a schematic structural diagram of a photographing device according to another embodiment of the present invention.

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments 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 belong to the protection scope of the present invention.

请参阅图1,本发明第一实施例提出的拍照方法,应用于智能终端中,所述方法包括:Please refer to FIG. 1, the photographing method proposed in the first embodiment of the present invention is applied to a smart terminal, and the method includes:

S101,接收移动控制端发送的拍照启动指令;S101, receiving a camera start instruction sent by the mobile control terminal;

本实施例中,智能终端以大平板为例进行说明,硬件方面该智能终端至少具有显示屏、存储器、处理器、无线通讯模块、相机模块等,显示屏例如是触控显示屏,无线通讯模块可以是蓝牙模块、红外模块、WIFI模块、NFC模块中的一种或多种,相机模块例如是内置摄像头、外置摄像头中的一种或多种,其中,需要指出的是,内置摄像头是该智能终端自带的,即出厂时就安装在该智能终端中。而外置摄像头是为了进一步提升智能终端的拍照能力额外配置的,外置摄像头例如是USB的外置摄像头。软件方面,该智能终端具备智能操作系统,例如Android系统、Windows Phone系统(WP系统)、Windows系统、或IOS系统(苹果移动设备操作系统)中的至少一种。In this embodiment, the intelligent terminal is illustrated by taking a large flat panel as an example. In terms of hardware, the intelligent terminal at least has a display screen, a memory, a processor, a wireless communication module, a camera module, etc., and the display screen is, for example, a touch display screen, a wireless communication module It can be one or more of a Bluetooth module, an infrared module, a WIFI module, and an NFC module. The camera module is, for example, one or more of a built-in camera and an external camera. It should be noted that the built-in camera is the The smart terminal comes with it, that is, it is installed in the smart terminal when it leaves the factory. The external camera is additionally configured to further improve the camera capability of the smart terminal, and the external camera is, for example, a USB external camera. In terms of software, the smart terminal has a smart operating system, such as at least one of Android system, Windows Phone system (WP system), Windows system, or IOS system (Apple mobile device operating system).

移动控制端可以是与智能终端配合使用的智能触控笔,或者也可以是智能手机、平板等设备。本实施例中,移动控制端以智能触控笔为例进行说明,在实际实施时,智能手机或平板等设备可以通过编程实现智能触控笔的所有功能。为了与智能终端进行无线数据的传输,该智能触控笔上也可以配置无线通讯模块,无线通讯模块可以是蓝牙模块、红外模块、WIFI模块、NFC模块中的一种或多种。因此,在实施时,大平板与智能触控笔之间可以通过无线方式连接,无线方式可以是红外、蓝牙、WIFI、NFC中的任一种。在本方法实施,需要首先建立大平板与智能触控笔的无线连接。The mobile control terminal can be a smart stylus used in conjunction with a smart terminal, or it can be a smart phone, a tablet and other devices. In this embodiment, the mobile control terminal uses a smart stylus as an example for illustration. In actual implementation, devices such as smart phones or tablets can realize all functions of the smart stylus through programming. In order to carry out wireless data transmission with the smart terminal, the smart stylus can also be equipped with a wireless communication module, and the wireless communication module can be one or more of a Bluetooth module, an infrared module, a WIFI module, and an NFC module. Therefore, during implementation, the large tablet and the smart stylus can be connected in a wireless manner, and the wireless manner can be any one of infrared, Bluetooth, WIFI, and NFC. In the implementation of this method, it is necessary to first establish a wireless connection between the large tablet and the smart touch pen.

该智能触控笔上至少配置有一拍照按钮,当用户按下该拍照按钮后,即向大平板发送了拍照启动指令。其中,具体实施时,需要首先在大平板中定义智能触控笔发送的指令数据与相机模块开关功能的对应关系,使大平板在接收到拍照启动指令后,即可实现相应的功能,详细的编程代码在此不做限定。此外,可以通过设置不同的按压时间,以区分拍照启动和拍照,例如,长按拍照按钮(例如3s),即是向大平板发送拍照启动指令,而短按拍照按钮(例如1s内)即是向大平板发送拍照指令。The smart stylus is equipped with at least one camera button, and when the user presses the camera button, a camera start instruction is sent to the large tablet. Among them, during the specific implementation, it is necessary to first define the corresponding relationship between the instruction data sent by the smart stylus and the switch function of the camera module in the large tablet, so that the corresponding function can be realized after the large tablet receives the camera start command, detailed The programming code is not limited here. In addition, different pressing times can be set to distinguish between taking pictures and taking pictures. For example, pressing the camera button for a long time (for example, 3s) is to send a picture-taking start command to the large tablet, and pressing the camera button for a short time (for example, within 1s) is Send a camera command to the large tablet.

S102,判断所述智能终端的相机模块是否处于启动状态;S102, judging whether the camera module of the smart terminal is in a startup state;

其中,大平板在接收到拍照启动指令后,首先判断相机模块是否处于启动状态,若相机模块未处于启动状态,则需要首先唤起相机模块,以使所述相机模块开启。启动状态例如是打开大平板中的相机软件,以使相应的相机模块启动。Wherein, after receiving the photographing start instruction, the large tablet first judges whether the camera module is in the start state, if the camera module is not in the start state, it needs to wake up the camera module first, so that the camera module is turned on. The starting state is, for example, opening the camera software in the large tablet, so as to start the corresponding camera module.

S103,若是,则屏蔽所述相机模块的启动操作,并在接收到所述移动控制端发送的拍照指令时,控制所述相机模块进行拍照。S103, if yes, shield the start-up operation of the camera module, and control the camera module to take a photo when receiving a photo-taking instruction sent by the mobile control terminal.

其中,相机模块已经处于启动状态,则屏蔽相机模块的启动操作,保证后续在执行拍照操作时,不会因为再次启动相机模块而影响拍照。之后,用户可以通过智能触控笔向大平板发送拍照指令,例如,用户可以短按智能触控笔上的拍照按钮(1s内),以向大平板发送拍照指令,大平板接收到该拍照指令后,会控制相机模块进行拍照,最终完成整个拍照过程。Wherein, if the camera module is already in the startup state, the startup operation of the camera module is shielded, so as to ensure that the photo taking will not be affected by starting the camera module again when the photo taking operation is performed subsequently. Afterwards, the user can send a camera command to the large tablet through the smart stylus. For example, the user can short press the camera button on the smart stylus (within 1s) to send a camera command to the big tablet, and the big tablet receives the camera command After that, it will control the camera module to take pictures, and finally complete the whole process of taking pictures.

根据本发明实施例的拍照方法,用户首先通过移动控制端发送拍照启动指令,智能终端接收到该拍照启动指令后启动相机模块,然后在智能终端接收到移动控制端发送的拍照指令时,控制相机模块进行拍照,将传统的触发拍照按钮这种物理连接转换成接收拍照指令的指令连接,整个拍照过程可以不再受特定范围的限制,移动控制端例如是一种与智能终端配合使用的智能触控笔,在实际使用时,用户只需按下移动控制端的相应按钮,发送相应的拍照启动指令以及拍照指令,即可完成拍照,操作更方便,且该拍照方法不依赖语音库,不存在语音识别错误的问题,能够有效提高大平板这类智能终端的拍照体验。According to the photographing method of the embodiment of the present invention, the user first sends a photographing start command through the mobile control terminal, and the smart terminal starts the camera module after receiving the photographing start command, and then controls the camera when the smart terminal receives the photographing command sent by the mobile control terminal. The module takes pictures, and converts the traditional physical connection of triggering the photo button into an instruction connection for receiving photo instructions. The entire photo taking process can no longer be limited by a specific range. Pen control, in actual use, the user only needs to press the corresponding button on the mobile control terminal, send the corresponding camera start command and camera command, and the camera can be completed, the operation is more convenient, and the camera method does not rely on the voice library, there is no voice The problem of identifying errors can effectively improve the camera experience of smart terminals such as large tablets.

请参阅图2,本发明第二实施例提出的拍照方法,应用于智能终端中,所述方法包括:Please refer to FIG. 2, the method for taking photos proposed in the second embodiment of the present invention is applied to a smart terminal, and the method includes:

S201,接收移动控制端发送的拍照启动指令;S201, receiving a camera start instruction sent by the mobile control terminal;

本实施例中,智能终端同样以大平板为例进行说明,本实施例中的智能终端在硬件方面除了第一实施例中的显示屏、存储器、处理器、无线通讯模块、相机模块等元件外,还包括用于检测距离的距离监测元件,例如位置感应器、光线感应器等,显示屏例如是触控显示屏,无线通讯模块可以是蓝牙模块、红外模块、WIFI模块、NFC模块中的一种或多种,相机模块包括至少两个摄像头,本实施例中,以相机模块包括内置摄像头和外置摄像头这两个摄像头为例进行说明,其中,内置摄像头是该智能终端自带的,即出厂时就安装在该智能终端中。而外置摄像头是为了进一步提升智能终端的拍照能力额外配置的,外置摄像头例如是USB的外置摄像头。软件方面,该智能终端同样具备智能操作系统,例如Android系统、Windows Phone系统(WP系统)、Windows系统、或IOS系统(苹果移动设备操作系统)中的至少一种。In this embodiment, the smart terminal is also described by taking a large flat panel as an example. In terms of hardware, the smart terminal in this embodiment except the display screen, memory, processor, wireless communication module, camera module and other components in the first embodiment , also includes a distance monitoring element for detecting distance, such as a position sensor, a light sensor, etc., the display screen is, for example, a touch display screen, and the wireless communication module can be one of a Bluetooth module, an infrared module, a WIFI module, and an NFC module. The camera module includes at least two cameras. In this embodiment, the camera module includes two cameras, a built-in camera and an external camera, as an example. The built-in camera is provided by the smart terminal. It is installed in the smart terminal at the factory. The external camera is additionally configured to further improve the camera capability of the smart terminal, and the external camera is, for example, a USB external camera. In terms of software, the smart terminal also has a smart operating system, such as at least one of Android system, Windows Phone system (WP system), Windows system, or IOS system (Apple mobile device operating system).

本实施例中,移动控制端也可以是与智能终端配合使用的智能触控笔,或者也可以是智能手机、平板等设备。本实施例中,移动控制端仍以智能触控笔为例进行说明,在实际实施时,智能手机或平板等设备可以通过编程实现智能触控笔的所有功能。为了与智能终端进行无线数据的传输,该智能触控笔上也可以配置无线通讯模块,无线通讯模块可以是蓝牙模块、红外模块、WIFI模块、NFC模块中的一种或多种。因此,在实施时,大平板与智能触控笔之间可以通过无线方式连接,无线方式可以是红外、蓝牙、WIFI、NFC中的任一种。在本方法实施,需要首先建立大平板与智能触控笔的无线连接。In this embodiment, the mobile control terminal may also be a smart stylus used in conjunction with a smart terminal, or may also be a smart phone, a tablet and other devices. In this embodiment, the mobile control terminal is still described using a smart stylus as an example. In actual implementation, devices such as smart phones or tablets can realize all functions of the smart stylus through programming. In order to carry out wireless data transmission with the smart terminal, the smart stylus can also be equipped with a wireless communication module, and the wireless communication module can be one or more of a Bluetooth module, an infrared module, a WIFI module, and an NFC module. Therefore, during implementation, the large tablet and the smart stylus can be connected in a wireless manner, and the wireless manner can be any one of infrared, Bluetooth, WIFI, and NFC. In the implementation of this method, it is necessary to first establish a wireless connection between the large tablet and the smart touch pen.

该智能触控笔上至少配置有一拍照按钮和一摄像头切换按钮,拍照按钮与第一实施例中的拍照按钮功能相同,可以通过设置不同的按压时间,以区分拍照启动和拍照,例如,长按拍照按钮(3s),即是向大平板发送拍照启动指令,而短按拍照按钮(1s内)即是向大平板发送拍照指令。The smart stylus is at least equipped with a camera button and a camera switching button. The camera button has the same function as the camera button in the first embodiment. Different pressing times can be set to distinguish between camera start and camera, for example, long press The camera button (3s) is to send a camera start command to the big tablet, and short press the camera button (within 1s) is to send a camera command to the big tablet.

摄像头切换按钮是用于控制内置摄像头和外置摄像头切换的按钮,当用户按下该摄像头切换按钮后,即向大平板发送了摄像头切换指令,其中,具体实施时,需要首先在大平板中定义智能触控笔发送的指令数据与相机模块开关功能的对应关系,使大平板在接收到摄像头切换指令,即可实现相应的摄像头切换功能,同样,详细的编程代码在此不做限定。The camera switch button is used to control the switch between the built-in camera and the external camera. When the user presses the camera switch button, the camera switch command is sent to the big tablet. In the specific implementation, it needs to be defined in the big tablet first. The corresponding relationship between the command data sent by the smart stylus and the switch function of the camera module enables the large tablet to realize the corresponding camera switch function after receiving the camera switch command. Similarly, the detailed programming code is not limited here.

S202,判断所述相机模块中的默认摄像头是否处于启动状态,所述默认摄像头为所述相机模块中的其中一个摄像头;S202, judging whether the default camera in the camera module is in the startup state, the default camera being one of the cameras in the camera module;

其中,在具体实施时,可以预先在大平板中设置内置摄像头和外置摄像头其中一个作为默认摄像头,该默认摄像头例如是内置摄像头,即当大平板接收到智能触控笔发送的拍照启动指令后,默认启动内置摄像头,具体的,大平板在接收到智能触控笔发送的拍照启动指令后,首先判断内置摄像头是否处于启动状态,若内置摄像头未处于启动状态,则需要首先唤起内置摄像头,以使内置摄像头开启。Wherein, during specific implementation, one of the built-in camera and the external camera can be pre-set in the large tablet as the default camera. , the built-in camera is enabled by default. Specifically, after receiving the photo start command sent by the smart stylus, the tablet first determines whether the built-in camera is in the enabled state. If the built-in camera is not in the Turn on the built-in camera.

S203,若是,则屏蔽所述默认摄像头的启动操作,并在接收到所述移动控制端发送的拍照指令时,判断所述默认摄像头与被拍摄物之间的距离在所述相机模块的所有摄像头中是否为最小;S203, if so, shield the startup operation of the default camera, and judge that the distance between the default camera and the subject is within the range of all cameras of the camera module when receiving the photographing instruction sent by the mobile control terminal Whether it is the smallest;

其中,若默认的内置摄像头已经启动了,则屏蔽内置摄像头的启动操作,然后在大平板接收到移动控制端发送的拍照指令时,例如,用户可以短按智能触控笔上的拍照按钮(1s内),以向大平板发送拍照指令,大平板接收到该拍照指令后,判断所述默认摄像头与被拍摄物之间的距离在所述相机模块的所有摄像头中是否为最小,本实施例中,即判断内置摄像头与被拍摄物之间的距离是否小于外置摄像头与被拍摄物之间的距离。具体的,可以通过大平板上的距离监测元件去获取每个摄像头与被拍摄物之间的距离,然后再进行对比。此外,需要指出的是,为了确保准确性,可以在每个摄像头上分别配置一个距离监测元件,同时,由于拍摄的对象一般都是人,因此还可以在每个摄像头中内置人脸监测算法,通过检测人脸与摄像头之间的距离,来确定每个摄像头与被拍摄物中间的距离。Among them, if the default built-in camera has been started, the start-up operation of the built-in camera is blocked, and then when the large tablet receives the camera instruction sent by the mobile control terminal, for example, the user can short press the camera button on the smart stylus (1s inside), to send a photographing instruction to the large tablet, after receiving the photographing instruction, the large tablet judges whether the distance between the default camera and the subject is the smallest among all the cameras of the camera module, in this embodiment , that is, to determine whether the distance between the built-in camera and the subject is smaller than the distance between the external camera and the subject. Specifically, the distance between each camera and the subject can be obtained through the distance monitoring element on the large plate, and then compared. In addition, it should be pointed out that, in order to ensure accuracy, a distance monitoring element can be configured on each camera, and at the same time, since the objects photographed are generally people, it is also possible to build a face detection algorithm in each camera, By detecting the distance between the face and the camera, the distance between each camera and the subject is determined.

若是,则执行步骤S204,若否,则执行步骤S205;If yes, execute step S204, if not, execute step S205;

S204,控制所述默认摄像头进行拍照;S204, controlling the default camera to take pictures;

其中,若内置摄像头与被拍摄物之间的距离小于外置摄像头与被拍摄物之间的距离,则大平板会控制默认的内置摄像头进行拍照。需要指出的,若内置摄像头与被拍摄物之间的距离等于外置摄像头与被拍摄物之间的距离,对于这种情况,为了简化流程,可以仍控制默认的内置摄像头进行拍照。Wherein, if the distance between the built-in camera and the subject is smaller than the distance between the external camera and the subject, the large tablet will control the default built-in camera to take pictures. It should be pointed out that if the distance between the built-in camera and the subject is equal to the distance between the external camera and the subject, in this case, in order to simplify the process, you can still control the default built-in camera to take pictures.

S205,查找所述相机模块的所有摄像头中距离所述被拍摄物最近的摄像头;S205. Find the camera closest to the subject among all the cameras of the camera module;

其中,当判断到所述默认摄像头与被拍摄物之间的距离在所述相机模块的所有摄像头中不是最小时,查找所述相机模块的所有摄像头中距离所述被拍摄物最近的摄像头,本实施例中,若内置摄像头与被拍摄物之间的距离是否大于外置摄像头与被拍摄物之间的距离,则会查找到距离被拍摄物最近的摄像头,即外置摄像头。Wherein, when it is determined that the distance between the default camera and the subject is not the smallest among all the cameras of the camera module, searching for the camera closest to the subject among all the cameras of the camera module, this In the embodiment, if the distance between the built-in camera and the subject is greater than the distance between the external camera and the subject, the camera closest to the subject, that is, the external camera, will be found.

S206,启动所述距离所述被拍摄物最近的摄像头,以及关闭所述默认摄像头;S206, start the camera closest to the subject, and close the default camera;

其中,大平板会启动外置摄像头,同时关闭默认的内置摄像头。Among them, the large tablet will start the external camera, and close the default built-in camera at the same time.

S207,控制所述距离所述被拍摄物最近的摄像头进行拍照。S207. Control the camera closest to the subject to take pictures.

最后,控制外置摄像头进行拍照,完成整个拍照过程。Finally, control the external camera to take pictures and complete the whole process of taking pictures.

此外,作为一个具体示例,本实施例提供的拍照方法还可以在拍照过程执行切换功能:In addition, as a specific example, the photographing method provided in this embodiment can also perform a switching function during the photographing process:

当接收到所述移动控制端发送的摄像头切换指令时,关闭所述相机模块中处于启动状态的摄像头,以及启动副摄像头,其中,所述副摄像头为所述相机模块中除所述处于启动状态的摄像头以外的任一摄像头。When receiving the camera switching instruction sent by the mobile control terminal, close the camera in the starting state in the camera module, and start the sub-camera, wherein the sub-camera is the camera module except the one in the starting state Any camera other than your camera.

其中,例如启动状态的摄像头是内置摄像头,当用户通过长按摄像头切换按钮(例如3s)以发出摄像头切换指令,大平板接收到该摄像头切换指令,会将内置摄像头关闭,同时启动外置摄像头,以满足用户的自定义需求。需要指出的是,对于相机模块包含了三个以上的摄像头的情况,可以预先设置摄像头的切换顺序,以实现摄像头之间的有序切换。Wherein, for example, the camera in the starting state is a built-in camera. When the user sends a camera switching command by long pressing the camera switching button (for example, 3s), the large tablet will turn off the built-in camera and start the external camera at the same time after receiving the camera switching command. To meet user's custom needs. It should be pointed out that, for the case where the camera module includes more than three cameras, the switching sequence of the cameras can be preset to realize orderly switching between the cameras.

进一步地,作为一个具体示例,本实施例提供的拍照方法还可以在大平板的每个摄像头中预先配置多个的拍摄角度,当用户需要在当前的摄像头切换不同的拍摄角度时,可以通过短按摄像头切换按钮(例如1s内)以发出摄像头角度切换指令,大平板接收到该摄像头切换指令,会将当正在处于启动状态的摄像头切换到预设的不同角度,进一步提升用户的拍照体验。同理,对于每个摄像头的多个拍摄角度,也可以预先设置不同拍摄角度之间的切换顺序,以实现拍摄角度之间的有序切换。Furthermore, as a specific example, the camera method provided by this embodiment can also pre-configure multiple shooting angles in each camera of the large tablet. When the user needs to switch between different shooting angles on the current camera, he can Press the camera switching button (for example, within 1s) to send a camera angle switching command. After receiving the camera switching command, the large tablet will switch the camera that is in the starting state to a preset different angle, further improving the user's camera experience. Similarly, for multiple shooting angles of each camera, the switching sequence between different shooting angles may also be preset, so as to realize orderly switching between shooting angles.

本实施例在第一实施例的基础上,实现了摄像头自动检测切换,从而准确定位拍照方位,避免用户频繁切换智能终端上的多个摄像头,。且用户可以通过使用摄像头切换指令和拍摄角度切换指令,进行多摄像头、多视角切换,获取最佳拍摄视角,从而进一步提升拍照体验。On the basis of the first embodiment, this embodiment realizes the automatic detection and switching of the camera, thereby accurately locating the photographing position, and avoiding frequent switching of multiple cameras on the smart terminal by the user. In addition, the user can switch between multiple cameras and multiple viewing angles by using the camera switching command and the shooting angle switching command to obtain the best shooting angle, thereby further enhancing the photographing experience.

需要说明是,本实施例重点说明的是与上一实施例的不同之处,各个实施例之间相同相似的部分未重复描述,可以相互参见。It should be noted that this embodiment focuses on the differences from the previous embodiment, and the same and similar parts of the various embodiments are not repeatedly described, and may refer to each other.

请参阅图3,基于同一发明构思,本发明另一实施例提出的一种拍照装置,应用于智能终端中,所述装置包括:Please refer to Figure 3. Based on the same inventive concept, another embodiment of the present invention proposes a camera device, which is applied to a smart terminal, and the device includes:

接收模块10,用于接收移动控制端发送的拍照启动指令;The receiving module 10 is used to receive the photographing start command sent by the mobile control terminal;

判断模块20,用于判断所述智能终端的相机模块是否处于启动状态;A judging module 20, configured to judge whether the camera module of the smart terminal is in a startup state;

控制模块30,用于当所述判断模块20判断到所述智能终端的相机模块处于启动状态时屏蔽所述相机模块的启动操作,并在接收到所述移动控制端发送的拍照指令时,控制所述相机模块进行拍照。The control module 30 is used to shield the startup operation of the camera module when the judging module 20 judges that the camera module of the smart terminal is in the startup state, and when receiving the photographing instruction sent by the mobile control terminal, control The camera module takes pictures.

本实施例中,所述相机模块包括至少两个摄像头,所述控制模块30包括判断单元301和第一控制单元302;In this embodiment, the camera module includes at least two cameras, and the control module 30 includes a judging unit 301 and a first control unit 302;

所述判断模块20具体用于判断所述相机模块中的默认摄像头是否处于启动状态,所述默认摄像头为所述相机模块中的其中一个摄像头;The judging module 20 is specifically used to judge whether the default camera in the camera module is in the startup state, and the default camera is one of the cameras in the camera module;

所述判断单元301用于当所述判断模块20判断到所述相机模块中的默认摄像头处于启动状态时,屏蔽所述默认摄像头的启动操作,并在接收到所述移动控制端发送的拍照指令时,判断所述默认摄像头与被拍摄物之间的距离在所述相机模块的所有摄像头中是否为最小;The judging unit 301 is used for shielding the startup operation of the default camera when the judging module 20 judges that the default camera in the camera module is in the startup state, and receiving the photographing instruction sent by the mobile control terminal , judging whether the distance between the default camera and the subject is the smallest among all the cameras of the camera module;

所述第一控制单元302用于当所述判断单元301判断到所述默认摄像头与被拍摄物之间的距离在所述相机模块的所有摄像头中为最小时,控制所述默认摄像头进行拍照。The first control unit 302 is configured to control the default camera to take pictures when the judging unit 301 judges that the distance between the default camera and the subject is the smallest among all the cameras of the camera module.

本实施例中,所述控制模块30还包括:In this embodiment, the control module 30 also includes:

查找单元303,用于当所述判断单元301判断到所述默认摄像头与被拍摄物之间的距离在所述相机模块的所有摄像头中不是最小时,查找所述相机模块的所有摄像头中距离所述被拍摄物最近的摄像头;A search unit 303, configured to search for the distance between all cameras of the camera module when the judgment unit 301 judges that the distance between the default camera and the subject is not the smallest among all the cameras of the camera module. the closest camera to the subject;

启动单元304,用于启动所述距离所述被拍摄物最近的摄像头,以及关闭所述默认摄像头;A starting unit 304, configured to start the camera closest to the subject and close the default camera;

第二控制单元305,用于控制所述距离所述被拍摄物最近的摄像头进行拍照。The second control unit 305 is configured to control the camera closest to the subject to take pictures.

本实施例中,所述装置还包括:In this embodiment, the device also includes:

唤起模块40,用于当所述判断模块20判断到所述智能终端的相机模块未处于所述启动状态时,唤起所述相机模块,以使所述相机模块开启,并在接收到所述移动控制端发送的拍照指令时,控制所述相机模块进行拍照。Arousal module 40, for when the judgment module 20 judges that the camera module of the smart terminal is not in the startup state, wake up the camera module, so that the camera module is turned on, and when receiving the movement When the camera module is sent by the control terminal to take pictures, the camera module is controlled to take pictures.

本实施例中,所述装置还包括:In this embodiment, the device also includes:

切换模块,用于当接收到所述移动控制端发送的摄像头切换指令时,关闭所述相机模块中处于启动状态的摄像头,以及启动副摄像头,其中,所述副摄像头为所述相机模块中除所述处于启动状态的摄像头以外的任一摄像头。The switching module is used to close the camera in the starting state in the camera module when receiving the camera switching instruction sent by the mobile control terminal, and start the sub-camera, wherein the sub-camera is the camera module except Any camera other than the active camera.

本实施例中,所述智能终端与所述移动控制端之间通过无线方式连接,所述无线方式是红外、蓝牙、WIFI、NFC中的任一种。In this embodiment, the smart terminal is connected to the mobile control terminal through a wireless method, and the wireless method is any one of infrared, bluetooth, WIFI, and NFC.

本发明实施例提出的拍照装置的技术特征和技术效果与本发明实施例提出的方法相同,在此不予赘述。The technical features and technical effects of the photographing device proposed in the embodiment of the present invention are the same as those of the method proposed in the embodiment of the present invention, and will not be repeated here.

此外,本发明的另一个实施例还提出一种可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述方法的步骤。In addition, another embodiment of the present invention also proposes a readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the above method are implemented.

此外,本发明的另一个实施例还提出一种智能终端,包括相机模块、距离检测器、存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序,所述距离检测器用于检测所述相机模块与被拍摄物之间的距离,所述处理器执行所述程序时实现上述方法的步骤。In addition, another embodiment of the present invention also proposes an intelligent terminal, including a camera module, a distance detector, a memory, a processor, and a computer program stored in the memory and operable on the processor. The distance detector is used for The distance between the camera module and the object to be photographed is detected, and the steps of the above method are realized when the processor executes the program.

在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,“计算机可读介质”可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。The logic and/or steps represented in the flowcharts or otherwise described herein, for example, can be considered as a sequenced listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium, For use with instruction execution systems, devices, or devices (such as computer-based systems, systems including processors, or other systems that can fetch instructions from instruction execution systems, devices, or devices and execute instructions), or in conjunction with these instruction execution systems, devices or equipment for use. For the purposes of this specification, a "computer-readable medium" may be any device that can contain, store, communicate, propagate or transmit a program for use in or in conjunction with an instruction execution system, device or device.

计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。More specific examples (non-exhaustive list) of computer-readable media include the following: electrical connection with one or more wires (electronic device), portable computer disk case (magnetic device), random access memory (RAM), Read Only Memory (ROM), Erasable and Editable Read Only Memory (EPROM or Flash Memory), Fiber Optic Devices, and Portable Compact Disc Read Only Memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program can be printed, since the program can be read, for example, by optically scanning the paper or other medium, followed by editing, interpretation or other suitable processing if necessary. The program is processed electronically and stored in computer memory.

应当理解,本发明的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that various parts of the present invention can be realized by hardware, software, firmware or their combination. In the embodiments described above, various steps or methods may be implemented by software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or combination of the following techniques known in the art: Discrete logic circuits, ASICs with suitable combinational logic gates, Programmable Gate Arrays (PGAs), Field Programmable Gate Arrays (FPGAs), etc.

在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。In the description of this specification, descriptions with reference to the terms "one embodiment", "some embodiments", "example", "specific examples", or "some examples" mean that specific features described in connection with the embodiment or example , structure, material or characteristic is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

尽管已经示出和描述了本发明的实施例,本领域的普通技术人员可以理解:在不脱离本发明的原理和宗旨的情况下可以对这些实施例进行多种变化、修改、替换和变型,本发明的范围由权利要求及其等同物限定。Although the embodiments of the present invention have been shown and described, those skilled in the art can understand that various changes, modifications, substitutions and modifications can be made to these embodiments without departing from the principle and spirit of the present invention. The scope of the invention is defined by the claims and their equivalents.

Claims (10)

1.一种拍照方法,应用于智能终端中,其特征在于,所述方法包括:1. A method for taking pictures, applied in an intelligent terminal, characterized in that the method comprises: 接收移动控制端发送的拍照启动指令;Receive the camera start command sent by the mobile control terminal; 判断所述智能终端的相机模块是否处于启动状态;Judging whether the camera module of the smart terminal is in a startup state; 若是,则屏蔽所述相机模块的启动操作,并在接收到所述移动控制端发送的拍照指令时,控制所述相机模块进行拍照。If so, shield the start-up operation of the camera module, and control the camera module to take a picture when receiving a picture taking instruction sent by the mobile control terminal. 2.根据权利要求1所述的拍照方法,其特征在于,所述相机模块包括至少两个摄像头,所述方法还包括:2. The photographing method according to claim 1, wherein the camera module comprises at least two cameras, and the method further comprises: 接收移动控制端发送的拍照启动指令;Receive the camera start command sent by the mobile control terminal; 判断所述相机模块中的默认摄像头是否处于启动状态,所述默认摄像头为所述相机模块中的其中一个摄像头;Judging whether the default camera in the camera module is in the startup state, the default camera is one of the cameras in the camera module; 若是,则屏蔽所述默认摄像头的启动操作,并在接收到所述移动控制端发送的拍照指令时,判断所述默认摄像头与被拍摄物之间的距离在所述相机模块的所有摄像头中是否为最小;If so, then shield the start-up operation of the default camera, and when receiving the photographing instruction sent by the mobile control terminal, judge whether the distance between the default camera and the subject is within the range of all cameras of the camera module. is the smallest; 若是,则控制所述默认摄像头进行拍照。If yes, then control the default camera to take pictures. 3.根据权利要求2所述的拍照方法,其特征在于,所述方法还包括:3. The photographing method according to claim 2, wherein the method further comprises: 当判断到所述默认摄像头与被拍摄物之间的距离在所述相机模块的所有摄像头中不是最小时,查找所述相机模块的所有摄像头中距离所述被拍摄物最近的摄像头;When it is determined that the distance between the default camera and the subject is not the smallest among all the cameras of the camera module, search for the camera closest to the subject among all the cameras of the camera module; 启动所述距离所述被拍摄物最近的摄像头,以及关闭所述默认摄像头;Starting the camera closest to the object to be photographed, and closing the default camera; 控制所述距离所述被拍摄物最近的摄像头进行拍照。Controlling the camera closest to the subject to take pictures. 4.根据权利要求1所述的拍照方法,其特征在于,所述判断所述智能终端的相机模块是否处于启动状态的步骤之后,所述方法还包括:4. The photographing method according to claim 1, characterized in that, after the step of determining whether the camera module of the smart terminal is in an activated state, the method further comprises: 若所述智能终端的相机模块未处于所述启动状态,则唤起所述相机模块,以使所述相机模块开启,并在接收到所述移动控制端发送的拍照指令时,控制所述相机模块进行拍照。If the camera module of the smart terminal is not in the startup state, then arouse the camera module, so that the camera module is turned on, and when receiving a photographing instruction sent by the mobile control terminal, control the camera module Take pictures. 5.根据权利要求1所述的拍照方法,其特征在于,所述方法还包括:5. The photographing method according to claim 1, wherein the method further comprises: 当接收到所述移动控制端发送的摄像头切换指令时,关闭所述相机模块中处于启动状态的摄像头,以及启动副摄像头,其中,所述副摄像头为所述相机模块中除所述处于启动状态的摄像头以外的任一摄像头。When receiving the camera switching instruction sent by the mobile control terminal, close the camera in the starting state in the camera module, and start the sub-camera, wherein the sub-camera is the camera module except the one in the starting state Any camera other than your camera. 6.根据权利要求1所述的拍照方法,其特征在于,所述智能终端与所述移动控制端之间通过无线方式连接,所述无线方式是红外、蓝牙、WIFI、NFC中的任一种。6. The photographing method according to claim 1, wherein the smart terminal is connected to the mobile control terminal in a wireless mode, and the wireless mode is any one of infrared, bluetooth, WIFI, and NFC . 7.一种拍照装置,应用于智能终端中,其特征在于,所述装置包括:7. A photographing device applied to an intelligent terminal, characterized in that the device comprises: 接收模块,用于接收移动控制端发送的拍照启动指令;The receiving module is used to receive the camera start command sent by the mobile control terminal; 判断模块,用于判断所述智能终端的相机模块是否处于启动状态;A judging module, configured to judge whether the camera module of the smart terminal is in a startup state; 控制模块,用于当所述判断模块判断到所述智能终端的相机模块处于启动状态时屏蔽所述相机模块的启动操作,并在接收到所述移动控制端发送的拍照指令时,控制所述相机模块进行拍照。A control module, configured to shield the start-up operation of the camera module when the judging module judges that the camera module of the smart terminal is in the start-up state, and when receiving a photographing instruction sent by the mobile control terminal, control the The camera module takes pictures. 8.根据权利要求7所述的拍照装置,其特征在于,所述相机模块包括至少两个摄像头,所述控制模块包括判断单元和控制单元;8. The photographing device according to claim 7, wherein the camera module includes at least two cameras, and the control module includes a judging unit and a control unit; 所述判断模块具体用于判断所述相机模块中的默认摄像头是否处于启动状态,所述默认摄像头为所述相机模块中的其中一个摄像头;The judging module is specifically used to judge whether the default camera in the camera module is in the startup state, and the default camera is one of the cameras in the camera module; 所述判断单元用于当所述判断模块判断到所述相机模块中的默认摄像头处于启动状态时,屏蔽所述默认摄像头的启动操作,并在接收到所述移动控制端发送的拍照指令时,判断所述默认摄像头与被拍摄物之间的距离在所述相机模块的所有摄像头中是否为最小;The judging unit is configured to shield the startup operation of the default camera when the judging module judges that the default camera in the camera module is in the startup state, and when receiving the photographing instruction sent by the mobile control terminal, Judging whether the distance between the default camera and the subject is the smallest among all the cameras of the camera module; 所述控制单元用于当所述判断单元判断到所述默认摄像头与被拍摄物之间的距离在所述相机模块的所有摄像头中为最小时,控制所述默认摄像头进行拍照。The control unit is configured to control the default camera to take pictures when the judging unit determines that the distance between the default camera and the subject is the smallest among all the cameras of the camera module. 9.一种可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1-6任意一项所述的方法。9. A readable storage medium, on which a computer program is stored, wherein, when the program is executed by a processor, the method according to any one of claims 1-6 is realized. 10.一种智能终端,包括相机模块、距离检测器、存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述距离检测器用于检测所述相机模块与被拍摄物之间的距离,所述处理器执行所述程序时实现如权利要求1至6任意一项所述的方法。10. An intelligent terminal comprising a camera module, a distance detector, a memory, a processor and a computer program stored on the memory and operable on the processor, wherein the distance detector is used to detect the camera module When the processor executes the program, the method according to any one of claims 1 to 6 is realized.
CN201810609591.0A 2018-06-13 2018-06-13 Photographing method and device, readable storage medium and intelligent terminal Active CN108924406B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810609591.0A CN108924406B (en) 2018-06-13 2018-06-13 Photographing method and device, readable storage medium and intelligent terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810609591.0A CN108924406B (en) 2018-06-13 2018-06-13 Photographing method and device, readable storage medium and intelligent terminal

Publications (2)

Publication Number Publication Date
CN108924406A true CN108924406A (en) 2018-11-30
CN108924406B CN108924406B (en) 2021-04-06

Family

ID=64419553

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810609591.0A Active CN108924406B (en) 2018-06-13 2018-06-13 Photographing method and device, readable storage medium and intelligent terminal

Country Status (1)

Country Link
CN (1) CN108924406B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115811659A (en) * 2022-11-15 2023-03-17 青岛海信移动通信技术股份有限公司 Photographing control method, device, equipment and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101154264A (en) * 2006-09-27 2008-04-02 中国科学院自动化研究所 Large depth of field iris image acquisition system and method based on multiple fixed-focus cameras
US20140028866A1 (en) * 2012-07-24 2014-01-30 Xerox Corporation Method and apparatus for remotely controlling a camera connected to a multi-function device
CN103916602A (en) * 2014-04-17 2014-07-09 深圳市中兴移动通信有限公司 Method, first mobile terminal and system for control over remote shooting
CN104063035A (en) * 2014-06-30 2014-09-24 惠州Tcl移动通信有限公司 Portable camera-simulating mobile terminal shooting method and system
CN104243810A (en) * 2013-06-21 2014-12-24 卡西欧计算机株式会社 Imaging device, and imaging condition setting method
CN105376482A (en) * 2015-10-23 2016-03-02 广东欧珀移动通信有限公司 A Selfie method, device and system
CN105549839A (en) * 2014-10-24 2016-05-04 Lg电子株式会社 Mobile terminal and controlling method thereof
CN106101403A (en) * 2016-06-06 2016-11-09 惠州Tcl移动通信有限公司 A kind of method and system based on bluetooth Wireless remote control mobile phone photograph
CN106454091A (en) * 2016-10-13 2017-02-22 深圳缪斯智能珠宝有限公司 Remote shooting method of mobile terminal and mobile terminal
CN106534347A (en) * 2016-12-09 2017-03-22 新余市德塔投资管理中心(有限合伙) A method for outdoor advertising monitoring based on LBS and automatic camera technology
CN106850964A (en) * 2016-12-27 2017-06-13 宇龙计算机通信科技(深圳)有限公司 A kind of multi-cam filming apparatus and its method

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101154264A (en) * 2006-09-27 2008-04-02 中国科学院自动化研究所 Large depth of field iris image acquisition system and method based on multiple fixed-focus cameras
US20140028866A1 (en) * 2012-07-24 2014-01-30 Xerox Corporation Method and apparatus for remotely controlling a camera connected to a multi-function device
CN104243810A (en) * 2013-06-21 2014-12-24 卡西欧计算机株式会社 Imaging device, and imaging condition setting method
CN103916602A (en) * 2014-04-17 2014-07-09 深圳市中兴移动通信有限公司 Method, first mobile terminal and system for control over remote shooting
CN104063035A (en) * 2014-06-30 2014-09-24 惠州Tcl移动通信有限公司 Portable camera-simulating mobile terminal shooting method and system
CN105549839A (en) * 2014-10-24 2016-05-04 Lg电子株式会社 Mobile terminal and controlling method thereof
CN105376482A (en) * 2015-10-23 2016-03-02 广东欧珀移动通信有限公司 A Selfie method, device and system
CN106101403A (en) * 2016-06-06 2016-11-09 惠州Tcl移动通信有限公司 A kind of method and system based on bluetooth Wireless remote control mobile phone photograph
CN106454091A (en) * 2016-10-13 2017-02-22 深圳缪斯智能珠宝有限公司 Remote shooting method of mobile terminal and mobile terminal
CN106534347A (en) * 2016-12-09 2017-03-22 新余市德塔投资管理中心(有限合伙) A method for outdoor advertising monitoring based on LBS and automatic camera technology
CN106850964A (en) * 2016-12-27 2017-06-13 宇龙计算机通信科技(深圳)有限公司 A kind of multi-cam filming apparatus and its method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115811659A (en) * 2022-11-15 2023-03-17 青岛海信移动通信技术股份有限公司 Photographing control method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN108924406B (en) 2021-04-06

Similar Documents

Publication Publication Date Title
CN106951884B (en) Method, device and electronic device for collecting fingerprints
US10649648B2 (en) Method and apparatus for screen capture processing
CN107919123B (en) Multi-voice assistant control method, device and computer readable storage medium
RU2669063C2 (en) Method and device for image acquisition
US20130190043A1 (en) Portable device including mouth detection to initiate speech recognition and/or voice commands
KR101835364B1 (en) Apparatus and method for implementing functions of touch button and fingerprint identification, and terminal device, program and recording medium
CN106791921B (en) Processing method and device for live video and storage medium
US20150277720A1 (en) Systems and Methods for Managing Operating Modes of an Electronic Device
CN104238759A (en) Method and device for controlling terminal through physical keys
CN105049711A (en) Photographing method and user terminal
CN106980409B (en) Input control method and device
CN111984347B (en) Interactive processing method, device, equipment and storage medium
US10257411B2 (en) Electronic device, method, and storage medium for controlling touch operations
CN107704190B (en) Gesture recognition method and device, terminal and storage medium
CN107871000B (en) Audio playback method, device, storage medium and electronic device
CN110262692B (en) Touch screen scanning method, device and medium
CN111988493A (en) Interaction processing method, device, equipment and storage medium
CN104914995B (en) A kind of photographic method and terminal
JP2016527577A (en) User command execution method, execution device, program, and storage medium
JP2017506381A (en) Mobile terminal, how to handle virtual buttons
CN107396151A (en) A kind of video playing control method and electronic equipment
CN112115947A (en) Text processing method and device, electronic device, storage medium
JP2020516962A (en) Optical fingerprint recognition method and apparatus, computer-readable storage medium
WO2019129101A1 (en) Photographing method and mobile electronic terminal
CN108255344A (en) Question searching method and system applied to handheld photographing equipment and handheld photographing equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant