CN109922209B - Photo management method and terminal equipment - Google Patents

Photo management method and terminal equipment Download PDF

Info

Publication number
CN109922209B
CN109922209B CN201910132272.XA CN201910132272A CN109922209B CN 109922209 B CN109922209 B CN 109922209B CN 201910132272 A CN201910132272 A CN 201910132272A CN 109922209 B CN109922209 B CN 109922209B
Authority
CN
China
Prior art keywords
photo
deleted
value
user
terminal device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910132272.XA
Other languages
Chinese (zh)
Other versions
CN109922209A (en
Inventor
余静江
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910132272.XA priority Critical patent/CN109922209B/en
Publication of CN109922209A publication Critical patent/CN109922209A/en
Application granted granted Critical
Publication of CN109922209B publication Critical patent/CN109922209B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The invention provides a photo management method and terminal equipment, wherein the photo management method comprises the following steps: determining an important value of the photo to be deleted; and setting the retention period of the photo to be deleted as the retention period corresponding to the important value according to the corresponding relation between the preset important value range and the retention period. According to the embodiment of the invention, the importance degree of the photo to be deleted can be identified when the photo to be deleted is managed, and the retention period is set according to the importance degree of the photo to be deleted, so that the photo with high importance degree to a user can be retained for a long time as possible, the user can recover the photo, and the utilization rate of the storage space of the terminal equipment is improved.

Description

Photo management method and terminal equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a photo management method and a terminal device.
Background
With the continuous development of science and technology and the gradual improvement of the living standard of people, the application of terminal equipment such as a smart phone is more and more extensive. The user can install various application software on the smart phone so as to meet various use requirements of the user.
At present, the storage space of a smart phone is very limited, so a user often cleans the storage space of the smart phone in a manual mode, a phone manager and the like. For the photos deleted in the process, in order to enable the user to recover finding the deleted photos, the smartphone can reserve the photos deleted by the user (which can be called as photos to be deleted) for a certain period, and after the reserved period is reached, if the user does not recover the photos to be deleted, the photos are completely deleted. However, the method for managing the photos to be deleted only manages according to the time for deleting the photos, and the same retention period is set no matter whether the photos to be deleted are important or not, so that some photos which are important to users and are deleted earlier are often completely deleted after the retention period is exceeded, and some photos which are not important to users and are to be deleted occupy storage space, so that the utilization rate of the storage space is low.
Disclosure of Invention
The embodiment of the invention provides a photo management method and terminal equipment, and aims to solve the problem of low utilization rate of a storage space of the terminal equipment caused by the conventional method for managing photos to be deleted.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a photo management method applied to a terminal device, including:
determining an important value of the photo to be deleted;
and setting the retention period of the photo to be deleted as the retention period corresponding to the important value according to the corresponding relation between the preset important value range and the retention period.
In a second aspect, an embodiment of the present invention provides a terminal device, including:
the determining module is used for determining the important value of the photo to be deleted;
and the setting module is used for setting the retention period of the photo to be deleted as the retention period corresponding to the important value according to the corresponding relation between the preset important value range and the retention period.
In a third aspect, an embodiment of the present invention provides a terminal device, including a memory, a processor, and a computer program stored on the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps of the above-mentioned photo management method.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the above-mentioned photo management method.
In the embodiment of the invention, the important value of the photo to be deleted is determined, the retention period of the photo to be deleted is set as the retention period corresponding to the important value according to the corresponding relation between the preset important value range and the retention period, the important degree of the photo to be deleted can be identified when the photo to be deleted is managed, and the retention period is set according to the important degree of the photo to be deleted, so that the photo with high importance degree to a user can be retained for a long time as much as possible, the user can recover the photo, and the utilization rate of the storage space of the terminal equipment is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
FIG. 1 is a flowchart of a photo management method according to an embodiment of the invention;
fig. 2 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 3 is a second schematic structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
Referring to fig. 1, fig. 1 is a flowchart of a photo management method according to an embodiment of the present invention, where the method is applied to a terminal device, and as shown in fig. 1, the method includes the following steps:
step 101: the importance value of the photo to be deleted is determined.
The photo to be deleted may be a photo to be deleted, and may be manually deleted by a user, or may be deleted by a cell phone manager or the like. When the terminal equipment system monitors that the photos in the terminal equipment system are deleted, the photo management process of the embodiment of the invention can be triggered to enter, and the important value of the photos to be deleted is determined.
In this embodiment, when determining the important value of the photo to be deleted, the terminal device may calculate the important value of the photo to be deleted by a preset calculation method according to the backup situation, the deletion mode, the attention, the shooting time, and/or the shooting location of the photo to be deleted.
Step 102: and setting the retention period of the photo to be deleted as the retention period corresponding to the important value according to the corresponding relation between the preset important value range and the retention period.
Wherein, the higher the importance value of the photo to be deleted is, the longer the retention period of the photo to be deleted is.
For example, taking the importance value of the photo to be deleted as an example, the preset correspondence between the importance value range and the retention period can be shown in table 1 below:
TABLE 1
Range of importance values Shelf life
Less than or equal to 10 minutes 0
More than 10 minutes and less than or equal to 30 minutes 1 day
More than 30 minutes and less than or equal to 70 minutes 7 days
Greater than 70 minutes 30 days
Based on table 1 above: when the important value of the photo to be deleted is less than or equal to 10 minutes, the retention period of the photo to be deleted can be set to be 0, namely the photo is directly and completely deleted; when the importance value of the photo to be deleted is greater than 10 minutes and less than or equal to 30 minutes, the retention period of the photo to be deleted can be set to 1 day; when the importance value of the photo to be deleted is greater than 30 minutes and less than or equal to 70 minutes, the retention period of the photo to be deleted can be set to 7 days; when the importance value of the photo to be deleted is greater than 70 minutes, the retention period of the photo to be deleted may be set to 30 days.
According to the photo management method provided by the embodiment of the invention, the important value of the photo to be deleted is determined, the retention period of the photo to be deleted is set to be the retention period corresponding to the important value according to the corresponding relation between the preset important value range and the retention period, the important degree of the photo to be deleted can be identified when the photo to be deleted is managed, and the retention period is set according to the important degree of the photo to be deleted, so that the photo with high importance degree to a user can be retained for a long time as much as possible, the user can recover the photo, and the utilization rate of the storage space of the terminal equipment is improved.
In this embodiment, optionally, the determining of the importance value of the photo to be deleted in step 101 may include at least one of the following:
(1) and calculating the important value of the photo to be deleted according to whether the photo with the similarity reaching a first preset threshold value exists in the photos stored in the terminal equipment.
Wherein the first preset threshold may be preset based on actual conditions, such as 90% optionally. During specific implementation, the terminal device may determine, through an Artificial Intelligence (AI) system, whether a photo with a similarity to a photo to be deleted reaching a first preset threshold (for example, 90%) exists in the photos stored in the terminal device and the photos to be deleted within a retention period; if so, the importance value of the photo to be deleted may be reduced, for example, 200 points are subtracted from the importance score of the photo to be deleted; otherwise, the importance value of the photo to be deleted may be increased, such as adding 20 points to the importance score of the photo to be deleted.
(2) And calculating the important value of the photo to be deleted according to the backup condition of the photo to be deleted.
The backup condition of the photo to be deleted can be determined through user behavior records. For example, the terminal device may identify whether the user has backed up the photo to be deleted by any one of the following methods:
the method comprises the steps of sharing a photo to be deleted to a WeChat, sharing the photo to be deleted to a friend circle, sharing the photo to be deleted to a microblog, copying the photo to be deleted through a USB interface, uploading the photo to be deleted to a cloud server by using a backup application and the like.
If the fact that the photos to be deleted have backups is identified, the important value of the photos to be deleted can be reduced, for example, the important value of the photos to be deleted is reduced by 200 points; if it is recognized that the photos to be deleted have no backup, the important value of the photos to be deleted can be increased, for example, the important score of the photos to be deleted is added by 30 points.
(3) And calculating the important value of the photo to be deleted according to the deleting mode of the photo to be deleted.
In this embodiment, the terminal device may infer whether the deletion operation of the to-be-deleted photo is possibly a false deletion operation by using a deletion mode of the to-be-deleted photo, and calculate an important value (for example, an important score) of the to-be-deleted photo based on a preset calculation method.
For example, if the photo to be deleted is deleted by storage space cleaning software such as a mobile phone manager APP, it may be determined that the possibility that the photo to be deleted is deleted by mistake is high, and the important score of the photo to be deleted may be added by 10 points; or, if the photo to be deleted is deleted by the user, the user does not view the photo (the possibility of mistakenly deleting the photo to be deleted can be determined by judging whether a method for displaying the photo exists on the terminal screen when the photo is deleted), and the important score of the photo to be deleted can be added by 10; or, if the photos to be deleted are deleted in a batch manner (for example, the photos to be deleted are deleted in a full-selection or multi-selection manner adopted by the user), it may be determined that the photos to be deleted are deleted by mistake with a high possibility, and the important score of the photos to be deleted may be added by 5 scores; or, if the photo to be deleted is deleted by the user, the user views the photo, and does not delete a plurality of photos quickly (which can be determined by whether other photos are deleted within the last 5 minutes), it may be determined that the possibility that the photo to be deleted is deleted by mistake is small, and 50 points may be subtracted from the important point value of the photo to be deleted.
(4) And calculating the important value of the photo to be deleted according to the content in the photo to be deleted.
The content in the photo to be deleted can be obtained based on the identification of the terminal equipment. The above-mentioned manner for calculating the importance value of the photo to be deleted according to the content in the photo to be deleted may include at least one of the following:
1) and when the photo to be deleted is the photo of the terminal equipment user and others, the terminal equipment calculates the important value of the photo to be deleted by combining the communication record information of the terminal equipment user and others within the preset time.
In this embodiment, the preset time may be preset based on actual conditions, for example, may be selected as the latest 24 hours. The communication record information may include voice call record information and/or text chat record information. During specific implementation, the terminal equipment can identify whether information such as quarrel exists in the communication record information through the AI system; if the photo to be deleted exists, the photo which is possibly deleted by the user in the pneumatic impulse state can be judged, the remorseness possibility of the user is high, and the important value of the photo to be deleted can be increased, for example, the important score of the photo to be deleted is added by 5 points.
2) And when the photo to be deleted is the photo of the terminal equipment user and others, the terminal equipment calculates the important value of the photo to be deleted by combining the intimacy degree of the terminal equipment user and others.
In this embodiment, the intimacy degree between the terminal device user and another person (i.e., the co-located person) can be determined by whether the two persons are often contacted through social contact APP, conversation, short message and other modes. If the two persons contact frequently, for example, the number of contacts in the last month exceeds 5, it can be determined that the intimacy degree of the two persons is high, and the importance value of the corresponding photo to be deleted can be increased, for example, the importance score of the photo to be deleted is increased by 10. Further, if the photo to be deleted is the only photo of the user and the co-shooter, the importance value of the photo to be deleted may be increased, for example, 5 points is added to the importance score of the photo to be deleted.
3) And when the content in the photo to be deleted is the document information, the terminal equipment calculates the important value of the photo to be deleted by combining the timeliness of the document information.
In this embodiment, when the content in the photo to be deleted is document information, the terminal device may extract a time point from the document information. For example, when the photo content is a spring festival holiday schedule notice, the extracted time point is the spring festival. If the deletion time point of the photo to be deleted is after the time point extracted from the document information, it may be determined that the content in the photo to be deleted may be invalid, and the importance value of the photo to be deleted may be reduced, for example, the importance score of the photo to be deleted is subtracted by 50 points; if the deletion time point of the photo to be deleted is before the time point extracted from the document information, it may be determined that the content in the photo to be deleted is not invalid, and the importance value of the photo to be deleted may be increased, for example, by adding 50 points to the importance score of the photo to be deleted.
In addition, when the importance value of the photo to be deleted is calculated according to the content in the photo to be deleted, if the content in the photo to be deleted includes a famous landscape and is only one photo taken with the famous landscape as the background, the importance value of the photo to be deleted may be increased, for example, the importance score of the photo to be deleted is increased by 10 points.
(5) And calculating the important value of the photo to be deleted according to the attention degree of the photo to be deleted.
In this embodiment, the attention of the photo to be deleted may be determined by the browsing times and/or the sharing times. The above-mentioned manner for calculating the importance value of the photo to be deleted according to the attention of the photo to be deleted may include at least one of the following:
1) and calculating the important value of the photo to be deleted according to the browsing times of the photo to be deleted.
For example, the terminal device may recognize the user behavior record through the AI system, and obtain the browsing times of the photo to be deleted through the user behavior record. If the browsing times of the photos to be deleted exceed the preset times, such as 9 times or 10 times, it can be determined that the user attention degree of the photos to be deleted is high, and the important value of the photos to be deleted can be increased, such as adding 10 points to the important value of the photos to be deleted; conversely, the importance value of the photo to be deleted may be reduced, such as subtracting 5 points from the importance score of the photo to be deleted.
2) And calculating the important value of the photo to be deleted according to the sharing times of the photo to be deleted.
For example, the terminal device may identify the user behavior record through the AI system, and obtain the sharing times of the photo to be deleted through the user behavior record. If the sharing frequency of the photo to be deleted exceeds the preset frequency, such as 5 times or 6 times, it can be determined that the user attention degree of the photo to be deleted is high, and the important value of the photo to be deleted can be increased, such as adding 10 points to the important value of the photo to be deleted; conversely, the importance value of the photo to be deleted may be reduced, such as subtracting 10 points from the importance score of the photo to be deleted.
(6) And calculating the important value of the photo to be deleted according to the shooting time of the photo to be deleted.
For example, when calculating the important value of the photo to be deleted according to the shooting time, the calendar data of the user may be queried to determine whether the shooting time of the photo to be deleted is the important day or the special day of the user, such as a birthday, a anniversary, a spring festival, etc., and if so, the important value of the photo to be deleted may be increased, such as adding 10 points to the important score of the photo to be deleted; or, judging whether the photo to be deleted is the only photo of the user on the special day, if so, increasing the important value of the photo to be deleted, for example, adding 5 points to the important value of the photo to be deleted; or, it is determined whether the time period from the shooting time of the photo to be deleted to the current date exceeds a preset time period, for example, if the time period exceeds 1 year but is less than 3 years, the importance value of the photo to be deleted may be increased, for example, 5 points are added to the importance value of the photo to be deleted, and if the time period exceeds 3 years, the importance value of the photo to be deleted may be further increased, for example, 10 points are added to the importance value of the photo to be deleted.
(7) And calculating the important value of the photo to be deleted according to the shooting place of the photo to be deleted.
For example, when calculating the important value of the photo to be deleted according to the shooting location, the terminal device may first obtain coordinates of a location where the user resides, then calculate a distance between the shooting location where the photo to be deleted is to be deleted and a location where the user stays, and determine whether the calculated distance exceeds a preset distance threshold (e.g., 80 km); if the value exceeds the preset distance threshold, the important value of the photo to be deleted can be increased, for example, the important value of the photo to be deleted is added by 10 points; otherwise, the important value of the photo to be deleted may not be increased or decreased.
Or when the important value of the photo to be deleted is calculated according to the shooting location, the terminal equipment can inquire the map big data in the terminal equipment and judge whether the shooting location of the photo to be deleted is in the scenic spot; if the photos are in the scenic spot, the important value of the photos to be deleted can be increased, for example, the important value of the photos to be deleted is added by 10 points; otherwise, the important value of the photo to be deleted may not be increased or decreased.
Or, when the important value of the photo to be deleted is calculated according to the shooting location, the terminal device may determine whether the photo to be deleted is the only one photo at the shooting location, and if so, may increase the important value of the photo to be deleted, for example, add 5 points to the important value of the photo to be deleted, otherwise, may not increase or decrease the important value of the photo to be deleted.
In this embodiment of the present invention, optionally, after step 102, the method may further include:
when the retention period of the photo to be deleted expires, judging whether the importance value is greater than a second preset threshold value;
when the importance value is larger than a second preset threshold value, displaying prompt information; the prompt information is used for prompting a user to completely delete the photo to be deleted;
or deleting the photo to be deleted when the importance value is less than or equal to a second preset threshold value.
Wherein the second preset threshold value can be preset based on actual conditions. The prompt message can be displayed on the screen of the terminal equipment through the suspension bullet frame.
Therefore, by displaying the prompt information, the photos which are important to the user can be prevented from being deleted completely, and the photo management efficiency is enhanced.
Further, after the prompt message is displayed, the method further includes:
when an operation of confirming deletion input by a user is received, deleting the photo to be deleted;
or when receiving an operation of confirming not to delete input by the user, restoring the photo to be deleted.
Therefore, the important photos to be deleted are deleted or recovered through the input operation of the user, the photos to be deleted can be processed based on the user requirements, and the photo management efficiency is enhanced.
The above embodiment describes the photo management method of the present invention, and the terminal device of the present invention will be described with reference to the embodiment and the drawings.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a terminal device according to an embodiment of the present invention, and as shown in fig. 2, the terminal device 20 includes:
a determining module 21, configured to determine an importance value of the photo to be deleted;
and the setting module 22 is configured to set the retention period of the to-be-deleted photo as the retention period corresponding to the important value according to a preset corresponding relationship between the important value range and the retention period.
Wherein the higher the importance value of the photo to be deleted is, the longer the retention period of the photo to be deleted is.
According to the terminal equipment provided by the embodiment of the invention, the important value of the photo to be deleted is determined, the retention period of the photo to be deleted is set to be the retention period corresponding to the important value according to the corresponding relation between the preset important value range and the retention period, the important degree of the photo to be deleted can be identified when the photo to be deleted is managed, and the retention period is set according to the important degree of the photo to be deleted, so that the photo with high importance degree to a user can be retained for a long time as much as possible, the user can recover the photo, and the utilization rate of the storage space of the terminal equipment is improved.
Optionally, the determining module 21 is specifically configured to perform at least one of the following:
calculating an important value of the photo to be deleted according to whether the photo with the similarity reaching a first preset threshold value exists in the photos stored in the terminal equipment;
calculating the important value of the photo to be deleted according to the backup condition of the photo to be deleted;
calculating the important value of the photo to be deleted according to the deleting mode of the photo to be deleted;
calculating the important value of the photo to be deleted according to the content in the photo to be deleted;
calculating the important value of the photo to be deleted according to the attention degree of the photo to be deleted;
calculating the important value of the photo to be deleted according to the shooting time of the photo to be deleted;
and calculating the important value of the photo to be deleted according to the shooting place of the photo to be deleted.
Optionally, the determining module 21 is specifically configured to perform at least one of the following:
when the photo to be deleted is a photo of a terminal device user and others, calculating an important value of the photo to be deleted by combining communication record information of the terminal device user and the others within preset time;
when the photo to be deleted is the photo of the terminal equipment user and others, calculating the important value of the photo to be deleted by combining the intimacy degree of the terminal equipment user and the others;
and when the content in the photo to be deleted is document information, calculating the important value of the photo to be deleted by combining the timeliness of the document information.
Optionally, the determining module 21 is specifically configured to perform at least one of the following:
calculating the important value of the photo to be deleted according to the browsing times of the photo to be deleted;
and calculating the important value of the photo to be deleted according to the sharing times of the photo to be deleted.
Optionally, the terminal device further includes:
the judging module is used for judging whether the important value is larger than a second preset threshold value or not when the retention period of the photo to be deleted expires;
the display module is used for displaying prompt information when the importance value is larger than the second preset threshold; the prompt information is used for prompting a user to completely delete the photo to be deleted;
and the deleting module is used for deleting the photo to be deleted when the importance value is less than or equal to the second preset threshold value.
Optionally, the terminal device further includes:
the processing module is used for deleting the photo to be deleted when the operation of confirming deletion input by a user is received;
or when receiving an operation of confirming not to delete input by the user, restoring the photo to be deleted.
In addition, an embodiment of the present invention further provides a terminal device, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements each process of the photo management method embodiment, and can achieve the same technical effect, and is not described herein again to avoid repetition.
Specifically, fig. 3 is a schematic diagram of a hardware structure of a terminal device for implementing various embodiments of the present invention, where the terminal device 300 includes, but is not limited to: radio frequency unit 301, network module 302, audio output unit 303, input unit 304, sensor 305, display unit 306, user input unit 307, interface unit 308, memory 309, processor 310, and power supply 311. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 3 does not constitute a limitation of the terminal device, and that the terminal device may include more or fewer components than shown, or combine certain components, or a different arrangement of components. In the embodiment of the present invention, the terminal device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal device, a wearable device, a pedometer, and the like.
The processor 310 is configured to determine an importance value of the photo to be deleted; and setting the retention period of the photo to be deleted as the retention period corresponding to the important value according to the corresponding relation between the preset important value range and the retention period.
According to the terminal device 300 of the embodiment of the invention, by determining the important value of the photo to be deleted, and setting the retention period of the photo to be deleted as the retention period corresponding to the important value according to the preset corresponding relationship between the important value range and the retention period, the important degree of the photo to be deleted can be identified when the photo to be deleted is managed, and the retention period is set according to the important degree of the photo to be deleted, so that the photo with high importance degree to a user can be retained for a long time as possible, the user can recover the photo, and the utilization rate of the storage space of the terminal device is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 301 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 310; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 301 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 301 can also communicate with a network and other devices through a wireless communication system.
The terminal device provides the user with wireless broadband internet access through the network module 302, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 303 may convert audio data received by the radio frequency unit 301 or the network module 302 or stored in the memory 309 into an audio signal and output as sound. Also, the audio output unit 303 may also provide audio output related to a specific function performed by the terminal device 300 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 303 includes a speaker, a buzzer, a receiver, and the like.
The input unit 304 is used to receive audio or video signals. The input Unit 304 may include a Graphics Processing Unit (GPU) 3041 and a microphone 3042, and the Graphics processor 3041 processes image data of a still picture or video obtained by an image capturing apparatus (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 306. The image frames processed by the graphic processor 3041 may be stored in the memory 309 (or other storage medium) or transmitted via the radio frequency unit 301 or the network module 302. The microphone 3042 can receive sounds and can process such sounds into audio data. The processed audio data is converted into a format output transmittable to a mobile communication base station via the radio frequency unit 301 in case of the phone call mode.
The terminal device 300 further comprises at least one sensor 305, such as light sensors, motion sensors and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 3061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 3061 and/or a backlight when the terminal device 300 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal device posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 305 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 306 is used to display information input by the user or information provided to the user. The Display unit 306 may include a Display panel 3061, and the Display panel 3061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 307 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal device. Specifically, the user input unit 307 includes a touch panel 3071 and other input devices 3072. The touch panel 3071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 3071 (e.g., operations by a user on or near the touch panel 3071 using a finger, a stylus, or any suitable object or attachment). The touch panel 3071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 310, and receives and executes commands sent by the processor 310. In addition, the touch panel 3071 may be implemented using various types, such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 307 may include other input devices 3072 in addition to the touch panel 3071. Specifically, the other input devices 3072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein.
Further, the touch panel 3071 may be overlaid on the display panel 3061, and when the touch panel 3071 detects a touch operation on or near the touch panel, the touch operation is transmitted to the processor 310 to determine the type of the touch event, and then the processor 310 provides a corresponding visual output on the display panel 3061 according to the type of the touch event. Although the touch panel 3071 and the display panel 3061 are shown as two separate components in fig. 3 to implement the input and output functions of the terminal device, in some embodiments, the touch panel 3071 and the display panel 3061 may be integrated to implement the input and output functions of the terminal device, which is not limited herein.
The interface unit 308 is an interface for connecting an external device to the terminal apparatus 300. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 308 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal apparatus 300 or may be used to transmit data between the terminal apparatus 300 and an external device.
The memory 309 may be used to store software programs as well as various data. The memory 309 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 309 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 310 is a control center of the terminal device, connects various parts of the entire terminal device by using various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs and/or modules stored in the memory 309 and calling data stored in the memory 309, thereby performing overall monitoring of the terminal device. Processor 310 may include one or more processing units; preferably, the processor 310 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 310.
Terminal device 300 may also include a power supply 311 (e.g., a battery) for providing power to various components, and preferably, power supply 311 may be logically connected to processor 310 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
In addition, the terminal device 300 may further include some functional modules that are not shown, and are not described herein again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program can implement the processes of the embodiment of the photo management method applied to the terminal device, and can achieve the same technical effects, and in order to avoid repetition, the descriptions are omitted here. The computer-readable storage medium is, for example, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (6)

1. A photo management method is applied to terminal equipment and is characterized by comprising the following steps:
determining an important value of the photo to be deleted;
setting the retention time limit of the photo to be deleted as the retention time limit corresponding to the important value according to the corresponding relation between the preset important value range and the retention time limit;
wherein, the determining the importance value of the photo to be deleted comprises at least one of the following items:
when the photo to be deleted is a photo of a terminal device user and others, calculating an important value of the photo to be deleted by combining communication record information of the terminal device user and the others within preset time;
when the photo to be deleted is the photo of the terminal equipment user and others, calculating the important value of the photo to be deleted by combining the intimacy degree of the terminal equipment user and the others; the intimacy degree is determined by the contact frequency between the terminal equipment user and the other people.
2. The method according to claim 1, wherein after the setting of the retention period of the to-be-deleted photo to the retention period corresponding to the importance value, the method further comprises:
when the retention period of the photo to be deleted expires, judging whether the importance value is greater than a second preset threshold value;
when the importance value is larger than a second preset threshold value, displaying prompt information; the prompt information is used for prompting a user to completely delete the photo to be deleted;
or deleting the photo to be deleted when the importance value is less than or equal to a second preset threshold value.
3. A terminal device, comprising:
the determining module is used for determining the important value of the photo to be deleted;
the setting module is used for setting the retention period of the photo to be deleted as the retention period corresponding to the important value according to the corresponding relation between the preset important value range and the retention period;
wherein the determining module is specifically configured to perform at least one of:
when the photo to be deleted is a photo of a terminal device user and others, calculating an important value of the photo to be deleted by combining communication record information of the terminal device user and the others within preset time;
when the photo to be deleted is the photo of the terminal equipment user and others, calculating the important value of the photo to be deleted by combining the intimacy degree of the terminal equipment user and the others; the intimacy degree is determined by the contact frequency between the terminal equipment user and the other people.
4. The terminal device according to claim 3, wherein the terminal device further comprises:
the judging module is used for judging whether the important value is larger than a second preset threshold value or not when the retention period of the photo to be deleted expires;
the display module is used for displaying prompt information when the importance value is larger than the second preset threshold; the prompt information is used for prompting a user to completely delete the photo to be deleted;
and the deleting module is used for deleting the photo to be deleted when the importance value is less than or equal to the second preset threshold value.
5. A terminal device comprising a memory, a processor, a computer program stored on said memory and executable on said processor, characterized in that said computer program, when executed by said processor, implements the steps of the photo management method according to claim 1 or 2.
6. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the photo management method according to claim 1 or 2.
CN201910132272.XA 2019-02-22 2019-02-22 Photo management method and terminal equipment Active CN109922209B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910132272.XA CN109922209B (en) 2019-02-22 2019-02-22 Photo management method and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910132272.XA CN109922209B (en) 2019-02-22 2019-02-22 Photo management method and terminal equipment

Publications (2)

Publication Number Publication Date
CN109922209A CN109922209A (en) 2019-06-21
CN109922209B true CN109922209B (en) 2021-03-05

Family

ID=66961993

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910132272.XA Active CN109922209B (en) 2019-02-22 2019-02-22 Photo management method and terminal equipment

Country Status (1)

Country Link
CN (1) CN109922209B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110287156B (en) * 2019-06-28 2021-12-21 维沃移动通信有限公司 File processing method and mobile terminal
CN112667838A (en) * 2020-12-22 2021-04-16 广州城市职业学院 Photo management method and device, terminal equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101510205A (en) * 2009-03-16 2009-08-19 广州市有福数码科技有限公司 Method for implementing automatically clustering photographs, apparatus and system
CN103412753A (en) * 2013-08-12 2013-11-27 宇龙计算机通信科技(深圳)有限公司 Image deletion method and device
CN104750688A (en) * 2013-12-25 2015-07-01 鸿富锦精密工业(深圳)有限公司 Photo management method and system
CN106339496A (en) * 2016-08-31 2017-01-18 百度在线网络技术(北京)有限公司 Method and device for clearing photos
CN106570155A (en) * 2016-10-28 2017-04-19 努比亚技术有限公司 Image management device and method
CN107480176A (en) * 2017-07-01 2017-12-15 珠海格力电器股份有限公司 Picture management method and device and terminal equipment
CN107589963A (en) * 2017-09-26 2018-01-16 维沃移动通信有限公司 A kind of image processing method, mobile terminal and computer-readable recording medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104794173A (en) * 2015-04-01 2015-07-22 惠州Tcl移动通信有限公司 Photographing processing method and system based on mobile terminal
CN105653582A (en) * 2015-12-21 2016-06-08 联想(北京)有限公司 File management method of electronic equipment and electronic equipment
CN106202170A (en) * 2016-06-24 2016-12-07 乐视控股(北京)有限公司 Photo management method and photo management systems
CN106649472B (en) * 2016-09-27 2020-04-17 维沃移动通信有限公司 Picture management method and mobile terminal
CN107491482A (en) * 2017-07-12 2017-12-19 维沃移动通信有限公司 A kind of reminding method and mobile terminal
CN107832452A (en) * 2017-11-23 2018-03-23 苏州亿科赛卓电子科技有限公司 A kind of photo management method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101510205A (en) * 2009-03-16 2009-08-19 广州市有福数码科技有限公司 Method for implementing automatically clustering photographs, apparatus and system
CN103412753A (en) * 2013-08-12 2013-11-27 宇龙计算机通信科技(深圳)有限公司 Image deletion method and device
CN104750688A (en) * 2013-12-25 2015-07-01 鸿富锦精密工业(深圳)有限公司 Photo management method and system
CN106339496A (en) * 2016-08-31 2017-01-18 百度在线网络技术(北京)有限公司 Method and device for clearing photos
CN106570155A (en) * 2016-10-28 2017-04-19 努比亚技术有限公司 Image management device and method
CN107480176A (en) * 2017-07-01 2017-12-15 珠海格力电器股份有限公司 Picture management method and device and terminal equipment
CN107589963A (en) * 2017-09-26 2018-01-16 维沃移动通信有限公司 A kind of image processing method, mobile terminal and computer-readable recording medium

Also Published As

Publication number Publication date
CN109922209A (en) 2019-06-21

Similar Documents

Publication Publication Date Title
CN111343081B (en) Information display method and electronic equipment
CN109509473B (en) Voice control method and terminal equipment
CN107846352B (en) Information display method and mobile terminal
CN108135033B (en) Bluetooth connection method and mobile terminal
CN108073458B (en) Memory recovery method, mobile terminal and computer-readable storage medium
CN108494665B (en) Group message display method and mobile terminal
CN110308839B (en) File management method and terminal equipment
CN108616448B (en) Information sharing path recommendation method and mobile terminal
CN108391008B (en) Message reminding method and mobile terminal
CN110569119B (en) Background application program management method and terminal
CN110971510A (en) Message processing method and electronic equipment
CN109922209B (en) Photo management method and terminal equipment
CN109729220B (en) User state pushing method and mobile terminal
CN107943590B (en) Memory optimization method based on associated starting application, mobile terminal and storage medium
CN108200263B (en) Information processing method and device
CN108228357B (en) Memory cleaning method and mobile terminal
CN108093119B (en) Strange incoming call number marking method and mobile terminal
CN109144860B (en) Operation method for control object and terminal equipment
CN109660657B (en) Application program control method and device
CN110941592A (en) Data management method and mobile terminal
WO2019179312A1 (en) Mobile terminal operation method and mobile terminal
CN108319409B (en) Application program control method and mobile terminal
CN111131607A (en) Information sharing method, electronic equipment and computer readable storage medium
CN110928616A (en) Shortcut icon management method and electronic equipment
CN110224925B (en) Message management and mobile terminal

Legal Events

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