Shooting methods, devices and equipment

By selecting multiple focus positions on the shooting preview interface and focusing and shooting separately, images at multiple focus positions are generated, which solves the problem of detail loss during single-focus shooting in the existing technology and improves the shooting effect and image quality.

CN115442527BActive Publication Date: 2024-09-13VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211055691.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-31
Publication Date
2024-09-13
Estimated Expiration
2042-08-31

AI Technical Summary

Technical Problem

In the prior art, only one focus point can be selected for taking pictures during a shooting process. As a result, when multiple objects are photographed in the picture, the details of the objects in the non-focus area are prone to be lost, and the shooting effect is poor.

Method used

By selecting multiple focus positions on the shooting preview interface, focusing based on each focus position and shooting the preview screen, and generating images corresponding to multiple focus positions, you can select more than one focus point in one shooting process, including images of multiple shooting objects. Image details.

Benefits of technology

It improves the shooting effect and image quality, can focus on and include the details of multiple subjects in the same shooting frame, and solves the problem of detail loss when shooting with single focus.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115442527B
    Figure CN115442527B
Patent Text Reader

Abstract

The present application discloses a shooting method, device and equipment, belonging to the technical field of electronic equipment. The shooting method includes: displaying a shooting preview interface, the shooting preview interface includes a preview screen; receiving a first input for selecting N focus positions in the shooting preview interface, N is greater than 1; in response to the first input, focusing and shooting a preview screen based on each focus position, respectively, to obtain N first images corresponding to the N focus positions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of electronic equipment, and specifically relates to a shooting method, device and equipment. Background Art

[0002] With the booming development of mobile Internet and the increasing popularity of electronic devices, more and more users are using electronic devices to conveniently record beautiful moments. Currently, electronic devices can focus during the shooting process, or determine the focus area according to the focus selected by the user, so that the corresponding part of the focus area in the captured image is clearer, improving the quality of the captured image.

[0003] In the related art, only one focus can be selected for taking a photo during a shooting process. Therefore, when there are multiple subjects in the shooting picture, in the captured image, the subjects in the focus area are clearer, while the subjects in the non-focus area are prone to loss of details, resulting in poor shooting effect. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a shooting method, device and equipment, which can solve the problem in the related art that only one focus can be selected for taking a photo during one shooting process.

[0005] In a first aspect, an embodiment of the present application provides a shooting method, the method comprising: displaying a shooting preview interface, the shooting preview interface comprising a preview screen; receiving a first input for selecting N focus positions in the shooting preview interface, where N is greater than 1; in response to the first input, focusing based on each focus position and shooting a preview screen, to obtain N first images corresponding to the N focus positions.

[0006] In a second aspect, an embodiment of the present application provides a shooting device, which includes: a display module for displaying a shooting preview interface, the shooting preview interface including a preview screen; a receiving module for receiving a first input for selecting N focus positions in the shooting preview interface, where N is greater than 1; a focus shooting module for responding to the first input, focusing based on each focus position and shooting a preview screen, to obtain N first images corresponding to the N focus positions.

[0007] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, and when the program or instruction is executed by the processor, the steps of the shooting method of the first aspect are implemented.

[0008] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the shooting method of the first aspect are implemented.

[0009] In a fifth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the steps of the shooting method of the first aspect.

[0010] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the steps of the shooting method as described in the first aspect.

[0011] In an embodiment of the present application, in a shooting scene, a user can select multiple focus positions in the shooting preview interface. When the electronic device receives a first input from the user selecting multiple focus positions in the shooting preview interface, it can respond to the first input, focus based on each focus position and shoot a preview screen, and obtain an image corresponding to each focus position. Based on this, during a shooting process, the user can select more than one focus in the shooting screen, and can shoot and generate a group of images with multiple different focus positions as the focus. In this group of images, the focus of different shooting objects in the shooting screen can be achieved, and the image details of multiple shooting objects can be included, thereby improving the shooting effect and image quality. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 is a flowchart of a shooting method provided by an embodiment of the present application;

[0013] Figure 2 is a flowchart of a shooting method provided by another embodiment of the present application;

[0014] Figure 3 is a schematic diagram of an example of a shooting preview interface provided by an embodiment of the present application;

[0015] Figure 4 is a schematic diagram of an example of a shooting preview interface provided by another embodiment of the present application;

[0016] Figure 5 is a schematic diagram of an example of a shooting preview interface provided by yet another embodiment of the present application;

[0017] Figure 6 is a schematic diagram of an example of a shooting preview interface provided by yet another embodiment of the present application;

[0018] Figure 7 is a flowchart of a shooting method provided in yet another embodiment of the present application;

[0019] Figure 8 is a flowchart of a shooting method provided in yet another embodiment of the present application;

[0020] Fig. 9is a schematic diagram of an example of a shooting preview interface provided by yet another embodiment of the present application;

[0021] Fig.10 is a schematic diagram of an example of a shooting preview interface provided by yet another embodiment of the present application;

[0022] Fig.11 is a structural schematic diagram of a photographing device provided in an embodiment of the present application;

[0023] Fig.12 is a structural schematic diagram of an electronic device provided in an embodiment of the present application;

[0024] Fig.13 It is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0025] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0026] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0027] As mentioned in the background technology, only one focus can be selected to take a photo during a shooting process. Therefore, when there are multiple subjects in the shooting picture, in the captured image, the subjects in the focus area are clearer, while the subjects in the non-focus area are prone to loss of details, resulting in poor shooting effect.

[0028] In response to the problems in the related art, the embodiment of the present application provides a shooting method. In a shooting scene, the user can select multiple focus positions on the shooting preview interface. When the electronic device receives the first input of the user selecting multiple focus positions on the shooting preview interface, it can respond to the first input, focus based on each focus position and shoot the preview screen, and obtain the image corresponding to each focus position. Based on this, during a shooting process, the user can select more than one focus in the shooting screen, and can shoot and generate a group of images with multiple different focus positions as the focus. In this group of images, the focus of different shooting objects in the shooting screen can be achieved, and the image details of multiple shooting objects can be included, thereby improving the shooting effect and image quality, and solving the problem in the related art that only one focus can be selected for shooting during a shooting process.

[0029] The following is a detailed description of the shooting method provided in the embodiment of the present application through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0030] Figure 1 1 is a flow chart of a shooting method provided in an embodiment of the present application, and the execution subject of the shooting method may be an electronic device. It should be noted that the above execution subject does not constitute a limitation on the present application.

[0031] like Figure 1 As shown, the shooting method provided in the embodiment of the present application may include steps 110 to 130.

[0032] Step 110: display a shooting preview interface, which includes a preview screen.

[0033] The preview screen may include at least one photographing object.

[0034] Step 120: receiving a first input for selecting N focus positions in the shooting preview interface.

[0035] Wherein, N may be an integer greater than 1, and the first input may include input of each focus position selected by the user respectively, and the focus position may be the position of the photographed object selected by the user and the details of which the user wants to retain.

[0036] Step 130 , in response to the first input, focusing is performed based on each focus position and a preview image is captured to obtain N first images corresponding to the N focus positions.

[0037] Specifically, in response to the first input, the electronic device can focus on each focus position respectively, and shoot the entire preview screen after focusing to obtain a first image corresponding to each focus position.

[0038] Exemplarily, the first input may include inputs of the user selecting focus positions A1 and B1 respectively. In response to the first input, the electronic device may focus on A1 as the focus, and after focusing, shoot the entire preview screen to generate image a1, and focus on B1 as the focus, and after focusing, shoot the entire preview screen to generate image a2.

[0039] In the shooting method provided by the embodiment of the present application, in the shooting scene, the user can select multiple focus positions on the shooting preview interface. When the electronic device receives the first input of the user selecting multiple focus positions on the shooting preview interface, it can respond to the first input, focus and shoot the preview screen based on each focus position respectively, and obtain the image corresponding to each focus position. Based on this, during one shooting process, the user can select more than one focus in the shooting screen, and can shoot and generate a group of images with multiple different focus positions as the shooting subject. In this group of images, the focus of different shooting objects in the shooting screen can be achieved, and the image details of multiple shooting objects can be included, thereby improving the shooting effect and image quality.

[0040] The specific implementation method of the above steps is described in detail below.

[0041] Involving step 120, receiving a first input of selecting N focus positions in a shooting preview interface.

[0042] In some embodiments of the present application, the shooting preview interface includes a secondary focus control, the first input includes a second input and a third input, the N focus positions include a primary focus position and N-1 secondary focus positions, Figure 2 is a flowchart of a shooting method provided by another embodiment of the present application. Step 120 may include Figure 2 Steps 210 to 230 are shown.

[0043] Step 210: receiving a second input for selecting a primary focus position in the shooting preview interface.

[0044] The second input may be a touch input such as a click input, a double-click input, a long press input, a sliding input, etc., of any position in the shooting preview interface, which is not specifically limited in this application. The touch position corresponding to the second input is the main focus position.

[0045] In one embodiment, the shooting preview interface may include a primary focus control, and the second input may include a touch input of the primary focus control and the primary focus position.

[0046] Among them, the main focus control is used to trigger the electronic device to start the main focus position selection mode. In this main focus position selection mode, the user can select the main focus position through touch input on the shooting preview interface.

[0047] For example, Figure 3 As shown, the shooting preview interface 301 can display the main focus control 303. Before selecting the main focus position A1, the user can first click the main focus control 303 to trigger the electronic device to start the main focus position selection mode. In this mode, when the electronic device receives the user's click input on position A1, it determines that position A1 is the main focus position.

[0048] Step 220: In response to the second input, display the main focus icon at the main focus position.

[0049] Among them, the position where the main focus icon is located is the main focus point, and the area where the main focus icon is located is the main focus area.

[0050] For example, Figure 3 As shown, in the shooting preview interface 301, when the electronic device receives a second input of the user clicking on the main focus position A1, in response to the second input, a main focus icon 302 is displayed at the main focus position A1.

[0051] In some embodiments of the present application, the second input may include a fifth sub-input and a sixth sub-input, and step 210 may specifically include the following steps: receiving a fifth sub-input for a first position in a shooting preview interface; in response to the fifth sub-input, determining that the first position is a primary focus position, and displaying a primary focus icon at the first position; receiving a sixth sub-input for a second position in the shooting preview interface; step 220 may specifically include: in response to the sixth sub-input, determining that the second position is a primary focus position, and displaying a primary focus icon at the second position.

[0052] Among them, the fifth sub-input can be a touch input for the user to select the first position in the shooting preview interface, and the sixth sub-input can be a touch input for the user to select the second position in the shooting preview interface. The first position and the second position are different positions in the shooting preview interface.

[0053] In the embodiment of the present application, the user can select the first position through the fifth sub-input, so that the electronic device determines the first position as the main focus position, realizes touch focus, and thus obtains the main focus point. On this basis, the user can also re-select the main focus position through the sixth sub-input, and specifically can change the position of the main focus point by clicking on different positions of the screen. The operation has high freedom, and the user can select any position as the main focus point.

[0054] Step 230 , receiving a third input of a secondary focus control and N−1 secondary focus positions.

[0055] Among them, when the secondary focus control is selected, the user can select any number of secondary focus positions in the shooting preview interface.

[0056] Specifically, the third input may include the user's input to the secondary focus control, and the input of selecting N-1 secondary focus positions respectively; when the secondary focus control is selected, the user can select at least one secondary focus position in the shooting preview interface; in response to the third input, the electronic device can display a secondary focus icon at each secondary focus position.

[0057] For example, Figure 4 As shown, the shooting preview interface 401 may include a secondary focus control 402. When the electronic device receives a click input from the user on the secondary focus control 402, the electronic device is triggered to start a secondary focus position selection mode. In this mode, when the electronic device receives an input from the user to select secondary focus positions B1 and B2, a secondary focus icon 403 is displayed at the secondary focus position B1, and a secondary focus icon 404 is displayed at the secondary focus position B2.

[0058] In the embodiment of the present application, when the electronic device receives the second input of the user selecting the main focus position in the shooting preview interface, in response to the second input, the main focus icon is displayed at the main focus position to realize the visualization of the focus point and the focus area, so as to facilitate the user to flexibly adjust the focus point in the picture. At the same time, by setting a secondary focus control in the shooting preview interface, the user can select multiple secondary focus positions at one time in the shooting preview interface by operating the secondary focus control, so as to realize the selection of the main focus position and the secondary focus position in the same shooting picture, thereby determining multiple focus points in the preview picture.

[0059] In other embodiments of the present application, when the secondary focus control is selected, the user can select a secondary focus position in the shooting preview interface. If the user wants to continue to select other secondary focus positions, the user can select them by operating the first control displayed on the shooting preview interface.

[0060] In some embodiments of the present application, the shooting preview interface may further include a first control, the first control is used to add a second secondary focus icon to the shooting preview interface, the N-1 secondary focus positions include a first secondary focus position and N-2 second secondary focus positions, the third input includes a first sub-input and a second sub-input, and step 230 receives the third input for the secondary focus control and the N-1 secondary focus positions, which may specifically include the following steps: receiving a first sub-input for the secondary focus control and the first secondary focus position; in response to the first sub-input, displaying the first secondary focus icon at the first secondary focus position; receiving a second sub-input for the first control and N-2 second secondary focus positions; in response to the second sub-input, displaying N-2 second secondary focus icons at the N-2 second secondary focus positions, respectively.

[0061] Among them, the secondary focus control is used to trigger the electronic device to start the first secondary focus position selection mode. In this first secondary focus position selection mode, the user can select the first secondary focus position through touch input on the shooting preview interface; the first sub-input can be a combined input of the user's secondary focus control and the first secondary focus position.

[0062] For example, when the electronic device receives a click input or a long press input of the user on the secondary focus control 502 in the shooting preview interface 501, as shown in FIG. Figure 5 As shown, the secondary focus control 502 is in a selected state, and the electronic device starts the first secondary focus position selection mode. In this mode, the electronic device can continue to receive the user's click input on position B1. In response to the click input, the electronic device can determine that position B1 is the first secondary focus position, and display the first secondary focus icon 504 at the first secondary focus position B1.

[0063] The first control is used to select the second secondary focus position in the shooting preview interface. It should be noted that the second sub-input may include at least one touch input of the user to the first control. One touch input can correspondingly select one or more second secondary focus positions in the shooting preview interface; the electronic device can specifically receive N-2 second sub-inputs for the second secondary focus position.

[0064] For example, Figure 5 As shown, the first control is 503. When the electronic device receives the second sub-input of the user operating 503 once, a second secondary focus position B2 can be selected in the shooting preview interface 501. Of course, multiple second secondary focus positions can also be selected.

[0065] In an embodiment of the present application, the shooting preview interface may provide a first control for selecting a second secondary focus position, and by manipulating the first control, the number of second secondary focus positions that can be selected in the shooting preview interface may be increased. Based on this, by selecting different second secondary focus positions, different selected shooting objects may be focused on in the shooting preview interface, thereby increasing the number of focus points in the shooting preview interface.

[0066] In some other embodiments of the present application, in order to simplify the steps for the user to select multiple focus positions, the N-1 secondary focus positions include a first secondary focus position and N-2 second secondary focus positions, the third input may include a first sub-input, a third sub-input and a fourth sub-input, and step 230 receives the third input for the secondary focus control and the N-1 secondary focus positions, which may specifically include the following steps: receiving the first sub-input for the secondary focus control and the first secondary focus position; in response to the first sub-input, displaying the first secondary focus icon at the first secondary focus position; receiving the third sub-input for the first secondary focus icon; in response to the third sub-input, displaying the second secondary focus icon on the shooting preview interface; receiving the fourth sub-input for moving the second secondary focus icon to the target position; in response to the fourth sub-input, determining the target position as the second secondary focus position, and displaying the second secondary focus icon at the target position.

[0067] Among them, the third sub-input can be a double-click input, a long press input, etc. of the user on the first secondary focus icon. The third sub-input is used to trigger the electronic device to display the second secondary focus icon. The fourth sub-input may include a long press input and a sliding input to move the second secondary focus icon to the target position, and the target position can be any position in the shooting preview interface.

[0068] For example, Figure 6 As shown, the shooting preview interface includes a first secondary focus icon 601. When the electronic device receives a third sub-input of the user long pressing 601, the second secondary focus icon 602 is displayed in response to the third sub-input. By moving the second secondary focus icon 602 along the sliding direction to the target position B2, it is determined that B2 is the second secondary focus position, and the second secondary focus icon 602 can be displayed at the second secondary focus position B2.

[0069] In an embodiment of the present application, in order to facilitate user operation, the user can trigger the electronic device to display the second secondary focus icon through the third sub-input of the existing first secondary focus icon. By moving the second secondary focus icon to the target position, any photographic object in the preview screen can be focused. There is no need to set other controls in the shooting preview interface, which simplifies the shooting preview interface and is easy to operate, and can quickly focus on multiple photographic objects in the shooting preview interface.

[0070] In some other embodiments of the present application, the first input may include the second input and the seventh input, the N focus positions may include a primary focus position and N-1 secondary focus positions, Figure 7 is a flowchart of a shooting method provided by another embodiment of the present application. Step 120 may include Figure 7 Steps 710 - 740 are shown.

[0071] Step 710: receiving a second input for selecting a primary focus position in the shooting preview interface.

[0072] The specific implementation method of the second input in step 710 is the same as that of step 210 , and details can be found in the above step 210 , which will not be repeated here.

[0073] Step 720: In response to the second input, display the primary focus icon at the primary focus position.

[0074] Among them, the specific implementation method of step 720 is the same as that of step 220. For details, please refer to the above step 220 and will not be repeated here.

[0075] Step 730 , receiving a seventh input for moving the main focus icon to N−1 third positions respectively.

[0076] Among them, the seventh input may include N-1 inputs, each input is used to move the main focus icon to the third position, and the seventh input may be a sliding input, a dragging input, or a dragging input, etc., which is not specifically limited in this application.

[0077] Step 740 , in response to the seventh input, determine N-1 third positions as secondary focus positions, and display N-1 secondary focus icons at the N-1 third positions respectively.

[0078] In an embodiment of the present application, after selecting the main focus point through the second input, if a secondary focus point needs to be added, the user only needs to place his finger on the main focus icon and drag it to the third position where he wants to focus to generate a new secondary focus position and obtain the secondary focus point. The operation is simple and quick, and multiple secondary focus positions can be quickly selected to obtain multiple secondary focus points.

[0079] In some embodiments of the present application, the shooting preview interface may include a preset edge area, the N focus positions include a primary focus position and N-1 secondary focus positions, and after receiving a first input for selecting N focus positions in the shooting preview interface in step 120, the method may further include the following steps: displaying a primary focus icon at the primary focus position, and displaying N-1 secondary focus icons at N-1 secondary focus positions respectively; receiving an eighth input for moving the primary focus icon or the secondary focus icon to the preset edge area; in response to the eighth input, deleting the primary focus position or the secondary focus position, and canceling the display of the primary focus icon or the secondary focus icon.

[0080] Among them, the eighth input is used to delete the primary focus position or secondary focus position selected by the user. The eighth input can be a sliding input, dragging input, etc. of the main focus icon or the secondary focus icon. The preset edge area can be, for example, the screen edge area of ​​the electronic device, and this application does not make any specific limitations here.

[0081] In the embodiment of the present application, a corresponding focus icon can be displayed on each focus position. If the user wants to delete a focus position, the user can directly drag it to the preset edge area to delete the focus position. The user operation is simple and has a high degree of freedom. Any main focus position or secondary focus position can be deleted.

[0082] In step 130 , in response to the first input, focusing is performed based on each focus position and a preview image is captured to obtain N first images corresponding to the N focus positions.

[0083] In some embodiments of the present application, step 130 may specifically include: in response to the first input, focusing and photographing N focus positions respectively in a target order to obtain N first images corresponding to the N focus positions.

[0084] The first input may include a user's click input on a shooting control in a shooting preview interface, and the target order may be an order of selecting N focus positions.

[0085] For example, Figure 4 As shown, the first input may include inputs of selecting focus positions B1 and B2 respectively, and clicking on a shooting control. In response to the first input, the electronic device may first focus on the focus position B1, shoot with the focus position B1 as the shooting subject to generate image b1, and then the electronic device may focus on the focus position B2, shoot with the focus position B2 as the shooting subject to generate image b2.

[0086] In the embodiment of the present application, based on the order in which the user selects N focus positions in the shooting preview interface, during a shooting process, the electronic device can focus and shoot the N focus positions one by one according to the selected order, and for each focus position, it can be used as the shooting subject to generate a first image. Therefore, during a shooting process, the user can focus on multiple shooting objects of interest, and for each shooting object of interest, an image containing the details of the shooting object can be generated, so that the details of all shooting objects of interest to the user can be retained in the N first images, better meeting the shooting needs of the user.

[0087] In some embodiments of the present application, in order to improve the display effect of N first images, the N focus positions include a main focus position and N-1 secondary focus positions. Figure 8 is a flowchart of a shooting method provided by another embodiment of the present application. Figure 8 As shown, after step 130, the method may further include steps 780-840.

[0088] Step 810: Generate a thumbnail based on the first image corresponding to the primary focus position.

[0089] Step 820, display thumbnails in the album interface.

[0090] Step 830, receiving a fourth input for a thumbnail.

[0091] Among them, the fourth input can be a click input, a double-click input, a long press input, etc. of the thumbnail, and this application does not make any specific limitations here.

[0092] Step 840: In response to the fourth input, display N first images.

[0093] For example, Fig. 9 As shown, in the album interface 901, only the thumbnail 902 corresponding to the first object is displayed, rather than displaying all N first images obtained in one shooting process.

[0094] In the embodiment of the present application, compared to directly displaying N first images in the album interface after shooting and generating N first images, the present application only displays thumbnails of the main focus position in the album interface, which can reduce the number of images displayed in the album interface and avoid too many first images generated during multiple shooting processes, which affects the display effect of the album interface. That is, the present application can display multiple groups of first images generated during multiple shooting processes separately, and use the thumbnails generated by the first images corresponding to the main focus position in each group of first images to identify the group of images, so as to facilitate users to find images and improve the image search speed.

[0095] In some embodiments of the present application, step 840 may specifically include the following steps: in response to the fourth input, displaying the first interface.

[0096] The first interface includes a first area and a second area, the first area is used to display a first image corresponding to the main focus position, and the second area is used to arrange and display N first images.

[0097] The N first images may be arranged in a generation order, that is, in a target order, so the first of the N first images in the album is the first image corresponding to the main focus position.

[0098] For example, Fig. 9 As shown, when the electronic device receives the fourth input from the user to the thumbnail 902 in the album interface 901, the first interface 903 is displayed in response to the fourth input. The first interface 903 may include a first area 904 and a second area 905, wherein the first area 904 is used to display the first image a1 corresponding to the main focus position, and the second area 905 is used to arrange and display all first images generated in the first shooting process, namely, image a1, image b1 and image b2.

[0099] In the embodiment of the present application, the first interface may provide a first area and a second area for displaying the first image at the main focus position and N first images, respectively. In this way, the first interface can not only quickly view the details of the image shot with the main focus position as the focus, but also allow the N first images to be arranged and displayed, so that all first images can be viewed conveniently, so that all first images can be quickly viewed during one shooting process, thereby improving the image viewing speed.

[0100] In some embodiments of the present application, after displaying N first images in response to a fourth input in step 840, the method may further include the following steps: receiving a fifth input for a second image among the N first images; displaying the second image in response to the fifth input, wherein the second image includes N-1 identifiers indicating N-1 focus positions; receiving a sixth input for a target identifier among the N-1 identifiers; and displaying the first image corresponding to the target focus position in response to the sixth input.

[0101] Among them, the fifth input can be a click input, double-click input, long press input, etc. for the user to select the second image from N first images; the sixth input can be a click input, double-click input, long press input, etc. for the user to select the target logo from N-1 logos, and this application does not make specific limitations here; the target focus position is the focus position indicated by the target logo.

[0102] For example, the N first images may include image a1, image b1, and image b2, and their corresponding focus positions are A1, B1, and B2, respectively. Fig.10 As shown, when the electronic device displays images a1, b1, and b2, the electronic device may receive a fifth input from a user selecting a second image, namely, image b1, and in response to the fifth input, display image b1 on a large screen. The image b1 may include a mark 1001 indicating the focus position A1 and a mark 1002 indicating the focus position B2. Based on this, when the electronic device receives a sixth input from a user selecting a target mark 1002, in response to the sixth input, the focus position B2 indicated by the target mark 1002 is determined as the target focus position, and jumps to the first image b2 corresponding to the target focus position B2, wherein the mark 1001 indicating the focus position A1 and the mark 1003 indicating the focus position B1 may be displayed on the first image b2.

[0103] In an embodiment of the present application, when the electronic device receives the fifth input of the user selecting the second image from N first images, when displaying the second image, the second image may include N-1 identifiers indicating N-1 focus positions, so that the user can view all the focus points selected during the shooting process. In addition, the present application can provide a convenient image viewing method. By inputting the sixth target identifier among the N-1 identifiers, the user can quickly jump to the first image corresponding to the target focus position indicated by the target identifier, that is, the electronic device can directly display the first image generated by focusing on the target focus position, without the user having to search through all the first images one by one, thereby improving the image query speed and query efficiency, and helping the user to quickly find the first image containing the details of the subject of interest.

[0104] It should be noted that the shooting method provided in the embodiment of the present application can be executed by a shooting device or a control module in the shooting device for executing the shooting method. In the embodiment of the present application, the shooting device provided in the embodiment of the present application is described by taking the shooting method executed by the shooting device as an example. The shooting device is described in detail below.

[0105] Fig.11 It is a structural schematic diagram of a shooting device provided by the present application.

[0106] like Fig.11 As shown, an embodiment of the present application provides a photographing device 1100 , which includes: a display module 1110 , a receiving module 1120 and a focus photographing module 1130 .

[0107] Among them, the display module 1110 is used to display the shooting preview interface, which includes a preview screen; the receiving module 1120 is used to receive a first input for selecting N focus positions in the shooting preview interface, where N is greater than 1; the focus shooting module 1130 is used to respond to the first input, focus based on each focus position and shoot a preview screen, to obtain N first images corresponding to the N focus positions.

[0108] In the shooting device provided by the embodiment of the present application, in the shooting scene, the user can select multiple focus positions on the shooting preview interface. When the electronic device receives the first input of the user selecting multiple focus positions on the shooting preview interface, it can respond to the first input, focus and shoot the preview screen based on each focus position respectively, and obtain the image corresponding to each focus position. Based on this, during one shooting process, the user can select more than one focus in the shooting screen, and can shoot and generate a group of images with multiple different focus positions as the focus. In this group of images, the focus of different shooting objects in the shooting screen can be achieved, and the image details of multiple shooting objects can be included, thereby improving the shooting effect and image quality.

[0109] In some embodiments of the present application, the shooting preview interface includes a secondary focus control, the first input includes a second input and a third input, the N focus positions include a primary focus position and N-1 secondary focus positions, and the receiving module 1120 includes: a receiving submodule, used to receive a second input for selecting a primary focus position in the shooting preview interface; a display submodule, used to display a primary focus icon at the primary focus position in response to the second input; and a receiving submodule, also used to receive a third input for the secondary focus control and the N-1 secondary focus positions.

[0110] In some embodiments of the present application, the shooting preview interface also includes a first control, the first control is used to add a second secondary focus icon to the shooting preview interface, the N-1 secondary focus positions include a first secondary focus position and N-2 second secondary focus positions, the third input includes a first sub-input and a second sub-input, and the receiving submodule includes: a receiving unit, used to receive a first sub-input for the secondary focus control and the first secondary focus position; a display unit, used to display the first secondary focus icon at the first secondary focus position in response to the first sub-input; the receiving unit is also used to receive a second sub-input for the first control and N-2 second secondary focus positions; the display unit is also used to display N-2 second secondary focus icons at the N-2 second secondary focus positions respectively in response to the second sub-input.

[0111] In some embodiments of the present application, N-1 secondary focus positions include a first secondary focus position and N-2 second secondary focus positions, the third input includes a first sub-input, a third sub-input and a fourth sub-input, and the receiving submodule includes: a receiving unit, used to receive a first sub-input for a secondary focus control and a first secondary focus position; a display unit, used to display a first secondary focus icon at the first secondary focus position in response to the first sub-input; the receiving unit is also used to receive a third sub-input for the first secondary focus icon; in response to the third sub-input, the display unit is also used to display the second secondary focus icon on the shooting preview interface; the receiving unit is also used to receive a fourth sub-input for moving the second secondary focus icon to a target position; a determination unit, used to determine that the target position is a second secondary focus position in response to the fourth sub-input, and display the second secondary focus icon at the target position.

[0112] In some embodiments of the present application, the focus shooting module 1130 is specifically used to: in response to a first input, focus on N focus positions respectively in a target order and shoot preview pictures to obtain N first images corresponding to the N focus positions, and the target order is the order of selecting the N focus positions.

[0113] In some embodiments of the present application, the N focus positions include a primary focus position and N-1 secondary focus positions, and the device also includes: a generation module, which is used to generate thumbnails based on the first image corresponding to the primary focus position after obtaining N first images corresponding to the N focus positions; a display module 1110, which is also used to display thumbnails in an album interface; a receiving module 1120, which is also used to receive a fourth input for the thumbnails; and the display module 1110, which is also used to display the N first images in response to the fourth input.

[0114] In some embodiments of the present application, the display module 1110 is specifically used to: display a first interface in response to a fourth input, the first interface comprising a first area and a second area, wherein the first area is used to display a first image corresponding to a main focus position, and the second area is used to arrange and display N first images.

[0115] In some embodiments of the present application, the device also includes: a receiving module 1120, which is also used to receive a fifth input of a second image among the N first images after displaying the N first images in response to a fourth input; a display module 1110, which is also used to display the second image in response to the fifth input, and the second image includes N-1 identifiers indicating N-1 focus positions; the receiving module 1120 is also used to receive a sixth input of a target identifier among the N-1 identifiers; and the display module 1110 is also used to display the first image corresponding to the target focus position in response to the sixth input, wherein the target focus position is the focus position indicated by the target identifier.

[0116] In some embodiments of the present application, the second input includes a fifth sub-input and a sixth sub-input, and the receiving sub-module includes: a receiving unit, used to receive the fifth sub-input of the first position in the shooting preview interface; a determination unit, used to determine the first position as the main focus position in response to the fifth sub-input, and display the main focus icon at the first position; the receiving unit is also used to receive the sixth sub-input of the second position in the shooting preview interface; the display sub-module is specifically used to: determine the second position as the main focus position in response to the sixth sub-input, and display the main focus icon at the second position.

[0117] In some embodiments of the present application, the first input includes a second input and a seventh input, the N focus positions include a primary focus position and N-1 secondary focus positions, and the receiving module 1120 includes: a receiving submodule, used to receive a second input for selecting a primary focus position in a shooting preview interface; a display submodule, used to display a primary focus icon at the primary focus position in response to the second input; the receiving submodule, also used to receive a seventh input for moving the main focus icon to N-1 third positions respectively; a determining submodule, used to determine, in response to the seventh input, the N-1 third positions as secondary focus positions, and display N-1 secondary focus icons at the N-1 third positions respectively.

[0118] In some embodiments of the present application, the shooting preview interface includes a preset edge area, the N focus positions include a primary focus position and N-1 secondary focus positions, and the device also includes: a display module 1110, which is also used to display a primary focus icon at the primary focus position after receiving a first input for selecting N focus positions in the shooting preview interface, and to display N-1 secondary focus icons at the N-1 secondary focus positions respectively; a receiving module 1120, which is also used to receive an eighth input for moving the primary focus icon or the secondary focus icon to the preset edge area; a deletion module, which is used to delete the primary focus position or the secondary focus position in response to the eighth input, and cancel the display of the primary focus icon or the secondary focus icon.

[0119] The shooting device provided in the embodiment of the present application can achieve Figure 1-Figure 10 To avoid repetition, the various processes implemented by the electronic device in the method embodiment are not described here.

[0120] The shooting device in the embodiment of the present application can be an electronic device, or a component, integrated circuit, or chip in the electronic device. The electronic device can be a terminal, or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc. It can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., and the embodiment of the present application does not make specific limitations.

[0121] The shooting device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0122] Alternatively, if Fig.12As shown, an embodiment of the present application also provides an electronic device 1220, including a processor 1221, a memory 1222, and a program or instruction stored in the memory 1222 and executable on the processor 1221. When the program or instruction is executed by the processor 1221, each process of the above-mentioned shooting method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0123] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.

[0124] Fig.13 A schematic diagram of the hardware structure of an electronic device according to an embodiment of the present application.

[0125] The electronic device 1300 includes but is not limited to: a radio frequency unit 1301, a network module 1302, an audio output unit 1303, an input unit 1304, a sensor 1305, a display unit 1306, a user input unit 1307, an interface unit 1308, a memory 1309, and a processor 1310 and other components.

[0126] Those skilled in the art will appreciate that the electronic device 1300 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1310 through a power management system, thereby managing charging, discharging, and power consumption, etc. through the power management system. Fig.13 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0127] Among them, the display unit 1306 is used to display the shooting preview interface, which includes a preview screen; the user input unit 1307 is used to receive a first input for selecting N focus positions in the shooting preview interface, where N is greater than 1; the processor 1310 is used to respond to the first input, focus based on each focus position and shoot a preview screen, to obtain N first images corresponding to the N focus positions.

[0128] In an embodiment of the present application, in a shooting scene, a user can select multiple focus positions in the shooting preview interface. When the electronic device receives a first input from the user selecting multiple focus positions in the shooting preview interface, it can respond to the first input, focus based on each focus position and shoot a preview screen, and obtain an image corresponding to each focus position. Based on this, during a shooting process, the user can select more than one focus in the shooting screen, and can shoot and generate a group of images with multiple different focus positions as the focus. In this group of images, the focus of different shooting objects in the shooting screen can be achieved, and the image details of multiple shooting objects can be included, thereby improving the shooting effect and image quality.

[0129] It should be understood that in the embodiment of the present application, the input unit 1304 may include a graphics processor (Graphics Processing Unit, GPU) 13041 and a microphone 13042, and the graphics processor 13041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1306 may include a display panel 13061, and the display panel 13061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1307 includes a touch panel 13071 and at least one of other input devices 13072. The touch panel 13071 is also called a touch screen. The touch panel 13071 may include two parts: a touch detection device and a touch controller. Other input devices 13072 may include, but are not limited to, a physical keyboard, a key (such as a volume control key, a switch key, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0130] The memory 1309 can be used to store software programs and various data. The memory 1309 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, at least one required application or instruction (such as sound playback, image playback, etc.), etc. In addition, the memory 1309 may include a volatile memory or a non-volatile memory, or the memory 1309 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 1309 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0131] The processor 1310 may include one or more processing units; optionally, the processor 1310 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1310.

[0132] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned shooting method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0133] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer-readable storage medium, and examples of the computer-readable storage medium include a non-transitory computer-readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0134] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned shooting method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0135] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0136] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned shooting method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0137] It should be noted that, in this article, the term "comprises", "includes" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the embodiment of the present application is not limited to being executed in the order shown or discussed, and may also include being executed in a substantially simultaneous manner or in the opposite order according to the involved, for example, the described method may be executed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0138] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0139] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A shooting method, characterized in that: include: Displaying a shooting preview interface, wherein the shooting preview interface includes a preview screen; Receive a first input of selecting N focus positions in the shooting preview interface, where N is greater than 1; In response to the first input, focusing and shooting the preview image based on each of the focus positions respectively to obtain N first images corresponding to the N focus positions; The N focus positions include a main focus position and N-1 secondary focus positions. After obtaining N first images corresponding to the N focus positions, the method further includes: generating a thumbnail based on the first image corresponding to the primary focus position; Displaying the thumbnail in the album interface; receiving a fourth input for the thumbnail; In response to the fourth input, displaying the N first images; After displaying the N first images in response to the fourth input, the method further includes: Receiving a fifth input of a second image among the N first images; In response to the fifth input, displaying the second image, wherein the second image includes N-1 marks indicating N-1 focus positions, where the N-1 focus positions are focus positions corresponding to images other than the second image in the N first images; Receiving a sixth input of a target identifier among the N-1 identifiers; In response to the sixth input, a first image corresponding to a target focus position is displayed, wherein the target focus position is a focus position indicated by the target identifier.

2. The method according to claim 1, characterized in that The shooting preview interface includes a secondary focus control, the first input includes a second input and a third input, the N focus positions include a primary focus position and N-1 secondary focus positions, and receiving the first input for selecting N focus positions on the shooting preview interface includes: receiving a second input for selecting the primary focus position in the shooting preview interface; In response to the second input, displaying a primary focus icon at the primary focus position; A third input of the secondary focus control and the N-1 secondary focus positions is received.

3. The method according to claim 2, characterized in that The shooting preview interface further includes a first control, the first control is used to add a second secondary focus icon to the shooting preview interface, the N-1 secondary focus positions include a first secondary focus position and N-2 second secondary focus positions, the third input includes a first sub-input and a second sub-input, and the receiving of the third input to the secondary focus control and the N-1 secondary focus positions includes: receiving a first sub-input for the secondary focus control and the first secondary focus position; In response to the first sub-input, displaying a first secondary focus icon at the first secondary focus position; Receiving a second sub-input for the first control and the N-2 second secondary focus positions; In response to the second sub-input, N-2 second sub-focus icons are displayed at the N-2 second sub-focus positions respectively.

4. The method according to claim 2, characterized in that: The N-1 secondary focus positions include a first secondary focus position and N-2 second secondary focus positions, the third input includes a first sub-input, a third sub-input and a fourth sub-input, and the receiving of the third input of the secondary focus control and the N-1 secondary focus positions includes: receiving a first sub-input for the secondary focus control and the first secondary focus position; In response to the first sub-input, displaying a first secondary focus icon at the first secondary focus position; receiving a third sub-input for the first secondary focus icon; In response to the third sub-input, displaying a second secondary focus icon on the shooting preview interface; receiving a fourth sub-input for moving the second secondary focus icon to a target position; In response to the fourth sub-input, the target position is determined to be the second secondary focus position, and the second secondary focus icon is displayed at the target position.

5. The method according to claim 1, characterized in that In response to the first input, focusing and shooting the preview image based on each of the focus positions to obtain N first images corresponding to the N focus positions include: In response to the first input, the N focus positions are focused and the preview screen is captured respectively in a target order to obtain N first images corresponding to the N focus positions, and the target order is the order of selecting the N focus positions.

6. The method according to claim 1, characterized in that In response to the fourth input, displaying the N first images comprises: In response to the fourth input, a first interface is displayed, wherein the first interface includes a first area and a second area, wherein the first area is used to display the first image corresponding to the main focus position, and the second area is used to arrange and display the N first images.

7. The method according to claim 2, characterized in that The second input includes a fifth sub-input and a sixth sub-input, and the receiving of the second input for selecting the primary focus position in the shooting preview interface includes: receiving a fifth sub-input for a first position in the shooting preview interface; In response to the fifth sub-input, determining the first position as the primary focus position, and displaying the primary focus icon at the first position; receiving a sixth sub-input for a second position in the shooting preview interface; The step of displaying a primary focus icon at the primary focus position in response to the second input includes: In response to the sixth sub-input, the second position is determined to be the primary focus position, and the primary focus icon is displayed at the second position.

8. The method according to claim 1, characterized in that The first input includes the second input and the seventh input, the N focus positions include a primary focus position and N-1 secondary focus positions, and the receiving of the first input for selecting N focus positions in the shooting preview interface includes: receiving a second input for selecting the primary focus position in the shooting preview interface; In response to the second input, displaying a primary focus icon at the primary focus position; receiving a seventh input for moving the primary focus icon to N-1 third positions respectively; In response to the seventh input, the N-1 third positions are determined as the secondary focus positions, and N-1 secondary focus icons are displayed at the N-1 third positions respectively.

9. The method according to claim 1, characterized in that: The shooting preview interface includes a preset edge area, the N focus positions include a primary focus position and N-1 secondary focus positions, and after receiving a first input for selecting N focus positions on the shooting preview interface, the method further includes: Displaying a main focus icon at the main focus position, and displaying N-1 auxiliary focus icons at the N-1 auxiliary focus positions respectively; receiving an eighth input for moving the primary focus icon or the secondary focus icon to the preset edge area; In response to the eighth input, the primary focus position or the secondary focus position is deleted, and the primary focus icon or the secondary focus icon is undisplayed.

10. A photographing device, characterized in that: include: A display module, used to display a shooting preview interface, wherein the shooting preview interface includes a preview screen; A receiving module, configured to receive a first input of selecting N focus positions in the shooting preview interface, where N is greater than 1; A focus shooting module, configured to focus and shoot the preview image based on each of the focus positions in response to the first input, to obtain N first images corresponding to the N focus positions; The N focus positions include a primary focus position and N-1 secondary focus positions, and the device further includes: A generating module, configured to generate a thumbnail based on the first image corresponding to the main focus position after obtaining the N first images corresponding to the N focus positions; The display module is also used to display the thumbnails in the album interface; The receiving module is further used to receive a fourth input of the thumbnail; The display module is further configured to display the N first images in response to the fourth input; The device also includes: The receiving module is further configured to receive a fifth input of a second image among the N first images after displaying the N first images in response to the fourth input; The display module is further configured to display the second image in response to the fifth input, wherein the second image includes N-1 marks indicating N-1 focus positions, and the N-1 focus positions are focus positions corresponding to images other than the second image in the N first images; The receiving module is further used to receive a sixth input of a target identifier among the N-1 identifiers; The display module is further configured to display a first image corresponding to a target focus position in response to the sixth input, wherein the target focus position is a focus position indicated by the target identifier.

11. An electronic device, characterized in that: The electronic device includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the shooting method according to any one of claims 1 to 9.