WO2017156990A1 - Photographing method and device for mobile terminal - Google Patents

Photographing method and device for mobile terminal Download PDF

Info

Publication number
WO2017156990A1
WO2017156990A1 PCT/CN2016/098734 CN2016098734W WO2017156990A1 WO 2017156990 A1 WO2017156990 A1 WO 2017156990A1 CN 2016098734 W CN2016098734 W CN 2016098734W WO 2017156990 A1 WO2017156990 A1 WO 2017156990A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile terminal
photographing
instruction
camera
image data
Prior art date
Application number
PCT/CN2016/098734
Other languages
French (fr)
Chinese (zh)
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 WO2017156990A1 publication Critical patent/WO2017156990A1/en

Links

Images

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
    • H04N23/66Remote control of cameras or camera parts, e.g. by remote control devices
    • H04N23/661Transmitting camera control signals through networks, e.g. control via the Internet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • 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/66Remote control of cameras or camera parts, e.g. by remote control devices
    • H04N23/661Transmitting camera control signals through networks, e.g. control via the Internet
    • H04N23/662Transmitting camera control signals through networks, e.g. control via the Internet by using master/slave camera arrangements for affecting the control of camera image capture, e.g. placing the camera in a desirable condition to capture a desired image

Definitions

  • the present invention relates to the field of intelligent terminal technologies, and in particular, to a method and a device for photographing a mobile terminal.
  • taking pictures with mobile phones has become the preferred method for people to take pictures everyday. If the user wants to take pictures of themselves and the beauty behind them, they often take photos with the selfie stick or ask others to take photos with their mobile phones.
  • taking pictures with the selfie stick is often limited by the length of the selfie stick. If the selfie stick is not long enough, it will not capture a larger range of images. If the length of the selfie stick is too long, it will not only cause inconvenience to the user, but also It may be because the user is too far away from the screen to see the screen on the screen and bring a bad user experience.
  • the invention provides a method and a device for photographing a mobile terminal, and the purpose thereof is to realize that the user can observe the viewfinder screen in real time while asking others to help take a photo, and can control the photographing.
  • an embodiment of the present invention provides a method for photographing a mobile terminal, which is used in a first mobile terminal, and the photographing method includes:
  • the acquiring the image data collected by the camera of the second mobile terminal include:
  • the establishing a wireless connection between the first mobile terminal and the second mobile terminal includes:
  • the acquiring the image data collected by the camera of the second mobile terminal comprises:
  • the acquiring the image data collected by the camera of the second mobile terminal further includes:
  • the sending, by the image data, the photographing instruction to the second mobile terminal, instructing the second mobile terminal to perform photographing includes:
  • An embodiment of the present invention further provides a method for photographing a mobile terminal, which is configured as a second mobile terminal, and the photographing method includes:
  • the method before the sending the image data collected by the camera to the first mobile terminal, the method further includes:
  • the establishing a wireless connection between the second mobile terminal and the first mobile terminal comprises:
  • a first triggering command is sent to establish a wireless connection with the first mobile terminal, and a wireless connection between the second mobile terminal and the first mobile terminal is established according to the first triggering instruction.
  • the sending the image data collected by the camera to the first mobile terminal comprises:
  • the sending the image data collected by the camera to the first mobile terminal further includes:
  • the continuously photographed photos are sequentially transmitted to the first mobile terminal in the order of photographing.
  • the sending the photo taken according to the photographing instruction to the first mobile terminal comprises:
  • An embodiment of the present invention further provides a camera device for a mobile terminal, where the camera device includes:
  • a first acquiring module configured to acquire image data collected by a camera of the second mobile terminal
  • the first camera module is configured to send a photographing instruction to the second mobile terminal according to the image data, and instruct the second mobile terminal to take a photograph;
  • the second obtaining module is configured to acquire a photo taken by the second mobile terminal according to the photographing instruction and save the photo.
  • the photographing device further includes:
  • the first connection module is configured to establish a wireless connection between the first mobile terminal and the second mobile terminal.
  • the first connection module includes:
  • a first processing unit configured to: when the second mobile terminal turns on the wireless network, send a first triggering instruction to establish a wireless connection with the second mobile terminal, and establish the first according to the first triggering instruction a wireless connection between the mobile terminal and the second mobile terminal;
  • a second processing unit configured to receive a second triggering command sent by the second mobile terminal to establish a wireless connection with the first mobile terminal, and establish the first mobile terminal according to the second triggering instruction Second, the wireless connection of the mobile terminal.
  • the first acquiring module includes:
  • the first activation unit is configured to send, to the second mobile terminal, a startup command for starting the camera of the second mobile terminal, and instruct the second mobile terminal to start a streaming service, and convert the image data collected by the camera For streaming media images;
  • a first receiving unit configured to receive a streaming media web address corresponding to the streaming media image returned by the second mobile terminal
  • the first obtaining unit is configured to download a corresponding streaming media image according to the streaming media address, and play the streaming media image on the first mobile terminal.
  • the first acquiring module further includes:
  • the second activation unit is configured to send a continuous photographing instruction of the preset time interval to the second mobile terminal, instruct the second mobile terminal to activate the camera, and continuously take a photo according to the continuous photographing instruction;
  • the second acquiring unit is configured to acquire photos continuously captured by the second mobile terminal according to the continuous photographing instruction, and sequentially display the photos in the order of photographing.
  • the first camera module comprises:
  • a third obtaining unit configured to acquire activating action input by the user according to the image data
  • the first photographing unit is configured to send a photographing instruction to the second mobile terminal according to the activation action, and instruct the second mobile terminal to perform photographing.
  • An embodiment of the present invention further provides a camera device for a mobile terminal, where the camera device includes:
  • a first sending module configured to send image data collected by the camera to the first mobile terminal
  • the second camera module is configured to acquire a photographing instruction sent by the first mobile terminal according to the image data, and perform photographing according to the photographing instruction;
  • the second sending module is configured to send a photo taken according to the photographing instruction to the first mobile terminal.
  • the photographing device further includes:
  • the second connection module is configured to establish a wireless connection between the second mobile terminal and the first mobile terminal.
  • the second connection module comprises:
  • a third processing unit configured to receive a second triggering instruction that is sent by the first mobile terminal to establish a wireless connection with the second mobile terminal, and establish a second mobile terminal and the first mobile terminal according to the second triggering instruction Wireless connection;
  • a fourth processing unit configured to: when the wireless network is enabled, send a first triggering instruction to establish a wireless connection with the first mobile terminal, and establish, according to the first triggering instruction, the wireless of the second mobile terminal and the first mobile terminal connection.
  • the first sending module includes:
  • a second receiving unit configured to receive a start command sent by the first mobile terminal to start a camera of the second mobile terminal
  • the first generating unit is configured to start the camera to acquire image data according to the startup command, and start a streaming service, and convert the image data collected by the camera into a streaming image;
  • the first sending unit is configured to acquire a streaming media address corresponding to the streaming media image, and send the streaming media URL to the first mobile terminal.
  • the first sending module further includes:
  • the third receiving unit is configured to receive a continuous photographing instruction of a preset time interval sent by the first mobile terminal, and activate a camera to continuously take a photo according to the continuous photographing instruction;
  • the second sending unit is configured to sequentially send the continuously photographed photos to the first mobile terminal in the order of photographing.
  • the second camera module comprises:
  • a fourth acquiring unit configured to acquire a photographing instruction sent by the first mobile terminal according to a startup action input by a user
  • the second photographing unit is configured to perform photographing according to the photographing instruction.
  • a storage medium is also provided.
  • the storage medium is arranged to store program code for performing the following steps:
  • the storage medium is further arranged to store program code for performing the following steps:
  • the storage medium is further arranged to store program code for performing the following steps:
  • the storage medium is further arranged to store program code for performing the following steps:
  • the storage medium is further arranged to store program code for performing the following steps:
  • the storage medium is further arranged to store program code for performing the following steps:
  • a storage medium is also provided.
  • the storage medium is arranged to store program code for performing the following steps:
  • the storage medium is further arranged to store program code for performing the following steps:
  • the storage medium is further arranged to store program code for performing the following steps:
  • a first triggering command is sent to establish a wireless connection with the first mobile terminal, and a wireless connection between the second mobile terminal and the first mobile terminal is established according to the first triggering instruction.
  • the storage medium is further arranged to store program code for performing the following steps:
  • the storage medium is further arranged to store program code for performing the following steps:
  • the continuously photographed photos are sequentially transmitted to the first mobile terminal in the order of photographing.
  • the storage medium is further arranged to store program code for performing the following steps:
  • the image is collected in real time through the camera of the second mobile terminal, and a larger viewing range can be obtained than the self-timer.
  • the first mobile terminal obtains the streaming media image returned by the streaming media transmission mode by the second mobile terminal, so that the user on the first mobile terminal side can observe the real-time collection of the second mobile terminal camera in real time.
  • Image information The user can automatically take a photo currently captured by the camera according to the photographing instruction by inputting a photographing instruction on the first mobile terminal.
  • FIG. 1 is a flowchart of a photographing method of a first mobile terminal according to the present invention
  • FIG. 2 is a flowchart of acquiring image data collected by a camera of a second mobile terminal according to a first embodiment of the present invention
  • FIG. 3 is a flow chart of obtaining the image data collected by the camera of the second mobile terminal according to the second embodiment of the present invention.
  • FIG. 4 is a flowchart of sending a photographing instruction to a second mobile terminal according to image data according to the present invention
  • FIG. 5 is a flowchart of a method for photographing a second mobile terminal according to the present invention.
  • FIG. 6 is a flow chart of the first type of image data collected by a transmitting camera to a first mobile terminal according to the present invention
  • FIG. 7 is a flow chart of image data collected by a second transmitting camera of the present invention to a first mobile terminal;
  • FIG. 8 is a flowchart of transmitting a photo taken according to a photographing instruction to a first mobile terminal according to the present invention
  • FIG. 9 is a schematic diagram of a photographing apparatus of a first mobile terminal according to the present invention.
  • FIG. 10 is a schematic diagram of a photographing apparatus of a second mobile terminal of the present invention.
  • an embodiment of the present invention provides a method for photographing a mobile terminal, where the photographing method includes:
  • the slave is configured to collect image data that the user needs to capture through the camera, and the host can acquire The image data on the machine is displayed, and the image data can be displayed on the host. In this way, the user can directly view the image data collected by the slave through the host.
  • the user can select a suitable photographing angle through the host, and send a photographing instruction to the slave through the host to instruct the slave to take a photo.
  • the slave after the user inputs a photographing instruction, the slave automatically takes a photo and saves it. photo.
  • the slave automatically sends the captured photo to the host, which saves the photo.
  • the method further includes:
  • the user can open a WIFI hotspot through the slave, and the host can establish a wireless connection with the slave through the WIFI hotspot, so that the image data can be transmitted between the host and the slave.
  • establishing a wireless connection between the first mobile terminal and the second mobile terminal includes:
  • the user may send a request to the slave to send the request to the WIFI hotspot through the host, and after the user confirms the request through the slave, the host and the slave may establish a wireless connection;
  • the user can also send a request to the host through the slave to connect to the WIFI hotspot.
  • the host and the slave can establish a wireless connection.
  • the transmission of image data between the master and the slave is ensured by establishing a wireless connection between the master and the slave.
  • acquiring image data collected by a camera of the second mobile terminal includes:
  • S201 Send a start command of the camera that starts the second mobile terminal to the second mobile terminal, and instruct the second mobile terminal to start the streaming service, and convert the real-time captured image of the camera into a streaming image;
  • the real-time image acquired by the host acquiring the camera of the slave is obtained by streaming through the streaming server.
  • the method synchronizes the image displayed on the first mobile terminal with the image captured by the second mobile terminal camera in real time.
  • acquiring image data collected by a camera of the second mobile terminal further includes:
  • S301 Send a continuous photographing instruction of a preset time interval to the second mobile terminal, instruct the second mobile terminal to start the camera, and continuously take a photo according to the continuous photographing instruction;
  • the host sends a continuous photographing instruction to the slave at a preset time interval (for example, setting a preset time interval of 0.5 seconds), and the slave passes the camera according to the instruction of continuous photographing.
  • a preset time interval for example, setting a preset time interval of 0.5 seconds
  • the slave passes the camera according to the instruction of continuous photographing.
  • the photo is sent to the host, and only a few photos taken consecutively recently are saved on the host (for example, 2 or 3 photos of the most recent recent shot can be saved on the host computer) ), save by loop overlay (ie, the new photo covers the old photo, deletes the first taken photo, and only keeps the last 2 or 3 consecutive photos taken).
  • each time the host receives a photo sent by the slave it can be previewed on the home screen and processed in a loop overlay.
  • the user on the host side can directly acquire the image data collected by the slave through the host, and can preview before determining the shooting posture and taking a photo.
  • sending a photographing instruction to the second mobile terminal according to the image data, instructing the second mobile terminal to take a photograph includes:
  • the slave after the user determines the photographing posture, by inputting activating action on the host, the slave adjusts the photographing parameter to the normal resolution according to the photographing instruction corresponding to the starting action, and takes a photo.
  • an embodiment of the present invention further provides a method for photographing a mobile terminal, where the photographing method includes:
  • S501 Send image data collected by the camera to the first mobile terminal
  • the slave transmits the image data collected by the camera to the slave and displays the streaming image on the host. In this way, the user can directly view the image information collected on the second mobile terminal through the first mobile terminal.
  • the slave after the user views the image data collected by the slave displayed on the host and presses the camera button, the slave performs a photograph according to the photographing instruction.
  • the slave after receiving the photographing instruction sent by the host according to the startup action input by the user, the slave can automatically capture the current image captured by the camera and send the photographed photo to the host.
  • the method before sending the image data collected by the camera to the first mobile terminal, the method further includes:
  • the user can open a WIFI hotspot through the slave, and the host can establish a wireless connection with the slave through the WIFI hotspot, so that the data can be transmitted between the host and the slave.
  • establishing a wireless connection between the second mobile terminal and the first mobile terminal including:
  • the user may send a request to the slave to send the request to the WIFI hotspot through the host, and after the user confirms the request through the slave, the host and the slave may establish a wireless connection;
  • the user can also send a request to the host through the slave to connect to the WIFI hotspot.
  • the host and the slave can establish a wireless connection. The image transmission between the master and the slave is ensured by establishing a wireless connection between the master and the slave.
  • sending image data collected by the camera to the first mobile terminal includes:
  • S602. Start a camera to obtain a real-time image according to the startup command, and start a streaming media service, and convert the real-time captured image of the camera into a streaming media image;
  • the real-time image information is shared by the streaming media through the streaming media between the host and the slave.
  • This method synchronizes the image displayed on the main unit with the image captured by the slave camera.
  • sending the image data collected by the camera to the first mobile terminal further includes:
  • S701 Receive a continuous photographing instruction of a preset time interval sent by the first mobile terminal, and start a camera, and continuously take a photo according to the continuous photographing instruction;
  • the slave sends a continuous camera command to the receiving host for a preset time interval (for example, setting a preset time interval of 0.5 seconds).
  • the low resolution photo is taken by the camera according to the continuous shooting instruction.
  • the photo is sent to the host, and only a few photos taken consecutively recently are saved on the slave (for example, two or three photos of the most recent recent shot can be saved on the slave. ), save by loop overlay (ie, the new photo covers the old photo, deletes the first taken photo, and only keeps the last 2 or 3 consecutive photos taken).
  • each time the host receives a photo sent by the slave it can be previewed on the home screen and processed in a loop overlay.
  • the user on the host side can directly acquire the image data collected by the slave through the host, and realize preview before determining the shooting posture and taking a photo.
  • sending a photo taken according to the photographing instruction to the first mobile terminal includes:
  • S802 Perform a photograph according to a photographing instruction.
  • the slave after the user determines the photographing posture, by inputting activating action on the host, the slave adjusts the photographing parameter to the normal resolution according to the photographing instruction corresponding to the starting action, and performs photographing.
  • an embodiment of the present invention further provides a camera device for a mobile terminal, where the camera device includes:
  • the first obtaining module 101 is configured to acquire image data collected by a camera of the second mobile terminal;
  • the slave is used to acquire image data in real time through the camera. After the host and the slave establish a wireless connection, the host can acquire image data on the slave and can display the image data on the host. In this way, the user can directly view the image data collected by the slave through the host.
  • the first photographing module 102 is configured to send a photographing instruction to the second mobile terminal according to the image data, instructing the second mobile terminal to take a photograph;
  • the user can select a suitable photographing angle through the host, and send a photographing instruction to the slave through the host to instruct the slave to take a photo.
  • the second obtaining module 103 is configured to acquire a photo taken by the second mobile terminal according to the photographing instruction and save the photo.
  • the slave after the user inputs a photographing instruction, the slave automatically takes a photo and saves the photo.
  • the slave automatically sends the captured photo to the host, which saves the photo.
  • the photographing device further includes:
  • the first connection module 104 is configured to establish a wireless connection between the first mobile terminal and the second mobile terminal.
  • the user can open a WIFI hotspot through the slave, and the host can establish a wireless connection with the slave through the WIFI hotspot, so that the data can be transmitted between the host and the slave.
  • the first connection module 104 includes:
  • the first processing unit 1041 is configured to: when the second mobile terminal turns on the wireless network, send a first triggering instruction to establish a wireless connection with the second mobile terminal, and establish the first mobile terminal and the second mobile terminal according to the first triggering instruction.
  • Wireless connection
  • the second processing unit unit 1042 is configured to receive a second triggering command sent by the second mobile terminal to establish a wireless connection with the first mobile terminal, and establish a wireless connection between the first mobile terminal and the second mobile terminal according to the second triggering instruction. .
  • the user may send a request to the slave to send the request to the WIFI hotspot through the host, and after the user confirms the request through the slave, the host and the slave may establish a wireless connection;
  • the user can also send a request to the host through the slave to connect to the WIFI hotspot.
  • the host and the slave can establish a wireless connection. The image transmission between the master and the slave is ensured by establishing a wireless connection between the master and the slave.
  • the first obtaining module 101 includes:
  • the first starting unit 1011 is configured to send, to the second mobile terminal, the second mobile terminal. a startup command of the camera, and instructing the second mobile terminal to start a streaming media service, and converting the real-time captured image of the camera into a streaming media image;
  • the first receiving unit 1012 is configured to receive a streaming media web address corresponding to the streaming media image returned by the second mobile terminal;
  • the first obtaining unit 1013 is configured to download a corresponding streaming media image according to the streaming media address, and play the streaming media image on the first mobile terminal.
  • the image obtained by the host acquiring the real-time camera from the camera is obtained by streaming through the streaming media.
  • This method synchronizes the image displayed on the host with the image captured in real time by the slave camera.
  • the first obtaining module 101 further includes:
  • the second activation unit 1014 is configured to send a continuous photographing instruction of the preset time interval to the second mobile terminal, instruct the second mobile terminal to activate the camera, and continuously take a photo according to the continuous photographing instruction;
  • the second obtaining unit 1015 is configured to acquire photos continuously captured by the second mobile terminal according to consecutive photographing instructions, and sequentially display the photos in the order of photographing.
  • the host sends a continuous photographing instruction to the slave at a preset time interval (for example, setting a preset time interval of 0.5 seconds), and the slave passes the camera according to the instruction of continuous photographing.
  • a preset time interval for example, setting a preset time interval of 0.5 seconds
  • the slave passes the camera according to the instruction of continuous photographing.
  • the photo is sent to the host, and only a few photos taken consecutively recently are saved on the host (for example, 2 or 3 photos of the most recent recent shot can be saved on the host computer) ), save by loop overlay (ie, the new photo covers the old photo, deletes the first taken photo, and only keeps the last 2 or 3 consecutive photos taken).
  • each time the host receives a photo sent by the slave it can be previewed on the home screen and processed in a loop overlay.
  • the user of the host can directly acquire the image data collected by the slave through the host, and can preview before determining the shooting posture and taking a photo.
  • the first camera module 102 includes:
  • the third obtaining unit 1021 is configured to acquire a startup action input by the user according to the image data
  • the first photographing unit 1022 is configured to send a photographing instruction to the second mobile terminal according to the activation action, and instruct the second mobile terminal to perform photographing.
  • the slave after the user determines the photographing posture, by inputting activating action on the host, the slave adjusts the photographing parameter to the normal resolution according to the photographing instruction corresponding to the starting action, and performs photographing.
  • an embodiment of the present invention further provides a camera device of a mobile terminal, where the camera device includes:
  • the first sending module 201 is configured to send image information collected by a camera of the second mobile terminal to the first mobile terminal;
  • the slave converts the real-time image information collected by the camera into streaming media information.
  • the host can acquire the streaming media image on the slave, and can display the streaming image on the host. . In this way, the user can directly view the real-time image information collected by the slave through the host.
  • the second photographing module 202 is configured to acquire a photographing instruction sent by the first mobile terminal according to the image data, and perform photographing according to the photographing instruction;
  • the slave after the user views the image data collected by the slave displayed on the host and presses the camera button, the slave performs a photograph according to the photographing instruction.
  • the second sending module 203 is configured to instruct the camera of the second mobile terminal to take a photo and save the photo according to the photographing instruction.
  • the slave after receiving the photographing instruction sent by the host according to the startup action input by the user, the slave can automatically capture the current image captured by the camera and send the photographed photo to the host.
  • the photographing device further comprises:
  • the second connection module 204 is configured to establish a wireless connection between the second mobile terminal and the first mobile terminal.
  • the user can open the WIFI hotspot through the slave, and the host can pass the WIFI.
  • the hotspot establishes a wireless connection with the slave so that the data can be transmitted between the master and the slave.
  • the second connection module 204 includes:
  • the third processing unit 2041 is configured to receive a second triggering instruction that is sent by the first mobile terminal to establish a wireless connection with the second mobile terminal, and establish a wireless connection between the second mobile terminal and the first mobile terminal according to the second triggering instruction;
  • the fourth processing unit 2042 is configured to, when the wireless network is enabled, send a first triggering instruction to establish a wireless connection with the first mobile terminal, and establish a wireless connection between the second mobile terminal and the first mobile terminal according to the first triggering instruction.
  • the user may send a request to the slave to send the request to the WIFI hotspot through the host, and after the user confirms the request through the slave, the host and the slave may establish a wireless connection;
  • the user can also send a request to the host through the slave to connect to the WIFI hotspot.
  • the host and the slave can establish a wireless connection.
  • the transmission of image data between the master and the slave is ensured by establishing a wireless connection between the master and the slave.
  • the first sending module 201 includes:
  • the second receiving unit 2011 is configured to receive a start command sent by the first mobile terminal to start the camera of the second mobile terminal;
  • the first generating unit 2012 is configured to start a camera to acquire a real-time image according to the startup command, and start a streaming media service, and convert the real-time captured image of the camera into a streaming media image;
  • the first sending unit 2013 is configured to obtain a streaming media address corresponding to the streaming media image, and send the streaming media URL to the first mobile terminal.
  • the real-time image information is shared by the streaming media through the streaming media between the host and the slave. This method realizes the synchronization of the image displayed on the host and the image captured by the slave camera in real time.
  • the first sending unit 201 further includes:
  • the third receiving unit 2014 is configured to receive a preset time interval sent by the first mobile terminal. Continuous photographing instructions, and start the camera to continuously take photos according to consecutive photographing instructions;
  • the second transmitting unit 2015 is configured to sequentially transmit the continuously photographed photos to the first mobile terminal in the order of photographing.
  • the slave sends a continuous photographing instruction at a preset time interval (for example, setting a preset time interval of 0.5 seconds) to the host, and then shoots through the camera according to the continuous photographing instruction.
  • a preset time interval for example, setting a preset time interval of 0.5 seconds
  • the photo is sent to the host, and only a few photos taken consecutively recently are saved on the slave (for example, two or three photos of the most recent recent shot can be saved on the slave. ), save by loop coverage (that is, the new photo covers the old photo, deletes the first taken photo, and only keeps the last 2 or 3 consecutive photos).
  • each time the host receives a photo sent by the slave it can be previewed on the home screen and processed in a loop overlay.
  • the user on the host side can directly acquire the image data collected by the slave through the host, and realize preview before determining the shooting posture and taking a photo.
  • the second camera module 202 includes:
  • the fourth obtaining unit 2021 is configured to acquire a photographing instruction sent by the first mobile terminal according to the startup action input by the user;
  • the second photographing unit 2022 is configured to perform photographing according to the photographing instruction.
  • the slave after the user determines the photographing posture, by inputting activating action on the host, the slave adjusts the photographing parameter to the normal resolution according to the photographing instruction corresponding to the starting action, and performs photographing.
  • the host can acquire image data collected by the camera of the slave and display it on the host screen to realize preview before taking the photo. This solution enables users to get a better photo experience while others are helping to take pictures.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the image in the process of taking a picture through the mobile terminal, the image is collected in real time through the camera of the second mobile terminal, and a larger viewing range can be obtained than the self-timer.
  • the first mobile terminal obtains the streaming media image returned by the streaming media transmission mode by the second mobile terminal, so that the user on the first mobile terminal side can observe the real-time collection of the second mobile terminal camera in real time.
  • Image information The user can automatically take a photo currently captured by the camera according to the photographing instruction by inputting a photographing instruction on the first mobile terminal. This solution enables users to get a better photo experience while others are helping to take pictures.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Studio Devices (AREA)
  • Telephone Function (AREA)

Abstract

Provided are a photographing method and device for a mobile terminal. The photographing method comprises: acquiring image data collected by a camera of a second mobile terminal; transmitting a photographing instruction to the second mobile terminal according to the image data so as to instruct the second mobile terminal to perform photographing; and acquiring a photo photographed by the second mobile terminal according to the photographing instruction and saving the photo. By means of the solution, when a user asks to take a photo, a finder screen can be viewed in real time, and photographing can be controlled.

Description

一种移动终端的拍照方法及装置Photographing method and device for mobile terminal 技术领域Technical field
本发明涉及智能终端技术领域,特别涉及一种移动终端的拍照方法及装置。The present invention relates to the field of intelligent terminal technologies, and in particular, to a method and a device for photographing a mobile terminal.
背景技术Background technique
随着智能手机的越来越普遍,用手机拍照也成为了人们日常拍照的首选方式。如果用户想拍摄自己以及身后的美景时往往是通过自拍杆进行拍照或者是请其他人帮忙用手机拍照。但是,通过自拍杆拍摄照片,往往受到自拍杆长度的限制,如果自拍杆不够长,就会拍摄不到范围更大的画面,如果自拍杆的长度过长,不仅会对用户带来不便,也可能因为用户距离屏幕的距离太远而看不清屏幕上的画面而带来不好的用户体验。With the increasing popularity of smartphones, taking pictures with mobile phones has become the preferred method for people to take pictures everyday. If the user wants to take pictures of themselves and the beauty behind them, they often take photos with the selfie stick or ask others to take photos with their mobile phones. However, taking pictures with the selfie stick is often limited by the length of the selfie stick. If the selfie stick is not long enough, it will not capture a larger range of images. If the length of the selfie stick is too long, it will not only cause inconvenience to the user, but also It may be because the user is too far away from the screen to see the screen on the screen and bring a bad user experience.
因此,如果在请朋友帮忙拍照时,自己可以实时观察到取景画面,并且可以根据自己喜欢的状态选择拍摄照片,是目前需要解决的技术问题。Therefore, if you ask a friend to help take a photo, you can observe the viewfinder screen in real time, and you can choose to take a photo according to your favorite state, which is a technical problem that needs to be solved.
发明内容Summary of the invention
本发明提供了一种移动终端的拍照方法及装置,其目的是为了实现用户在请他人帮忙拍照时,可以实时观察到取景画面,并且可以进行控制拍照。The invention provides a method and a device for photographing a mobile terminal, and the purpose thereof is to realize that the user can observe the viewfinder screen in real time while asking others to help take a photo, and can control the photographing.
为了达到上述目的,本发明的实施例提供了一种移动终端的拍照方法,用于第一移动终端,所述拍照方法包括:In order to achieve the above object, an embodiment of the present invention provides a method for photographing a mobile terminal, which is used in a first mobile terminal, and the photographing method includes:
获取第二移动终端的摄像头采集的图像数据;Obtaining image data collected by a camera of the second mobile terminal;
根据所述图像数据向所述第二移动终端发送拍照指令,指示所述第二移动终端进行拍照;Sending a photographing instruction to the second mobile terminal according to the image data, instructing the second mobile terminal to take a photograph;
获取所述第二移动终端根据所述拍照指令拍摄的照片并保存照片。Obtaining a photo taken by the second mobile terminal according to the photographing instruction and saving the photo.
优选地,所述获取第二移动终端的摄像头采集的图像数据之前,还包 括:Preferably, before the acquiring the image data collected by the camera of the second mobile terminal, include:
建立第一移动终端与第二移动终端的无线连接。Establishing a wireless connection between the first mobile terminal and the second mobile terminal.
优选地,所述建立第一移动终端与第二移动终端的无线连接,包括:Preferably, the establishing a wireless connection between the first mobile terminal and the second mobile terminal includes:
在所述第二移动终端开启无线网络时,发送请求与所述第二移动终端建立无线连接的第一触发指令,并根据所述第一触发指令建立所述第一移动终端与第二移动终端的无线连接;或者,When the second mobile terminal turns on the wireless network, sending a first triggering instruction to establish a wireless connection with the second mobile terminal, and establishing the first mobile terminal and the second mobile terminal according to the first triggering instruction Wireless connection; or,
接收所述第二移动终端发送的请求与所述第一移动终端建立无线连接的第二触发指令,并根据所述第二触发指令建立所述第一移动终端与第二移动终端的无线连接。Receiving, by the second mobile terminal, a second triggering instruction that establishes a wireless connection with the first mobile terminal, and establishing a wireless connection between the first mobile terminal and the second mobile terminal according to the second triggering instruction.
优选地,所述获取第二移动终端的摄像头采集的图像数据,包括:Preferably, the acquiring the image data collected by the camera of the second mobile terminal comprises:
向所述第二移动终端发送启动所述第二移动终端的摄像头的启动指令,并指示所述第二移动终端启动流媒体服务,将所述摄像头采集的图像数据转化为流媒体图像;Sending, to the second mobile terminal, a startup instruction of the camera that starts the second mobile terminal, and instructing the second mobile terminal to start a streaming service, and converting the image data collected by the camera into a streaming image;
接收所述第二移动终端返回的与所述流媒体图像对应的流媒体网址;Receiving, by the second mobile terminal, a streaming media web address corresponding to the streaming media image;
根据所述流媒体网址下载对应的流媒体图像,并在所述第一移动终端上播放所述流媒体图像。And downloading the corresponding streaming media image according to the streaming media address, and playing the streaming media image on the first mobile terminal.
优选地,所述获取第二移动终端的摄像头采集的图像数据,还包括:Preferably, the acquiring the image data collected by the camera of the second mobile terminal further includes:
向所述第二移动终端发送一预设时间间隔的连续拍照指令,指示所述第二移动终端启动摄像头,并根据所述连续拍照指令连续拍摄照片;Sending, to the second mobile terminal, a continuous photographing instruction of a preset time interval, instructing the second mobile terminal to activate the camera, and continuously taking a photo according to the continuous photographing instruction;
获取所述第二移动终端根据所述连续拍照指令连续拍摄的照片,并按照拍照的顺序依次显示所述照片。Acquiring the photos continuously captured by the second mobile terminal according to the continuous photographing instruction, and sequentially displaying the photographs in the order of photographing.
优选地,所述根据所述图像数据向所述第二移动终端发送拍照指令,指示所述第二移动终端进行拍照,包括:Preferably, the sending, by the image data, the photographing instruction to the second mobile terminal, instructing the second mobile terminal to perform photographing, includes:
获取用户根据所述图像数据输入的启动动作;Acquiring a startup action input by the user according to the image data;
根据所述启动动作向所述第二移动终端发送拍照指令,指示所述第二移动终端进行拍照。 And sending a photographing instruction to the second mobile terminal according to the startup action, instructing the second mobile terminal to perform photographing.
本发明的实施例还提供一种移动终端的拍照方法,设置为第二移动终端,所述拍照方法包括:An embodiment of the present invention further provides a method for photographing a mobile terminal, which is configured as a second mobile terminal, and the photographing method includes:
发送摄像头采集的图像数据至第一移动终端;Sending image data collected by the camera to the first mobile terminal;
获取所述第一移动终端根据所述图像数据发送的拍照指令,并根据所述拍照指令进行拍照;Obtaining a photographing instruction sent by the first mobile terminal according to the image data, and performing photographing according to the photographing instruction;
发送根据所述拍照指令拍摄的照片至所述第一移动终端。Sending a photo taken according to the photographing instruction to the first mobile terminal.
优选地,所述发送摄像头采集的图像数据至第一移动终端之前,还包括:Preferably, before the sending the image data collected by the camera to the first mobile terminal, the method further includes:
建立第二移动终端与第一移动终端的无线连接。Establishing a wireless connection between the second mobile terminal and the first mobile terminal.
优选地,所述建立第二移动终端与第一移动终端的无线连接,包括:Preferably, the establishing a wireless connection between the second mobile terminal and the first mobile terminal comprises:
接收所述第一移动终端发送的请求与所述第二移动终端建立无线连接的第二触发指令,根据所述第二触发指令建立第二移动终端与第一移动终端的无线连接;或者,Receiving a second triggering instruction that the first mobile terminal establishes a wireless connection with the second mobile terminal, and establishing a wireless connection between the second mobile terminal and the first mobile terminal according to the second triggering instruction; or
在开启无线网络时,发送请求与所述第一移动终端建立无线连接的第一触发指令,根据所述第一触发指令建立第二移动终端与第一移动终端的无线连接。When the wireless network is enabled, a first triggering command is sent to establish a wireless connection with the first mobile terminal, and a wireless connection between the second mobile terminal and the first mobile terminal is established according to the first triggering instruction.
优选地,所述发送摄像头采集的图像数据至第一移动终端,包括:Preferably, the sending the image data collected by the camera to the first mobile terminal comprises:
接收所述第一移动终端发送的启动所述第二移动终端的摄像头的启动指令;Receiving, by the first mobile terminal, a startup instruction of a camera that starts the second mobile terminal;
根据所述启动指令启动所述摄像头获取图像数据,并启动流媒体服务,将所述摄像头采集的图像数据转化为流媒体图像;And starting the camera to acquire image data according to the startup instruction, and starting a streaming service, converting the image data collected by the camera into a streaming image;
获取所述流媒体图像对应的流媒体网址,并发送所述流媒体网址至所述第一移动终端。Obtaining a streaming media address corresponding to the streaming media image, and sending the streaming media URL to the first mobile terminal.
优选地,所述发送摄像头采集的图像数据至第一移动终端,还包括:Preferably, the sending the image data collected by the camera to the first mobile terminal further includes:
接收所述第一移动终端发送的一预设时间间隔的连续拍照指令,并启动摄像头,根据所述连续拍照指令连续拍摄照片; Receiving a continuous photographing instruction of a preset time interval sent by the first mobile terminal, and starting a camera, and continuously taking a photo according to the continuous photographing instruction;
按照拍照的顺序依次向所述第一移动终端发送连续拍摄的照片。The continuously photographed photos are sequentially transmitted to the first mobile terminal in the order of photographing.
优选地,所述发送根据所述拍照指令拍摄的照片至所述第一移动终端,包括:Preferably, the sending the photo taken according to the photographing instruction to the first mobile terminal comprises:
获取所述第一移动终端根据用户输入的启动动作发送的拍照指令;Acquiring the photographing instruction sent by the first mobile terminal according to the startup action input by the user;
根据所述拍照指令进行拍照。Taking a picture according to the photographing instruction.
本发明的实施例还提供一种移动终端的拍照装置,所述拍照装置包括:An embodiment of the present invention further provides a camera device for a mobile terminal, where the camera device includes:
第一获取模块,设置为获取第二移动终端的摄像头采集的图像数据;a first acquiring module, configured to acquire image data collected by a camera of the second mobile terminal;
第一拍照模块,设置为根据所述图像数据向所述第二移动终端发送拍照指令,指示所述第二移动终端进行拍照;The first camera module is configured to send a photographing instruction to the second mobile terminal according to the image data, and instruct the second mobile terminal to take a photograph;
第二获取模块,设置为获取所述第二移动终端根据所述拍照指令拍摄的照片并保存照片。The second obtaining module is configured to acquire a photo taken by the second mobile terminal according to the photographing instruction and save the photo.
优选地,所述拍照装置,还包括:Preferably, the photographing device further includes:
第一连接模块,设置为建立第一移动终端与第二移动终端的无线连接。The first connection module is configured to establish a wireless connection between the first mobile terminal and the second mobile terminal.
优选地,所述第一连接模块,包括:Preferably, the first connection module includes:
第一处理单元,设置为在所述第二移动终端开启无线网络时,发送请求与所述第二移动终端建立无线连接的第一触发指令,并根据所述第一触发指令建立所述第一移动终端与第二移动终端的无线连接;或者,a first processing unit, configured to: when the second mobile terminal turns on the wireless network, send a first triggering instruction to establish a wireless connection with the second mobile terminal, and establish the first according to the first triggering instruction a wireless connection between the mobile terminal and the second mobile terminal; or
第二处理单元,设置为接收所述第二移动终端发送的请求与所述第一移动终端建立无线连接的第二触发指令,并根据所述第二触发指令建立所述第一移动终端与第二移动终端的无线连接。a second processing unit, configured to receive a second triggering command sent by the second mobile terminal to establish a wireless connection with the first mobile terminal, and establish the first mobile terminal according to the second triggering instruction Second, the wireless connection of the mobile terminal.
优选地,所述第一获取模块,包括:Preferably, the first acquiring module includes:
第一启动单元,设置为向所述第二移动终端发送启动所述第二移动终端的摄像头的启动指令,并指示所述第二移动终端启动流媒体服务,将所述摄像头采集的图像数据转化为流媒体图像; The first activation unit is configured to send, to the second mobile terminal, a startup command for starting the camera of the second mobile terminal, and instruct the second mobile terminal to start a streaming service, and convert the image data collected by the camera For streaming media images;
第一接收单元,设置为接收所述第二移动终端返回的与所述流媒体图像对应的流媒体网址;a first receiving unit, configured to receive a streaming media web address corresponding to the streaming media image returned by the second mobile terminal;
第一获取单元,设置为根据所述流媒体网址下载对应的流媒体图像,并在所述第一移动终端上播放所述流媒体图像。The first obtaining unit is configured to download a corresponding streaming media image according to the streaming media address, and play the streaming media image on the first mobile terminal.
优选地,所述第一获取模块,还包括:Preferably, the first acquiring module further includes:
第二启动单元,设置为向所述第二移动终端发送一预设时间间隔的连续拍照指令,指示所述第二移动终端启动摄像头,并根据所述连续拍照指令连续拍摄照片;The second activation unit is configured to send a continuous photographing instruction of the preset time interval to the second mobile terminal, instruct the second mobile terminal to activate the camera, and continuously take a photo according to the continuous photographing instruction;
第二获取单元,设置为获取所述第二移动终端根据所述连续拍照指令连续拍摄的照片,并按照拍照的顺序依次显示所述照片。The second acquiring unit is configured to acquire photos continuously captured by the second mobile terminal according to the continuous photographing instruction, and sequentially display the photos in the order of photographing.
优选地,所述第一拍照模块,包括:Preferably, the first camera module comprises:
第三获取单元,设置为获取用户根据所述图像数据输入的启动动作;a third obtaining unit, configured to acquire activating action input by the user according to the image data;
第一拍照单元,设置为根据所述启动动作向所述第二移动终端发送拍照指令,指示所述第二移动终端进行拍照。The first photographing unit is configured to send a photographing instruction to the second mobile terminal according to the activation action, and instruct the second mobile terminal to perform photographing.
本发明的实施例还提供一种移动终端的拍照装置,所述拍照装置包括:An embodiment of the present invention further provides a camera device for a mobile terminal, where the camera device includes:
第一发送模块,设置为发送摄像头采集的图像数据至第一移动终端;a first sending module, configured to send image data collected by the camera to the first mobile terminal;
第二拍照模块,设置为获取所述第一移动终端根据所述图像数据发送的拍照指令,并根据所述拍照指令进行拍照;The second camera module is configured to acquire a photographing instruction sent by the first mobile terminal according to the image data, and perform photographing according to the photographing instruction;
第二发送模块,设置为发送根据所述拍照指令拍摄的照片至所述第一移动终端。The second sending module is configured to send a photo taken according to the photographing instruction to the first mobile terminal.
优选地,所述拍照装置,还包括:Preferably, the photographing device further includes:
第二连接模块,设置为建立第二移动终端与第一移动终端的无线连接。The second connection module is configured to establish a wireless connection between the second mobile terminal and the first mobile terminal.
优选地,所述第二连接模块,包括: Preferably, the second connection module comprises:
第三处理单元,设置为接收所述第一移动终端发送的请求与所述第二移动终端建立无线连接的第二触发指令,根据所述第二触发指令建立第二移动终端与第一移动终端的无线连接;或者,a third processing unit, configured to receive a second triggering instruction that is sent by the first mobile terminal to establish a wireless connection with the second mobile terminal, and establish a second mobile terminal and the first mobile terminal according to the second triggering instruction Wireless connection; or,
第四处理单元,设置为在开启无线网络时,发送请求与所述第一移动终端建立无线连接的第一触发指令,根据所述第一触发指令建立第二移动终端与第一移动终端的无线连接。a fourth processing unit, configured to: when the wireless network is enabled, send a first triggering instruction to establish a wireless connection with the first mobile terminal, and establish, according to the first triggering instruction, the wireless of the second mobile terminal and the first mobile terminal connection.
优选地,所述第一发送模块,包括:Preferably, the first sending module includes:
第二接收单元,设置为接收所述第一移动终端发送的启动所述第二移动终端的摄像头的启动指令;a second receiving unit, configured to receive a start command sent by the first mobile terminal to start a camera of the second mobile terminal;
第一生成单元,设置为根据所述启动指令启动所述摄像头获取图像数据,并启动流媒体服务,将所述摄像头采集的图像数据转化为流媒体图像;The first generating unit is configured to start the camera to acquire image data according to the startup command, and start a streaming service, and convert the image data collected by the camera into a streaming image;
第一发送单元,设置为获取所述流媒体图像对应的流媒体网址,并发送所述流媒体网址至所述第一移动终端。The first sending unit is configured to acquire a streaming media address corresponding to the streaming media image, and send the streaming media URL to the first mobile terminal.
优选地,所述第一发送模块,还包括:Preferably, the first sending module further includes:
第三接收单元,设置为接收所述第一移动终端发送的一预设时间间隔的连续拍照指令,并启动摄像头,根据所述连续拍照指令连续拍摄照片;The third receiving unit is configured to receive a continuous photographing instruction of a preset time interval sent by the first mobile terminal, and activate a camera to continuously take a photo according to the continuous photographing instruction;
第二发送单元,设置为按照拍照的顺序依次向所述第一移动终端发送连续拍摄的照片。The second sending unit is configured to sequentially send the continuously photographed photos to the first mobile terminal in the order of photographing.
优选地,所述第二拍照模块,包括:Preferably, the second camera module comprises:
第四获取单元,设置为获取所述第一移动终端根据用户输入的启动动作发送的拍照指令;a fourth acquiring unit, configured to acquire a photographing instruction sent by the first mobile terminal according to a startup action input by a user;
第二拍照单元,设置为根据所述拍照指令进行拍照。The second photographing unit is configured to perform photographing according to the photographing instruction.
根据本发明的又一个实施例,还提供了一种存储介质。该存储介质设置为存储用于执行以下步骤的程序代码:According to still another embodiment of the present invention, a storage medium is also provided. The storage medium is arranged to store program code for performing the following steps:
获取第二移动终端的摄像头采集的图像数据;Obtaining image data collected by a camera of the second mobile terminal;
根据所述图像数据向所述第二移动终端发送拍照指令,指示所述第二 移动终端进行拍照;Sending a photographing instruction to the second mobile terminal according to the image data, indicating the second The mobile terminal performs photographing;
获取所述第二移动终端根据所述拍照指令拍摄的照片并保存照片。Obtaining a photo taken by the second mobile terminal according to the photographing instruction and saving the photo.
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:Optionally, the storage medium is further arranged to store program code for performing the following steps:
建立第一移动终端与第二移动终端的无线连接。Establishing a wireless connection between the first mobile terminal and the second mobile terminal.
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:Optionally, the storage medium is further arranged to store program code for performing the following steps:
在所述第二移动终端开启无线网络时,发送请求与所述第二移动终端建立无线连接的第一触发指令,并根据所述第一触发指令建立所述第一移动终端与第二移动终端的无线连接;或者,When the second mobile terminal turns on the wireless network, sending a first triggering instruction to establish a wireless connection with the second mobile terminal, and establishing the first mobile terminal and the second mobile terminal according to the first triggering instruction Wireless connection; or,
接收所述第二移动终端发送的请求与所述第一移动终端建立无线连接的第二触发指令,并根据所述第二触发指令建立所述第一移动终端与第二移动终端的无线连接。Receiving, by the second mobile terminal, a second triggering instruction that establishes a wireless connection with the first mobile terminal, and establishing a wireless connection between the first mobile terminal and the second mobile terminal according to the second triggering instruction.
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:Optionally, the storage medium is further arranged to store program code for performing the following steps:
向所述第二移动终端发送启动所述第二移动终端的摄像头的启动指令,并指示所述第二移动终端启动流媒体服务,将所述摄像头采集的图像数据转化为流媒体图像;Sending, to the second mobile terminal, a startup instruction of the camera that starts the second mobile terminal, and instructing the second mobile terminal to start a streaming service, and converting the image data collected by the camera into a streaming image;
接收所述第二移动终端返回的与所述流媒体图像对应的流媒体网址;Receiving, by the second mobile terminal, a streaming media web address corresponding to the streaming media image;
根据所述流媒体网址下载对应的流媒体图像,并在所述第一移动终端上播放所述流媒体图像。And downloading the corresponding streaming media image according to the streaming media address, and playing the streaming media image on the first mobile terminal.
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:Optionally, the storage medium is further arranged to store program code for performing the following steps:
向所述第二移动终端发送一预设时间间隔的连续拍照指令,指示所述第二移动终端启动摄像头,并根据所述连续拍照指令连续拍摄照片;Sending, to the second mobile terminal, a continuous photographing instruction of a preset time interval, instructing the second mobile terminal to activate the camera, and continuously taking a photo according to the continuous photographing instruction;
获取所述第二移动终端根据所述连续拍照指令连续拍摄的照片,并按照拍照的顺序依次显示所述照片。Acquiring the photos continuously captured by the second mobile terminal according to the continuous photographing instruction, and sequentially displaying the photographs in the order of photographing.
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:Optionally, the storage medium is further arranged to store program code for performing the following steps:
获取用户根据所述图像数据输入的启动动作; Acquiring a startup action input by the user according to the image data;
根据所述启动动作向所述第二移动终端发送拍照指令,指示所述第二移动终端进行拍照。And sending a photographing instruction to the second mobile terminal according to the startup action, instructing the second mobile terminal to perform photographing.
根据本发明的又一个实施例,还提供了一种存储介质。该存储介质设置为存储用于执行以下步骤的程序代码:According to still another embodiment of the present invention, a storage medium is also provided. The storage medium is arranged to store program code for performing the following steps:
发送摄像头采集的图像数据至第一移动终端;Sending image data collected by the camera to the first mobile terminal;
获取所述第一移动终端根据所述图像数据发送的拍照指令,并根据所述拍照指令进行拍照;Obtaining a photographing instruction sent by the first mobile terminal according to the image data, and performing photographing according to the photographing instruction;
发送根据所述拍照指令拍摄的照片至所述第一移动终端。Sending a photo taken according to the photographing instruction to the first mobile terminal.
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:Optionally, the storage medium is further arranged to store program code for performing the following steps:
建立第二移动终端与第一移动终端的无线连接。Establishing a wireless connection between the second mobile terminal and the first mobile terminal.
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:Optionally, the storage medium is further arranged to store program code for performing the following steps:
接收所述第一移动终端发送的请求与所述第二移动终端建立无线连接的第二触发指令,根据所述第二触发指令建立第二移动终端与第一移动终端的无线连接;或者,Receiving a second triggering instruction that the first mobile terminal establishes a wireless connection with the second mobile terminal, and establishing a wireless connection between the second mobile terminal and the first mobile terminal according to the second triggering instruction; or
在开启无线网络时,发送请求与所述第一移动终端建立无线连接的第一触发指令,根据所述第一触发指令建立第二移动终端与第一移动终端的无线连接。When the wireless network is enabled, a first triggering command is sent to establish a wireless connection with the first mobile terminal, and a wireless connection between the second mobile terminal and the first mobile terminal is established according to the first triggering instruction.
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:Optionally, the storage medium is further arranged to store program code for performing the following steps:
接收所述第一移动终端发送的启动所述第二移动终端的摄像头的启动指令;Receiving, by the first mobile terminal, a startup instruction of a camera that starts the second mobile terminal;
根据所述启动指令启动所述摄像头获取图像数据,并启动流媒体服务,将所述摄像头采集的图像数据转化为流媒体图像;And starting the camera to acquire image data according to the startup instruction, and starting a streaming service, converting the image data collected by the camera into a streaming image;
获取所述流媒体图像对应的流媒体网址,并发送所述流媒体网址至所述第一移动终端。Obtaining a streaming media address corresponding to the streaming media image, and sending the streaming media URL to the first mobile terminal.
可选地,存储介质还设置为存储用于执行以下步骤的程序代码: Optionally, the storage medium is further arranged to store program code for performing the following steps:
接收所述第一移动终端发送的一预设时间间隔的连续拍照指令,并启动摄像头,根据所述连续拍照指令连续拍摄照片;Receiving a continuous photographing instruction of a preset time interval sent by the first mobile terminal, and starting a camera, and continuously taking a photo according to the continuous photographing instruction;
按照拍照的顺序依次向所述第一移动终端发送连续拍摄的照片。The continuously photographed photos are sequentially transmitted to the first mobile terminal in the order of photographing.
可选地,存储介质还设置为存储用于执行以下步骤的程序代码:Optionally, the storage medium is further arranged to store program code for performing the following steps:
获取所述第一移动终端根据用户输入的启动动作发送的拍照指令;Acquiring the photographing instruction sent by the first mobile terminal according to the startup action input by the user;
根据所述拍照指令进行拍照。Taking a picture according to the photographing instruction.
本发明的上述方案有如下的有益效果:The above solution of the present invention has the following beneficial effects:
上述方案的用户在进行拍照时,通过第二移动终端的摄像头来实时采集图像,相比自拍来说,可以获得更大的取景范围。另外,第一移动终端通过获取第二移动终端采用通过流媒体传输方式返回的流媒体图像,使得第一移动终端侧的用户在他拍情况下,还能够实时观察到第二移动终端摄像头实时采集的图像信息。用户通过在第一移动终端上输入拍照指令,第二移动终端可以根据拍照指令自动拍摄摄像头当前采集的照片。该方案使得用户在通过其他人帮忙拍照的情况下,能够获得更好的拍照体验。When the user of the above solution takes a picture, the image is collected in real time through the camera of the second mobile terminal, and a larger viewing range can be obtained than the self-timer. In addition, the first mobile terminal obtains the streaming media image returned by the streaming media transmission mode by the second mobile terminal, so that the user on the first mobile terminal side can observe the real-time collection of the second mobile terminal camera in real time. Image information. The user can automatically take a photo currently captured by the camera according to the photographing instruction by inputting a photographing instruction on the first mobile terminal. This solution enables users to get a better photo experience while others are helping to take pictures.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1为本发明的第一移动终端的拍照方法的流程图;1 is a flowchart of a photographing method of a first mobile terminal according to the present invention;
图2为本发明的第一种获取第二移动终端的摄像头采集的图像数据的流程图;2 is a flowchart of acquiring image data collected by a camera of a second mobile terminal according to a first embodiment of the present invention;
图3为本发明的第二种获取第二移动终端的摄像头采集的图像数据的流程图;3 is a flow chart of obtaining the image data collected by the camera of the second mobile terminal according to the second embodiment of the present invention;
图4为本发明根据图像数据向第二移动终端发送拍照指令的流程图; 4 is a flowchart of sending a photographing instruction to a second mobile terminal according to image data according to the present invention;
图5为本发明的第二移动终端的拍照方法的流程图;FIG. 5 is a flowchart of a method for photographing a second mobile terminal according to the present invention; FIG.
图6为本发明的第一种发送摄像头采集的图像数据至第一移动终端的流程图;6 is a flow chart of the first type of image data collected by a transmitting camera to a first mobile terminal according to the present invention;
图7为本发明的第二种发送摄像头采集的图像数据至第一移动终端的流程图;7 is a flow chart of image data collected by a second transmitting camera of the present invention to a first mobile terminal;
图8为本发明发送根据拍照指令拍摄的照片至第一移动终端的流程图;8 is a flowchart of transmitting a photo taken according to a photographing instruction to a first mobile terminal according to the present invention;
图9为本发明的第一移动终端的拍照装置的示意图;FIG. 9 is a schematic diagram of a photographing apparatus of a first mobile terminal according to the present invention; FIG.
图10为本发明的第二移动终端的拍照装置的示意图。FIG. 10 is a schematic diagram of a photographing apparatus of a second mobile terminal of the present invention.
具体实施方式detailed description
为使本发明要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。The technical problems, the technical solutions, and the advantages of the present invention will be more clearly described in the following description.
如图1所示,本发明的实施例提供了一种移动终端的拍照方法,该拍照方法包括:As shown in FIG. 1 , an embodiment of the present invention provides a method for photographing a mobile terminal, where the photographing method includes:
S101、获取第二移动终端的摄像头采集的图像数据;S101. Acquire image data collected by a camera of the second mobile terminal.
该实施例中,在第一移动终端(可称为主机)和第二移动终端(可称为从机)建立无线连接之后,从机用于通过摄像头采集用户需要拍摄的图像数据,主机可以获取从机上的图像数据,并且可以在主机上显示该图像数据。这样,用户便可以通过主机直接观看到从机上采集的图像数据。In this embodiment, after the first mobile terminal (which may be referred to as a host) and the second mobile terminal (which may be referred to as a slave) establish a wireless connection, the slave is configured to collect image data that the user needs to capture through the camera, and the host can acquire The image data on the machine is displayed, and the image data can be displayed on the host. In this way, the user can directly view the image data collected by the slave through the host.
S102、根据图像数据向第二移动终端发送拍照指令,指示第二移动终端进行拍照;S102. Send a photographing instruction to the second mobile terminal according to the image data, and instruct the second mobile terminal to take a photograph;
该实施例中,用户可以通过主机观看选择合适的拍照角度,并且通过主机发送拍照指令到从机,指示从机进行拍照。In this embodiment, the user can select a suitable photographing angle through the host, and send a photographing instruction to the slave through the host to instruct the slave to take a photo.
S103、获取第二移动终端根据拍照指令拍摄的照片并保存照片。S103. Acquire a photo taken by the second mobile terminal according to the photographing instruction and save the photo.
该实施例中,用户在主机输入拍照指令后,从机自动进行拍照并保存 照片。从机自动将拍摄的该照片发送到主机,主机将该照片进行保存。该方式可以实现用户在请他人帮忙拍照时,不仅能够观察到取景图像,还能够随时触发拍照指令进行拍照。In this embodiment, after the user inputs a photographing instruction, the slave automatically takes a photo and saves it. photo. The slave automatically sends the captured photo to the host, which saves the photo. This method can realize that when the user asks others to help take a photo, not only can the framing image be observed, but also the camera instruction can be triggered to take a photo at any time.
进一步地,获取第二移动终端的摄像头采集的图像数据之前,还包括:Further, before acquiring the image data collected by the camera of the second mobile terminal, the method further includes:
建立第一移动终端与第二移动终端的无线连接。Establishing a wireless connection between the first mobile terminal and the second mobile terminal.
该实施例中,用户通过从机开启WIFI热点,主机可以通过该WIFI热点与从机建立无线连接,以便主机和从机之间可以进行图像数据的传输。In this embodiment, the user can open a WIFI hotspot through the slave, and the host can establish a wireless connection with the slave through the WIFI hotspot, so that the image data can be transmitted between the host and the slave.
进一步地,建立第一移动终端与第二移动终端的无线连接,包括:Further, establishing a wireless connection between the first mobile terminal and the second mobile terminal includes:
在第二移动终端开启无线网络时,发送请求与第二移动终端建立无线连接的第一触发指令,并根据第一触发指令建立第一移动终端与第二移动终端的无线连接;或者,When the second mobile terminal turns on the wireless network, sending a first triggering instruction to establish a wireless connection with the second mobile terminal, and establishing a wireless connection between the first mobile terminal and the second mobile terminal according to the first triggering instruction; or
接收第二移动终端发送的请求与第一移动终端建立无线连接的第二触发指令,并根据第二触发指令建立第一移动终端与第二移动终端的无线连接。Receiving a second triggering instruction that the second mobile terminal establishes a wireless connection with the first mobile terminal, and establishing a wireless connection between the first mobile terminal and the second mobile terminal according to the second triggering instruction.
该实施例中,用户通过从机开启WIFI热点之后,用户可以是通过主机向从机发送请求连接到该WIFI热点,在用户通过从机确认请求之后,主机和从机可以建立无线连接;另外,用户也可以是通过从机向主机发送请求连接到该WIFI热点,在用户通过主机确认请求之后,主机和从机可以建立无线连接。通过建立主机和从机的无线连接,从而保证主机和从机之间的图像数据的传输。In this embodiment, after the user turns on the WIFI hotspot through the slave, the user may send a request to the slave to send the request to the WIFI hotspot through the host, and after the user confirms the request through the slave, the host and the slave may establish a wireless connection; The user can also send a request to the host through the slave to connect to the WIFI hotspot. After the user confirms the request through the host, the host and the slave can establish a wireless connection. The transmission of image data between the master and the slave is ensured by establishing a wireless connection between the master and the slave.
进一步地,参见图2,获取第二移动终端的摄像头采集的图像数据,包括:Further, referring to FIG. 2, acquiring image data collected by a camera of the second mobile terminal includes:
S201、向第二移动终端发送启动第二移动终端的摄像头的启动指令,并指示第二移动终端启动流媒体服务,将摄像头实时采集影像转化为流媒体图像; S201. Send a start command of the camera that starts the second mobile terminal to the second mobile terminal, and instruct the second mobile terminal to start the streaming service, and convert the real-time captured image of the camera into a streaming image;
S202、接收第二移动终端返回的与流媒体图像对应的流媒体网址;S202. Receive a streaming media web address corresponding to the streaming media image returned by the second mobile terminal.
S203、根据流媒体网址下载对应的流媒体图像,并在第一移动终端上播放流媒体图像。S203. Download a corresponding streaming media image according to the streaming media website, and play the streaming media image on the first mobile terminal.
该实施例中,主机获取从机的摄像头采集的实时图像是通过流媒体服务器,采用流式传输的方式来获得的。该方式使得第一移动终端上显示的图像和第二移动终端摄像头实时采集的图像实现了同步。In this embodiment, the real-time image acquired by the host acquiring the camera of the slave is obtained by streaming through the streaming server. The method synchronizes the image displayed on the first mobile terminal with the image captured by the second mobile terminal camera in real time.
进一步地,参见图3,获取第二移动终端的摄像头采集的图像数据,还包括:Further, referring to FIG. 3, acquiring image data collected by a camera of the second mobile terminal further includes:
S301、向第二移动终端发送一预设时间间隔的连续拍照指令,指示第二移动终端启动摄像头,并根据连续拍照指令连续拍摄照片;S301: Send a continuous photographing instruction of a preset time interval to the second mobile terminal, instruct the second mobile terminal to start the camera, and continuously take a photo according to the continuous photographing instruction;
S302、获取第二移动终端根据连续拍照指令连续拍摄的照片,并按照拍照的顺序依次显示照片。S302. Acquire a photo continuously captured by the second mobile terminal according to the continuous photographing instruction, and sequentially display the photo according to the photographing sequence.
该实施例中,在主机和从机建立无线连接后,主机发送预设时间间隔(例如:设置预设时间间隔为0.5秒)的连续拍照指令到从机上,从机根据连续拍照的指令通过摄像头拍摄低分辨率的照片。在从机每次完成一次拍照后,都将该照片发送到主机上,在主机上仅保存连续最近拍摄的少数几张照片(例如:可以设置主机上保存连续的最近拍摄的2或3张照片),采取循环覆盖的方式保存(即,新照片覆盖旧照片,删除最先拍摄的照片,仅保留最后拍摄的连续的2或3张照片)。同样主机在每接收一张从机发送的照片时,都可以在主屏幕上进行预览,并且同样采取循环覆盖的方式进行处理。该方式中主机侧的用户可以通过主机直接获取从机采集的图像数据,在确定拍摄姿势并进行拍照之前,可以进行预览。In this embodiment, after the host and the slave establish a wireless connection, the host sends a continuous photographing instruction to the slave at a preset time interval (for example, setting a preset time interval of 0.5 seconds), and the slave passes the camera according to the instruction of continuous photographing. Take low-resolution photos. After the slave completes the photo every time, the photo is sent to the host, and only a few photos taken consecutively recently are saved on the host (for example, 2 or 3 photos of the most recent recent shot can be saved on the host computer) ), save by loop overlay (ie, the new photo covers the old photo, deletes the first taken photo, and only keeps the last 2 or 3 consecutive photos taken). Similarly, each time the host receives a photo sent by the slave, it can be previewed on the home screen and processed in a loop overlay. In this mode, the user on the host side can directly acquire the image data collected by the slave through the host, and can preview before determining the shooting posture and taking a photo.
进一步地,参见图4,根据图像数据向第二移动终端发送拍照指令,指示第二移动终端进行拍照,包括:Further, referring to FIG. 4, sending a photographing instruction to the second mobile terminal according to the image data, instructing the second mobile terminal to take a photograph, includes:
S401、获取用户根据图像数据输入的启动动作;S401. Acquire a startup action input by the user according to the image data.
S402、根据启动动作向第二移动终端发送拍照指令,指示第二移动终端进行拍照。 S402. Send a photographing instruction to the second mobile terminal according to the startup action, and instruct the second mobile terminal to perform photographing.
该实施例中,用户在确定拍照姿势后,通过在主机上输入启动动作,从机根据启动动作对应的拍照指令,调整拍照参数为正常分辨率,拍摄照片。In this embodiment, after the user determines the photographing posture, by inputting activating action on the host, the slave adjusts the photographing parameter to the normal resolution according to the photographing instruction corresponding to the starting action, and takes a photo.
如图5所示,本发明的实施例还提供一种移动终端的拍照方法,该拍照方法包括:As shown in FIG. 5, an embodiment of the present invention further provides a method for photographing a mobile terminal, where the photographing method includes:
S501、发送摄像头采集的图像数据至第一移动终端;S501: Send image data collected by the camera to the first mobile terminal;
该实施例中,从机将通过摄像头采集图像数据发发送到从机上,并且在主机上显示该流媒体图像。这样,用户便可以通过第一移动终端直接观看到第二移动终端上采集的图像信息。In this embodiment, the slave transmits the image data collected by the camera to the slave and displays the streaming image on the host. In this way, the user can directly view the image information collected on the second mobile terminal through the first mobile terminal.
S502、获取第一移动终端根据图像数据发送的拍照指令,并根据拍照指令进行拍照;S502. Acquire a photographing instruction sent by the first mobile terminal according to the image data, and perform photographing according to the photographing instruction;
该实施例中,用户在通过观看主机上显示的从机采集的图像数据,并按下拍照键后,从机根据拍照指令进行拍照。In this embodiment, after the user views the image data collected by the slave displayed on the host and presses the camera button, the slave performs a photograph according to the photographing instruction.
S503、发送根据拍照指令拍摄的照片并发送到第一移动终端。S503. Send a photo taken according to the photographing instruction and send the photo to the first mobile terminal.
该实施例中,从机接收主机根据用户输入的启动动作发送的拍照指令后,可以自动拍摄摄像头采集的当前的图像并将拍摄的照片发送到主机上。In this embodiment, after receiving the photographing instruction sent by the host according to the startup action input by the user, the slave can automatically capture the current image captured by the camera and send the photographed photo to the host.
进一步地,发送摄像头采集的图像数据至第一移动终端之前,还包括:Further, before sending the image data collected by the camera to the first mobile terminal, the method further includes:
建立第二移动终端与第一移动终端的无线连接。Establishing a wireless connection between the second mobile terminal and the first mobile terminal.
该实施例中,用户通过从机开启WIFI热点,主机可以通过该WIFI热点与从机建立无线连接,以便主机和从机之间可以进行图数据的传输。In this embodiment, the user can open a WIFI hotspot through the slave, and the host can establish a wireless connection with the slave through the WIFI hotspot, so that the data can be transmitted between the host and the slave.
进一步地,建立第二移动终端与第一移动终端的无线连接,包括:Further, establishing a wireless connection between the second mobile terminal and the first mobile terminal, including:
接收第一移动终端发送的请求与第二移动终端建立无线连接的第二触发指令,根据第二触发指令建立第二移动终端与第一移动终端的无线连接;或者,Receiving a second triggering instruction that the first mobile terminal establishes a wireless connection with the second mobile terminal, and establishing a wireless connection between the second mobile terminal and the first mobile terminal according to the second triggering instruction; or
在开启无线网络时,发送请求与第一移动终端建立无线连接的第一触 发指令,根据第一触发指令建立第二移动终端与第一移动终端的无线连接。Sending a first touch to establish a wireless connection with the first mobile terminal when the wireless network is turned on Sending an instruction to establish a wireless connection between the second mobile terminal and the first mobile terminal according to the first trigger instruction.
该实施例中,用户通过从机开启WIFI热点之后,用户可以是通过主机向从机发送请求连接到该WIFI热点,在用户通过从机确认请求之后,主机和从机可以建立无线连接;另外,用户也可以是通过从机向主机发送请求连接到该WIFI热点,在用户通过主机确认请求之后,主机和从机可以建立无线连接。通过建立主机和从机的无线连接,从而保证主机和从机之间的图像传输。In this embodiment, after the user turns on the WIFI hotspot through the slave, the user may send a request to the slave to send the request to the WIFI hotspot through the host, and after the user confirms the request through the slave, the host and the slave may establish a wireless connection; The user can also send a request to the host through the slave to connect to the WIFI hotspot. After the user confirms the request through the host, the host and the slave can establish a wireless connection. The image transmission between the master and the slave is ensured by establishing a wireless connection between the master and the slave.
进一步地,参见图6,发送摄像头采集的图像数据到第一移动终端,包括:Further, referring to FIG. 6, sending image data collected by the camera to the first mobile terminal includes:
S601、接收第一移动终端发送的启动第二移动终端的摄像头的启动指令;S601. Receive a startup command sent by the first mobile terminal to start a camera of the second mobile terminal.
S602、根据启动指令启动摄像头获取实时影像,并启动流媒体服务,将摄像头实时采集影像转化为流媒体图像;S602. Start a camera to obtain a real-time image according to the startup command, and start a streaming media service, and convert the real-time captured image of the camera into a streaming media image;
S603、获取流媒体图像对应的流媒体网址,并发送流媒体网址至第一移动终端。S603. Obtain a streaming media address corresponding to the streaming media image, and send the streaming media URL to the first mobile terminal.
该实施例中,主机和从机之间通过流媒体,采用流式传输的方式,进行实时图像信息的共享。该方式使得主机上显示的图像和从机摄像头采集的图像实现了同步。In this embodiment, the real-time image information is shared by the streaming media through the streaming media between the host and the slave. This method synchronizes the image displayed on the main unit with the image captured by the slave camera.
进一步地,参见图7,发送摄像头采集的图像数据至第一移动终端,还包括:Further, referring to FIG. 7, sending the image data collected by the camera to the first mobile terminal further includes:
S701、接收第一移动终端发送的一预设时间间隔的连续拍照指令,并启动摄像头,根据连续拍照指令连续拍摄照片;S701: Receive a continuous photographing instruction of a preset time interval sent by the first mobile terminal, and start a camera, and continuously take a photo according to the continuous photographing instruction;
S702、按照拍照的顺序依次向第一移动终端发送连续拍摄的照片。S702. Send consecutively photographed photos to the first mobile terminal in sequence according to the photographing.
该实施例中,在主机和从机建立无线连接后,从机在接收主机发送预设时间间隔(例如:设置预设时间间隔为0.5秒)的连续拍照指令后,根 据连续拍照指令通过摄像头拍摄低分辨率的照片。在从机每次完成一次拍照后,都将该照片发送到主机上,在从机上仅保存连续最近拍摄的少数几张照片(例如:可以设置从机上保存连续的最近拍摄的2或3张照片),采取循环覆盖的方式保存(即,新照片覆盖旧照片,删除最先拍摄的照片,仅保留最后拍摄的连续的2或3张照片)。同样主机在每接收一张从机发送的照片时,都可以在主屏幕上进行预览,并且同样采取循环覆盖的方式进行处理。该方式中主机侧的用户可以通过主机直接获取从机采集的图像数据,在确定拍摄姿势并进行拍照之前,实现预览。In this embodiment, after the host and the slave establish a wireless connection, the slave sends a continuous camera command to the receiving host for a preset time interval (for example, setting a preset time interval of 0.5 seconds). The low resolution photo is taken by the camera according to the continuous shooting instruction. After the slave completes the photo every time, the photo is sent to the host, and only a few photos taken consecutively recently are saved on the slave (for example, two or three photos of the most recent recent shot can be saved on the slave. ), save by loop overlay (ie, the new photo covers the old photo, deletes the first taken photo, and only keeps the last 2 or 3 consecutive photos taken). Similarly, each time the host receives a photo sent by the slave, it can be previewed on the home screen and processed in a loop overlay. In this mode, the user on the host side can directly acquire the image data collected by the slave through the host, and realize preview before determining the shooting posture and taking a photo.
进一步地,参见图8,发送根据拍照指令拍摄的照片至第一移动终端,包括:Further, referring to FIG. 8, sending a photo taken according to the photographing instruction to the first mobile terminal includes:
S801、获取第一移动终端根据用户输入的启动动作发送的拍照指令;S801. Acquire a photographing instruction sent by the first mobile terminal according to a startup action input by the user;
S802、根据拍照指令进行拍照。S802: Perform a photograph according to a photographing instruction.
该实施例中,用户在确定拍照姿势后,通过在主机上输入启动动作,从机根据启动动作对应的拍照指令,调整拍照参数为正常分辨率,并进行拍照。In this embodiment, after the user determines the photographing posture, by inputting activating action on the host, the slave adjusts the photographing parameter to the normal resolution according to the photographing instruction corresponding to the starting action, and performs photographing.
如图9所示,本发明的实施例还提供一种移动终端的拍照装置,其中,该拍照装置包括:As shown in FIG. 9, an embodiment of the present invention further provides a camera device for a mobile terminal, where the camera device includes:
第一获取模块101,设置为获取第二移动终端的摄像头采集的图像数据;The first obtaining module 101 is configured to acquire image data collected by a camera of the second mobile terminal;
该实施例中,从机用于通过摄像头实时采集图像数据,在主机和从机建立无线连接之后,主机可以获取从机上的图像数据,并且可以在主机上显示该图像数据。这样,用户便可以通过主机直接观看到从机上采集的图像数据。In this embodiment, the slave is used to acquire image data in real time through the camera. After the host and the slave establish a wireless connection, the host can acquire image data on the slave and can display the image data on the host. In this way, the user can directly view the image data collected by the slave through the host.
第一拍照模块102,设置为根据图像数据向第二移动终端发送拍照指令,指示第二移动终端进拍照;The first photographing module 102 is configured to send a photographing instruction to the second mobile terminal according to the image data, instructing the second mobile terminal to take a photograph;
该实施例中,用户可以通过主机观看选择合适的拍照角度,并且通过主机发送拍照指令到从机,指示从机进行拍照。 In this embodiment, the user can select a suitable photographing angle through the host, and send a photographing instruction to the slave through the host to instruct the slave to take a photo.
第二获取模块103,设置为获取第二移动终端根据拍照指令拍摄的照片并保存照片。The second obtaining module 103 is configured to acquire a photo taken by the second mobile terminal according to the photographing instruction and save the photo.
该实施例中,用户在主机输入拍照指令后,从机自动进行拍照并保存照片。从机自动将拍摄的该照片发送到主机,主机将该照片进行保存。该方式可以实现用户在请他人帮忙拍照时,不仅能够观察到取景图像,还能够随时触发拍照指令进行拍照。In this embodiment, after the user inputs a photographing instruction, the slave automatically takes a photo and saves the photo. The slave automatically sends the captured photo to the host, which saves the photo. This method can realize that when the user asks others to help take a photo, not only can the framing image be observed, but also the camera instruction can be triggered to take a photo at any time.
进一步地,拍照装置还包括:Further, the photographing device further includes:
第一连接模块104,设置为建立第一移动终端与第二移动终端的无线连接。The first connection module 104 is configured to establish a wireless connection between the first mobile terminal and the second mobile terminal.
该实施例中,用户通过从机开启WIFI热点,主机可以通过该WIFI热点与从机建立无线连接,以便主机和从机之间可以进行图数据的传输。In this embodiment, the user can open a WIFI hotspot through the slave, and the host can establish a wireless connection with the slave through the WIFI hotspot, so that the data can be transmitted between the host and the slave.
优选地,第一连接模块104,包括:Preferably, the first connection module 104 includes:
第一处理单元1041,设置为在第二移动终端开启无线网络时,发送请求与第二移动终端建立无线连接的第一触发指令,并根据第一触发指令建立第一移动终端与第二移动终端的无线连接;The first processing unit 1041 is configured to: when the second mobile terminal turns on the wireless network, send a first triggering instruction to establish a wireless connection with the second mobile terminal, and establish the first mobile terminal and the second mobile terminal according to the first triggering instruction. Wireless connection;
第二处理单元单元1042,设置为接收第二移动终端发送的请求与第一移动终端建立无线连接的第二触发指令,并根据第二触发指令建立第一移动终端与第二移动终端的无线连接。The second processing unit unit 1042 is configured to receive a second triggering command sent by the second mobile terminal to establish a wireless connection with the first mobile terminal, and establish a wireless connection between the first mobile terminal and the second mobile terminal according to the second triggering instruction. .
该实施例中,用户通过从机开启WIFI热点之后,用户可以是通过主机向从机发送请求连接到该WIFI热点,在用户通过从机确认请求之后,主机和从机可以建立无线连接;另外,用户也可以是通过从机向主机发送请求连接到该WIFI热点,在用户通过主机确认请求之后,主机和从机可以建立无线连接。通过建立主机和从机的无线连接,从而保证主机和从机之间的图像传输。In this embodiment, after the user turns on the WIFI hotspot through the slave, the user may send a request to the slave to send the request to the WIFI hotspot through the host, and after the user confirms the request through the slave, the host and the slave may establish a wireless connection; The user can also send a request to the host through the slave to connect to the WIFI hotspot. After the user confirms the request through the host, the host and the slave can establish a wireless connection. The image transmission between the master and the slave is ensured by establishing a wireless connection between the master and the slave.
进一步地,第一获取模块101包括:Further, the first obtaining module 101 includes:
第一启动单元1011,设置为向第二移动终端发送启动第二移动终端的 摄像头的启动指令,并指示第二移动终端启动流媒体服务,将摄像头实时采集影像转化为流媒体图像;The first starting unit 1011 is configured to send, to the second mobile terminal, the second mobile terminal. a startup command of the camera, and instructing the second mobile terminal to start a streaming media service, and converting the real-time captured image of the camera into a streaming media image;
第一接收单元1012,设置为接收第二移动终端返回的与流媒体图像对应的流媒体网址;The first receiving unit 1012 is configured to receive a streaming media web address corresponding to the streaming media image returned by the second mobile terminal;
第一获取单元1013,设置为根据流媒体网址下载对应的流媒体图像,并在第一移动终端上播放流媒体图像。The first obtaining unit 1013 is configured to download a corresponding streaming media image according to the streaming media address, and play the streaming media image on the first mobile terminal.
该实施例中,主机获取从机摄像头实时采集的图像是通过流媒体,采用流式传输的方式来获得的。该方式使得主机上显示的图像和从机摄像头实时采集的图像实现了同步。In this embodiment, the image obtained by the host acquiring the real-time camera from the camera is obtained by streaming through the streaming media. This method synchronizes the image displayed on the host with the image captured in real time by the slave camera.
进一步地,第一获取模块101还包括:Further, the first obtaining module 101 further includes:
第二启动单元1014,设置为向第二移动终端发送一预设时间间隔的连续拍照指令,指示第二移动终端启动摄像头,并根据连续拍照指令连续拍摄照片;The second activation unit 1014 is configured to send a continuous photographing instruction of the preset time interval to the second mobile terminal, instruct the second mobile terminal to activate the camera, and continuously take a photo according to the continuous photographing instruction;
第二获取单元1015,设置为获取第二移动终端根据连续拍照指令连续拍摄的照片,并按照拍照的顺序依次显示照片。The second obtaining unit 1015 is configured to acquire photos continuously captured by the second mobile terminal according to consecutive photographing instructions, and sequentially display the photos in the order of photographing.
该实施例中,在主机和从机建立无线连接后,主机发送预设时间间隔(例如:设置预设时间间隔为0.5秒)的连续拍照指令到从机上,从机根据连续拍照的指令通过摄像头拍摄低分辨率的照片。在从机每次完成一次拍照后,都将该照片发送到主机上,在主机上仅保存连续最近拍摄的少数几张照片(例如:可以设置主机上保存连续的最近拍摄的2或3张照片),采取循环覆盖的方式保存(即,新照片覆盖旧照片,删除最先拍摄的照片,仅保留最后拍摄的连续的2或3张照片)。同样主机在每接收一张从机发送的照片时,都可以在主屏幕上进行预览,并且同样采取循环覆盖的方式进行处理。该方式中主机的的用户可以通过主机直接获取从机采集的图像数据,在确定拍摄姿势并进行拍照之前,可以进行预览。In this embodiment, after the host and the slave establish a wireless connection, the host sends a continuous photographing instruction to the slave at a preset time interval (for example, setting a preset time interval of 0.5 seconds), and the slave passes the camera according to the instruction of continuous photographing. Take low-resolution photos. After the slave completes the photo every time, the photo is sent to the host, and only a few photos taken consecutively recently are saved on the host (for example, 2 or 3 photos of the most recent recent shot can be saved on the host computer) ), save by loop overlay (ie, the new photo covers the old photo, deletes the first taken photo, and only keeps the last 2 or 3 consecutive photos taken). Similarly, each time the host receives a photo sent by the slave, it can be previewed on the home screen and processed in a loop overlay. In this mode, the user of the host can directly acquire the image data collected by the slave through the host, and can preview before determining the shooting posture and taking a photo.
优选地,第一拍照模块102,包括:Preferably, the first camera module 102 includes:
第三获取单元1021,设置为获取用户根据图像数据输入的启动动作; The third obtaining unit 1021 is configured to acquire a startup action input by the user according to the image data;
第一拍照单元1022,设置为根据启动动作向第二移动终端发送拍照指令,指示第二移动终端进行拍照。The first photographing unit 1022 is configured to send a photographing instruction to the second mobile terminal according to the activation action, and instruct the second mobile terminal to perform photographing.
该实施例中,用户在确定拍照姿势后,通过在主机上输入启动动作,从机根据启动动作对应的拍照指令,调整拍照参数为正常分辨率,并进行拍照。In this embodiment, after the user determines the photographing posture, by inputting activating action on the host, the slave adjusts the photographing parameter to the normal resolution according to the photographing instruction corresponding to the starting action, and performs photographing.
如图10所示,本发明的实施例还提供一种移动终端的拍照装置,其中,该拍照装置包括:As shown in FIG. 10, an embodiment of the present invention further provides a camera device of a mobile terminal, where the camera device includes:
第一发送模块201,设置为发送第二移动终端的摄像头采集的图像信息到第一移动终端;The first sending module 201 is configured to send image information collected by a camera of the second mobile terminal to the first mobile terminal;
该实施例中,从机将通过摄像头实时采集图像信息转化为流媒体信息,在主机和从机建立无线连接之后,主机可以获取从机上的流媒体图像,并且可以在主机上显示该流媒体图像。这样,用户便可以通过主机直接观看到从机上采集的实时图像信息。In this embodiment, the slave converts the real-time image information collected by the camera into streaming media information. After the host and the slave establish a wireless connection, the host can acquire the streaming media image on the slave, and can display the streaming image on the host. . In this way, the user can directly view the real-time image information collected by the slave through the host.
第二拍照模块202,设置为获取第一移动终端根据图像数据发送的拍照指令,并根据拍照指令进行拍照;The second photographing module 202 is configured to acquire a photographing instruction sent by the first mobile terminal according to the image data, and perform photographing according to the photographing instruction;
该实施例中,用户在通过观看主机上显示的从机采集的图像数据,并按下拍照键后,从机根据拍照指令进行拍照。In this embodiment, after the user views the image data collected by the slave displayed on the host and presses the camera button, the slave performs a photograph according to the photographing instruction.
第二发送模块203,设置为根据拍照指令指示第二移动终端的摄像头进行拍照并保存照片。The second sending module 203 is configured to instruct the camera of the second mobile terminal to take a photo and save the photo according to the photographing instruction.
该实施例中,从机接收主机根据用户输入的启动动作发送的拍照指令后,可以自动拍摄摄像头采集的当前的图像并将拍摄的照片发送到主机上。In this embodiment, after receiving the photographing instruction sent by the host according to the startup action input by the user, the slave can automatically capture the current image captured by the camera and send the photographed photo to the host.
优选地,拍照装置,还包括:Preferably, the photographing device further comprises:
第二连接模块204,设置为建立第二移动终端与第一移动终端的无线连接。The second connection module 204 is configured to establish a wireless connection between the second mobile terminal and the first mobile terminal.
该实施例中,用户通过从机开启WIFI热点,主机可以通过该WIFI 热点与从机建立无线连接,以便主机和从机之间可以进行图数据的传输。In this embodiment, the user can open the WIFI hotspot through the slave, and the host can pass the WIFI. The hotspot establishes a wireless connection with the slave so that the data can be transmitted between the master and the slave.
进一步地,第二连接模块204包括:Further, the second connection module 204 includes:
第三处理单元2041,设置为接收第一移动终端发送的请求与第二移动终端建立无线连接的第二触发指令,根据第二触发指令建立第二移动终端与第一移动终端的无线连接;The third processing unit 2041 is configured to receive a second triggering instruction that is sent by the first mobile terminal to establish a wireless connection with the second mobile terminal, and establish a wireless connection between the second mobile terminal and the first mobile terminal according to the second triggering instruction;
第四处理单元2042,设置为在开启无线网络时,发送请求与第一移动终端建立无线连接的第一触发指令,根据第一触发指令建立第二移动终端与第一移动终端的无线连接。The fourth processing unit 2042 is configured to, when the wireless network is enabled, send a first triggering instruction to establish a wireless connection with the first mobile terminal, and establish a wireless connection between the second mobile terminal and the first mobile terminal according to the first triggering instruction.
该实施例中,用户通过从机开启WIFI热点之后,用户可以是通过主机向从机发送请求连接到该WIFI热点,在用户通过从机确认请求之后,主机和从机可以建立无线连接;另外,用户也可以是通过从机向主机发送请求连接到该WIFI热点,在用户通过主机确认请求之后,主机和从机可以建立无线连接。通过建立主机和从机的无线连接,从而保证主机和从机之间的图像数据的传输。In this embodiment, after the user turns on the WIFI hotspot through the slave, the user may send a request to the slave to send the request to the WIFI hotspot through the host, and after the user confirms the request through the slave, the host and the slave may establish a wireless connection; The user can also send a request to the host through the slave to connect to the WIFI hotspot. After the user confirms the request through the host, the host and the slave can establish a wireless connection. The transmission of image data between the master and the slave is ensured by establishing a wireless connection between the master and the slave.
进一步地,第一发送模块201包括:Further, the first sending module 201 includes:
第二接收单元2011,设置为接收第一移动终端发送的启动第二移动终端的摄像头的启动指令;The second receiving unit 2011 is configured to receive a start command sent by the first mobile terminal to start the camera of the second mobile terminal;
第一生成单元2012,设置为根据启动指令启动摄像头获取实时影像,并启动流媒体服务,将摄像头实时采集影像转化为流媒体图像;The first generating unit 2012 is configured to start a camera to acquire a real-time image according to the startup command, and start a streaming media service, and convert the real-time captured image of the camera into a streaming media image;
第一发送单元2013,设置为获取流媒体图像对应的流媒体网址,并发送流媒体网址至第一移动终端。The first sending unit 2013 is configured to obtain a streaming media address corresponding to the streaming media image, and send the streaming media URL to the first mobile terminal.
该实施例中,主机和从机之间通过流媒体,采用流式传输的方式,进行实时图像信息的共享。该方式实现了主机上显示的图像和从机摄像头实时采集的图像同步。In this embodiment, the real-time image information is shared by the streaming media through the streaming media between the host and the slave. This method realizes the synchronization of the image displayed on the host and the image captured by the slave camera in real time.
优选地,第一发送单元201,还包括:Preferably, the first sending unit 201 further includes:
第三接收单元2014,设置为接收第一移动终端发送的一预设时间间隔 的连续拍照指令,并启动摄像头,根据连续拍照指令连续拍摄照片;The third receiving unit 2014 is configured to receive a preset time interval sent by the first mobile terminal. Continuous photographing instructions, and start the camera to continuously take photos according to consecutive photographing instructions;
第二发送单元2015,设置为按照拍照的顺序依次向第一移动终端发送连续拍摄的照片。The second transmitting unit 2015 is configured to sequentially transmit the continuously photographed photos to the first mobile terminal in the order of photographing.
该实施例中,在主机和从机建立无线连接后,从机在接收主机发送预设时间间隔(例如:设置预设时间间隔为0.5秒)的连续拍照指令后,根据连续拍照指令通过摄像头拍摄低分辨率的照片。在从机每次完成一次拍照后,都将该照片发送到主机上,在从机上仅保存连续最近拍摄的少数几张照片(例如:可以设置从机上保存连续的最近拍摄的2或3张照片),采取循环覆盖的方式保存(即新照片覆盖旧照片,删除最先拍摄的照片,仅保留最后拍摄的连续的2或3张照片)。同样主机在每接收一张从机发送的照片时,都可以在主屏幕上进行预览,并且同样采取循环覆盖的方式进行处理。该方式中主机侧的用户可以通过主机直接获取从机采集的图像数据,在确定拍摄姿势并进行拍照之前,实现预览。In this embodiment, after the host and the slave establish a wireless connection, the slave sends a continuous photographing instruction at a preset time interval (for example, setting a preset time interval of 0.5 seconds) to the host, and then shoots through the camera according to the continuous photographing instruction. Low resolution photos. After the slave completes the photo every time, the photo is sent to the host, and only a few photos taken consecutively recently are saved on the slave (for example, two or three photos of the most recent recent shot can be saved on the slave. ), save by loop coverage (that is, the new photo covers the old photo, deletes the first taken photo, and only keeps the last 2 or 3 consecutive photos). Similarly, each time the host receives a photo sent by the slave, it can be previewed on the home screen and processed in a loop overlay. In this mode, the user on the host side can directly acquire the image data collected by the slave through the host, and realize preview before determining the shooting posture and taking a photo.
优选地,第二拍照模块202,包括:Preferably, the second camera module 202 includes:
第四获取单元2021,设置为获取第一移动终端根据用户输入的启动动作发送的拍照指令;The fourth obtaining unit 2021 is configured to acquire a photographing instruction sent by the first mobile terminal according to the startup action input by the user;
第二拍照单元2022,设置为根据拍照指令进行拍照。The second photographing unit 2022 is configured to perform photographing according to the photographing instruction.
该实施例中,用户在确定拍照姿势后,通过在主机上输入启动动作,从机根据启动动作对应的拍照指令,调整拍照参数为正常分辨率,并进行拍照。In this embodiment, after the user determines the photographing posture, by inputting activating action on the host, the slave adjusts the photographing parameter to the normal resolution according to the photographing instruction corresponding to the starting action, and performs photographing.
上述方案的用户在进行拍照时,通过从机的摄像头来采集图像数据,相比自拍来说,可以获得更大的取景范围。另外,主机可以获取从机的摄像头采集的图像数据,并且显示在主机屏幕上,实现拍照前的预览。该方案使得用户在通过其他人帮忙拍照的情况下,能够获得更好的拍照体验。When the user of the above scheme collects image data through the camera of the slave while taking a photo, a larger viewing range can be obtained than the self-timer. In addition, the host can acquire image data collected by the camera of the slave and display it on the host screen to realize preview before taking the photo. This solution enables users to get a better photo experience while others are helping to take pictures.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。 For example, the specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the optional embodiments, and details are not described herein again.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
本发明实施例,在通过移动终端拍照的过程中,通过第二移动终端的摄像头来实时采集图像,相比自拍来说,可以获得更大的取景范围。另外,第一移动终端通过获取第二移动终端采用通过流媒体传输方式返回的流媒体图像,使得第一移动终端侧的用户在他拍情况下,还能够实时观察到第二移动终端摄像头实时采集的图像信息。用户通过在第一移动终端上输入拍照指令,第二移动终端可以根据拍照指令自动拍摄摄像头当前采集的照片。该方案使得用户在通过其他人帮忙拍照的情况下,能够获得更好的拍照体验。 In the embodiment of the present invention, in the process of taking a picture through the mobile terminal, the image is collected in real time through the camera of the second mobile terminal, and a larger viewing range can be obtained than the self-timer. In addition, the first mobile terminal obtains the streaming media image returned by the streaming media transmission mode by the second mobile terminal, so that the user on the first mobile terminal side can observe the real-time collection of the second mobile terminal camera in real time. Image information. The user can automatically take a photo currently captured by the camera according to the photographing instruction by inputting a photographing instruction on the first mobile terminal. This solution enables users to get a better photo experience while others are helping to take pictures.

Claims (14)

  1. 一种移动终端的拍照方法,用于第一移动终端,所述拍照方法包括:A photographing method for a mobile terminal is used for a first mobile terminal, and the photographing method includes:
    获取第二移动终端的摄像头采集的图像数据;Obtaining image data collected by a camera of the second mobile terminal;
    根据所述图像数据向所述第二移动终端发送拍照指令,指示所述第二移动终端进行拍照;Sending a photographing instruction to the second mobile terminal according to the image data, instructing the second mobile terminal to take a photograph;
    获取所述第二移动终端根据所述拍照指令拍摄的照片并保存照片。Obtaining a photo taken by the second mobile terminal according to the photographing instruction and saving the photo.
  2. 根据权利要求1所述的拍照方法,其中,所述获取第二移动终端的摄像头采集的图像数据之前,还包括:The photographing method according to claim 1, wherein before the acquiring the image data collected by the camera of the second mobile terminal, the method further comprises:
    建立第一移动终端与第二移动终端的无线连接。Establishing a wireless connection between the first mobile terminal and the second mobile terminal.
  3. 根据权利要求2所述的拍照方法,其中,所述建立第一移动终端与第二移动终端的无线连接,包括:The photographing method according to claim 2, wherein the establishing a wireless connection between the first mobile terminal and the second mobile terminal comprises:
    在所述第二移动终端开启无线网络时,发送请求与所述第二移动终端建立无线连接的第一触发指令,并根据所述第一触发指令建立所述第一移动终端与第二移动终端的无线连接;或者,When the second mobile terminal turns on the wireless network, sending a first triggering instruction to establish a wireless connection with the second mobile terminal, and establishing the first mobile terminal and the second mobile terminal according to the first triggering instruction Wireless connection; or,
    接收所述第二移动终端发送的请求与所述第一移动终端建立无线连接的第二触发指令,并根据所述第二触发指令建立所述第一移动终端与第二移动终端的无线连接。Receiving, by the second mobile terminal, a second triggering instruction that establishes a wireless connection with the first mobile terminal, and establishing a wireless connection between the first mobile terminal and the second mobile terminal according to the second triggering instruction.
  4. 根据权利要求1所述的拍照方法,其中,所述获取第二移动终端的摄像头采集的图像数据,包括:The photographing method according to claim 1, wherein the acquiring the image data collected by the camera of the second mobile terminal comprises:
    向所述第二移动终端发送启动所述第二移动终端的摄像头的启动指令,并指示所述第二移动终端启动流媒体服务,将所述摄像头采集的图像数据转化为流媒体图像;Sending, to the second mobile terminal, a startup instruction of the camera that starts the second mobile terminal, and instructing the second mobile terminal to start a streaming service, and converting the image data collected by the camera into a streaming image;
    接收所述第二移动终端返回的与所述流媒体图像对应的流媒体网址; Receiving, by the second mobile terminal, a streaming media web address corresponding to the streaming media image;
    根据所述流媒体网址下载对应的流媒体图像,并在所述第一移动终端上播放所述流媒体图像。And downloading the corresponding streaming media image according to the streaming media address, and playing the streaming media image on the first mobile terminal.
  5. 根据权利要求1所述的拍照方法,其中,所述获取第二移动终端的摄像头采集的图像数据,还包括:The photographing method according to claim 1, wherein the acquiring the image data collected by the camera of the second mobile terminal further comprises:
    向所述第二移动终端发送一预设时间间隔的连续拍照指令,指示所述第二移动终端启动摄像头,并根据所述连续拍照指令连续拍摄照片;Sending, to the second mobile terminal, a continuous photographing instruction of a preset time interval, instructing the second mobile terminal to activate the camera, and continuously taking a photo according to the continuous photographing instruction;
    获取所述第二移动终端根据所述连续拍照指令连续拍摄的照片,并按照拍照的顺序依次显示所述照片。Acquiring the photos continuously captured by the second mobile terminal according to the continuous photographing instruction, and sequentially displaying the photographs in the order of photographing.
  6. 根据权利要求1所述的拍照方法,其中,所述根据所述图像数据向所述第二移动终端发送拍照指令,指示所述第二移动终端进行拍照,包括:The photographing method according to claim 1, wherein the sending a photographing instruction to the second mobile terminal according to the image data, instructing the second mobile terminal to take a photograph, comprises:
    获取用户根据所述图像数据输入的启动动作;Acquiring a startup action input by the user according to the image data;
    根据所述启动动作向所述第二移动终端发送拍照指令,指示所述第二移动终端进行拍照。And sending a photographing instruction to the second mobile terminal according to the startup action, instructing the second mobile terminal to perform photographing.
  7. 一种移动终端的拍照方法,用于第二移动终端,所述拍照方法包括:A photographing method for a mobile terminal is used for a second mobile terminal, and the photographing method includes:
    发送摄像头采集的图像数据至第一移动终端;Sending image data collected by the camera to the first mobile terminal;
    获取所述第一移动终端根据所述图像数据发送的拍照指令,并根据所述拍照指令进行拍照;Obtaining a photographing instruction sent by the first mobile terminal according to the image data, and performing photographing according to the photographing instruction;
    发送根据所述拍照指令拍摄的照片至所述第一移动终端。Sending a photo taken according to the photographing instruction to the first mobile terminal.
  8. 根据权利要求7所述的拍照方法,其中,所述发送摄像头采集的图像数据至第一移动终端之前,还包括:The photographing method according to claim 7, wherein before the sending the image data collected by the camera to the first mobile terminal, the method further comprises:
    建立第二移动终端与第一移动终端的无线连接。 Establishing a wireless connection between the second mobile terminal and the first mobile terminal.
  9. 根据权利要求8所述的拍照方法,其中,所述建立第二移动终端与第一移动终端的无线连接,包括:The photographing method according to claim 8, wherein the establishing a wireless connection between the second mobile terminal and the first mobile terminal comprises:
    接收所述第一移动终端发送的请求与所述第二移动终端建立无线连接的第二触发指令,根据所述第二触发指令建立第二移动终端与第一移动终端的无线连接;或者,Receiving a second triggering instruction that the first mobile terminal establishes a wireless connection with the second mobile terminal, and establishing a wireless connection between the second mobile terminal and the first mobile terminal according to the second triggering instruction; or
    在开启无线网络时,发送请求与所述第一移动终端建立无线连接的第一触发指令,根据所述第一触发指令建立第二移动终端与第一移动终端的无线连接。When the wireless network is enabled, a first triggering command is sent to establish a wireless connection with the first mobile terminal, and a wireless connection between the second mobile terminal and the first mobile terminal is established according to the first triggering instruction.
  10. 根据权利要求7所述的拍照方法,其中,所述发送摄像头采集的图像数据至第一移动终端,包括:The photographing method according to claim 7, wherein the transmitting the image data collected by the camera to the first mobile terminal comprises:
    接收所述第一移动终端发送的启动所述第二移动终端的摄像头的启动指令;Receiving, by the first mobile terminal, a startup instruction of a camera that starts the second mobile terminal;
    根据所述启动指令启动所述摄像头获取图像数据,并启动流媒体服务,将所述摄像头采集的图像数据转化为流媒体图像;And starting the camera to acquire image data according to the startup instruction, and starting a streaming service, converting the image data collected by the camera into a streaming image;
    获取所述流媒体图像对应的流媒体网址,并发送所述流媒体网址至所述第一移动终端。Obtaining a streaming media address corresponding to the streaming media image, and sending the streaming media URL to the first mobile terminal.
  11. 根据权利要求7所述的拍照方法,其中,所述发送摄像头采集的图像数据至第一移动终端,还包括:The photographing method according to claim 7, wherein the transmitting the image data collected by the camera to the first mobile terminal further comprises:
    接收所述第一移动终端发送的一预设时间间隔的连续拍照指令,并启动摄像头,根据所述连续拍照指令连续拍摄照片;Receiving a continuous photographing instruction of a preset time interval sent by the first mobile terminal, and starting a camera, and continuously taking a photo according to the continuous photographing instruction;
    按照拍照的顺序依次向所述第一移动终端发送连续拍摄的照片。The continuously photographed photos are sequentially transmitted to the first mobile terminal in the order of photographing.
  12. 根据权利要求7所述的拍照方法,其中,所述发送根据所述拍照指令拍摄的照片至所述第一移动终端,包括:The photographing method according to claim 7, wherein the transmitting the photo taken according to the photographing instruction to the first mobile terminal comprises:
    获取所述第一移动终端根据用户输入的启动动作发送的拍照指令; Acquiring the photographing instruction sent by the first mobile terminal according to the startup action input by the user;
    根据所述拍照指令进行拍照。Taking a picture according to the photographing instruction.
  13. 一种移动终端的拍照装置,所述拍照装置包括:A photographing device for a mobile terminal, the photographing device comprising:
    第一获取模块,设置为获取第二移动终端的摄像头采集的图像数据;a first acquiring module, configured to acquire image data collected by a camera of the second mobile terminal;
    第一拍照模块,设置为根据所述图像数据向所述第二移动终端发送拍照指令,所述拍照指令指示所述第二移动终端进行拍照;The first photographing module is configured to send a photographing instruction to the second mobile terminal according to the image data, where the photographing instruction instructs the second mobile terminal to take a photograph;
    第二获取模块,设置为所述第二移动终端根据所述拍照指令拍摄的照片并保存照片。The second obtaining module is configured to be a photo taken by the second mobile terminal according to the photographing instruction and save the photo.
  14. 一种移动终端的拍照装置,所述拍照装置包括:A photographing device for a mobile terminal, the photographing device comprising:
    第一发送模块,设置为发送摄像头采集的图像数据至第一移动终端;a first sending module, configured to send image data collected by the camera to the first mobile terminal;
    第二拍照模块,设置为获取所述第一移动终端根据所述图像数据发送的拍照指令,并根据所述拍照指令进行拍照;The second camera module is configured to acquire a photographing instruction sent by the first mobile terminal according to the image data, and perform photographing according to the photographing instruction;
    第二发送模块,设置为根据所述拍照指令拍摄的照片至所述第一移动终端。 The second sending module is configured to send the photo taken according to the photographing instruction to the first mobile terminal.
PCT/CN2016/098734 2016-03-18 2016-09-12 Photographing method and device for mobile terminal WO2017156990A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610156221.7A CN107205108A (en) 2016-03-18 2016-03-18 The photographic method and device of a kind of mobile terminal
CN201610156221.7 2016-03-18

Publications (1)

Publication Number Publication Date
WO2017156990A1 true WO2017156990A1 (en) 2017-09-21

Family

ID=59850092

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/098734 WO2017156990A1 (en) 2016-03-18 2016-09-12 Photographing method and device for mobile terminal

Country Status (2)

Country Link
CN (1) CN107205108A (en)
WO (1) WO2017156990A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108337436A (en) * 2018-04-12 2018-07-27 深圳市海派通讯科技有限公司 A kind of face-to-face photographic method and system based on mobile terminal
CN113747056A (en) * 2021-07-23 2021-12-03 荣耀终端有限公司 Photographing method and device and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012186698A (en) * 2011-03-07 2012-09-27 Ricoh Co Ltd Image photographing apparatus
CN103166941A (en) * 2011-12-19 2013-06-19 联想(北京)有限公司 Data sharing method and device
CN103533247A (en) * 2013-10-22 2014-01-22 小米科技有限责任公司 Self-photographing method, device and terminal equipment
CN104320586A (en) * 2014-11-07 2015-01-28 广东欧珀移动通信有限公司 Photographing method and system and terminals
CN104869315A (en) * 2015-05-28 2015-08-26 魅族科技(中国)有限公司 Photographing control method and terminal
CN104915107A (en) * 2013-11-27 2015-09-16 深圳市金立通信设备有限公司 Media shooting method and terminal
CN104935814A (en) * 2015-06-02 2015-09-23 百度在线网络技术(北京)有限公司 Picture-taking method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012186698A (en) * 2011-03-07 2012-09-27 Ricoh Co Ltd Image photographing apparatus
CN103166941A (en) * 2011-12-19 2013-06-19 联想(北京)有限公司 Data sharing method and device
CN103533247A (en) * 2013-10-22 2014-01-22 小米科技有限责任公司 Self-photographing method, device and terminal equipment
CN104915107A (en) * 2013-11-27 2015-09-16 深圳市金立通信设备有限公司 Media shooting method and terminal
CN104320586A (en) * 2014-11-07 2015-01-28 广东欧珀移动通信有限公司 Photographing method and system and terminals
CN104869315A (en) * 2015-05-28 2015-08-26 魅族科技(中国)有限公司 Photographing control method and terminal
CN104935814A (en) * 2015-06-02 2015-09-23 百度在线网络技术(北京)有限公司 Picture-taking method and device

Also Published As

Publication number Publication date
CN107205108A (en) 2017-09-26

Similar Documents

Publication Publication Date Title
JP6382961B2 (en) Method and apparatus for acquiring video content
JP6186090B2 (en) Connection method, apparatus, program, and recording medium
TWI464513B (en) Wireless communications systems, portable electronic devices and methods for controlling a remote flashlight source
JP5586925B2 (en) Imaging apparatus, control method thereof, and program
WO2017067121A1 (en) Shooting method, device and system, and mobile terminal
JP6139829B2 (en) Information processing apparatus, control method therefor, and program
WO2015078336A1 (en) Method and terminal for shooting media
CN104092749A (en) Method and device for synchronizing photos
CN105657257A (en) Method, device and system for taking panoramic photo, mobile terminal and selfie stick
WO2014161298A1 (en) Photographing method and mobile terminal
WO2016187947A1 (en) Remote photographing method, master control photographing terminal, controlled photographing terminal and photographing system
JP2011024139A (en) Imaging device, imaging method, program, and imaging system
JP2017501598A (en) Method and apparatus for broadcasting stream media data
JP6821360B2 (en) Electronic devices and their control methods
CN107623796B (en) Photographing method, device and system
WO2017156990A1 (en) Photographing method and device for mobile terminal
JP6467395B2 (en) Image transmitting apparatus, image receiving apparatus, control method therefor, and image communication system
TW201629791A (en) Picture taking and sharing system and method
JP6685185B2 (en) Communication device, imaging device, control method thereof, program, and recording medium
JP6529852B2 (en) Information acquisition apparatus, information acquisition system including the same, control method of information acquisition apparatus, and program for information acquisition apparatus
JP2013187826A (en) Imaging device, imaging system, and imaging method
CN114095660A (en) Image display method, image display device, storage medium and electronic equipment
JP6426969B2 (en) Imaging device, control method therefor, system, and program
JP7279416B2 (en) Intermediary terminal, communication system, input system, intermediary control method, and program
JP6686125B1 (en) Communication device, control method thereof, and program thereof

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 16894149

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16894149

Country of ref document: EP

Kind code of ref document: A1