CN106559190B - Media resource processing method, device and terminal - Google Patents

Media resource processing method, device and terminal Download PDF

Info

Publication number
CN106559190B
CN106559190B CN201510631540.4A CN201510631540A CN106559190B CN 106559190 B CN106559190 B CN 106559190B CN 201510631540 A CN201510631540 A CN 201510631540A CN 106559190 B CN106559190 B CN 106559190B
Authority
CN
China
Prior art keywords
media
media resource
redundant
redundancy
resource library
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
CN201510631540.4A
Other languages
Chinese (zh)
Other versions
CN106559190A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510631540.4A priority Critical patent/CN106559190B/en
Publication of CN106559190A publication Critical patent/CN106559190A/en
Application granted granted Critical
Publication of CN106559190B publication Critical patent/CN106559190B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/20Arrangements for detecting or preventing errors in the information received using signal quality detector
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/22Arrangements for detecting or preventing errors in the information received using redundant apparatus to increase reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Quality & Reliability (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a media resource processing method, a device and a terminal, wherein the method comprises the following steps: acquiring a media resource library of a terminal, wherein the media resource library is used for storing at least one media resource; detecting whether redundant media resources exist in the media resource library; if the media resource library has redundant media resources, generating redundant prompt information; and when the media resource library is triggered to be opened, outputting the redundant prompt information. The invention can automatically detect and prompt the redundant media resources in the media resource library of the terminal, can guide the user to process the media resources in time, improves the efficiency of processing the media resources and improves the service performance of the terminal.

Description

Media resource processing method, device and terminal
Technical Field
The present invention relates to the field of internet technologies, and in particular, to the field of media resource processing technologies, and in particular, to a method, an apparatus, and a terminal for processing media resources.
Background
With the development of the internet, terminals such as mobile phones and smart wearable devices have also been developed rapidly, and various internet Applications (APPs) may be installed and run in the terminals, including but not limited to: camera applications, instant messaging applications, SNS (Social Networking Services) applications, and the like, and various internet applications can generate a large amount of media resources during use, including but not limited to: pictures, photos, etc., which are typically stored in the memory space of the terminal in the form of a library of media assets. At present, media resources in a media resource library need to be actively sorted by a user, that is, the user needs to actively enter the media resource library to perform operations such as clearing and deleting pictures or photos, so as to release a storage space of a terminal.
Disclosure of Invention
The embodiment of the invention provides a media resource processing method, a device and a terminal, which can automatically detect and prompt redundant media resources in a media resource library of the terminal, can guide a user to process the media resources in time, and improve the efficiency of media resource processing and the usability of the terminal.
A first aspect of an embodiment of the present invention provides a media resource processing method, which may include:
acquiring a media resource library of a terminal, wherein the media resource library is used for storing at least one media resource;
detecting whether redundant media resources exist in the media resource library;
if the media resource library has redundant media resources, generating redundant prompt information;
and when the media resource library is triggered to be opened, outputting the redundant prompt information.
Further, the detecting whether redundant media resources exist in the media resource library includes:
calculating the similarity between at least one media resource in the media resource library;
and if the similarity between two or more target media resources in the at least one media resource is greater than a preset similarity threshold, determining the target media resources as redundant media resources in the media resource library.
Further, before generating the redundant prompt message, the method further includes:
and judging whether the terminal meets a redundancy prompt rule or not, and executing the step of generating redundancy prompt information if the judgment result is yes.
Further, the determining whether the terminal satisfies a redundancy prompting rule includes:
judging whether the quantity of redundant media resources in the media resource library reaches a preset quantity threshold value and/or judging whether the storage space occupation ratio of the redundant media resources in the media resource library reaches a preset proportion threshold value;
if so, acquiring the current system time of the terminal and the historical system time of the last time of outputting the redundancy prompt information;
calculating a time interval between the current system time and the historical system time;
and if the time interval is greater than a preset time threshold, determining that the terminal meets a redundancy prompt rule.
Further, when the media asset library is triggered to be started, after the redundant prompt information is output, the method further includes:
when the redundant cleaning operation is detected, outputting a resource selection interface, wherein the resource selection interface comprises the redundant media resource;
and deleting the selected redundant media resources in the resource selection interface from the media resource library.
A second aspect of the present invention provides a media resource processing apparatus, which includes:
the resource library acquiring unit is used for acquiring a media resource library of the terminal, and the media resource library is used for storing at least one media resource;
a redundancy detection unit, configured to detect whether a redundant media resource exists in the media resource library;
the prompt generating unit is used for generating redundant prompt information if redundant media resources exist in the media resource library;
and the prompt output unit is used for outputting the redundant prompt information when the media asset library is triggered to be started.
Further, the redundancy detection unit includes:
the similarity calculation unit is used for calculating the similarity between at least one media resource in the media resource library;
and the redundancy determining unit is used for determining the target media resource as the redundant media resource in the media resource library if the similarity between two or more target media resources in the at least one media resource is greater than a preset similarity threshold.
Further, the apparatus further comprises:
and the rule judging unit is used for judging whether the terminal meets the redundancy prompt rule or not and generating redundancy prompt information by the prompt generating unit when the judgment result is yes.
Further, the rule determination unit includes:
a threshold judgment unit, configured to judge whether the number of redundant media resources in the media resource library reaches a preset number threshold, and/or judge whether a storage space occupation ratio occupied by the redundant media resources in the media resource library reaches a preset proportion threshold;
the time acquisition unit is used for acquiring the current system time of the terminal and the historical system time of the last time of outputting the redundancy prompt information if the judgment result is yes;
a time interval calculation unit for calculating a time interval between the current system time and the historical system time;
and the result determining unit is used for determining that the terminal meets the redundancy prompting rule if the time interval is greater than a preset time threshold.
Further, the apparatus further comprises:
and the redundancy cleaning unit is used for outputting a resource selection interface when the redundancy cleaning operation is detected, wherein the resource selection interface comprises the redundancy media resources, and deleting the selected redundancy media resources in the resource selection interface from the media resource library.
A third aspect of an embodiment of the present invention provides a terminal, which may include the media resource processing apparatus according to the second aspect.
The embodiment of the invention has the following beneficial effects:
the embodiment of the invention can automatically detect whether redundant media resources exist in the media resource library of the terminal, generate the redundant prompt information when detecting that the redundant media resources exist, and output the redundant prompt information when the media resource library is triggered to be started, wherein the redundant prompt information can guide a user to process the redundant media resources in time, thereby simplifying the operation of processing the media resources, improving the efficiency of processing the media resources and improving the service performance of the terminal.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic diagram of an internal structure of a terminal according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a media resource processing device according to an embodiment of the present invention;
fig. 3 is a flowchart of a media resource processing method according to an embodiment of the present invention;
FIG. 4 is a flowchart of another media resource processing method according to an embodiment of the present invention;
FIG. 5 is a detailed flowchart of step S204 shown in FIG. 4;
fig. 6 is a schematic diagram illustrating an output of a redundant hint message according to an embodiment of the present invention;
fig. 7 is a schematic output diagram of a resource selection interface according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Please refer to fig. 1, which is a schematic diagram of an internal structure of a terminal according to an embodiment of the present invention; terminals herein may include, but are not limited to: PCs (Personal computers), PDAs (tablet), smart phones, smart wearable devices, and the like. As shown in fig. 1, the terminal may include, but is not limited to: the processor, the user interface, the network interface and the memory may be connected by a bus or other means in some embodiments of the invention, and are exemplified by the bus connection in fig. 1. Wherein the user interface may include: a Display screen (Display) for output and a Keyboard (Keyboard) for input, and it is understood that the Keyboard may be a physical Keyboard or a touch screen virtual Keyboard. The processor (or CPU) is a computing core and a control core of the terminal. The memory stores an operating system, a media asset library, and a media asset processing device. Operating systems may include, but are not limited to: a Windows system (an operating system), an Android system, an IOS system, and the like. The media asset library may be used to store at least one media asset, where the media asset may include, but is not limited to: pictures or photos, and it is noted that the terminal may provide access to open or access the media asset repository, for example: characters or icons such as 'photo album' and 'album' are provided on the terminal desktop, and when the characters or icons are clicked, the media asset library can be triggered to be opened. The media resource handling means may be an application within the terminal, for example: the media resource processing device can be a security application program in the terminal; the media asset processing device may access the media asset library and may process the media assets in the media asset library.
In the embodiment of the invention, the media resource processing device in the terminal can automatically detect whether redundant media resources exist in the media resource library of the terminal, and generate the redundant prompt information when detecting that the redundant media resources exist, and when the media resource library is triggered to be started, the redundant prompt information is output, and the redundant prompt information can guide a user to process the redundant media resources in time, so that the operation of processing the media resources is simplified, the efficiency of processing the media resources is improved, and the use performance of the terminal is improved.
Based on the description of the terminal structure shown in fig. 1, reference may be made to fig. 2 together to provide a schematic structural diagram of a media resource processing apparatus according to an embodiment of the present invention; the apparatus may include: a repository acquisition unit 101, a redundancy detection unit 102, a prompt generation unit 103, and a prompt output unit 104. Optionally, the apparatus may further comprise: a rule judgment unit 105 and a redundancy cleaning unit 106.
Further, the redundancy detecting unit 102 may include: a similarity calculation unit 1001 and a redundancy determination unit 1002. The rule judging unit 105 may include: a threshold judging unit 2001, a time acquiring unit 2002, a time interval calculating unit 2003, and a result determining unit 2004.
It should be noted that, since the media resource processing device performs a series of redundancy detection and redundancy prompt on the media resource library of the terminal through the units shown in fig. 2, the functions of the units shown in fig. 2 can be described with reference to the following method embodiments.
Please refer to fig. 3, which is a flowchart illustrating a media resource processing method according to an embodiment of the present invention; the flow of the method shown in this embodiment may be executed by the media resource processing device shown in fig. 1, and specifically may be executed by each unit of the media resource processing device shown in fig. 2. The method may comprise the following steps S101-S104.
Step S101 is executed by the repository acquiring unit 101, and specifically includes: the method comprises the steps of obtaining a media resource library of a terminal, wherein the media resource library is used for storing at least one media resource.
The media asset library is typically stored in a storage space of the terminal (i.e. a storage space provided by the memory shown in fig. 1) for storing at least one media asset, which may be generated by various applications in the terminal during operation, such as: during the running process of an instant messaging application program in the terminal, pictures or photos when a terminal side user interacts with other users; or a picture or photograph taken by a camera application in the terminal, etc. The repository acquisition unit 101 may acquire a media repository from a storage space of a terminal.
Step S102 is executed by the redundancy detecting unit 102, and specifically includes: and detecting whether redundant media resources exist in the media resource library.
The detection process of the redundant media resources in the media resource library by the redundant detection unit 102 is preferably performed in the background of the operating system of the terminal, that is, the redundant detection process does not need to be notified or presented to the user, and the user does not perceive the redundant detection process, so that the use of the user on the terminal is not affected, and the user experience is improved. The redundancy detection 102 may perform redundancy detection on the media asset library at a certain period in the background of the operating system of the terminal. Here, redundant media assets are typically generated by some specific operations of the user, such as: when a user uses a camera shooting application program of a terminal, a group of photos or pictures shot by continuous shooting operation are executed, and the photos or pictures form redundant media resources; the following steps are repeated: after a user uses some image processing tools to process some pictures, for example, after optimization processing such as skin grinding and skin beautifying is carried out on the portrait in the picture, the original picture and the processed picture form redundant media resources; and so on. The redundancy detecting unit 102 may determine whether a redundant media resource exists by detecting a similarity between media resources in a media resource library.
Step S103 is executed by the prompt generating unit 103, and specifically includes: and if the media resource library has redundant media resources, generating redundant prompt information.
In a specific implementation, the prompt generating unit 103 may generate the redundant prompt information by using some preset message templates, specifically, for example: the preset message template may include: "you have multiple useless XX's for sorting! If the redundant media resource is a picture, the message template can be directly adopted to generate the redundant prompt message, namely that a user has a plurality of useless pictures for sorting. The following steps are repeated: the preset message template may include: "there are a lot of useless XXs in your album, please sort", if the redundant media resources are photos, the message template can be directly used to generate the redundant prompt message that "there are a lot of useless photos in your album, please sort! "
Step S104 is executed by the prompt output unit 104, and specifically includes: and when the media resource library is triggered to be opened, outputting the redundant prompt information.
As mentioned previously, the terminal may provide access to open or access the media asset library, for example: characters or icons such as 'photo album' and 'album' are provided on the terminal desktop, and when the characters or icons are clicked, the media asset library can be triggered to be opened. Then, when the media asset library is triggered to be opened, that is, the user enters into "album" or "album", the prompt output unit 104 outputs the redundant prompt information, and specifically, the prompt output unit 104 may display the redundant prompt information in the main interface of "album" or "album". The invention outputs the redundancy prompt information when the user enters the media resource library, thereby not only avoiding the disturbance on the user caused by directly outputting the redundancy prompt information in the terminal, but also guiding the user to carry out redundancy cleaning in time.
Please refer to fig. 4, which is a flowchart illustrating a media resource processing method according to an embodiment of the present invention; the flow of the method shown in this embodiment may be executed by the media resource processing device shown in fig. 1, and specifically may be executed by each unit of the media resource processing device shown in fig. 2. The method may comprise the following steps S201-S104.
Step S201 is executed by the repository acquiring unit 101, and specifically includes: the method comprises the steps of obtaining a media resource library of a terminal, wherein the media resource library is used for storing at least one media resource.
Steps S202 to S203 are executed by the redundancy detecting unit 102, and specifically include:
step S202 is executed by the similarity calculation unit 1001, and specifically includes: and calculating the similarity between at least one media resource in the media resource library.
In this step, the similarity calculation unit 1001 may calculate the similarity between any two media resources in the media resource library according to a similarity algorithm, where the similarity algorithm may include but is not limited to: PHA (perceptual hashing algorithm) algorithm, histogram matching algorithm, NMF (Non-negative matrix factorization) algorithm, and the like.
Step S203 is executed by the redundancy determining unit 1002, and specifically includes: and if the similarity between two or more target media resources in the at least one media resource is greater than a preset similarity threshold, determining the target media resources as redundant media resources in the media resource library.
The preset similar threshold value can be set according to actual needs, for example: the preset similarity threshold may be set to 90%, 98%, or the like, and the higher the value set by the preset similarity threshold is, the stricter the similarity determination is. For example: assuming that the preset similarity threshold is 98%, if there are multiple groups (each group includes two or more) of photos with similarity greater than 98% in the media resource library, then these multiple groups of photos are redundant media resources.
Step S204 is executed by the rule determining unit 105, and specifically includes: judging whether the terminal meets a redundancy prompt rule, if so, turning to the step S205; otherwise, return to step S204.
If the redundant prompt is immediately carried out once the redundant media resources are detected, a certain degree of information disturbance is inevitably caused to the user, then the embodiment of the invention can set the redundant prompt rule, and carry out the redundant prompt when the redundant prompt rule is met, so that the aim of reminding the user of carrying out the redundant cleaning in time can be achieved, and the information disturbance caused to the user can be reduced. Referring to fig. 5, a detailed flowchart of step S204 shown in fig. 4 is shown; this step S204 may include the following steps S11-S14.
Step s11 is executed by the threshold value determining unit 2001, and specifically includes: and judging whether the quantity of the redundant media resources in the media resource library reaches a preset quantity threshold value and/or judging whether the storage space occupation ratio of the redundant media resources in the media resource library reaches a preset proportion threshold value.
There are three possible implementations of step s11, the first possible implementation being: the threshold determining unit 2001 determines whether the number of redundant media resources in the media resource library reaches a preset number threshold, where the preset number threshold may be set according to actual needs, for example: the preset number threshold may be set to 10, and if the redundant media resource is a group of similar photos, the threshold determination unit 2001 determines whether the number of the group of similar photos reaches 10 or more, and if so, performs the subsequent steps.
A second possible implementation is: the threshold determining unit 2001 determines whether the storage space occupied by the redundant media resources in the media resource library reaches a preset ratio threshold, where the preset ratio threshold may be set according to actual needs, for example: the preset proportion threshold may be set to 1/5, and assuming that the total storage space capacity is 200M, referring to the above example, the threshold determination unit 2001 determines whether the storage space capacity occupied by the group of similar photos reaches 40M, and if so, performs the subsequent steps.
The third feasible implementation manner is a combination of the two implementation manners, that is, the threshold determining unit 2001 determines whether the number of redundant media resources in the media resource library reaches a preset number threshold, and the occupied storage space ratio reaches a preset ratio threshold, and if the determination result is yes, the subsequent steps are executed.
Step s12 is executed by the time obtaining unit 2002, and specifically includes: and if so, acquiring the current system time of the terminal and the historical system time of the last time of outputting the redundancy prompt information.
Step s13 is executed by the time interval calculation unit 2003, and specifically includes: calculating a time interval between the current system time and the historical system time. Steps s12-s13 are the time intervals required to calculate the current system time and the last redundant cue.
Step s14 is performed by the result determination unit 2004, specifically: and if the time interval is greater than a preset time threshold, determining that the terminal meets a redundancy prompt rule.
The preset time threshold here can be set according to actual needs, for example: may be set to 1 day, 2 days, etc. If the time interval is larger than the preset time threshold, the time interval from the last redundant prompt is longer, the redundant prompt is carried out again, information disturbance is not caused to the user, and the subsequent process can be continued to carry out the redundant prompt again. If the time interval is smaller than the preset time threshold, the time interval from the last redundant prompt is short, the information disturbance to the user is caused by carrying out the redundant prompt again, and the follow-up process can be stopped and the redundant prompt is not carried out any more.
Step S205 is executed by the prompt generating unit 103, and specifically includes: and generating redundant prompt information.
Step S206 is executed by the prompt output unit 104, and specifically includes: and when the media resource library is triggered to be opened, outputting the redundant prompt information.
Please refer to fig. 6, which is a schematic diagram illustrating an output of redundant prompt information according to an embodiment of the present invention; as shown in fig. 6, which shows a main interface of an "album" in the terminal, in which some or all pictures or photos in the media asset library are displayed, the prompt output unit 104 may pop up the redundant prompt information in the main interface.
Steps S207-S208 are performed by the redundancy clearing unit 106, specifically:
s207, when the redundancy cleaning operation is detected, outputting a resource selection interface, wherein the resource selection interface comprises the redundancy media resource.
S208, deleting the selected redundant media resources in the resource selection interface from the media resource library.
Steps S207 to S208 can also refer to fig. 7, which is an output schematic diagram of a resource selection interface provided in the embodiment of the present invention; when the user clicks the "pop frame" shown in fig. 6 to perform redundancy cleaning operation, the redundancy cleaning unit 106 outputs the resource selection interface shown in fig. 7, and it is assumed that the resource selection interface collectively includes two groups of redundant media resources, where one group of redundant media resources includes similar picture-1, picture-2, and picture-3; another set of redundant media assets includes similar photos-4, pictures-4, and pictures-5. The user may select the redundant media resource to be deleted in the interface shown in fig. 7, and then the redundant cleaning unit 106 may delete the redundant media resource selected by the user in the resource selection interface from the media resource library, that is, delete the picture-2, the picture-3, the picture-4, and the picture-4 shown in fig. 7, so as to release 20.5M of storage space for the user.
Through the description of the embodiments, the embodiment of the present invention can automatically detect whether redundant media resources exist in a media resource library of a terminal, and generate redundant prompt information when detecting that the redundant media resources exist, and output the redundant prompt information when the media resource library is triggered to be started, where the redundant prompt information can guide a user to process the redundant media resources in time, simplify the operation of processing the media resources, improve the efficiency of processing the media resources, and improve the usability of the terminal.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (6)

1. A method for media resource processing, comprising:
acquiring a media resource library of a terminal, wherein the media resource library is used for storing at least one media resource;
detecting whether redundant media resources exist in the media resource library, wherein the step of determining the target media resources as the redundant media resources in the media resource library if the similarity between two or more target media resources in the at least one media resource is greater than a preset similarity threshold value;
if the media resource library has redundant media resources, judging whether the quantity of the redundant media resources in the media resource library reaches a preset quantity threshold value and/or judging whether the storage space occupation ratio of the redundant media resources in the media resource library reaches a preset proportion threshold value;
if so, acquiring the current system time of the terminal and the historical system time of the last output redundancy prompt message;
calculating a time interval between the current system time and the historical system time;
if the time interval is larger than a preset time threshold, determining that the terminal meets a redundancy prompt rule and generating redundancy prompt information;
when the media resource library is triggered to be started, the redundant prompt information is output in a main interface of the media resource library, and the redundant prompt information is displayed by a popup frame in the main interface; the bullet frame is used for triggering redundancy cleaning operation to output a resource selection interface;
when the redundant cleaning operation is detected, outputting a resource selection interface, wherein the resource selection interface comprises the redundant media resource; the redundancy cleaning operation is an operation of clicking a popup box corresponding to the redundancy prompt information in the main interface;
and deleting the selected redundant media resources in the resource selection interface from the media resource library.
2. The method of claim 1, wherein said detecting whether redundant media assets exist in said media asset library further comprises:
and calculating the similarity between at least one media resource in the media resource library.
3. A media asset processing device, comprising:
the resource library acquiring unit is used for acquiring a media resource library of the terminal, and the media resource library is used for storing at least one media resource;
a redundancy detection unit, configured to detect whether a redundant media resource exists in the media resource library;
the rule judging unit is used for judging whether the terminal meets a redundancy prompt rule or not if the media resource library has redundant media resources;
the prompt generation unit is used for generating redundant prompt information if the judgment result of the rule judgment unit is positive;
the prompt output unit is used for outputting the redundant prompt information in a main interface of the media resource library when the media resource library is triggered to be started; the redundant prompt information is displayed by a popup frame in the main interface; the bullet frame is used for triggering redundancy cleaning operation to output a resource selection interface;
the redundancy cleaning unit is used for outputting a resource selection interface when the redundancy cleaning operation is detected, wherein the resource selection interface comprises the redundancy media resources, and deleting the selected redundancy media resources in the resource selection interface from the media resource library; the redundancy cleaning operation is an operation of clicking a popup box corresponding to the redundancy prompt information in the main interface;
the redundancy detection unit includes:
a redundancy determining unit, configured to determine, if there is a similarity between two or more target media resources in the at least one media resource that is greater than a preset similarity threshold, the target media resource as a redundant media resource in the media resource library;
the rule judging unit includes:
a threshold judgment unit, configured to judge whether the number of redundant media resources in the media resource library reaches a preset number threshold, and/or judge whether a storage space occupation ratio occupied by the redundant media resources in the media resource library reaches a preset proportion threshold;
the time acquisition unit is used for acquiring the current system time of the terminal and the historical system time of the last time of outputting the redundancy prompt information if the judgment result is yes;
a time interval calculation unit for calculating a time interval between the current system time and the historical system time;
and the result determining unit is used for determining that the terminal meets the redundancy prompting rule if the time interval is greater than a preset time threshold.
4. The apparatus of claim 3, wherein the redundancy detection unit further comprises:
and the similarity calculation unit is used for calculating the similarity between at least one media resource in the media resource library.
5. A terminal, characterized in that it comprises a media resource handling arrangement according to claim 3 or 4.
6. A computer-readable storage medium, characterized in that a program for executing the media resource processing method according to claim 1 or 2 is stored in the computer-readable storage medium.
CN201510631540.4A 2015-09-29 2015-09-29 Media resource processing method, device and terminal Active CN106559190B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510631540.4A CN106559190B (en) 2015-09-29 2015-09-29 Media resource processing method, device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510631540.4A CN106559190B (en) 2015-09-29 2015-09-29 Media resource processing method, device and terminal

Publications (2)

Publication Number Publication Date
CN106559190A CN106559190A (en) 2017-04-05
CN106559190B true CN106559190B (en) 2020-07-14

Family

ID=58415881

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510631540.4A Active CN106559190B (en) 2015-09-29 2015-09-29 Media resource processing method, device and terminal

Country Status (1)

Country Link
CN (1) CN106559190B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110971811B (en) * 2018-09-30 2022-11-15 中兴通讯股份有限公司 Image screening method, system, terminal and computer readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103558996A (en) * 2013-10-25 2014-02-05 广东欧珀移动通信有限公司 Photo processing method and system
CN104199913A (en) * 2014-08-28 2014-12-10 北京金山安全软件有限公司 Terminal resource cleaning method and device and terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090313249A1 (en) * 2008-06-11 2009-12-17 Bennett James D Creative work registry independent server

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103558996A (en) * 2013-10-25 2014-02-05 广东欧珀移动通信有限公司 Photo processing method and system
CN104199913A (en) * 2014-08-28 2014-12-10 北京金山安全软件有限公司 Terminal resource cleaning method and device and terminal

Also Published As

Publication number Publication date
CN106559190A (en) 2017-04-05

Similar Documents

Publication Publication Date Title
JP6661790B2 (en) Method, apparatus and device for identifying text type
CN105335099A (en) Memory cleaning method and terminal
TW201636893A (en) Method and apparatus for verifying images based on image verification codes
JP2019519019A5 (en)
CN110866110A (en) Conference summary generation method, device, equipment and medium based on artificial intelligence
CN110427453B (en) Data similarity calculation method, device, computer equipment and storage medium
CN106569860A (en) Application management method and terminal
CN109492149B (en) Crawler task processing method and device
CN113904943A (en) Account detection method and device, electronic equipment and storage medium
CN106559190B (en) Media resource processing method, device and terminal
CN117743577A (en) Text classification method, device, electronic equipment and storage medium
EP3611629A1 (en) Photo processing method and apparatus, and computer device
US8918406B2 (en) Intelligent analysis queue construction
CN107168627B (en) Text editing method and device for touch screen
CN114241411B (en) Counting model processing method and device based on target detection and computer equipment
CN116226681A (en) Text similarity judging method and device, computer equipment and storage medium
CN114359811A (en) Data authentication method and device, electronic equipment and storage medium
CN113742485A (en) Method and device for processing text
CN113742501A (en) Information extraction method, device, equipment and medium
CN107992622B (en) Information display method and device
CN108090196B (en) Keyword management method and device
CN112036501A (en) Image similarity detection method based on convolutional neural network and related equipment thereof
CN113742564A (en) Target resource pushing method and device
CN111770080A (en) Method and device for recovering device fingerprint
KR20200009887A (en) Method and system for determining image similarity

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