Material cache cleaning method based on future advertisement scheduling, terminal and medium

Through the material cache cleaning method based on future advertising schedules, matching and deleting no longer needed creative cache files, the problem of inaccurate cache space management in the existing technology is solved and the efficiency of cache space utilization is improved.

CN119917469APending Publication Date: 2025-05-02CHONGQING YIFANG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411982753.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-05-02

AI Technical Summary

Technical Problem

In the prior art, when managing the creative cache of OTT devices, it is difficult to accurately manage the cache space, resulting in premature deletion of important or frequently used materials, while low-value materials occupy the cache space, resulting in inefficient cache efficiency.

Method used

The material cache cleaning method based on future advertising schedules is adopted. By obtaining advertising space information and future schedule material lists, each material cache file in the material folder is matched with the future schedule material list, and the material cache file that fails to match is deleted.

Benefits of technology

It realizes accurate management of material cache files based on future creative usage needs, avoiding important materials being deleted prematurely, ensuring timely cleaning of low-value materials, and significantly improving the efficiency of cache space utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119917469A_ABST
    Figure CN119917469A_ABST
Patent Text Reader

Abstract

The invention discloses a material cache cleaning method based on future advertisement scheduling, a terminal and a medium, and the method comprises the steps: obtaining advertisement space information, and obtaining a future scheduling material list corresponding to the advertisement space information; obtaining a material folder corresponding to the advertisement space information, and matching each material cache file in the material folder with the future scheduling material list to obtain a matching result; and based on the matching result, deleting the material cache file which fails to be matched with the future scheduling material list. According to the method and the device, the material cache file can be managed on the basis of use requirements of future advertisement materials, the cache space is managed more accurately, important or frequently-used advertisement materials are prevented from being deleted too early, and meanwhile, it is ensured that low-value materials are cleaned in time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of material management, and in particular to a material cache cleaning method, terminal and medium based on future advertisement scheduling. Background Art

[0002] The caching technology of advertising materials on the client side is a very important function for the advertising business. Especially for OTT (TV, box, micro-projector, etc.) devices, the advertising materials must be downloaded and cached in advance during the boot phase, and the advertisements are displayed in an offline playback mode. Playing locally cached ads in application opening screens, patches and other advertising positions can reduce the time users wait for materials to be loaded from the network, while effectively saving advertising traffic costs. Traditional caching strategies are usually as follows: set the allowed cache threshold, use the FIFO (first in, first out) algorithm for cache cleaning, and once the storage space of the locally cached materials exceeds the cache threshold, the advertising client will automatically delete the earliest downloaded advertising materials.

[0003] However, for OTT devices, storage space is very limited. Setting a too large cache threshold will lead to a waste of storage resources. If the cache threshold is too small, the cache needs to be cleaned frequently, resulting in frequent cache breakdown and poor cache effect. Secondly, the FIFO algorithm simply cleans up based on download time, which may cause some frequently used or important materials to be deleted prematurely, while some materials downloaded late but rarely used occupy cache space.

[0004] Therefore, the prior art still needs to be improved and enhanced. Summary of the invention

[0005] The technical problem to be solved by the present invention is to provide a material cache cleaning method, terminal and medium based on future advertising scheduling in view of the above-mentioned defects of the prior art. The technical solution adopted by the present invention is as follows:

[0006] In a first aspect, the present invention provides a material cache clearing method based on future advertisement scheduling, wherein the method comprises:

[0007] Obtaining advertisement slot information and obtaining a list of future scheduled materials corresponding to the advertisement slot information;

[0008] Obtaining a material folder corresponding to the ad slot information, and matching each material cache file in the material folder with the future scheduled material list to obtain a matching result;

[0009] Based on the matching result, the material cache files that fail to match the future scheduled material list are deleted.

[0010] In one implementation, the step of obtaining the advertisement position information includes:

[0011] Sending ad slot request information to the ad server;

[0012] The advertisement position information fed back by the advertisement server in response to the advertisement position request information is received.

[0013] In one implementation, the obtaining of a future scheduled material list corresponding to the advertisement slot information includes:

[0014] Obtaining the advertisement slot identifier and advertisement slot size corresponding to the advertisement slot information;

[0015] Determining a target advertising material based on the advertising slot identifier and the advertising slot size;

[0016] Based on the target advertising material, the future scheduled material list is generated, wherein the future scheduled material list includes an advertisement ID and a material MD5 value.

[0017] In one implementation, matching each material cache file in the material folder with the future scheduled material list to obtain a matching result includes:

[0018] Traversing each material cache file in the material folder, and matching each material cache file with the future scheduled material list;

[0019] If the material cache file is in the future scheduled material list, determining that the matching result is a successful match;

[0020] If the material cache file is not in the future scheduled material list, the matching result is determined to be a matching failure.

[0021] In one implementation, matching each material cache file with the future scheduled material list includes:

[0022] Obtaining the material MD5 value corresponding to each material cache file, and matching the material MD5 value of each material cache file with the future scheduled material list;

[0023] If the material MD5 value exists in the future scheduled material list, determining that the material cache file corresponding to the material MD5 value exists in the future scheduled material list;

[0024] If the material MD5 value does not exist in the future scheduled material list, it is determined that the material cache file corresponding to the material MD5 value does not exist in the future scheduled material list.

[0025] In one implementation, matching each material cache file in the material folder with the future scheduled material list to obtain a matching result further includes:

[0026] All material cache files that fail to match the future scheduled material list are marked.

[0027] In one implementation, the method further includes:

[0028] Based on the matching result, the material cache file that successfully matches the future scheduled material list is retained.

[0029] In a second aspect, an embodiment of the present invention further provides a material cache clearing device based on future advertisement scheduling, wherein the device comprises:

[0030] A material list determination module is used to obtain advertising position information and obtain a future scheduled material list corresponding to the advertising position information;

[0031] A material file matching module is used to obtain a material folder corresponding to the advertisement position information, and match each material cache file in the material folder with the future scheduled material list to obtain a matching result;

[0032] The material file deletion module is used to delete the material cache files that fail to match the future scheduled material list based on the matching result.

[0033] In a third aspect, an embodiment of the present invention further provides a terminal, wherein the terminal includes a memory, a processor, and a material cache cleaning program based on future advertising schedules stored in the memory and executable on the processor, and when the processor executes the material cache cleaning program based on future advertising schedules, the steps of the material cache cleaning method based on future advertising schedules of any one of the above-mentioned schemes are implemented.

[0034] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein a material cache cleaning program based on future advertising schedules is stored on the computer-readable storage medium, and when the material cache cleaning program based on future advertising schedules is executed by a processor, the steps of the material cache cleaning method based on future advertising schedules described in any one of the above-mentioned schemes are implemented.

[0035] Beneficial effects: Compared with the prior art, the present invention provides a material cache cleaning method based on future advertising scheduling. The present invention first obtains the advertising position information and obtains the future scheduled material list corresponding to the advertising position information. Then, the material folder corresponding to the advertising position information is obtained, and each material cache file in the material folder is matched with the future scheduled material list to obtain a matching result. Finally, based on the matching result, the material cache file that fails to match the future scheduled material list is deleted. The present invention can manage the material cache file based on the usage requirements of future advertising materials, manage the cache space more accurately, avoid important or frequently used advertising materials from being deleted prematurely, and ensure that low-value materials are cleaned up in time, significantly improve the utilization efficiency of the cache space, and provide better support for advertising display. In addition, the method of obtaining and utilizing advertising materials in advance by the present invention enables the advertising SDK to prepare and reserve materials that may be needed in the future in advance, reduces the waiting time and traffic consumption during advertising display, and improves the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 A flowchart of a preferred embodiment of a material cache clearing method based on future advertisement scheduling provided in an embodiment of the present invention.

[0037] Figure 2 The present invention is a flowchart of a material cache clearing method based on future advertisement scheduling in actual application.

[0038] Figure 3 A schematic diagram of the architecture of a material cache clearing device based on future advertisement scheduling provided by an embodiment of the present invention.

[0039] Figure 4 A functional block diagram of a terminal provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0040] In order to make the purpose, technical solution and effect of the present invention clearer and more specific, the present invention is further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0041] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations or steps, nor must they be executed in the order described. For example, some operations or steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.

[0042] It should be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0043] It should be understood that, in order to clearly describe the technical solutions of the embodiments of the present invention, in the embodiments of the present invention, words such as "first" and "second" are used to distinguish between identical or similar items with substantially identical functions and effects. For example, the first control information and the second control information are only used to distinguish different control information, and their order is not limited.

[0044] Those skilled in the art can understand that the words "first", "second", etc. do not limit the quantity and execution order, and the words "first", "second", etc. do not necessarily limit the differences.

[0045] It should be further understood that the term “and / or” used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0046] In order to solve the problems of the prior art, this embodiment provides a material cache cleaning method based on future advertising scheduling. The method based on this embodiment can manage the material cache files based on the use requirements of future advertising materials, manage the cache space more accurately, avoid the premature deletion of important or frequently used advertising materials, and ensure that low-value materials are cleaned up in time, significantly improve the utilization efficiency of the cache space, and provide better support for advertising display. In specific application, this embodiment first obtains the advertising position information, and obtains the future scheduling material list corresponding to the advertising position information. Then, the material folder corresponding to the advertising position information is obtained, and each material cache file in the material folder is matched with the future scheduling material list to obtain a matching result. Finally, based on the matching result, the material cache file that fails to match the future scheduling material list is deleted. The way of obtaining and using advertising materials in advance in this embodiment enables the advertising SDK to prepare and retain materials that may be needed in the future in advance, reduces the waiting time and traffic consumption during advertising display, and improves the user experience.

[0047] The material cache clearing method based on future advertising schedule of this embodiment can be applied to a terminal, which can be a smart product terminal such as a mobile phone, a computer, a smart TV, etc. Figure 1 As shown in , the material cache clearing method based on future advertising schedules includes the following steps:

[0048] Step S100: Obtain advertisement slot information, and obtain a future scheduled material list corresponding to the advertisement slot information.

[0049] The terminal of this embodiment first obtains the advertisement position information, which reflects the location where the future advertisement will be placed. Based on the advertisement position information, a future scheduled material list can be determined. Included in the future scheduled material list are the advertisement materials that may be scheduled in the future under the advertisement position information. This embodiment obtains the future scheduled material list corresponding to the advertisement position information in order to count and manage the advertisement materials that may be scheduled in the future, so as to manage the material cache files in the subsequent steps in combination with the usage requirements of the future advertisement materials.

[0050] Specifically, combined Figure 2 As shown, the terminal (i.e., the advertising client SDK) of this embodiment first sends an ad slot request message to the advertising server to request the ad slot information. After receiving the ad slot request message, the advertising server will respond and feedback the ad slot information to the terminal. After the terminal receives the ad slot information fed back by the advertising server, it can obtain the ad slot identifier and ad slot size of the ad slot information. The ad slot identifier is used to identify the ad slot, and the ad slot size reflects the size of the placed advertisement, i.e., the advertisement display size. The acquisition of ad slot information in this embodiment is used to determine the basic attributes and requirements of the ad slot.

[0051] Further, after obtaining the advertisement position information, this embodiment can obtain a future scheduled material list corresponding to the advertisement position information, which specifically includes the following steps:

[0052] Step S101: Obtain the advertisement slot identifier and advertisement slot size corresponding to the advertisement slot information;

[0053] Step S102: determining a target advertising material based on the advertising slot identifier and the advertising slot size;

[0054] Step S103: Generate the future scheduled material list based on the target advertising material, wherein the future scheduled material list includes the advertisement ID and the material MD5 value.

[0055] Specifically, this embodiment can obtain the ad slot identifier and ad slot size of the ad slot information. Based on the ad slot identifier and ad slot size, the advertising material that may be scheduled in the ad slot information in the future can be determined, that is, the target advertising material can be obtained. Based on the target advertising material, the future scheduled material list can be generated. The future scheduled material list of this embodiment includes information such as the advertisement ID and the material MD5 value. The material MD5 value is the unique identifier of each advertising material. This embodiment can obtain the advertising material that may be scheduled in the ad slot information in the future by obtaining the future scheduled material list corresponding to the ad slot information, thereby realizing the prediction of future advertising scheduling, so as to realize the subsequent cleaning of the material cache file.

[0056] Step S200: Obtain a material folder corresponding to the advertisement position information, and match each material cache file in the material folder with the future scheduled material list to obtain a matching result.

[0057] This embodiment further obtains a material folder corresponding to the ad slot information, and the material folder contains a plurality of material cache files, which are the advertising materials that may be placed under the ad slot information. This embodiment matches each material cache file in the material folder with the future scheduled material list to obtain a matching result, which can reflect whether the material cache file in the material folder exists in the future scheduled material list.

[0058] In one implementation, this embodiment includes the following steps when matching each material cache file with the future scheduled material list:

[0059] Step S201, traversing each material cache file in the material folder, and matching each material cache file with the future scheduled material list;

[0060] Step S202: if the material cache file is in the future scheduled material list, determining that the matching result is a successful match;

[0061] Step S203: If the material cache file is not in the future scheduled material list, it is determined that the matching result is a matching failure.

[0062] Specifically, this embodiment will loop through each material cache file in the material folder, and in the process of traversal, obtain the material MD5 value corresponding to each material cache file, and then match the material MD5 value of each material cache file with the future scheduling material list. If the material MD5 value exists in the future scheduling material list, it is determined that the material cache file corresponding to the material MD5 value exists in the future scheduling material list, and the matching result is determined to be a successful match, which means that these material cache files are materials that will be used in future scheduling. If the material MD5 value does not exist in the future scheduling material list, it is determined that the material cache file corresponding to the material MD5 value does not exist in the future scheduling material list, and the matching result is determined to be a failed match, which means that these material cache files are materials that will not be used in future scheduling.

[0063] Furthermore, in this embodiment, all the material cache files that fail to match the future scheduled material list are marked, so that in subsequent steps, these material cache files that fail to match can be quickly found and deleted to release storage space.

[0064] Step S300: based on the matching result, the material cache files that fail to match the future scheduled material list are deleted.

[0065] After matching each material cache file in the material folder with the future scheduled material list, this embodiment can obtain the material cache files that fail to match the future scheduled material list. Since these material cache files that fail to match are advertising materials that will not be used in the future schedule, these material cache files that fail to match can be deleted at this time, thereby releasing storage space and optimizing cache management. In other implementations, when this embodiment matches each material cache file with the future scheduled material list, each time a material cache file is matched, if the material cache file is not in the future scheduled material list, it can be deleted immediately, and then the next material cache file is matched. Alternatively, all material cache files can be matched, and then all matched and identified material cache files can be deleted uniformly.

[0066] In addition, based on the matching results, this embodiment can also obtain the material cache files that successfully match the future scheduled material list. These material cache files are advertising materials that may still be used in the future schedule, so the material cache files that successfully match the future scheduled material list can be retained. It can be seen that this embodiment implements a material cache cleaning method based on future advertising schedules, which can more accurately manage the cache of advertising materials and improve the utilization efficiency of cache space. The resulting improvement in advertising response rate also brings users a better advertising display experience.

[0067] In summary, the present embodiment first obtains the ad slot information, and obtains the future scheduled material list corresponding to the ad slot information. Then, obtain the material folder corresponding to the ad slot information, and match each material cache file in the material folder with the future scheduled material list to obtain a matching result. Finally, based on the matching result, delete the material cache file that fails to match the future scheduled material list. The present embodiment can manage the material cache files based on the usage requirements of future advertising materials, manage the cache space more accurately, avoid important or frequently used advertising materials from being deleted prematurely, and ensure that low-value materials are cleaned up in a timely manner, significantly improving the utilization efficiency of the cache space and providing better support for advertising display. In addition, the way in which the present embodiment obtains and utilizes advertising materials in advance enables the advertising SDK to prepare and reserve materials that may be needed in the future in advance, reducing waiting time and traffic consumption during advertising display, and improving user experience.

[0068] Based on the above embodiments, the present invention also provides a material cache cleaning device based on future advertising schedules, such as Figure 3 As shown in , the device includes: a material list determination module 10, a material file matching module 20 and a material file deletion module 30. Specifically, the material list determination module 10 is used to obtain the advertising position information and obtain the future scheduled material list corresponding to the advertising position information. The material file matching module 20 is used to obtain the material folder corresponding to the advertising position information, and match each material cache file in the material folder with the future scheduled material list to obtain a matching result. The material file deletion module 30 is used to delete the material cache file that fails to match the future scheduled material list based on the matching result.

[0069] In one implementation, the material list determination module 10 of this embodiment includes:

[0070] An advertisement position request unit, used for sending advertisement position request information to an advertisement server;

[0071] The advertisement position determining unit is configured to receive advertisement position information fed back by the advertisement server in response to the advertisement position request information.

[0072] In one implementation, the material list determination module 10 of this embodiment further includes:

[0073] An advertisement position information analysis unit, configured to obtain an advertisement position identifier and an advertisement position size corresponding to the advertisement position information;

[0074] A target advertising material determining unit, configured to determine a target advertising material based on the advertising position identifier and the advertising position size;

[0075] The future scheduled material determination unit is used to generate the future scheduled material list based on the target advertising material, wherein the future scheduled material list includes an advertisement ID and a material MD5 value.

[0076] In one implementation, the material file matching module 20 of this embodiment includes:

[0077] A material matching unit, configured to traverse each material cache file in the material folder and match each material cache file with the future scheduled material list;

[0078] A matching success unit, configured to determine that the matching result is a matching success if the material cache file is in the future scheduled material list;

[0079] The matching failure unit is used to determine that the matching result is a matching failure if the material cache file is not in the future scheduled material list.

[0080] In one implementation, the material matching unit of this embodiment includes:

[0081] The material MD5 value matching subunit is used to obtain the material MD5 value corresponding to each material cache file, and match the material MD5 value of each material cache file with the future scheduled material list;

[0082] A first result determination subunit is configured to determine, if the material MD5 value exists in the future scheduled material list, that the material cache file corresponding to the material MD5 value exists in the future scheduled material list;

[0083] The second result determination subunit is configured to determine, if the material MD5 value does not exist in the future scheduled material list, that the material cache file corresponding to the material MD5 value does not exist in the future scheduled material list.

[0084] In one implementation, the material file matching module 20 of this embodiment further includes:

[0085] The material file marking unit is used to mark all the material cache files that fail to match the future scheduled material list.

[0086] In one implementation, the device of this embodiment further includes:

[0087] The material cache file retaining unit is used to retain the material cache file that successfully matches the future scheduled material list based on the matching result.

[0088] The working principles of each module in the material cache cleaning system based on future advertising scheduling in this embodiment are the same as the principles of each step in the above method embodiment, and will not be repeated here.

[0089] Each module in the above-mentioned material cache cleaning system based on future advertising schedule can be implemented in whole or in part by software, hardware and their combination. Each of the above-mentioned modules can be embedded in or independent of the processor in the terminal in the form of hardware, or can be stored in the memory in the terminal in the form of software, so that the processor can call and execute the corresponding operations of each of the above modules.

[0090] Based on the above embodiment, the present invention further provides a terminal, the principle block diagram of the terminal can be as follows: Figure 4 The terminal may include one or more processors 100 ( Figure 4 Only one is shown), a memory 101 and a computer program 102 stored in the memory 101 and executable on one or more processors 100.

[0091] In one embodiment, the processor 100 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0092] In one embodiment, the memory 101 may be an internal storage unit of an electronic device, such as a hard disk or memory of the electronic device. The memory 101 may also be an external storage device of the electronic device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device. Further, the memory 101 may also include both an internal storage unit of the electronic device and an external storage device. The memory 101 is used to store computer programs and other programs and data required by the terminal. The memory 101 may also be used to temporarily store data that has been output or is to be output.

[0093] Those skilled in the art will understand that Figure 4The principle block diagram shown in the figure is only a block diagram of a partial structure related to the scheme of the present invention, and does not constitute a limitation on the terminal to which the scheme of the present invention is applied. The specific terminal may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0094] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, operating database or other media used in the embodiments provided by the present invention may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double operational data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0095] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A material cache cleaning method based on future advertising schedule, characterized in that: The method comprises: Obtaining advertisement slot information and obtaining a list of future scheduled materials corresponding to the advertisement slot information; Obtaining a material folder corresponding to the ad slot information, and matching each material cache file in the material folder with the future scheduled material list to obtain a matching result; Based on the matching result, the material cache files that fail to match the future scheduled material list are deleted.

2. The material cache clearing method based on future advertising schedule according to claim 1, characterized in that: The obtaining of advertisement position information includes: Sending ad slot request information to the ad server; The advertisement position information fed back by the advertisement server in response to the advertisement position request information is received.

3. The material cache cleaning method based on future advertising schedule according to claim 1 is characterized in that: The obtaining of a future scheduled material list corresponding to the advertisement position information includes: Obtaining the advertisement slot identifier and advertisement slot size corresponding to the advertisement slot information; Determining a target advertising material based on the advertising slot identifier and the advertising slot size; Based on the target advertising material, the future scheduled material list is generated, wherein the future scheduled material list includes an advertisement ID and a material MD5 value.

4. The material cache clearing method based on future advertising schedule according to claim 1, characterized in that: The matching of each material cache file in the material folder with the future scheduled material list to obtain a matching result includes: Traversing each material cache file in the material folder, and matching each material cache file with the future scheduled material list; If the material cache file is in the future scheduled material list, the matching result is determined to be a successful match; If the material cache file is not in the future scheduled material list, the matching result is determined to be a matching failure.

5. The material cache clearing method based on future advertising schedule according to claim 4, characterized in that: The matching of each material cache file with the future scheduled material list includes: Obtaining the material MD5 value corresponding to each material cache file, and matching the material MD5 value of each material cache file with the future scheduled material list; If the material MD5 value exists in the future scheduled material list, determining that the material cache file corresponding to the material MD5 value exists in the future scheduled material list; If the material MD5 value does not exist in the future scheduled material list, it is determined that the material cache file corresponding to the material MD5 value does not exist in the future scheduled material list.

6. The material cache clearing method based on future advertising schedule according to claim 4, characterized in that: The step of matching each material cache file in the material folder with the future scheduled material list to obtain a matching result further includes: All material cache files that fail to match the future scheduled material list are marked.

7. The material cache clearing method based on future advertising schedule according to claim 1, characterized in that: The method further comprises: Based on the matching result, the material cache file that successfully matches the future scheduled material list is retained.

8. A material cache cleaning device based on future advertising schedule, characterized in that: The device comprises: A material list determination module is used to obtain advertising position information and obtain a future scheduled material list corresponding to the advertising position information; A material file matching module is used to obtain a material folder corresponding to the advertisement position information, and match each material cache file in the material folder with the future scheduled material list to obtain a matching result; The material file deletion module is used to delete the material cache files that fail to match the future scheduled material list based on the matching result.

9. A terminal, characterized in that: The terminal includes a memory, a processor, and a material cache cleaning program based on future advertising schedules stored in the memory and executable on the processor. When the processor executes the material cache cleaning program based on future advertising schedules, the steps of the material cache cleaning method based on future advertising schedules as described in any one of claims 1-7 are implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a material cache cleaning program based on future advertising schedules. When the material cache cleaning program based on future advertising schedules is executed by the processor, the steps of the material cache cleaning method based on future advertising schedules as described in any one of claims 1-7 are implemented.