Patent Description:
Embodiments of the present disclosure relate to the field of communications technologies, and in particular, to a shooting method and a terminal.

With continuous development of camera photography technologies of a mobile terminal, shooting photos or videos through the mobile terminal has become one of important functions of the mobile terminal. In a shooting manner in the prior art, a shooting control on the mobile terminal usually needs to be clicked for shooting control, or shooting control is performed with the help of external tools such as a selfie stick. This shooting manner is limited by a distance between the mobile terminal and a photographer, and consequently remote shooting control cannot be implemented.

D1 (<CIT>) discloses a shooting control method and device. The method includes the following steps: receiving first image information sent by a second terminal; calling the camera module of the first terminal to acquire second image information; synthesizing the first image information and the second image information to obtain a synthesized preview image; entering a shared shooting interface, and displaying the synthesized preview image on the shared shooting interface; and if a shooting instruction is received, shooting the synthesized preview image. By implementing the technical scheme disclosed by the invention, the image information acquired by a plurality of terminals that perform shared shooting can be synthesized, the synthesized preview image can be displayed on the shared shooting interface of the terminals, the shooting of the synthesized preview image can also be supported, and thus the shooting modes of the terminals can be increased, and the fun and interactivity of shooting can also be increased.

D2 (<CIT>) discloses a camera sharing method for a mobile terminal. The method includes: the first mobile terminal sending a camera sharing instruction to a plurality of second mobile terminals; after the first mobile terminal receives the real-time preview pictures returned by the multiple second mobile terminals, sending a shooting instruction to the plurality of second mobile terminals; receiving, by the first mobile terminal, the current picture sent by the multiple second mobile terminals; the first mobile terminal outputs the received current picture and performs synthesis processing.

D3 (<CIT>) discloses a shooting method. The shooting method can be applied to a first terminal, and comprises the following steps: separately obtaining first preview image data collected by a camera of the first terminal in real time and second preview image data sent by at least one second terminal; adjusting shooting parameters of the camera of the first terminal according to the first preview image data and the second preview image data; performing real-time image splicing on the first preview image data and the second preview image data to generate third preview image data; displaying the first preview image data and the third preview image data; if a shooting instruction is received, separately obtaining the first preview image data collected by the camera of the first terminal and the second preview image data sent by at least one second terminal; and performing image splicing on the first preview image data and the second preview image data to generate a target image. By adoption of the shooting method provided by the embodiment of the invention, the user neither needs to move frequently nor perform shooting for multiple times, and the target image with a good splicing effect can be obtained.

Embodiments of the present disclosure provide a shooting method and a terminal, to resolve a problem that remote shooting control cannot be implemented in the prior art.

To resolve the foregoing technical problem, the present disclosure is implemented as follows:.

It is to be understood that both the forgoing general description and the following detailed description are exemplary only, and are not restrictive of the present disclosure.

The following clearly and completely describes the technical solutions in the embodiments of the present disclosure with reference to the accompanying drawings in the embodiments of the present disclosure.

Referring to <FIG> is a flowchart of a shooting method according to an embodiment of the present invention. The shooting method is applied to a first terminal. As shown in <FIG>, the shooting method includes the following steps.

Step <NUM>: In a state in which a remote connection for sharing a shooting preview interface is established with a second terminal, receive and display a first preview interface of the second terminal sent by the second terminal.

In this embodiment of the present invention, a manner in which the first terminal and the second terminal establish a camera sharing connection through a network may be set based on actual needs. In an embodiment, a camera sharing connection may be established to the second terminal by using a camera application. For example, a sharing control is provided on an interface of the camera application, the shared second terminal is added by clicking the sharing control, and a sharing request is sent to the second terminal, to implement camera sharing. In another embodiment, camera sharing may be performed through a social platform. For example, a camera sharing control is provided on a chat interface of the social platform, and the camera sharing control is clicked to enable a user to establish a camera sharing connection with the second terminal corresponding to at least one contact in the social platform. Specifically, in an optional embodiment, if there is currently a single-person chat interface, a camera sharing connection may be established with a terminal corresponding to a contact on the chat interface; or if there is currently a group chat interface, a camera sharing connection may be established with a terminal corresponding to at least one contact in the group. In other words, the first terminal may establish a camera sharing connection with one or more second terminals.

After the first terminal establishes the camera sharing connection with the second terminal, the first terminal may obtain and display, in real time, the first preview interface collected by the second terminal. It should be understood that, in this embodiment, the first terminal has a camera, and the first terminal may obtain and display a second preview interface collected by the camera of the first terminal. Specifically, a manner in which the first terminal displays the first preview interface and the second preview interface may be as shown in <FIG>. When the first terminal is a single-screen terminal, as shown in <FIG>, the first terminal may display a first preview interface, where the first preview interface includes a first portrait picture <NUM> and a first background <NUM>. After receiving a switching command, the first terminal may display a second preview interface. As shown in <FIG>, the second preview interface includes a second portrait picture <NUM> and a second background <NUM>. When the first terminal is a folding-screen terminal, as shown in <FIG>, the first preview interface may be displayed on one screen, and the second preview interface may be displayed on the other screen. When the first terminal is a multi-screen terminal, as shown in <FIG>, the first preview interface may be displayed on one screen, and the second preview interface may be displayed on another screen.

Step <NUM>: Receive a first input performed by the user.

In this embodiment, the first input is used to control the first terminal to shoot a video or shoot a photo, and the user may perform the first input through a shooting button, a voice, or a gesture. This is not further limited herein.

Step <NUM>: Output first target shooting data in response to the first input.

The first target shooting data includes partial or all image information of the first preview interface, and the first target shooting data is a video or an image.

In this embodiment, in response to the first input, the first terminal may directly perform video recording or shooting processing on the partial or all image information of the first preview interface, and may output the first target shooting data. The first target shooting data may be stored in a cache of the first terminal, and is saved locally through a save operation performed by the user; or may be directly saved locally. In addition, the first terminal may further output a shooting instruction to the second terminal to control a camera of the second terminal to perform a shooting action and update the first preview interface of the first terminal in real time. When a shooting condition is met, the first terminal may perform video recording or shooting processing on the partial or all the image information of the current first preview interface. The second terminal may locally save shooting data generated by the current shooting action, and the shooting data may be saved locally.

It should be noted that the first target shooting data may include the partial or all image information of the first preview interface. When the first target shooting data includes all image information of the first preview interface, an image captured by the second terminal is captured by the first terminal. When the first target shooting data includes the part of the image information of the first preview interface, an image obtained after the first preview interface and the second preview interface are spliced and synthesized is shot. Details are provided below.

Specifically, in this embodiment, before step <NUM>, the method further includes:
displaying a target preview interface.

The target preview interface is an interface obtained by synthesizing image data of the first preview interface with image data of the second preview interface, and the second preview interface is a preview interface collected by a camera of the first terminal. The first target shooting data is all image data of the target preview interface.

In this embodiment, the target preview interface may include partial image data of the first preview interface and partial image data of the second preview interface. For example, the first preview interface may include the first portrait picture <NUM> and the first background <NUM>, and the second preview interface may include the second portrait picture <NUM> and the second background <NUM>. The target preview interface includes but is not limited to any of the following manners:.

In this embodiment, the first preview interface and the second preview interface may be spliced and synthesized into a target preview interface, and then shooting processing is performed on the target preview interface to obtain the first target shooting data. In this way, shooting flexibility is improved.

Further, in this embodiment, a background in the target preview interface may be further updated. Specifically, after the displaying a target preview interface, the method further includes:.

It should be noted that the updating a background of a target region in the target preview interface means performing switching on the background of the target region. For example, the background in the target preview interface may be set to a first background <NUM>, or may be set to a second background <NUM>. In this embodiment, the background of the target region may be switched through the first input. For example, the first background <NUM> may be switched to the second background <NUM>, or the second background <NUM> may be switched to the first background <NUM>. The background of the target region may be switched, thereby further improving shooting flexibility.

To better understand the present disclosure, the background updating solution is described in detail for the foregoing manner <NUM> to manner <NUM>.

For example, in an embodiment, a single-person shooting mode is used by default. As shown in <FIG>, the target preview interface includes a second portrait picture <NUM> and a first background <NUM>. The user may click the shooting mode to switch to a group photo shooting mode (for example, click a control B in an upper left corner of the figure), to display a target preview interface shown in <FIG>. In this case, the target region is an entire display interface. The user may update a display interface of the target region through the second input. Specifically, in a state shown in <FIG>, the user may click the first background <NUM>, to switch the background to a second background <NUM>. In this case, a target preview interface shown in <FIG> is displayed.

In this embodiment, the foregoing input manner of the second input may be set based on an actual situation. For example, the target region may be directly clicked, or an operation control may be set, or the second input is implemented in a manner such as an operation gesture.

Further, the target preview interface may further include a segmentation line for distinguishing the image data of the first preview interface from the image data of the second preview interface, and the target preview interface is segmented into a first preview sub-region and a second preview sub-region by the segmentation line; and
after the displaying a target preview interface, the method further includes:.

As shown in <FIG>, the segmentation line is a dashed line shown in <FIG>. In a default state, the segmentation line is located in the middle of a screen, and the target preview interface is segmented into the first preview sub-region and the second preview sub-region with an equal area in a width direction. The user may adjust a position of a first segmentation line through a drag operation, to adjust an area of the image data of the first preview sub-region and an area of the image data of the second preview sub-region. Specifically, the adjusted target preview interface is shown in <FIG>. In this way, different segmentation manners may be set based on different preferences of the user, so that the background segmentation manner is more flexible.

It should be noted that there may be one or more second terminals. For example, in this embodiment, there are specifically at least two second terminals. The first terminal may include a first screen and a second screen, and before the displaying a preview interface of the second terminal, the method further includes:.

In this embodiment, the user of the first terminal may directly establish, by using social software, remote connections for sharing shooting preview interfaces with a plurality of second terminals. Through the establishing of the connection, preview interfaces of all second terminals may be displayed on the first screen. Specifically, as shown in <FIG>, the first screen may display preview interfaces of all the second terminals and the first preview interface. The fourth input may be a touch input on the preview interface of the second terminal. When the user needs to use a preview interface as the first preview interface for display, the user may directly click the corresponding preview interface. In addition, a switching control A may be further displayed on the first screen, and switching of the first preview interface is implemented by using the switching control A. In this embodiment, the preview interfaces of the at least two second terminals are displayed on the first screen, and the first preview interface may be selected by the fourth input. In this way, a plurality of terminals can simultaneously share a shooting preview interface, thereby facilitating the user's operation.

Further, in an optional embodiment, after each second terminal is shot, the shot data may be spliced. For example, in this embodiment, after the displaying at least two preview interfaces of the second terminal on the first screen, the method further includes:.

In this embodiment, the fifth input may be an input for a touch operation performed on the preview interface of the second terminal. N is an integer greater than <NUM>. Specifically, a value of N may be preset, for example, may be <NUM> or <NUM>. That is, after the user performs a fixed quantity of times of fifth inputs, the preview interfaces of the N second terminals are respectively displayed on the second screen in response to the N times of fifth inputs. In addition, N may not be fixed. For example, after the fifth input is performed for the M-th time, timing may be started to determine whether there is a fifth input in a preset time period. If the fifth input is received, timing is performed again. If the fifth input is not received, M is determined as N, and the N times of fifth inputs are responded. In another embodiment, N may be a quantity of times of receiving the fifth input in the preset time period.

The fifth input may be a touch input to the second terminal, for example, may be an operation of clicking on the preview interface of the second terminal. A display manner of the preview interface of the second terminal may be set based on an actual situation. For example, in an embodiment, a currently clicked preview interface of the second terminal may be displayed after a fifth input is performed each time, and after the fifth input is displayed for the i-th time, the preview interface of the second terminal corresponding to the i-th time of the fifth input may be shot to obtain the i-th piece of shooting data. Specifically, in this embodiment, the obtaining N pieces of shooting data generated based on the preview interfaces of the N second terminals includes:.

In this embodiment, the sixth input is used to control the first terminal to shoot a video or shoot a photo, and the user may perform the sixth input through a shooting button, a voice, or a gesture. This is not further limited herein. In this embodiment, after the fifth input is performed each time, the preview interface of the second terminal is shot by the sixth input, thereby improving shooting pertinence and ensuring a shooting effect.

It should be noted that, in another embodiment, the display and the shooting process of the preview interface of the second terminal may be implemented in another manner. For example, each time the user clicks on the preview interface of the second terminal, display of one preview interface may be added to the second screen, and the added preview interface is the clicked preview interface of the second terminal. After the fifth input is performed N times, photo shooting or video shooting is performed on each preview interface to obtain the N pieces of shooting data. Alternatively, each preview interface of the second terminal displays preset duration, and then is switched to a next preview interface. In a process of displaying each preview interface, corresponding shooting data is generated to obtain the N pieces of shooting data. Finally, the N pieces of shooting data are spliced.

In this embodiment of the present disclosure, when a shooting preview interface is shared between the first terminal and a plurality of second terminals, a preview interface of a user A (the user of the second terminal) may be shot to obtain a first photo and a preview interface of a user B (the user of the second terminal) may be shot to obtain a second photo, and then the two shot photos are spliced to obtain a final photo. Because shooting may be performed a plurality of times to obtain a plurality of pieces of shooting data, and the shooting data is spliced, operation is convenient so that any terminal can obtain an image obtained by combining shot images of a plurality of other terminals. In addition, the user may save only the second target shooting data, so that memory consumption can be reduced.

Further, in this embodiment of the present disclosure, a shooting field of view of the second terminal may be adjusted by using the first terminal. Specifically, after step <NUM>, the method further includes:.

In this embodiment, the first touch input is a sliding input. Specifically, the user may perform the first touch input on the first preview interface, or may perform the first touch input on the second preview interface. The first input track may be an actual sliding track, or may be a straight line track from a start point to an end point. As shown in <FIG>, when the user of the first terminal needs to adjust a shooting angle of the second terminal, the first touch input may be performed on the first terminal. The first terminal generates the first shooting adjustment message based on the first input track of the first touch input, and then sends the first shooting adjustment message to the second terminal.

Specifically, the second terminal first receives the first shooting adjustment message sent by the first terminal; then extracts the first input track from the first shooting adjustment message; and determines the target adjustment angle based on the first input track. The second terminal may perform different operations based on a size of an adjustment angle.

For example, in an embodiment, in a case that the target adjustment angle is less than or equal to a preset threshold, a position of a camera lens of the second terminal is adjusted based on the first input track.

In this embodiment, the camera lens may be mounted on a position adjustment component, and the position adjustment component may control the lens to move horizontally within a specific range. For example, the position adjustment component may be an optical anti-shake component (Optical image stabilization, OIS), and a camera may be controlled to move horizontally by using the OIS to implement optical anti-shake. In this embodiment, the position of the lens may be adjusted by using the OIS to change a shooting angle. It should be noted that the OIS can only control the camera lens to move in a relatively small range. The preset threshold is related to a movement range of the camera lens controlled by the OIS. A specific size is not further described herein. In this embodiment, the user of the first terminal may implement remote control on the OIS by the second terminal through the first shooting adjustment message, to adjust the shooting angle of the second terminal, thereby automatically completing a shooting operation and simplifying shooting difficulty.

In another embodiment, in a case that the target adjustment angle is greater than the preset threshold, a first moving distance and a first moving direction of the second terminal are determined based on the target adjustment angle; and first prompt information is displayed, where the first prompt information is used to prompt a user of the second terminal to move the second terminal based on the first moving distance and the first moving direction.

In this embodiment, the prompt manner of the first prompt information may be set based on an actual requirement, for example, a prompt may be performed by using a text, or a moving direction may be indicated by using an arrow, and the first moving distance is prompted by using a text, for example, the first prompt information may be displayed in a form of a pop-up window. In addition, a language prompt may also be performed. The second terminal may further detect a current moving state by using a built-in sensor, and determine whether the user moves to a specified position, to improve moving accuracy.

In this embodiment, because the first shooting adjustment information may be sent by using the first terminal, movement of the second shooting terminal is alerted or a position of a camera is adjusted by controlling an OIS, so that shooting can be conveniently performed.

Further, in addition to adjusting the shooting field of view of the second terminal, the user of the first terminal may instruct the second terminal to move, to improve shooting pertinence. Specifically, in this embodiment, after step <NUM>, the method may further include:.

In this embodiment, the second touch input is a sliding input. Specifically, the user may perform the second touch input on the first preview interface, or may perform the second touch input on the second preview interface. The second input track may be an actual sliding track. Specifically, the second terminal first receives the second shooting adjustment message; then extracts the second input track from the second shooting adjustment message; determine the second moving direction and the second moving distance of the second terminal based on the second input track; and finally displays the second prompt information, where the second prompt information is used to instruct the second terminal user to move the second terminal based on the second moving distance and the second moving direction in a video recording or photo shooting process.

In this way, the user of the second terminal may move according to the second input track, and perform shooting or recording based on the second input track. For example, when shooting a building, the user of the second terminal may be instructed through the second track to move the second terminal from top to bottom, so as to implement shooting in a specified track. Specifically, for photo shooting, the user may be instructed by using the second track to take a photo at the top, take a photo in the middle, and finally take a photo at the bottom. For video recording, the user may be instructed by using the second track to perform video recording through a moving track. When the video recording starts, the camera is configured to shoot the top of the building, and then the second terminal is moved, so that a shooting interface gradually moves towards the bottom of the building. In this embodiment of the present disclosure, the first terminal sends the second shooting adjustment information to the second terminal, to indicate a moving distance and a moving direction to the second terminal. In this way, shooting pertinence and convenience can be improved. In addition, because there is no need to make a call in the process of shooting, impact on video shooting caused by talking of the user during video shooting is avoided.

In this embodiment of the present disclosure, in the state in which the remote connection for sharing the shooting preview interface is established with the second terminal, the first terminal receives and displays the first preview interface of the second terminal sent by the second terminal; receives the first input performed by the user; and outputs the first target shooting data in response to the first input, where the first target shooting data includes the partial or all image information of the first preview interface, and the first target shooting data is a video or an image. In this way, the first preview interface of the second terminal is displayed on the first terminal and shot on the first terminal, so that a remote shooting function can be implemented.

Further, an embodiment of the present disclosure further provides a shooting method, applied to a second terminal.

Step <NUM>: In a state in which a remote connection for sharing a shooting preview interface is established with a first terminal, send a first preview interface of the second terminal to the first terminal.

Step <NUM>: Receive and display a second preview interface of the first terminal sent by the first terminal.

It should be noted that, when the first terminal performs shooting, a preview interface of the second terminal may be adjusted. Specifically, when adjustment needs to be performed, the first terminal may send first shooting adjustment information to the second terminal, where the first shooting adjustment information may carry a first input track input by a user on the preview interface of the second terminal. The second terminal may adjust a shooting field of view based on the first shooting adjustment information.

Optionally, in an embodiment, after the receiving and displaying a second preview interface of the first terminal sent by the first terminal, the method further includes:.

In this embodiment, after receiving the first shooting adjustment message, the second terminal determines to adjust the target adjustment angle based on the first shooting adjustment information. When the target adjustment angle is relatively small, and the second terminal is equipped with a hardware device that can perform an OIS optical anti-shake function and adjust a small angle, automatic adjustment may be performed to the position, and then shooting is performed. If an adjustment angle is relatively large, manual adjustment is required.

Optionally, in another embodiment, after the extracting a first input track from the first shooting adjustment message, the method further includes:.

In this embodiment, a user of the second terminal may move the second terminal based on the first prompt information to adjust a shooting angle to meet a shooting requirement of a user of the first terminal.

Optionally, after the receiving and displaying a second preview interface of the first terminal sent by the first terminal, the method further includes:.

It should be noted that this embodiment is used as an implementation of the second terminal corresponding to the embodiment shown in <FIG>. For a specific implementation of this embodiment, refer to the related descriptions of the embodiment shown in <FIG>. A same beneficial effect can also be achieved. To avoid repeated descriptions, details are not described again herein.

Referring to <FIG> is a structure diagram of a terminal according to an embodiment of the present disclosure. The terminal is a first terminal in the first terminal and a second terminal that establish a remote connection for sharing a shooting preview interface. As shown in <FIG>, the terminal <NUM> includes:.

Optionally, the terminal <NUM> further includes:.

Optionally, the target preview interface includes a segmentation line for distinguishing the image data of the first preview interface from the image data of the second preview interface, and the target preview interface is segmented into a first preview sub-region and a second preview sub-region by the segmentation line; and
the terminal <NUM> further includes:.

Optionally, the first obtaining module includes:.

The terminal <NUM> can implement each process implemented by the first terminal in the method embodiments in <FIG>. To avoid repetition, details are not described herein again.

Referring to <FIG> is a structure diagram of a terminal according to an embodiment of the present disclosure. The terminal is a second terminal in a first terminal and the second terminal that establish a remote connection for sharing a shooting preview interface. As shown in <FIG>, the terminal <NUM> includes:.

The terminal <NUM> can implement each process implemented by the second terminal in the method embodiment in <FIG>. To avoid repetition, details are not described herein again.

<FIG> is a schematic structural diagram of hardware of a terminal according to the embodiments of the present disclosure. A terminal <NUM> includes but is not limited to components such as a radio frequency unit <NUM>, a network module <NUM>, an audio output unit <NUM>, an input unit <NUM>, a sensor <NUM>, a display unit <NUM>, a user input unit <NUM>, an interface unit <NUM>, a memory <NUM>, a processor <NUM>, and a power supply <NUM>. A person skilled in the art can understand that the structure of the terminal shown in <FIG> does not constitute a limitation to the terminal. The terminal may include more or fewer components than that shown in the figure, or a combination of some components, or an arrangement of different components. In this embodiment of the present disclosure, the terminal includes but is not limited to a mobile phone, a tablet personal computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, a pedometer, or the like.

The processor <NUM> is configured to: in a state in which a remote connection for sharing a shooting preview interface is established with a second terminal, receive and display a first preview interface of the second terminal sent by the second terminal;.

Optionally, before the receiving a first input performed by a user, the processor <NUM> is further configured to:.

Optionally, after the displaying a target preview interface, the processor <NUM> is further configured to:.

Optionally, the target preview interface includes a segmentation line for distinguishing the image data of the first preview interface from the image data of the second preview interface, and the target preview interface is segmented into a first preview sub-region and a second preview sub-region by the segmentation line; and
after the displaying a target preview interface, the processor <NUM> is further configured to:.

Optionally, the first terminal includes a first screen and a second screen; and before the displaying a preview interface of the second terminal, the processor <NUM> is further configured to:.

Optionally, after the displaying at least two preview interfaces of the second terminal on the first screen, the processor <NUM> is further configured to:.

Optionally, after the receiving and displaying a first preview interface of the second terminal sent by the second terminal, the processor <NUM> is further configured to:.

It should be understood that, in this embodiment of the present disclosure, the radio frequency unit <NUM> may be configured to receive and send information or a signal in a call process. Specifically, after receiving downlink data from a base station, the radio frequency unit <NUM> sends the downlink data to the processor <NUM> for processing. In addition, the radio frequency unit <NUM> sends uplink data to the base station. Generally, the radio frequency unit <NUM> includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit <NUM> can also communicate with another device through a wireless communications system and network.

The terminal provides wireless broadband Internet access for the user by using the network module <NUM>, for example, helping the user to send and receive an e-mail, browse a web page, and access streaming media.

The audio output unit <NUM> may convert audio data received by the radio frequency unit <NUM> or the network module <NUM> or stored in the memory <NUM> into an audio signal and output the audio signal as a sound. In addition, the audio output unit <NUM> may further provide an audio output (for example, a call signal received voice, or a message received voice) related to a specific function implemented by the terminal <NUM>. The audio output unit <NUM> includes a speaker, a buzzer, a telephone receiver, and the like.

The input unit <NUM> is configured to receive an audio signal or a video signal. The input unit <NUM> may include a graphics processing unit (Graphics Processing Unit, GPU) <NUM> and a microphone <NUM>, and the graphics processing unit <NUM> processes image data of a still picture or video obtained by an image capture apparatus (such as a camera) in a video capture mode or an image capture mode. A processed image frame can be displayed on the display unit <NUM>. The image frame processed by the graphics processing unit <NUM> may be stored in the memory <NUM> (or another storage medium) or sent via the radio frequency unit <NUM> or the network module <NUM>. The microphone <NUM> can receive sound and can process such sound into audio data. Processed audio data can be converted, in telephone call mode, into a format that can be sent to a mobile communication base station via the radio frequency unit <NUM> for output.

The terminal <NUM> further includes at least one type of sensor <NUM>, such as a light sensor, a motion sensor, and another sensor. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust a brightness of a display panel <NUM> based on a brightness of ambient light. The proximity sensor can close the display panel <NUM> and/or backlight when the terminal <NUM> moves to an ear. As a type of the motion sensor, an accelerometer sensor may detect an acceleration value in each direction (generally, three axes), and detect a value and a direction of gravity when the accelerometer sensor is static, and may be used in an application for recognizing a mobile terminal posture (such as screen switching between landscape and portrait modes, a related game, or magnetometer posture calibration), a function related to vibration recognition (such as a pedometer or a knock), and the like. The sensor <NUM> may further include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like.

The display unit <NUM> is configured to display information entered by a user or information provided for a user. The display unit <NUM> may include a display panel <NUM>.

The user input unit <NUM> may be configured to receive input numeral or character information, and generate key signal input related to user setting and functional control of the terminal. Specifically, the user input unit <NUM> includes a touch panel <NUM> and another input device <NUM>. The touch panel <NUM> is also referred to as a touchscreen, and may collect a touch operation performed by a user on or near the touch panel <NUM> (such as an operation performed by a user on the touch panel <NUM> or near the touch panel <NUM> by using any proper object or accessory, such as a finger or a stylus). The touch panel <NUM> may include two parts: a touch detection apparatus and a touch controller. The touch detection apparatus detects a touch position of the user, detects a signal brought by the touch operation, and sends the signal to the touch controller. The touch controller receives touch information from the touch detection apparatus, converts the touch information into touch point coordinates, and sends the touch point coordinates to the processor <NUM>, and can receive and execute a command sent by the processor <NUM>. In addition, the touch panel <NUM> can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel <NUM>, the user input unit <NUM> may further include the another input device <NUM>. Specifically, the another input device <NUM> may include but is not limited to at least one of a physical keyboard, a functional button (such as a volume control button or a power on/off button), a trackball, a mouse, and a joystick.

Further, the touch panel <NUM> may cover the display panel <NUM>. When detecting the touch operation on or near the touch panel <NUM>, the touch panel <NUM> transmits the touch operation to the processor <NUM> to determine a type of a touch event, and then the processor <NUM> provides corresponding visual output on the display panel <NUM> based on the type of the touch event. Although in <FIG>, the touch panel <NUM> and the display panel <NUM> are configured as two independent components to implement input and output functions of the terminal, in some embodiments, the touch panel <NUM> and the display panel <NUM> can be integrated to implement the input and output functions of the terminal. Details are not limited herein.

The interface unit <NUM> is an interface for connecting an external apparatus to the terminal <NUM>. For example, the external apparatus may include a wired or wireless headphone port, an external power supply (or a battery charger) port, a wired or wireless data port, a storage card port, a port used to connect to an apparatus having an identity module, an audio input/output (I/O) port, a video I/O port, a headset port, and the like. The interface unit <NUM> can be configured to receive input (for example, data information and power) from the external apparatus and transmit the received input to one or more elements in the terminal <NUM>, or transmit data between the terminal <NUM> and the external apparatus.

The memory <NUM> can be configured to store software programs and various data. The memory <NUM> may mainly include a program storage area and a data storage area. The program storage area may store an operating system, an application program required by at least one function (such as a voice playing function and an image playing function), and the like, and the data storage area may store data (such as audio data and a phone book) created based on use of the mobile phone, and the like. In addition, the memory <NUM> may include a high-speed random access memory or a nonvolatile memory, for example, at least one disk storage device, a flash memory, or another volatile solid-state storage device.

The processor <NUM> is a control center of the terminal, and connects all parts of the entire terminal by using various interfaces and lines. By running or executing a software program and/or a module stored in the memory <NUM> and invoking data stored in the memory <NUM>, the processor <NUM> performs various functions of the terminal and data processing, to perform overall monitoring on the terminal. The processor <NUM> may include one or more processing units. Optionally, the processor <NUM> may be integrated with an application processor and a modem processor. The application processor mainly processes an operating system, a user interface, an application program, and the like, and the modem processor mainly processes wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor <NUM>.

The terminal <NUM> may further include the power supply <NUM> (such as a battery) that supplies power to each component. Optionally, the power supply <NUM> may be logically connected to the processor <NUM> by using a power management system, so as to implement functions such as charging, discharging, and power consumption management by using the power management system.

In addition, the terminal <NUM> includes some function modules not shown, and details are not described herein.

Optionally, an embodiment of the present disclosure further provides a terminal, including a processor <NUM>, a memory <NUM>, and a computer program that is stored in the memory <NUM> and that can run on the processor <NUM>. When executing the computer program, the processor <NUM> implements the foregoing processes of the shooting method embodiment and a same technical effect can be achieved. To avoid repetition, details are not described herein again.

The processor <NUM> is configured to: in a state in which a remote connection for sharing a shooting preview interface is established with a first terminal, send a first preview interface of the second terminal to the first terminal; and
receive and display a second preview interface of the first terminal sent by the first terminal.

Optionally, after the receiving and displaying a second preview interface of the first terminal sent by the first terminal, the processor <NUM> is further configured to:.

Optionally, after the extracting a first input track from the first shooting adjustment message, the processor <NUM> is further configured to:.

The terminal provides wireless broadband Internet access for the user by using the network module <NUM>, for example, helping the user to send and receive an e-mail, brows a web page, and access streaming media.

The terminal <NUM> further includes at least one type of sensor <NUM>, such as a light sensor, a motion sensor, and another sensor. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, where the ambient light sensor can adjust brightness of a display panel <NUM> based on brightness of ambient light, and the proximity sensor can turn off the display panel <NUM> and/or backlight when the terminal <NUM> is moved towards the ear. As a type of the motion sensor, an accelerometer sensor may detect an acceleration value in each direction (generally, three axes), and detect a value and a direction of gravity when the accelerometer sensor is static, and may be used in an application for recognizing a mobile terminal posture (such as screen switching between landscape and portrait modes, a related game, or magnetometer posture calibration), a function related to vibration recognition (such as a pedometer or a knock), and the like. The sensor <NUM> may further include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like.

An embodiment of the present disclosure further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when executing the computer program, a processor implements the foregoing processes of the shooting method embodiment and a same technical effect can be achieved. To avoid repetition, details are not described herein again. The computer-readable storage medium includes a read-only memory (Read-only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk, or an optical disc.

It should be noted that in this specification, the terms "comprise", "include", and any other variants thereof are intended to cover non-exclusive inclusion, so that a process, a method, an article, or an apparatus that includes a series of elements not only includes these very elements, but also includes other elements not expressly listed, or also includes elements inherent to this process, method, article, or apparatus. An element limited by "includes a. " does not, without more constraints, preclude the presence of additional identical elements in the process, method, article, or apparatus that includes the element.

Claim 1:
A shooting method, applied to a first terminal and characterized by comprising:
in a state in which a remote connection for sharing a shooting preview interface is established with a second terminal, receiving (<NUM>) and displaying a first preview interface of the second terminal sent by the second terminal;
receiving (<NUM>) a first input performed by a user to shoot a photo or video; and
outputting (<NUM>) first target shooting data in response to the first input, wherein
the first target shooting data comprises partial image information of the first preview interface, and the first target shooting data is a video or an image; wherein
before the receiving (<NUM>) the first input performed by the user, the method further comprises:
displaying a target preview interface obtained by synthesizing image data of the first preview interface with image data of a second preview interface, wherein the second preview interface is a preview interface collected by a camera of the first terminal; and the first target shooting data is all image data of the target preview interface;
characterized in that
the target preview interface comprises a segmentation line for distinguishing the image data of the first preview interface from the image data of the second preview interface, and the target preview interface is segmented into a first preview sub-region and a second preview sub-region by the segmentation line; and
after the displaying the target preview interface, the method further comprises:
receiving another input performed by the user for the segmentation line; and
updating a display area of the image data of the first preview sub-region and a display area of the image data of the second preview sub-region in response to the another input.