Patent Description:
With the improvement of the photographing function of the terminal, more and more people take pictures or videos through the terminal and share the pictures or videos on a social platform. Users have higher and higher requirements on using terminals for photographing and sharing, so higher requirements on the photographing function of the terminal are also put forward.

However, at present, only pictures or videos can be acquired from the photographing result of users, which cannot meet the diverse requirements for users.

<CIT> discloses an image shooting method and device, electronic equipment and a storage medium. The method comprises the following steps: firstly, opening a preview interface for image shooting, and dividing the preview interface into at least two preview panes; secondly, during shooting of a target object, displaying a captured image of the target object in any of the at least two preview panes; and finally, after completion of shooting of the image, combining at least two images of the at least two preview panes into an image set.

<CIT> discloses a user terminal apparatus and controlling method. The user terminal apparatus includes a display unit which displays a screen including a first area including at least one object and a second area to perform editing using the at least one object, a user interface unit which receives a user command to copy the object displayed in the first area to the second area, and a controller which, in response to the received user command, controls to automatically copy the object to a location within the second area which corresponds to an attribute of the object based on the attribute of the object.

Embodiments of the present disclosure provide a photographing method and a terminal, so as to solve the problem in the prior art that the photographing result is single and cannot meet the requirements of users.

To solve the foregoing technical problem, the present disclosure is implemented as follows:
according to a first aspect, the embodiments of the present disclosure provide a photographing method, which is defined in claim <NUM>.

According to a second aspect, the embodiments of the present disclosure further provide a terminal, which is defined in claim <NUM>.

According to a third aspect, the embodiments of the present disclosure further provide a computer readable storage medium, which is defined in claim <NUM>.

To describe the technical solutions in embodiments of the present disclosure more clearly, the following briefly describes the accompanying drawings required for describing the embodiments of the present disclosure. Apparently, the accompanying drawings in the following description show merely some embodiments of the present disclosure, and a person of ordinary skill in the art may still derive other drawings from these accompanying drawings without creative efforts.

The technical solutions in the embodiments of the present disclosure are described below clearly and completely with reference to the accompanying drawings in the embodiments of the present disclosure. Apparently, the described embodiments are some rather than all of the embodiments of the present disclosure.

Referring to <FIG> is a first flowchart of a photographing method according to an embodiment of the present disclosure. As shown <FIG>, the embodiment provides a photographing method, applied to a terminal. The method includes the following steps:
step <NUM>: receiving a first operation for a target photographing template, wherein the target photographing template includes N viewfinder frames and N is an integer greater than <NUM>.

The first operation is an operation of selecting the target photographing template. The first operation may be a clicking operation, a sliding operation and the like, which is not limited herein. The target photographing template may be downloaded from the network, and may also use a template in the factory settings in the terminal. The target photographing template may be pre-stored in the terminal, or may also be acquired in real time during use. In a case that the pre-stored target photographing template is selected, each target photographing template has the number of the corresponding viewfinder frames, the relative position of each viewfinder frame, and the shape of the viewfinder frame. The shape of the viewfinder frame may be square, triangle, circle or other shapes.

When the target photographing template is acquired in real time, image recognition may be performed through a to-be-recognized picture to acquire the target photographing template, so as to meet the diverse requirements of users and improve interestingness. When the target photographing template is acquired in real time, the to-be-recognized picture is determined first, then image recognition is performed on the to-be-recognized picture, and a preset pattern in the to-be-recognized picture is recognized. For example, the to-be-recognized picture includes a door and a television screen, and the preset pattern is a rectangle. The outlines of the door and the television screen may be matched with the rectangle, so when the preset pattern in the to-be-recognized picture is recognized, areas where the door and the television screen in the to-be-recognized picture are located will be recognized.

The area matched with the preset pattern in the to-be-recognized picture is determined as the viewfinder frame. In a case of that it is determined that there is more than one viewfinder frame of the to-be-recognized picture, the to-be-recognized picture may serve as the target photographing template, wherein the area matched with the preset pattern in the to-be-recognized picture serves as the viewfinder frame of the target photographing template.

The target photographing template at least includes two viewfinder frames, that is, N is a positive integer greater than <NUM>.

Step <NUM>: acquiring N photographing results through the N viewfinder frames, wherein the N photographing results include M photos and N-M videos, and M is a positive integer less than N.

Specifically, after the target photographing template is determined, prompt boxes corresponding to N viewfinder frames are displayed on the display screen of the terminal, and one viewfinder frame (may be regarded as the current viewfinder frame) may also be displayed on the display screen, wherein the viewfinder frame corresponds to one prompt box in the N prompt boxes. As shown in <FIG>, three prompt boxes are displayed in the figure, the reference number <NUM> shows the prompt box, and the reference numeral <NUM> shows the viewfinder frame. For the prompt box corresponding to the viewfinder frame displayed on the display screen, the prompt frame may be highlighted, which is displayed in the form of bolding the frame of the prompt box in <FIG>. For example, when a first image is photographed, the viewfinder frame displayed on the display screen corresponds to a first prompt box in the N prompt box. After photographing is completed, the photographing result acquired through photographing is displayed in the first prompt box in the form of thumbnail.

When photographing is performed through the viewfinder frame, a photographing key may be pressed for a long time, and the long-press time may be set according to the actual condition, such as <NUM> seconds. A user may slide on the viewfinder frame left and right to switch the viewfinder frames corresponding to different prompt boxes, or a user may select different prompt boxes in the N prompt boxes to switch the viewfinder frame displayed on the display screen.

Initially, each of the N prompt boxes does not display a picture, or displays a default picture. After the photographing result is acquired through the viewfinder frame corresponding to the prompt box, the acquired photographing result is displayed in the corresponding prompt box. Further, a user may view the photographing result corresponding to the thumbnail in the prompt box by clicking the prompt box, for example, the photographing result corresponding to the thumbnail in the prompt box is displayed in full screen on the mobile terminal. Further, the photographing result may be edited. For example, the photographing result is beautified, or the text is added to the photographing result.

When N photographing results matched to the N viewfinder frames are acquired, photographing may be performed respectively through the N viewfinder frames to acquire N photographing results, and photographing may be performed through part of the N viewfinder frames to acquire part of the photographing results. Then, the N photographing results are finally acquired by copying the acquired photographing results, wherein the N photographing results include photos and videos. Each photographing result is a photo (also called picture) or video image. Each viewfinder frame corresponds to one photographing result.

Step <NUM>: splicing, according to the positions of the N viewfinder frames in the target photographing template, the N photographing results to acquire a synthesized object in a case that a second operation is received.

The second operation is an operation of splicing the N photographing results to acquire the synthesized object. The second operation may be a clicking operation, a sliding operation and the like, which is not limited herein.

The N photographing results are spliced according to the positions of the N viewfinder frames in the target photographing template. For example, in a case that the first viewfinder frame is above the second viewfinder frame in the target photographing template, during splicing, the photographing result acquired through the first viewfinder frame will be spliced above the photographing result acquired through the second viewfinder frame, that is, in the synthesized object, the photographing result acquired through the first viewfinder frame is located above the photographing result acquired through the second viewfinder frame.

After the synthesized object is acquired, the synthesized object may be further shared to a social platform. After the photographing results are acquired, a synthesized image can be acquired only through the second operation without adding too many additional operations, so that user operation is simplified. Furthermore, in the subsequent sharing, a user only needs to select an object for one time to share photos and videos at the same time instead of selecting the photo and then selecting the video like related art that at least two object selecting operations are required to share photos and videos. The method in this embodiment may be used to synthesize the picture and the video image.

In the embodiments, the terminal may be any terminal including a camera, such as a mobile phone, a tablet personal computer (Tablet Personal Computer), a laptop computer (Laptop Computer), a personal digital assistant (personal digital assistant, PDA for short), a mobile Internet device (Mobile Internet Device, MID) or a wearable device (Wearable Device).

In the embodiments of the present disclosure, the photographing method includes: receiving a first operation for a target photographing template, wherein the target template includes N viewfinder frames, and N is an integer greater than <NUM>; acquiring N photographing results through the N viewfinder frames, wherein the N photographing results include M photos and N-M videos, and M is a positive integer less than N; and splicing, according to the positions of the N viewfinder frames in the target photographing template, the N photographing results to acquire a synthesized object in a case that a second operation is received. In this way, there are photos and videos in the finally acquired photographing result, which meet the requirement of users to take photos and videos at the same time. In a case that it necessary to share photos and videos subsequently, it is only necessary to select objects for one time and then share them, and it is unnecessary to select photos and videos for many times and then share them.

Further, the step of acquiring the N photographing results through the N viewfinder frames includes:.

Specifically, when the N photographing results corresponding to the N viewfinder frames are acquired, photographing may be performed respectively through the N viewfinder frames to acquire N photographing results; and photographing may be performed for J times through J viewfinder frames of the N viewfinder frames to acquire J photographing results, and then M photographing results in the J photographing results are copied to acquire K photographing results corresponding to K viewfinder frames. The K viewfinder frames are viewfinder frames without corresponding to the photographing result, or the photographing results corresponding to the K viewfinder frames are not acquired through photographing, for example, through copying.

When M is less than K, one or more of the M photographing results may be copied for many times to acquire the K photographing results corresponding to the K viewfinder frames. When M is equal to K, each of the M photographing results may be copied for one time respectively to acquire the K photographing results corresponding to the K viewfinder frames.

The sum of J and K is equal to N, which may be understood that the K viewfinder frames do not overlap with the viewfinder frames corresponding to each of the J photographing results. In this way, after copy processing, the photographing results corresponding to the N viewfinder frames are divided into two parts through acquisition routes: the J photographing results are acquired through photographing of their own corresponding viewfinder frames, and each photographing result in the K viewfinder frames is acquired through copying.

Certainly, the sum of J and K may be greater than N, which may be understood that K viewfinder frames include viewfinder frames which do not acquire the photographing results, and viewfinder frames corresponding to part of the J photographing results.

In this embodiment, images displayed in the N viewfinder frames are acquired respectively to acquire N photographing results; or images displayed in J viewfinder frames of the N viewfinder frames are acquired respectively to acquire J photographing results; and the M photographing results in the J photographing results are copied to acquire K photographing results corresponding to K viewfinder frames, wherein the sum of the J and K is equal to N, and M is less than or equal to K. In this way, the N photographing results may be acquired in a diversified manner, and the interestingness may be improved.

Further, the step of copying the M photographing results in the J photographing results to acquire the K photographing results corresponding to the K viewfinder frames includes:.

Specifically, in a case that N viewfinder frames are displayed on the display screen, the corresponding photographing result is displayed in the viewfinder frame, and for a viewfinder frame which does not acquire the photographing result, a default picture is displayed in the viewfinder frame. As shown in <FIG>, N viewfinder frames are displayed on the display screen. The First operation may be a single-finger clicking operation, which is not limited specifically. In a case that a first sliding operation sliding from a t-th viewfinder frame to an h-th viewfinder frame is received, the photographing result corresponding to the t-th viewfinder frame is copied to the h-th viewfinder frame. In this way, the photographing result corresponding to the h-th viewfinder frame is as same as the photographing result corresponding to the t-th viewfinder frame (specifically, the contents of the photographing results are the same). The photographing result corresponding to the t-th viewfinder frame is one of the M photographing results, and the h-th viewfinder frame is one of the K viewfinder frames. In this way, the photographing result corresponding to the t-th viewfinder frame may be copied to the h-th viewfinder frame rapidly through the first sliding operation.

The second sliding operation may be a double-finger sliding operation, which is not limited specifically. In a case that the second sliding operation sliding from the t-th viewfinder frame to the h-th viewfinder frame is received, the photographing result corresponding to the t-th viewfinder frame will be copied to the target viewfinder frame to acquire the photographing result corresponding to the target viewfinder frame, wherein the target viewfinder frame is all the viewfinder frames except for the t-th viewfinder frame on the sliding route of the second sliding operation. In this way, when it is necessary to copy the photographing result corresponding to the t-th viewfinder frame to a plurality of viewfinder frames, the above method may be adopted. The photographing result corresponding to the t-th viewfinder frame may be copied to the plurality of viewfinder frames rapidly through the second sliding operation.

In the target photographing template, an image type is correspondingly set for each viewfinder frame in advance, and the image type includes photos or videos. For the viewfinder frame of which the image type is a photo, the acquired photographing result is a photo in a case that the photographing operation is received; and for the viewfinder frame of which the image type is a video, the acquired photographing result is a video in a case that the photographing operation is received. In this way, for each viewfinder frame, a user only needs to input the photographing operation to acquire the photographing result corresponding to the image type of each viewfinder frame; and the user does not need to adjust the photographing mode again, such as adjusting the photographing mode as a picture mode or a video mode, so that the user operation can be simplified, and the user experience can be improved.

Further, before the step of receiving the first operation for the target photographing template, the method further includes:
photographing through the terminal to acquire one photographing result.

The step of acquiring the N photographing results through the N viewfinder frames includes:.

In this embodiment, one photographing result is acquired firstly through the terminal, and then the target photographing template is determined. Since one photographing result is acquired before the target photographing template is determined, photographing is performed respectively according to N-<NUM> viewfinder frames after the target photographing template is determined to acquire N-<NUM> photographing results. The one photographing result has a default matched viewfinder frame, for example, a first viewfinder frame in the target photographing template, or a viewfinder frame located at the middle position of the target photographing template, or a last viewfinder frame in the target photographing template. The viewfinder frame matched with the photographing result by default may be set according to the actual condition, which is not limited herein.

The one photographing result is matched with one viewfinder frame in the N viewfinder frames except for the N-<NUM> viewfinder frames, which may be understood that the target photographing template includes N viewfinder frames, the N viewfinder frames are composed of the default matched viewfinder frame and N-<NUM> viewfinder frames, the one photographing result acquired through photographing before the target photographing template is determined is matched with the default matched viewfinder frame, and the N-<NUM> photographing results acquired after the target photographing template is determined are matched with the N-<NUM> viewfinder frames.

In this embodiment, before the step of receiving the first operation for the target photographing template, the method further includes: photographing through the terminal to acquire one photographing result; acquiring images displayed in N-<NUM> viewfinder frames respectively to acquire N-<NUM> photographing results; and taking the one photographing result and the N-<NUM> photographing result as N photographing results acquired through the N viewfinder frames. In this way, the target photographing template may be selected after one photographing result is acquired through photographing, so that the determination time of selecting the target photographing template is further flexible, the diversified requirements of users are met, and the user experience is improved.

Further, after the step of acquiring the N photographing results through the N viewfinder frames, the method further includes:
in a case of receiving a third operation of a user for a first result in the N photographing results, displaying a text editing box in the first result.

Specifically, the first result is one photographing result in the N photographing results. After the N photographing results matched with the N viewfinder frames are acquired, the N photographing results may be displayed. In a case that a third operation of a user for the first result in the N photographing results is received, a text edit box is displayed on the first result, and the user may add text in the first result through the text edit box. For example, the third operation may be a double-click operation. A user double-clicks on the first result, may insert the text edit box at the double-click position, and may add text to the first result through the text edit box.

Referring to <FIG>, it is a first structural diagram of a terminal according to an embodiment of the present disclosure. As shown in <FIG>, the embodiment provides a terminal <NUM>, including:.

Further, as shown in <FIG>, the acquisition module <NUM> includes:.

Further, the copy submodule <NUM> is configured to:.

Further, the acquisition module <NUM> is configured to:.

Further, as shown in <FIG>, the terminal <NUM> further includes:
a photographing module <NUM>, configured to photograph through the terminal to acquire one photographing result.

The acquisition module <NUM> is configured to:.

Further, as shown in <FIG>, the terminal <NUM> further includes:
a text adding module <NUM>, configured to, in a case of receiving a third operation of a user for a first result in the N photographing results, display a text editing box in the first result.

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

According to the terminal <NUM> provided by the embodiments of the present disclosure, a first operation for a target photographing template is received, wherein the target template includes N viewfinder frames, and N is an integer greater than <NUM>; N photographing results are acquired through the N viewfinder frames, wherein the N photographing results include M photos and N-M videos, and M is a positive integer less than N; and the N photographing results are spliced according to the positions of the N viewfinder frames in the target photographing template in a case that a second operation is received to acquire a synthesized object. In this way, there are photos and videos in the finally acquired photographing result, which meet the requirement of users to take photos and videos at the same time. In a case that it necessary to share photos and videos subsequently, it is only necessary to select objects for one time and then share them, and it is unnecessary to select photos and videos for many times and then share them.

<FIG> is a schematic diagram of a hardware structure of a terminal according to each embodiment of the present disclosure. As shown in <FIG>, the 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>. Those skilled in the art may understand that the terminal structure shown in <FIG> does not constitute a limitation on the terminal. The terminal may include more or fewer components than those shown in the figure, or some components may be combined, or there may be a different component arrangement. In the embodiments of the present disclosure, the terminal includes, but is not limited to, a mobile phone, a tablet 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 receive a first operation for a target photographing template, wherein the target photographing template includes N viewfinder frames and N is an integer greater than <NUM>;.

Further, the processor <NUM> is configured to acquire images displayed in the N viewfinder frames respectively to acquire N photographing results;
or
acquire images displayed in J viewfinder frames of the N viewfinder frames respectively to acquire J photographing results; and perform copy processing on M photographing results in the J photographing results to acquire K photographing results corresponding to K viewfinder frames, wherein the sum of J and K is equal to N, and M is less than or equal to K.

Further, the processor <NUM> is configured to, in a case that a first sliding operation sliding from a t-th viewfinder frame to an h-th viewfinder frame is received, copy the photographing result corresponding to the t-th viewfinder frame to the h-th viewfinder frame to acquire the photographing result of the h-th viewfinder frame;
or.

Further, the processor <NUM> is configured to, if an image type that is set to be corresponding to a first viewfinder frame in the N viewfinder frames in the target photographing template is a photo, acquire the photo through the first viewfinder frame in a case that a photographing operation is received; and.

Further, the processor <NUM> is further configured to:.

Further, the processor <NUM> is further configured to, in a case of receiving a third operation of a user for a first result in the N photographing results, display a text editing box in the first result.

The terminal <NUM> can implement the processes implemented by the terminal in the foregoing embodiments and achieve the beneficial effects. To avoid repetition, details are not described herein again.

It should be understood that in this embodiment of the present disclosure, the radio frequency unit <NUM> may be configured to receive and send signals in a process of receiving and sending information or calling. Specifically, after receiving downlink data from a base station, the radio frequency unit <NUM> sends the downlink data to the processor <NUM> for processing; and 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, and a duplexer, and the like. In addition, the radio frequency unit <NUM> may further communicate with a network and another device by using a wireless communication system.

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 as voice. Moreover, the audio output unit <NUM> may further provide audio output related to a specific function performed by the terminal <NUM> (such as a call signal reception sound, a message reception sound, or the like). The audio output unit <NUM> includes a speaker, a buzzer, a telephone receiver, etc..

The input unit <NUM> is configured to receive an acoustic signal or a video signal. The input unit <NUM> may include a graphics processing unit (Graphics Processing Unit, GPU) <NUM> and a microphone <NUM>. The graphics processing unit <NUM> processes image data of a static image or video acquired by an image capture apparatus (such as, a camera) in a video capture mode or an image capture mode. A processed image frame may 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 transmitted via the radio frequency unit <NUM> or the network module <NUM>. The microphone <NUM> may receive a sound and can process such sound into audio data. The processed audio data may be converted, in a call mode, into a format that can be sent to a mobile communication base station by using the radio frequency unit <NUM> for output.

The terminal <NUM> further includes at least one 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 may adjust luminance of the display panel <NUM> based on brightness of ambient light. The proximity sensor may turn off 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 configured to recognize 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 the user or information provided for the user. The display unit <NUM> may include a display panel <NUM>, and the display panel <NUM> may be configured in a form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.

The user input unit <NUM> may be configured to: receive input digit or character information, and generate key signal input related to user setting and function control of the terminal. Specifically, the user input unit <NUM> includes a touch panel <NUM> and another input device <NUM>. The touch panel <NUM>, also called a touch screen, may collect touch operation on or near the touch panel by users (for example, operation on the touch panel <NUM> or near the touch panel <NUM> by fingers or any suitable objects or accessories such as a touch pen by the users). The touch panel <NUM> may include two parts: a touch detection device and a touch controller. The touch detection device detects a touch position of a user, detects a signal brought by a touch operation, and transmits the signal to the touch controller. The touch controller receives touch information from the touch detection apparatus, converts the touch information into contact coordinates, sends the contact coordinates to the processor <NUM>, and receives and executes a command from the processor <NUM>. In addition, the touch panel <NUM> may be implemented by using a plurality of types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel <NUM>, the user input unit <NUM> may further include other input devices <NUM>. Specifically, the other input devices <NUM> may include but are not limited to: a physical keyboard, a function key (such as a volume control key, a switch key), a trackball, a mouse, and a joystick, which is no longer repeated here.

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 the 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 used 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> may be integrated to implement the input and output functions of the mobile terminal. This is not specifically 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 jack, and the like. The interface unit <NUM> may 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 may be configured to transmit data between the terminal <NUM> and the external apparatus.

The memory <NUM> may be configured to store a software program 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 for at least one function (for example, a sound play function or an image play function), and the like. The data storage area may store data (for example, audio data or an address book) or the like created based on use of the mobile phone. In addition, the memory <NUM> may include a high-speed random access memory, or may include 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 through 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> can include one or more processing units. The processor <NUM> can be integrated with an application processor and a modem processor. The application processor mainly processes the operating system, the user interface, applications, etc. The modem processor mainly processes wireless communication. It can be understood that, alternatively, the 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. 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.

An embodiment of the present disclosure further provides a terminal, including a processor <NUM>, a memory <NUM>, and a computer program that stored in the memory <NUM> and executable on the processor <NUM>. When the computer program is executed by the processor <NUM>, the foregoing processes of the photographing method embodiment are implemented, and a same technical effect can be achieved. To avoid repetition, details are not described herein again.

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

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 device that includes a series of elements not only includes these very elements, but may also include other elements not expressly listed, or also include elements inherent to this process, method, article, or device. An element limited by "includes a. " does not, without more constraints, preclude the presence of additional identical elements in the process, method, article, or device that includes the element.

Based on the foregoing descriptions of the embodiments, a person skilled in the art may clearly understand that the method in the foregoing embodiment may be implemented by software in addition to a necessary universal hardware platform or by hardware only. In most circumstances, the former is a preferred implementation. Based on such an understanding, the technical solutions of the present disclosure essentially or the part contributing to the prior art may be implemented in a form of a software product. The computer software product is stored in a storage medium (such as a ROM/RAM, a hard disk, or an optical disc), and includes several instructions for instructing a terminal (which may be mobile phone, a computer, a server, an air conditioner, a network device, or the like) to perform the methods described in the embodiments of the present disclosure.

Claim 1:
A photographing method, applied to a terminal comprising a camera and comprising:
receiving (<NUM>) a first operation for selecting a target photographing template, wherein the target photographing template comprises N viewfinder areas, which are arranged in predetermined relative positions within the target photographing template and N is an integer greater than <NUM>;
acquiring (<NUM>) N photographing results associated to respectively the N viewfinder areas, wherein the N photographing results comprise L photos and N-L videos, and L is a positive integer less than N; and
splicing (<NUM>), in a case that a second operation is received, the N photographing results according to the positions of the N viewfinder areas in the target photographing template, thereby generating a synthesized object comprising the N photographing results arranged in the predetermined positions of the N viewfinder areas of a selected target photographing template;
characterized in that the acquiring (<NUM>) the N photographing results associated to respectively the N viewfinder areas comprises:
acquiring, by performing photographing operation respectively through J viewfinder areas of the N viewfinder areas, photos or videos displayed in the J viewfinder areas of the N viewfinder areas respectively to acquire J photographing results; and performing copy processing on M photographing results in the J photographing results to acquire K photographing results corresponding to K viewfinder areas, the sum of J and K being equal to N, and M being less than or equal to K;
wherein the performing copy processing on the M photographing results in the J photographing results to acquire K photographing results corresponding to K viewfinder areas comprises:
in a case that M is less than K, performing copy processing on one or more of the M photographing results for many times to acquire the K photographing results corresponding to the K viewfinder areas; and in a case that M is equal to K, performing copy processing on each of the M photographing results for one time respectively to acquire the K photographing results corresponding to the K viewfinder areas.