WO2022188804A1 - Picture processing method and apparatus, and electronic device - Google Patents
Picture processing method and apparatus, and electronic device Download PDFInfo
- Publication number
- WO2022188804A1 WO2022188804A1 PCT/CN2022/079927 CN2022079927W WO2022188804A1 WO 2022188804 A1 WO2022188804 A1 WO 2022188804A1 CN 2022079927 W CN2022079927 W CN 2022079927W WO 2022188804 A1 WO2022188804 A1 WO 2022188804A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- picture
- preview
- input
- electronic device
- user
- Prior art date
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 26
- 238000000034 method Methods 0.000 claims abstract description 33
- 230000004044 response Effects 0.000 claims abstract description 32
- 238000004891 communication Methods 0.000 claims abstract description 9
- 238000012545 processing Methods 0.000 claims description 31
- 238000012217 deletion Methods 0.000 claims description 11
- 230000037430 deletion Effects 0.000 claims description 11
- 238000013459 approach Methods 0.000 claims 1
- 238000012216 screening Methods 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 8
- 230000000694 effects Effects 0.000 description 4
- 241000699670 Mus sp. Species 0.000 description 1
- 238000004140 cleaning Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
- G06F16/162—Delete operations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/51—Indexing; Data structures therefor; Storage structures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/54—Browsing; Visualisation therefor
Definitions
- the present application belongs to the field of communication technologies, and in particular relates to a picture processing method, apparatus and electronic device.
- the electronic device can delete pictures in any of the following ways: selecting a single picture for deletion, selecting a batch of pictures for deleting, and selecting an entire album folder for deletion; thereby cleaning up the storage space of the electronic device, filtering and retaining the corresponding picture effect.
- the electronic device when the electronic device deletes pictures by selecting batch pictures for deletion, the user needs to select multiple pictures in the picture preview interface and then delete them.
- the pictures selected by the user in batches in the picture preview interface are in the thumbnail display mode (that is, the picture preview interface). It takes a long time, and the pictures are deleted by mistake. Therefore, the flexibility of the electronic device to screen the pictures is low.
- the purpose of the embodiments of the present application is to provide a picture processing method, apparatus, and electronic device, which can solve the problem that the electronic device has low flexibility in screening pictures.
- an embodiment of the present application provides a picture processing method, the method includes: in the case of displaying multiple preview images, receiving a first input from a user for a first preview image, and one preview image is used to indicate an electronic device In response to the first input, delete the first picture indicated by the first preview picture; in the case of displaying the second picture indicated by the second preview picture, receive the second input from the user; in response to the second picture Input, restore the first picture; wherein, the multiple preview images include a first preview image and a second preview image.
- an embodiment of the present application provides a picture processing apparatus, the apparatus includes: a receiving module, a deleting module, and a restoring module.
- the receiving module is configured to receive the first input of the first preview image from the user when multiple preview images are displayed, and one preview image is used to indicate a picture saved in the electronic device.
- the deletion module is configured to delete the first picture indicated by the first preview image in response to the first input received by the receiving module.
- the receiving module is further configured to receive a second input from the user when the second picture indicated by the second preview image is displayed.
- the restoration module is configured to restore the first picture in response to the second input received by the receiving module.
- the multiple preview images include a first preview image and a second preview image.
- embodiments of the present application provide an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps of the method according to the first aspect when executed.
- an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented .
- an embodiment of the present application provides a chip, 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, and implement the first aspect the method described.
- the user when the electronic device displays multiple preview images, the user can perform a first input on the first preview image in the multiple preview images, so as to trigger the electronic device to delete the first preview image according to the user's first input. the first picture indicated by the first preview image; and when the electronic device displays the second picture indicated by the second preview image, the user can make a second input to trigger the electronic device to restore the deleted image according to the user's second input First picture.
- the electronic device can delete the first image 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 making a second input when the electronic device displays the second picture indicated by the second preview image;
- the user first triggers the electronic device to exit the interface currently displaying multiple preview images, and then displays the interface corresponding to the recycle bin to restore the deleted first picture, so that the pictures can be quickly and accurately screened.
- FIG. 1 is one of the schematic diagrams of a picture processing method provided by an embodiment of the present application.
- FIG. 2 is the second schematic diagram of a picture processing method provided by an embodiment of the present application.
- FIG. 3 is one of the schematic diagrams of an example of an interface of a mobile phone provided by an embodiment of the present application.
- FIG. 4 is the third schematic diagram of a picture processing method provided by an embodiment of the present application.
- FIG. 5 is the second schematic diagram of an example of an interface of a mobile phone provided by an embodiment of the present application.
- FIG. 6 is the third example schematic diagram of an interface of a mobile phone provided by an embodiment of the present application.
- FIG. 7 is a fourth schematic diagram of a picture processing method provided by an embodiment of the present application.
- FIG. 8 is one of the schematic structural diagrams of a picture processing apparatus provided by an embodiment of the present application.
- FIG. 9 is a second schematic structural diagram of a picture processing apparatus provided by an embodiment of the present application.
- FIG. 10 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application.
- first, second and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between “first”, “second”, etc.
- the objects are usually of one type, and the number of objects is not limited.
- the first object may be one or more than one.
- “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the associated objects are in an "or” relationship.
- the picture processing method provided by the embodiment of the present application can be applied to a scenario in which an electronic device manages an album, so as to delete some pictures and retain the remaining pictures.
- Specific application scenarios may be determined according to usage requirements, which are not limited in this application.
- the device displays the picture preview interface in the photo album application, it inputs multiple preview images in the displayed multiple preview images (that is, the preview images corresponding to image 1, image 2, and image 3), so as to trigger the electronic device to , delete the picture 1, picture 2 and picture 3 indicated by the multiple preview images.
- the electronic device After the electronic device deletes picture 1, picture 2 and picture 3, if the user wants to keep picture 3 and does not need to delete picture 3, the user can enter the picture again when the electronic device displays the pictures indicated by other preview pictures to Trigger the electronic device to restore the deleted picture 3 according to the user's input. There is no need for the user to first trigger the electronic device to exit the interface currently displaying multiple preview images when the deleted picture 3 needs to be restored, and then display the interface corresponding to the recycle bin to restore the deleted picture 3 .
- the user can delete or restore the picture when the picture preview interface including multiple preview pictures in the photo album application is displayed, which can improve the flexibility of the electronic device to filter pictures.
- FIG. 1 shows a flowchart of a picture processing method provided by an embodiment of the present application, and the method can be applied to an electronic device.
- the image processing method provided by this embodiment of the present application may include the following steps 201 to 204 .
- Step 201 In the case of displaying multiple preview images, the electronic device receives a first input from the user for the first preview image.
- one preview image in the foregoing multiple preview images is used to indicate a picture saved in the electronic device.
- the user when the electronic device displays multiple preview images through the picture preview interface, the user can perform a first input on the first preview image in the multiple preview images, so as to trigger the electronic device to, according to the first input, perform a first input.
- the first picture indicated by the first preview image is deleted, and when the electronic device displays the second picture indicated by the second preview image, the deleted first picture can be restored according to the second input of the user.
- the above-mentioned multiple preview images are preview images included in a picture preview interface in a photo album application.
- the user can trigger the electronic device to run the photo album application to display the picture preview interface including multiple preview images, so that the pictures included in the electronic device can be edited under the display image preview interface including multiple preview images.
- the user's first input to the first preview image may be a user's sliding input to the first preview image, or a user's click input to a control corresponding to the first preview image.
- Step 202 The electronic device deletes the first picture indicated by the first preview image in response to the first input.
- the above-mentioned first input is used to trigger the electronic device to delete the corresponding picture (ie, the first picture).
- the electronic device can activate the recycle bin function, so that when the user triggers the electronic device to delete a picture, the picture can be moved to the recycle bin (that is, the picture is deleted from the original album), and the picture can be recycled A preset time period is stored in the station, so that the picture can be deleted from the electronic device after the preset time period has elapsed.
- Step 203 In the case of displaying the second picture indicated by the second preview image, the electronic device receives the second input from the user.
- the above-mentioned multiple preview images include a first preview image and a second preview image.
- the user after the user triggers the electronic device to delete the first picture indicated by the first preview image, the user can trigger the electronic device to display other pictures through input, or delete other pictures.
- the user may display the second picture indicated by the second preview image on the electronic device, and by performing different inputs, trigger the electronic device to delete the second picture indicated by the second preview image, or restore the image. Pictures deleted in history.
- Step 204 the electronic device restores the first picture in response to the second input.
- the above-mentioned second input includes a user's sliding input on the second picture; wherein, in the picture preview interface, if the order of the first preview image is located before the second preview image, the sliding input is performed.
- the sliding direction is the first preset direction; or, in the picture preview interface, if the order of the first preview image is located after the second preview image, the sliding direction of the sliding input is the second preset direction.
- the electronic device may acquire input parameters corresponding to the second input, such as the input direction, input distance, input duration, etc. of the sliding input, so as to determine the input parameters corresponding to the second input. Pictures to restore.
- the user can preset different sliding inputs, so that when the electronic device receives the user's sliding input, it can determine which picture needs to be restored according to the input parameters of the user's sliding input.
- the electronic device may further display a restoration control on the interface displaying the second picture, so that the user can directly input the restoration control to trigger the electronic device to restore the corresponding picture.
- the electronic device when the electronic device restores the first picture, the electronic device may move the first picture in the recycle bin to the original storage location of the first picture (that is, in the original album), and store the first picture in the original album. This first picture is displayed in the original display order in .
- An embodiment of the present application provides a picture processing method.
- a user can perform a first input on a first preview image in the multiple preview images, so as to trigger the electronic device to perform a first input according to the user's first preview image.
- the user can make a second input to trigger the electronic device according to the user's second input to restore the first deleted picture.
- the electronic device can delete the first image 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 making a second input when the electronic device displays the second picture indicated by the second preview image;
- the user first triggers the electronic device to exit the interface currently displaying multiple preview images, and then displays the interface corresponding to the recycle bin to restore the deleted first picture, so that the pictures can be quickly and accurately screened.
- step 202 may be specifically implemented by the following steps 202 a to 202 c .
- Step 202a the electronic device displays the first picture in response to the first input.
- the user's first input may be an input that triggers the electronic device to display the first picture, so that the electronic device can display multiple preview images.
- the image preview interface of each preview image is switched to an interface displaying the first image.
- the electronic device can enable the user to view the 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 first picture by the user.
- the user may perform a third input on the first picture in the interface displaying the first picture, and the third input may be the user's sliding input on the screen, or may be the user's input to the first picture.
- Step 202c the electronic device deletes the first picture in response to the third input.
- the electronic device may delete the first picture from the corresponding album according to the third input of the user, and save the first picture in the recycle bin.
- the electronic device is a mobile phone as an example for description.
- the mobile phone displays a picture preview interface, and the picture preview interface includes a plurality of preview pictures, and the user can input the first preview picture 10 in the plurality of preview pictures, such as
- the mobile phone can switch the picture preview interface to an interface displaying the first picture 11 indicated by the first preview picture 10 according to the user's input to the first preview picture 10 . Therefore, when the mobile phone displays the first picture 11 , the user can input to trigger the mobile phone to delete the first picture 11 .
- the user can first trigger the electronic device to display the first picture through the first input, so that the user can view the specific content of the first picture, so as to accurately determine whether to delete the first picture, and after receiving the user's feedback When the third input of the first picture is performed, the first picture is deleted. Thereby, the accuracy of deleting the picture by the electronic device can be improved.
- the image processing method provided by 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 the user.
- the user when the electronic device runs the album application, the user can select and input multiple album folder identifiers included in the album application, so as to trigger the electronic device to display the corresponding album of a certain album. Picture preview interface.
- Step 302 The electronic device displays a picture preview interface in response to the fourth input.
- the above-mentioned picture preview interface includes a plurality of preview pictures, and pictures indicated by the plurality of preview pictures are in a deleteable state.
- the electronic device when the electronic device displays a picture preview interface, the user can view preview pictures of all pictures included in the corresponding album.
- the user can trigger the pictures indicated by multiple preview images displayed by the electronic device to be in a deleteable state.
- the electronic device displays a picture preview interface
- the user can input an edit control
- the processing state of the pictures indicated by the plurality of preview images can be adjusted.
- the picture preview interface displayed by the mobile phone includes an editing control 12, and the user can input the editing control 12, as shown in FIG.
- the input of the editing control 12 adjusts the processing status of the pictures indicated by the plurality of preview images included in the picture preview interface to a deleteable state, and can trigger the mobile phone to delete these selected pictures by selecting the pictures 10, 13 and 14 to be deleted. picture of.
- the mobile phone when the mobile phone displays the interface of the second picture 15 indicated by a preview image, the user may not input the restore control, but directly The sliding input is performed on the screen, so that when the user performs different sliding input, the mobile phone can determine the picture to be restored according to the input parameter of the sliding input of the user. For example, if the user performs an upward sliding input, the mobile phone can restore the preview image corresponding to the second picture 15, 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 mobile phone The preview image corresponding to the second picture 15, the image indicated by the sorted preview image in the image preview interface, can be restored.
- the 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 images included in the picture preview interface to the deleteable state,
- the efficiency of processing pictures by the electronic device is improved.
- the above-mentioned first preview image includes at least two preview images among the plurality of preview images.
- the above step 204 can be specifically implemented by the following step 204a.
- Step 204a Restore the pictures indicated by the at least two preview images in sequence according to the order in which the electronic device deletes the pictures indicated by the at least two preview images.
- the electronic device when the user triggers the electronic device to delete the pictures indicated by at least two preview images in the multiple preview images through the first input, the electronic device may, according to the user's second input, follow the deletion order. The pictures indicated by the at least two preview images are restored in sequence.
- the first input may include multiple sub-inputs, and the user may use the multiple sub-inputs to trigger the electronic device to sequentially delete pictures indicated by at least two preview images in the multiple preview images.
- the above-mentioned second input may include multiple sub-inputs, and the user can use the multiple sub-inputs to trigger the electronic device to restore the pictures indicated by the deleted at least two preview images in sequence; or, the above-mentioned second input As an independent input, the electronic device can restore the pictures indicated by the deleted at least two preview images at the same time according to the second input.
- the mobile phone after the mobile phone deletes the picture 10, the picture 13 and the picture 14 in turn, and displays a certain picture after the picture 14 (that is, the order of the preview pictures in the picture preview interface is located after the picture 14)
- the mobile phone can restore the picture 14 first, then restore the picture 13, and finally restore the picture 10 according to the multiple inputs of the user.
- the mobile phone can restore the picture 10, the picture 13 and the picture 14 at the same time through an input from the user. This application is not limited.
- the electronic device when the first preview image includes at least two preview images among the multiple preview images, that is, the electronic device deletes multiple images, when the user triggers the electronic device to restore the image through the second input, the electronic device The pictures indicated by the at least two preview pictures can be restored according to the deletion sequence of the pictures indicated by the deleted at least two preview pictures, so that the flexibility of restoring pictures by the electronic device can be improved.
- the execution body may be a picture processing apparatus, or a control module in the picture processing apparatus for executing the picture processing method.
- the image processing apparatus provided by the embodiments of the present application is described by taking the image processing apparatus executing the method for processing a loaded image as an example.
- FIG. 8 shows a possible schematic structural diagram of the picture processing apparatus involved in the embodiment of the present application.
- the image 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 the first input from the user to the first preview image when multiple preview images are displayed, and one preview image is used to indicate a picture saved in the electronic device.
- the deletion module 72 is configured to delete the first picture indicated by the first preview image 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 image is displayed.
- the restoration module 73 is configured to restore the first picture in response to the second input received by the receiving module.
- the multiple preview images include a first preview image and a second preview image.
- the image processing apparatus 70 may further include: a display module 74 .
- 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 user for the first picture.
- the deletion module 72 is specifically configured to delete the first picture in response to the third input received by the receiving module.
- the image processing apparatus 70 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 on the first preview image when multiple preview images are displayed.
- the display module 74 is configured to display a picture preview interface in response to the fourth input received by the receiving module 71 , the picture preview interface includes multiple preview images, and the pictures indicated by the multiple preview images are in a deleteable state.
- the second input includes a user's sliding input on the second picture.
- the sliding direction of the sliding input is the first preset direction.
- the sliding direction of the sliding input is the second preset direction.
- the first preview image includes at least two preview images in the plurality of preview images; the restoration module 73 is specifically configured to sequentially delete the pictures indicated by the at least two preview images by the electronic device. Restore the picture indicated by at least two preview images.
- the image processing apparatus provided in the embodiments of the present application can implement each process implemented by the image processing apparatus in the foregoing method embodiments. To avoid repetition, detailed description is not repeated here.
- An embodiment of the present application provides a picture processing apparatus. Since a user can perform a first input on a first preview image in the multiple preview images when the electronic device displays multiple preview images in an album, the electronic device can delete the image. 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 device by making a second input when the electronic device displays the second picture indicated by the second preview picture. The device directly restores the deleted first picture; there is no need for the user to first trigger the electronic device to exit the interface currently displaying multiple preview images when the deleted first picture needs to be restored, and then display the interface corresponding to the recycle bin to restore the deleted first picture. images, so that images can be filtered quickly and accurately.
- the picture processing apparatus in this embodiment of the present application may be an apparatus, and may also be a component, an integrated circuit, or a chip in a terminal.
- the apparatus may be a mobile electronic device or a non-mobile electronic device.
- the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant).
- UMPC ultra-mobile personal computer
- netbook or a personal digital assistant
- non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
- Network Attached Storage NAS
- personal computer personal computer, PC
- television television
- teller machine or self-service machine etc.
- the image processing apparatus in this embodiment of the present application may be an apparatus having an operating system.
- the operating system may be an Android (Android) operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
- an embodiment of the present application further provides an electronic device, including a processor 110, a memory 109, a program or instruction stored in the memory 109 and executable on the processor 110, the program or instruction being processed by the processor
- an electronic device including a processor 110, a memory 109, a program or instruction stored in the memory 109 and executable on the processor 110, the program or instruction being processed by the processor
- the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
- 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, etc. part.
- the electronic device 100 may also include a power source (such as 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 manage charging, discharging, and power management through the power management system. consumption management and other functions.
- a power source such as a battery
- the structure of the electronic device shown in FIG. 10 does not constitute a limitation on the electronic device, and the electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .
- the user input unit 107 is used to receive the first input from the user to the first preview image when multiple preview images are displayed, and a preview image is used to indicate a picture saved in the electronic device;
- the processor 110 is configured to delete the first picture indicated by the first preview image 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 image is displayed.
- the processor 110 is further configured to restore the first picture in response to the second input.
- the multiple preview images include a first preview image and a second preview image.
- An embodiment of the present application provides an electronic device. Since a user can perform a first input on a first preview image in multiple preview images when the electronic device displays multiple preview images in an album, the electronic device can delete the first preview image in the album. 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 device by making a second input under the condition that the electronic device displays the second picture indicated by the second preview picture Directly restore the deleted first picture; when the user needs to restore the deleted first picture, first trigger the electronic device to exit the interface that currently displays multiple preview images, and then display the interface corresponding to the recycle bin to restore the deleted first picture , allowing you to quickly and accurately filter images.
- 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 user for the first picture.
- the processor 110 is specifically configured to delete the first picture in response to the third input.
- the user can first trigger the electronic device to display the first picture through the first input, so that the user can view the specific content of the first picture, so as to accurately determine whether to delete the first picture, and after receiving the user's feedback When the third input of the first picture is performed, the first picture is deleted. Thereby, the accuracy of deleting the picture by the electronic device can be improved.
- the user input unit 107 is further configured to receive a fourth input from 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 the pictures indicated by the plurality of preview images are in a deleteable state.
- the 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 images included in the picture preview interface to the deleteable state,
- the efficiency of processing pictures by the electronic device is improved.
- the processor 110 is specifically configured to restore the pictures indicated by the at least two preview pictures in sequence according to the order in which the electronic device deletes the pictures indicated by the at least two preview pictures.
- the electronic device when the first preview image includes at least two preview images among the multiple preview images, that is, the electronic device deletes multiple images, when the user triggers the electronic device to restore the image through the second input, the electronic device The pictures indicated by the at least two preview pictures can be restored according to the deletion sequence of the pictures indicated by the deleted at least two preview pictures, so that the flexibility of restoring pictures by the electronic device can be improved.
- the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042. Such as camera) to obtain still pictures or video image data for processing.
- the display unit 106 may include a display panel 1061, which 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 called a touch screen.
- the touch panel 1071 may include two parts, a touch detection device and a touch controller.
- Other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which are not described herein again.
- Memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems.
- the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, and the like, and the modem processor mainly processes wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 110 .
- Embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the above-mentioned image processing method embodiment can be achieved, and the same can be achieved. In order to avoid repetition, the technical effect will not be repeated here.
- the processor is the processor in the electronic device described in the foregoing embodiments.
- the readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
- An 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 the above image processing method embodiments.
- the chip includes a processor and a communication interface
- the communication interface is coupled to the processor
- the processor is configured to run a program or an instruction to implement the above image processing method embodiments.
- the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
- the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation.
- the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.
- a storage medium such as ROM/RAM, magnetic disk, CD-ROM
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
Description
Claims (15)
- 一种图片处理方法,所述方法包括:A picture processing method, the method includes:在显示多个预览图的情况下,接收用户对第一预览图的第一输入,一个预览图用于指示电子设备中保存的一张图片;In the case of displaying multiple preview images, receiving a first input from the user to the first preview image, where one preview image is used to indicate a picture saved in the electronic device;响应于所述第一输入,删除所述第一预览图指示的第一图片;In response to the first input, delete the first picture indicated by the first preview image;在显示第二预览图指示的第二图片的情况下,接收用户的第二输入;In the case of displaying the second picture indicated by the second preview image, receiving a second input from the user;响应于所述第二输入,还原所述第一图片;restoring the first picture in response to the second input;其中,所述多个预览图包括所述第一预览图和所述第二预览图。Wherein, the plurality of preview images include the first preview image and the second preview image.
- 根据权利要求1所述的方法,其中,所述响应于所述第一输入,删除所述第一预览图指示的第一图片,包括:The method of claim 1, wherein, in response to the first input, deleting the first picture indicated by the first preview image comprises:响应于所述第一输入,显示所述第一图片;in response to the first input, displaying the first picture;接收用户对所述第一图片的第三输入;receiving a third input from the user on the first picture;响应于所述第三输入,删除所述第一图片。In response to the third input, the first picture is deleted.
- 根据权利要求1或2所述的方法,其中,所述在显示多个预览图的情况下,接收用户对第一预览图的第一输入之前,所述方法还包括:The method according to claim 1 or 2, wherein, in the case of displaying multiple preview images, before receiving the first input of the first preview image from the user, the method further comprises:接收用户的第四输入;receiving a fourth input from the user;响应于所述第四输入,显示图片预览界面,所述图片预览界面包括所述多个预览图,所述多个预览图指示的图片处于可删除状态。In response to the fourth input, a picture preview interface is displayed, where the picture preview interface includes the plurality of preview images, and the pictures indicated by the plurality of preview images are in a deleteable state.
- 根据权利要求3所述的方法,其中,所述第二输入包括用户在所述第二图片上的滑动输入;The method of claim 3, wherein the second input comprises a user sliding input on the second picture;其中,在所述图片预览界面中,若所述第一预览图的排序位于所述第二预览图之前,则所述滑动输入的滑动方向为第一预设方向;Wherein, 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 the first preset direction;或者,or,在所述图片预览界面中,若所述第一预览图的排序位于所述第二预览图之后,则所述滑动输入的滑动方向为第二预设方向。In the picture preview interface, if the order of the first preview image is located after the second preview image, the sliding direction of the sliding input is the second preset direction.
- 根据权利要求1所述的方法,其中,所述第一预览图包括所述多个预览图中的至少两个预览图;The method of claim 1, wherein the first preview image includes at least two preview images of the plurality of preview images;所述还原所述第一图片,包括:The restoring the first picture includes:按照所述电子设备对所述至少两个预览图指示的图片的删除顺序,依次还原所述至少两个预览图指示的图片。The pictures indicated by the at least two preview pictures are restored in sequence according to the order in which the electronic device deletes the pictures indicated by the at least two preview pictures.
- 一种图片处理装置,所述图片处理装置包括:接收模块、删除模块和还原模块;A picture processing device, the picture processing device comprises: a receiving module, a deleting module and a restoring module;所述接收模块,用于在显示多个预览图的情况下,接收用户对第一预览图的第一输入,一个预览图用于指示电子设备中保存的一张图片;The receiving module is configured to receive a first input from a user to a first preview image when multiple preview images are displayed, and a preview image is used to indicate a picture saved in the electronic device;所述删除模块,用于响应于所述接收模块接收的所述第一输入,删除所述第一预览图指示的第一图片;the deletion module, configured to delete the first picture indicated by the first preview image in response to the first input received by the receiving module;所述接收模块,还用于在显示第二预览图指示的第二图片的情况下,接收用户的第二输入;The receiving module is further configured to receive the second input of the user in the case of displaying the second picture indicated by the second preview image;所述还原模块,用于响应于所述接收模块接收的所述第二输入,还原所述第一图片;The restoration module is configured to restore the first picture in response to the second input received by the receiving module;其中,所述多个预览图包括所述第一预览图和所述第二预览图。Wherein, the plurality of preview images include the first preview image and the second preview image.
- 根据权利要求6所述的图片处理装置,其中,所述图片处理装置还包括:显示模块;The picture processing apparatus according to claim 6, wherein the picture processing apparatus further comprises: a display module;所述显示模块,用于响应于所述接收模块接收的所述第一输入,显示所述第一图片;the display module, configured to display the first picture in response to the first input received by the receiving module;所述接收模块,还用于接收用户对所述第一图片的第三输入;The receiving module is further configured to receive a third input from 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.
- 根据权利要求6或7所述的图片处理装置,其中,所述图片处理装置还包括:显示模块;The picture processing apparatus according to claim 6 or 7, wherein the picture processing apparatus further comprises: a display module;所述接收模块,还用于在显示多个预览图的情况下,接收用户对第一预览图的第一输入之前,接收用户的第四输入;The receiving module is further configured to receive a fourth input from the user before receiving the first input from the user on the first preview image when multiple preview images are displayed;所述显示模块,用于响应于所述接收模块接收的所述第四输入,显示图片预览界面,所述图片预览界面包括所述多个预览图,所述多个预览图指示的图片处于可删除状态。The display module is configured to, in response to the fourth input received by the receiving module, display a picture preview interface, where the picture preview interface includes the plurality of preview images, and the pictures indicated by the plurality of preview images are in an available state. Delete state.
- 根据权利要求8所述的图片处理装置,其中,所述第二输入包括用户在所述第二图片上的滑动输入;The picture processing apparatus according to claim 8, wherein the second input comprises a user's sliding input on the second picture;其中,在所述图片预览界面中,若所述第一预览图的排序位于所述第二预览图之前,则所述滑动输入的滑动方向为第一预设方向;Wherein, 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 the first preset direction;或者,or,在所述图片预览界面中,若所述第一预览图的排序位于所述第二预览图之后,则所述滑动输入的滑动方向为第二预设方向。In the picture preview interface, if the order of the first preview image is located after the second preview image, the sliding direction of the sliding input is the second preset direction.
- 根据权利要求6所述的图片处理装置,其中,所述第一预览图包括所述多个预览图中的至少两个预览图;The image processing apparatus according to claim 6, wherein the first preview image includes at least two preview images in the plurality of preview images;所述还原模块,具体用于按照所述电子设备对所述至少两个预览图指示的图片的删除顺序,依次还原所述至少两个预览图指示的图片。The restoration module is specifically configured to restore the pictures indicated by the at least two preview images in sequence according to the order in which the electronic device deletes the pictures indicated by the at least two preview images.
- 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-5中任一项所述的图片处理方法的步骤。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 being executed by the processor to achieve as claimed in claims 1-5 The steps of any one of the picture processing methods.
- 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-5中任一项所述的图片处理方法的步骤。A readable storage medium on which a program or an instruction is stored, and when the program or instruction is executed by a processor, implements the steps of the image processing method according to any one of claims 1-5.
- 一种计算机软件产品,所述计算机软件产品被至少一个处理器执行以实现如权利要求1-5中任一项所述的图片处理方法。A computer software product, the computer software product being executed by at least one processor to implement the picture processing method according to any one of claims 1-5.
- 一种电子设备,包括电子设备被配置成用于执行如权利要求1-5中任一项所述的图片处理方法。An electronic device, comprising an electronic device configured to perform the picture processing method of any one of claims 1-5.
- 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-5中任一项所述的图片处理方法。A chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used for running a program or an instruction to realize the picture according to any one of claims 1-5 Approach.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110272312.8 | 2021-03-12 | ||
CN202110272312.8A CN113127425B (en) | 2021-03-12 | 2021-03-12 | Picture processing method and device and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022188804A1 true WO2022188804A1 (en) | 2022-09-15 |
Family
ID=76773452
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/079927 WO2022188804A1 (en) | 2021-03-12 | 2022-03-09 | Picture processing method and apparatus, and electronic device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN113127425B (en) |
WO (1) | WO2022188804A1 (en) |
Families Citing this family (1)
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 (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060031265A1 (en) * | 1999-06-15 | 2006-02-09 | Microsoft Corporation | Save method for HTML documents |
CN303329654S (en) * | 2014-06-18 | 2015-08-12 | ||
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 |
CN113127425A (en) * | 2021-03-12 | 2021-07-16 | 维沃移动通信(杭州)有限公司 | Picture processing method and device and electronic equipment |
Family Cites Families (4)
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 |
KR101681446B1 (en) * | 2016-01-15 | 2016-12-02 | 한국기술교육대학교 산학협력단 | A handwriting mode image processing method for a visual presenter |
CN114679538A (en) * | 2019-05-22 | 2022-06-28 | 华为技术有限公司 | Shooting method and terminal |
CN112181247A (en) * | 2020-09-25 | 2021-01-05 | 深圳传音控股股份有限公司 | Picture deleting method, electronic device and computer storage medium |
-
2021
- 2021-03-12 CN CN202110272312.8A patent/CN113127425B/en active Active
-
2022
- 2022-03-09 WO PCT/CN2022/079927 patent/WO2022188804A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060031265A1 (en) * | 1999-06-15 | 2006-02-09 | Microsoft Corporation | Save method for HTML documents |
CN303329654S (en) * | 2014-06-18 | 2015-08-12 | ||
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 |
CN113127425A (en) * | 2021-03-12 | 2021-07-16 | 维沃移动通信(杭州)有限公司 | Picture processing method and device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN113127425B (en) | 2023-04-21 |
CN113127425A (en) | 2021-07-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20240031668A1 (en) | Photographing interface display method and apparatus, electronic device, and medium | |
WO2022012657A1 (en) | Image editing method and apparatus, and electronic device | |
WO2022194004A1 (en) | Application icon arrangement method and apparatus, and electronic device | |
WO2022143971A1 (en) | Video processing method and apparatus, and electronic device | |
WO2022143521A1 (en) | Message processing method and apparatus, and electronic device | |
WO2023061280A1 (en) | Application program display method and apparatus, and electronic device | |
WO2022089409A1 (en) | File sending method and apparatus, and electronic device | |
WO2023046130A1 (en) | Application icon display method and apparatus, and electronic device and storage medium | |
WO2022135290A1 (en) | Screenshot capturing method and apparatus, and electronic device | |
WO2023066109A1 (en) | Display method and apparatus, electronic device, and readable storage medium | |
WO2023025121A1 (en) | Display method and apparatus, electronic device, and readable storage medium | |
WO2022135476A1 (en) | Screenshot method and apparatus, and electronic device | |
CN112486390A (en) | Display control method and device and electronic equipment | |
US20240196082A1 (en) | Image Processing Method and Apparatus, and Electronic Device | |
CN112083854A (en) | Application program running method and device | |
WO2023046068A1 (en) | File processing method and apparatus | |
WO2022188804A1 (en) | Picture processing method and apparatus, and electronic device | |
CN112911147A (en) | Display control method, display control device and electronic equipment | |
WO2022156663A1 (en) | Application program management method and apparatus, and electronic device | |
CN112256179A (en) | Text processing method and device | |
WO2022089481A1 (en) | Information processing method and apparatus, and electronic device | |
WO2022095891A1 (en) | Image display method and apparatus, and device | |
CN112698762B (en) | Icon display method and device and electronic equipment | |
CN112312021B (en) | Shooting parameter adjusting method and device | |
WO2024041468A1 (en) | File processing method and apparatus, and electronic device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22766326 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 22766326 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 160224) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 22766326 Country of ref document: EP Kind code of ref document: A1 |