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

Picture processing method and device and electronic equipment Download PDF

Info

Publication number
CN113127425A
CN113127425A CN202110272312.8A CN202110272312A CN113127425A CN 113127425 A CN113127425 A CN 113127425A CN 202110272312 A CN202110272312 A CN 202110272312A CN 113127425 A CN113127425 A CN 113127425A
Authority
CN
China
Prior art keywords
picture
preview
input
pictures
user
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.)
Granted
Application number
CN202110272312.8A
Other languages
Chinese (zh)
Other versions
CN113127425B (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

Abstract

The application discloses a picture processing method and device and electronic equipment, and belongs to the technical field of communication. The problem that the flexibility of screening pictures of the electronic equipment is low can be solved. The method comprises the following steps: receiving a first input of a user to a first preview picture under the condition that a plurality of preview pictures are displayed, wherein one preview picture is used for indicating one picture saved in the electronic equipment; deleting a first picture indicated by the first preview picture 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 a second input; wherein the plurality of preview images include a first preview image and a second preview image. The embodiment of the application is applied to the process of screening the 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 the photographing function of the user is higher and higher, a large number of pictures can be stored in the electronic device, especially in scenes such as landscape pictures, PPT pictures in class, self-timer and the like when the user travels, a large number of similar pictures can be obtained through photographing, the storage space of the electronic device is occupied, and the user is difficult to screen and clean.
In the related art, the electronic device may delete the picture by any one of the following ways: selecting a single picture for deleting, selecting a batch of pictures for deleting, and selecting the whole album folder for deleting; therefore, the effects of cleaning the storage space of the electronic equipment and screening and retaining the corresponding pictures are achieved.
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 then delete the pictures. In this case, the pictures selected by the user in the picture preview interface in batch are in a small picture display mode (i.e. a picture preview interface), it is difficult to see the details of the pictures, especially the document type pictures, so that it takes a long time to select a plurality of pictures for deletion, and a situation of mistakenly deleting the pictures occurs. Therefore, the flexibility of the electronic device for 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 the electronic equipment for screening pictures is low can be solved.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides an image processing method, where the method includes: receiving a first input of a user to a first preview picture under the condition that a plurality of preview pictures are displayed, wherein one preview picture is used for indicating one picture saved in the electronic equipment; deleting a first picture indicated by the first preview picture 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 a second input; wherein the plurality of preview images include a first preview image and a second preview image.
In a second aspect, an embodiment of the present application provides an image 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 a first preview picture under the condition that a plurality of preview pictures are displayed, and one preview picture is used for indicating one picture saved in the electronic equipment. And the deleting module is used for responding to the first input received by the receiving module and deleting the first picture indicated by the first preview picture. And the receiving module is further used for receiving a second input of the user under the condition that a second picture indicated by the second preview picture 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 include a first preview image and a second preview image.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, when the electronic device displays a plurality of preview images, a user can perform a first input on a first preview image in the plurality of preview images to trigger the electronic device to delete a first picture 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 picture, the user can perform second input to trigger the electronic equipment to restore the deleted first picture according to the second input of the user. The method comprises the steps that a user can perform first input on a first preview image in a plurality of preview images under the condition that the electronic equipment displays the plurality of preview images in an album, so that the electronic equipment 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 equipment to directly restore the deleted first picture by performing second input under the condition that the electronic equipment displays a second picture indicated by a second preview image; when the user does not need to restore the deleted first picture, the electronic equipment is triggered to exit the interface for displaying the plurality of preview pictures at present, and then the interface corresponding to the recycle bin is displayed to restore the deleted first picture, so that the picture can be screened quickly and accurately.
Drawings
Fig. 1 is a schematic diagram of a picture processing method according to an embodiment of the present disclosure;
fig. 2 is a second schematic diagram of a picture processing method according to an embodiment of the present application;
fig. 3 is one of schematic diagrams of an example of an interface of a mobile phone according to an embodiment of the present application;
fig. 4 is a third schematic diagram of a picture processing method according to an embodiment of the present application;
fig. 5 is a second schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present disclosure;
fig. 6 is a third schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present disclosure;
FIG. 7 is a fourth schematic 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 apparatus according to an embodiment of the present application;
fig. 9 is a second schematic structural diagram of a picture processing apparatus according to an embodiment of the present application;
fig. 10 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The picture processing method provided by the embodiment of the application can be applied to scenes of managing albums of electronic equipment so as to delete some pictures and keep the rest pictures. The specific application scenario may be determined according to the use requirement, and the application is not limited.
Taking the deletion of the pictures in the album as an example for explanation, assuming that the album of the electronic device includes a plurality of pictures and the user needs to trigger the electronic device to delete picture 1, picture 2 and picture 3 in the plurality of pictures, the user may input a plurality of preview pictures (that is, preview pictures corresponding to picture 1, picture 2 and picture 3) in the plurality of displayed preview pictures when the electronic device displays a picture preview interface in the album application, so as to trigger the electronic device to delete picture 1, picture 2 and 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 may perform input again when the electronic device displays pictures indicated by other preview pictures, so as to trigger the electronic device to restore the deleted picture 3 according to the input of the user. When the user does not need to restore the deleted picture 3, the electronic equipment is triggered to exit the interface for displaying the plurality of preview pictures at present, and then the interface corresponding to the recycle bin is displayed, so that the deleted picture 3 is restored.
In the embodiment of the application, a user can delete or restore the picture when displaying the picture preview interface including a plurality of preview pictures in the album application program, so that the flexibility of screening the picture by the electronic equipment can be improved.
The following describes the image processing method provided by the embodiment of the present application in detail through a specific embodiment and an application scenario 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 can 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 steps 201 to 204 described below.
In step 201, in the case of displaying a plurality of preview images, the electronic device receives a first input of a user to a first preview image.
In this embodiment of the application, one of the preview images is used to indicate a picture saved in the electronic device.
In the embodiment of the application, when the electronic device displays a plurality of preview images through the image preview interface, a user can perform first input on a first preview image in the plurality of preview images to trigger the electronic device to delete a first image indicated by the first preview image according to the first input, and when the electronic device displays a second image indicated by a second preview image, the deleted first image can be restored according to second input of the user.
Optionally, in this embodiment of the application, the preview images are preview images included in a picture preview interface in an album application.
It can be understood that the user can trigger the electronic device to run the album application program to display the picture preview interface including the plurality of preview images, so that the editing operation can be performed on the pictures included in the electronic device under the condition that the picture preview interface including the plurality of preview images is displayed.
Optionally, in this embodiment of the application, the first input of the user to the first preview image may be a sliding input of the user to the first preview image, or a click input of the user to a control corresponding to the first preview image.
Step 202, the electronic device deletes the first picture indicated by the first preview picture in response to the first input.
Optionally, in this embodiment of the application, the first input is used to trigger the electronic device to delete a corresponding picture (i.e., a first picture).
Optionally, in this embodiment of the application, the electronic device may start a recycle bin function, so that when the user triggers the electronic device to delete a picture, the picture may be moved to the recycle bin (i.e., the picture is deleted from the original album), and the recycle bin stores the picture for a preset time period, so that the picture is deleted from the electronic device after the preset time period elapses.
And 203, in the case of displaying the second picture indicated by the second preview picture, the electronic equipment receives a second input of the user.
In an embodiment of the present application, the plurality of preview images include a first preview image and a second preview image.
Optionally, in this embodiment of the application, after the user triggers the electronic device to delete the first picture indicated by the first preview picture, the user may trigger the electronic device to display another picture through an input, or delete another picture.
Optionally, in this embodiment of the 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 a picture deleted in history.
And step 204, the electronic equipment responds to the second input and restores the first picture.
Optionally, in this embodiment of the application, the second input includes a sliding input of the user on the second picture; in the picture preview interface, if the sequence of the first preview picture is positioned before the second preview picture, 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 image is located behind the second preview image, the sliding direction of the sliding input is a second preset direction.
Optionally, in this embodiment of the application, the electronic device may obtain an input parameter corresponding to a second input, for example: and 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 when the user may preset different sliding inputs, so that when the electronic device receives the sliding input of the user, which picture is the picture to be restored may be determined according to the input parameters of the sliding input of the user.
Optionally, in this embodiment of the application, the electronic device may further display a restoring control on the interface displaying the second picture, so that the user may directly input the restoring control to trigger the electronic device to restore the corresponding picture.
Optionally, in this embodiment of the 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 of the first picture (i.e., in the original album), and display the first picture in an original display order in the original album.
The embodiment of the application provides a picture processing method, wherein under the condition that a plurality of preview pictures are displayed on electronic equipment, a user can perform first input on a first preview picture in the plurality of preview pictures so as to trigger the electronic equipment to delete the 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 picture, the user can perform second input to trigger the electronic equipment to restore the deleted first picture according to the second input of the user. The method comprises the steps that a user can perform first input on a first preview image in a plurality of preview images under the condition that the electronic equipment displays the plurality of preview images in an album, so that the electronic equipment 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 equipment to directly restore the deleted first picture by performing second input under the condition that the electronic equipment displays a second picture indicated by a second preview image; when the user does not need to restore the deleted first picture, the electronic equipment is triggered to exit the interface for displaying the plurality of preview pictures at present, and then the interface corresponding to the recycle bin is displayed to restore the deleted first picture, so that the picture can be screened quickly and accurately.
Optionally, in this embodiment of the application, with reference to fig. 1, as shown in fig. 2, the 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 this embodiment of the 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 that triggers 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 that displays the first picture.
Optionally, in this embodiment of the application, the electronic device may enable a user to view specific contents of the first picture by displaying the first picture, so as to accurately determine whether to delete the picture.
Step 202b, the electronic device receives a third input of the first picture from the user.
Optionally, in this embodiment of the 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 of the user in the screen, or may be a click input of 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 this embodiment of the application, the electronic device may delete the first picture from the corresponding album according to a third input of the user, and store the first picture in the recycle bin.
The electronic device is taken as a mobile phone for illustration. As shown in (a) in fig. 3, the mobile phone displays a picture preview interface, in which a plurality of preview images are included, and a user can input a first preview image 10 of the plurality of preview images, and as shown in (B) in fig. 3, 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 first picture 11 is displayed on the mobile phone, the user can input the input to trigger the mobile phone to delete the first picture 11.
In the embodiment of the application, a user can trigger the electronic device to display the first picture through the first input, so that the user can look up 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 this embodiment of the application, with reference to fig. 1, as shown in fig. 4, before the step 201, the picture processing method provided in this embodiment of the application may further include the following step 301 and step 302.
Step 301, the electronic device receives a fourth input from the user.
Optionally, in this embodiment of the application, a user may select and input a plurality of album folder identifiers included in an album application program when the electronic device runs the album application program, so as to trigger the electronic device to display a picture preview interface corresponding to a certain album.
And step 302, the electronic equipment responds to the fourth input and displays a picture preview interface.
In this embodiment of the application, the image preview interface includes a plurality of preview images, and the images indicated by the preview images are in a deletable state.
Optionally, in this embodiment of the application, when the electronic device displays a picture preview interface, the user may view preview pictures of all pictures included in the corresponding album.
Optionally, in this embodiment of the application, a user may trigger, by inputting, that the pictures indicated by the multiple preview pictures 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 editing control to trigger the electronic device to adjust a processing state of the pictures indicated by the multiple preview pictures.
For example, referring to fig. 3 (a), an editing control 12 is included in a picture preview interface displayed by a mobile phone, and a user may input the editing control 12, as shown in fig. 5, the mobile phone may adjust a processing state of pictures indicated by a 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 pictures 10, 13, and 14 to be deleted.
For another example, as shown in fig. 6 in combination with (B) in fig. 3, when the mobile phone displays the interface of the second picture 15 indicated by a certain preview, the user may directly perform a sliding input on the screen without inputting a 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 an upward sliding input, the cell phone may restore the preview image corresponding to the second picture 15, and the picture indicated by the preview image before the sorting in the picture preview interface; or, if the user performs a downward sliding input, the cell phone may restore the preview image corresponding to the second picture 15, and the pictures indicated by the preview images after being sorted in the picture preview interface.
It can be understood that, as shown in fig. 5, assuming that the interface displayed by the current mobile phone is an interface of a picture 13, in the picture preview interface, the order of the pictures 10 is located before the picture 13, and the user performs an upward sliding input, which may trigger the mobile phone to restore the picture 10; or, in the picture preview interface, the pictures 14 are sorted, that is, after the picture 13, and the user performs a downward sliding input, which may trigger the mobile phone to restore the picture 14.
In the embodiment of the application, a user can trigger the electronic device to display the picture preview interface corresponding to the album by inputting the album, and adjust the state of the pictures indicated by the plurality of preview pictures included in the picture preview interface to a deletable state, so that the efficiency of processing the pictures by the electronic device is improved.
Optionally, in this embodiment of the application, the first preview image includes at least two preview images in the plurality of preview images. Referring to fig. 1, as shown in fig. 7, the step 204 can be implemented by the step 204a described below.
And 204a, restoring the pictures indicated by the at least two preview pictures in sequence according to the deleting sequence of the pictures indicated by the at least two preview pictures by the electronic equipment.
Optionally, in this embodiment of the application, when the user triggers the electronic device to delete the pictures indicated by at least two of the multiple preview images through the first input, the electronic device may restore the pictures indicated by the at least two preview images in sequence according to the second input of the user and the deletion order.
Optionally, in this embodiment of the application, the first input may include a plurality of sub-inputs, and the user may trigger the electronic device to sequentially delete the pictures indicated by at least two of the plurality of preview images through the plurality of sub-inputs.
Optionally, in this embodiment of the application, the second input may include a plurality of sub-inputs, and the user may trigger the electronic device to sequentially restore the pictures indicated by the deleted at least two preview images through the plurality of sub-inputs; or, the second input is an independent input, and the electronic device may restore the pictures indicated by the at least two deleted preview pictures 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 displays a certain picture after the picture 14 (that is, the sequence of the preview pictures 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 a plurality of inputs of the user. Or, in a specific implementation scenario, the mobile phone may restore the picture 10, the picture 13, and the picture 14 at the same time through one input of the user. This application is not limited thereto.
In the embodiment of the application, when the first preview image includes at least two preview images of the plurality of preview images, that is, the electronic device deletes the plurality of pictures, when the user triggers the electronic device to restore the pictures through the second input, the electronic device may restore the pictures indicated by the at least two preview images according to a deletion order of the pictures indicated by the deleted at least two preview images, so that flexibility of restoring the pictures 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 main body may be an image processing apparatus, or a control module used in the image processing apparatus to execute the image processing method. The embodiment of the present application describes an image processing apparatus provided in the embodiment of the present application by taking an image processing apparatus as an example to execute a method for processing a loaded image.
Fig. 8 shows a schematic diagram of a possible structure 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 of a first preview by a user when a plurality of preview images are displayed, where one preview image is used to indicate one picture saved in the electronic device. A deleting module 72, configured to delete the first picture indicated by the first preview picture 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 picture is displayed. And a restoring module 73, configured to restore the first picture in response to the second input received by the receiving module. Wherein the plurality of preview images include a first preview image and a second preview image.
In a possible implementation manner, with reference to fig. 8 and as shown in fig. 9, the picture processing apparatus 70 provided in the embodiment of the present application may further include: 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 a possible implementation manner, as shown in fig. 9, the picture processing apparatus 70 provided in the embodiment of the present application may further include: a display module 74. The receiving module 71 is further configured to receive a fourth input from the user before receiving the first input from the user to the first preview image when the plurality of preview images are displayed. A display module 74, 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 pictures, and the pictures indicated by the plurality of preview pictures are in a deletable state.
In one possible implementation, the second input includes a sliding input by the user over the second picture. In the picture preview interface, if the sequence of the first preview picture is located before the second preview picture, 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 image is located behind the second preview image, 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 restoring 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 above method embodiments, and for avoiding repetition, detailed descriptions are not repeated here.
The embodiment of the application provides a picture processing device, wherein a user can perform first input on a first preview picture in a plurality of preview pictures in an album under the condition that the electronic equipment displays the plurality of preview pictures, so that the electronic equipment can delete the first picture indicated by the first preview picture, and when the user needs to restore the deleted first picture, the user can trigger the electronic equipment to directly restore the deleted first picture by performing second input under the condition that the electronic equipment displays a second picture indicated by a second preview picture; when the user does not need to restore the deleted first picture, the electronic equipment is triggered to exit the interface for displaying the plurality of preview pictures at present, and then the interface corresponding to the recycle bin is displayed to restore the deleted first picture, so that the picture can be screened quickly and accurately.
The image processing apparatus in the embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The image processing apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
Optionally, an electronic device is further provided in this embodiment of the present application, and includes a processor 110, a memory 109, and a program or an instruction stored in the memory 109 and executable on the processor 110, where the program or the instruction is executed by the processor 110 to implement each process of the above-mentioned embodiment of the image processing method, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 10 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 100 includes, but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through 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 those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
A user input unit 107, configured to receive a first input of a first preview image by a user in a case where a plurality of preview images are displayed, where one preview image is used to indicate one picture saved in the electronic device;
a processor 110 is configured to delete the first picture indicated by the first preview picture in response to the first input.
The user input unit 107 is further configured to receive a second input from the user when the second picture indicated by the second preview picture is displayed.
The processor 110 is further configured to restore the first picture in response to a second input. Wherein the plurality of preview images include 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 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 second input under the condition that the electronic device displays a second image indicated by a second preview image; when the user does not need to restore the deleted first picture, the electronic equipment is triggered to exit the interface for displaying the plurality of preview pictures at present, and then the interface corresponding to the recycle bin is displayed to restore the deleted first picture, so that the picture can be screened quickly 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 a third input.
In the embodiment of the application, a user can trigger the electronic device to display the first picture through the first input, so that the user can look up 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 from the user.
And the display unit 106 is further used for responding to a fourth input and 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.
In the embodiment of the application, a user can trigger the electronic device to display the picture preview interface corresponding to the album by inputting the album, and adjust the state of the pictures indicated by the plurality of preview pictures included in the picture preview interface to a deletable state, so that the efficiency of processing the pictures by the electronic device is improved.
The processor 110 is specifically configured to restore the pictures indicated by the at least two preview images in sequence according to the deletion order of the pictures indicated by the at least two preview images by the electronic device.
In the embodiment of the application, when the first preview image includes at least two preview images of the plurality of preview images, that is, the electronic device deletes the plurality of pictures, when the user triggers the electronic device to restore the pictures through the second input, the electronic device may restore the pictures indicated by the at least two preview images according to a deletion order of the pictures indicated by the deleted at least two preview images, so that flexibility of restoring the pictures by the electronic device may be improved.
It should be understood that, in the embodiment of the present application, the input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics Processing Unit 1041 processes image data of a still picture or a video obtained by an image capturing device (such as 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, and a joystick, which are not described in detail herein. The 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, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which 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 on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned image processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the 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 (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above-mentioned embodiment of the image processing method, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, 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 an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. A picture processing method, characterized in that the method comprises:
receiving a first input of a user to a first preview picture under the condition that a plurality of preview pictures are displayed, wherein one preview picture is used for indicating one picture saved in the electronic equipment;
deleting a first picture indicated by the first preview picture 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.
2. The method of claim 1, wherein deleting the first picture indicated by the first preview picture in response to the first input comprises:
displaying the first picture in response to the first input;
receiving a third input of the first picture by the user;
deleting the first picture in response to the third input.
3. The method according to claim 1 or 2, wherein before receiving a first input of a first preview picture from a user in a case where a plurality of preview pictures are displayed, the method further comprises:
receiving a fourth input from the user;
in response to the fourth input, displaying a picture preview interface, wherein the picture preview interface comprises the plurality of preview pictures, and the pictures indicated by the plurality of preview pictures are in a deletable state.
4. The method of claim 3, wherein the second input comprises a user sliding input over 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;
alternatively, the first and second electrodes may be,
in the picture preview interface, if the sequence of the first preview picture is located behind the second preview picture, the sliding direction of the sliding input is a second preset direction.
5. 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 comprises:
and according to the deleting sequence of the pictures indicated by the at least two preview pictures by the electronic equipment, the pictures indicated by the at least two preview pictures are restored in sequence.
6. 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 picture under the condition that a plurality of preview pictures are displayed, and one preview picture is used for indicating a picture saved in the electronic equipment;
the deleting module is used for responding to the first input received by the receiving module and deleting the first picture indicated by the first preview picture;
the receiving module is further used for receiving a second input of the user under the condition that a second picture indicated by a second preview picture 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.
7. The picture processing device according to claim 6, further comprising: 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 configured to receive a third input of the first picture from the user;
the deleting module is specifically configured to delete the first picture in response to the third input received by the receiving module.
8. The picture processing device according to claim 6 or 7, further comprising: a display module;
the receiving module is further used for receiving a fourth input of the user before receiving the first input of the user on the first preview picture under the condition that the plurality of preview pictures 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 multiple preview pictures, and pictures indicated by the multiple preview pictures are in a deletable state.
9. The picture processing apparatus according to claim 8, wherein the second input comprises a slide input by 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;
alternatively, the first and second electrodes may be,
in the picture preview interface, if the sequence of the first preview picture is located behind the second preview picture, the sliding direction of the sliding input is a second preset direction.
10. The picture processing apparatus according to claim 6, wherein the first preview picture includes at least two preview pictures of the plurality of preview pictures;
the restoring module is specifically configured to sequentially restore the pictures indicated by the at least two preview pictures according to the deletion order of the pictures indicated by the at least two preview pictures by the electronic device.
11. An electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the picture processing method according to any one of claims 1 to 5.
12. A readable storage medium, on which a program or instructions are stored, which, when executed by a processor, implement the steps of the picture processing method according to any one of claims 1 to 5.
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 true CN113127425A (en) 2021-07-16
CN113127425B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022188804A1 (en) * 2021-03-12 2022-09-15 维沃移动通信(杭州)有限公司 Picture processing method and apparatus, and electronic device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060031265A1 (en) * 1999-06-15 2006-02-09 Microsoft Corporation Save method for HTML documents
CN103995652A (en) * 2014-05-15 2014-08-20 宇龙计算机通信科技(深圳)有限公司 Method and system for comparing images in image library
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
CN107450824A (en) * 2016-06-01 2017-12-08 华为技术有限公司 A kind of object delet method and terminal
CN110209332A (en) * 2019-05-31 2019-09-06 维沃移动通信有限公司 A kind of information processing method and terminal device
CN110401766A (en) * 2019-05-22 2019-11-01 华为技术有限公司 A kind of image pickup method and terminal
CN112181247A (en) * 2020-09-25 2021-01-05 深圳传音控股股份有限公司 Picture deleting method, electronic device and computer storage medium

Family Cites Families (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

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060031265A1 (en) * 1999-06-15 2006-02-09 Microsoft Corporation Save method for HTML documents
CN103995652A (en) * 2014-05-15 2014-08-20 宇龙计算机通信科技(深圳)有限公司 Method and system for comparing images in image library
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
CN107450824A (en) * 2016-06-01 2017-12-08 华为技术有限公司 A kind of object delet method and terminal
CN110401766A (en) * 2019-05-22 2019-11-01 华为技术有限公司 A kind of image pickup 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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022188804A1 (en) * 2021-03-12 2022-09-15 维沃移动通信(杭州)有限公司 Picture processing method and apparatus, and electronic device

Also Published As

Publication number Publication date
CN113127425B (en) 2023-04-21
WO2022188804A1 (en) 2022-09-15

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
CN113467660A (en) Information sharing method and electronic equipment
CN112748844A (en) Message processing method and device and electronic equipment
CN112099695A (en) Icon position adjusting method and device and electronic equipment
CN113114845B (en) Notification message display method and device
CN112399010B (en) Page display method and device and electronic equipment
CN112698775B (en) Image display method and device and electronic equipment
CN112764639A (en) Screen capturing method and device and electronic equipment
CN113127425B (en) Picture processing method and device and electronic equipment
CN112684963A (en) Screenshot method and device and electronic equipment
CN112416212A (en) Program access method, device, electronic equipment and readable storage medium
CN113783770B (en) Image sharing method, image sharing device and electronic equipment
CN113271378B (en) Image processing method and device and electronic equipment
CN111796733B (en) Image display method, image display device and electronic equipment
CN113987241A (en) Image display method, image display device, electronic apparatus, and readable storage medium
CN111857465B (en) Application icon sorting method and device and electronic equipment
CN113360684A (en) Picture management method and device and electronic equipment
CN113805997A (en) Information display method and device, electronic equipment and storage medium
CN113835577A (en) Display method, display device, electronic equipment and storage medium
CN114443567A (en) Multimedia file management method, device, electronic equipment and medium
CN113885981A (en) Desktop editing method and device and electronic equipment
CN114416264A (en) Message display method and device
CN112383709A (en) Picture display method, device and equipment

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