A multimedia material management method, device, equipment and storage medium

By screening and reporting the usage probability of multimedia materials, the storage space utilization and user experience of the 5G messaging service platform are optimized, and the problems affected by media material storage limits and review speed are solved.

CN118410189BActive Publication Date: 2024-09-20SHANGHAI DAHAN TRICOM COMM
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410882442.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-02
Publication Date
2024-09-20
Estimated Expiration
2044-07-02

AI Technical Summary

Technical Problem

In the 5G messaging service platform, the storage capacity of media materials is limited, resulting in limited user experience, and the gateway review speed affects the user experience. How to improve storage space utilization and user experience is a problem that is difficult to solve with existing technology.

Method used

By obtaining the attribute information of the multimedia material library, using the preset analysis algorithm to filter out the permanent material data with the lowest probability of use and setting it as expired, and filtering out the material data to be restored with the highest probability of recent use from the expired materials for reporting, optimizing storage Utilize space and improve user experience.

Benefits of technology

It realizes efficient cleaning of permanent materials in limited storage space and pre-reporting of temporary materials, improves storage space utilization and user experience, and avoids users being unable to use it due to review time when needed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118410189B
    Figure CN118410189B
Patent Text Reader

Abstract

The present application discloses a multimedia material management method, device, equipment and storage medium, and relates to the field of communication technology. The method includes: obtaining attribute information corresponding to material data in a multimedia material library; filtering out permanent material data according to the material data type, filtering out permanent material data with the lowest probability of use as target permanent material data based on the attribute information using a first preset analysis algorithm, and setting the target permanent material data to expire; monitoring whether temporary material data has reached the storage upper limit, if not, determining the target number based on the difference between the storage upper limit and the number of temporary material data stored; filtering out the target number of material data to be restored with the highest probability of recent use from all expired material data using a second preset analysis algorithm based on the attribute information, and reporting the material data to be restored as temporary material data. It can improve the utilization rate of permanent materials and improve the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a multimedia material management method, device, equipment and storage medium. Background Art

[0002] At present, for 5G technology, the 5G message communication resources of operators are integrated through the 5G message service platform, and the operator's 5G message gateway is accessed through the communication protocol. The platform provides enterprise customers with one-stop 5G message production, management, push, reception, and peripheral functions; the 5G message service platform uploads and reports / downloads / deletes multimedia materials to the 5G message gateway. However, media materials must be reviewed by the gateway before users can use them. The gateway review is usually completed in the form of asynchronous manual + AI, and the gateway review speed affects the customer's user experience. In addition, there is a certain limit on the storage capacity of media materials in the gateway. How to reduce the impact of the limit is a technical problem that needs to be solved. Summary of the invention

[0003] In view of this, the purpose of the present invention is to provide a multimedia material management method, device, equipment and storage medium, which can improve the utilization rate of permanent materials in limited storage space and improve the user experience. The specific scheme is as follows:

[0004] In a first aspect, the present application discloses a multimedia material management method, comprising:

[0005] Acquire the attribute information corresponding to the material data in the multimedia material library; the attribute information includes the material data type, validity period, historical usage, and next possible usage time;

[0006] Filter out permanent material data according to the material data type, filter out permanent material data with the lowest use probability as target permanent material data using a first preset analysis algorithm based on the attribute information, and set the target permanent material data to expire;

[0007] monitoring whether the temporary material data reaches the storage upper limit, and if not, determining the target quantity according to the difference between the storage upper limit and the quantity of the stored temporary material data;

[0008] Based on the attribute information, a second preset analysis algorithm is used to screen out a target number of to-be-restored material data with the highest probability of being used in the near future from all expired material data, and the to-be-restored material data is reported as temporary material data.

[0009] Optionally, the acquiring of attribute information corresponding to the material data in the multimedia material library includes:

[0010] Determine the time parameter corresponding to the material data by using a time series analysis method according to the historical usage;

[0011] Determine the threshold value corresponding to the material data by using an adaptive threshold algorithm according to the time parameter;

[0012] The sum of the most recent use time of the material data and the threshold is used as the next possible use time.

[0013] Optionally, determining the time parameter corresponding to the material data by a time series analysis method according to the historical usage, and determining the threshold corresponding to the material data by an adaptive threshold algorithm according to the time parameter, includes:

[0014] Determine an average usage interval corresponding to the material data according to the historical usage situation, and determine a standard deviation corresponding to the material data according to the average usage interval;

[0015] The threshold corresponding to the material data is calculated using a threshold formula according to the average usage interval, the standard deviation and the standard deviation coefficient; the standard deviation coefficient is determined according to the regularity of the user's use of the material data.

[0016] Optionally, the filtering out permanent material data according to the material data type, filtering out permanent material data with the lowest use probability as target permanent material data by using a first preset analysis algorithm based on the attribute information, and setting the target permanent material data to before expiration, further includes:

[0017] Acquire new permanent material data and determine whether the permanent material data has reached the storage limit;

[0018] If yes, then performing the step of filtering out permanent material data according to the material data type, filtering out permanent material data with the lowest use probability as target permanent material data based on the attribute information using a first preset analysis algorithm, and setting the target permanent material data to expire;

[0019] If not, directly upload the new permanent material data.

[0020] Optionally, the selecting the permanent material data with the lowest usage probability as the target permanent material data based on the attribute information by using a first preset analysis algorithm includes:

[0021] Determine, according to the attribute information, parameters of each scoring item in a first scoring item set corresponding to the permanent material data; the first scoring item set includes usage frequency, last usage time, remaining valid time, write status, and next possible usage time;

[0022] Calculate the parameter score corresponding to each scoring item according to the scoring calculation rule corresponding to each scoring item in the first scoring item set;

[0023] Obtaining a comprehensive score of the permanent material data by weighted summation according to the parameter score and the weights corresponding to the scoring items in the first scoring item set;

[0024] The target permanent material data is selected according to the comprehensive scores corresponding to all permanent material data.

[0025] Optionally, the historical usage includes the number of historical usages and the time point of the most recent preset number of usages; and the method of selecting the permanent material data with the lowest usage probability as the target permanent material data based on the attribute information by using the first preset analysis algorithm includes:

[0026] Determining the usage frequency corresponding to the permanent material data according to the historical usage count;

[0027] Determining the most recent usage time corresponding to the permanent material data according to the time point of the most recent preset number of usages;

[0028] Determining the remaining effective time corresponding to the permanent material data according to the effective period;

[0029] Acquire the writing status corresponding to the material data; the writing status includes first writing and non-first writing;

[0030] Calculate a first parameter score corresponding to the usage frequency according to a first score calculation rule corresponding to the usage frequency; the usage frequency is inversely proportional to the first parameter score;

[0031] Calculate the second parameter score corresponding to the most recent use time according to the second score calculation rule corresponding to the most recent use time; the longer the distance between the most recent use time and the current time, the higher the second parameter score;

[0032] Calculate a third parameter score corresponding to the remaining effective time according to a third score calculation rule corresponding to the remaining effective time; the remaining effective time is inversely proportional to the third parameter score;

[0033] Calculating a fourth parameter score corresponding to the write state according to a fourth score calculation rule corresponding to the write state; the score corresponding to the first write is lower than the score for non-first write;

[0034] Calculating a fifth parameter score corresponding to the next possible use time according to a fifth score calculation rule corresponding to the next possible use time; the longer the distance between the next possible use time and the current time, the higher the second parameter score;

[0035] Obtaining a comprehensive score of the permanent material data by weighted summation according to the parameter score and the weights corresponding to the scoring items in the first scoring item set;

[0036] The permanent material data with the highest comprehensive score is selected as the target permanent material data.

[0037] Optionally, the step of selecting a target number of to-be-restored material data with the highest probability of recent use from all expired material data by using a second preset analysis algorithm based on the attribute information includes:

[0038] Determine, according to the attribute information, parameters of each scoring item in a second scoring item set corresponding to the expired material data; the second scoring item set includes a usage frequency, a next possible usage time, and a most recent usage time;

[0039] Calculate the parameter score corresponding to each scoring item according to the scoring calculation rule corresponding to each scoring item in the second scoring item set;

[0040] Obtaining a comprehensive score for the expired material data by weighted summing the parameter score and the weights corresponding to the scoring items in the second scoring item set;

[0041] A target number of material data to be restored is selected based on the comprehensive scores corresponding to all expired material data.

[0042] In a second aspect, the present application discloses a multimedia material management device, comprising:

[0043] The attribute information acquisition module is used to acquire the attribute information corresponding to the material data in the multimedia material library; the attribute information includes the material data type, validity period, historical usage, and the next possible usage time;

[0044] a target permanent material data determination module, configured to filter out permanent material data according to the material data type, filter out permanent material data with the lowest probability of use as target permanent material data by using a first preset analysis algorithm based on the attribute information, and set the target permanent material data to expire;

[0045] A monitoring module, used to monitor whether the temporary material data reaches the storage upper limit, and if not, determine the target quantity according to the difference between the storage upper limit and the quantity of the stored temporary material data;

[0046] The module for determining material data to be restored is used to select a target number of material data to be restored with the highest probability of recent use from all expired material data based on the attribute information by using a second preset analysis algorithm, and report the material data to be restored as temporary material data.

[0047] In a third aspect, the present application discloses an electronic device, comprising:

[0048] Memory, used to store computer programs;

[0049] The processor is used to execute the computer program to implement the aforementioned multimedia material management method.

[0050] In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program; wherein the computer program implements the aforementioned multimedia material management method when executed by a processor.

[0051] In the present application, the attribute information corresponding to the material data in the multimedia material library is obtained; the attribute information includes the material data type, validity period, historical usage, and the next possible usage time; permanent material data is screened out according to the material data type, and the permanent material data with the lowest usage probability is screened out as the target permanent material data based on the attribute information using a first preset analysis algorithm, and the target permanent material data is set to expire; it is monitored whether the temporary material data reaches the storage upper limit, and if not, the target number is determined based on the difference between the storage upper limit and the number of temporary material data stored; based on the attribute information, a second preset analysis algorithm is used to screen out a target number of to-be-restored material data with the highest probability of recent use from all expired material data, and the to-be-restored material data is reported as temporary material data. It can be seen that through multi-angle analysis from the perspectives of validity period, historical usage, next possible usage time, etc. of material data, for permanent materials, the permanent material data with the lowest usage probability is screened out through analysis and deleted to make room for new permanent materials, thereby achieving timely cleanup of low-utilization materials and improving the utilization rate of permanent materials in limited storage space; for temporary materials, the target number of material data to be restored with the highest probability of recent use are screened out from all expired materials through analysis and reported, that is, the media materials that are predicted to be used in the future are reported to the gateway in advance to reserve time for the gateway to review the materials, so that they can be used directly when the user needs them, avoiding the situation where the user cannot use them during the review time due to reporting when the user needs them, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0053] Figure 1A flowchart of a multimedia material management method provided for this application;

[0054] Figure 2 A flowchart of a specific multimedia material management method provided for this application;

[0055] Figure 3 A schematic diagram of the structure of a multimedia material management device provided in this application;

[0056] Figure 4 A structural diagram of an electronic device provided for this application. DETAILED DESCRIPTION

[0057] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0058] In the prior art, media materials must be reviewed by the gateway before they can be used by users. The gateway review is usually completed in an asynchronous manual + AI form, and the speed of the gateway review affects the customer's user experience. In addition, there is a certain limit on the storage capacity of media materials in the gateway. How to reduce the constant impact caused by the limit is a technical problem that needs to be solved. In order to overcome the above technical problems, this application proposes a multimedia material management method that can increase the utilization rate of permanent materials in limited storage space and improve the user experience.

[0059] The present application embodiment discloses a multimedia material management method, see Figure 1 As shown, the method may include the following steps:

[0060] Step S11: Acquire the attribute information corresponding to the material data in the multimedia material library; the attribute information includes the material data type, validity period, historical usage, and the next possible usage time.

[0061] First, obtain the attribute information corresponding to all material data in the local multimedia material library. The attribute information includes but is not limited to the material data type, validity period, historical usage, and the next possible use time. The material data type includes permanent material and temporary material. The historical usage function includes the historical usage times and the time points of the most recent preset number of uses. The next possible use time is the predicted time when the material will be used next time.

[0062] Specifically, a local media material library (denoted as D) is set. Each material in the library is equipped with an expiration date (denoted as C), that is, in this embodiment, the permanent material file is also set with an expiration date, which can be set to a relatively long future time, such as one year later, so that both types of materials (permanent and temporary) can be included in the same algorithm module for processing; that is, all material files have an expiration date in the business platform.

[0063] Each material has at least the following attributes: validity period (C, expressed as a time type); the number of times the material is used within the current validity period (represented as U, a non-negative integer); the specific time points of the most recent N uses (containing N time-type fields); and the next possible time of use (represented as PD, a time-type field); material type (temporary / permanent). For materials that have just been added to the library, the only initial setting value is the validity period (C), and other attributes such as the number of uses (U), the most recent use time point, and the next possible use time (PD) are all unset. Whenever a material is used, its number of uses (U) is increased by 1. At the same time, the current time point is recorded as the latest use time, and the previous use time is moved backward to retain the most recent N use records. At the same time, the next possible use time (PD) of the material is predicted and updated regularly or irregularly based on the algorithm.

[0064] In some embodiments, the acquisition of attribute information corresponding to the material data in the multimedia material library may include: determining the time parameter corresponding to the material data by time series analysis according to the historical usage; determining the threshold corresponding to the material data by using an adaptive threshold algorithm according to the time parameter; and taking the sum of the most recent usage time of the material data and the threshold as the next possible usage time. That is, based on the historical usage of the material, the next possible usage time of the material is predicted by time series analysis and adaptive threshold algorithm (TSATA); it can be understood that time series analysis refers to observing and predicting data by time series analysis, and time series analysis can process the historical usage time of data points to help predict future usage patterns; the adaptive threshold algorithm is used to set an adaptive threshold to determine the next usage time of the data, and the threshold is dynamically adjusted according to the changes in historical data. The specific historical data analysis can analyze the usage history of each data point, including the time interval; the threshold setting can first set an initial threshold to predict the next usage time, and then adaptively and dynamically adjust the threshold according to the recent data usage pattern. The above algorithm can adjust its prediction strategy according to the real-time changes of data to achieve elastic adjustment. Moreover, compared with machine learning methods, it does not require a large amount of historical data for training. Moreover, it can quickly adapt to changes in data usage patterns and make rapid responses.

[0065] In some embodiments, the determining of the time parameters corresponding to the material data by time series analysis according to the historical usage, and the determining of the threshold corresponding to the material data by using an adaptive threshold algorithm according to the time parameters may include: determining the average usage interval corresponding to the material data according to the historical usage, and determining the standard deviation corresponding to the material data according to the average usage interval; calculating the threshold corresponding to the material data by using a threshold formula according to the average usage interval, the standard deviation and the standard deviation coefficient; the standard deviation coefficient is determined according to the regularity of the user's use of the material data. That is, the average usage interval and the standard deviation of the average usage interval are specifically selected as time factors to calculate the threshold.

[0066] For example: Average usage interval (μ): , the average time interval between data points, representing the central tendency of the data; standard deviation (σ): , a measure of the degree of change in the usage interval, reflecting the fluctuation range of the data; Indicates the time point of the i-th use, and a total of n uses. Threshold setting determines the initial threshold based on the average use interval and the standard deviation. Set the initial threshold to: μ+k×σ, where k is the standard deviation coefficient, an adjustable parameter. Threshold . Next use time = ,in Indicates the time when the data was last used.

[0067] It can be understood that k is adjusted according to the regularity of the user's use of the material data, and a higher k value corresponds to a more conservative prediction. That is, the k value controls the conservatism of the prediction by adjusting the threshold of the prediction in the prediction of the next use time. Specifically, the k value is an adjustment coefficient that determines the weight of the standard deviation when calculating the threshold; the standard deviation is a measure of the degree of data fluctuation or dispersion. The k value affects the size of the threshold by adjusting the weight of the standard deviation. The larger the standard deviation σ, the greater the data fluctuation. Therefore, by adjusting the k value, the conservatism of the prediction can be controlled. By adjusting the k value, the prediction time interval can be increased, that is, when the k value increases, the threshold threshold increases, which means that the predicted next use time will be postponed further than the average time interval. By adjusting the k value, more fluctuations can be tolerated, that is, a higher k value means that more fluctuations and uncertainties are allowed when calculating the prediction time. Since the standard deviation σ reflects the volatility of the data, by increasing the k value, the threshold will cover the range of data fluctuations more widely, thereby reducing the risk of early prediction. By adjusting the k value, incorrect predictions can be reduced. A conservative prediction strategy means that it is better to delay the prediction than to make the prediction too aggressive, which will lead to incorrect predictions. A higher k value reduces the possibility of prediction errors due to data fluctuations by extending the prediction time interval. Therefore, in this embodiment, the k value is determined according to the regularity of the user's use of the material data, that is, the operator configures it according to the regularity of the user's use of the material data. In the 5G message service system, the data tasks under the name of the enterprise customer account are generally run in units, so that the K value of each enterprise customer can be configured with a different value. For example, a certain enterprise owner customer A uses 5G media materials very irregularly, and the K value of this customer may be set larger. Another enterprise owner customer B is relatively regular, and the K value of this customer may be set to 1.

[0068] Step S12: Filter out permanent material data according to the material data type, filter out permanent material data with the lowest usage probability as target permanent material data using a first preset analysis algorithm based on the attribute information, and set the target permanent material data to expire.

[0069] For all permanent material data within the validity period, predict the possible time when each data will be used next time, select the best data, and set its local validity period to the current time (that is, set it to expire immediately). Specifically, the following factors need to be considered to decide which one to choose: this data is the least likely to be used in the near future; this data is the data that will be used the furthest in the future; this data is the least frequently used within the validity period; the data written for the first time (never used) has the lowest priority, and the algorithm should give priority to data that is not written for the first time.

[0070] In some embodiments, the method of filtering out permanent material data according to the material data type, filtering out permanent material data with the lowest probability of use as target permanent material data based on the attribute information using the first preset analysis algorithm, and setting the target permanent material data to before expiration may also include: obtaining new permanent material data, judging whether the permanent material data has reached the storage limit; if so, performing the method of filtering out permanent material data according to the material data type, filtering out permanent material data with the lowest probability of use as target permanent material data based on the attribute information using the first preset analysis algorithm, and setting the target permanent material data to expire; if not, directly uploading the new permanent material data. That is, the main purpose of cleaning up permanent material data is to make room for new permanent material data, so when new permanent material data is received and the permanent material data reaches the storage limit, the target permanent material data can be analyzed. It can be seen that when it is necessary to upload and report new material, the algorithm can find the one with the lowest probability of use in the near future for the permanent material files within the validity period, set it to expire immediately, and call the operator's 5G message gateway to delete it, so as to make room for the new material.

[0071] In some embodiments, the method of using the first preset analysis algorithm based on the attribute information to select the permanent material data with the lowest probability of use as the target permanent material data may include: determining the parameters of each scoring item in the first scoring item set corresponding to the permanent material data according to the attribute information; the first scoring item set includes the frequency of use, the last use time, the remaining effective time, the write status, and the next possible use time; calculating the parameter score corresponding to each scoring item according to the scoring calculation rule corresponding to each scoring item in the first scoring item set; obtaining the comprehensive score of the permanent material data by weighted sum according to the parameter score and the weight corresponding to each scoring item in the first scoring item set; and selecting the target permanent material data according to the comprehensive scores corresponding to all permanent material data. The first preset analysis algorithm may be a minimum priority prediction failure algorithm, which is used to find the data that is least likely to be used in the near future and set it to expire immediately. The algorithm considers multiple factors to calculate the score of each piece of data, including the frequency of use of data, the last use time, the effective period and the first write status, and the possible future use time; then, these factors are combined by the weighted sum method to calculate a comprehensive score for each piece of data and select the one with the highest comprehensive score. The data score is determined by combining multiple factors to select the most appropriate data expiration setting.

[0072] In some embodiments, the historical usage includes the number of historical usages and the time point of the most recent preset number of usages; the first preset analysis algorithm is used based on the attribute information to select the permanent material data with the lowest usage probability as the target permanent material data, for example Figure 2 As shown, the following steps may be included:

[0073] S120: Determine the usage frequency of the permanent material data according to the historical usage times; determine the most recent usage time of the permanent material data according to the time point of the most recent preset number of usages; determine the remaining valid time of the permanent material data according to the validity period; obtain the write status of the material data; the write status includes first write and non-first write.

[0074] First, the scoring items of the permanent material data are determined according to the attribute information, and the scoring items include but are not limited to the frequency of use, the time of the last use, the remaining effective time, the writing status, and the time of the next possible use.

[0075] S121: Calculate a first parameter score corresponding to the usage frequency according to a first score calculation rule corresponding to the usage frequency; the usage frequency is inversely proportional to the first parameter score.

[0076] The frequency of use is used as a scoring item to evaluate the frequency of use of data. Data with low frequency of use has a high score, because data that is used less frequently may not be used in the future. The first parameter score corresponding to the frequency of use, the frequency score (FS), is specifically based on the number of times the data is used. Data with low frequency of use has a high score, because it indicates that they may not be used in the near future. The specific formula is:

[0077] ;

[0078] Usage Frequency is the number of times the data is used (i.e., U value). Therefore, considering that data with low usage frequency may not be used frequently in the future, the data is less likely to be used in the short term and should receive a higher FS score.

[0079] in, , which is used to normalize the score to a range of 0-1. It is understandable that the parameter scores corresponding to each scoring item may vary greatly. In order to solve this problem and ensure that the impact of each scoring item on the final score is balanced, a normalization function, that is, a Normalize function (such as the Sigmoid function), can be used to compress the results of each scoring item to between 0-1. The Sigmoid function is used to convert the raw score of the scoring item to a value between 0 and 1. The formula of the Sigmoid function is: ; This function is particularly useful for processing data with extreme values ​​or different dimensions. The Sigmoid function also has the following characteristics: when x is close to 0, the function value changes the most; when the absolute value of x is large, the function value changes less; when x is large (positive value), the Sigmoid function approaches 1, but the rate of change gradually decreases; when x is small (negative value), the Sigmoid function approaches 0, but the rate of change also gradually decreases. This method can effectively maintain the balance of each score and ensure that no single factor has too much impact on the final score. Therefore, this function can be better used in the sensitivity assessment of time distance. Hot data that is close to the current date has high sensitivity and changes quickly; cold data that is far away from the current date has low sensitivity and changes slowly. In this embodiment, the Sigmoid function or other similar methods can be used to standardize each scoring item to between 0 and 1.

[0080] S122: Calculate a second parameter score corresponding to the most recent use time according to a second score calculation rule corresponding to the most recent use time; the longer the distance between the most recent use time and the current time, the higher the second parameter score.

[0081] The second parameter score corresponding to the last use time, namely the time distance score (TDS), is used to evaluate the distance between the last use time of the data and the current date. This is because if the data has not been used for a long time, it is less likely to be used in the near future. TDS is based on the distance between the last use time of the data and the current time. The longer the time distance, the longer the data has not been used, so the higher the score. The specific calculation formula is:

[0082] TDS=Normalize(∣Current Time−Last Used Time∣);

[0083] Among them, Current Time is the current time, and Last Used Time is the most recent time of use. Data that has not been used for a long time is less likely to be used in the near future, so they should receive a higher TDS score.

[0084] S123: Calculate a third parameter score corresponding to the remaining effective time according to a third score calculation rule corresponding to the remaining effective time; the remaining effective time is inversely proportional to the third parameter score.

[0085] The third parameter score corresponding to the remaining validity period, namely the Remaining Validity Score (RVS), is used to consider the remaining time of the data from the end of its validity period. It is understandable that data with a shorter remaining validity period is less likely to be used in the future, and the remaining time of the data from the end of its validity period is considered. The shorter the remaining time, the higher the score. The calculation formula is as follows:

[0086] ;

[0087] The Remaining Validity Period is the remaining time from the end of the validity period of the data, in days. Therefore, data with a shorter remaining validity period may be less likely to be used in the future, so these data should have a higher RVS score.

[0088] S124: Calculate a fourth parameter score corresponding to the writing state according to a fourth score calculation rule corresponding to the writing state; the score corresponding to the first writing is lower than the score corresponding to the non-first writing.

[0089] The fourth parameter score corresponding to the write status, the Initial Entry Score (IES), is used to distinguish between data written for the first time and data that has been used. For data written for the first time, IES=0; for data that has been used, IES=1. This is because the data written for the first time may not have enough usage history to predict its future usage pattern. The calculation formula is as follows:

[0090] IES=Is Initial Entry;

[0091] Is Initial Entry is 0 for first-time writing and 1 for non-first-time writing. Data written for the first time may not have enough historical information to predict its future usage pattern, so their IES score may be lower. IES distinguishes between data written for the first time and data that has been used. For data written for the first time, their prediction is not very accurate due to the lack of sufficient usage history, so it is 0.

[0092] S125: Calculate a fifth parameter score corresponding to the next possible usage time according to a fifth score calculation rule corresponding to the next possible usage time; the longer the distance between the next possible usage time and the current time, the higher the second parameter score.

[0093] The fifth parameter score, namely the possible time distance score (PD Distance Score, PDDS), takes into account the distance between PD (the possible time of next use) and the current time; data that is expected not to be used for a long time in the future should have a higher score; that is, PDDS considers the distance between the possible time of next use and the current time. The longer the time distance, the more likely the data is to be used at a distant point in the future, so the higher the score. The calculation formula is:

[0094] PDDS=Normalize(∣Current Time−PD∣);

[0095] Among them, Current Time is the current time, PD is the possible time of next use; Normalize function is used to normalize the score to the range of 0-1. That is, data that is expected to be used at a distant point in the future is less likely to be used in the near future, and therefore should receive a higher PDDS score.

[0096] S126: Obtaining a comprehensive score of the permanent material data by weighted summation according to the parameter score and the weights corresponding to the scoring items in the first scoring item set.

[0097] Get the weights corresponding to each item. The weight setting should be determined according to the importance of each scoring item. If you think that time distance is more important than frequency of use, you can give TDS a higher weight. The weight is set to: FS weight , the weight of TDS , the weight of RVS , the weight of IES , the weight of PDDS ; The total score is calculated using the weighted sum formula, which is: .

[0098] S127: Selecting the permanent material data with the highest comprehensive score as the target permanent material data.

[0099] According to the above design, the lower the probability of being used, the higher the score, so the permanent material data with the highest comprehensive score is selected as the target permanent material data, that is, the data with the highest total score is selected as the target for immediate expiration. Of course, the specific selection of the highest or lowest score is determined by the design of the scoring rule.

[0100] Step S13: monitoring whether the temporary material data reaches the storage upper limit, if not, determining the target quantity according to the difference between the storage upper limit and the quantity of the stored temporary material data.

[0101] It is understandable that at any given time point, the number of temporary materials within the validity period specified by the gateway shall not exceed the set upper limit (M). In order to make full use of the storage space, when the temporary material data does not reach the storage upper limit, you can choose to report some more materials as temporary materials.

[0102] Step S14: based on the attribute information, a second preset analysis algorithm is used to select a target number of to-be-restored material data with the highest probability of recent use from all expired material data, and the to-be-restored material data is reported as temporary material data.

[0103] That is, in order to improve the utilization rate of materials, efficiently use effective space, and improve the user experience, it is necessary to select materials that are most likely to be used in the near future and are not currently reported (i.e. expired). The second preset analysis algorithm can be specifically a data recovery value assessment algorithm (DRVA). When the number of temporary material files of the 5G message service platform at a certain gateway is less than the upper limit, the algorithm module can find the target number with the highest probability of being used in the near future for all expired material files, including expired temporary materials and permanent materials set to expire, and report them immediately, that is, recover the most valuable data from expired data, fully fill the limited number of operator gateway material files, and thus ensure business continuity as much as possible. Suppose that the maximum number of TR items is found from all expired data, where TR=M (material upper limit) - the number of temporary materials currently in the validity period. The material data to be restored should be prioritized by comprehensively considering the following factors: the PD value (the next possible use time) is in the future and is closest to the current time point, and the data with a large number of uses has a high priority; and the time point of the most recent use is closest to the current time point, and the data with a large number of uses has a high priority.

[0104] In some embodiments, the method of screening out a target number of material data to be restored with the highest probability of recent use from all expired material data using a second preset analysis algorithm based on the attribute information may include: determining, according to the attribute information, the parameters of each scoring item in a second scoring item set corresponding to the expired material data; the second scoring item set includes the frequency of use, the next possible use time, and the most recent use time; calculating, according to the scoring calculation rules corresponding to each scoring item in the second scoring item set, the parameter score corresponding to each scoring item; obtaining a comprehensive score for the expired material data by weighted summation based on the parameter score and the weight corresponding to each scoring item in the second scoring item set; and screening out a target number of material data to be restored according to the comprehensive score corresponding to all expired material data.

[0105] Specifically, the corresponding parameter score is calculated using the score calculation rule corresponding to the frequency of use; the corresponding parameter score is calculated using the score calculation rule corresponding to the next possible use time; the corresponding parameter score is calculated using the score calculation rule corresponding to the most recent use time; the comprehensive score of the expired material data is obtained by weighted summation based on the parameter score and the weights corresponding to each score item in the second score item set; and the target number of material data to be restored is screened out based on the comprehensive scores corresponding to all expired material data.

[0106] The PD score for a possible use time (PPDS) is used to evaluate the closeness of the next expected use time (PD) of the data to the current time; it aims to evaluate the closeness of the next expected use time (PD) of the data to the current time. This score is calculated based on the gap between PD (predicted next use time) and the current time; the reason for this is that if the PD value is very close to the current time, it means that the data is likely to be used again in the near future, so it should have a higher recovery priority. The calculation formula is:

[0107] ;

[0108] The Normalize function is used to normalize the score to a range of 0-1. Sigmoid function or other similar methods can be used. If the PD value is very close to the current time, it means that the data may be used again soon, so its PPDS should be high. This score reflects the immediate importance of the data.

[0109] The Recent Use Score (RUS) for the most recent use time is used to consider how close the data was last used to the current time. RUS focuses on how close the data was last used to the current time. This score is calculated based on the difference between the last use time of the data and the current time. This is because recently used data is more likely to contain information that is still relevant at the moment, and is therefore more worth recovering. The calculation formula is:

[0110] ;

[0111] Among them, Last Used Time is the time when the data was last used. That is, the data that was used recently is more likely to contain information that is still relevant at present, so if the data has been used recently, its RUS should be higher.

[0112] The Usage Frequency Score (UFS) for frequency of use is used to score data based on the number of times it is used (U value); UFS is scored based on the number of times data is used (U value), and this score reflects the long-term importance of the data. This is because frequently used data may be more important because they may contain frequently needed information or reflect ongoing needs. The calculation formula is:

[0113] ;

[0114] Among them, U is the number of times the data is used, and Max Usage Count in Dataset is the maximum number of times all data in the dataset are used. That is, frequently used data may be more important because they may contain frequently needed information or reflect continuous needs. If a data point is used frequently, its UFS should be high.

[0115] Obtain weight distribution. The weight distribution should reflect the relative importance of each scoring item. The initial weight can be set based on expert opinions or historical data analysis. The weight can be adjusted over time and with changes in usage. The total score weighted sum formula is calculated as follows:

[0116] TotalScore = w1×PPDS+w2×RUS+w3×UFS; w1, w2, and w3 are the weights of the PD value score, the recent use time score, and the use frequency score, respectively. Sort by comprehensive score from high to low. Select the TR data with the highest score for recovery.

[0117] As can be seen from the above, in this embodiment, the attribute information corresponding to the material data in the multimedia material library is obtained; the attribute information includes the material data type, validity period, historical usage, and the next possible usage time; permanent material data is screened out according to the material data type, and based on the attribute information, the first preset analysis algorithm is used to screen out the permanent material data with the lowest probability of use as the target permanent material data, and the target permanent material data is set to expire; it is monitored whether the temporary material data reaches the storage upper limit, and if not, the target number is determined according to the difference between the storage upper limit and the number of temporary material data stored; based on the attribute information, a second preset analysis algorithm is used to screen out the target number of to-be-restored material data with the highest probability of recent use from all expired material data, and the to-be-restored material data is reported as temporary material data. It can be seen that through multi-angle analysis from the perspectives of validity period, historical usage, next possible usage time, etc. of material data, for permanent materials, the permanent material data with the lowest usage probability is screened out through analysis and deleted to make room for new permanent materials, thereby achieving timely cleanup of low-utilization materials and improving the utilization rate of permanent materials in limited storage space; for temporary materials, the target number of material data to be restored with the highest probability of recent use are screened out from all expired materials through analysis and reported, that is, the media materials that are predicted to be used in the future are reported to the gateway in advance to reserve time for the gateway to review the materials, so that they can be used directly when users need them, avoiding the situation where users cannot use them during the review time due to reporting when users need them.

[0118] Correspondingly, the embodiment of the present application also discloses a multimedia material management device, see Figure 3 As shown, the device comprises:

[0119] The attribute information acquisition module 11 is used to acquire the attribute information corresponding to the material data in the multimedia material library; the attribute information includes the material data type, validity period, historical usage, and the next possible usage time;

[0120] a target permanent material data determination module 12, configured to filter out permanent material data according to the material data type, filter out permanent material data with the lowest probability of use as target permanent material data by using a first preset analysis algorithm based on the attribute information, and set the target permanent material data to expire;

[0121] The monitoring module 13 is used to monitor whether the temporary material data reaches the storage upper limit, and if not, determine the target quantity according to the difference between the storage upper limit and the quantity of the stored temporary material data;

[0122] The to-be-restored material data determining module 14 is used to select a target number of to-be-restored material data with the highest probability of recent use from all expired material data based on the attribute information by using a second preset analysis algorithm, and report the to-be-restored material data as temporary material data.

[0123] As can be seen from the above, in this embodiment, the attribute information corresponding to the material data in the multimedia material library is obtained; the attribute information includes the material data type, validity period, historical usage, and the next possible usage time; permanent material data is screened out according to the material data type, and based on the attribute information, the first preset analysis algorithm is used to screen out the permanent material data with the lowest probability of use as the target permanent material data, and the target permanent material data is set to expire; it is monitored whether the temporary material data reaches the storage upper limit, and if not, the target number is determined according to the difference between the storage upper limit and the number of temporary material data stored; based on the attribute information, a second preset analysis algorithm is used to screen out the target number of to-be-restored material data with the highest probability of recent use from all expired material data, and the to-be-restored material data is reported as temporary material data. It can be seen that through multi-angle analysis from the perspectives of validity period, historical usage, next possible usage time, etc. of material data, for permanent materials, the permanent material data with the lowest usage probability is screened out through analysis and deleted to make room for new permanent materials, thereby achieving timely cleanup of low-utilization materials and improving the utilization rate of permanent materials in limited storage space; for temporary materials, the target number of material data to be restored with the highest probability of recent use are screened out from all expired materials through analysis and reported, that is, the media materials that are predicted to be used in the future are reported to the gateway in advance to reserve time for the gateway to review the materials, so that they can be used directly when users need them, avoiding the situation where users cannot use them during the review time due to reporting when users need them.

[0124] In some specific embodiments, the attribute information acquisition module 11 may specifically include:

[0125] A time parameter determination unit, configured to determine the time parameter corresponding to the material data by a time series analysis method according to the historical usage;

[0126] A threshold determination unit, configured to determine a threshold corresponding to the material data by using an adaptive threshold algorithm according to the time parameter;

[0127] The next possible use time determination unit is used to take the sum of the most recent use time of the material data and the threshold as the next possible use time.

[0128] In some specific embodiments, the time parameter determination unit is used to determine an average usage interval corresponding to the material data according to the historical usage situation, and determine a standard deviation corresponding to the material data according to the average usage interval;

[0129] A threshold determination unit is used to calculate the threshold corresponding to the material data using a threshold formula according to the average usage interval, the standard deviation and the standard deviation coefficient; the standard deviation coefficient is determined according to the regularity of the user's use of the material data.

[0130] In some specific embodiments, the multimedia material management device may specifically include:

[0131] a judgment unit, configured to filter out permanent material data according to the material data type, filter out permanent material data with the lowest probability of use as target permanent material data by using a first preset analysis algorithm based on the attribute information, and obtain new permanent material data before setting the target permanent material data to expire, and judge whether the permanent material data reaches a storage upper limit;

[0132] an execution unit, configured to, if the storage upper limit of the permanent material data is reached, perform the steps of filtering out the permanent material data according to the material data type, filtering out the permanent material data with the lowest use probability as the target permanent material data based on the attribute information by using a first preset analysis algorithm, and setting the target permanent material data to expire;

[0133] The direct uploading unit is used to directly upload the new permanent material data if the permanent material data has not reached the storage upper limit.

[0134] In some specific embodiments, the target permanent material data determination module 12 may specifically include:

[0135] A parameter determination unit, configured to determine, according to the attribute information, parameters of each scoring item in a first scoring item set corresponding to the permanent material data; the first scoring item set includes usage frequency, last usage time, remaining valid time, write status, and next possible usage time;

[0136] a parameter score determination unit, configured to calculate a parameter score corresponding to each scoring item according to a score calculation rule corresponding to each scoring item in the first scoring item set;

[0137] A comprehensive score calculation unit, configured to obtain a comprehensive score of the permanent material data by weighted summation according to the parameter score and the weights corresponding to the scoring items in the first scoring item set;

[0138] The screening unit is used to screen out the target permanent material data according to the comprehensive scores corresponding to all permanent material data.

[0139] In some specific embodiments, the target permanent material data determination module 12 may specifically include:

[0140] A usage frequency determination unit, configured to determine a usage frequency corresponding to the permanent material data according to the historical usage count;

[0141] A last used time determining unit, configured to determine the last used time corresponding to the permanent material data according to the time points of the last preset number of uses;

[0142] A remaining effective duration determining unit, configured to determine a remaining effective duration corresponding to the permanent material data according to the validity period;

[0143] A writing status acquisition unit, used to acquire the writing status corresponding to the material data; the writing status includes first writing and non-first writing;

[0144] A first parameter score calculation unit, configured to calculate a first parameter score corresponding to the usage frequency according to a first score calculation rule corresponding to the usage frequency; the usage frequency is inversely proportional to the first parameter score;

[0145] A second parameter score calculation unit, configured to calculate a second parameter score corresponding to the most recent use time according to a second score calculation rule corresponding to the most recent use time; the longer the distance between the most recent use time and the current time, the higher the second parameter score;

[0146] A third parameter score calculation unit, configured to calculate a third parameter score corresponding to the remaining effective time according to a third score calculation rule corresponding to the remaining effective time; the remaining effective time is inversely proportional to the third parameter score;

[0147] a fourth parameter score calculation unit, configured to calculate a fourth parameter score corresponding to the write state according to a fourth score calculation rule corresponding to the write state; the score corresponding to the first write is lower than the score for the non-first write;

[0148] a fifth parameter score calculation unit, configured to calculate a fifth parameter score corresponding to the next possible use time according to a fifth score calculation rule corresponding to the next possible use time; the longer the distance between the next possible use time and the current time, the higher the second parameter score;

[0149] A comprehensive score calculation unit, configured to obtain a comprehensive score of the permanent material data by weighted summation according to the parameter score and the weights corresponding to the scoring items in the first scoring item set;

[0150] The target persistent material data unit is used to select the persistent material data with the highest comprehensive score as the target persistent material data.

[0151] In some specific embodiments, the to-be-restored material data determining module 14 may specifically include:

[0152] A parameter determination unit, configured to determine, according to the attribute information, parameters of each scoring item in a second scoring item set corresponding to the expired material data; the second scoring item set includes a usage frequency, a next possible usage time, and a most recent usage time;

[0153] A parameter score calculation unit, used to calculate the parameter score corresponding to each scoring item according to the score calculation rule corresponding to each scoring item in the second scoring item set;

[0154] A comprehensive score calculation unit, configured to obtain a comprehensive score of the expired material data by weighted summation according to the parameter score and the weights corresponding to the scoring items in the second scoring item set;

[0155] The to-be-restored material data screening unit is used to screen out a target amount of to-be-restored material data according to the comprehensive scores corresponding to all expired material data.

[0156] Furthermore, the present application also discloses an electronic device, see Figure 4 As shown, the contents in the drawings should not be considered as any limitation on the scope of use of the present application.

[0157] Figure 4The present invention provides a schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the multimedia material management method disclosed in any of the aforementioned embodiments.

[0158] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.

[0159] In addition, the memory 22, as a carrier for storing resources, can be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon include an operating system 221, a computer program 222, and data 223 including attribute information, etc. The storage method can be temporary storage or permanent storage.

[0160] The operating system 221 is used to manage and control the hardware devices and computer programs 222 on the electronic device 20, so as to realize the operation and processing of the massive data 223 in the memory 22 by the processor 21, and the operating system 221 may be Windows Server, Netware, Unix, Linux, etc. In addition to including computer programs that can be used to complete the multimedia material management method performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 may further include computer programs that can be used to complete other specific tasks.

[0161] Furthermore, an embodiment of the present application also discloses a computer storage medium, in which computer executable instructions are stored. When the computer executable instructions are loaded and executed by a processor, the steps of the multimedia material management method disclosed in any of the aforementioned embodiments are implemented.

[0162] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0163] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0164] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0165] The above is a detailed introduction to a multimedia material management method, device, equipment and storage medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A multimedia material management method, characterized in that: include: Acquire the attribute information corresponding to the material data in the multimedia material library; the attribute information includes the material data type, validity period, historical usage, and next possible usage time; Filter out permanent material data according to the material data type, filter out permanent material data with the lowest use probability as target permanent material data by using a first preset analysis algorithm based on the attribute information, and set the target permanent material data to expire; monitoring whether the temporary material data reaches the storage upper limit, and if not, determining the target quantity according to the difference between the storage upper limit and the quantity of the stored temporary material data; Based on the attribute information, a second preset analysis algorithm is used to screen out a target number of material data to be restored with the highest probability of recent use from all expired material data, and the material data to be restored is reported as temporary material data; the expired material data includes expired temporary material data and permanent material data set to expire.

2. The multimedia material management method according to claim 1, characterized in that: Get the attribute information corresponding to the material data in the multimedia material library, including: Determine the time parameter corresponding to the material data by using a time series analysis method according to the historical usage; Determine the threshold value corresponding to the material data by using an adaptive threshold algorithm according to the time parameter; The sum of the most recent use time of the material data and the threshold is used as the next possible use time.

3. The multimedia material management method according to claim 2, characterized in that: Determining a time parameter corresponding to the material data by a time series analysis method according to the historical usage, and determining a threshold corresponding to the material data by an adaptive threshold algorithm according to the time parameter, including: Determine an average usage interval corresponding to the material data according to the historical usage situation, and determine a standard deviation corresponding to the material data according to the average usage interval; The threshold corresponding to the material data is calculated using a threshold formula according to the average usage interval, the standard deviation and the standard deviation coefficient; the standard deviation coefficient is determined according to the regularity of the user's use of the material data.

4. The multimedia material management method according to claim 1, characterized in that: Before filtering out permanent material data according to the material data type, filtering out permanent material data with the lowest use probability as target permanent material data by using a first preset analysis algorithm based on the attribute information, and setting the target permanent material data to expire, the method further includes: Acquire new permanent material data and determine whether the permanent material data has reached the storage limit; If yes, then performing the step of filtering out permanent material data according to the material data type, filtering out permanent material data with the lowest use probability as target permanent material data based on the attribute information using a first preset analysis algorithm, and setting the target permanent material data to expire; If not, directly upload the new permanent material data.

5. The multimedia material management method according to claim 1, characterized in that: Based on the attribute information, the first preset analysis algorithm is used to select the permanent material data with the lowest use probability as the target permanent material data, including: Determine, according to the attribute information, parameters of each scoring item in a first scoring item set corresponding to the permanent material data; the first scoring item set includes usage frequency, last usage time, remaining valid time, write status, and next possible usage time; Calculate the parameter score corresponding to each scoring item according to the scoring calculation rule corresponding to each scoring item in the first scoring item set; Obtaining a comprehensive score of the permanent material data by weighted summation according to the parameter score and the weights corresponding to the scoring items in the first scoring item set; The target permanent material data is selected according to the comprehensive scores corresponding to all permanent material data.

6. The multimedia material management method according to claim 5, characterized in that: The historical usage includes the number of historical usages and the time point of the most recent preset number of usages; the method of selecting the permanent material data with the lowest usage probability as the target permanent material data based on the attribute information by using the first preset analysis algorithm includes: Determining the usage frequency corresponding to the permanent material data according to the historical usage count; Determining the most recent usage time corresponding to the permanent material data according to the time point of the most recent preset number of usages; Determining the remaining effective time corresponding to the permanent material data according to the effective period; Acquire the writing status corresponding to the material data; the writing status includes first writing and non-first writing; Calculate a first parameter score corresponding to the usage frequency according to a first score calculation rule corresponding to the usage frequency; the usage frequency is inversely proportional to the first parameter score; Calculate the second parameter score corresponding to the most recent use time according to the second score calculation rule corresponding to the most recent use time; the longer the distance between the most recent use time and the current time, the higher the second parameter score; Calculate a third parameter score corresponding to the remaining effective time according to a third score calculation rule corresponding to the remaining effective time; the remaining effective time is inversely proportional to the third parameter score; Calculating a fourth parameter score corresponding to the write state according to a fourth score calculation rule corresponding to the write state; the score corresponding to the first write is lower than the score for non-first write; Calculating a fifth parameter score corresponding to the next possible use time according to a fifth score calculation rule corresponding to the next possible use time; the longer the distance between the next possible use time and the current time, the higher the second parameter score; Obtaining a comprehensive score of the permanent material data by weighted summation according to the parameter score and the weights corresponding to the scoring items in the first scoring item set; The permanent material data with the highest comprehensive score is selected as the target permanent material data.

7. The multimedia material management method according to claim 1, characterized in that: Based on the attribute information, a second preset analysis algorithm is used to select a target number of material data to be restored that have the highest probability of being used in the near future from all expired material data, including: Determine, according to the attribute information, parameters of each scoring item in a second scoring item set corresponding to the expired material data; the second scoring item set includes a usage frequency, a next possible usage time, and a most recent usage time; Calculate the parameter score corresponding to each scoring item according to the scoring calculation rule corresponding to each scoring item in the second scoring item set; Obtaining a comprehensive score for the expired material data by weighted summing the parameter score and the weights corresponding to the scoring items in the second scoring item set; A target number of material data to be restored is selected based on the comprehensive scores corresponding to all expired material data.

8. A multimedia material management device, characterized in that: include: The attribute information acquisition module is used to acquire the attribute information corresponding to the material data in the multimedia material library; the attribute information includes the material data type, validity period, historical usage, and the next possible usage time; a target permanent material data determination module, configured to filter out permanent material data according to the material data type, filter out permanent material data with the lowest probability of use as target permanent material data by using a first preset analysis algorithm based on the attribute information, and set the target permanent material data to expire; A monitoring module, used to monitor whether the temporary material data reaches the storage upper limit, and if not, determine the target quantity according to the difference between the storage upper limit and the quantity of the stored temporary material data; The module for determining the material data to be restored is used to screen out a target number of material data to be restored with the highest probability of recent use from all expired material data using a second preset analysis algorithm based on the attribute information, and report the material data to be restored as temporary material data; the expired material data includes expired temporary material data and permanent material data set to expire.

9. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor, configured to execute the computer program to implement the multimedia material management method as claimed in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: Used to store computer programs; wherein when the computer programs are executed by a processor, the multimedia material management method as described in any one of claims 1 to 7 is implemented.