Photo management method and device

By using deep learning algorithms in terminal devices to score and process photos, combined with user behavior information, the problem of low-quality photos occupying storage space is solved, and the effect of improving storage space utilization and saving time and energy is achieved.

CN112507156BActive Publication Date: 2024-12-31BEIJING XIAOMI MOBILE SOFTWARE CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910792082.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-08-26
Publication Date
2024-12-31
Estimated Expiration
2039-08-26

AI Technical Summary

Technical Problem

With the development of electronic devices, the quality of photos taken by users is not high, resulting in a large number of low-quality photos occupying storage space, and sorting these photos takes time and effort. It is difficult for the existing technology to effectively solve this problem.

Method used

By using deep learning algorithms or neural networks in terminal devices to rate the clarity and sharpness of photos, and decide whether to delete photos based on the rating results, or add delete marks to photos, and adjust them in combination with user viewing status information and non-technical parameters. Delete tags, search and delete low-quality photos regularly.

Benefits of technology

Effectively filter and delete unnecessary photos, improve the storage space utilization of electronic devices, and save users' time and energy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112507156B_ABST
    Figure CN112507156B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a photo management method and device, the method is applied to a terminal, the method comprises: scoring the photos and generating a scoring result according to the technical parameters of the photos stored in the terminal; and processing the photos according to the scoring result. The method improves the storage space utilization rate of the electronic device and saves the user's time and energy by screening out unnecessary photos from the photos taken by the user and deleting them.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of picture management, and in particular to a picture management method and device. Background Art

[0002] With the development of electronic devices that can take pictures, people have higher and higher requirements for taking pictures, and at the same time, the requirements for the quality of pictures are also getting higher and higher. The quality of pictures depends on many factors, such as light, composition, scene, etc. Therefore, users often take a lot of low-quality or unsatisfactory pictures when taking pictures. Users usually do not use these pictures again, or even watch them again, so that a large number of such pictures are stored in electronic devices, which wastes the storage space of electronic devices, and it is a waste of time and energy for users to organize these pictures. Summary of the invention

[0003] In order to overcome the problems existing in the related art, the present disclosure provides a photo management method and device.

[0004] According to a first aspect of an embodiment of the present disclosure, a photo management method is provided, which is applied to a terminal, and comprises: scoring the photos and generating scoring results according to technical parameters of the photos stored in the terminal; and processing the photos according to the scoring results.

[0005] Optionally, scoring the photos and generating scoring results based on the technical parameters of the photos stored in the terminal includes: scoring the photos and generating scoring results based on the clarity or sharpness of the photos by using a deep learning algorithm or a neural network algorithm.

[0006] Optionally, processing the photo according to the scoring result includes: when the scoring result of the scored photo is lower than a preset threshold, directly deleting the scored photo.

[0007] Optionally, processing the photo according to the scoring result includes: when the scoring result of the scored photo is lower than a preset threshold, asking the user whether to delete the scored photo.

[0008] Optionally, processing the photo according to the scoring result includes: when the scoring result of the scored photo is lower than a preset threshold, adding a deletion mark to the scored photo.

[0009] Optionally, the method also includes: adding a deletion mark to the viewed photos without the deletion mark or removing the deletion mark from the viewed photos with the deletion mark based on the status information of the user when viewing the photos and the non-technical parameters of the photos; retrieving the deletion marks of all photos and recording the photos with the deletion marks; deleting all recorded photos with the deletion marks, or listing all recorded photos with the deletion marks and asking the user whether to delete them.

[0010] Optionally, the status information of the user when viewing the photo includes: facial expression information or sound information of the user when viewing the photo captured by the camera or microphone of the terminal, the time the user stays when viewing the photo, and the number of times the user repeatedly views the same photo.

[0011] Optionally, the non-technical parameters of the photo include: the content of the photo and the time when the photo was taken.

[0012] Optionally, retrieving deletion marks of all photos includes: retrieving deletion marks of all photos when a predetermined time is reached or when the remaining storage space of the terminal reaches a predetermined remaining storage space.

[0013] According to a second aspect of an embodiment of the present disclosure, a photo management device is provided. The device is applied to a terminal, and comprises: a scoring unit configured to score the photo and generate a scoring result according to technical parameters of the photo stored in the terminal; and a processing unit configured to process the photo according to the scoring result.

[0014] Optionally, the scoring unit is configured to score the photos and generate a scoring result based on the technical parameters of the photos stored in the terminal in the following manner: based on the clarity or sharpness of the photos, the photos are scored and a scoring result is generated by a deep learning algorithm or a neural network algorithm.

[0015] Optionally, the processing unit is configured to process the photo according to the scoring result in the following manner: when the scoring result of the scored photo is lower than a preset threshold, the scored photo is directly deleted.

[0016] Optionally, the processing unit is configured to process the photo according to the scoring result in the following manner: when the scoring result of the scored photo is lower than a preset threshold, asking the user whether to delete the scored photo.

[0017] Optionally, the processing unit is configured to process the photo according to the scoring result in the following manner: when the scoring result of the scored photo is lower than a preset threshold, adding a deletion mark to the scored photo.

[0018] Optionally, the device also includes: a marking unit, configured to add a deletion mark to a viewed photo without the deletion mark or remove the deletion mark from a viewed photo with the deletion mark based on status information of the user when viewing the photo and non-technical parameters of the photo; a retrieval unit, configured to retrieve the deletion marks of all photos and record the photos with the deletion marks; a deleting unit, configured to delete all recorded photos with the deletion mark, or to list all recorded photos with the deletion mark and ask the user whether to delete them.

[0019] Optionally, the status information of the user when viewing the photo includes: facial expression information or sound information of the user when viewing the photo captured by the camera or microphone of the terminal, the time the user stays when viewing the photo, and the number of times the user repeatedly views the same photo.

[0020] Optionally, the non-technical parameters of the photo include: the content of the photo and the time when the photo was taken.

[0021] Optionally, retrieving deletion marks of all photos includes: retrieving deletion marks of all photos when a predetermined time is reached or when the remaining storage space of the terminal reaches a predetermined remaining storage space.

[0022] According to a third aspect of an embodiment of the present disclosure, a photo management device is provided, comprising: a processor; a memory for storing processor executable instructions; wherein the processor is configured to execute the photo management method involved in the above-mentioned first aspect or any aspect of the first aspect.

[0023] According to the fourth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided. When the instructions in the storage medium are executed by a processor of a mobile terminal, the mobile terminal is enabled to execute the photo management method involved in the above-mentioned first aspect or any aspect of the first aspect.

[0024] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: the method improves the storage space usage of the electronic device and saves the user's time and energy by screening out unnecessary photos from the photos taken by the user and deleting them.

[0025] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0027] Figure 1 The figure is a flowchart of a photo management method according to an exemplary embodiment.

[0028] Figure 2 The figure is a flow chart of another photo management method according to an exemplary embodiment.

[0029] Figure 3 The invention is a block diagram showing a photo management device according to an exemplary embodiment.

[0030] Figure 4 is a block diagram of another photo management device according to an exemplary embodiment.

[0031] Figure 5 is a block diagram of yet another photo management device according to an exemplary embodiment. DETAILED DESCRIPTION

[0032] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.

[0033] The present invention provides a method for managing photos. Figure 1 , Figure 1 FIG. 1 is a flowchart of a photo management method according to an exemplary embodiment. Figure 1 As shown, the photo management method is used in a terminal and includes the following steps S101-S102. The terminal, which may also be referred to as user equipment (UE), mobile station (MS), mobile terminal (MT), etc., is a device that provides voice and / or data connectivity to users. For example, the terminal may be a handheld device with wireless connection function, a vehicle-mounted device, etc. At present, some examples of terminals are: smart phones (mobile phones), pocket personal computers (Pocket Personal Computers, PPCs), handheld computers, personal digital assistants (Personal Digital Assistants, PDAs), laptop computers, tablet computers, wearable devices, or vehicle-mounted devices, etc. The terminal disclosed in the present invention is, for example, a mobile phone.

[0034] In step S101, the photos are scored and a scoring result is generated according to the technical parameters of the photos stored in the terminal. According to an embodiment of the present disclosure, the photos are scored and a scoring result is generated according to the technical parameters of the photos stored in the mobile phone.

[0035] In step S102, the photos are processed according to the scoring results. According to an embodiment of the present disclosure, unnecessary photos are determined according to the scoring results so as to delete the photos according to the situation.

[0036] According to an embodiment of the present disclosure, scoring the photos and generating scoring results according to the technical parameters of the photos stored in the terminal includes: scoring the photos and generating scoring results according to the clarity or sharpness of the photos through a deep learning algorithm or a neural network algorithm. In this embodiment, the photos are scored and the scoring results are generated according to the clarity or sharpness of the photos stored in the mobile phone through a deep learning algorithm or a neural network algorithm. Of course, in addition to clarity and sharpness, the technical parameters of the photos may also include noise, dynamic range, tone reproduction, contrast, color accuracy, distortion, vignetting, exposure accuracy, lateral chromatic aberration and lens glare. In addition, the deep learning algorithm or neural network algorithm for scoring photos can adopt any applicable deep learning algorithm or neural network algorithm currently known.

[0037] According to an embodiment of the present disclosure, processing the photos according to the scoring results includes: when the scoring results of the scored photos are lower than a preset threshold, directly deleting the scored photos. In addition, processing the photos according to the scoring results includes: when the scoring results of the scored photos are lower than the preset threshold, asking the user whether to delete the scored photos. In this embodiment, when the scoring results of the scored photos are lower than the preset threshold, the mobile phone can automatically and directly delete the photos below the preset threshold, or ask the user on the mobile phone whether to delete the photos below the preset threshold (for example, a query box pops up) so that the user can finally decide whether to really delete these photos. The preset threshold can be a score freely set by the user according to personal preferences.

[0038] According to an embodiment of the present disclosure, the processing of the photo according to the scoring result includes: when the scoring result of the scored photo is lower than a preset threshold, adding a deletion mark to the scored photo. In this embodiment, when the scoring result of the scored photo is lower than the preset threshold, a deletion mark is added to the scored photo to determine the photo to be deleted, so that it can be processed uniformly according to the situation in subsequent operations. In addition, in this embodiment, the above step S102 performs adding a deletion mark to the scored photo when the scoring result of the scored photo is lower than the preset threshold.

[0039] See also Figure 2 , Figure 2 FIG. 1 is a flowchart of another photo management method according to an exemplary embodiment. Figure 2 As shown, the method further includes the following steps S103-S105. In step S103, according to the state information of the user when viewing the photos and the non-technical parameters of the photos, a deletion mark is added to the viewed photos without the deletion mark or the deletion mark is removed from the viewed photos with the deletion mark; in step S104, the deletion marks of all photos are retrieved and the photos with the deletion mark are recorded; in step S105, all the recorded photos with the deletion mark are deleted, or all the recorded photos with the deletion mark are listed and the user is asked whether to delete them.

[0040] In this embodiment, as described above, the above step S102 performs adding a deletion mark to the rated photo when the rating result of the rated photo is lower than a preset threshold. And the deletion mark can be re-determined according to the state information of the user viewing the photo with the mobile phone and the non-technical parameters of the photo, that is, adding a deletion mark to the viewed photo without the deletion mark or removing the deletion mark from the viewed photo with the deletion mark. When necessary, the deletion marks of all photos are retrieved, and the photos with the deletion marks are recorded. According to the user's settings, all the recorded photos with the deletion marks can be directly deleted, or all the recorded photos with the deletion marks can be listed and the user is asked whether to delete them.

[0041] According to an embodiment of the present disclosure, the state information of the user when viewing the photo includes: the facial expression information or sound information of the user when viewing the photo captured by the camera or microphone of the terminal, the time the user stays when viewing the photo, and the number of times the user repeatedly views the same photo. The non-technical parameters of the photo include: the content of the photo and the time when the photo was taken. In this embodiment, the facial expression information may be, for example, smiling, frowning, pouting, etc., as well as the degree of smiling, frowning, pouting, etc., and the sound information may be, for example, laughter, crying, exclamation, etc. The content of the photo includes the people, scenery, and geographical location of the photo.

[0042] In this embodiment, for the above-mentioned state information, the photos can be scored by known technical means, such as using known facial expression analysis algorithms based on deep learning and computer vision and known sound recognition algorithms, so as to determine the user's liking for the viewed photos. For the above-mentioned non-technical parameters, the user identifies them by himself. Finally, the deletion mark is re-determined by combining the judgment of the state information and the non-technical parameters. For example, by asking the user whether to add or remove the deletion mark based on the score of the photo according to the state information, the user finally determines whether to mark the photo with the deletion mark based on the non-technical parameters.

[0043] According to an embodiment of the present disclosure, the retrieving deletion marks of all photos includes: retrieving the deletion marks of all photos when a predetermined time is reached or when the remaining storage space of the terminal reaches a predetermined remaining storage space. In this embodiment, for example, the retrieval is performed once every week or month, or when the storage space of the mobile phone is 30% remaining. Retrieving under these predetermined conditions can avoid too frequent operations or forgetting operations.

[0044] The disclosed embodiment also provides a photo management device.

[0045] It is understandable that in order to realize the above functions, the photo management device provided by the embodiment of the present disclosure includes hardware structures and / or software modules corresponding to the execution of each function. In combination with the units and algorithm steps of each example disclosed in the embodiment of the present disclosure, the embodiment of the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the technical solution of the embodiment of the present disclosure.

[0046] This embodiment discloses a photo management device, which is used to execute the steps in the above method embodiment.

[0047] Reference Figure 3 , Figure 3 FIG. 1 is a block diagram of a photo management device 100 according to an exemplary embodiment. Figure 3 As shown, the photo management device 100 includes a scoring unit 101 and a processing unit 102. The scoring unit 101 is configured to score the photo and generate a scoring result according to the technical parameters of the photo stored in the terminal. The processing unit 102 is configured to process the photo according to the scoring result.

[0048] On the other hand, the scoring unit 101 is configured to score the photos and generate scoring results based on the technical parameters of the photos stored in the terminal in the following manner: based on the clarity or sharpness of the photos, the photos are scored and generated by a deep learning algorithm or a neural network algorithm.

[0049] On the other hand, the processing unit 102 is configured to process the photo according to the scoring result in the following manner: when the scoring result of the scored photo is lower than a preset threshold, the scored photo is directly deleted.

[0050] On the other hand, the processing unit 102 is configured to process the photo according to the scoring result in the following manner: when the scoring result of the scored photo is lower than a preset threshold, the user is asked whether to delete the scored photo.

[0051] On the other hand, the processing unit 102 is configured to process the photo according to the scoring result in the following manner: when the scoring result of the scored photo is lower than a preset threshold, a deletion mark is added to the scored photo.

[0052] See also Figure 4 , Figure 4 FIG. 1 is a block diagram of another photo management device according to an exemplary embodiment. Figure 4 As shown, the device 200 also includes: a marking unit 103, configured to add a deletion mark to a viewed photo without the deletion mark or remove the deletion mark from a viewed photo with the deletion mark according to the state information of the user when viewing the photo and the non-technical parameters of the photo; a retrieval unit 104, configured to retrieve the deletion marks of all photos and record the photos with the deletion marks; a deleting unit 105, configured to delete all recorded photos with the deletion marks, or list all recorded photos with the deletion marks and ask the user whether to delete them.

[0053] On the other hand, the status information of the user when viewing the photo includes: facial expression information or sound information of the user when viewing the photo captured by the camera or microphone of the terminal, the time the user stays when viewing the photo, and the number of times the user repeatedly views the same photo.

[0054] On the other hand, the non-technical parameters of the photo include: the content of the photo and the time when the photo was taken.

[0055] On the other hand, retrieving the deletion marks of all the photos includes: retrieving the deletion marks of all the photos when a predetermined time is reached or when the remaining storage space of the terminal reaches a predetermined remaining storage space.

[0056] It can be understood that, regarding the device in the above embodiment, the specific manner in which each unit performs the operation has been described in detail in the embodiment of the method, and will not be elaborated here.

[0057] The present disclosure also provides a photo management device. Figure 5 4 is a block diagram of another photo management device 400 according to an exemplary embodiment. For example, the device 400 may be a mobile phone, a computer, a tablet device, a personal digital assistant, etc.

[0058] Reference Figure 5 , the device 400 may include one or more of the following components: a processing component 402 , a memory 404 , a power component 406 , a multimedia component 408 , an audio component 410 , an input / output (I / O) interface 412 , a sensor component 414 , and a communication component 416 .

[0059] The processing component 402 generally controls the overall operation of the device 400, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 402 may include one or more modules to facilitate the interaction between the processing component 402 and other components. For example, the processing component 402 may include a multimedia module to facilitate the interaction between the multimedia component 408 and the processing component 402.

[0060] The memory 404 is configured to store various types of data to support the operation of the device 400. Examples of such data include instructions for any application or method operating on the device 400, contact data, phone book data, messages, pictures, videos, etc. The memory 404 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0061] The power supply component 406 provides power to the various components of the device 400. The power supply component 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device 400.

[0062] The multimedia component 408 includes a screen that provides an output interface between the device 400 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 408 includes a front camera and / or a rear camera. When the device 400 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0063] The audio component 410 is configured to output and / or input audio signals. For example, the audio component 410 includes a microphone (MIC), and when the device 400 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 404 or sent via the communication component 416. In some embodiments, the audio component 410 also includes a speaker for outputting audio signals.

[0064] I / O interface 412 provides an interface between processing component 402 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0065] The sensor assembly 414 includes one or more sensors for providing various aspects of the status assessment of the device 400. For example, the sensor assembly 414 can detect the open / closed state of the device 400, the relative positioning of components, such as the display and keypad of the device 400, and the sensor assembly 414 can also detect the position change of the device 400 or a component of the device 400, the presence or absence of user contact with the device 400, the orientation or acceleration / deceleration of the device 400, and the temperature change of the device 400. The sensor assembly 414 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 414 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0066] The communication component 416 is configured to facilitate wired or wireless communication between the device 400 and other devices. The device 400 can access a wireless network based on a communication standard, such as WiFi, 3G or 4G, or a combination thereof. In an exemplary embodiment, the communication component 416 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0067] In an exemplary embodiment, the apparatus 400 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above method.

[0068] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 404 including instructions, and the instructions can be executed by a processor 420 of the device 400 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0069] The embodiments of the present disclosure also provide a non-temporary computer-readable storage medium. When the instructions in the storage medium are executed by the processor of the mobile terminal, the mobile terminal can execute the photo management method involved in the above embodiments.

[0070] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed in this disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present invention are indicated by the claims.

[0071] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

Claims

1. A photo management method, characterized in that: The method is applied to a terminal, and the method includes: According to the technical parameters of the photos stored in the terminal, the photos are scored and a scoring result is generated; In response to the rating result of the rated photo being lower than a preset threshold, adding a deletion mark to the rated photo; According to the state information of the user when viewing the photo and the non-technical parameters of the photo, adding a deletion mark to the viewed photo without the deletion mark or removing the deletion mark from the viewed photo with the deletion mark; Retrieve the deletion marks of all photos and record the photos with deletion marks; Delete all the recorded photos with the deletion mark, or list all the recorded photos with the deletion mark and ask the user whether to delete them.

2. The photo management method according to claim 1, characterized in that: Scoring the photos and generating scoring results according to the technical parameters of the photos stored in the terminal includes: scoring the photos and generating scoring results according to the clarity or sharpness of the photos by using a deep learning algorithm or a neural network algorithm.

3. The photo management method according to claim 1, characterized in that: The state information of the user when viewing the photo includes: facial expression information or sound information of the user when viewing the photo captured by the camera or microphone of the terminal, the time the user stays when viewing the photo, and the number of times the user repeatedly views the same photo.

4. The photo management method according to claim 1, characterized in that: The non-technical parameters of the photo include: the content of the photo and the time when the photo was taken.

5. The photo management method according to claim 1, characterized in that: The retrieving the deletion marks of all the photos includes: retrieving the deletion marks of all the photos when a predetermined time is reached or when the remaining storage space of the terminal reaches a predetermined remaining storage space.

6. A photo management device, characterized in that: The device is applied to a terminal, and the device includes: A scoring unit, configured to score the photo and generate a scoring result according to the technical parameters of the photo stored in the terminal; A processing unit, when the scoring result of the scored photo is lower than a preset threshold, adds a deletion mark to the scored photo; a marking unit configured to add a deletion mark to a viewed photo without the deletion mark or remove the deletion mark from a viewed photo with the deletion mark according to the state information of the user when viewing the photo and the non-technical parameters of the photo; A retrieval unit, configured to retrieve deletion marks of all photos and record photos with deletion marks; The deleting unit is configured to delete all the recorded photos with the deletion mark, or list all the recorded photos with the deletion mark and ask the user whether to delete them.

7. The photo management device according to claim 6, characterized in that: The scoring unit is configured to score the photos and generate scoring results according to the technical parameters of the photos stored in the terminal in the following manner: based on the clarity or sharpness of the photos, the photos are scored and generated scoring results through a deep learning algorithm or a neural network algorithm.

8. The photo management device according to claim 6, characterized in that: The state information of the user when viewing the photo includes: facial expression information or sound information of the user when viewing the photo captured by the camera or microphone of the terminal, the time the user stays when viewing the photo, and the number of times the user repeatedly views the same photo.

9. The photo management device according to claim 8, characterized in that: The non-technical parameters of the photo include: the content of the photo and the time when the photo was taken.

10. The photo management device according to claim 6, characterized in that: The retrieving the deletion marks of all the photos includes: retrieving the deletion marks of all the photos when a predetermined time is reached or when the remaining storage space of the terminal reaches a predetermined remaining storage space.

11. A photo management device, characterized in that: The device comprises: processor; memory for storing processor executable instructions; Wherein, the processor is configured to: execute the photo management method according to any one of claims 1 to 5.

12. A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of a mobile terminal, the mobile terminal is enabled to execute the photo management method according to any one of claims 1 to 5.