CN113127425B - Picture processing method and device and electronic equipment - Google Patents

Picture processing method and device and electronic equipment Download PDF

Info

Publication number
CN113127425B
CN113127425B CN202110272312.8A CN202110272312A CN113127425B CN 113127425 B CN113127425 B CN 113127425B CN 202110272312 A CN202110272312 A CN 202110272312A CN 113127425 B CN113127425 B CN 113127425B
Authority
CN
China
Prior art keywords
preview
picture
input
user
image
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.)
Active
Application number
CN202110272312.8A
Other languages
Chinese (zh)
Other versions
CN113127425A (en
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.)
Vivo Mobile Communication Hangzhou Co Ltd
Original Assignee
Vivo Mobile Communication Hangzhou Co 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 Vivo Mobile Communication Hangzhou Co Ltd filed Critical Vivo Mobile Communication Hangzhou Co Ltd
Priority to CN202110272312.8A priority Critical patent/CN113127425B/en
Publication of CN113127425A publication Critical patent/CN113127425A/en
Priority to PCT/CN2022/079927 priority patent/WO2022188804A1/en
Application granted granted Critical
Publication of CN113127425B publication Critical patent/CN113127425B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/162Delete operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/51Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/54Browsing; Visualisation therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)
  • Facsimiles In General (AREA)

Abstract

The application discloses a picture processing method, a picture processing device and electronic equipment, and belongs to the technical field of communication. The problem that the flexibility of screening pictures by electronic equipment is low can be solved. The method comprises the following steps: receiving a first input of a user to a first preview under the condition that a plurality of previews are displayed, wherein one preview is used for indicating one picture stored in the electronic equipment; deleting the first picture indicated by the first preview in response to the first input; receiving a second input of the user under the condition that a second picture indicated by a second preview picture is displayed; in response to the second input, restoring the first picture; wherein the plurality of preview images includes a first preview image and a second preview image. The embodiment of the application is applied to the process of screening pictures by the electronic equipment.

Description

Picture processing method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a picture processing method and device and electronic equipment.
Background
Generally, the use frequency of a photographing function is higher and higher for a user, a large number of pictures can be stored in an electronic device, particularly, when the user travels, the user can take a lot of similar pictures under scenes such as scenery pictures, PPT pictures, self-photographing and the like, and the user is difficult to screen and clean while occupying the storage space of the electronic device.
In the related art, the electronic device may delete the picture by any of the following means: selecting a single picture for deletion, selecting a batch of pictures for deletion, and selecting a whole album folder for deletion; therefore, the storage space of the electronic equipment is cleaned, and the corresponding pictures are screened and reserved.
However, in the above method, when the electronic device deletes the pictures by selecting the batch of pictures, the user needs to select a plurality of pictures in the picture preview interface and delete the pictures. In this case, the pictures selected in batch in the picture preview interface by the user are in a small picture display mode (i.e., the picture preview interface), so that details of the pictures, especially document type pictures, are difficult to view, and therefore time for selecting a plurality of pictures for deletion is long, and a situation of deleting pictures by mistake occurs. Therefore, the flexibility of the electronic device in screening pictures is low.
Disclosure of Invention
The embodiment of the application aims to provide a picture processing method and device and electronic equipment, and the problem that the flexibility of screening pictures by the electronic equipment is low can be solved.
In order to solve the technical problems, the application is realized as follows:
in a first aspect, an embodiment of the present application provides a method for processing a picture, where the method includes: receiving a first input of a user to a first preview under the condition that a plurality of previews are displayed, wherein one preview is used for indicating one picture stored in the electronic equipment; deleting the first picture indicated by the first preview in response to the first input; receiving a second input of the user under the condition that a second picture indicated by a second preview picture is displayed; in response to the second input, restoring the first picture; wherein the plurality of preview images includes a first preview image and a second preview image.
In a second aspect, an embodiment of the present application provides a picture processing apparatus, including: the device comprises a receiving module, a deleting module and a restoring module. The receiving module is used for receiving a first input of a user to the first preview image under the condition that a plurality of preview images are displayed, and one preview image is used for indicating one image stored in the electronic equipment. And the deleting module is used for deleting the first picture indicated by the first preview picture in response to the first input received by the receiving module. And the receiving module is also used for receiving a second input of the user under the condition that the second picture indicated by the second preview image is displayed. And the restoring module is used for responding to the second input received by the receiving module and restoring the first picture. Wherein the plurality of preview images includes a first preview image and a second preview image.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, the program or instruction implementing the steps of the method according to the first aspect when executed by the processor.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the first aspect.
In the embodiment of the application, under the condition that the electronic device displays a plurality of preview images, a user can perform first input on a first preview image in the plurality of preview images, so as to trigger the electronic device to delete a first image indicated by the first preview image according to the first input of the user; and under the condition that the electronic equipment displays the second picture indicated by the second preview, the user can perform second input so as to trigger the electronic equipment to restore the deleted first picture according to the second input of the user. Because the user can perform the first input on the first preview image in the plurality of preview images under the condition that the electronic device displays the plurality of preview images in the album, the electronic device can delete the first image indicated by the first preview image, and when the user needs to restore the deleted first image, the user can trigger the electronic device to directly restore the deleted first image by performing the second input under the condition that the electronic device displays the second image indicated by the second preview image; and when the user is not required to restore the deleted first picture, the electronic equipment is triggered to exit from the interface for displaying the plurality of preview pictures at present, and then the interface corresponding to the recycle bin is displayed so as to restore the deleted first picture, thereby being capable of screening the picture rapidly and accurately.
Drawings
Fig. 1 is a schematic diagram of a picture processing method according to an embodiment of the present application;
FIG. 2 is a second schematic diagram of a picture processing method according to an embodiment of the present disclosure;
fig. 3 is one example schematic diagram of an interface of a mobile phone according to an embodiment of the present application;
FIG. 4 is a third schematic diagram of a method for processing a picture according to the embodiment of the present application;
FIG. 5 is a second exemplary diagram of an interface of a mobile phone according to an embodiment of the present disclosure;
FIG. 6 is a third exemplary diagram of an interface of a mobile phone according to an embodiment of the present disclosure;
FIG. 7 is a diagram illustrating a picture processing method according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a picture processing device according to an embodiment of the present application;
FIG. 9 is a second schematic diagram of a picture processing device according to the embodiment of the present application;
fig. 10 is a schematic hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type and not limited to the number of objects, e.g., the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The picture processing method provided by the embodiment of the invention can be applied to a scene of an electronic equipment management album to delete certain pictures and keep the rest pictures. The specific application scenario may be determined according to the use requirement, which is not limited in this application.
Taking the example of deleting the pictures in the album as an example, assuming that the album of the electronic device includes a plurality of pictures, the user needs to trigger the electronic device to delete the picture 1, the picture 2 and the picture 3 in the plurality of pictures, when the electronic device displays a picture preview interface in an album application program, the user can input a plurality of preview pictures (i.e. preview pictures corresponding to the picture 1, the picture 2 and the picture 3) in the plurality of displayed preview pictures, so as to trigger the electronic device to delete the picture 1, the picture 2 and the picture 3 indicated by the plurality of preview pictures according to the input of the user. After the electronic device deletes the picture 1, the picture 2 and the picture 3, if the user wants to keep the picture 3 and does not need to delete the picture 3, the user can input again under the condition that the electronic device displays the pictures indicated by other preview images, so as to trigger the electronic device to restore the deleted picture 3 according to the input of the user. And when the user is not required to restore the deleted picture 3, the electronic equipment is triggered to exit from the interface for displaying the plurality of preview pictures at present, and then the interface corresponding to the recycle bin is displayed so as to restore the deleted picture 3.
In the embodiment of the application, when the user can delete or restore the picture when displaying the picture preview interface including a plurality of preview pictures in the album application program, the flexibility of screening the picture by the electronic equipment can be improved.
The picture processing method provided by the embodiment of the application is described in detail below through specific embodiments and application scenes thereof with reference to the accompanying drawings.
An embodiment of the present application provides a picture processing method, and fig. 1 shows a flowchart of the picture processing method provided in the embodiment of the present application, where the method may be applied to an electronic device. As shown in fig. 1, the image processing method provided in the embodiment of the present application may include the following steps 201 to 204.
In step 201, in the case of displaying a plurality of preview images, the electronic device receives a first input from a user to a first preview image.
In this embodiment of the present application, one preview image of the plurality of preview images is used to indicate a picture stored in the electronic device.
In this embodiment of the present invention, when the electronic device displays a plurality of preview images through the image preview interface, the user may perform a first input on a first preview image in the plurality of preview images, so as to trigger the electronic device to delete a first image indicated by the first preview image according to the first input, and may restore the deleted first image according to the second input of the user when the electronic device displays a second image indicated by the second preview image.
Optionally, in the embodiment of the present application, the plurality of preview images are preview images included in a picture preview interface in an album application.
It can be appreciated that a user can trigger the electronic device to run the album application to display a picture preview interface including a plurality of preview images, so that editing operations can be performed on pictures included in the electronic device while the picture preview interface including the plurality of preview images is displayed.
Optionally, in the embodiment of the present application, the first input of the user to the first preview may be a sliding input of the user to the first preview, or a clicking input of the user to a control corresponding to the first preview.
Step 202, the electronic device responds to a first input and deletes a first picture indicated by a first preview.
Optionally, in the embodiment of the present application, the first input is used to trigger the electronic device to delete the corresponding picture (i.e. the first picture).
Optionally, in the embodiment of the present application, the electronic device may start a recycle bin function, so that when a user triggers the electronic device to delete a picture, the picture may be moved to a recycle bin (i.e. delete the picture from an original album), and a preset time period is stored in the recycle bin, so that the picture is deleted from the electronic device after the preset time period.
Step 203, the electronic device receives a second input of the user in the case of displaying the second picture indicated by the second preview.
In this embodiment of the present application, the plurality of preview images includes a first preview image and a second preview image.
Optionally, in the embodiment of the present application, after the user triggers the electronic device to delete the first picture indicated by the first preview, the user may trigger the electronic device to display other pictures through input, or delete other pictures.
Optionally, in the embodiment of the present application, the user may display a second picture indicated by the second preview on the electronic device, and trigger the electronic device to delete the second picture indicated by the second preview by performing different inputs, or restore the history deleted picture.
Step 204, the electronic device restores the first picture in response to the second input.
Optionally, in an embodiment of the present application, the second input includes a sliding input of a user on the second picture; in the picture preview interface, if the sequence of the first preview image is located before the second preview image, the sliding direction of the sliding input is a first preset direction; or in the picture preview interface, if the sequence of the first preview is located behind the second preview, the sliding direction of the sliding input is a second preset direction.
Optionally, in the embodiment of the present application, the electronic device may acquire an input parameter corresponding to the second input, for example: the input direction, the input distance, the input duration and the like of the sliding input are adopted, so that the picture to be restored can be determined according to the input parameters corresponding to the second input.
It can be understood that different sliding inputs can be preset by the user, so that when the electronic device receives the sliding input of the user, which picture needs to be restored can be determined according to the input parameters of the sliding input of the user.
Optionally, in the embodiment of the present application, the electronic device may further display a restore control on an interface on which the second picture is displayed, so that a user may directly input the restore control to trigger the electronic device to restore the corresponding picture.
Optionally, in the embodiment of the present application, when the electronic device restores the first picture, the electronic device may move the first picture in the recycle bin to an original storage location (i.e., in the original album) of the first picture, and display the first picture in an original display sequence in the original album.
In the picture processing method provided by the embodiment of the application, when the electronic device displays a plurality of preview pictures, a user can perform first input on a first preview picture in the plurality of preview pictures, so as to trigger the electronic device to delete a first picture indicated by the first preview picture according to the first input of the user; and under the condition that the electronic equipment displays the second picture indicated by the second preview, the user can perform second input so as to trigger the electronic equipment to restore the deleted first picture according to the second input of the user. Because the user can perform the first input on the first preview image in the plurality of preview images under the condition that the electronic device displays the plurality of preview images in the album, the electronic device can delete the first image indicated by the first preview image, and when the user needs to restore the deleted first image, the user can trigger the electronic device to directly restore the deleted first image by performing the second input under the condition that the electronic device displays the second image indicated by the second preview image; and when the user is not required to restore the deleted first picture, the electronic equipment is triggered to exit from the interface for displaying the plurality of preview pictures at present, and then the interface corresponding to the recycle bin is displayed so as to restore the deleted first picture, thereby being capable of screening the picture rapidly and accurately.
Alternatively, in the embodiment of the present application, as shown in fig. 2 in conjunction with fig. 1, the above step 202 may be specifically implemented by the following steps 202a to 202 c.
Step 202a, the electronic device displays a first picture in response to a first input.
Optionally, in the embodiment of the present application, when the electronic device displays a picture preview interface including a plurality of preview images, the first input of the user may be an input triggering the electronic device to display the first picture, so that the electronic device may switch the picture preview interface including the plurality of preview images to an interface displaying the first picture.
Optionally, in the embodiment of the present application, by displaying the first picture, the electronic device may enable the user to view specific content of the first picture, so as to accurately determine whether to delete the first picture.
Step 202b, the electronic device receives a third input of the user to the first picture.
Optionally, in the embodiment of the present application, the user may perform a third input on the first picture in the interface displaying the first picture, where the third input may be a sliding input by the user in the screen, or may be a clicking input by the user on a deletion control displayed in the interface displaying the first picture.
Step 202c, the electronic device deletes the first picture in response to the third input.
Optionally, in the embodiment of the present application, the electronic device may delete the first picture from the corresponding album according to a third input of the user, and save the first picture to the recycle bin.
An electronic device is exemplified as a mobile phone. As shown in fig. 3 (a), the mobile phone displays a picture preview interface, in which a plurality of preview images are included, and the user can input a first preview image 10 of the plurality of preview images, as shown in fig. 3 (B), and the mobile phone can switch the picture preview interface to an interface displaying a first picture 11 indicated by the first preview image 10 according to the input of the user to the first preview image 10. Therefore, when the mobile phone displays the first picture 11, the user can input the first picture to trigger the mobile phone to delete the first picture 11.
In the embodiment of the application, the user can trigger the electronic device to display the first picture through the first input, so that the user can check the specific content of the first picture to accurately determine whether to delete the first picture, and delete the first picture when receiving the third input of the user to the first picture. Therefore, the accuracy of deleting the picture by the electronic equipment can be improved.
Optionally, in the embodiment of the present application, as shown in fig. 4 in conjunction with fig. 1, before step 201, the method for processing a picture provided in the embodiment of the present application may further include the following steps 301 and 302.
Step 301, the electronic device receives a fourth input from a user.
Optionally, in the embodiment of the present application, when the electronic device runs the album application, the user may perform selection input on a plurality of album folder identifiers included in the album application, so as to trigger the electronic device to display a picture preview interface corresponding to a certain album.
Step 302, the electronic device displays a picture preview interface in response to the fourth input.
In this embodiment of the present application, the above-mentioned image preview interface includes a plurality of preview images, and the images indicated by the plurality of preview images are in a deletable state.
Optionally, in the embodiment of the present application, when the electronic device displays the picture preview interface, the user may view preview images of all the pictures included in the corresponding album.
Optionally, in the embodiment of the present application, the user may trigger, through input, that the pictures indicated by the multiple preview images displayed by the electronic device are in a deletable state, for example, when the electronic device displays a picture preview interface, the user may input an edit control to trigger the electronic device to adjust a processing state of the pictures indicated by the multiple preview images.
As shown in fig. 5, the mobile phone may adjust the processing states of the pictures indicated by the plurality of preview pictures included in the picture preview interface to be a deletable state according to the input of the user to the editing control 12, and may trigger the mobile phone to delete the selected pictures by selecting the picture 10, the picture 13 and the picture 14 to be deleted.
As shown in fig. 6, when the mobile phone displays the interface of the second picture 15 indicated by a preview, the user may directly perform sliding input on the screen without inputting the restore control, so that when the user performs different sliding inputs, the mobile phone may determine the picture to be restored according to the input parameters of the sliding input of the user. For example, if the user performs the sliding input upwards, the mobile phone may restore the preview image corresponding to the second image 15, and the images indicated by the preview images before the ordering in the image preview interface; or, the user performs downward sliding input, so that the mobile phone can restore the preview image corresponding to the second image 15, and the images indicated by the preview images after sorting in the image preview interface.
It can be understood that, as shown in fig. 5, assuming that the interface displayed by the current mobile phone is the interface of the picture 13, in the picture preview interface, the sorting of the pictures 10, that is, the sorting is located before the picture 13, the user performs the upward sliding input, so that the mobile phone can be triggered to restore the picture 10; or, in the picture preview interface, the sorting of the pictures 14 is that the pictures are located behind the pictures 13, and the user performs downward sliding input, so that the mobile phone can be triggered to restore the pictures 14.
In the embodiment of the application, the user can input the album, trigger the electronic equipment to display the picture preview interface corresponding to the album, and adjust the states of the pictures indicated by the plurality of preview pictures included in the picture preview interface to be the deletable state, so that the efficiency of processing the pictures by the electronic equipment is improved.
Optionally, in an embodiment of the present application, the first preview image includes at least two preview images of the plurality of preview images. Referring to fig. 1, as shown in fig. 7, the above step 204 may be specifically implemented by the following step 204 a.
Step 204a, sequentially restoring the pictures indicated by the at least two preview pictures according to the deleting order of the electronic device to the pictures indicated by the at least two preview pictures.
Optionally, in the embodiment of the present application, when the user triggers, through the first input, the electronic device to delete the pictures indicated by at least two preview images in the plurality of preview images, the electronic device may sequentially restore the pictures indicated by the at least two preview images according to the second input of the user and in a deletion order.
Optionally, in the embodiment of the present application, the first input may include a plurality of sub-inputs, and the user may trigger the electronic device to delete the pictures indicated by at least two preview pictures in the plurality of preview pictures sequentially through the plurality of sub-inputs.
Optionally, in the embodiment of the present application, the second input may include a plurality of sub-inputs, through which a user may trigger the electronic device to sequentially restore the deleted pictures indicated by the at least two preview images; alternatively, the second input is an independent input, and the electronic device may restore the deleted pictures indicated by the at least two preview images at the same time according to the second input.
For example, as shown in fig. 5, after the mobile phone deletes the picture 10, the picture 13 and the picture 14 in sequence, and in the case that a certain picture after the picture 14 is displayed (i.e. the order of the preview in the picture preview interface is located after the picture 14), the mobile phone may restore the picture 14, then restore the picture 13, and finally restore the picture 10 according to multiple inputs of the user. Alternatively, in a specific implementation scenario, the mobile phone may restore picture 10, picture 13, and picture 14 simultaneously through one input of the user. This application is not limited thereto.
In this embodiment, when the first preview includes at least two preview images among the plurality of preview images, that is, when the electronic device deletes the plurality of images, and when the user triggers the electronic device to restore the images through the second input, the electronic device may restore the images indicated by the at least two preview images according to the deletion order of the images indicated by the deleted at least two preview images, so that flexibility of restoring the images by the electronic device may be improved.
It should be noted that, in the image processing method provided in the embodiment of the present application, the execution subject may be an image processing apparatus, or a control module in the image processing apparatus for executing the image processing method. In the embodiment of the present application, a method for executing a loading picture processing by a picture processing device is taken as an example, and the picture processing device provided in the embodiment of the present application is described.
Fig. 8 shows a schematic diagram of a possible configuration of a picture processing apparatus according to an embodiment of the present application. As shown in fig. 8, the picture processing apparatus 70 may include: a receiving module 71, a deleting module 72 and a restoring module 73.
The receiving module 71 is configured to receive a first input from a user to a first preview, where the first input is used to indicate a picture stored in the electronic device when a plurality of preview images are displayed. The deleting module 72 is configured to delete the first picture indicated by the first preview in response to the first input received by the receiving module 71. The receiving module 71 is further configured to receive a second input from the user when the second picture indicated by the second preview is displayed. The restoring module 73 is configured to restore the first picture in response to the second input received by the receiving module. Wherein the plurality of preview images includes a first preview image and a second preview image.
In a possible implementation manner, in conjunction with fig. 8, as shown in fig. 9, the image processing apparatus 70 provided in the embodiment of the present application may further include: and a display module 74. Wherein the display module 74 is configured to display the first picture in response to the first input received by the receiving module 71. The receiving module 71 is further configured to receive a third input of the first picture from the user. The deleting module 72 is specifically configured to delete the first picture in response to the third input received by the receiving module.
In one possible implementation manner, as shown in fig. 9, the image processing apparatus 70 provided in the embodiment of the present application may further include: and a display module 74. The receiving module 71 is further configured to, in a case where a plurality of preview images are displayed, receive a fourth input from the user before receiving the first input from the user to the first preview image. The display module 74 is configured to display a picture preview interface in response to the fourth input received by the receiving module 71, where the picture preview interface includes a plurality of preview images, and the pictures indicated by the plurality of preview images are in a deletable state.
In one possible implementation, the second input includes a user sliding input on the second picture. In the picture preview interface, if the order of the first preview is located before the second preview, the sliding direction of the sliding input is the first preset direction. Or in the picture preview interface, if the sequence of the first preview is located behind the second preview, the sliding direction of the sliding input is a second preset direction.
In one possible implementation, the first preview image includes at least two preview images of the plurality of preview images; the restoration module 73 is specifically configured to sequentially restore the pictures indicated by the at least two preview images according to the deletion order of the pictures indicated by the at least two preview images by the electronic device.
The image processing device provided in the embodiment of the present application can implement each process implemented by the image processing device in the embodiment of the method, and for avoiding repetition, detailed description is omitted here.
The embodiment of the application provides a picture processing device, because a user can perform first input on a first preview image in a plurality of preview images when the electronic device displays the plurality of preview images in an album, the electronic device can delete a first picture indicated by the first preview image, and when the user needs to restore the deleted first picture, the user can trigger the electronic device to directly restore the deleted first picture by performing second input when the electronic device displays a second picture indicated by a second preview image; and when the user is not required to restore the deleted first picture, the electronic equipment is triggered to exit from the interface for displaying the plurality of preview pictures at present, and then the interface corresponding to the recycle bin is displayed so as to restore the deleted first picture, thereby being capable of screening the picture rapidly and accurately.
The image processing device in the embodiment of the application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a cell phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, wearable device, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device may be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The image processing 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 embodiments of the present application.
Optionally, the embodiment of the present application further provides an electronic device, including a processor 110, a memory 109, and a program or an instruction stored in the memory 109 and capable of being executed on the processor 110, where the program or the instruction implements each process of the embodiment of the method for processing a picture when executed by the processor 110, and the same technical effects can be achieved, and for avoiding repetition, a description is omitted herein.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 10 is a schematic hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, and processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further include a power source (e.g., a battery) for powering the various components, and that the power source may be logically coupled to the processor 110 via a power management system to perform functions such as managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 10 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
The user input unit 107 is configured to receive a first input of a first preview by a user in a case where a plurality of preview images are displayed, where one preview image is used to indicate a picture stored in the electronic device;
the processor 110 is configured to delete the first picture indicated by the first preview in response to the first input.
The user input unit 107 is further configured to receive a second input of the user in a case where a second picture indicated by the second preview is displayed.
The processor 110 is further configured to restore the first picture in response to the second input. Wherein the plurality of preview images includes a first preview image and a second preview image.
The embodiment of the application provides an electronic device, wherein a user can perform first input on a first preview image in a plurality of preview images under the condition that the electronic device displays the plurality of preview images in an album, so that the electronic device can delete a first image indicated by the first preview image, and when the user needs to restore the deleted first image, the user can trigger the electronic device to directly restore the deleted first image by performing second input under the condition that the electronic device displays a second image indicated by a second preview image; and when the user is not required to restore the deleted first picture, the electronic equipment is triggered to exit from the interface for displaying the plurality of preview pictures at present, and then the interface corresponding to the recycle bin is displayed so as to restore the deleted first picture, thereby being capable of screening the picture rapidly and accurately.
Optionally, the display unit 106 is configured to display the first picture in response to the first input.
The user input unit 107 is further configured to receive a third input of the first picture by the user.
The processor 110 is specifically configured to delete the first picture in response to the third input.
In the embodiment of the application, the user can trigger the electronic device to display the first picture through the first input, so that the user can check the specific content of the first picture to accurately determine whether to delete the first picture, and delete the first picture when receiving the third input of the user to the first picture. Therefore, the accuracy of deleting the picture by the electronic equipment can be improved.
The user input unit 107 is further configured to receive a fourth input of the user.
The display unit 106 is further configured to display a picture preview interface in response to the fourth input, where the picture preview interface includes a plurality of preview images, and pictures indicated by the plurality of preview images are in a deletable state.
In the embodiment of the application, the user can input the album, trigger the electronic equipment to display the picture preview interface corresponding to the album, and adjust the states of the pictures indicated by the plurality of preview pictures included in the picture preview interface to be the deletable state, so that the efficiency of processing the pictures by the electronic equipment is improved.
The processor 110 is specifically configured to sequentially restore the pictures indicated by the at least two preview images according to the deletion order of the pictures indicated by the at least two preview images by the electronic device.
In this embodiment, when the first preview includes at least two preview images among the plurality of preview images, that is, when the electronic device deletes the plurality of images, and when the user triggers the electronic device to restore the images through the second input, the electronic device may restore the images indicated by the at least two preview images according to the deletion order of the images indicated by the deleted at least two preview images, so that flexibility of restoring the images by the electronic device may be improved.
It should be appreciated that in embodiments of the present application, the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, the graphics processor 1041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein. Memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 110 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed by a processor, the processes of the embodiment of the method for processing a picture are implemented, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium such as a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used for running a program or an instruction, so as to implement each process of the embodiment of the image processing method, and achieve the same technical effect, so that repetition is avoided, and no redundant description is provided here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), including several instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (10)

1. A picture processing method, the method comprising:
receiving a first input of a user to a first preview under the condition that a plurality of previews are displayed, wherein one preview is used for indicating one picture stored in the electronic equipment;
deleting a first picture indicated by the first preview in response to the first input;
receiving a second input of the user under the condition that a second picture indicated by a second preview picture is displayed;
restoring the first picture in response to the second input;
wherein the plurality of preview images includes the first preview image and the second preview image;
the second input includes a user sliding input on the second picture;
in the picture preview interface, if the sequence of the first preview image is located before the second preview image, the sliding direction of the sliding input is a first preset direction;
or alternatively, the process may be performed,
in the image preview interface, if the order of the first preview is located behind the second preview, the sliding direction of the sliding input is a second preset direction.
2. The method of claim 1, wherein deleting the first picture indicated by the first preview in response to the first input comprises:
displaying the first picture in response to the first input;
receiving a third input of a user to the first picture;
and deleting the first picture in response to the third input.
3. The method according to claim 1 or 2, wherein, in case of displaying a plurality of preview images, before receiving the first input of the first preview image by the user, the method further comprises:
receiving a fourth input from the user;
and responding to the fourth input, displaying a picture preview interface, wherein the picture preview interface comprises a plurality of preview pictures, and the pictures indicated by the preview pictures are in a deletable state.
4. The method of claim 1, wherein the first preview image comprises at least two preview images of the plurality of preview images;
the restoring the first picture includes:
and sequentially restoring the pictures indicated by the at least two preview pictures according to the deleting sequence of the pictures indicated by the at least two preview pictures by the electronic equipment.
5. A picture processing apparatus, characterized in that the picture processing apparatus comprises: the device comprises a receiving module, a deleting module and a restoring module;
the receiving module is used for receiving a first input of a user to a first preview image under the condition that a plurality of preview images are displayed, and one preview image is used for indicating one image stored in the electronic equipment;
the deleting module is used for deleting the first picture indicated by the first preview picture in response to the first input received by the receiving module;
the receiving module is further configured to receive a second input of the user when the second picture indicated by the second preview image is displayed;
the restoring module is used for responding to the second input received by the receiving module and restoring the first picture;
wherein the plurality of preview images includes the first preview image and the second preview image;
the second input includes a user sliding input on the second picture;
in the picture preview interface, if the sequence of the first preview image is located before the second preview image, the sliding direction of the sliding input is a first preset direction;
or alternatively, the process may be performed,
in the image preview interface, if the order of the first preview is located behind the second preview, the sliding direction of the sliding input is a second preset direction.
6. The picture processing apparatus according to claim 5, wherein the picture processing apparatus further comprises: a display module;
the display module is used for responding to the first input received by the receiving module and displaying the first picture;
the receiving module is further used for receiving a third input of the user to the first picture;
the deleting module is specifically configured to delete the first picture in response to the third input received by the receiving module.
7. The picture processing apparatus according to claim 5 or 6, wherein the picture processing apparatus further comprises: a display module;
the receiving module is further configured to receive a fourth input of the user before receiving the first input of the user to the first preview image in the case that the plurality of preview images are displayed;
the display module is configured to display a picture preview interface in response to the fourth input received by the receiving module, where the picture preview interface includes the plurality of preview images, and pictures indicated by the plurality of preview images are in a deletable state.
8. The picture processing device of claim 5, wherein the first preview image comprises at least two preview images of the plurality of preview images;
the restoration module is specifically configured to sequentially restore the pictures indicated by the at least two preview images according to the deletion order of the pictures indicated by the at least two preview images by the electronic device.
9. An electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the picture processing method as claimed in any one of claims 1 to 4.
10. A readable storage medium, characterized in that the readable storage medium has stored thereon a program or instructions which, when executed by a processor, implement the steps of the picture processing method according to any of claims 1-4.
CN202110272312.8A 2021-03-12 2021-03-12 Picture processing method and device and electronic equipment Active CN113127425B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110272312.8A CN113127425B (en) 2021-03-12 2021-03-12 Picture processing method and device and electronic equipment
PCT/CN2022/079927 WO2022188804A1 (en) 2021-03-12 2022-03-09 Picture processing method and apparatus, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110272312.8A CN113127425B (en) 2021-03-12 2021-03-12 Picture processing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN113127425A CN113127425A (en) 2021-07-16
CN113127425B true CN113127425B (en) 2023-04-21

Family

ID=76773452

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110272312.8A Active CN113127425B (en) 2021-03-12 2021-03-12 Picture processing method and device and electronic equipment

Country Status (2)

Country Link
CN (1) CN113127425B (en)
WO (1) WO2022188804A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113127425B (en) * 2021-03-12 2023-04-21 维沃移动通信(杭州)有限公司 Picture processing method and device and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103995652A (en) * 2014-05-15 2014-08-20 宇龙计算机通信科技(深圳)有限公司 Method and system for comparing images in image library
CN110401766A (en) * 2019-05-22 2019-11-01 华为技术有限公司 A kind of image pickup method and terminal

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7003721B1 (en) * 1999-06-15 2006-02-21 Microsoft Corporation Safe save method of HTML files using recovery files including a list with temporary and final names for replacement files
CN303329654S (en) * 2014-06-18 2015-08-12
KR101681446B1 (en) * 2016-01-15 2016-12-02 한국기술교육대학교 산학협력단 A handwriting mode image processing method for a visual presenter
CN107450824B (en) * 2016-06-01 2020-10-16 华为技术有限公司 Object deleting method and terminal
CN110209332A (en) * 2019-05-31 2019-09-06 维沃移动通信有限公司 A kind of information processing method and terminal device
CN112181247A (en) * 2020-09-25 2021-01-05 深圳传音控股股份有限公司 Picture deleting method, electronic device and computer storage medium
CN113127425B (en) * 2021-03-12 2023-04-21 维沃移动通信(杭州)有限公司 Picture processing method and device and electronic equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103995652A (en) * 2014-05-15 2014-08-20 宇龙计算机通信科技(深圳)有限公司 Method and system for comparing images in image library
CN110401766A (en) * 2019-05-22 2019-11-01 华为技术有限公司 A kind of image pickup method and terminal

Also Published As

Publication number Publication date
WO2022188804A1 (en) 2022-09-15
CN113127425A (en) 2021-07-16

Similar Documents

Publication Publication Date Title
CN113093968B (en) Shooting interface display method and device, electronic equipment and medium
CN112486444B (en) Screen projection method, device, equipment and readable storage medium
CN112083854A (en) Application program running method and device
CN111857460A (en) Split screen processing method, split screen processing device, electronic equipment and readable storage medium
CN111669495B (en) Photographing method, photographing device and electronic equipment
CN113467660A (en) Information sharing method and electronic equipment
CN112836086A (en) Video processing method and device and electronic equipment
CN113127425B (en) Picture processing method and device and electronic equipment
CN112698775B (en) Image display method and device and electronic equipment
CN112187626B (en) File processing method and device and electronic equipment
CN112764639A (en) Screen capturing method and device and electronic equipment
CN113271378B (en) Image processing method and device and electronic equipment
CN113783770B (en) Image sharing method, image sharing device and electronic equipment
CN113987241A (en) Image display method, image display device, electronic apparatus, and readable storage medium
CN113805997B (en) Information display method, information display device, electronic equipment and storage medium
CN112486650B (en) Operation path switching method and device and electronic equipment
CN112383708B (en) Shooting method and device, electronic equipment and readable storage medium
CN111796733B (en) Image display method, image display device and electronic equipment
CN111966259B (en) Screenshot method and device and electronic equipment
CN112764648A (en) Screen capturing method and device, electronic equipment and storage medium
CN112383709A (en) Picture display method, device and equipment
CN113360684A (en) Picture management method and device and electronic equipment
CN113778311A (en) Operation method and device and electronic equipment
CN113672745A (en) File storage method and device
CN113542599A (en) Image shooting method and device

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
GR01 Patent grant
GR01 Patent grant