WO2014090086A1 - 便携数据处理设备内置相机的启动拍摄装置和方法 - Google Patents

便携数据处理设备内置相机的启动拍摄装置和方法 Download PDF

Info

Publication number
WO2014090086A1
WO2014090086A1 PCT/CN2013/087990 CN2013087990W WO2014090086A1 WO 2014090086 A1 WO2014090086 A1 WO 2014090086A1 CN 2013087990 W CN2013087990 W CN 2013087990W WO 2014090086 A1 WO2014090086 A1 WO 2014090086A1
Authority
WO
WIPO (PCT)
Prior art keywords
shooting
camera
built
data processing
processing device
Prior art date
Application number
PCT/CN2013/087990
Other languages
English (en)
French (fr)
Inventor
李飞云
黄石柱
Original Assignee
腾讯科技(深圳)有限公司
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 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2014090086A1 publication Critical patent/WO2014090086A1/zh
Priority to US14/729,739 priority Critical patent/US9451159B2/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/765Interface circuits between an apparatus for recording and another apparatus
    • H04N5/77Interface circuits between an apparatus for recording and another apparatus between a recording apparatus and a television camera
    • 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
    • H04N23/62Control of parameters via user interfaces
    • 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
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/69Control of means for changing angle of the field of view, e.g. optical zoom objectives or electronic zooming
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording

Definitions

  • the present application relates to the field of built-in camera technology of a portable data processing device, and more particularly to a startup imaging device and method for a built-in camera of a portable data processing device.
  • Portable data processing equipment generally refers to a computing device that has electronic data processing capabilities and is convenient to carry around.
  • mobile phones are mobile phones, personal digital assistants (PDAs), handheld computers (PDAs), tablets, and the like.
  • PDAs personal digital assistants
  • PDAs handheld computers
  • Current portable data processing devices typically have a built-in digital camera with camera or video capabilities.
  • current mainstream mobile phones in the industry have built-in cameras, and users can take photos and videos with their mobile phones.
  • shooting software support is required, and the built-in camera is called by the shooting software to shoot.
  • the shooting software calls the built-in camera for shooting
  • the image captured by the built-in camera is displayed on the viewfinder, and the viewfinder is displayed in the shooting software window on the screen of the portable data processing device, after the user presses the shooting button , the shooting software saves the picture in the viewfinder to complete the shooting function.
  • the startup shooting scheme of the built-in camera of the portable data processing device is currently cumbersome.
  • the portable data processing device has other functional software, such as telephone function software, and applications (APP) that can run other specific functions.
  • the icons need to be displayed on the screen of the portable data processing device.
  • the startup icon of the shooting software needs to be displayed on the designated interface of the portable data processing device screen as the other APP icons, and the user needs to perform multiple human-computer interactions to enter when shooting.
  • the specified interface The specified interface.
  • the portable data processing device usually locks the screen when it is not used for a long time.
  • the so-called lock screen locks the screen screen, and only unlocks the unlock button, otherwise it will not be unlocked, thereby preventing misoperation.
  • the portable data processing device is usually in a lock screen state, and the user needs to perform the unlock operation first, and then passes through multiple human-machines.
  • the interactive operation enters the specified interface of the startup icon of the display shooting software, clicks the startup icon to start the shooting software, and then needs to focus the target according to the image displayed in the viewfinder, and then clicks the shooting button to complete the shooting after the focus is completed.
  • the existing portable data processing device has a built-in camera shooting scheme that requires more human-computer interaction operations, is cumbersome to operate, and has a lower shooting speed. It takes a long time from the start of operation to the completion of shooting, and it is likely to miss the most. Good time to capture. Moreover, it takes a long save time after taking an image to restart the viewfinder to return to the shooting state, and the continuous shooting speed is slow, and the timing of the capture is often missed.
  • the main object of the present invention is to provide a start-up photographing device and method for a built-in camera of a portable data processing device, so as to reduce the number of human-computer interaction operations, and to improve the shooting speed.
  • a booting device for a built-in camera of a portable data processing device comprising:
  • a shortcut icon setting module configured to create a shortcut icon for starting the camera on the lock screen of the portable data processing device
  • a startup module configured to start a shooting thread module after starting the shooting device, or start a shooting thread module and a background thread module
  • Shooting thread module which specifically includes:
  • a first unit for creating a window on a screen of the portable data processing device; a second unit for opening a built-in camera of the portable data processing device;
  • a third unit configured to set a focal length of the built-in camera to a predetermined focal length
  • a fourth unit configured to associate the viewfinder of the built-in camera with the created window; a fifth unit, a viewfinder for starting the built-in camera, displaying a viewfinder image; and a sixth unit for detecting shooting An instruction to send a shooting signal to the built-in camera after detecting the shooting instruction;
  • a seventh unit configured to start a background thread module or invoke a started background thread module, transmit image data captured by the built-in camera to the background thread module, and return to the fifth unit;
  • the background thread module is configured to save image data sent by the shooting thread module.
  • a method for starting shooting of a built-in camera of a portable data processing device comprising:
  • the shooting thread is started, or the shooting thread and the back-end thread are started, and the shooting thread performs the following steps:
  • step F detecting a shooting instruction, and sending a shooting signal to the built-in camera after detecting the shooting instruction;
  • G Start the background thread or call the started background thread, and transfer the image data captured by the built-in camera to the background thread for saving, and the shooting thread returns to step E.
  • the present invention first creates a shortcut icon for starting the built-in camera on the lock screen of the portable data processing device, thereby omitting the unlocking operation and directly starting the built-in camera, and automatically turning on the built-in camera of the portable data processing device
  • the focal length is set to a predetermined focal length (for example, the predetermined focal length is the farthest focal length), so that the focusing operation can be omitted, so that the number of human-computer interactions during the start-up shooting process can be effectively reduced, the process of charging can be improved, and the shooting speed can be improved. Shooting quickly, very useful for capturing scenes.
  • the shooting thread restarts the viewfinder to return to the viewfinder preview window immediately after the image is taken, which does not block the next shooting, so that the user can immediately proceed.
  • the shooting of an image therefore, the present invention can improve the speed of continuous shooting relative to the prior art, and is very suitable for scenes of continuous capture.
  • FIG. 1 is a schematic diagram of the composition of a start-up camera of a built-in camera of the portable data processing device of the present invention
  • FIG. 2 is a flow chart of a method for starting shooting of a built-in camera of the portable data processing device according to the present invention. Mode for carrying out the invention
  • the booting device is an application software installed in a portable data processing device, which includes: a shortcut icon setting module 101, configured to create a shortcut icon for starting the photographing device on the lock screen of the portable data processing device;
  • the startup module 102 is configured to start the shooting thread module 103 after the startup of the startup camera, or start the shooting thread module 103 and the background thread module 104;
  • the shooting thread module 103 which specifically includes:
  • a first unit 131 configured to create a window on a screen of the portable data processing device
  • a second unit 132 configured to open a built-in camera of the portable data processing device
  • a third unit 133 configured to set a focal length of the built-in camera to a predetermined focal length
  • a fourth unit 134 configured to associate a viewfinder of the built-in camera with the created window
  • the sixth unit 136 is configured to detect a shooting instruction, and send a shooting signal to the built-in camera after detecting the shooting instruction; the built-in camera performs image capturing when receiving the shooting signal;
  • the seventh unit 137 is configured to start the background thread module 104 or call the activated background thread module 104, and transfer the image data captured by the built-in camera to the background thread module 104, and return to the fifth unit 135;
  • the background thread module 104 is configured to save image data sent by the shooting thread module 103, that is, save the image data on a local device or a network device.
  • the trigger timing of the shortcut icon setting module 101 may vary depending on the limitations of the portable data processing device operating system.
  • the booting device of the present invention can trigger the shortcut icon setting module 101 on the lock screen of the portable data processing device during installation. Created to start the start shot A quick icon for the camera.
  • the startup camera of the present invention does not trigger the shortcut icon setting module 101 when installed, but The shortcut icon setting module 101 is triggered when the startup camera is operated for the first time, and a shortcut icon for starting shooting is created on the lock screen of the portable data processing device. Therefore, in this embodiment, the startup module 102 of the present invention is further configured to determine whether the startup imaging device is initially activated in the portable data processing device after the startup of the startup imaging device is started, and if so, triggering the shortcut icon.
  • the setting module 101 creates a shortcut icon for starting the shooting device on the lock screen, and then starts the shooting thread module 103, or starts the shooting thread module 103 and the background thread module 104; otherwise, directly starts the shooting thread module 103, or directly starts shooting. Thread module 103 and background thread module 104.
  • the photographing device is activated by clicking the start icon of the photographing software.
  • the created lock screen shortcut icon is directed to the startup camera of the present invention, that is, the lock screen shortcut icon is associated with the startup camera, and the shortcut icon is clicked to directly start the startup camera of the present invention, thereby omitting
  • the unlocking operation directly starts the built-in camera, reduces the number of man-machine operations, and starts the operation of the built-in camera.
  • the first unit 131 may create only one window on the screen of the portable data processing device for associating the viewfinder of the built-in camera.
  • the window is a control, and in the prior art shooting software, the shooting interface includes many other controls in addition to the window control, such as an option button control, a data control for displaying text, etc., these controls will reduce shooting.
  • the speed at which the software starts shooting makes the user often miss the opportunity to capture.
  • the first unit 131 can create only one window on the screen of the portable data processing device, and the control occupies less resources, which improves the startup shooting speed of the startup camera.
  • the specific manner in which the second unit 132 opens the built-in camera of the portable data processing device is to invoke an interface command of the portable data processing device operating system to open the built-in camera and obtain an instance of the built-in camera.
  • the built-in camera is turned on using the Camera.open(int id) interface command.
  • the third unit 133 is a parameter setting unit, configured to set parameters of the built-in camera, wherein at least a focal length of the built-in camera is to be set to a predetermined focal length, and the predetermined focal length may be preset by a developer or a user.
  • a suitable predetermined focal length can be set for different scenes.
  • the predetermined focal length is the farthest focal length, that is, the step sets the focal length of the built-in camera to the farthest, for example, in the Andriod operating system, specifically calling the Parameters.setFocusMode(FOCUS_MODE_INFINITY) interface instruction
  • the focal length of the built-in camera is set to the farthest.
  • the present invention automatically sets the focal length to a predetermined focal length (e.g., the predetermined focal length is the farthest focal length).
  • the focal length of the built-in camera is set to a predetermined focal length, the focus operation can be omitted, so that the number of human-computer interactions during the start-up shooting process can be effectively reduced, the process of the tube can be increased, the shooting speed can be improved, and the shooting can be completed quickly. Very suitable for capturing scenes.
  • the third unit 133 is further configured to set the flash of the built-in camera to a closed state, for example, in the andriod operating system, specifically calling a Parameters.setFlashMode (FLASH_MODE_OFF) interface.
  • the command sets the flash of the built-in camera to the off state. This is because the flash of the built-in camera lowers the processing speed of the photographing, so in this embodiment, the flash of the built-in camera is further set to the off state, thereby further increasing the startup shooting speed.
  • the third unit 133 is further configured to set a size or a resolution of a captured image of the built-in camera, for example, selecting a size or a resolution of the captured image according to a preset instruction.
  • the Parameters.setPictureSize(int width, int height) interface command sets the size of the captured image, and calls Parameters. setPreviewSize(int width, int height) interface command to set the data size of each frame captured by the built-in camera hardware, etc.; Select and portable data
  • the size or resolution of the captured image that suits the model of the device can further improve the shooting speed under the premise of ensuring the image quality, which is convenient for the user to capture.
  • the third unit 133 may further match the size of the viewfinder of the built-in camera with the created window size.
  • the specific matching method in the android operating system is: setting the width of the viewfinder, that is, the WindowManager ⁇ ayoutParams.width parameter, to a value matching the width of the window, usually the same or the closest value; the height of the viewfinder is The WindowManager.LayoutParams.height parameter is set to a value that matches the height of the window, usually the same or the closest value. Matching the size of the viewfinder of the built-in camera with the size of the created window can further place the image displayed by the viewfinder in the window, reducing the influence of the default viewfinder on the shooting speed caused by the excessive size of the viewfinder.
  • the third unit 133 can also be used to set other parameters of the built-in camera, such as parameter settings such as white balance parameters.
  • the specific manner in which the fourth unit 134 associates the viewfinder of the built-in camera with the created window is accomplished by calling a viewfinder associated interface of the portable data processing device operating system.
  • the viewfinder that calls the Camera.setPreviewDisplay (SurfaceHolder holder) interface command ⁇ 1 built-in camera is associated with the created window.
  • the sixth unit 136 is specifically configured to:
  • the event of clicking on the screen of the portable data processing device includes clicking at any point of the screen of the portable data processing device, and if an event of the screen of the portable data processing device is detected, determining that the shooting instruction is detected, Sending a shooting signal to the built-in camera; Or detecting an event of clicking the created window, the event of clicking the created window includes clicking at any point in the created window, and if the event of the window created by the click is detected, determining that the shooting instruction is detected, the built-in The camera sends a shooting signal;
  • the event of clicking the viewfinder image includes any point in the viewfinder image being clicked, and if the click event of the viewfinder image is detected, determining the detection Go to the shooting command and send a shooting signal to the built-in camera.
  • the shooting instruction of the shooting software often has a specific shooting button triggering, and the user needs to click a specific shooting button with one hand, and the shooting button is often disposed at the bottom position of the bottom of the screen in order to balance the left and right hand operations, and the user's operation.
  • the finger usually the thumb
  • the hand shake phenomenon often occurs, which causes the image to appear ghosting. This problem is more in the size of the portable data processing device. Especially when it is big.
  • the present invention adopts the manner of detecting the shooting instruction of the sixth unit 136, and triggers shooting as long as the click event of the entire portable data processing device screen, or the created window, or the viewfinder image is detected, which is not necessary for one-hand operation.
  • Move the finger to trigger the shooting button just click the screen, not only convenient for the user to operate with one hand, but also prevent the hand shake phenomenon during shooting, thus preventing the phenomenon of ghosting, so the shooting quality during one-hand operation can be improved.
  • the size of the window created by the first unit 131 does not need to occupy the entire screen, but only a part of the screen, which can reduce the occupation of device resources and improve startup.
  • the sixth unit 136 is specifically configured to detect an event of clicking on the entire portable data processing device screen, and if it is detected that any point of the portable data processing device screen is clicked, it is determined that the shooting instruction is detected, and is sent to the built-in camera. Shoot the signal. This can improve the startup shooting speed as much as possible. It is convenient for users to operate with one hand, to prevent hand shake and improve the shooting quality when one-handed operation.
  • the device embodiments described above are only schematic.
  • the division of the unit is only a logical function division, and the actual implementation may have another division manner, for example, multiple modules or units may be integrated.
  • each module or unit is physically physically present.
  • the present invention also discloses a method for starting photographing of a built-in camera of a portable data processing device, which is executed by the start-up photographing device.
  • 2 is a flow chart of a method for starting shooting of a built-in camera of the portable data processing device of the present invention. Referring to Figure 2, the method includes:
  • Step 201 Create a shortcut icon for starting the startup shooting device on a lock screen of the portable data processing device.
  • the shortcut icon points to the startup camera, and when the shortcut icon is clicked, the startup camera is activated.
  • Step 202 After the startup of the shooting device is started, start a shooting thread, or start a shooting thread and a background thread.
  • Step 221 Create a window on the screen of the portable data processing device.
  • Step 222 Open the built-in camera of the portable data processing device.
  • the built-in camera is turned on using the Camera.open(int id) interface command.
  • Step 223 Set a focal length of the built-in camera to a predetermined focal length, for example, the predetermined focal length is the farthest focal length.
  • the specific method is as follows: For example, in the andriod operating system, the parameter of the Parameters.setFocusMode(FOCUS_MODE_INFINITY) interface is called to set the focal length of the built-in camera to a predetermined focal length.
  • Step 224 Associate the viewfinder of the built-in camera with the created window. For example, in the andriod operating system, it is called Camera. setPre vie wDisplay (Surf aceHolder The holder interface interface associates the viewfinder of the built-in camera with the created window.
  • Step 225 Start a viewfinder of the built-in camera to display a viewfinder image.
  • Step 226 Detect a shooting instruction, and send a shooting signal to the built-in camera after detecting the shooting instruction.
  • the built-in camera performs the corresponding image capture operation after receiving the shooting signal.
  • Step 227 Start a background thread or call a background thread that has been started, and transfer the image data captured by the built-in camera to the background thread for saving, and the shooting thread returns to the step.
  • the booting device of the present invention can be created on the lock screen of the portable data processing device for launching the booting device at the time of installation. Fast icon.
  • the booting device of the present invention is not created on the lock screen of the portable data processing device for launching the booting device when installed A shortcut icon, but a shortcut icon for starting shooting is created on the lock screen of the portable data processing device when the camera is first run.
  • the method further includes: determining whether the startup camera is the first time in the portable data processing device Start, if yes, create a shortcut icon for starting the shooting device on the lock screen of the portable data processing device, then start the shooting thread, or start the shooting thread and the background thread; otherwise, directly start the shooting thread, or directly start the shooting thread And background threads.
  • the photographing device is activated by clicking the start icon of the photographing software.
  • the step 221 creates a window on the screen of the portable data processing device in a specific manner: only one window is created on the screen of the portable data processing device. Creating only one control takes up less resources and improves the startup shooting speed of this startup camera.
  • other controls can be created if necessary, but the number of controls created needs to be as small as possible.
  • the step 223 may further include: setting the flash of the built-in camera to a closed state.
  • setting the flash of the built-in camera For example, in the andriod operating system, you can use the Parameters.setFlashMode(FLASH_MODE_OFF) interface command to set the built-in camera's flash to off. This reduces the device resources used by the flash and increases the startup shooting speed.
  • the step 223 may further include: setting a size or a resolution of the captured picture of the built-in camera, and matching the size of the viewfinder of the built-in camera with the created window size. For example, according to the preset instruction, select the size or resolution of the captured image.
  • the android operating system specifically call the Parameters.setPictureSize(int width, int height) interface command to set the size of the captured image, and call Parameters.
  • setPreviewSize(int width, Int height) interface instruction sets the size of each frame of data collected by the built-in camera hardware, etc.; sets the width of the viewfinder, that is, the WindowManager.LayoutParams.width parameter, to a value that is comparable to the width of the window, usually the same or the most Close value; set the height of the viewfinder, the WindowManager.LayoutParams.height parameter, to a value that matches the height of the window, usually the same or the closest value.
  • the specific method for detecting the shooting instruction in the step 226 is: Detecting an event that clicks on the screen of the entire portable data processing device, the event of clicking on the screen of the portable data processing device includes any point of the screen of the portable data processing device being clicked, and if an event of the screen of the portable data processing device is detected, the determination is detected Shooting instructions; or, detecting an event of clicking on the created window, the event of clicking the created window includes clicking at any point in the created window, and if the event of the window created by the click is detected, determining that the shooting instruction is detected ;
  • the size of the window created in step 221 does not have to occupy the entire screen, but only a part of the screen area, which can reduce the occupation of device resources and improve the startup shooting speed.
  • the step 226 specifically includes detecting an event of clicking the entire portable data processing device screen, and if it is detected that any point of the portable data processing device screen is clicked, it is determined that the shooting instruction is detected, and the shooting signal is sent to the built-in camera. This can make the start-up shooting speed as much as possible, and it is more convenient for the user to operate with one hand, preventing the hand shake phenomenon and improving the shooting quality in one-hand operation.

Abstract

便携数据处理设备内置相机的启动拍摄装置和方法,包括:在便携数据处理设备的锁屏上创建用于启动拍摄装置的快捷图标;所述启动拍摄装置启动后启动拍摄线程;所述拍摄线程包括:A、在屏幕上创建一个窗口;B、打开内置相机;C、将所述内置相机的焦距设置为预定焦距;D、将所述内置相机取景器和所述创建的窗口关联;E、启动所述内置相机的取景器,显示取景器图像;F、在检测到拍摄指令后向内置相机发送拍摄信号;G、启动后台线程或调用已启动的后台线程,将所述内置相机所拍的图像数据传给所述后台线程进行保存,本拍摄线程返回步骤E。通过该方法可以降低人机交互操作的次数,简化操作过程,提高拍摄速度。

Description

便携数据处理设备内置相机的启动拍摄装置和方法
技术领域
本申请涉及便携数据处理设备的内置相机技术领域, 尤其涉及一种 便携数据处理设备内置相机的启动拍摄装置和方法。 发明背景
便携数据处理设备一般是指具有电子数据处理能力的、 方便随身携 带的计算设备。 例如移动电话即手机、 个人数字助理器(PDA, Personal Digital Assistant )、 手持计算机( Pocket PC ), 平板电脑等。 目前的便携 数据处理设备通常内置有数码相机, 具有照相或摄像的功能。 例如目前 业界的主流手机都具有内置相机, 用户可以用手机进行拍照和摄像。
随着便携数据处理设备硬件性能的提升, 例如便携数据处理设备的 处理器的速度越来越快, 内置相机的像素越来越高, 利用便携数据处理 设备内置相机所拍摄的图像的效果也越来越好。 因此越来越多的用户开 始习惯用便携数据处理设备(如手机)来随时随地拍摄景象, 尤其适用 于抓拍的场景。
在利用便携数据处理设备内置相机进行拍摄时, 需要有拍摄软件支 持, 由拍摄软件调用所述内置相机进行拍摄。 当拍摄软件调用所述内置 相机进行拍摄时, 所述内置相机采集到的图像会显示在取景器上, 取景 器显示在便携数据处理设备屏幕上的拍摄软件窗口中, 用户在按下拍摄 按钮后, 则拍摄软件将取景器中的画面保存下来, 从而完成拍摄功能。
但是, 目前便携数据处理设备内置相机的启动拍摄方案比较繁瑣。 便携数据处理设备除了具有拍摄软件, 还具有其它的功能软件, 如电话 功能软件, 以及可以运行其它特定功能的应用程序 (APP ), 这些 APP 的图标都需要显示在便携数据处理设备屏幕上, 所述拍摄软件的启动图 标与其它 APP图标一样需要显示在便携数据处理设备屏幕的指定界面, 用户在拍摄时需要进行多次人机交互才能进入该指定界面。 并且, 便携 数据处理设备在长时间不用时通常会锁屏, 所谓锁屏就是将屏幕画面锁 定, 只有触动解锁按钮才会解锁, 否则不会解锁, 从而防止误操作。 用 户大多数情况下是看到想要拍摄的场景才会拿出便携数据处理设备进 行拍摄, 此时便携数据处理设备通常处于锁屏状态, 用户需要首先进行 解锁操作, 然后在通过多次人机交互操作进入显示拍摄软件的启动图标 的指定界面中, 点击所述启动图标启动拍摄软件, 然后需要依据取景器 中显示的图像对目标进行对焦操作, 对焦完成后再点击所述拍摄按钮完 成拍摄。
因此, 现有的便携数据处理设备内置相机的启动拍摄方案所需的人 机交互操作较多, 操作繁瑣, 拍摄速度较低, 从开始操作到拍摄完成需 要相当长的时间, 很可能会错过最佳的抓拍时机。 而且, 在拍摄完一个 图像后需要较长的保存时间才能重新启动取景器回到待拍摄状态, 连续 拍摄的速度较慢, 往往会错过抓拍时机。 发明内容
有鉴于此, 本发明的主要目的在于提供一种便携数据处理设备内置 相机的启动拍摄装置和方法, 以降低人机交互操作的次数, 筒化操作过 程, 提高拍摄速度。
本发明的技术方案是这样实现的:
一种便携数据处理设备内置相机的启动拍摄装置, 包括:
快捷图标设置模块, 用于在便携数据处理设备的锁屏上创建用于启 动拍摄装置的快捷图标; 启动模块, 用于在所述启动拍摄装置启动后, 启动拍摄线程模块, 或启动拍摄线程模块和后台线程模块;
拍摄线程模块, 其中具体包括:
第一单元, 用于在便携数据处理设备的屏幕上创建一窗口; 第二单元, 用于打开便携数据处理设备的内置相机;
第三单元, 用于将所述内置相机的焦距设置为预定焦距;
第四单元, 用于将所述内置相机的取景器和所述创建的窗口关联; 第五单元, 用于启动所述内置相机的取景器, 显示取景器图像; 第六单元, 用于检测拍摄指令, 在检测到拍摄指令后向内置相机发 送拍摄信号;
第七单元, 用于启动后台线程模块或调用已启动的后台线程模块, 将所述内置相机所拍的图像数据传给所述后台线程模块, 重新返回第五 单元;
后台线程模块, 用于保存所述拍摄线程模块传来的图像数据。
一种便携数据处理设备内置相机的启动拍摄方法, 包括:
在便携数据处理设备的锁屏上创建用于启动所述启动拍摄装置的 快捷图标;
在所述启动拍摄装置启动后, 启动拍摄线程, 或启动拍摄线程和后 台线程, 由拍摄线程执行如下步骤:
A、 在便携数据处理设备的屏幕上创建一窗口;
B、 打开便携数据处理设备的内置相机;
C、 将所述内置相机的焦距设置为预定焦距;
D、 将所述内置相机的取景器和所述创建的窗口关联;
E、 启动所述内置相机的取景器, 显示取景器图像;
F、 检测拍摄指令, 在检测到拍摄指令后向内置相机发送拍摄信号; G、 启动后台线程或调用已启动的后台线程, 将所述内置相机所拍 的图像数据传给所述后台线程进行保存, 本拍摄线程返回步骤 E。 与现有技术相比, 本发明首先在便携数据处理设备锁屏上创建用于 启动内置相机的快捷图标, 从而省略掉解锁操作直接启动内置相机, 在 打开便携数据处理设备内置相机后, 自动将焦距设置为预定焦距(例如 所述预定焦距为最远焦距), 从而可以省略掉对焦操作, 因此可以有效 地降低在启动拍摄过程中的人机交互次数, 筒化操作过程, 提高拍摄速 度, 能够迅速完成拍摄, 对抓拍场景非常适用。 同时, 启动另一线程来 保存所拍摄的图像数据, 而本拍摄线程在拍摄完一图像后立即重新启动 所述取景器回到取景器预览窗口, 不会阻塞下次拍摄, 方便用户马上进 行下一图像的拍摄, 因此本发明相对于现有技术可以提升连续拍摄的速 度, 非常适合连续抓拍的场景。 附图简要说明
图 1为本发明所述便携数据处理设备内置相机的启动拍摄装置的组 成示意图;
图 2为本发明所述便携数据处理设备内置相机的启动拍摄方法的一 种流程图。 实施本发明的方式
下面结合附图及具体实施例对本发明再作进一步详细的说明。 图 1为本发明所述便携数据处理设备内置相机的启动拍摄装置的组 成示意图。 参见图 1 , 该启动拍摄装置是一种安装在便携数据处理设备 中的应用软件, 其中包括: 快捷图标设置模块 101 , 用于在便携数据处理设备的锁屏上创建用 于启动拍摄装置的快捷图标;
启动模块 102, 用于在所述启动拍摄装置启动后, 启动拍摄线程模 块 103 , 或启动拍摄线程模块 103和后台线程模块 104;
拍摄线程模块 103 , 其中具体包括:
第一单元 131 , 用于在便携数据处理设备的屏幕上创建一个窗口; 第二单元 132, 用于打开便携数据处理设备的内置相机;
第三单元 133 , 用于将所述内置相机的焦距设置为预定焦距; 第四单元 134, 用于将所述内置相机的取景器和所述创建的窗口关 联;
第五单元 135 , 用于启动所述内置相机的取景器, 显示取景器图像; 即在所创建的窗口内显示取景器图像, 该窗口相当于一个取景器预览窗 口;
第六单元 136, 用于检测拍摄指令, 在检测到拍摄指令后向内置相 机发送拍摄信号; 内置相机在收到拍摄信号会进行图像拍摄;
第七单元 137, 用于启动后台线程模块 104或调用已启动的后台线 程模块 104 , 将所述内置相机所拍的图像数据传给所述后台线程模块 104, 重新返回第五单元 135;
后台线程模块 104, 用于保存所述拍摄线程模块 103传来的图像数 据, 即将所述图像数据保存在本地设备或网络设备上。
所述快捷图标设置模块 101的触发时机可以根据便携数据处理设备 操作系统的限制不同而有所不同。
对于在安装 APP 时允许在锁屏上创建快捷图标的便携数据处理设 备操作系统, 则本发明的启动拍摄装置可以在安装时触发所述快捷图标 设置模块 101 , 在便携数据处理设备的锁屏上创建用于启动所述启动拍 摄装置的快捷图标。
对于在安装 APP 时不允许在锁屏上创建快捷图标的便携数据处理 设备操作系统, 如 Android操作系统, 则本发明的启动拍摄装置在安装 时不触发所述快捷图标设置模块 101 , 而是在本启动拍摄装置第一次运 行时触发该快捷图标设置模块 101 , 在便携数据处理设备的锁屏上创建 用于启动拍摄的快捷图标。 因此在这种实施例中, 本发明所述的启动模 块 102进一步用于在本启动拍摄装置启动后判断本启动拍摄装置是否为 在本便携数据处理设备初次启动, 如果是则触发所述快捷图标设置模块 101 在锁屏上创建用于启动本启动拍摄装置的快捷图标, 之后启动拍摄 线程模块 103, 或启动拍摄线程模块 103和后台线程模块 104; 否则直 接启动拍摄线程模块 103 , 或直接启动拍摄线程模块 103和后台线程模 块 104。 这里, 拍摄装置通过点击拍摄软件的启动图标启动。
所述创建的锁屏快捷图标会指向本发明的启动拍摄装置, 即将该锁 屏快捷图标与该启动拍摄装置关联, 该快捷图标被点击后会直接启动运 行本发明的启动拍摄装置, 从而省略掉解锁操作直接启动内置相机, 降 低人机操作次数, 筒化启动内置相机的操作步骤。
为了提升拍摄线程模块 103的启动拍摄速度, 所述第一单元 131在 便携数据处理设备的屏幕上可以只创建一个窗口, 用于关联所述内置相 机的取景器。 所述窗口就是一个控件, 而在现有技术的拍摄软件中, 其 拍摄界面除了窗口控件, 还包括许多其它的控件, 例如选项按钮控件, 用于显示文字的数据控件等, 这些控件会降低拍摄软件的启动拍摄速 度, 使得用户往往错过抓拍的时机。 而本发明的一种实施例中, 所述第 一单元 131可以在便携数据处理设备屏幕上只创建一个窗口, 控件占用 的资源少, 提升了本启动拍摄装置的启动拍摄速度。
当然在其他实施例中, 在必要的情况下还可以创建其它控件, 但是 所创建的控件的数量需要尽量少。
所述第二单元 132打开便携数据处理设备的内置相机的具体方式是 调用便携数据处理设备操作系统的接口指令打开所述内置相机, 并获得 该内置相机的一个实例。 例如在 andriod 操作系统中是利用 Camera.open(int id)接口指令打开内置相机。
所述第三单元 133是一个参数设置单元, 用于设置所述内置相机的 参数, 其中至少要将所述内置相机的焦距设置为预定焦距, 所述预定焦 距可以由开发人员或用户预先设置, 可以为不同的场景设置相适应的预 定焦距。 在一种优选方案中, 将所述预定焦距为最远焦距, 即本步骤将 所述内置相机的焦距设置为最远, 例如在 andriod操作系统中具体是调 用 Parameters.setFocusMode(FOCUS_MODE_INFINITY)接口指令将内置 相机的焦距设置为最远。 由于本发明自动将焦距设置为预定焦距(例如 预定焦距为最远焦距)。 将所述内置相机的焦距设置为预定焦距后, 从 而可以省略掉对焦操作, 因此可以有效地降低在启动拍摄过程中的人机 交互次数, 筒化操作过程, 提高拍摄速度, 能够迅速完成拍摄, 对抓拍 场景非常适用。
另外, 在本发明的另一实施例中, 所述第三单元 133还进一步用于 将所述内置相机的闪光灯设置为关闭状态, 例如在 andriod操作系统中 具体是调用 Parameters.setFlashMode(FLASH_MODE_OFF)接口指令将 内置相机的闪光灯设置为关闭状态。 这是由于内置相机的闪光灯会降低 拍照的处理速度, 因此在该实施例中, 进一步将所述内置相机的闪光灯 设置为关闭状态, 从而进一步提升启动拍摄速度。
另外, 在本发明的再一实施例中, 所述第三单元 133还进一步用于 设置内置相机的拍摄图像的大小或分辨率, 例如, 按照预设的指令选择 拍摄图片的大小或分辨率, 在 android 操作系统中具体是调用 Parameters.setPictureSize(int width, int height)接口指令设置拍摄图像的大 小, 调用 Parameters. setPreviewSize(int width, int height)接口指令设置所 述内置相机硬件采集的每一帧数据大小等; 选择与便携数据处理设备型 号相适应的拍摄图像的大小或分辨率可以在保证图像质量的前提下, 进 一步提升拍摄速度, 方便用户抓拍。
所述第三单元 133还可以进一步将所述内置相机的取景器大小与所 创建窗口大小进行匹配。 例如在 android操作系统中具体的匹配方法是: 将取景器的宽度即 WindowManager丄 ayoutParams.width参数设置为与所 述窗口宽度匹配的值, 通常是相同或最接近的值; 将取景器的高度即 WindowManager.LayoutParams.height参数设置为与所述窗口高度匹配的 值, 通常是相同或最接近的值。 将所述内置相机的取景器大小与所创建 窗口大小进行匹配, 可以进一步将取景器显示的图像放置在所述窗口 内, 减少默认取景器过大所造成的对拍摄速度的影响。
当然, 所述第三单元 133还可以用于对内置相机的进行其它参数进 行设置, 例如白平衡参数等参数设置。
所述第四单元 134将所述内置相机的取景器和所述创建的窗口关联 的具体方式是调用便携数据处理设备操作系统的取景器关联接口来完 成 。 例 如 在 andriod 操 作 系 统 中 , 则 是 调 用 Camera.setPreviewDisplay(SurfaceHolder holder)接口指令^ 1内置相机的 取景器和所创建的所述窗口进行关联。
在一种实施例中, 所述第六单元 136具体用于:
检测点击便携数据处理设备屏幕的事件, 所述点击便携数据处理设 备屏幕的事件包括便携数据处理设备屏幕的任何一点被点击, 如果检测 到便携数据处理设备屏幕的事件, 则判定检测到拍摄指令, 向内置相机 发送拍摄信号; 或者, 检测点击所创建窗口的事件, 所述点击所创建窗口的事件包 括所创建窗口内的任何一点被点击, 如果检测到所述点击所创建窗口的 事件, 则判定检测到拍摄指令, 向内置相机发送拍摄信号;
或者, 检测点击所述取景器图像的事件, 点击所述取景器图像的事 件包括所述取景器图像内的任何一点被点击, 如果检测到所述点击所述 取景器图像的事件,则判定检测到拍摄指令,向内置相机发送拍摄信号。
用户利用便携数据处理设备的内置相机进行拍摄时往往是单手操 作。 在现有技术中, 拍摄软件的拍摄指令往往有特定的拍摄按钮触发, 用户需要单手点击特定的拍摄按钮, 而拍摄按钮为了兼顾左右手操作, 往往设置在屏幕底部的中间位置, 距离用户的操作手指 (通常是拇指) 较远, 用户单手操作时将手指伸向所述拍摄按钮点按时, 往往会发生手 抖现象, 导致拍摄的画面出现虚影现象, 这个问题在便携数据处理设备 尺寸较大时尤为突出。
因此本发明采用所述第六单元 136的检测拍摄指令的方式, 只要检 测到对整个便携数据处理设备屏幕、 或所创建窗口、 或取景器图像的点 击事件即可触发拍摄, 单手操作时不必大幅移动手指去触发拍摄按钮, 只需要点击一下屏幕即可, 不但方便用户单手操作, 而且防止拍摄时的 手抖现象, 进而防止拍摄虚影现象, 因此可以提高单手操作时的拍摄质 量。
当然, 在一种优选的实施例中, 所述第一单元 131所创建的窗口大 小可以不必占满整个屏幕, 而是只占屏幕的一部分局部区域, 这样可以 减少对设备资源的占用, 提升启动拍摄速度; 但是同时, 所述第六单元 136具体用于检测点击整个便携数据处理设备屏幕的事件, 如果检测到 便携数据处理设备屏幕的任何一点被点击则判定检测到拍摄指令, 向内 置相机发送拍摄信号。 这样可以在尽量提升启动拍摄速度的同时, 更加 方便用户单手操作, 防止手抖现象, 提高单手操作时的拍摄质量。
另外, 以上所描述的装置实施例仅仅是示意性的, 例如, 所述单元 的划分,仅仅为一种逻辑功能划分, 实际实现时可以有另外的划分方式, 例如其中多个模块或单元可以集成在一个处理模块或单元中, 也可以是 各个模块或单元单独物理存在。 与上述启动拍摄装置对应, 本发明还公开了一种便携数据处理设备 内置相机的启动拍摄方法, 由所述启动拍摄装置执行。 图 2为本发明所 述便携数据处理设备内置相机的启动拍摄方法的一种流程图。参见图 2, 该方法包括:
步骤 201、 在便携数据处理设备的锁屏上创建用于启动所述启动拍 摄装置的快捷图标。 该快捷图标指向所述启动拍摄装置, 当该快捷图标 被点击后则启动所述启动拍摄装置。
步骤 202、 在所述启动拍摄装置启动后, 启动拍摄线程, 或启动拍 摄线程和后台线程。
所述拍摄线程启动后执行如下步骤 221至 227:
步骤 221、 在便携数据处理设备的屏幕上创建一个窗口。
步骤 222、打开便携数据处理设备的内置相机。例如在 andriod操作 系统中是利用 Camera.open(int id)接口指令打开内置相机。
步骤 223、 将所述内置相机的焦距设置为预定焦距, 所述例如预定 焦距为最远焦距。 具体方法是: 例如在 andriod操作系统中具体是调用 Parameters.setFocusMode(FOCUS_MODE_INFINITY)接口指令将内置相 机的焦距设置为预定焦距。
步骤 224、 将所述内置相机的取景器和所述创建的窗口关联。 例如 在 andriod操作系统中,则是调用 Camera. setPre vie wDisplay (Surf aceHolder holder)接口指令将内置相机的取景器和所创建的所述窗口进行关联。 步骤 225、 启动所述内置相机的取景器, 显示取景器图像。
步骤 226、 检测拍摄指令, 在检测到拍摄指令后, 向内置相机发送 拍摄信号。 内置相机在收到拍摄信号后进行对应的图像拍摄动作。
步骤 227、 启动后台线程或调用已启动的后台线程, 将所述内置相 机所拍的图像数据传给所述后台线程进行保存, 本拍摄线程返回步骤
225。
当然, 在所述内置相机拍摄完一组图像数据之后, 本拍摄线程在将 所述图像数据传给所述后台线程进行保存之前, 还可以进行一些提示性 的操作, 例如: 提示用户当前是否需要保存图像; 提示用户将图像保存 在什么地方, 是保存在本地设备上,还是上传保存在网络设备上, 等等。
对于在安装 APP 时允许在锁屏上创建快捷图标的便携数据处理设 备操作系统, 则本发明的启动拍摄装置可以在安装时在便携数据处理设 备的锁屏上创建用于启动所述启动拍摄装置的快捷图标。
对于在安装 APP 时不允许在锁屏上创建快捷图标的便携数据处理 设备操作系统, 则本发明的启动拍摄装置在安装时不在便携数据处理设 备的锁屏上创建用于启动所述启动拍摄装置的快捷图标, 而是在本启动 拍摄装置第一次运行时, 在便携数据处理设备的锁屏上创建用于启动拍 摄的快捷图标。 因此在这种实施例中, 本发明在所述启动拍摄装置启动 后, 启动拍摄线程之前, 或启动拍摄线程和后台线程之前, 进一步包括: 判断本启动拍摄装置是否为在本便携数据处理设备初次启动, 如果是则 在便携数据处理设备的锁屏上创建用于启动本启动拍摄装置的快捷图 标, 之后启动拍摄线程, 或启动拍摄线程和后台线程; 否则直接启动拍 摄线程, 或直接启动拍摄线程和后台线程。 这里, 该拍摄装置通过点击 拍摄软件的启动图标启动。 在本方法的一种实施例中, 所述步骤 221在便携数据处理设备的屏 幕上创建一个窗口的具体方式为: 在便携数据处理设备的屏幕上只创建 一个窗口。 只创建一个控件所占用的资源少, 提升了本启动拍摄装置的 启动拍摄速度。 当然在其他实施例中, 在必要的情况下还可以创建其它 控件, 但是所创建的控件的数量需要尽量少。
为了进一步提升启动拍摄速度, 在本发明的一种实施例中, 所述步 骤 223还可以进一步包括: 将所述内置相机的闪光灯设置为关闭状态。 例 如 , 在 andriod 操 作 系 统 中 具 体 是 调 用 Parameters.setFlashMode(FLASH_MODE_OFF)接口指令将内置相机的闪 光灯设置为关闭状态。 从而降低闪光灯所占用的设备资源, 提升启动拍 摄速度。
在进一步的实施例中, 所述步骤 223还可以进一步包括: 设置内置 相机的拍摄图片的大小或分辨率, 将所述内置相机的取景器大小与所创 建窗口大小进行匹配。 例如, 按照预设的指令选择拍摄图片的大小或分 辨率, 在 android操作系统中具体是调用 Parameters.setPictureSize(int width, int height)接 口 指令设置拍摄 图 像的 大小 , 调 用 Parameters. setPreviewSize(int width, int height)接口指令设置所述内置相 机硬件采集的每一帧数据大小等; 将取景器的 宽度即 WindowManager.LayoutParams.width参数设置为与所述窗口宽度匹酉己的 值 , 通常是相 同 或 最接近的值 ; 将取景 器 的 高度 即 WindowManager.LayoutParams.height参数设置为与所述窗口高度匹配的 值, 通常是相同或最接近的值。 通过这些处理, 可以进一步提升启动拍 摄速度。
在一种具体实施例中, 所述步骤 226所述检测拍摄指令的具体方法 为: 检测点击整个便携数据处理设备屏幕的事件, 所述点击便携数据处 理设备屏幕的事件包括便携数据处理设备屏幕的任何一点被点击, 如果 检测到所述便携数据处理设备屏幕的事件, 则判定检测到拍摄指令; 或者, 检测点击所创建窗口的事件, 所述点击所创建窗口的事件包 括所创建窗口内的任何一点被点击, 如果检测到所述点击所创建窗口的 事件, 则判定检测到拍摄指令;
或者, 检测点击所述取景器图像的事件, 点击所述取景器图像的事 件包括所述取景器图像内的任何一点被点击, 如果检测到所述点击所述 取景器图像的事件, 则判定检测到拍摄指令。
当然, 在一种优选的实施例中, 所步骤 221所创建的窗口大小可以 不必占满整个屏幕, 而是只占屏幕的一部分局部区域, 这样可以减少对 设备资源的占用, 提升启动拍摄速度。 但是所述步骤 226具体包括检测 点击整个便携数据处理设备屏幕的事件, 如果检测到便携数据处理设备 屏幕的任何一点被点击则判定检测到拍摄指令, 向内置相机发送拍摄信 号。这样可以在尽量提升启动拍摄速度的同时,更加方便用户单手操作, 防止手抖现象, 提高单手操作时的拍摄质量。
以上所述仅为本发明的较佳实施例而已, 并不用以限制本发明, 凡 在本发明的精神和原则之内, 所做的任何修改、 等同替换、 改进等, 均 应包含在本发明保护的范围之内。

Claims

权利要求书
1、 一种便携数据处理设备内置相机的启动拍摄装置, 其特征在于, 包括:
快捷图标设置模块, 用于在便携数据处理设备的锁屏上创建用于启 动拍摄装置的快捷图标;
启动模块, 用于在所述启动拍摄装置启动后, 启动拍摄线程模块, 或启动拍摄线程模块和后台线程模块;
拍摄线程模块, 其中具体包括:
第一单元, 用于在便携数据处理设备的屏幕上创建一窗口; 第二单元, 用于打开便携数据处理设备的内置相机;
第三单元, 用于将所述内置相机的焦距设置为预定焦距;
第四单元, 用于将所述内置相机的取景器和所述创建的窗口关联; 第五单元, 用于启动所述内置相机的取景器, 在所述创建的窗口在 中显示取景器图像;
第六单元, 用于检测拍摄指令, 在检测到拍摄指令后, 向内置相机 发送拍摄信号;
第七单元, 用于启动后台线程模块或调用已启动的后台线程模块, 将所述内置相机所拍的图像数据传给所述后台线程模块, 重新返回所述 第五单元;
后台线程模块, 用于保存所述拍摄线程模块传来的所述图像数据。
2、 根据权利要求 1 所述的装置, 其特征在于, 所述预定焦距为最 远焦距。
3、 根据权利要求 1 所述的装置, 其特征在于, 所述第三单元进一 步用于将所述内置相机的闪光灯设置为关闭状态。
4、 根据权利要求 3 所述的装置, 其特征在于, 所述第三单元进一 步用于设置内置相机的拍摄图片的大小或分辨率; 将所述内置相机的取 景器大小与所创建窗口大小进行匹配。
5、 根据权利要求 1 所述的装置, 其特征在于, 所述第六单元具体 用于:
检测点击便携数据处理设备屏幕的事件, 所述点击便携数据处理设 备屏幕的事件包括便携数据处理设备屏幕的任何一点被点击, 如果检测 到所述便携数据处理设备屏幕的事件, 则判定检测到拍摄指令, 向内置 相机发送拍摄信号;
或者, 检测点击所创建窗口的事件, 所述点击所创建窗口的事件包 括所创建窗口内的任何一点被点击, 如果检测到所述点击所创建窗口的 事件, 则判定检测到拍摄指令, 向内置相机发送拍摄信号;
或者, 检测点击所述取景器图像的事件, 点击所述取景器图像的事 件包括所述取景器图像内的任何一点被点击, 如果检测到所述点击所述 取景器图像的事件,则判定检测到拍摄指令,向内置相机发送拍摄信号。
6、 根据权利要求 1所述的装置, 其特征在于,
所述第一单元具体用于在便携数据处理设备的屏幕上创建一窗口 大小占屏幕局部区域的窗口;
所述第六单元具体用于检测点击便携数据处理设备屏幕的事件, 所 述点击便携数据处理设备屏幕的事件包括便携数据处理设备屏幕的任 何一点被点击, 如果检测到所述点击便携数据处理设备屏幕的事件, 则 判定检测到拍摄指令, 向内置相机发送拍摄信号。
7、 根据权利要求 1 所述的装置, 其特征在于, 所述启动模块进一 步用于在本启动拍摄装置启动后, 判断本启动拍摄装置是否为在本便携 数据处理设备第一次启动, 如果是则触发所述快捷图标设置模块在锁屏 上创建用于启动本启动拍摄装置的快捷图标。
8、 一种便携数据处理设备内置相机的启动拍摄方法, 其特征在于, 包括:
在便携数据处理设备的锁屏上创建用于启动所述启动拍摄装置的 快捷图标;
在所述启动拍摄装置启动后, 启动拍摄线程, 或启动拍摄线程和后 台线程, 由拍摄线程执行如下步骤:
A、 在便携数据处理设备的屏幕上创建一窗口;
B、 打开便携数据处理设备的内置相机;
C、 将所述内置相机的焦距设置为预定焦距;
D、 将所述内置相机的取景器和所述创建的窗口关联;
E、 启动所述内置相机的取景器, 在所述创建的窗口在中显示取景 器图像;
F、 检测拍摄指令, 在检测到拍摄指令后, 向内置相机发送拍摄信 号;
G、 启动后台线程或调用已启动的后台线程, 将所述内置相机所拍 的图像数据传给所述后台线程进行保存, 本拍摄线程返回步骤 E。
9、 根据权利要求 8所述的方法, 其特征在于, 所述预定焦距为最 远焦距。
10、 根据权利要求 8所述的方法, 其特征在于, 进一步包括: 将所 述内置相机的闪光灯设置为关闭状态。
11、 根据权利要求 10所述的方法, 其特征在于, 进一步包括: 设置内置相机的拍摄图片的大小或分辨率;
将所述内置相机的取景器大小与所创建窗口大小进行匹配。
12、 根据权利要求 8所述的方法, 其特征在于, 所述步骤 F所述检 测拍摄指令的具体方法为:
检测点击便携数据处理设备屏幕的事件, 所述点击便携数据处理设 备屏幕的事件包括便携数据处理设备屏幕的任何一点被点击, 如果检测 到所述便携数据处理设备屏幕的事件, 则判定检测到拍摄指令; 或者, 检测点击所创建窗口的事件, 所述点击所创建窗口的事件包括所创 建窗口内的任何一点被点击, 如果检测到所述点击所创建窗口的事件, 则判定检测到拍摄指令; 或者,
检测点击所述取景器图像的事件, 点击所述取景器图像的事件包括 所述取景器图像内的任何一点被点击, 如果检测到所述点击所述取景器 图像的事件, 则判定检测到拍摄指令。
13、 根据权利要求 8所述的方法, 其特征在于,
所述步骤 A具体包括:在便携数据处理设备的屏幕上创建一窗口大 小占屏幕局部区域的窗口;
所述步骤 F具体包括: 检测点击便携数据处理设备屏幕的事件, 所 述点击便携数据处理设备屏幕的事件包括便携数据处理设备屏幕的任 何一点被点击, 如果检测到所述点击便携数据处理设备屏幕的事件, 则 判定检测到拍摄指令, 向内置相机发送拍摄信号。
14、 根据权利要求 8所述的方法, 其特征在于, 所述在便携数据处 理设备的锁屏上创建用于启动所述启动拍摄装置的快捷图标, 包括: 判断本启动拍摄装置是否为在本便携数据处理设备第一次启动, 如 果是, 则在便携数据处理设备的锁屏上创建用于启动本启动拍摄装置的 快捷图标。
PCT/CN2013/087990 2012-12-10 2013-11-28 便携数据处理设备内置相机的启动拍摄装置和方法 WO2014090086A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US14/729,739 US9451159B2 (en) 2012-12-10 2015-06-03 Photographing starting apparatus and method for built-in camera of portable data processing device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210527646.6A CN103870090A (zh) 2012-12-10 2012-12-10 便携数据处理设备内置相机的启动拍摄装置和方法
CN201210527646.6 2012-12-10

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/729,739 Continuation US9451159B2 (en) 2012-12-10 2015-06-03 Photographing starting apparatus and method for built-in camera of portable data processing device

Publications (1)

Publication Number Publication Date
WO2014090086A1 true WO2014090086A1 (zh) 2014-06-19

Family

ID=50908683

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/087990 WO2014090086A1 (zh) 2012-12-10 2013-11-28 便携数据处理设备内置相机的启动拍摄装置和方法

Country Status (3)

Country Link
US (1) US9451159B2 (zh)
CN (1) CN103870090A (zh)
WO (1) WO2014090086A1 (zh)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102957870A (zh) * 2012-10-30 2013-03-06 中兴通讯股份有限公司 一种拍摄方法及设备
CN104065884B (zh) * 2014-06-25 2017-09-15 珠海全志科技股份有限公司 拍照方法及其装置
CN105827940A (zh) * 2015-09-24 2016-08-03 维沃移动通信有限公司 一种拍照方法及电子设备
CN105827942A (zh) * 2015-09-24 2016-08-03 维沃移动通信有限公司 一种快速拍照方法及电子设备
CN112882804A (zh) * 2016-08-17 2021-06-01 华为技术有限公司 一种启动应用的方法及装置
CN106506939B (zh) * 2016-10-12 2020-02-04 成都西纬科技有限公司 一种图像采集装置及采集方法
CN106534677B (zh) * 2016-10-27 2019-12-17 成都西纬科技有限公司 一种图像过曝优化方法及装置
WO2019023858A1 (zh) * 2017-07-31 2019-02-07 深圳传音通讯有限公司 一种基于智能终端的相机启动方法及相机启动系统
CN113438419B (zh) * 2021-06-28 2022-08-16 展讯通信(天津)有限公司 相机启动方法、装置和电子设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794080A (zh) * 2004-12-23 2006-06-28 甄亮 一种用于照相机或照相手机的快门开关装置
CN1279740C (zh) * 2003-07-06 2006-10-11 海信集团有限公司 带照相功能的手机
CN102075619A (zh) * 2010-12-15 2011-05-25 华为终端有限公司 触摸屏手机的解锁方法和触摸屏手机

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7236306B2 (en) * 2005-02-18 2007-06-26 Eastman Kodak Company Digital camera using an express zooming mode to provide expedited operation over an extended zoom range
US8811948B2 (en) * 2010-07-09 2014-08-19 Microsoft Corporation Above-lock camera access
CN102063261A (zh) * 2011-01-19 2011-05-18 宇龙计算机通信科技(深圳)有限公司 一种应用程序的启动方法及移动终端
US20130069893A1 (en) * 2011-09-15 2013-03-21 Htc Corporation Electronic device, controlling method thereof and computer program product
CN102279710A (zh) * 2011-09-20 2011-12-14 宇龙计算机通信科技(深圳)有限公司 终端和解锁方法
CN102520940A (zh) * 2011-12-01 2012-06-27 深圳市中兴移动通信有限公司 在触摸屏终端锁屏界面显示Widget的方法及装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1279740C (zh) * 2003-07-06 2006-10-11 海信集团有限公司 带照相功能的手机
CN1794080A (zh) * 2004-12-23 2006-06-28 甄亮 一种用于照相机或照相手机的快门开关装置
CN102075619A (zh) * 2010-12-15 2011-05-25 华为终端有限公司 触摸屏手机的解锁方法和触摸屏手机

Also Published As

Publication number Publication date
CN103870090A (zh) 2014-06-18
US20150271388A1 (en) 2015-09-24
US9451159B2 (en) 2016-09-20

Similar Documents

Publication Publication Date Title
WO2014090086A1 (zh) 便携数据处理设备内置相机的启动拍摄装置和方法
US10674088B2 (en) Method and device for acquiring image, terminal and computer-readable storage medium
KR102026426B1 (ko) 모바일 단말기 및 모바일 단말기 상에서 촬영을 시작하는 방법
WO2016112699A1 (zh) 切换显示模式的方法及装置
JP2020514813A (ja) 撮影方法及び端末
JP6700708B2 (ja) 電子機器及びその制御方法、プログラム、並びに記憶媒体
CN110572575A (zh) 一种摄像头拍摄控制方法和装置
JP2013048389A (ja) 電子装置、そのカメラ制御プログラムおよびカメラ制御方法
WO2010000118A1 (zh) 拍照装置及其控制方法
KR20130093071A (ko) 잠금-위 카메라 액세스
US11418713B2 (en) Input based launch sequences for a camera application
WO2017173585A1 (zh) 一种拍照方法及终端
KR20110006243A (ko) 휴대용 단말기에서 매뉴얼 포커싱 방법 및 장치
CN106506958B (zh) 一种采用移动终端进行拍摄的方法和移动终端
CN103297680A (zh) 电子装置及其影像处理方法
KR20220093246A (ko) 촬영 방법 및 전자 장치
CN104902187A (zh) 一种移动终端自拍控制方法以及控制系统
CN103024200A (zh) 应用于智能终端的拍摄方法及拍摄装置
KR102024330B1 (ko) 전자 장치, 사진 촬영 방법, 및 사진 촬영 장치
WO2022206499A1 (zh) 图像拍摄方法、装置、电子设备和可读存储介质
WO2017049916A1 (zh) 一种实现图像拍摄的方法及终端
CN111050069A (zh) 一种拍摄方法及电子设备
JP2015019376A (ja) 撮影制御システム及びその制御方法
JP7413546B2 (ja) 撮影方法及び電子機器
WO2023246052A1 (zh) 用于终端的拍照处理方法、装置、电子设备和存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13862325

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205N DATED 18/08/2015)

122 Ep: pct application non-entry in european phase

Ref document number: 13862325

Country of ref document: EP

Kind code of ref document: A1