CN117666894A - Picture previewing method and device, electronic equipment and storage medium - Google Patents

Picture previewing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117666894A
CN117666894A CN202211020752.5A CN202211020752A CN117666894A CN 117666894 A CN117666894 A CN 117666894A CN 202211020752 A CN202211020752 A CN 202211020752A CN 117666894 A CN117666894 A CN 117666894A
Authority
CN
China
Prior art keywords
picture
type
area
preview
pictures
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211020752.5A
Other languages
Chinese (zh)
Inventor
孟婉婷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202211020752.5A priority Critical patent/CN117666894A/en
Publication of CN117666894A publication Critical patent/CN117666894A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses a picture preview method, a picture preview device, electronic equipment and a storage medium. The picture preview method may include: determining a selected target picture in response to a selection operation for the picture in the picture selection area, and displaying an enlarged picture of the target picture in the middle position of the picture preview area; wherein, in the picture selection area, the picture of the first type is allowed to be selected, the picture of the second type is forbidden to be selected, and the quality of the picture of the first type is larger than that of the picture of the second type. By implementing the method, the preview efficiency of the picture can be improved.

Description

Picture previewing method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of electronic devices, and in particular, to a method and apparatus for previewing a picture, an electronic device, and a storage medium.
Background
To meet the need for users to record highlights in a variety of forms throughout, artificial intelligence (Artificial Intelligence, AI) can obtain a rich variety of pictures and videos with one key and multiple shots. In practice it has been found that pictures taken in a single key often include both relatively good quality pictures and relatively poor quality pictures. In practice, the current mode of previewing a plurality of pictures obtained by one-key multi-shot is mostly that users click one by one, and the previewing efficiency is low.
Disclosure of Invention
The embodiment of the application provides a picture previewing method, a picture previewing device, electronic equipment and a storage medium, which can improve the previewing efficiency of high-quality pictures.
An embodiment of the present application provides a method for previewing a picture, including:
determining a selected target picture in response to a selection operation for the picture in the picture selection area, and displaying an enlarged picture of the target picture in the middle position of the picture preview area; and in the picture selection area, the picture of the first type is allowed to be selected, the picture of the second type is forbidden to be selected, and the quality of the picture of the first type is larger than that of the picture of the second type.
A second aspect of the embodiments of the present application provides a picture preview apparatus, including:
a preview unit, configured to determine a selected target picture in response to a selection operation for a picture in a picture selection area, and display an enlarged picture of the target picture in a middle position of the picture preview area; and in the picture selection area, the picture of the first type is allowed to be selected, the picture of the second type is forbidden to be selected, and the quality of the picture of the first type is larger than that of the picture of the second type.
A third aspect of the embodiments of the present application provides an electronic device, including:
a memory storing executable program code;
and a processor coupled to the memory;
the processor invokes the executable program code stored in the memory, which when executed by the processor causes the processor to implement the method according to the first aspect of the embodiment of the present application.
A fourth aspect of the embodiments of the present application provides a computer readable storage medium having stored thereon executable program code which, when executed by a processor, implements a method as described in the first aspect of the embodiments of the present application.
A fifth aspect of the embodiments of the present application discloses a computer program product which, when run on a computer, causes the computer to perform any of the methods disclosed in the first aspect of the embodiments of the present application.
A sixth aspect of the embodiments of the present application discloses an application publishing platform for publishing a computer program product, wherein the computer program product, when run on a computer, causes the computer to perform any one of the methods disclosed in the first aspect of the embodiments of the present application.
From the above technical solutions, the embodiments of the present application have the following advantages:
in the embodiment of the application, in response to a selection operation for a picture in a picture selection area, determining a selected target picture, and displaying an enlarged picture of the target picture in the middle position of a picture preview area; wherein, in the picture selection area, the picture of the first type is allowed to be selected, the picture of the second type is forbidden to be selected, and the quality of the picture of the first type is larger than that of the picture of the second type.
By implementing the method, the electronic equipment sets the picture with relatively good quality to be allowed to be selected, and the picture with relatively poor quality is forbidden to be selected, so that the electronic equipment can automatically skip the picture with relatively poor quality when browsing the picture in the picture selection area, so that the user can preview only the picture with relatively good quality, and the preview efficiency of the picture is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following description will briefly introduce the drawings that are needed in the embodiments and the description of the prior art, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings.
Fig. 1 is a schematic view of a scene of a picture preview method disclosed in an embodiment of the present application;
fig. 2 is a schematic flow chart of a picture previewing method disclosed in an embodiment of the present application;
fig. 3A is a diagram illustrating a waterfall flow type picture arrangement according to an embodiment of the present disclosure;
FIG. 3B is a diagram of an arrangement of pictures in a picture axis as disclosed in embodiments of the present application;
FIG. 4A is a diagram of a picture preview interface with the electronic device in portrait mode;
FIG. 4B is another illustration of a picture preview interface with the electronic device in a landscape mode;
fig. 5 is another flow chart of a picture previewing method disclosed in an embodiment of the present application;
FIG. 6A is a diagram of a playback interface disclosed in an embodiment of the present application;
FIG. 6B is yet another illustration of a picture preview interface disclosed in an embodiment of the present application;
FIG. 6C is yet another illustration of a picture preview interface disclosed in an embodiment of the present application;
FIG. 6D is yet another illustration of a picture preview interface disclosed in an embodiment of the present application;
FIG. 6E is yet another illustration of a picture preview interface disclosed in an embodiment of the present application;
FIG. 6F is yet another illustration of a picture preview interface disclosed in an embodiment of the present application;
FIG. 6G is yet another illustration of a picture preview interface disclosed in an embodiment of the present application;
Fig. 7 is a block diagram of a structure of a picture previewing apparatus according to an embodiment of the present application;
fig. 8 is a structural diagram of an electronic device disclosed in an embodiment of the present application.
Detailed Description
The embodiment of the application provides a picture previewing method, a picture previewing device, electronic equipment and a storage medium, which can improve the picture previewing efficiency.
In order for those skilled in the art to better understand the present application, the following description will describe embodiments of the present application with reference to the accompanying drawings, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. Based on the examples in this application, all shall fall within the scope of protection of this application.
It is understood that the electronic devices referred to in the embodiments of the present application may include general hand-held on-screen electronic user terminals, such as mobile phones, smart phones, portable terminals, personal digital assistants (Personal Digital Assistant, PDA), portable multimedia player (Personal Media Player, PMP) devices, notebook computers, notebook (Note Pad), wireless broadband (Wireless Broadband, wibro) terminals, tablet computers (Personal Computer, PC), smart PCs, point of sale (POS), and car computers.
The electronic device may also include a wearable device. The wearable device may be worn directly on the user or be a portable electronic device integrated into the user's clothing or accessories. The wearable device is not only a hardware device, but also can realize powerful intelligent functions through software support, data interaction and cloud server interaction, such as: the mobile phone terminal has the advantages of calculating function, positioning function and alarming function, and can be connected with mobile phones and various terminals. Wearable devices may include, but are not limited to, wrist-supported watch types (e.g., watches, wrist products, etc.), foot-supported shoes (e.g., shoes, socks, or other leg wear products), head-supported Glass types (e.g., glasses, helmets, headbands, etc.), and smart apparel, school bags, crutches, accessories, etc. in various non-mainstream product forms.
The following description of the application refers to the specific terminology:
buffer space: temporary storage is located between the CPU (Central Processing Unit ) and the memory.
Nonvolatile memory space: refers to a memory in which stored data does not disappear when the current is turned off.
Referring to fig. 1, fig. 1 is a schematic view of a scene of a picture preview method disclosed in an embodiment of the present application. The schematic of the scenario as shown in fig. 1 may include an electronic device 10. The electronic device 10 determines a selected target picture in response to a selection operation for a picture in the picture selection area, and displays an enlarged picture of the target picture in a middle position of the picture preview area; wherein, in the picture selection area, the picture of the first type is allowed to be selected, the picture of the second type is forbidden to be selected, and the quality of the picture of the first type is larger than that of the picture of the second type. By implementing the method, the picture with relatively good quality is allowed to be selected, and the picture with relatively poor quality is forbidden to be selected, so that the electronic equipment can automatically remove the picture with relatively poor quality when a user browses the picture in the picture selection area, and the preview efficiency of the picture is further improved. .
Referring to fig. 2, fig. 2 is a flow chart of a picture preview method disclosed in an embodiment of the present application. The flow diagram as shown in fig. 2 may include the following steps:
201. determining a selected target picture in response to a selection operation for the picture in the picture selection area, and displaying an enlarged picture of the target picture in the middle position of the picture preview area; wherein, in the picture selection area, the picture of the first type is allowed to be selected, the picture of the second type is forbidden to be selected, and the quality of the picture of the first type is larger than that of the picture of the second type.
Wherein the target picture refers to any one of the pictures of the first type. The quality of a picture may be related to the aesthetic element corresponding to the picture, which may include at least any one of: expression, composition, color, etc.
In some embodiments, the selecting operation may include a clicking operation or a sliding operation, and embodiments of the present application are not limited.
In some embodiments, the selected target picture may be scaled up in a specified ratio; or, selecting a selected frame; alternatively, identification information indicating the selection is displayed.
In some embodiments, the arrangement manner of the pictures in the picture selection area may be waterfall flow type or picture axis type, which is not limited in the embodiments of the present application. The waterfall flow type refers to a layout mode with multiple rows of equal width and unequal height, or a layout mode with multiple rows of equal width and equal height; the picture axis type refers to a layout mode that single columns are transversely arranged in sequence. Fig. 3A is an exemplary diagram illustrating a waterfall flow type picture arrangement according to an embodiment of the present application. Fig. 3B is a picture arrangement diagram of a picture axis type disclosed in the embodiment of the present application.
The number of the pictures displayed in the picture selection area is related to the size of a display screen of the electronic device, and the larger the display screen is, the larger the number of the pictures displayed in the picture selection area is. Illustratively, according to the grid display, the small screen 4 displays 4 columns, the middle screen 8 displays 6 columns, and the large screen 12 displays 8 columns.
In some embodiments, the selecting operation includes a sliding operation, and the picture selection area hovers over a selection frame within which the target picture is located.
In some embodiments, the box is in the middle of the picture selection region.
In some embodiments, the shape of the selection frame may be rectangular, circular, oval, or rounded rectangle, which is not limited in this embodiment.
Further, if the arrangement mode of the pictures in the picture selection area is a waterfall flow, the sliding operation is used for moving any picture in the picture selection area. If the arrangement mode of the pictures in the picture selection area is picture shaft type, the sliding operation is used for synchronously moving all the pictures in the picture selection area.
In some embodiments, if the arrangement manner of the pictures in the picture selection area is a picture axis, the sliding operation includes a moving operation and a releasing operation, and the determining the selected target picture in response to the selecting operation for the pictures in the picture selection area may include:
Controlling the pictures in the picture selection area to synchronously move in a first direction in response to a moving operation for the pictures in the picture selection area;
determining a first picture moving into a selection frame in response to a release operation for the picture in the picture selection area;
if the first picture is of the first type, determining the first picture as a target picture;
if the first picture is of the second type, controlling the pictures in the picture selection area to continue to synchronously move in the first direction or the second direction until the pictures of the first type with the minimum picture number or the pictures of the first type which are not displayed in the selection frame are in the selection frame, and determining the pictures of the first type in the selection frame as target pictures; wherein the first direction and the second direction are opposite.
The first direction and the second direction are described below: when the electronic device is in the vertical screen mode, the first direction refers to a direction towards one long side of the electronic device, and the second direction refers to a direction towards the other long side of the electronic device. In the vertical screen mode, the first direction refers to a direction toward one short side of the electronic device, and the second direction refers to a direction toward the other short side of the electronic device.
In some embodiments, if the arrangement manner of the pictures in the picture selection area is a waterfall flow, determining the selected target picture in response to the selection operation for the pictures in the picture selection area may include: and controlling any picture to be in the frame in response to the sliding operation of any picture in the picture selection area, if any picture is of a first type, the any picture is a target picture, and if any picture is of a second type, the picture in the frame is switched to be the picture of the first type which is not presented in the frame.
In some embodiments, the pictures in the picture selection area may be continuously acquired by the camera module of the electronic device for a specified period of time. By way of example, the specified duration may be a short period of time of 3s (seconds), 5s, or the like. The camera module of the electronic device continuously collects pictures within a specified duration, and can be triggered by a user pressing one or more shooting keys. It should be noted that if continuous image acquisition within a specified duration is triggered by a user pressing a photographing key multiple times, the number of acquired images and the number of pressing times may be the same.
Further, the electronic device may further display a time point of acquisition of the target picture at the first designated position. Alternatively, the first specified position may be a position near the picture selection region.
Alternatively, the format of the acquisition time point may be acquisition time point/specified duration.
In some embodiments, the size of the picture preview area may be greater than the size of the picture selection area. The size of the enlarged picture of the target picture may be determined according to the screen size of the electronic device.
In some embodiments, the picture preview region and the picture selection region may be vertically distributed or horizontally distributed. The following embodiments mainly take vertical distribution of a picture preview area and a picture selection area as examples.
In some embodiments, the picture preview area only displays the magnified picture of the target picture in its entirety, or the picture preview area displays the magnified picture of the target picture and the magnified pictures of the other first type of pictures in its entirety. Wherein the target picture and the other pictures of the first type are arranged laterally.
It will be appreciated that the width of the picture preview area in the portrait mode is typically small, and in order to ensure the preview effect of the target picture, only the enlarged picture of the target picture is typically displayed in the picture preview area. When the electronic device is in the landscape mode, the width of the picture preview area is usually larger, and in order to enable a user to preview multiple pictures synchronously, in general, in the picture preview area, enlarged pictures of other first type pictures can be displayed completely besides the enlarged pictures of the target picture in the middle position.
In some embodiments, to ensure a larger presentation space for the picture preview area, the size of the picture selection area of the electronic device in the landscape mode is typically smaller. The size of the picture selection area of the electronic device in the horizontal screen mode is obtained by reducing the size of the picture selection area of the electronic device by 70% in an equal ratio in the vertical screen mode.
In some embodiments, the brightness of the first type of picture is higher than the brightness of the second type of picture. By implementing the method, the user can intuitively distinguish the picture with relatively good quality from the picture with relatively poor quality.
Next, a picture preview area, a picture selection area, a frame selection, and the like will be described with reference to fig. 4A to 4B. It should be noted that, in the following examples, the arrangement manner of the pictures in the picture selection area is a picture axis.
Referring to fig. 4A, fig. 4A is a schematic illustration of a picture preview interface of the electronic device in a portrait mode. The picture preview interface shown in fig. 4A includes a picture preview area 400, a picture selection area 410, and a selection box 420. The enlarged picture of the picture 3 is displayed in the middle of the picture preview area 400, and the picture selection area 410 includes the picture 1, the picture 2, the picture 3, the picture 4, the picture 5 and the picture 6. The picture 6 is a second type of picture, the picture 1, the picture 2, the picture 3, the picture 4 and the picture 5 are all first type of pictures, the picture 3 is in the frame 420, and the acquisition time corresponding to the picture 3 is displayed in the upper area of the frame 420.
Referring to fig. 4B, fig. 4B is another illustration of a picture preview interface when the electronic device is in a landscape mode. The picture preview interface shown in fig. 4B includes a picture preview area 400, a picture selection area 410, and a selection box 420. The enlarged picture of the picture 3 is displayed in the middle of the picture preview area 400, the enlarged picture of the picture 2 is completely displayed on the left side of the enlarged picture of the picture 3, and the enlarged picture of the picture 4 is completely displayed on the right side of the enlarged picture of the picture 3. The picture selection area 410 includes picture 1, picture 2, picture 3, picture 4, picture 5, and picture 6. The picture 6 is a second type of picture, the picture 1, the picture 2, the picture 3, the picture 4 and the picture 5 are all first type of pictures, the picture 3 is located in the selection frame 420, and the acquisition time corresponding to the picture 3 is displayed in the upper area of the selection frame 420.
By implementing the method, the electronic equipment sets the picture with relatively good quality to be allowed to be selected, and the picture with relatively poor quality is forbidden to be selected, so that the electronic equipment can automatically skip the picture with relatively poor quality when browsing the picture in the picture selection area, so that the user only previews the picture with relatively good quality, and the previewing efficiency of the picture is improved.
Referring to fig. 5, fig. 5 is another flow chart of a picture preview method disclosed in an embodiment of the present application. The picture browsing method as shown in fig. 5 may include the steps of:
501. and playing the pictures continuously collected in the appointed time period through the camera module of the electronic equipment on a playing interface, wherein the playing interface comprises a second operation component for indicating to view the pictures of the first type.
In some embodiments, the playback interface is generated and displayed after the camera module completes the collection of the pictures for the specified duration. In the vicinity of the second operation member, action information indicating the second operation member may also be displayed. For example, the action information may be "view a first type of picture".
In some embodiments, the playback interface may include a picture playback area and a toolbar area. The picture playing area can be used for sequentially playing the collected pictures according to the sequence of the collection time. The toolbar region is used for displaying a picture axis and at least one operation component, and the picture axis can comprise collected picture thumbnails which are sequentially arranged according to the sequence of the collection time. The at least one operational component may include: a component for sharing, a component for collecting, a component for editing, a component for deleting, a menu operation component, and the like. Wherein the menu operation component can be used to trigger the display of other operation components.
In some embodiments, the playback interface may also include a playback control component and a volume control component.
In some embodiments, the play control component and the volume control component may be displayed in the toolbar region and both may be laterally distributed with respect to the picture axis, and the play control component and the volume control component may be located on either side of the picture axis, respectively.
In some embodiments, the playback interface further includes a title bar area for displaying title information describing the picture. Illustratively, the title information is a time of picture taking, etc.
In some embodiments, the play interface further includes a bottom navigation bar area for displaying a bottom navigation mark.
In some embodiments, the playback interface is a title bar area, a picture playback area, a toolbar area, and a bottom navigation bar area in that order from top to bottom. The width of the picture playing area=the screen width-2 of the electronic device is a first interval, and the first interval refers to the interval between the picture playing area and the side of the screen. The height of the picture playing area = the screen height of the electronic device-the height of the title bar-the height of the toolbar area-the bottom navigation bar height-2 the second pitch, wherein one second pitch refers to the interval between the title bar area and the picture playing area and the other second pitch refers to the interval between the picture playing area and the toolbar area. Illustratively, the first pitch is 24 and the second pitch is 16.
Referring to fig. 6A, fig. 6A is a schematic illustration of a playback interface according to an embodiment of the present application. The playback interface shown in FIG. 6A may include a title bar area 600, a picture playback area 610, a toolbar area 620, and a bottom navigation bar area 630; wherein the title bar area 600 includes text "today" indicating the picture taking time; the picture playing area 610 includes a second operation component 611 and picture 1. Toolbar area 620 includes a longitudinally distributed picture axis area 621 and a tool component area 622. The picture shaft region comprises a picture shaft composed of a picture 1, a picture 2, a picture 3, a picture 4, a picture 5 and a picture 6, and a play control component and a volume control component which are positioned at two sides of the picture shaft. The tool component area 622 includes components for sharing, components for stowing, components for editing, components for deleting, and menu operation components.
502. Responding to triggering operation aiming at the second operation component, switching the playing interface into a picture preview interface, wherein the picture preview interface comprises a picture preview area and a picture selection area; the pictures in the picture selection area comprise pictures continuously collected by the camera module of the electronic equipment in a specified duration.
503. Determining a selected target picture in response to a selection operation for the picture in the picture selection area, and displaying an enlarged picture of the target picture in the middle position of the picture preview area; wherein, in the picture selection area, the picture of the first type is allowed to be selected, the picture of the second type is forbidden to be selected, and the quality of the picture of the first type is larger than that of the picture of the second type.
It should be noted that, for the detailed description of step 503, please refer to the description of step 201 shown in fig. 2, and the detailed description is omitted here.
In some embodiments, pictures continuously acquired by the camera module of the electronic device within a specified duration may be stored in a cache space of the electronic device. After step 503, the electronic device may further store the target picture from the buffer space to a nonvolatile storage space of the electronic device in response to a save operation for the target picture.
In some embodiments, the save operation may include any of the following: pressing operation, sliding gesture operation, and voice operation.
In some embodiments, a first operation component for saving the picture may be displayed in a floating manner at a middle position of the picture preview region, and the saving operation may include a trigger operation for the first operation component.
In some embodiments, the triggering operation for the first operation component may include a short press operation, a long press operation, and the like, which are not limited in the embodiments of the present application.
By implementing the method, a first operation component for saving the picture is always exposed in the middle position of the picture preview area, and the picture displayed in the middle of the picture preview area in an enlarged mode can be saved by triggering the first operation component. Compared with the scheme that a storage button is arranged on each picture, the method can better reduce visual interference and improve user experience when in a middle-large screen and a small-transverse screen.
In some embodiments, after the target picture is saved, a prompt message indicating that the target picture is saved successfully may also be output. The prompt information at least can comprise any one of the following: audio, text, or icons.
In some embodiments, if the hint information includes text, outputting hint information indicating that the target picture was successfully saved at a second specified location of the picture preview interface. Alternatively, the second designated location may be on a side of the frame near the image preview area, or on a side of the frame far from the image preview area, which is not limited in the embodiment of the present application. Exemplary, the hint information is "saved"
In some embodiments, the second designated location may be the same as the first designated location. It will be appreciated that if the prompt includes text and/or icons, the prompt will cover the acquisition time point of the displayed target picture.
For example, please refer to fig. 6B-6C for the preservation of the target picture. Fig. 6B is yet another illustration of a picture preview interface disclosed in an embodiment of the present application. The picture preview interface shown in fig. 6B includes a picture preview area 400, a picture selection area 410, and a selection box 420. The middle position of the picture preview area 400 displays an enlarged picture of the picture 3, and the first operation component 401 is suspended on the enlarged picture of the picture 3. The picture selection area 410 includes picture 1, picture 2, picture 3, picture 4, picture 5, and picture 6. The picture 6 is a second type of picture, the picture 1, the picture 2, the picture 3, the picture 4 and the picture 5 are all first type of pictures, the picture 3 is in the frame 420, and the acquisition time corresponding to the picture 3 is displayed in the upper area of the frame 420.
Note that fig. 6C is a picture preview interface generated in response to a trigger operation for the first operation component 401, and the picture preview interface shown in fig. 6C includes a picture preview area 400, a picture selection area 410, and a selection box 420. The middle position of the picture preview area 400 displays an enlarged picture of the picture 3, and the first operation component 401 is suspended on the enlarged picture of the picture 3. The picture selection area 410 includes picture 1, picture 2, picture 3, picture 4, picture 5, and picture 6. The picture 6 is a second type of picture, the picture 1, the picture 2, the picture 3, the picture 4 and the picture 5 are all first type of pictures, the picture 3 is in the frame 420, and the prompt message "saved" for the success of saving the picture 3 is displayed in the upper area of the frame 420.
In some embodiments, pictures continuously acquired by the camera module of the electronic device within a specified period of time may be stored in the nonvolatile storage of the electronic device, and the electronic device may further delete the second type of picture from the nonvolatile storage in response to a delete operation for the second type of picture.
Wherein, the deleting operation may include any one of the following: pressing operation, sliding gesture operation, and voice operation.
In some embodiments, a third operating component for deleting the second type of picture may also be displayed in hover over the picture preview interface. Further, the deleting operation for the second type of picture may include: triggering operations for the third operational component. Optionally, the triggering operation for the third operation component includes pressing the third operation component for a long time or pressing the third operation component for a short time.
In some embodiments, the third operational component may be displayed in a floating manner in the picture preview area.
For example, please refer to fig. 6D-6E regarding deletion of the second type of picture. Fig. 6D is yet another illustration of a picture preview interface disclosed in an embodiment of the present application. The picture preview interface shown in fig. 6D includes a picture preview area 400, a picture selection area 410, and a selection box 420. The middle position of the picture preview area 400 displays an enlarged picture of the picture 3, and the enlarged picture of the picture 3 is suspended with the third operation component 402. The picture selection area 410 includes picture 1, picture 2, picture 3, picture 4, picture 5, and picture 6. The picture 6 is a second type of picture, the picture 1, the picture 2, the picture 3, the picture 4 and the picture 5 are all first type of pictures, the picture 3 is in the frame 420, and the acquisition time corresponding to the picture 3 is displayed in the upper area of the frame 420.
Note that fig. 6E is a picture preview interface generated in response to a trigger operation for the third operation component 402, and the picture preview interface shown in fig. 6E includes a picture preview area 400, a picture selection area 410, and a selection box 420. Wherein the middle position of the picture preview area 400 displays the enlarged picture of the picture 3. The picture selection area 410 includes a picture 1, a picture 2, a picture 3, a picture 4 and a picture 5, the picture 3 is in the selection frame 420, and the acquisition time corresponding to the picture 3 is displayed in the upper area of the selection frame 420.
In some embodiments, the picture preview region further includes an enlarged picture adjacent to the enlarged picture of the target picture and belonging to the second picture of the first type. After the electronic device displays the enlarged picture of the target picture in the middle position of the picture preview area, the electronic device may also display the enlarged picture of the second picture in the middle position of the picture preview area in response to the target operation for the picture preview area, and switch the selected picture in the picture selection area from the target picture to the second picture.
In some embodiments, the target operation may include a sliding operation. For the display of the second picture in the picture preview area before the response to the target operation, reference may be made to the examples of the picture preview interfaces shown in fig. 4A to 4B. The target picture is fig. 3, the second picture is picture 4, the enlarged picture of picture 4 is not displayed in the picture preview area shown in fig. 4A, and the enlarged picture of picture 4 is displayed in the picture preview area shown in fig. 4B.
For a diagram of a picture preview interface generated by triggering a target operation for a picture preview area, please refer to fig. 6F-6G below. Wherein the picture preview interface shown in fig. 6F is generated in response to a target operation for the picture preview area shown in fig. 4A. The picture preview interface shown in fig. 6G is generated in response to a target operation for the picture preview area shown in fig. 4B.
The picture preview interface shown in fig. 6F includes a picture preview area 400, a picture selection area 410, and a selection box 420. Wherein the middle position of the picture preview area 400 displays the enlarged picture of the picture 4. Picture 2, picture 3, picture 4, picture 5, and picture 6 are displayed in their entirety in picture selection area 410. Wherein picture 6 is a picture of a second type. The picture 2, the picture 3, the picture 4 and the picture 5 are all pictures of a first type, the picture 4 is positioned in the selection frame 420, and the acquisition time '00:00/03:30' corresponding to the picture 4 is displayed in the upper side area of the selection frame 420.
The picture preview interface shown in fig. 6G includes a picture preview area 400, a picture selection area 410, and a selection box 420. The middle position of the picture preview area 400 displays an enlarged picture of the picture 4, the left side of the enlarged picture of the picture 4 is completely displayed with an enlarged picture of the picture 3, and the right side of the enlarged picture of the picture 4 is completely displayed with an enlarged picture of the picture 5. The picture selection area 410 includes picture 1, picture 2, picture 3, picture 4, picture 5, and picture 6. The picture 6 is a second type of picture, the picture 1, the picture 2, the picture 3, the picture 4 and the picture 5 are all first type of pictures, the picture 4 is located in the selection frame 420, and the acquisition time "00:00/03:30" corresponding to the picture 4 is displayed in the upper side area of the selection frame 420.
In some embodiments, the pictures within the picture selection region are stored in a cache space of the electronic device. And if the target picture is a picture corresponding to the highest quality grade in the quality grades, storing the target picture into a nonvolatile storage space of the electronic equipment from the cache space. By implementing the method, the first type of pictures with the highest quality level can be directly stored without user intervention, and the intelligent degree of the electronic equipment is greatly improved.
By implementing the method, after the image capturing module finishes the image capturing of the specified duration, the electronic device can generate and display a playing interface to play the images continuously captured by the image capturing module in the specified duration, so that a user previews the video consisting of the images of the specified duration. The electronic device may also jump from the play interface to a view picture preview interface for the user to preview the picture in response to a triggering operation for the second operational component. Further, the electronic device sets that the picture with relatively good quality is allowed to be selected, and the picture with relatively poor quality is forbidden to be selected, based on the picture, when the user browses the picture in the picture selection area, the electronic device can automatically skip the picture with relatively poor quality, so that the user can preview only the picture with relatively good quality, and the preview efficiency of the picture is improved.
Referring to fig. 7, fig. 7 is a block diagram illustrating a structure of a picture preview apparatus according to an embodiment of the present application. The picture preview apparatus as shown in fig. 7 may include a preview unit 701; wherein:
a preview unit 701, configured to determine a selected target picture in response to a selection operation for a picture in the picture selection area, and display an enlarged picture of the target picture in a middle position of the picture preview area; wherein, in the picture selection area, the picture of the first type is allowed to be selected, the picture of the second type is forbidden to be selected, and the quality of the picture of the first type is larger than that of the picture of the second type.
In some embodiments, the selecting operation includes a sliding operation, and the picture selection area hovers with the frame, and the target picture is within the frame.
In some embodiments, the box is in the middle of the picture selection region.
In some embodiments, the arrangement of the pictures in the picture selection area is a waterfall stream, and the sliding operation is used to move any picture in the picture selection area.
In some embodiments, the arrangement of the pictures in the picture selection area is picture-axis, and the sliding operation is used to move all the pictures in the picture selection area synchronously.
In some embodiments, the sliding operation includes a moving operation and a releasing operation. The manner in which the preview unit 701 is configured to determine the selected target picture in response to the selection operation for the picture in the picture selection area may specifically include: a preview unit 701 for controlling the pictures in the picture selection area to move synchronously in the first direction in response to a moving operation for the pictures in the picture selection area; and determining a first picture to be moved into the selection frame in response to a release operation for the picture in the picture selection area; and if the first picture is of the first type, determining the first picture as a target picture; and if the first picture is of the second type, controlling the pictures in the picture selection area to continue to synchronously move in the first direction or the second direction until the pictures of the first type with the minimum picture number or the pictures of the first type which are not displayed in the selection frame are in the selection frame, and determining the pictures of the first type in the selection frame as target pictures; wherein the first direction and the second direction are opposite.
In some embodiments, the pictures within the picture selection region are stored in a nonvolatile memory space of the electronic device. The picture preview apparatus as in fig. 7 may further include a deletion unit (not shown) for deleting the second-type picture from the nonvolatile storage space in response to a deletion operation for the second-type picture.
In some embodiments, the pictures within the picture selection region are stored in a cache space of the electronic device; the picture preview apparatus as in fig. 7 may further include a first saving unit (not shown) for storing the target picture from the buffer space to the nonvolatile storage space of the electronic device in response to a saving operation for the target picture.
In some embodiments, a first operation component for saving the picture is displayed in a floating manner at a middle position of the picture preview area, and the saving operation includes a triggering operation for the first operation component.
In some embodiments, the first saving unit is further configured to output a prompt message indicating that the target picture is successfully saved after saving the target picture.
In some embodiments, the pictures in the picture selection area are continuously acquired by the camera module of the electronic device for a specified period of time. The picture preview apparatus shown in fig. 7 may further include a play unit (not shown). The playing unit is used for playing the pictures continuously collected in the appointed time period on the playing interface, and the playing interface comprises a second operation component for indicating to view the pictures of the first type; and responding to the triggering operation aiming at the second operation component, switching the playing interface to be a picture preview interface, wherein the picture preview interface comprises a picture preview area and a picture selection area.
In some embodiments, the brightness of the first type of picture is higher than the brightness of the second type of picture.
In some embodiments, the picture preview region further includes an enlarged picture adjacent to the enlarged picture of the target picture and belonging to the second picture of the first type. The preview unit 701 is further configured to display, in response to a target operation for the picture preview area, an enlarged picture of the second picture at a middle position of the picture preview area, and switch the selected picture in the picture selection area from the target picture to the second picture.
In some embodiments, the pictures in the picture selection area are stored in a buffer space of the electronic device, and the pictures of the first type include pictures corresponding to a plurality of quality levels. The picture previewing apparatus of fig. 7 may further include a second saving unit (not shown in the drawing), where the second saving unit is configured to store the target picture from the buffer space to the nonvolatile storage space of the electronic device if the target picture is a picture corresponding to a highest quality level among the plurality of quality levels.
Referring to fig. 8, fig. 8 is a structural diagram of an electronic device according to an embodiment of the present disclosure. The electronic device as shown in fig. 8 may include a processor 801, a memory 802 coupled to the processor 801, wherein the memory 802 may store one or more computer programs.
Processor 801 may include one or more processing cores. The processor 801 utilizes various interfaces and lines to connect various portions of the overall electronic device, perform various functions of the electronic device, and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 802, and invoking data stored in the memory 802. Alternatively, the processor 801 may be implemented in hardware in at least one of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA). The processor 801 may integrate one or a combination of several of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), and a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for being responsible for rendering and drawing of display content; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 801 and may be implemented solely by a single communication chip.
The Memory 802 may include a random access Memory (Random Access Memory, RAM) or a Read-Only Memory (ROM). Memory 802 may be used to store instructions, programs, code, sets of codes, or instruction sets. The memory 802 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (e.g., a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, and the like. The storage data area may also store data created by the electronic device in use, etc.
In the present embodiment, the processor 801 also has the following functions:
determining a selected target picture in response to a selection operation for the picture in the picture selection area, and displaying an enlarged picture of the target picture in the middle position of the picture preview area; wherein, in the picture selection area, the picture of the first type is allowed to be selected, the picture of the second type is forbidden to be selected, and the quality of the picture of the first type is larger than that of the picture of the second type.
In the embodiment of the application, the selecting operation includes a sliding operation, the picture selecting area is displayed with a frame in a floating mode, and the target picture is located in the frame.
In the embodiment of the present application, the selection frame is located in the middle position of the picture selection area.
In the embodiment of the present application, the arrangement mode of the pictures in the picture selection area is a waterfall flow, and the sliding operation is used for moving any picture in the picture selection area.
In the embodiment of the present application, the arrangement manner of the pictures in the picture selection area is a picture axis, and the sliding operation is used for synchronously moving all the pictures in the picture selection area.
In the embodiment of the present application, the sliding operation includes a moving operation and a releasing operation; the processor 801 also has the following functions:
controlling the pictures in the picture selection area to synchronously move in a first direction in response to a moving operation for the pictures in the picture selection area;
determining a first picture moving into a selection frame in response to a release operation for the picture in the picture selection area;
if the first picture is of the first type, determining the first picture as a target picture;
if the first picture is of the second type, controlling the pictures in the picture selection area to continue to synchronously move in the first direction or the second direction until the pictures of the first type with the minimum picture number or the pictures of the first type which are not displayed in the selection frame are in the selection frame, and determining the pictures of the first type in the selection frame as target pictures; wherein the first direction and the second direction are opposite.
In the embodiment of the application, the pictures in the picture selection area are stored in a nonvolatile storage space of the electronic equipment; the processor 801 also has the following functions:
the second type of picture is deleted from the nonvolatile storage space in response to a delete operation for the second type of picture.
In the embodiment of the application, the pictures in the selected area are stored in a cache space of the electronic equipment; the processor 801 also has the following functions:
and in response to the save operation for the target picture, storing the target picture into a nonvolatile storage space of the electronic device from the cache space.
In the embodiment of the application, a first operation component for saving the picture is displayed in a floating manner at the middle position of the picture preview area, and the saving operation comprises a triggering operation for the first operation component.
In the present embodiment, the processor 801 also has the following functions:
and outputting prompt information indicating that the target picture is successfully stored.
In the embodiment of the application, the pictures in the picture selection area are continuously acquired by the camera module of the electronic equipment within a specified duration; the processor 801 also has the following functions:
continuously collecting pictures in a designated time period on a playing interface, wherein the playing interface comprises a second operation component for indicating to view the pictures of the first type;
And responding to the triggering operation aiming at the second operation component, switching the playing interface to be a picture preview interface, wherein the picture preview interface comprises a picture preview area and a picture selection area.
In the embodiment of the present application, the brightness of the first type of picture is higher than the brightness of the second type of picture.
In this embodiment of the present application, the picture preview area further includes an enlarged picture adjacent to the enlarged picture of the target picture and belonging to the second picture of the first type. The processor 801 also has the following functions:
and responding to the target operation for the picture preview area, displaying the magnified picture of the second picture at the middle position of the picture preview area, and switching the selected picture in the picture selection area from the target picture to the second picture.
In the embodiment of the application, the pictures in the picture selection area are stored in a cache space of the electronic device, and the pictures of the first type comprise pictures corresponding to a plurality of quality grades. The processor 801 also has the following functions:
and if the target picture is the picture corresponding to the highest quality grade in the quality grades, storing the target picture into a nonvolatile storage space of the electronic equipment from the cache space.
The application embodiment discloses a computer readable storage medium storing a computer program, wherein the computer program, when executed by a processor, causes the processor to implement some or all of the steps performed by the electronic device in the above embodiment.
The present application discloses a computer program product which, when run on a computer, causes the computer to perform some or all of the steps performed by the electronic device in the above embodiments.
The embodiment of the application discloses an application release platform, which is used for releasing a computer program product, wherein when the computer program product runs on a computer, the computer is caused to execute part or all of the steps executed by electronic equipment in the embodiment.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product.
The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions in accordance with embodiments of the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). Computer readable storage media can be any available media that can be stored by a computer or data storage devices such as servers, data centers, etc. that contain an integration of one or more available media. Usable media may be magnetic media (e.g., floppy disks, magnetic tape), optical media (e.g., DVD), or semiconductor media (e.g., solid State Disk (SSD)), among others.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of elements is merely a logical functional division, and there may be additional divisions of actual implementation, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable magnetic disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or the like, which can store program codes.
The above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the corresponding technical solutions.

Claims (17)

1. A picture preview method, comprising:
determining a selected target picture in response to a selection operation for the picture in the picture selection area, and displaying an enlarged picture of the target picture in the middle position of the picture preview area; and in the picture selection area, the picture of the first type is allowed to be selected, the picture of the second type is forbidden to be selected, and the quality of the picture of the first type is larger than that of the picture of the second type.
2. The method of claim 1, wherein the selecting operation comprises a sliding operation, the picture selection area hovering with a box, the target picture being within the box.
3. The method of claim 2, wherein the frame is in a middle position of the picture selection region.
4. The method according to claim 2, wherein the pictures in the picture selection area are arranged in a waterfall stream, and the sliding operation is used to move any picture in the picture selection area.
5. The method of claim 2, wherein the arrangement of the pictures in the picture selection area is picture-axis, and the sliding operation is used to move all pictures in the picture selection area synchronously.
6. The method of claim 5, wherein the sliding operation comprises a move operation and a release operation, the determining the selected target picture in response to a selection operation for a picture within a picture selection area comprising:
controlling the pictures in the picture selection area to synchronously move in a first direction in response to a moving operation for the pictures in the picture selection area;
determining a first picture moving into the selection frame in response to a release operation for the picture in the picture selection area;
if the first picture is of the first type, determining the first picture as a target picture;
If the first picture is of the second type, controlling the pictures in the picture selection area to continue to synchronously move in the first direction or the second direction until the picture of the first type, which is separated from the first picture by the minimum number of pictures or the picture of the first type which is not presented in the selection frame, is in the selection frame, and determining the picture of the first type in the selection frame as a target picture; wherein the first direction and the second direction are opposite in direction.
7. The method of any of claims 1-6, wherein the pictures within the picture selection region are stored in a nonvolatile memory space of the electronic device; the method further comprises the steps of:
and deleting the second type of picture from the nonvolatile storage space in response to a deleting operation for the second type of picture.
8. The method according to any one of claims 1-6, wherein the picture in the picture selection area is stored in a buffer space of the electronic device, and wherein after displaying the enlarged picture of the target picture in an intermediate position in the picture preview area, the method further comprises:
And responding to a save operation for the target picture, and storing the target picture into a nonvolatile storage space of the electronic equipment by the cache space.
9. The method according to claim 8, wherein a first operation component for saving a picture is displayed in suspension at an intermediate position of the picture preview area, the saving operation including a trigger operation for the first operation component.
10. The method of claim 8, wherein after the saving of the target picture, the method further comprises:
and outputting prompt information indicating that the target picture is successfully stored.
11. The method of any one of claims 1-6, wherein the pictures in the picture selection area are continuously acquired by a camera module of the electronic device for a specified duration; before the determining the selected target picture in response to the selecting operation for the picture in the picture selection area, the method further comprises:
continuously collecting pictures in the appointed time period in a playing interface, wherein the playing interface comprises a second operation component for indicating to view the pictures of the first type;
And responding to the triggering operation aiming at the second operation component, switching the playing interface into a picture preview interface, wherein the picture preview interface comprises the picture preview area and the picture selection area.
12. The method according to any of claims 1-6, wherein the first type of picture has a higher luminance than the second type of picture.
13. The method of any of claims 1-6, wherein the picture preview region further comprises a magnified picture adjacent to the magnified picture of the target picture and belonging to the first type of second picture, the method further comprising, after displaying the magnified picture of the target picture in a middle position of the picture preview region:
and responding to the target operation for the picture preview area, displaying the enlarged picture of the second picture at the middle position of the picture preview area, and switching the selected picture in the picture selection area from the target picture to the second picture.
14. The method of any of claims 1-6, wherein the pictures in the picture selection area are stored in a cache space of an electronic device, the first type of picture comprising a plurality of quality-level-corresponding pictures, the method further comprising:
And if the target picture is the picture corresponding to the highest quality grade in the quality grades, storing the target picture into a nonvolatile storage space of the electronic equipment from the cache space.
15. A picture preview apparatus, comprising:
a preview unit, configured to determine a selected target picture in response to a selection operation for a picture in a picture selection area, and display an enlarged picture of the target picture in a middle position of the picture preview area; and in the picture selection area, the picture of the first type is allowed to be selected, the picture of the second type is forbidden to be selected, and the quality of the picture of the first type is larger than that of the picture of the second type.
16. An electronic device, comprising:
a memory storing executable program code;
and a processor coupled to the memory;
the processor invoking the executable program code stored in the memory, which when executed by the processor, causes the processor to implement the method of any of claims 1-14.
17. A computer readable storage medium having executable program code stored thereon, wherein the executable program code, when executed by a processor, implements the method of any of claims 1-14.
CN202211020752.5A 2022-08-24 2022-08-24 Picture previewing method and device, electronic equipment and storage medium Pending CN117666894A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211020752.5A CN117666894A (en) 2022-08-24 2022-08-24 Picture previewing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211020752.5A CN117666894A (en) 2022-08-24 2022-08-24 Picture previewing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117666894A true CN117666894A (en) 2024-03-08

Family

ID=90066655

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211020752.5A Pending CN117666894A (en) 2022-08-24 2022-08-24 Picture previewing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117666894A (en)

Similar Documents

Publication Publication Date Title
CN107341018B (en) Method and device for continuously displaying view after page switching
CN108089788B (en) Thumbnail display control method and mobile terminal
CN109936763B (en) Video processing and publishing method
WO2022205798A1 (en) Multimedia information editing method and apparatus therefor
US11580155B2 (en) Display device for displaying related digital images
WO2020172826A1 (en) Video processing method and mobile device
US10622021B2 (en) Method and system for video editing
US20110161818A1 (en) Method and apparatus for video chapter utilization in video player ui
CN113766129B (en) Video recording method, video recording device, electronic equipment and medium
CN110007829B (en) Content display method, device, terminal and storage medium
CN111612873A (en) GIF picture generation method and device and electronic equipment
CN111935527B (en) Information display method, video playing method and equipment
CN112887794B (en) Video editing method and device
CN112860163A (en) Image editing method and device
CN112073678A (en) Display device
JP6142897B2 (en) Image display device, display control method, and program
CN112887802A (en) Video access method and device
CN116301485A (en) Icon display method and device
EP4345647A1 (en) Information publishing method and apparatus, information display method and apparatus, electronic device, and medium
CN113918522A (en) File generation method and device and electronic equipment
CN111770374A (en) Video playing method and device
CN111679772B (en) Screen recording method and system, multi-screen device and readable storage medium
JP2012004747A (en) Electronic equipment and image display method
JP5612457B2 (en) Moving image display device, moving image object search system, moving image display method and program
CN117666894A (en) Picture previewing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination