WO2015117327A1 - 一种在关机状态下实现相机功能的移动终端及方法 - Google Patents

一种在关机状态下实现相机功能的移动终端及方法 Download PDF

Info

Publication number
WO2015117327A1
WO2015117327A1 PCT/CN2014/086988 CN2014086988W WO2015117327A1 WO 2015117327 A1 WO2015117327 A1 WO 2015117327A1 CN 2014086988 W CN2014086988 W CN 2014086988W WO 2015117327 A1 WO2015117327 A1 WO 2015117327A1
Authority
WO
WIPO (PCT)
Prior art keywords
module
mobile terminal
camera
computer
communication interface
Prior art date
Application number
PCT/CN2014/086988
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 WO2015117327A1 publication Critical patent/WO2015117327A1/zh

Links

Images

Classifications

    • 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/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/52Details of telephonic subscriber devices including functional features of a camera

Definitions

  • the present invention relates to the field of mobile communications technologies, and in particular, to a mobile terminal and method for implementing a camera function in a shutdown state.
  • Mobile terminals based on Android (android) systems are more and more widely appearing in people's daily lives.
  • Mobile terminals integrate call and entertainment, and gradually replace the trend of computers, TVs, and tape recorders.
  • people With the advent of the information age, people are not satisfied with communicating by sound alone. More and more people are using video to communicate in real time.
  • the resolution of mobile terminals is getting higher and higher, power consumption is getting bigger and bigger.
  • the battery capacity has not been further developed. Therefore, how to use the good function of the mobile terminal to the greatest extent possible in the case of insufficient endurance capability has become a problem faced by major manufacturers.
  • the embodiments of the present invention provide a mobile terminal and a method for implementing a camera function in a shutdown state.
  • An embodiment of the present invention provides a mobile terminal, where the mobile terminal is connected to a computer, where the mobile terminal includes: a power acquisition module, a determination processing module, and an image transmission module;
  • the power acquisition module is configured to obtain a power source
  • the determining processing module is configured to: after obtaining the power provided by the power acquiring module, determine whether the mobile terminal is currently in a shutdown state, and when the determining is yes, turning on the camera function;
  • the image transmission module is configured to transmit a digital image collected by a camera of the mobile terminal To the computer.
  • the power acquisition module is composed of a power supply module and a communication interface module
  • the determination processing module is composed of a determination module, a host module, and a communication interface module
  • the image transmission module is composed of a host module, a camera device, and a camera device port module. a communication interface module;
  • the power supply module is configured to acquire power provided by a computer through the communication interface module, and supply power to the determination module, the camera device, and the host module;
  • the camera device is configured to convert the image signal collected by the camera to the host module after being converted;
  • the determining module is configured to determine, by the authentication of the scan code, whether the mobile terminal is in a shutdown state, and when yes, notify the host module;
  • the host module is configured to, after receiving the notification of the determining module, enumerate the camera device into a universal serial bus (USB) device through the communication interface module, and communicate in the communication through a USB transmission control protocol or a wireless interface protocol.
  • USB universal serial bus
  • Data transmission between the interface module and the computer further configured to control the camera device to perform image collection, and perform compression processing on the image signal transmitted by the camera device;
  • the camera device port module is configured to communicate between the host module and the camera device;
  • the communication interface module is configured to communicate with the computer by the mobile terminal.
  • the communication interface module is: a USB port or a port using a wireless communication protocol.
  • the host module is further configured to display, on the computer, an interface that the camera camera has been available through the communication interface module.
  • the embodiment of the invention further provides a method for implementing a camera function in a shutdown state, the method being applied to a mobile terminal connected to a computer, the method comprising:
  • the mobile terminal obtains power
  • the camera function is turned on
  • the mobile terminal transmits the digital image captured by the camera to the computer.
  • the mobile terminal acquires power including:
  • the mobile terminal is connected to the computer through an internal communication interface module and a connection line, and the power supply module is connected to the communication interface module.
  • the power supply module acquires the computer provided by the communication interface module. a power source; the mobile terminal supplies power to the determination module, the camera device, and the host module in the mobile terminal through the power supply module.
  • the camera function when the mobile terminal determines that it is currently in a shutdown state, the camera function is turned on, including:
  • the determining module in the mobile terminal authenticates the scan code, and when determining that the current mobile terminal is in a shutdown state, the determining module notifies the host module to open a camera function of the mobile terminal, and the host module uses the communication interface module to view the camera device It is enumerated into a universal serial bus (USB) device, and data is transmitted between the communication interface module and the computer through a USB transmission control protocol or a wireless interface protocol.
  • USB universal serial bus
  • the mobile terminal transmits the digital image collected by the camera to the computer, including:
  • the host module in the mobile terminal is connected to the camera device through the camera device port module, and controls the camera device to perform image collection, and the camera device finally converts the image into an image signal and transmits the image to the host module, the host device
  • the module transmits the compressed digital image information to the computer through the communication interface module.
  • the method further includes:
  • the mobile terminal displays on the computer an interface that is available to the camera camera.
  • the mobile terminal and the method for implementing a camera function in a shutdown state are provided by the embodiment of the present invention.
  • the mobile terminal is connected to a computer, and the mobile terminal acquires power; when the mobile terminal determines that it is currently in a shutdown state, the camera function is turned on; the mobile terminal collects the camera.
  • the digital image is transmitted to the computer and the image is displayed by the computer.
  • the camera device in the mobile terminal in the shutdown mode is enumerated into a USB device, so that the user can still use the device without being powered on.
  • High-definition camera for camera, video and video chat, etc. expands the application of mobile terminal based on android system, eliminating the unnecessary time and power consumption of booting, making the user's actual use more convenient and effective, bringing consumers Good user experience.
  • the embodiment of the present invention does not require the power of the mobile terminal itself, and the mobile terminal in the exhausted terminal can still use the camera in the mobile terminal to perform photographing, camera, video chat, etc., as long as the computer can be used.
  • FIG. 1 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
  • FIG. 2 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of an internal part of a mobile terminal according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of a method for implementing a camera function in a shutdown state of a mobile terminal according to an embodiment of the present invention.
  • the mobile terminal is connected to the computer, and the solution includes: the mobile terminal acquires the power; the mobile terminal determines that it is currently in the shutdown state, and turns on the camera function; the mobile terminal transmits the digital image collected by the camera to the computer for display.
  • the mobile terminal is in the off state, the user can still use the camera of the mobile terminal to take photos, take pictures, etc., and also realize video chat.
  • the mobile terminal is a mobile terminal based on an android system; the computer may be a personal computer (PC) or other host device, and the computer is an external host device of the mobile terminal, and is mainly used for receiving an image transmitted by the mobile terminal. And display or save.
  • PC personal computer
  • the computer is an external host device of the mobile terminal, and is mainly used for receiving an image transmitted by the mobile terminal. And display or save.
  • FIG. 1 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention. As shown in FIG. 1, the method includes: a power acquiring module 10, a determining processing module 11, and an image transmitting module 12;
  • the power acquisition module 10 is configured to obtain a power source
  • the determining processing module 11 is configured to: after obtaining the power provided by the power acquiring module 10, determine whether the mobile terminal is currently in a shutdown state, and when the determination is yes, turn on the camera function;
  • the image transmission module 12 is configured to transmit the digital image collected by the camera of the mobile terminal to a computer, so that the image is displayed by the computer.
  • the power obtaining module 10 and the determining processing module 11 may be a central processing unit (CPU), a digital signal processor (DSP), or a programmable logic array in the mobile terminal ( Field-Programmable Gate Array (FPGA) implementation; the image transmission module 12 can be implemented by a CPU, DSP or FPGA in combination with a camera device.
  • CPU central processing unit
  • DSP digital signal processor
  • FPGA Field-Programmable Gate Array
  • FIG. 2 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention, as shown in FIG. 2, including: a power supply module 20, a camera device 21, a determination module 22, a host module 23, a camera device port module 24, and a communication interface module 25;
  • the power supply obtaining module 10 in FIG. 1 is composed of the power supply module 20 and the communication interface module 25;
  • the judgment processing module 11 is composed of the determining module 22, the host module 23, and the communication interface module 25;
  • the image transmission module 12 is composed of a camera device 21, a host module 23, and a camera device port module 24 and a communication interface module 25;
  • the power supply module 20 is configured to acquire power provided by the computer through the communication interface module 25, and supply power to the determination module 22, the camera device 21, and the host module 23;
  • the camera device 21 is an existing module of the mobile terminal, configured to take a picture and a camera, and the image signal collected by the camera is converted and transmitted to the host module 23;
  • the determining module 22 is configured to determine, by the authentication of the scan code, whether the mobile terminal is in the Shutdown state, when yes, notify the host module 23;
  • the host module 23 is configured to open the camera function of the mobile terminal after receiving the notification of the determining module 22; specifically,
  • the host module 23 enumerates the camera device 21 into a USB device through the communication interface module 25, and performs data transmission between the communication interface module 25 and the computer through a USB transmission control protocol or a wireless interface protocol;
  • the camera device port module 24 is configured to communicate between the host module 23 and the camera device 21;
  • the communication interface module 25 is configured to communicate with the computer by the mobile terminal.
  • the communication interface module 25 generally has two types: one is a USB port, and the mobile terminal can obtain power through the USB port; the other communication interface module 25 is a port that uses a wireless communication protocol, and the mobile terminal obtains through its own battery. power supply.
  • wireless communication requires only a small portion of the power supply to support, and the USB port does not.
  • the host module 23 is further configured to display an interface that the camera camera has been available on the computer through the communication interface module 25, thereby notifying the user that the camera function of the mobile terminal in the current shutdown state is available. That is to say, when the mobile terminal is connected to the computer, an interface pops up on the computer, such as the interface of the current camera function of the mobile terminal.
  • the mobile terminal in the shutdown state can be connected to the computer through the communication interface module 25 and the connection line, and the power supply module 20 is connected to the communication interface module 25, and after the communication interface module 25 is connected with the computer through the connection line, the power supply is provided.
  • the module 20 obtains the power provided by the computer through the communication interface module 25.
  • the mobile terminal supplies power to the determination module 22, the camera device 21, and the host module 23 through the power supply circuit of the power supply module 20.
  • the determining module 22 in the mobile terminal authenticates the scan code to determine that the current mobile terminal is in the power-off state, and the determining module 22 notifies the host module 23 to turn on the camera function of the mobile terminal.
  • the camera function is mainly that the host module 23 performs hot plug enumeration through the communication interface module 25, such as through a USB port, and the camera device 21 is enumerated into a USB device through the device information of the camera device 21, and the USB device enumeration is started.
  • the communication module and the enumeration module in the camera device 21 are turned on, and data transmission is performed between the communication interface module 25 and the computer through the USB transmission control protocol or the wireless interface protocol, and the device enumeration is also controlled by the communication interface module 25.
  • the host module 23 in the mobile terminal is connected to the camera device 21 through the camera device port module 24, and controls the camera device 21 to perform image acquisition through the USB BULK protocol.
  • the camera device 21 finally converts the image into an image signal and transmits it to the host module 23.
  • the host module 23 transmits the compressed digital image information to the computer through the communication interface module 25, such as a USB port, and displays an image through the display of the computer, thereby realizing the photographing and camera function of the mobile terminal camera in the off state.
  • FIG. 3 is a schematic structural diagram of an internal part of a mobile terminal according to an embodiment of the present invention.
  • the host module 23 is implemented by a USB controller chip, and the communication interface module 25 is implemented.
  • the computer is a PC, for example:
  • the camera device port is connected to the host PC module, that is, the camera device port can be connected to the USB controller chip, and the camera data interface DATA0-8, power interface, clock interface MCLK, VCLK, etc. in the camera device port module 24 are connected.
  • the SCL, SDA is a USB controller chip internal communication interface
  • the SCL is a clock line
  • the SDA is a data
  • the USB DM and USB DP correspond to a USB controller chip. Two with the data command line.
  • the USB controller chip is connected to the USB port, and the D+, D-, power and ground interfaces are connected to the USB port, and the USB port is connected to the PC host (not shown in Figure 3).
  • the PC host provides power to the camera to drive the USB device.
  • the USB device is a camera device.
  • the USB controller chip includes: a mirror signal processor, a picture compression processor and a USB controller; the image signal processor and the picture compression processor compress the digital image signal transmitted from the camera camera, and compress the compressed image The image signal is transmitted to the USB controller, and the USB controller is transmitted to the computer via the USB DP and USB DM data lines.
  • the object In the actual application process, the object generates an optical image through the camera camera and projects it onto the surface of the image sensor, then converts it into an electrical signal, converts it into a digital image signal after analog-to-digital conversion (A/D) conversion, and transmits it to the USB controller.
  • Processing is performed in the chip, and transmitted to the computer through the communication interface module 25, such as a USB port, such as: transmission to a PC for processing, and displaying an image through a display of the PC.
  • the embodiment of the invention further provides a method for implementing the camera function in the shutdown state of the mobile terminal, as shown in FIG. 4, which includes the following processes:
  • Step 401 The mobile terminal acquires power.
  • the mobile terminal can be connected to the computer through the communication interface module 25 and the connection line, and the power supply module 20 is connected to the communication interface module 25. After the communication interface module 25 and the computer are connected through the connection line, the power supply module 20 is obtained through the communication interface module 25. Go to the power provided by the computer.
  • the mobile terminal supplies power to the determination module 22, the camera device 21, and the host module 23 through the power supply circuit of the power supply module 20.
  • the communication interface module 25 generally has two types: one is a USB port, and the mobile terminal can obtain power through the USB port; the other communication interface module 25 is a port that uses a wireless communication protocol, and the mobile terminal obtains through its own battery. power supply.
  • wireless communication requires only a small portion of the power supply to support, and the USB port does not.
  • Step 402 The mobile terminal turns on the camera function when it determines that it is currently in the shutdown state
  • the determining module 22 in the mobile terminal discriminates the scan code, where the scan code is the high and low level of the pin, and when the level is low, the determining module 22 determines that the mobile terminal is in the off state.
  • the determining module 22 notifies the host Module 23 turns on the camera function of the mobile terminal.
  • the camera function is mainly that the host module 23 performs hot plug enumeration through the communication interface module 25, such as through a USB port, and the camera device 21 is enumerated into a USB device through the device information of the camera device 21, and the USB device enumeration is started.
  • the communication module and the enumeration module in the camera device 21 are turned on, and data transmission is performed between the communication interface module 25 and the computer through the USB transmission control protocol or the wireless interface protocol, and the device enumeration is also controlled by the communication interface module 25.
  • the method of the embodiment of the invention further comprises: the mobile terminal displaying an interface that the camera camera has been available on the computer, thereby notifying the user that the camera function of the mobile terminal in the current shutdown state is available. That is to say, when the mobile terminal is connected to the computer, an interface pops up on the computer, such as the interface of the current camera function of the mobile terminal. .
  • Step 403 The mobile terminal transmits the digital image collected by the camera to the computer, and the image is displayed by the computer;
  • the host module 23 in the mobile terminal is connected to the camera device 21 through the camera device port module 24, and controls the camera device 21 to collect images through the USB BULK protocol.
  • the camera device 21 finally converts the image into an image signal and transmits the image to the host.
  • the host module 23 transmits the compressed digital image information to the computer through the communication interface module 25, such as a USB port, and displays an image through the display of the computer, thereby realizing the camera and camera functions of the mobile terminal camera in the off state. .
  • the camera device in the mobile terminal in the shutdown mode is enumerated into a USB device, so that the user can still use the high-definition camera to take photos, camera and video chat, etc., without expanding the boot, and expands the android-based system.
  • the application of the mobile terminal eliminates the time and power consumed by the unnecessary booting, making the actual use of the user more convenient and effective, and bringing a good user experience to the consumer.
  • the embodiment of the present invention does not require the power of the mobile terminal itself, and the mobile terminal in the mobile terminal can still use the camera in the mobile terminal to take photos, video, and view. Frequency chat, etc., just by computer.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • the camera device in the mobile terminal in the shutdown mode is enumerated into a USB device, so that the user can still use the high-definition camera to take photos, camera and video chat, etc., without expanding the boot, and expands the android-based system.
  • the application of the mobile terminal eliminates the time and power consumed by the unnecessary booting, making the actual use of the user more convenient and effective, and bringing a good user experience to the consumer.
  • the embodiment of the present invention does not require the power of the mobile terminal itself, and the mobile terminal in the exhausted terminal can still use the camera in the mobile terminal to perform photographing, camera, video chat, etc., as long as the computer can be used.

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Telephone Function (AREA)

Abstract

本发明公开了一种移动终端及所述移动终端在关机状态下实现相机功能的方法,所述移动终端与计算机相连,所述方法包括:移动终端获取电源;移动终端确定自身当前处于关机状态时,打开相机功能;移动终端将摄像头采集的数字图像传输到计算机。

Description

一种在关机状态下实现相机功能的移动终端及方法 技术领域
本发明涉及移动通信技术领域,尤其涉及一种关机状态下实现相机功能的移动终端及方法。
背景技术
目前,基于安卓(android)系统的移动终端越来越广泛的出现在人们的日常生活中,移动终端集通话、娱乐为一体,逐步有取代电脑、电视,录音机的趋势。信息化时代的到来,人们已经不满足于仅仅通过声音来进行交流,越来越多的人开始使用视频实时交流,虽然移动终端的摄像分辨率越来越高,功耗却越来越大,而电池容量却没有得到进一步的发展。因此,如何在续航能力不足的情况下尽最大可能的使用移动终端的良好功能成了各大厂商面临的难题。
发明内容
为解决现有存在的技术问题,本发明实施例提供一种关机状态下实现相机功能的移动终端及方法。
为达到上述目的,本发明的技术方案是这样实现的:
本发明实施例提供了一种移动终端,所述移动终端与计算机相连,所述移动终端包括:电源获取模块、判断处理模块和图像传输模块;其中,
所述电源获取模块,配置为获取电源;
所述判断处理模块,配置为得到电源获取模块提供的电源后,确定移动终端当前是否处于关机状态时,确定是时,打开相机功能;
所述图像传输模块,配置为将移动终端的摄像头采集的数字图像传输 到计算机。
其中,所述电源获取模块由供电模块和通信接口模块组成;所述判断处理模块由判定模块、主机模块和通信接口模块组成;所述图像传输模块由主机模块、相机设备和相机设备端口模块和通信接口模块组成;其中,
所述供电模块,配置为通过所述通信接口模块获取计算机提供的电源,并为所述判定模块、相机设备和主机模块供电;
所述相机设备,配置为将摄像头采集到的图像信号经转换后传输到所述主机模块;
所述判定模块,配置为通过对扫描码的鉴别确定移动终端是否处于关机状态,确定是时,通知所述主机模块;
所述主机模块,配置为收到所述判定模块的通知后,通过通信接口模块将相机设备枚举成通用串行总线(USB)设备,并通过USB传输控制协议或无线接口协议在所述通信接口模块与计算机间进行数据传输;还配置为控制相机设备进行图像的采集,并对所述相机设备传输的图像信号进行压缩处理;
所述相机设备端口模块,配置为所述主机模块与所述相机设备间进行通信;
所述通信接口模块,配置为移动终端与计算机进行通信。
其中,所述通信接口模块为:USB端口或采用无线通讯协议的端口。
优选的,所述主机模块,还配置为通过所述通信接口模块在所述计算机上显示相机摄像头已可使用的界面。
本发明实施例还提供了一种在关机状态下实现相机功能的方法,所述方法应用于与计算机相连的移动终端,该方法包括:
移动终端获取电源;
移动终端确定自身当前处于关机状态时,打开相机功能;
移动终端将摄像头采集的数字图像传输到计算机。
其中,所述移动终端获取电源,包括:
移动终端通过内部的通信接口模块以及连接线与计算机相连,供电模块与所述通信接口模块相连,在所述通信接口模块与计算机连接后,所述供电模块通过所述通信接口模块获取计算机提供的电源;移动终端通过所述供电模块为移动终端内的判定模块、相机设备和所述主机模块供电。
其中,所述移动终端确定自身当前处于关机状态时,打开相机功能,包括:
移动终端中的判定模块对扫描码进行鉴别,确定当前移动终端处于关机状态时,所述判定模块通知主机模块打开移动终端的相机功能,所述主机模块通过所述通信接口模块将所述相机设备枚举成通用串行总线(USB)设备,并通过USB传输控制协议或无线接口协议在所述通信接口模块与计算机间进行数据传输。
其中,所述移动终端将摄像头采集的数字图像传输到计算机,包括:
移动终端中的所述主机模块通过相机设备端口模块与相机设备相连,并控制相机设备进行图像的采集,所述相机设备最终将图像转换为图像信号后传输到所述主机模块中,所述主机模块将压缩处理后的数字图像信息通过通信接口模块传输到计算机。
优选的,在移动终端打开相机功能后,所述方法还包括:
移动终端在计算机上显示相机摄像头已可使用的界面。
本发明实施例提供的关机状态下实现相机功能的移动终端及方法,所述移动终端与计算机相连,移动终端获取电源;移动终端确定自身当前处于关机状态时,打开相机功能;移动终端将摄像头采集的数字图像传输到计算机,由计算机进行图像显示。本发明实施例将关机模式的移动终端中的相机设备枚举成USB设备,从而实现在不开机情况下,用户仍可以使用 高清晰相机进行拍照,摄像和视频聊天等,扩展了基于android系统的移动终端的应用,省去无谓的开机所消耗的时间及电量,使用户的实际使用更为便捷有效,为消费者带来良好的用户体验。另外,本发明实施例不需要移动终端自身的电量,对于电量耗尽的移动终端仍然可以利用移动终端中的摄像头进行拍照、摄像和视频聊天等,只要借助计算机即可。
附图说明
在附图(其不一定是按比例绘制的)中,相似的附图标记可在不同的视图中描述相似的部件。具有不同字母后缀的相似附图标记可表示相似部件的不同示例。附图以示例而非限制的方式大体示出了本文中所讨论的各个实施例。
图1为本发明实施例所述移动终端的结构示意图;
图2为本发明实施例所述移动终端的具体结构示意图;
图3为本发明一具体实施例所述移动终端内部部分结构示意图;
图4为本发明实施例所述移动终端关机状态下实现相机功能的方法实现流程示意图。
具体实施方式
本发明的实施例中:移动终端与计算机相连,方案包括:移动终端获取电源;移动终端确定自身当前处于关机状态时,打开相机功能;移动终端将摄像头采集的数字图像传输到计算机显示。使用该方法在移动终端处于关机状态时,用户仍然可以利用移动终端的相机进行拍照、摄像等,也可实现视频聊天。
其中,所述移动终端为基于android系统的移动终端;所述计算机可为:个人计算机(PC)或其他主机设备,所述计算机为移动终端的外部主机设备,主要用于接收移动终端传输的图像并显示或保存。
下面结合附图及具体实施例对本发明作进一步详细说明。
图1为本发明实施例所述移动终端的结构示意图,如图1所示,包括:电源获取模块10、判断处理模块11和图像传输模块12;其中,
所述电源获取模块10,配置为获取电源;
所述判断处理模块11,配置为得到电源获取模块10提供的电源后,确定移动终端当前是否处于关机状态时,确定是时,打开相机功能;
所述图像传输模块12,配置为将移动终端的摄像头采集的数字图像传输到计算机,从而由计算机进行图像的显示。
在实际应用过程中,所述电源获取模块10和判断处理模块11可由移动终端中的中央处理器(Central Processing Unit,CPU)、数字信号处理器(Digital Signal Processor,DSP)或可编程逻辑阵列(Field-Programmable Gate Array,FPGA)实现;所述图像传输模块12可由CPU、DSP或FPGA结合相机设备实现。
图2本发明实施例所述移动终端的具体结构示意图,如图2所示,包括:供电模块20、相机设备21、判定模块22、主机模块23、相机设备端口模块24和通信接口模块25;
相应的,图1中所述电源获取模块10由所述供电模块20和通信接口模块25组成;所述判断处理模块11由所述判定模块22、主机模块23和通信接口模块25组成;所述图像传输模块12由相机设备21、主机模块23和相机设备端口模块24和通信接口模块25组成;其中,
所述供电模块20,配置为通过通信接口模块25获取计算机提供的电源,并为所述判定模块22、相机设备21和主机模块23供电;
所述相机设备21为移动终端的已有模块,配置为拍照和摄像,并将摄像头采集到的图像信号经转换后传输到主机模块23;
所述判定模块22,配置为通过对扫描码的鉴别确定移动终端是否处于 关机状态,确定是时,通知所述主机模块23;
所述主机模块23,配置为收到判定模块22的通知后,打开移动终端的相机功能;具体的,
主机模块23通过通信接口模块25将相机设备21枚举成USB设备,并通过USB传输控制协议或无线接口协议在通信接口模块25与计算机间进行数据传输;
还配置为控制相机设备21进行图像的采集,并对所述相机设备21传输的图像信号进行压缩处理,通过通信接口模块25将数字图像信息传输到计算机;
所述相机设备端口模块24,配置为主机模块23与相机设备21间进行通信;
所述通信接口模块25,配置为移动终端与计算机进行通信。
其中,所述通信接口模块25一般有两种:一种为USB端口,移动终端能通过USB端口获取电源;另一种通信接口模块25为采用无线通讯协议的端口,移动终端通过自身的电池获取电源。这里,无线通讯仅需要很小一部分电源来支持,而所述USB端口则不需要。
优选的,所述主机模块23,还配置为通过所述通信接口模块25在计算机上显示相机摄像头已可使用的界面,从而通知用户当前关机状态的移动终端的相机功能可用。也就是说,当移动终端与计算机连接后,计算机上会自动弹出一个界面,如“当前移动终端的相机功能可用”的界面。
本发明的实施例中,处于关机状态的移动终端可通过通信接口模块25以及连接线与计算机相连,供电模块20与通信接口模块25相连,在通信接口模块25与计算机通过连接线连接后,供电模块20通过通信接口模块25获取到计算机提供的电源。移动终端通过供电模块20的供电电路为判定模块22、相机设备21和主机模块23供电。
移动终端中的判定模块22对扫描码进行鉴别,确定当前移动终端处于关机状态时,所述判定模块22通知主机模块23打开移动终端的相机功能。所述相机功能主要是主机模块23通过通信接口模块25,如通过USB端口进行热插拔枚举,通过相机设备21的设备信息,将相机设备21枚举成USB设备,启动USB设备枚举,打开相机设备21中的通信模块和枚举模块,并通过USB传输控制协议或无线接口协议在通信接口模块25与计算机间进行数据传输,还通过此通信接口模块25控制设备枚举。
移动终端中的主机模块23通过相机设备端口模块24与相机设备21相连,并通过USB BULK协议控制相机设备21进行图像的采集,相机设备21最终将图像转换为图像信号后传输到主机模块23中,之后主机模块23将压缩处理后的数字图像信息通过通信接口模块25,如:USB端口传输到计算机,通过计算机的显示器显示图像,从而实现关机状态下移动终端相机的拍照、摄像功能。
图3为本发明一具体实施例所述移动终端内部部分结构示意图,如图3所示,在本发明的实施例中,所述主机模块23通过USB控制器芯片实现,所述通信接口模块25为USB端口,所述计算机为PC为例,具体的:
在关机模式下相机设备端口和主机PC模块相连,即:相机设备端口可与USB控制器芯片相连,将相机设备端口模块24中的相机数据接口DATA0-8、电源接口、时钟接口MCLK,VCLK等连接到USB控制器芯片,所述SCL,SDA为USB控制器芯片内部通讯接口,所述SCL为时钟线,所述SDA为数据、地址线,所述USB DM和USB DP对应USB控制器芯片的两跟数据命令线。USB控制器芯片连接USB端口,将D+、D-、电源和地等接口连到USB端口,USB端口连接到PC主机(图3中未显示)。PC主机为相机提供电源,实现USB设备的驱动。这里,所述USB设备即为相机设备。
其中,所述USB控制器芯片包括:镜像信号处理器,图片压缩处理器和USB控制器;镜像信号处理器以及图片压缩处理器将相机摄像头传来的数字图像信号进行压缩,并将压缩后的图像信号传输给USB控制器,USB控制器通过USB DP和USB DM数据线传给计算机。
在实际应用过程中,物体通过相机摄像头生成光学图像,并投射到图像传感器表面,然后转为电信号,经过模数转换(A/D)转换后变为数字图像信号,再传输到USB控制器芯片中进行处理,通过通信接口模块25,如:USB端口传输到计算机,如:传输到PC中处理,通过PC的显示器显示图像。
本发明实施例还提供了一种上述移动终端关机状态下实现相机功能的方法,如图4所示,包括如下流程:
步骤401:移动终端获取电源;
具体为:移动终端可通过通信接口模块25以及连接线与计算机相连,供电模块20与通信接口模块25相连,在通信接口模块25与计算机通过连接线连接后,供电模块20通过通信接口模块25获取到计算机提供的电源。移动终端通过供电模块20的供电电路为判定模块22、相机设备21和主机模块23供电。
其中,所述通信接口模块25一般有两种:一种为USB端口,移动终端能通过USB端口获取电源;另一种通信接口模块25为采用无线通讯协议的端口,移动终端通过自身的电池获取电源。这里,无线通讯仅需要很小一部分电源来支持,而所述USB端口则不需要。
步骤402:移动终端确定自身当前处于关机状态时,打开相机功能;
具体为:移动终端中的判定模块22对扫描码进行鉴别,所述扫描码就是管脚高低电平两种状态,为低电平时,则判定模块22确定移动终端处于关机状态。确定当前移动终端处于关机状态时,所述判定模块22通知主机 模块23打开移动终端的相机功能。所述相机功能主要是主机模块23通过通信接口模块25,如通过USB端口进行热插拔枚举,通过相机设备21的设备信息,将相机设备21枚举成USB设备,启动USB设备枚举,打开相机设备21中的通信模块和枚举模块,并通过USB传输控制协议或无线接口协议在通信接口模块25与计算机间进行数据传输,还通过此通信接口模块25控制设备枚举。
优选的,在移动终端打开相机功能后,本发明实施例方法还包括:移动终端在计算机上显示相机摄像头已可使用的界面,从而通知用户当前关机状态的移动终端的相机功能可用。也就是说,当移动终端与计算机连接后,计算机上会自动弹出一个界面,如“当前移动终端的相机功能可用”的界面。。
步骤403:移动终端将摄像头采集的数字图像传输到计算机,由计算机进行图像显示;
具体为:移动终端中的主机模块23通过相机设备端口模块24与相机设备21相连,并通过USB BULK协议控制相机设备21进行图像的采集,相机设备21最终将图像转换为图像信号后传输到主机模块23中,之后主机模块23将压缩处理后的数字图像信息通过通信接口模块25,如:USB端口传输到计算机,通过计算机的显示器显示图像,从而实现关机状态下移动终端相机的拍照、摄像功能。
本发明实施例将关机模式的移动终端中的相机设备枚举成USB设备,从而实现在不开机情况下,用户仍可以使用高清晰相机进行拍照,摄像和视频聊天等,扩展了基于android系统的移动终端的应用,省去无谓的开机所消耗的时间及电量,使用户的实际使用更为便捷有效,为消费者带来良好的用户体验。另外,本发明实施例不需要移动终端自身的电量,对于电量耗尽的移动终端仍然可以利用移动终端中的摄像头进行拍照、摄像和视 频聊天等,只要借助计算机即可。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。
工业实用性
本发明实施例将关机模式的移动终端中的相机设备枚举成USB设备,从而实现在不开机情况下,用户仍可以使用高清晰相机进行拍照,摄像和视频聊天等,扩展了基于android系统的移动终端的应用,省去无谓的开机所消耗的时间及电量,使用户的实际使用更为便捷有效,为消费者带来良好的用户体验。另外,本发明实施例不需要移动终端自身的电量,对于电量耗尽的移动终端仍然可以利用移动终端中的摄像头进行拍照、摄像和视频聊天等,只要借助计算机即可。

Claims (9)

  1. 一种移动终端,所述移动终端与计算机相连,所述移动终端包括:电源获取模块、判断处理模块和图像传输模块;其中,
    所述电源获取模块,配置为获取电源;
    所述判断处理模块,配置为得到电源获取模块提供的电源后,确定移动终端当前是否处于关机状态时,确定是时,打开相机功能;
    所述图像传输模块,配置为将移动终端的摄像头采集的数字图像传输到计算机。
  2. 根据权利要求1所述的移动终端,其中,所述电源获取模块由供电模块和通信接口模块组成;所述判断处理模块由判定模块、主机模块和通信接口模块组成;所述图像传输模块由主机模块、相机设备和相机设备端口模块和通信接口模块组成;其中,
    所述供电模块,配置为通过所述通信接口模块获取计算机提供的电源,并为所述判定模块、相机设备和主机模块供电;
    所述相机设备,配置为将摄像头采集到的图像信号经转换后传输到所述主机模块;
    所述判定模块,配置为通过对扫描码的鉴别确定移动终端是否处于关机状态,确定是时,通知所述主机模块;
    所述主机模块,配置为收到所述判定模块的通知后,通过通信接口模块将相机设备枚举成通用串行总线USB设备,并通过USB传输控制协议或无线接口协议在所述通信接口模块与计算机间进行数据传输;还配置为控制相机设备进行图像的采集,并对所述相机设备传输的图像信号进行压缩处理;
    所述相机设备端口模块,配置为所述主机模块与所述相机设备间进行通信;
    所述通信接口模块,配置为移动终端与计算机进行通信。
  3. 根据权利要求2所述的移动终端,其中,所述通信接口模块为:USB端口或采用无线通讯协议的端口。
  4. 根据权利要求2或3所述的移动终端,其中,所述主机模块,还配置为通过所述通信接口模块在所述计算机上显示相机摄像头已可使用的界面。
  5. 一种在关机状态下实现相机功能的方法,所述方法应用于与计算机相连的移动终端,该方法包括:
    移动终端获取电源;
    移动终端确定自身当前处于关机状态时,打开相机功能;
    移动终端将摄像头采集的数字图像传输到计算机。
  6. 根据权利要求5所述的方法,其中,所述移动终端获取电源,包括:
    移动终端通过内部的通信接口模块以及连接线与计算机相连,供电模块与所述通信接口模块相连,在所述通信接口模块与计算机连接后,所述供电模块通过所述通信接口模块获取计算机提供的电源;移动终端通过所述供电模块为移动终端内的判定模块、相机设备和所述主机模块供电。
  7. 根据权利要求6所述的方法,其中,所述移动终端确定自身当前处于关机状态时,打开相机功能,包括:
    移动终端中的判定模块对扫描码进行鉴别,确定当前移动终端处于关机状态时,所述判定模块通知主机模块打开移动终端的相机功能,所述主机模块通过所述通信接口模块将所述相机设备枚举成通用串行总线USB设备,并通过USB传输控制协议或无线接口协议在所述通信接口模块与计算机间进行数据传输。
  8. 根据权利要求7所述的方法,其中,所述移动终端将摄像头采集的数字图像传输到计算机,包括:
    移动终端中的所述主机模块通过相机设备端口模块与相机设备相连,并控制相机设备进行图像的采集,所述相机设备最终将图像转换为图像信号后传输到所述主机模块中,所述主机模块将压缩处理后的数字图像信息通过通信接口模块传输到计算机。
  9. 根据权利要求5-8中任一项所述的方法,其中,在移动终端打开相机功能后,所述方法还包括:
    移动终端在计算机上显示相机摄像头已可使用的界面。
PCT/CN2014/086988 2014-07-21 2014-09-19 一种在关机状态下实现相机功能的移动终端及方法 WO2015117327A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410348919.XA CN105323427B (zh) 2014-07-21 2014-07-21 一种在关机状态下实现相机功能的移动终端及方法
CN201410348919.X 2014-07-21

Publications (1)

Publication Number Publication Date
WO2015117327A1 true WO2015117327A1 (zh) 2015-08-13

Family

ID=53777158

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/086988 WO2015117327A1 (zh) 2014-07-21 2014-09-19 一种在关机状态下实现相机功能的移动终端及方法

Country Status (2)

Country Link
CN (1) CN105323427B (zh)
WO (1) WO2015117327A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022040977A1 (zh) * 2020-08-26 2022-03-03 深圳市大疆创新科技有限公司 无线图像传输装置的控制方法及装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1881189A (zh) * 2005-06-17 2006-12-20 杭州波导软件有限公司 一种电脑接收带摄像头手机输入视频数据的方法及系统
CN200976616Y (zh) * 2006-11-22 2007-11-14 中兴通讯股份有限公司 用作电脑摄像头的移动终端
CN101287242A (zh) * 2008-05-29 2008-10-15 德信无线通讯科技(北京)有限公司 一种基于手机摄像头的视频方法与系统
CN101729664A (zh) * 2009-12-10 2010-06-09 深圳华为通信技术有限公司 一种启动终端的方法及终端

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4284701B2 (ja) * 2003-07-28 2009-06-24 カシオ計算機株式会社 複合機器、電源供給制御方法、及び、電源供給制御プログラム
US7899418B2 (en) * 2006-02-22 2011-03-01 Fujifilm Corporation Mobile device and wireless communication apparatus
CN103516873B (zh) * 2012-06-25 2016-08-10 联想(北京)有限公司 一种信息处理方法及一种电子设备
CN103067554B (zh) * 2013-01-29 2018-10-30 周万荣 一种支持快捷操作的终端

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1881189A (zh) * 2005-06-17 2006-12-20 杭州波导软件有限公司 一种电脑接收带摄像头手机输入视频数据的方法及系统
CN200976616Y (zh) * 2006-11-22 2007-11-14 中兴通讯股份有限公司 用作电脑摄像头的移动终端
CN101287242A (zh) * 2008-05-29 2008-10-15 德信无线通讯科技(北京)有限公司 一种基于手机摄像头的视频方法与系统
CN101729664A (zh) * 2009-12-10 2010-06-09 深圳华为通信技术有限公司 一种启动终端的方法及终端

Also Published As

Publication number Publication date
CN105323427B (zh) 2020-07-31
CN105323427A (zh) 2016-02-10

Similar Documents

Publication Publication Date Title
AU2019239357B2 (en) Data transmission device, and data transmission method
US11720423B2 (en) Methods and systems for multiple access to a single hardware data stream
KR102170781B1 (ko) 이미지를 처리하는 전자장치 및 방법
US10366669B2 (en) Electronic device and method for driving display thereof
US10045061B2 (en) Electronic device, adapter device, and video data processing method thereof
KR102497515B1 (ko) 디스플레이 패널을 통해 표시되는 콘텐트의 저장을 제어하기 위한 전자 장치 및 방법
KR102148001B1 (ko) 디스플레이 장치 및 디스플레이 장치의 제어 방법
US10283117B2 (en) Systems and methods for identification of response cue at peripheral device
JP2010140269A (ja) 端末装置、端末装置の制御方法及び制御プログラム
US10747489B2 (en) Method for displaying content and electronic device therefor
CN111788820B (zh) 自适应地控制低电力显示模式的方法及其电子装置
US10405282B2 (en) Information processing apparatus and information processing method
US20160328030A1 (en) Information processing apparatus
KR102514763B1 (ko) 입력 장치 활용 방법 및 이를 구현한 전자 장치
US20110001890A1 (en) Portable image projector and projection method
CN104765585B (zh) 显示装置及其控制方法
US10796398B2 (en) Electronic device for displaying image and method for controlling the same
WO2015117327A1 (zh) 一种在关机状态下实现相机功能的移动终端及方法
US8144201B2 (en) Portable computer capable of performing digital photo frame function under main-power-off state
US8195861B2 (en) Hub apparatus with OTG function
CN111402871A (zh) 电子装置及其控制方法
US20110113165A1 (en) Terminal apparatus usign a peripheral apparatus of another terminal via the control of one terminal, and interface method thereof
KR101485149B1 (ko) 외부 디바이스와 결합하는 휴대 단말 및 그 구동 방법
KR102422201B1 (ko) 전자 장치, 아답터 장치 및 그 영상 데이터 처리 방법
JP4759836B2 (ja) ワイヤレスディスプレイシステム

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: 14881414

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14881414

Country of ref document: EP

Kind code of ref document: A1