CN111382321A - Method and device for requesting cached material - Google Patents

Method and device for requesting cached material Download PDF

Info

Publication number
CN111382321A
CN111382321A CN202010198168.3A CN202010198168A CN111382321A CN 111382321 A CN111382321 A CN 111382321A CN 202010198168 A CN202010198168 A CN 202010198168A CN 111382321 A CN111382321 A CN 111382321A
Authority
CN
China
Prior art keywords
cached
request
target application
cache
materials
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010198168.3A
Other languages
Chinese (zh)
Other versions
CN111382321B (en
Inventor
吴培希
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Lianshang Network Technology Group Co.,Ltd.
Original Assignee
Shanghai Lianshang Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Lianshang Network Technology Co Ltd filed Critical Shanghai Lianshang Network Technology Co Ltd
Priority to CN202010198168.3A priority Critical patent/CN111382321B/en
Publication of CN111382321A publication Critical patent/CN111382321A/en
Application granted granted Critical
Publication of CN111382321B publication Critical patent/CN111382321B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/907Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0276Advertisement creation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Software Systems (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Game Theory and Decision Science (AREA)
  • Library & Information Science (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本申请的目的是提供一种请求缓存素材的方法与设备,该方法包括:响应于针对目标应用的缓存素材请求触发事件,获取所述目标应用对应的本地缓存素材库中临近过期的一个或多个第一缓存素材,其中,所述一个或多个第一缓存素材中每个第一缓存素材的过期时间与当前时间之间的第一时间间隔小于或等于预定的第一时间间隔阈值;判断所述一个或多个第一缓存素材的数量是否大于或等于预定的第一数量阈值,若是,判断所述目标应用的缓存素材请求频率是否满足预定频率条件;若所述目标应用的缓存素材请求频率满足所述预定频率条件,向所述目标应用对应的素材提供方发出缓存素材请求。

Figure 202010198168

The purpose of this application is to provide a method and device for requesting cached materials, the method includes: in response to a cached material request trigger event for a target application, acquiring one or more near-expired cached materials in a local cached material library corresponding to the target application a first cached material, wherein the first time interval between the expiration time of each of the one or more first cached materials and the current time is less than or equal to a predetermined first time interval threshold; judging Whether the number of the one or more first cached materials is greater than or equal to a predetermined first number threshold, and if so, determine whether the cached material request frequency of the target application satisfies the predetermined frequency condition; if the cached material request of the target application If the frequency satisfies the predetermined frequency condition, a cache material request is sent to the material provider corresponding to the target application.

Figure 202010198168

Description

一种请求缓存素材的方法与设备Method and device for requesting cached material

技术领域technical field

本申请涉及通信领域,尤其涉及一种用于请求缓存素材的技术。The present application relates to the field of communications, and in particular, to a technology for requesting cached materials.

背景技术Background technique

随着时代的发展,人们越来越多的通过智能设备上的应用程序来获取相应的信息,随之也有越来越多的素材提供方通过与应用程序的服务商合作来在应用程序中推广其素材,例如一些广告商通常会在应用程序上进行独占式广告(如开屏广告、插屏广告)的投放,这种独占式推广方式能够起到很好的广告宣传作用。With the development of the times, more and more people obtain corresponding information through applications on smart devices, and more and more material providers cooperate with application service providers to promote in applications Its materials, for example, some advertisers usually place exclusive advertisements (such as open-screen advertisements, interstitial advertisements) on the application, and this exclusive promotion method can play a very good role in advertising.

发明内容SUMMARY OF THE INVENTION

本申请的一个目的是提供一种请求缓存素材的方法与设备。An object of the present application is to provide a method and device for requesting cached material.

根据本申请的一个方面,提供了一种请求缓存素材的方法,应用于用户设备端,该方法包括:According to an aspect of the present application, there is provided a method for requesting cached material, applied to a user equipment side, the method comprising:

响应于针对目标应用的缓存素材请求触发事件,获取所述目标应用对应的本地缓存素材库中临近过期的一个或多个第一缓存素材,其中,所述一个或多个第一缓存素材中每个第一缓存素材的过期时间与当前时间之间的第一时间间隔小于或等于预定的第一时间间隔阈值;In response to a cached material request trigger event for the target application, acquire one or more first cached materials that are about to expire in the local cached material library corresponding to the target application, wherein each of the one or more first cached materials is The first time interval between the expiration time of the first cached material and the current time is less than or equal to the predetermined first time interval threshold;

判断所述一个或多个第一缓存素材的数量是否大于或等于预定的第一数量阈值,若是,判断所述目标应用的缓存素材请求频率是否满足预定频率条件;Determine whether the number of the one or more first cached materials is greater than or equal to a predetermined first number threshold, and if so, determine whether the request frequency of the cached materials of the target application satisfies the predetermined frequency condition;

若所述目标应用的缓存素材请求频率满足所述预定频率条件,向所述目标应用对应的素材提供方发出缓存素材请求。If the cached material request frequency of the target application satisfies the predetermined frequency condition, send a cached material request to a material provider corresponding to the target application.

根据本申请的另一个方面,提供了一种请求缓存素材的方法,应用于服务器端,该方法包括:According to another aspect of the present application, a method for requesting cached material is provided, applied to the server side, and the method includes:

接收目标应用发送的缓存素材指示信息,其中,所述缓存素材指示信息包括所述目标应用对应的本地缓存素材库中未过期的一个或多个第三缓存素材对应的素材提供方标识信息和过期时间,所述一个或多个第三缓存素材中每个第三缓存素材的过期时间与当前时间之间的时间间隔小于或等于预定的第三时间间隔阈值;Receive cached material indication information sent by the target application, where the cached material indication information includes material provider identification information and expired material provider identification information corresponding to one or more unexpired third cached materials in the local cached material library corresponding to the target application time, the time interval between the expiration time of each third cache material in the one or more third cache materials and the current time is less than or equal to a predetermined third time interval threshold;

根据所述缓存素材指示信息,判断所述目标应用是否满足预定的请求触发条件,若满足,向所述目标应用对应的素材提供方发出缓存素材请求。According to the cached material indication information, it is judged whether the target application satisfies a predetermined request triggering condition, and if so, a cached material request is sent to a material provider corresponding to the target application.

根据本申请的一个方面,提供了一种请求缓存素材的用户设备,该设备包括:According to an aspect of the present application, there is provided a user equipment for requesting cached material, the equipment comprising:

一一模块,用于响应于针对目标应用的缓存素材请求触发事件,获取所述目标应用对应的本地缓存素材库中中临近过期的一个或多个第一缓存素材,其中,所述一个或多个第一缓存素材中每个第一缓存素材的过期时间与当前时间之间的第一时间间隔小于或等于预定的第一时间间隔阈值;A module for acquiring one or more first cached materials that are about to expire in the local cached material library corresponding to the target application in response to a cached material request trigger event for the target application, wherein the one or more first cached materials The first time interval between the expiration time and the current time of each of the first cached materials in the first cached materials is less than or equal to a predetermined first time interval threshold;

一二模块,用于判断所述一个或多个第一缓存素材的数量是否大于或等于预定的第一数量阈值,若是,判断所述目标应用的缓存素材请求频率是否满足预定频率条件;Modules 1 and 2 are used to determine whether the number of the one or more first cached materials is greater than or equal to a predetermined first number threshold, and if so, determine whether the request frequency of the cached materials of the target application satisfies the predetermined frequency condition;

一三模块,用于若所述目标应用的缓存素材请求频率满足所述预定频率条件,向所述目标应用对应的素材提供方发出缓存素材请求。Modules 1 and 3 are configured to send a cache material request to a material provider corresponding to the target application if the frequency of the cache material request of the target application satisfies the predetermined frequency condition.

根据本申请的另一个方面,提供了一种请求缓存素材的服务器,该设备包括:According to another aspect of the present application, a server for requesting cached material is provided, and the device includes:

二一模块,用于接收目标应用发送的缓存素材指示信息,其中,所述缓存素材指示信息包括所述目标应用对应的本地缓存素材库中未过期的一个或多个第三缓存素材对应的素材提供方标识信息和过期时间,所述一个或多个第三缓存素材中每个第三缓存素材的过期时间与当前时间之间的时间间隔小于或等于预定的第三时间间隔阈值;The second module is configured to receive the cached material indication information sent by the target application, wherein the cached material indication information includes the material corresponding to one or more unexpired third cached materials in the local cached material library corresponding to the target application provider identification information and expiration time, the time interval between the expiration time of each third cache material in the one or more third cache materials and the current time is less than or equal to a predetermined third time interval threshold;

二二模块,用于根据所述缓存素材指示信息,判断所述目标应用是否满足预定的请求触发条件,若满足,向所述目标应用对应的素材提供方发出缓存素材请求。The second and second modules are configured to determine whether the target application satisfies a predetermined request triggering condition according to the cached material indication information, and if so, send a cached material request to a material provider corresponding to the target application.

根据本申请的一个方面,提供了一种请求缓存素材的设备,其中,该设备包括:According to an aspect of the present application, a device for requesting cached material is provided, wherein the device includes:

处理器;以及processor; and

被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器执行如下操作:memory arranged to store computer-executable instructions which, when executed, cause the processor to:

响应于针对目标应用的缓存素材请求触发事件,获取所述目标应用对应的本地缓存素材库中临近过期的一个或多个第一缓存素材,其中,所述一个或多个第一缓存素材中每个第一缓存素材的过期时间与当前时间之间的第一时间间隔小于或等于预定的第一时间间隔阈值;In response to a cached material request trigger event for the target application, acquire one or more first cached materials that are about to expire in the local cached material library corresponding to the target application, wherein each of the one or more first cached materials is The first time interval between the expiration time of the first cached material and the current time is less than or equal to the predetermined first time interval threshold;

判断所述一个或多个第一缓存素材的数量是否大于或等于预定的第一数量阈值,若是,判断所述目标应用的缓存素材请求频率是否满足预定频率条件;Determine whether the number of the one or more first cached materials is greater than or equal to a predetermined first number threshold, and if so, determine whether the request frequency of the cached materials of the target application satisfies the predetermined frequency condition;

若所述目标应用的缓存素材请求频率满足所述预定频率条件,向所述目标应用对应的素材提供方发出缓存素材请求。If the cached material request frequency of the target application satisfies the predetermined frequency condition, send a cached material request to a material provider corresponding to the target application.

根据本申请的一个方面,提供了一种请求缓存素材的设备,其中,该设备包括:According to an aspect of the present application, a device for requesting cached material is provided, wherein the device includes:

处理器;以及processor; and

被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器执行如下操作:memory arranged to store computer-executable instructions which, when executed, cause the processor to:

接收目标应用发送的缓存素材指示信息,其中,所述缓存素材指示信息包括所述目标应用对应的本地缓存素材库中未过期的一个或多个第三缓存素材对应的素材提供方标识信息和过期时间,所述一个或多个第三缓存素材中每个第三缓存素材的过期时间与当前时间之间的时间间隔小于或等于预定的第三时间间隔阈值;Receive cached material indication information sent by the target application, where the cached material indication information includes material provider identification information and expired material provider identification information corresponding to one or more unexpired third cached materials in the local cached material library corresponding to the target application time, the time interval between the expiration time of each third cache material in the one or more third cache materials and the current time is less than or equal to a predetermined third time interval threshold;

根据所述缓存素材指示信息,判断所述目标应用是否满足预定的请求触发条件,若满足,向所述目标应用对应的素材提供方发出缓存素材请求。According to the cached material indication information, it is judged whether the target application satisfies a predetermined request triggering condition, and if so, a cached material request is sent to a material provider corresponding to the target application.

根据本申请的一个方面,提供了一种存储指令的计算机可读介质,所述指令在被执行时使得系统进行如下操作:According to one aspect of the present application, there is provided a computer-readable medium storing instructions that, when executed, cause a system to:

响应于针对目标应用的缓存素材请求触发事件,获取所述目标应用对应的本地缓存素材库中临近过期的一个或多个第一缓存素材,其中,所述一个或多个第一缓存素材中每个第一缓存素材的过期时间与当前时间之间的第一时间间隔小于或等于预定的第一时间间隔阈值;In response to a cached material request trigger event for the target application, acquire one or more first cached materials that are about to expire in the local cached material library corresponding to the target application, wherein each of the one or more first cached materials is The first time interval between the expiration time of the first cached material and the current time is less than or equal to the predetermined first time interval threshold;

判断所述一个或多个第一缓存素材的数量是否大于或等于预定的第一数量阈值,若是,判断所述目标应用的缓存素材请求频率是否满足预定频率条件;Determine whether the number of the one or more first cached materials is greater than or equal to a predetermined first number threshold, and if so, determine whether the request frequency of the cached materials of the target application satisfies the predetermined frequency condition;

若所述目标应用的缓存素材请求频率满足所述预定频率条件,向所述目标应用对应的素材提供方发出缓存素材请求。If the cached material request frequency of the target application satisfies the predetermined frequency condition, send a cached material request to a material provider corresponding to the target application.

根据本申请的一个方面,提供了一种存储指令的计算机可读介质,所述指令在被执行时使得系统进行如下操作:According to one aspect of the present application, there is provided a computer-readable medium storing instructions that, when executed, cause a system to:

接收目标应用发送的缓存素材指示信息,其中,所述缓存素材指示信息包括所述目标应用对应的本地缓存素材库中未过期的一个或多个第三缓存素材对应的素材提供方标识信息和过期时间,所述一个或多个第三缓存素材中每个第三缓存素材的过期时间与当前时间之间的时间间隔小于或等于预定的第三时间间隔阈值;Receive cached material indication information sent by the target application, where the cached material indication information includes material provider identification information and expired material provider identification information corresponding to one or more unexpired third cached materials in the local cached material library corresponding to the target application time, the time interval between the expiration time of each third cache material in the one or more third cache materials and the current time is less than or equal to a predetermined third time interval threshold;

根据所述缓存素材指示信息,判断所述目标应用是否满足预定的请求触发条件,若满足,向所述目标应用对应的素材提供方发出缓存素材请求。According to the cached material indication information, it is judged whether the target application satisfies a predetermined request triggering condition, and if so, a cached material request is sent to a material provider corresponding to the target application.

与现有技术相比,本申请当发生缓存素材请求触发事件时,可获取目标应用对应的本地缓存素材库中临近过期的第一缓存素材,并当目标应用满足预定的请求触发条件时获取所述本地缓存素材库中的未过期的至少一个第二缓存素材,并基于各个第二缓存素材的过期时间与当前时间之间的第二时间间隔,来向服务器或素材提供方发出缓存素材请求,从而降低过期时间较久的素材提供方的请求频率;并且,能够区分高、低打开概率对用户采用不同的频控,用户打开频率越高,请求素材的频率也就越高;此外,在只有一条素材时通过判断该素材是否是价值较低的内部兜底广告,可采用立即展示或重新请求的不同应对措施,达到提升素材提供方召回率和出价、降低请求频率、提升广告质量和曝光时长的技术目的。Compared with the prior art, in the present application, when a cache material request trigger event occurs, the first cache material that is about to expire in the local cache material library corresponding to the target application can be obtained, and when the target application satisfies the predetermined request trigger condition, all cache materials can be obtained. at least one unexpired second cached material in the local cached material library, and based on the second time interval between the expiration time of each second cached material and the current time, a request for the cached material is sent to the server or the material provider, In this way, the request frequency of material providers with a long expiration time is reduced; and different frequency control can be used for users to distinguish between high and low open probability. The higher the user's open frequency, the higher the frequency of requesting materials; By judging whether the material is a low-value internal cover advertisement, different countermeasures can be taken to display it immediately or re-request, so as to improve the recall rate and bid of the material provider, reduce the request frequency, and improve the quality and exposure time of the advertisement. technical purpose.

附图说明Description of drawings

通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显:Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:

图1示出根据本申请一个实施例的一种应用于用户设备端的请求缓存素材的方法流程图;FIG. 1 shows a flowchart of a method for requesting cached material applied to a user equipment side according to an embodiment of the present application;

图2示出根据本申请一个实施例的一种应用于服务器端的请求缓存素材的方法流程图;FIG. 2 shows a flowchart of a method for requesting cached material applied to a server according to an embodiment of the present application;

图3示出根据本申请一个实施例的一种请求缓存素材的系统方法流程图;FIG. 3 shows a flowchart of a system method for requesting cached material according to an embodiment of the present application;

图4示出本申请一个示例的请求缓存素材的流程示意图;FIG. 4 shows a schematic flowchart of requesting cached material according to an example of the present application;

图5示出本申请一个示例的展示缓存素材的流程示意图;FIG. 5 shows a schematic flowchart of displaying cached material according to an example of the present application;

图6示出根据本申请一个实施例的一种请求缓存素材的用户设备结构图;6 shows a structural diagram of a user equipment requesting cached material according to an embodiment of the present application;

图7示出根据本申请一个实施例的一种请求缓存素材的服务器结构图;FIG. 7 shows a structural diagram of a server requesting cached material according to an embodiment of the present application;

图8示出可被用于实施本申请中所述的各个实施例的示例性系统。FIG. 8 illustrates an exemplary system that may be used to implement various embodiments described in this application.

附图中相同或相似的附图标记代表相同或相似的部件。The same or similar reference numbers in the drawings represent the same or similar parts.

具体实施方式Detailed ways

下面结合附图对本申请作进一步详细描述。The present application will be described in further detail below with reference to the accompanying drawings.

在本申请一个典型的配置中,终端、服务网络的设备和可信方均包括一个或多个处理器(例如,中央处理器(Central Processing Unit,CPU))、输入/输出接口、网络接口和内存。In a typical configuration of the present application, the terminal, the device serving the network, and the trusted party all include one or more processors (for example, a central processing unit (CPU)), an input/output interface, a network interface, and Memory.

内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RandomAccess Memory,RAM)和/或非易失性内存等形式,如只读存储器(Read Only Memory,ROM)或闪存(Flash Memory)。内存是计算机可读介质的示例。The memory may include non-persistent memory in computer readable media, random access memory (Random Access Memory, RAM) and/or non-volatile memory, such as read only memory (Read Only Memory, ROM) or flash memory (Flash). Memory). Memory is an example of a computer-readable medium.

计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(Phase-Change Memory,PCM)、可编程随机存取存储器(Programmable Random Access Memory,PRAM)、静态随机存取存储器(Static Random-Access Memory,SRAM)、动态随机存取存储器(Dynamic Random AccessMemory,DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(Electrically-Erasable Programmable Read-Only Memory,EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、数字多功能光盘(Digital Versatile Disc,DVD)或其他光学存储、磁盒式磁带,磁带磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。Computer-readable media includes both persistent and non-permanent, removable and non-removable media, and storage of information may be implemented by any method or technology. Information may be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (Phase-Change Memory, PCM), programmable random access memory (Programmable Random Access Memory, PRAM), static random access memory (Static Random-Access Memory, SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically-Erasable Programmable Read-Only Memory (Electrically-Erasable Programmable Read- Only Memory (EEPROM), flash memory or other memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device.

本申请所指设备包括但不限于用户设备、网络设备、或用户设备与网络设备通过网络相集成所构成的设备。所述用户设备包括但不限于任何一种可与用户进行人机交互(例如通过触摸板进行人机交互)的移动电子产品,例如智能手机、平板电脑等,所述移动电子产品可以采用任意操作系统,如Android操作系统、iOS操作系统等。其中,所述网络设备包括一种能够按照事先设定或存储的指令,自动进行数值计算和信息处理的电子设备,其硬件包括但不限于微处理器、专用集成电路(Application Specific IntegratedCircuit,ASIC)、可编程逻辑器件(Programmable Logic Device,PLD)、现场可编程门阵列(Field Programmable Gate Array,FPGA)、数字信号处理器(Digital Signal Processor,DSP)、嵌入式设备等。所述网络设备包括但不限于计算机、网络主机、单个网络服务器、多个网络服务器集或多个服务器构成的云;在此,云由基于云计算(Cloud Computing)的大量计算机或网络服务器构成,其中,云计算是分布式计算的一种,由一群松散耦合的计算机集组成的一个虚拟超级计算机。所述网络包括但不限于互联网、广域网、城域网、局域网、VPN网络、无线自组织网络(Ad Hoc网络)等。优选地,所述设备还可以是运行于所述用户设备、网络设备、或用户设备与网络设备、网络设备、触摸终端或网络设备与触摸终端通过网络相集成所构成的设备上的程序。The equipment referred to in this application includes, but is not limited to, user equipment, network equipment, or equipment formed by integrating user equipment and network equipment through a network. The user equipment includes, but is not limited to, any mobile electronic product that can perform human-computer interaction with the user (for example, human-computer interaction through a touchpad), such as a smart phone, a tablet computer, etc., and the mobile electronic product can use any operation. system, such as Android operating system, iOS operating system, etc. The network device includes an electronic device that can automatically perform numerical calculation and information processing according to pre-set or stored instructions, and its hardware includes but is not limited to a microprocessor, an application specific integrated circuit (ASIC) , Programmable Logic Device (PLD), Field Programmable Gate Array (Field Programmable Gate Array, FPGA), Digital Signal Processor (Digital Signal Processor, DSP), embedded devices, etc. The network device includes, but is not limited to, a computer, a network host, a single network server, multiple network server sets, or a cloud composed of multiple servers; here, a cloud is composed of a large number of computers or network servers based on cloud computing, Among them, cloud computing is a kind of distributed computing, a virtual supercomputer composed of a group of loosely coupled computer sets. The network includes, but is not limited to, the Internet, a wide area network, a metropolitan area network, a local area network, a VPN network, a wireless ad hoc network (Ad Hoc network), and the like. Preferably, the device may also be a program running on the user equipment, network equipment, or a device formed by user equipment and network equipment, network equipment, touch terminal or network equipment and touch terminal integrated through a network.

当然,本领域技术人员应能理解上述设备仅为举例,其他现有的或今后可能出现的设备如可适用于本申请,也应包含在本申请保护范围以内,并在此以引用方式包含于此。Of course, those skilled in the art should understand that the above-mentioned devices are only examples, and other existing or possible devices that may appear in the future, if applicable to this application, should also be included within the protection scope of this application, and are included in this application by reference. this.

在本申请的描述中,“多个”的含义是两个或者更多,除非另有明确具体的限定。In the description of this application, "plurality" means two or more, unless expressly and specifically defined otherwise.

图1示出根据本申请一个实施例的一种应用于用户设备端的请求缓存素材的方法流程图,该方法包括步骤S11、步骤S12和步骤S13。在步骤S11中,响应于针对目标应用的缓存素材请求触发事件,获取所述目标应用对应的本地缓存素材库中临近过期的一个或多个第一缓存素材,其中,所述一个或多个第一缓存素材中每个第一缓存素材的过期时间与当前时间之间的第一时间间隔小于或等于预定的第一时间间隔阈值;在步骤S12中,判断所述一个或多个第一缓存素材的数量是否大于或等于预定的第一数量阈值,若是,判断所述目标应用的缓存素材请求频率是否满足预定频率条件;在步骤S13中,若所述目标应用的缓存素材请求频率满足所述预定频率条件,向所述目标应用对应的素材提供方发出缓存素材请求。FIG. 1 shows a flowchart of a method for requesting cached material applied to a user equipment according to an embodiment of the present application, and the method includes step S11 , step S12 and step S13 . In step S11, in response to a cached material request trigger event for the target application, acquire one or more first cached materials that are about to expire in the local cached material library corresponding to the target application, wherein the one or more first cached materials are The first time interval between the expiration time of each first cached material in a cached material and the current time is less than or equal to a predetermined first time interval threshold; in step S12, determine the one or more first cached materials Whether the quantity of the target application is greater than or equal to the predetermined first quantity threshold, and if so, judge whether the request frequency of the cached material of the target application satisfies the predetermined frequency condition; in step S13, if the request frequency of the cached material of the target application satisfies the predetermined frequency The frequency condition is to send a cache material request to the material provider corresponding to the target application.

在步骤S11中,响应于针对目标应用的缓存素材请求触发事件,获取所述目标应用对应的本地缓存素材库中临近过期的一个或多个第一缓存素材,其中,所述一个或多个第一缓存素材中每个第一缓存素材的过期时间与当前时间之间的第一时间间隔小于或等于预定的第一时间间隔阈值。在一些实施例中,缓存素材请求触发事件包括但不限于目标应用后台被拉活、目标应用收到推送消息等。在一些实施例中,响应于缓存素材请求触发事件,从目标应用对应的本地缓存素材库中获取临近过期的一个或多个第一缓存素材,其中,临近过期是指缓存素材的过期时间与当前时间之间的时间间隔小于或等于预定的时间间隔阈值(例如,30分钟)。In step S11, in response to a cached material request trigger event for the target application, acquire one or more first cached materials that are about to expire in the local cached material library corresponding to the target application, wherein the one or more first cached materials are The first time interval between the expiration time of each first cached material in a cached material and the current time is less than or equal to a predetermined first time interval threshold. In some embodiments, the event triggering the cache material request includes, but is not limited to, the background of the target application being pulled active, the target application receiving a push message, and the like. In some embodiments, in response to a cached material request trigger event, one or more first cached materials that are about to expire are obtained from a local cached material library corresponding to the target application, where the near-expiration refers to the difference between the expiration time of the cached material and the current The time interval between times is less than or equal to a predetermined time interval threshold (eg, 30 minutes).

在步骤S12中,判断所述一个或多个第一缓存素材的数量是否大于或等于预定的第一数量阈值,若是,判断所述目标应用的缓存素材请求频率是否满足预定频率条件。在一些实施例中,若临近过期的第一缓存素材的数量大于或等于预定的第一数量阈值(例如,5个),则继续判断目标应用的缓存素材请求频率是否满足预定频率条件。在一些实施例中,判断目标应用的缓存素材请求频率是否满足预定频率条件的方式可以是判断目标应用在预定时间范围内(例如,最近一周、最近一个月)发出缓存素材请求的次数是否小于或等于预定次数阈值(例如,10次)。在一些实施例中,判断目标应用的缓存素材请求频率是否满足预定频率条件的方式还可以是判断当前时间距离上次缓存素材请求对应的请求时间的时间间隔是否大于或等于预定时间间隔阈值(例如,3天、一周)。In step S12, it is determined whether the number of the one or more first cached materials is greater than or equal to a predetermined first number threshold, and if so, it is determined whether the request frequency of the cached materials of the target application satisfies the predetermined frequency condition. In some embodiments, if the number of the first cached materials that are about to expire is greater than or equal to a predetermined first number threshold (for example, 5), it is continued to determine whether the request frequency of the cached materials of the target application satisfies the predetermined frequency condition. In some embodiments, the way of judging whether the cached material request frequency of the target application satisfies the predetermined frequency condition may be to judge whether the number of times the target application sends cached material requests within a predetermined time range (for example, the last week, the last month) is less than or Equal to a predetermined number of thresholds (eg, 10). In some embodiments, the method of judging whether the request frequency of the cached material of the target application satisfies the predetermined frequency condition may also be to judge whether the time interval between the current time and the request time corresponding to the last request for the cached material is greater than or equal to a predetermined time interval threshold (for example, , 3 days, one week).

在步骤S13中,若所述目标应用的缓存素材请求频率满足所述预定频率条件,向所述目标应用对应的素材提供方发出缓存素材请求。作为本实施例的一种实现方式,目标应用判断每个未过期的第二缓存素材的过期时间与当前时间之间的时间间隔,只有在该时间间隔小于或等于预定的时间间隔阈值的条件下,才会直接向该第二缓存素材对应的素材提供方(例如,dsp需求方平台)发出缓存素材请求,或者,才会通过目标应用对应的服务器(例如,adx实时竞价交易平台)向该第二缓存素材对应的素材提供方发出缓存素材请求,并接收素材提供方基于该缓存素材请求返回的新缓存素材,并存储在本地缓存素材库中。作为本实施例的另一种实现方式,目标应用向目标应用对应的服务器(例如,adx实时竞价交易平台)发出缓存素材指示信息,该缓存素材指示信息中包括每个未过期的第二缓存素材分别对应的素材提供方标识信息和过期时间。在一些实施例中,素材提供方标识信息用于唯一标识该素材提供方(例如,dsp需求方平台),包括不限不限素材提供方的ID信息、名称信息、标签信息等。服务器接收目标应用发送的包括每个过期的第二缓存素材分别对应的素材提供方标识信息和过期时间在内的缓存素材指示信息,并判断每个未过期的第二缓存素材的过期时间与当前时间之间的时间间隔,只有在该时间间隔小于或等于预定的时间间隔阈值的条件下,才会向该第二缓存素材对应的素材提供方发出缓存素材请求,并接收素材提供方基于该缓存素材请求返回的新缓存素材,并将该新缓存素材返回至目标应用。In step S13, if the cached material request frequency of the target application satisfies the predetermined frequency condition, a cached material request is sent to a material provider corresponding to the target application. As an implementation manner of this embodiment, the target application determines the time interval between the expiration time of each unexpired second cache material and the current time, only if the time interval is less than or equal to the predetermined time interval threshold , the cached material request will be sent directly to the material provider corresponding to the second cached material (for example, the dsp demand-side platform), or will be sent to the second cached material through the server corresponding to the target application (for example, adx real-time bidding trading platform). The material provider corresponding to the second cache material sends a cache material request, and receives the new cache material returned by the material provider based on the cache material request, and stores it in the local cache material library. As another implementation of this embodiment, the target application sends cached material indication information to a server corresponding to the target application (for example, the adx real-time bidding trading platform), where the cached material indication information includes each unexpired second cached material The corresponding material provider identification information and expiration time respectively. In some embodiments, the material provider identification information is used to uniquely identify the material provider (eg, a dsp demander platform), including ID information, name information, label information, and the like of any material provider. The server receives the cached material indication information sent by the target application including the identification information of the material provider and the expiration time corresponding to each expired second cached material, and judges the expiration time of each unexpired second cached material and the current The time interval between times, only if the time interval is less than or equal to the predetermined time interval threshold, will a cached material request be sent to the material provider corresponding to the second cached material, and the receiving material provider will be based on the cached material. The new cached material returned by the material request, and the new cached material is returned to the target application.

在一些实施例中,所述步骤S13包括:若所述目标应用的缓存素材请求频率满足所述预定频率条件,且所述目标应用满足预定的请求触发条件,向所述目标应用对应的素材提供方发出缓存素材请求。在一些实施例中,预定请求触发条件可以是本地缓存素材库中存在由某个素材提供方提供的一个或多个第二缓存素材中至少包含一个剩余有效期时长小于或等于第一有效期阈值信息的第二缓存素材,则直接或通过目标应用对应的服务器向该素材提供方发出缓存素材请求,剩余有效时长是指某个尚未过期的缓存素材的过期时间与当前时间的时间间隔所对应的时长。例如,素材提供方A提供了3个缓存素材,且这3个缓存素材中存在剩余有效期时长(例如,6小时)小于第一有效期阈值信息(例如,12小时)的缓存素材MA,则直接或通过目标应用对应的服务器向素材提供方A发出缓存素材请求。在一些实施例中,预定请求触发条件还可以是本地缓存素材库中存在由某个素材提供方提供的一个或多个第二缓存素材中的每个第二缓存素材的剩余有效期时长均小于或等于第二有效期阈值信息,则直接或通过目标应用对应的服务器向该素材提供方发出缓存素材请求。例如,素材提供方A提供了3个缓存素材,且这3个缓存素材中的每个缓存素材的剩余有效期时长(例如,6小时)均小于第二有效期阈值信息(例如,12小时),则直接或通过目标应用对应的服务器向素材提供方A发出缓存素材请求。在一些实施例中,预定请求触发条件还可以是本地缓存素材库中由某个素材提供方提供的剩余有效期时长小于或等于第三有效期阈值信息的第二缓存素材的数量信息小于或等于第二数量阈值,则直接或通过目标应用对应的服务器向该素材提供方发出缓存素材请求。例如,素材提供方A提供了3个剩余有效期时长均小于或等于第三有效期阈值信息(例如,12小时)的缓存素材,由于小于第二数量阈值(例如,5个),因此直接或通过目标应用对应的服务器向素材提供方A发出缓存素材请求。In some embodiments, the step S13 includes: if the request frequency of the cached material of the target application satisfies the predetermined frequency condition, and the target application satisfies the predetermined request trigger condition, providing the material corresponding to the target application The party sends a cache material request. In some embodiments, the triggering condition for the predetermined request may be that one or more second cached materials provided by a certain material provider exist in the local cached material library, and at least one remaining validity period is less than or equal to the first validity period threshold information. For the second cached material, a cached material request is sent to the material provider directly or through the server corresponding to the target application, and the remaining valid duration refers to the duration corresponding to the time interval between the expiration time of an unexpired cached material and the current time. For example, if the material provider A provides 3 cached materials, and there is a cached material MA whose remaining validity period (for example, 6 hours) is less than the first validity period threshold information (for example, 12 hours) among the 3 cached materials, then directly or Send a cache material request to the material provider A through the server corresponding to the target application. In some embodiments, the predetermined request triggering condition may also be that the remaining validity period of each of the one or more second cached materials provided by a certain material provider in the local cached material library is less than or equal to If the information is equal to the second validity period threshold information, a cache material request is sent to the material provider directly or through a server corresponding to the target application. For example, material provider A provides 3 cached materials, and the remaining validity period (for example, 6 hours) of each of the 3 cached materials is less than the second validity period threshold information (for example, 12 hours), then Send a cache material request to the material provider A directly or through a server corresponding to the target application. In some embodiments, the predetermined request triggering condition may also be that the quantity information of the second cached materials whose remaining validity period provided by a certain material provider in the local cache material library is less than or equal to the third validity period threshold information is less than or equal to the second cache material If the quantity threshold is exceeded, a cache material request is sent to the material provider directly or through the server corresponding to the target application. For example, material provider A provides 3 cached materials whose remaining validity period is less than or equal to the third validity threshold information (for example, 12 hours), because it is less than the second quantity threshold (for example, 5), so directly or through the target The server corresponding to the application sends a cache material request to the material provider A.

在一些实施例中,所述请求触发条件包括:所述本地缓存素材库中存在由所述素材提供方提供的一个或多个第二缓存素材,其中所述一个或多个第二缓存素材的剩余有效期时长小于或等于第一有效期阈值信息;其中,所述向所述素材提供方发出缓存素材请求,包括:对于所述一个或多个第二缓存素材中的每个第二缓存素材,向该第二缓存素材对应的素材提供方发出缓存素材请求。In some embodiments, the request triggering condition includes: one or more second cached materials provided by the material provider exist in the local cached material library, wherein the one or more second cached materials have The remaining validity period is less than or equal to the first validity period threshold information; wherein the sending a cache material request to the material provider includes: for each second cache material in the one or more second cache materials, sending the request to the material provider. The material provider corresponding to the second cached material sends a cached material request.

例如,素材提供方A提供了3个缓存素材MA1、MA2、MA3,素材提供方B提供了2个素材MB1、MB2,这5个缓存素材中MA1与MB1的剩余有效期时长(例如,6小时)小于第一有效期阈值信息(例如,12小时),则向MA1对应的素材提供方A发出缓存素材请求,并向MB1对应的素材提供方B发出缓存素材请求。For example, material provider A provides 3 cached materials MA1, MA2, and MA3, and material provider B provides 2 materials MB1 and MB2. The remaining validity period of MA1 and MB1 in these 5 cached materials (for example, 6 hours) If it is less than the first validity period threshold information (for example, 12 hours), a cache material request is sent to the material provider A corresponding to MA1, and a cache material request is sent to the material provider B corresponding to MB1.

又例如,素材提供方A提供了3个缓存素材MA1、MA2、MA3,素材提供方B提供了2个素材MB1、MB2,这5个缓存素材中MA1与MA2的剩余有效期时长(例如,6小时)小于第一有效期阈值信息(例如,12小时),则向MA1对应的素材提供方A发出缓存素材请求。For another example, material provider A provides 3 cached materials MA1, MA2, and MA3, and material provider B provides 2 materials MB1 and MB2. The remaining validity periods of MA1 and MA2 in these 5 cached materials (for example, 6 hours) ) is less than the first validity period threshold information (for example, 12 hours), send a cache material request to the material provider A corresponding to MA1.

在一些实施例中,所述本地缓存素材库用于存储独占式缓存素材,所述独占式缓存素材包括开屏缓存素材和/或插屏缓存素材。在一些实施例中,本方案适用于所有缓存素材,优选地,尤其适用于独占式缓存素材,独占式缓存素材包括开屏缓存素材(例如,在用户打开目标应用时,以全屏方式展示一小段时间的开屏缓存素材)和/或插屏缓存素材(例如,在游戏过关或者视频暂停的时候展示插屏缓存素材),在同一时间,通常只能展示一个独占式缓存素材,而不能同时展示多个独占式缓存素材。In some embodiments, the local cache material library is used to store exclusive cache materials, and the exclusive cache materials include screen-opening cache materials and/or interstitial cache materials. In some embodiments, this solution is applicable to all cached materials, preferably, especially to exclusive cached materials, where exclusive cached materials include open-screen cached materials (for example, when the user opens the target application, a short segment is displayed in full screen mode) Time-opening cache material) and/or interstitial cache material (for example, showing interstitial cache material when the game is over or the video is paused), at the same time, usually only one exclusive cache material can be displayed, but not at the same time. Multiple exclusive cache assets.

在一些实施例中,其中,所述第一数量阈值是根据所述目标应用对应的服务器对应的素材提供方的数量确定的。在一些实施例中,第一数量阈值是根据目标应用对应的服务器(例如,adx实时竞价交易平台)绑定的素材提供方(例如,dsp需求方平台)的数量确定的。在一些实施例中,可以从目标应用对应的服务器获取该第一数量阈值,或者,还可以从目标应用本地获取该第一数量阈值。在一些实施例中,该第一数量阈值可以与服务器绑定的素材提供方的数量成正比,或者,该第一数量阈值还可以与服务器绑定的素材提供方的数量所位于的数量区间成正比,或者,该第一数量阈值还可以与服务器绑定的各个素材提供方的加权系数之和成正比。In some embodiments, the first quantity threshold is determined according to the quantity of material providers corresponding to the server corresponding to the target application. In some embodiments, the first quantity threshold is determined according to the quantity of material providers (eg, dsp demand-side platform) bound to a server (eg, adx real-time bidding trading platform) corresponding to the target application. In some embodiments, the first quantity threshold may be obtained from a server corresponding to the target application, or the first quantity threshold may also be obtained locally from the target application. In some embodiments, the first quantity threshold may be proportional to the quantity of material providers bound to the server, or the first quantity threshold may also be proportional to the quantity interval within which the number of material providers bound to the server is located. Alternatively, the first quantity threshold may also be proportional to the sum of the weighting coefficients of various material providers bound by the server.

在一些实施例中,所述第一数量阈值是根据所述目标应用对应的素材提供方的数量,并基于以下公式确定的:Num=N0+NDSP*(k1-1/NDSP),其中,Num表示所述第一数量阈值,NDSP表示所述目标应用对应的素材提供方的数量,k1为第一调整系数,N0表示所述第一数量阈值的默认值(例如,5)。在一些实施例中,可基于经验值或者大数据分析来设定k1的取值。在一些实施例中,目标应用对应的素材提供方的数量越多,第一数量阈值越大;目标应用对应的素材提供方的数量越少,第一数量阈值越小。In some embodiments, the first number threshold is determined according to the number of material providers corresponding to the target application and based on the following formula: Num=N0+NDSP*(k1-1/NDSP), where Num represents the first number threshold, NDSP represents the number of material providers corresponding to the target application, k1 is the first adjustment coefficient, and N 0 represents the default value (for example, 5) of the first number threshold. In some embodiments, the value of k1 may be set based on empirical values or big data analysis. In some embodiments, the greater the number of material providers corresponding to the target application, the larger the first number threshold; the less the number of material providers corresponding to the target application, the smaller the first number threshold.

在一些实施例中,所述判断所述目标应用的缓存素材请求频率是否满足预定频率条件,包括:判断在预定时间范围内所述目标应用发出缓存素材请求的次数是否小于或等于预定次数阈值,若是,确定所述目标应用的缓存素材请求频率满足预定频率条件。在一些实施例中,判断目标应用在预定时间范围内(例如,最近一周、最近一个月)发出缓存素材请求的次数是否小于或等于预定次数阈值(例如,10次),若是,则确定目标应用的缓存素材请求频率满足预定频率条件。In some embodiments, the judging whether the cache material request frequency of the target application satisfies a predetermined frequency condition includes: judging whether the number of times the target application sends the cache material request within a predetermined time range is less than or equal to a predetermined times threshold, If so, it is determined that the request frequency of the cached material of the target application satisfies the predetermined frequency condition. In some embodiments, it is determined whether the number of times the target application sends cache material requests within a predetermined time range (for example, the last week, the last month) is less than or equal to a predetermined number of times threshold (for example, 10 times), and if so, the target application is determined The request frequency of the cached material meets the predetermined frequency condition.

在一些实施例中,所述判断所述目标应用的缓存素材请求频率是否满足预定频率条件,包括:判断当前时间距离上次缓存素材请求对应的请求时间的第三时间间隔是否大于或等于预定的第三时间间隔阈值,若是,确定所述目标应用的缓存素材请求频率满足预定频率条件。在一些实施例中,检测当前时间距离上次缓存素材请求对应的请求时间的时间间隔是否大于或等于预定的时间间隔阈值(比如,6小时),若是,则确定目标应用的缓存素材请求频率满足预定频率条件。In some embodiments, the judging whether the cached material request frequency of the target application satisfies a predetermined frequency condition includes: judging whether a third time interval between the current time and the request time corresponding to the last cached material request is greater than or equal to a predetermined frequency The third time interval threshold, if yes, determines that the request frequency of the cached material of the target application satisfies the predetermined frequency condition. In some embodiments, it is detected whether the time interval between the current time and the request time corresponding to the last cached material request is greater than or equal to a predetermined time interval threshold (for example, 6 hours), and if so, it is determined that the cached material request frequency of the target application satisfies predetermined frequency conditions.

在一些实施例中,所述上次缓存素材请求成功返回了新的缓存素材。在一些实施例中,检测当前时间距离上次成功返回了新的缓存素材的缓存素材请求对应的请求时间的时间间隔是否大于或等于预定的时间间隔阈值(比如,6小时),若是,则确定目标应用的缓存素材请求频率满足预定频率条件。In some embodiments, the last cached material request successfully returned new cached material. In some embodiments, it is detected whether the time interval between the current time and the request time corresponding to the cached material request that successfully returned the new cached material last time is greater than or equal to a predetermined time interval threshold (for example, 6 hours), and if so, determine The request frequency of the cached material of the target application satisfies the predetermined frequency condition.

在一些实施例中,所述第三时间间隔阈值是基于用户打开频率来确定的。在一些实施例中,所述用户打开频率用于表征用户打开目标应用的频率或者用于打开目标应用中的素材展示区域的频率。在一些实施例中,用户打开频率越高,所述第三时间间隔阈值越小,则请求频率越高。In some embodiments, the third time interval threshold is determined based on user turn-on frequency. In some embodiments, the user opening frequency is used to represent the frequency of the user opening the target application or the frequency of opening the material display area in the target application. In some embodiments, the higher the opening frequency of the user, the smaller the third time interval threshold, and the higher the request frequency.

在一些实施例中,所述方法还包括:基于以下公式计算所述第三时间间隔阈值:T=(1+k2/N0)*T0,其中,T表示所述第三时间间隔阈值,T0表示最近两次缓存素材请求之间的实际时间间隔,k2表示第二调节系数,N0表示用户打开频率。在一些实施例中,k2小于或等于N0。在一些实施例中,可基于经验值或者大数据分析来设定k2的取值。在一些实施例中,用户打开频率越高,第三时间间隔阈值越小,则请求频率越高;用户打开频率越低,第三时间间隔阈值越大,则请求频率越低。In some embodiments, the method further includes: calculating the third time interval threshold based on the following formula: T=(1+k2/N 0 )*T0, where T represents the third time interval threshold, and T0 Indicates the actual time interval between the last two cached material requests, k2 represents the second adjustment coefficient, and N 0 represents the user's opening frequency. In some embodiments, k2 is less than or equal to N0. In some embodiments, the value of k2 may be set based on empirical values or big data analysis. In some embodiments, the higher the user opening frequency is, the smaller the third time interval threshold is, the higher the request frequency is; the lower the user opening frequency is, the higher the third time interval threshold value is, the lower the request frequency is.

在一些实施例中,所述步骤S13包括:若所述目标应用的缓存素材请求频率满足所述预定频率条件,向所述目标应用对应的服务器发送缓存素材指示信息,其中,所述缓存素材指示信息包括所述本地缓存素材库中未过期的一个或多个第三缓存素材对应的素材提供方标识信息和过期时间,所述一个或多个第三缓存素材中每个第三缓存素材的过期时间与当前时间之间的时间间隔小于或等于预定的第三时间间隔阈值。在一些实施例中,目标应用向目标应用对应的服务器(例如,adx实时竞价交易平台)发出缓存素材指示信息,该缓存素材指示信息中包括每个未过期的第三缓存素材分别对应的素材提供方标识信息和过期时间。在一些实施例中,素材提供方标识信息用于唯一标识该素材提供方(例如,dsp需求方平台),包括不限不限素材提供方的ID信息、名称信息、标签信息等。服务器接收目标应用发送的包括每个过期的第三缓存素材分别对应的素材提供方标识信息和过期时间在内的缓存素材指示信息,并判断每个未过期的第三缓存素材的过期时间与当前时间之间的时间间隔,只有在该时间间隔小于或等于预定的时间间隔阈值的条件下,才会向该第三缓存素材对应的素材提供方发出缓存素材请求,并接收素材提供方基于该缓存素材请求返回的新缓存素材,并将该新缓存素材返回至目标应用。In some embodiments, the step S13 includes: if the request frequency of the cached material of the target application satisfies the predetermined frequency condition, sending cached material indication information to a server corresponding to the target application, wherein the cached material indicates The information includes material provider identification information and expiration time corresponding to one or more unexpired third cache materials in the local cache material library, and the expiration date of each third cache material in the one or more third cache materials The time interval between the time and the current time is less than or equal to the predetermined third time interval threshold. In some embodiments, the target application sends cached material indication information to a server corresponding to the target application (for example, the adx real-time bidding trading platform), where the cached material indication information includes the material provision corresponding to each unexpired third cached material respectively Party identification information and expiration time. In some embodiments, the material provider identification information is used to uniquely identify the material provider (eg, a dsp demander platform), including ID information, name information, label information, and the like of any material provider. The server receives the cached material indication information sent by the target application, including the identification information of the material provider and the expiration time corresponding to each expired third cached material, and judges the expiration time of each unexpired third cached material and the current The time interval between times, only if the time interval is less than or equal to the predetermined time interval threshold, will a request for cached material be sent to the material provider corresponding to the third cached material, and the receiving material provider will request based on the cached material. The new cached material returned by the material request, and the new cached material is returned to the target application.

在一些实施例中,所述方法还包括:响应于针对所述目标应用的素材展示触发事件,检测所述本地缓存素材库中是否存在未过期的第四缓存素材;若存在,检测是否仅存在一个第四缓存素材;若仅存在一个第四缓存素材,判断所述仅存在的第四缓存素材是否为兜底素材,若否,展示所述仅存在的第四缓存素材。在一些实施例中,响应于针对目标应用的素材展示触发事件,检测本地缓存素材库中是否存在未过期的第四缓存素材,若存在,检测是否仅存在一个第四缓存素材,若仅存在一个第四缓存素材,判断该仅存在的第四缓存素材是否为兜底素材,若否,直接展示该仅存在的第四缓存素材。在一些实施例中,兜底素材是指用于起保底推广作用的素材,兜底素材通常推广价值较低,在没有其他素材能够用于推广时才会展示兜底素材。In some embodiments, the method further includes: in response to a material display trigger event for the target application, detecting whether there is an unexpired fourth cached material in the local cached material library; if so, detecting whether there is only an unexpired fourth cached material One fourth cached material; if there is only one fourth cached material, it is judged whether the only existing fourth cached material is the bottom material, and if not, the only existing fourth cached material is displayed. In some embodiments, in response to a material display trigger event for the target application, it is detected whether there is an unexpired fourth cached material in the local cached material library, and if so, it is detected whether there is only one fourth cached material, if there is only one fourth cached material For the fourth cached material, it is judged whether the only existing fourth cached material is the bottom line material, and if not, the only existing fourth cached material is directly displayed. In some embodiments, the bottom-of-the-box material refers to the material used for guaranteeing the promotion. The bottom-of-the-box material usually has a low promotion value, and the bottom-of-the-box material is displayed only when no other materials can be used for promotion.

在一些实施例中,所述方法还包括:若所述本地缓存素材库中不存在未过期的第四缓存素材,向所述目标应用对应的服务器发出第一展示素材请求;获得所述服务器基于所述第一展示素材请求返回的第一目标素材,并展示所述第一目标素材。在一些实施例中,若本地不存在未过期的第四缓存素材,则向目标应用对应的服务器发出展示素材请求,接收并展示服务器基于该展示素材请求返回的目标素材,若服务器超时未返回,则不展示任何素材。In some embodiments, the method further includes: if there is no unexpired fourth cached material in the local cached material library, sending a first display material request to a server corresponding to the target application; The first display material requests the returned first target material, and displays the first target material. In some embodiments, if there is no unexpired fourth cached material locally, a display material request is sent to the server corresponding to the target application, and the target material returned by the server based on the display material request is received and displayed. No material will be displayed.

在一些实施例中,所述方法还包括:若存在未过期的多个第四缓存素材,向所述目标应用对应的服务器发出素材展示规则请求;接收所述服务器基于所述素材展示规则请求返回的素材展示规则,并根据所述素材展示规则从所述多个第四缓存素材中选择第二目标素材,并展示所述第二目标素材。在一些实施例中,素材展示规则用于指示多个第四缓存素材中展示哪一个第四缓存素材。在一些实施例中,若存在未过期的多个第四缓存素材,向目标应用对应的服务器请求获取素材展示规则,并根据素材展示规则从多个第四缓存素材中选择并展示目标素材。In some embodiments, the method further includes: if there are multiple unexpired fourth cached materials, sending a material display rule request to a server corresponding to the target application; receiving a response from the server based on the material display rule request and select a second target material from the plurality of fourth cached materials according to the material display rule, and display the second target material. In some embodiments, the material display rule is used to indicate which fourth cache material is displayed among the plurality of fourth cache materials. In some embodiments, if there are multiple unexpired fourth cached materials, a server corresponding to the target application is requested to obtain material display rules, and the target materials are selected and displayed from the multiple fourth cached materials according to the material display rules.

在一些实施例中,所述方法还包括:若超时未获得所述服务器返回的素材展示规则,获取本地素材展示规则;根据所述本地素材展示规则从所述多个第四缓存素材中选择第三目标素材,并展示所述第三目标素材。在一些实施例中,若请求超时,服务器未返回素材展示规则,则直接根据目标应用本地的素材展示规则从多个第四缓存素材中选择并展示目标素材。In some embodiments, the method further includes: if the material display rule returned by the server is not obtained over time, obtaining a local material display rule; and selecting a first material from the plurality of fourth cached materials according to the local material display rule Three target materials, and the third target material is displayed. In some embodiments, if the request times out and the server does not return the material display rule, the target material is directly selected from the plurality of fourth cache materials and displayed according to the local material display rule of the target application.

在一些实施例中,所述方法还包括:若所述仅存在一个的第四缓存素材为兜底素材,向所述目标应用对应的服务器发出第二展示素材请求;获得所述服务器基于所述第二展示素材请求返回的第四目标素材,并展示所述第四目标素材。在一些实施例中,若该仅存在一个的第四缓存素材为兜底素材,则向目标应用对应的服务器请求获取目标素材并进行展示。In some embodiments, the method further includes: if the only one fourth cached material is a bottom material, sending a second display material request to a server corresponding to the target application; 2. Display the fourth target material returned by the material request, and display the fourth target material. In some embodiments, if the only one fourth cached material is the bottom material, a request is made to the server corresponding to the target application to obtain the target material and display it.

在一些实施例中,所述方法还包括:若超时未获得所述服务器返回的第四目标素材,展示所述兜底素材。在一些实施例中,若请求超时,未获得服务器返回的目标素材,则直接展示兜底素材。In some embodiments, the method further includes: if the fourth target material returned by the server is not obtained within a timeout period, displaying the bottom-line material. In some embodiments, if the request times out and the target material returned by the server is not obtained, the bottom-line material is directly displayed.

图2示出根据本申请一个实施例的一种应用于服务器端的请求缓存素材的方法流程图,该方法包括步骤S21和步骤S22。在步骤S21中,接收目标应用发送的缓存素材指示信息,其中,所述缓存素材指示信息包括所述目标应用对应的本地缓存素材库中未过期的一个或多个第三缓存素材对应的素材提供方标识信息和过期时间,所述一个或多个第三缓存素材中每个第三缓存素材的过期时间与当前时间之间的时间间隔小于或等于预定的第三时间间隔阈值;在步骤S22中,根据所述缓存素材指示信息,判断所述目标应用是否满足预定的请求触发条件,若满足,向所述目标应用对应的素材提供方发出缓存素材请求。FIG. 2 shows a flow chart of a method for requesting cached materials applied to a server according to an embodiment of the present application, and the method includes step S21 and step S22. In step S21, the cached material indication information sent by the target application is received, wherein the cached material indication information includes the material provision corresponding to one or more unexpired third cached materials in the local cached material library corresponding to the target application Party identification information and expiration time, the time interval between the expiration time of each third cache material in the one or more third cache materials and the current time is less than or equal to the predetermined third time interval threshold; in step S22 , according to the cached material indication information, determine whether the target application satisfies a predetermined request triggering condition, and if so, send a cached material request to a material provider corresponding to the target application.

在步骤S21中,接收目标应用发送的缓存素材指示信息,其中,所述缓存素材指示信息包括所述目标应用对应的本地缓存素材库中未过期的一个或多个第三缓存素材对应的素材提供方标识信息和过期时间,所述一个或多个第三缓存素材中每个第三缓存素材的过期时间与当前时间之间的时间间隔小于或等于预定的第三时间间隔阈值。在一些实施例中,素材提供方标识信息用于唯一标识该素材提供方(例如,dsp需求方平台),包括不限不限素材提供方的ID信息、名称信息、标签信息等。In step S21, the cached material indication information sent by the target application is received, wherein the cached material indication information includes the material provision corresponding to one or more unexpired third cached materials in the local cached material library corresponding to the target application Party identification information and expiration time, the time interval between the expiration time of each third cache material in the one or more third cache materials and the current time is less than or equal to a predetermined third time interval threshold. In some embodiments, the material provider identification information is used to uniquely identify the material provider (eg, a dsp demander platform), including ID information, name information, label information, and the like of any material provider.

在步骤S22中,根据所述缓存素材指示信息,判断所述目标应用是否满足预定的请求触发条件,若满足,向所述目标应用对应的素材提供方发出缓存素材请求。在一些实施例中,预定请求触发条件可以是本地缓存素材库中存在由某个素材提供方提供的一个或多个第二缓存素材中至少包含一个剩余有效期时长小于或等于第一有效期阈值信息的第二缓存素材,则直接或通过目标应用对应的服务器向该素材提供方发出缓存素材请求,剩余有效时长是指某个尚未过期的缓存素材的过期时间与当前时间的时间间隔所对应的时长。例如,素材提供方A提供了3个缓存素材,且这3个缓存素材中存在剩余有效期时长(例如,6小时)小于第一有效期阈值信息(例如,12小时)的缓存素材MA,则直接或通过目标应用对应的服务器向素材提供方A发出缓存素材请求。在一些实施例中,预定请求触发条件还可以是本地缓存素材库中存在由某个素材提供方提供的一个或多个第二缓存素材中的每个第二缓存素材的剩余有效期时长均小于或等于第二有效期阈值信息,则直接或通过目标应用对应的服务器向该素材提供方发出缓存素材请求。例如,素材提供方A提供了3个缓存素材,且这3个缓存素材中的每个缓存素材的剩余有效期时长(例如,6小时)均小于第二有效期阈值信息(例如,12小时),则直接或通过目标应用对应的服务器向素材提供方A发出缓存素材请求。在一些实施例中,预定请求触发条件还可以是本地缓存素材库中由某个素材提供方提供的剩余有效期时长小于或等于第三有效期阈值信息的第二缓存素材的数量信息小于或等于第二数量阈值,则直接或通过目标应用对应的服务器向该素材提供方发出缓存素材请求。例如,素材提供方A提供了3个剩余有效期时长均小于或等于第三有效期阈值信息(例如,12小时)的缓存素材,由于小于第二数量阈值(例如,5个),因此直接或通过目标应用对应的服务器向素材提供方A发出缓存素材请求。In step S22, according to the cached material indication information, it is determined whether the target application satisfies a predetermined request triggering condition, and if so, a cached material request is sent to a material provider corresponding to the target application. In some embodiments, the triggering condition for the predetermined request may be that one or more second cached materials provided by a certain material provider exist in the local cached material library, and at least one remaining validity period is less than or equal to the first validity period threshold information. For the second cached material, a cached material request is sent to the material provider directly or through the server corresponding to the target application, and the remaining valid duration refers to the duration corresponding to the time interval between the expiration time of an unexpired cached material and the current time. For example, if the material provider A provides 3 cached materials, and there is a cached material MA whose remaining validity period (for example, 6 hours) is less than the first validity period threshold information (for example, 12 hours) among the 3 cached materials, then directly or Send a cache material request to the material provider A through the server corresponding to the target application. In some embodiments, the predetermined request triggering condition may also be that the remaining validity period of each of the one or more second cached materials provided by a certain material provider in the local cached material library is less than or equal to If the information is equal to the second validity period threshold information, a cache material request is sent to the material provider directly or through a server corresponding to the target application. For example, material provider A provides 3 cached materials, and the remaining validity period (for example, 6 hours) of each of the 3 cached materials is less than the second validity period threshold information (for example, 12 hours), then Send a cache material request to the material provider A directly or through a server corresponding to the target application. In some embodiments, the predetermined request triggering condition may also be that the quantity information of the second cached materials whose remaining validity period provided by a certain material provider in the local cache material library is less than or equal to the third validity period threshold information is less than or equal to the second cache material If the quantity threshold is exceeded, a cache material request is sent to the material provider directly or through the server corresponding to the target application. For example, material provider A provides 3 cached materials whose remaining validity period is less than or equal to the third validity threshold information (for example, 12 hours), because it is less than the second quantity threshold (for example, 5), so directly or through the target The server corresponding to the application sends a cache material request to the material provider A.

在一些实施例中,所述请求触发条件包括:所述一个或多个第三缓存素材中存在由所述素材提供方提供的一个或多个第二缓存素材,其中所述一个或多个第二缓存素材的剩余有效期时长小于或等于第一有效期阈值信息;其中,所述向所述素材提供方发出缓存素材请求,包括:对于所述一个或多个第二缓存素材中的每个第二缓存素材,向该第二缓存素材对应的素材提供方发出缓存素材请求。In some embodiments, the request triggering condition includes: one or more second cached materials provided by the material provider exist in the one or more third cached materials, wherein the one or more third cached materials exist 2. The remaining validity period of the cached material is less than or equal to the first validity period threshold information; wherein the sending a cache material request to the material provider includes: for each second cache material of the one or more second cache materials Cache the material, and send a cache material request to the material provider corresponding to the second cache material.

例如,素材提供方A提供了3个缓存素材MA1、MA2、MA3,素材提供方B提供了2个素材MB1、MB2,这5个缓存素材中MA1与MB1的剩余有效期时长(例如,6小时)小于第一有效期阈值信息(例如,12小时),则向MA1对应的素材提供方A发出缓存素材请求,并向MB1对应的素材提供方B发出缓存素材请求。For example, material provider A provides 3 cached materials MA1, MA2, and MA3, and material provider B provides 2 materials MB1 and MB2. The remaining validity period of MA1 and MB1 in these 5 cached materials (for example, 6 hours) If it is less than the first validity period threshold information (for example, 12 hours), a cache material request is sent to the material provider A corresponding to MA1, and a cache material request is sent to the material provider B corresponding to MB1.

又例如,素材提供方A提供了3个缓存素材MA1、MA2、MA3,素材提供方B提供了2个素材MB1、MB2,这5个缓存素材中MA1与MA2的剩余有效期时长(例如,6小时)小于第一有效期阈值信息(例如,12小时),则向MA1对应的素材提供方A发出缓存素材请求。For another example, material provider A provides 3 cached materials MA1, MA2, and MA3, and material provider B provides 2 materials MB1 and MB2. The remaining validity periods of MA1 and MA2 in these 5 cached materials (for example, 6 hours) ) is less than the first validity period threshold information (for example, 12 hours), send a cache material request to the material provider A corresponding to MA1.

图3示出根据本申请一个实施例的一种请求缓存素材的系统方法流程图。Fig. 3 shows a flowchart of a system method for requesting cached material according to an embodiment of the present application.

如图3所示,在步骤S31中,用户设备响应于针对目标应用的缓存素材请求触发事件,获取所述目标应用对应的本地缓存素材库中临近过期的一个或多个第一缓存素材,其中,所述一个或多个第一缓存素材中每个第一缓存素材的过期时间与当前时间之间的时间间隔小于或等于预定的第一时间间隔阈值,步骤S31和前述步骤S11相同或者相似,在此不再赘述;在步骤S32中,所述用户设备判断所述一个或多个第一缓存素材的数量是否大于或等于预定的第一数量阈值;若是,判断所述目标应用的缓存素材请求频率是否满足预定频率条件,步骤S32和前述步骤S12相同或者相似,在此不再赘述;在步骤S33中,若所述目标应用的缓存素材请求频率满足所述预定频率条件,所述用户设备向所述目标应用对应的服务器发送缓存素材指示信息,其中,所述缓存素材指示信息包括所述本地缓存素材库中未过期的一个或多个第三缓存素材对应的素材提供方标识信息和过期时间,所述一个或多个第三缓存素材中每个第三缓存素材的过期时间与当前时间之间的时间间隔小于或等于预定的第三时间间隔阈值,步骤S33和前述步骤S13相同或者相似,在此不再赘述;在步骤S34中,所述服务器接收所述缓存素材指示信息,并根据所述缓存素材指示信息,判断所述目标应用是否满足预定的请求触发条件,若满足,向所述目标应用对应的素材提供方发出缓存素材请求,步骤S34和前述步骤S21、S22相同或者相似,在此不再赘述。As shown in FIG. 3, in step S31, in response to a cached material request trigger event for the target application, the user equipment acquires one or more first cached materials that are about to expire in the local cached material library corresponding to the target application, wherein , the time interval between the expiration time of each first cached material in the one or more first cached materials and the current time is less than or equal to the predetermined first time interval threshold, step S31 is the same as or similar to the aforementioned step S11, It is not repeated here; in step S32, the user equipment judges whether the quantity of the one or more first cached materials is greater than or equal to a predetermined first quantity threshold; if so, judges the cached material request of the target application Whether the frequency satisfies the predetermined frequency condition, step S32 is the same as or similar to the aforementioned step S12, and will not be repeated here; in step S33, if the request frequency of the cached material of the target application meets the predetermined frequency condition, the user equipment sends The server corresponding to the target application sends cached material indication information, wherein the cached material indication information includes material provider identification information and expiration time corresponding to one or more unexpired third cached materials in the local cached material library , the time interval between the expiration time of each third cache material in the one or more third cache materials and the current time is less than or equal to the predetermined third time interval threshold, step S33 is the same as or similar to the aforementioned step S13, The details are not repeated here; in step S34, the server receives the cached material indication information, and according to the cached material indication information, determines whether the target application satisfies the predetermined request triggering condition, and if so, reports to the The material provider corresponding to the target application sends a cache material request. Step S34 is the same as or similar to the foregoing steps S21 and S22, and will not be repeated here.

随着时代的发展,人们越来越多的通过智能设备上的应用程序来获取相应的信息,随之也有越来越多的素材提供方通过与应用程序的服务商合作来在应用程序中推广其素材,例如一些广告商通常会在应用程序上进行独占式广告(如开屏广告、插屏广告)的投放,这种独占式推广方式能够起到很好的推广宣传作用。With the development of the times, more and more people obtain corresponding information through applications on smart devices, and more and more material providers cooperate with application service providers to promote in applications Its materials, for example, some advertisers usually place exclusive advertisements (such as open-screen advertisements, interstitial advertisements) on the application, and this exclusive promotion method can play a very good role in promotion.

本申请发现现有技术中的独占式推广方式存在如下问题:1)为了竞价充分,用于推广素材的应用程序会向多个素材提供方(如广告提供商)请求广告,有的素材提供方提供的广告素材过期时间短,而有的过期时间长,可能造成之前的广告未过期且未曝光但又进行预请求会降低广告提供商的出价;2)为了提升展示率,应用程序需要多次预请求广告素材,但有很多用户当天不打开应用,造成请求的浪费,且会影响素材提供方的利益,可能造成素材提供方对该应用程序的评价变差;3)触发展示素材时,当本地缓存库中仅一条素材时,行业内一般有两种策略,包括去询问服务端展示策略(业务逻辑可能不合理)和直接展示该素材(该素材变现效率可能低)。The present application finds that the exclusive promotion method in the prior art has the following problems: 1) In order to obtain sufficient bidding, the application program used to promote the material will request advertisements from multiple material providers (such as advertisement providers), and some material providers The provided creatives have a short expiry time, while some have a long expiry time, which may cause the previous ad to be unexpired and unexposed, but pre-requesting will reduce the ad provider's bid; 2) In order to increase the display rate, the application needs multiple times Pre-request for creative materials, but many users do not open the app on the same day, resulting in a waste of requests and affecting the interests of the material provider, which may cause the material provider's evaluation of the application to deteriorate; 3) When triggering the display of materials, when When there is only one material in the local cache library, there are generally two strategies in the industry, including asking the server for the display strategy (the business logic may be unreasonable) and directly displaying the material (the material realization efficiency may be low).

根据本申请的方案,当发生缓存素材请求触发事件时,可获取目标应用对应的本地缓存素材库中临近过期的第一缓存素材,并当目标应用满足预定的请求触发条件时获取所述本地缓存素材库中的未过期的至少一个第二缓存素材,并基于各个第二缓存素材的过期时间与当前时间之间的第二时间间隔,来向服务器或素材提供方发出缓存素材请求,从而降低过期时间较久的素材提供方的请求频率;并且,能够区分高、低打开概率对用户采用不同的频控,用户打开频率越高,请求素材的频率也就越高;此外,在只有一条素材时通过判断该素材是否是价值较低的内部兜底广告,可采用立即展示或重新请求的不同应对措施,达到提升素材提供方召回率和出价、降低请求频率、提升广告质量和曝光时长的技术目的。According to the solution of the present application, when a cached material request trigger event occurs, the first cached material that is about to expire in the local cached material library corresponding to the target application can be obtained, and the local cached material can be obtained when the target application satisfies a predetermined request trigger condition At least one unexpired second cached material in the material library, and based on the second time interval between the expiration time of each second cached material and the current time, a request for the cached material is sent to the server or the material provider, thereby reducing expiration. The request frequency of the material provider with a long time; moreover, it can distinguish between high and low opening probability and adopt different frequency control for users. The higher the user's opening frequency, the higher the frequency of requesting materials; By judging whether the material is an internal bottom-up advertisement with low value, different countermeasures of immediate display or re-request can be adopted to achieve the technical purpose of improving the recall rate and bid of the material provider, reducing the request frequency, and improving the quality and exposure time of the advertisement.

图4示出本申请一个示例的请求缓存素材的流程示意图,具体包括如下流程:首先,在应用程序中触发统计本地缓存素材中临近过期个数N(也即统计本地缓存素材中的第一缓存素材数量);判断N是否小于预设阈值M(即第一数量阈值),若是,结束流程;若否,判断是否满足请求频率F,若不满足,结束流程;若满足,应用程序向检索端(即应用程序对应的服务器端)发出缓存素材请求以请求缓存素材,该缓存素材请求中可带上未过期素材的dsp来源和过期时间;之后检索端接收该缓存素材请求,并计算各条未过期广告距离过期时间的时间间隔t1,t2,…,tn,若tx(x=1,2,…,n)大于预设阈值T,则不向对应dsp进行请求,结束流程,否则,向对应dsp进行请求。FIG. 4 shows a schematic flow chart of requesting cached materials in an example of the present application, which specifically includes the following process: First, trigger the application to count the number N of near-expired materials in the local cache (that is, count the first cache in the locally cached materials). material quantity); judge whether N is less than the preset threshold M (that is, the first quantity threshold), if so, end the process; if not, judge whether the request frequency F is satisfied, if not, end the process; (that is, the server side corresponding to the application) sends a cached material request to request the cached material. The cached material request can include the dsp source and expiration time of the unexpired material; then the retrieval end receives the cached material request, and calculates each unexpired material. The time interval t1, t2, ..., tn between the expired advertisement and the expiration time, if tx (x=1, 2, ..., n) is greater than the preset threshold T, no request is made to the corresponding dsp, and the process ends, otherwise, the corresponding dsp to make a request.

图5示出本申请一个示例的展示缓存素材的流程示意图,具体流程如下:首先,判断本地是否有未过期广告,若否,请求一条广告并展示(超时则不展示);若是,判断是否只有1个未过期广告,若否,请求服务端(超时则根据客户端规则展示广告);若是,判断该仅有的未过期广告是否不是价值较低的内部兜底光改,若是,直接展示该广告,否则,请求一条广告并展示(超时则展示兜底广告)。Figure 5 shows a schematic diagram of the process of displaying cached materials according to an example of the present application. The specific process is as follows: first, determine whether there is an unexpired advertisement locally, if not, request an advertisement and display it (no display if it times out); if so, determine whether there is only one advertisement 1 unexpired advertisement, if not, request the server (the advertisement will be displayed according to the client's rules if the timeout expires); if so, judge whether the only unexpired advertisement is not a low-value internal change, and if so, display the advertisement directly , otherwise, request an ad and display it (if the timeout expires, the backend ad will be displayed).

图6示出根据本申请一个实施例的一种请求缓存素材的用户设备结构图,该设备包括一一模块11、一二模块12和一三模块13。一一模块11,用于响应于针对目标应用的缓存素材请求触发事件,获取所述目标应用对应的本地缓存素材库中临近过期的一个或多个第一缓存素材,其中,所述一个或多个第一缓存素材中每个第一缓存素材的过期时间与当前时间之间的第一时间间隔小于或等于预定的第一时间间隔阈值;一二模块12,用于判断所述一个或多个第一缓存素材的数量是否大于或等于预定的第一数量阈值,若是,判断所述目标应用的缓存素材请求频率是否满足预定频率条件;一三模块13,用于若所述目标应用的缓存素材请求频率满足所述预定频率条件,向所述目标应用对应的素材提供方发出缓存素材请求。FIG. 6 shows a structural diagram of a user equipment for requesting cached material according to an embodiment of the present application. The equipment includes a first module 11 , a second module 12 and a third module 13 . A module 11, configured to, in response to a cached material request trigger event for the target application, acquire one or more first cached materials that are about to expire in the local cached material library corresponding to the target application, wherein the one or more first cached materials The first time interval between the expiration time of each of the first cached materials and the current time is less than or equal to the predetermined first time interval threshold; a second module 12 is used to determine the one or more Whether the quantity of the first cached material is greater than or equal to the predetermined first quantity threshold, and if so, determine whether the request frequency of the cached material of the target application satisfies the predetermined frequency condition; a third module 13 is used if the cached material of the target application If the request frequency satisfies the predetermined frequency condition, a cache material request is sent to the material provider corresponding to the target application.

一一模块11,用于响应于针对目标应用的缓存素材请求触发事件,获取所述目标应用对应的本地缓存素材库中临近过期的一个或多个第一缓存素材,其中,所述一个或多个第一缓存素材中每个第一缓存素材的过期时间与当前时间之间的第一时间间隔小于或等于预定的第一时间间隔阈值。在一些实施例中,缓存素材请求触发事件包括但不限于目标应用后台被拉活、目标应用收到推送消息等。在一些实施例中,响应于缓存素材请求触发事件,从目标应用对应的本地缓存素材库中获取临近过期的一个或多个第一缓存素材,其中,临近过期是指缓存素材的过期时间与当前时间之间的时间间隔小于或等于预定的时间间隔阈值(例如,30分钟)。A module 11, configured to, in response to a cached material request trigger event for the target application, acquire one or more first cached materials that are about to expire in the local cached material library corresponding to the target application, wherein the one or more first cached materials The first time interval between the expiration time of each of the first cached materials and the current time is less than or equal to the predetermined first time interval threshold. In some embodiments, the event triggering the cache material request includes, but is not limited to, the background of the target application being pulled active, the target application receiving a push message, and the like. In some embodiments, in response to a cached material request trigger event, one or more first cached materials that are about to expire are obtained from a local cached material library corresponding to the target application, where the near-expiration refers to the difference between the expiration time of the cached material and the current The time interval between times is less than or equal to a predetermined time interval threshold (eg, 30 minutes).

一二模块12,用于判断所述一个或多个第一缓存素材的数量是否大于或等于预定的第一数量阈值,若是,判断所述目标应用的缓存素材请求频率是否满足预定频率条件。在一些实施例中,若临近过期的第一缓存素材的数量大于或等于预定的第一数量阈值(例如,5个),则继续判断目标应用的缓存素材请求频率是否满足预定频率条件。在一些实施例中,判断目标应用的缓存素材请求频率是否满足预定频率条件的方式可以是判断目标应用在预定时间范围内(例如,最近一周、最近一个月)发出缓存素材请求的次数是否小于或等于预定次数阈值(例如,10次)。在一些实施例中,判断目标应用的缓存素材请求频率是否满足预定频率条件的方式还可以是判断当前时间距离上次缓存素材请求对应的请求时间的时间间隔是否大于或等于预定时间间隔阈值(例如,3天、一周)。The first two modules 12 are configured to judge whether the quantity of the one or more first cached materials is greater than or equal to a predetermined first quantity threshold, and if so, judge whether the request frequency of the cached materials of the target application satisfies the predetermined frequency condition. In some embodiments, if the number of the first cached materials that are about to expire is greater than or equal to a predetermined first number threshold (for example, 5), it is continued to determine whether the request frequency of the cached materials of the target application satisfies the predetermined frequency condition. In some embodiments, the way of judging whether the cached material request frequency of the target application satisfies the predetermined frequency condition may be to judge whether the number of times the target application sends cached material requests within a predetermined time range (for example, the last week, the last month) is less than or Equal to a predetermined number of thresholds (eg, 10). In some embodiments, the method of judging whether the request frequency of the cached material of the target application satisfies the predetermined frequency condition may also be to judge whether the time interval between the current time and the request time corresponding to the last request for the cached material is greater than or equal to a predetermined time interval threshold (for example, , 3 days, one week).

一三模块13,用于若所述目标应用的缓存素材请求频率满足所述预定频率条件,向所述目标应用对应的素材提供方发出缓存素材请求。作为本实施例的一种实现方式,目标应用判断每个未过期的第二缓存素材的过期时间与当前时间之间的时间间隔,只有在该时间间隔小于或等于预定的时间间隔阈值的条件下,才会直接向该第二缓存素材对应的素材提供方(例如,dsp需求方平台)发出缓存素材请求,或者,才会通过目标应用对应的服务器(例如,adx实时竞价交易平台)向该第二缓存素材对应的素材提供方发出缓存素材请求,并接收素材提供方基于该缓存素材请求返回的新缓存素材,并存储在本地缓存素材库中。作为本实施例的另一种实现方式,目标应用向目标应用对应的服务器(例如,adx实时竞价交易平台)发出缓存素材指示信息,该缓存素材指示信息中包括每个未过期的第二缓存素材分别对应的素材提供方标识信息和过期时间。在一些实施例中,素材提供方标识信息用于唯一标识该素材提供方(例如,dsp需求方平台),包括不限不限素材提供方的ID信息、名称信息、标签信息等。服务器接收目标应用发送的包括每个过期的第二缓存素材分别对应的素材提供方标识信息和过期时间在内的缓存素材指示信息,并判断每个未过期的第二缓存素材的过期时间与当前时间之间的时间间隔,只有在该时间间隔小于或等于预定的时间间隔阈值的条件下,才会向该第二缓存素材对应的素材提供方发出缓存素材请求,并接收素材提供方基于该缓存素材请求返回的新缓存素材,并将该新缓存素材返回至目标应用。A third module 13 is configured to send a cached material request to a material provider corresponding to the target application if the frequency of the cached material request of the target application satisfies the predetermined frequency condition. As an implementation manner of this embodiment, the target application determines the time interval between the expiration time of each unexpired second cache material and the current time, only if the time interval is less than or equal to the predetermined time interval threshold , the cached material request will be sent directly to the material provider corresponding to the second cached material (for example, the dsp demand-side platform), or will be sent to the second cached material through the server corresponding to the target application (for example, adx real-time bidding trading platform). The material provider corresponding to the second cache material sends a cache material request, and receives the new cache material returned by the material provider based on the cache material request, and stores it in the local cache material library. As another implementation of this embodiment, the target application sends cached material indication information to a server corresponding to the target application (for example, the adx real-time bidding trading platform), where the cached material indication information includes each unexpired second cached material The corresponding material provider identification information and expiration time respectively. In some embodiments, the material provider identification information is used to uniquely identify the material provider (eg, a dsp demander platform), including ID information, name information, label information, and the like of any material provider. The server receives the cached material indication information sent by the target application including the identification information of the material provider and the expiration time corresponding to each expired second cached material, and judges the expiration time of each unexpired second cached material and the current The time interval between times, only if the time interval is less than or equal to the predetermined time interval threshold, will a cached material request be sent to the material provider corresponding to the second cached material, and the receiving material provider will be based on the cached material. The new cached material returned by the material request, and the new cached material is returned to the target application.

在一些实施例中,所述一三模块13用于:若所述目标应用的缓存素材请求频率满足所述预定频率条件,且所述目标应用满足预定的请求触发条件,向所述目标应用对应的素材提供方发出缓存素材请求。在此,相关操作与图1所示实施例相同或相近,故不再赘述,在此以引用方式包含于此。In some embodiments, the one-three modules 13 are configured to: if the cache material request frequency of the target application satisfies the predetermined frequency condition, and the target application satisfies the predetermined request triggering condition, corresponding to the target application The material provider of , issues a cache material request. Here, the related operations are the same as or similar to the embodiment shown in FIG. 1 , so they are not repeated here, but are incorporated herein by reference.

在一些实施例中,所述请求触发条件包括:所述本地缓存素材库中存在由所述素材提供方提供的一个或多个第二缓存素材,其中所述一个或多个第二缓存素材的剩余有效期时长小于或等于第一有效期阈值信息;其中,所述向所述素材提供方发出缓存素材请求,包括:对于所述一个或多个第二缓存素材中的每个第二缓存素材,向该第二缓存素材对应的素材提供方发出缓存素材请求。在此,相关操作与图1所示实施例相同或相近,故不再赘述,在此以引用方式包含于此。In some embodiments, the request triggering condition includes: one or more second cached materials provided by the material provider exist in the local cached material library, wherein the one or more second cached materials have The remaining validity period is less than or equal to the first validity period threshold information; wherein the sending a cache material request to the material provider includes: for each second cache material in the one or more second cache materials, sending the request to the material provider. The material provider corresponding to the second cached material sends a cached material request. Here, the related operations are the same as or similar to the embodiment shown in FIG. 1 , so they are not repeated here, but are incorporated herein by reference.

在一些实施例中,所述本地缓存素材库用于存储独占式缓存素材,所述独占式缓存素材包括开屏缓存素材和/或插屏缓存素材。在此,相关操作与图1所示实施例相同或相近,故不再赘述,在此以引用方式包含于此。In some embodiments, the local cache material library is used to store exclusive cache materials, and the exclusive cache materials include screen-opening cache materials and/or interstitial cache materials. Here, the related operations are the same as or similar to the embodiment shown in FIG. 1 , so they are not repeated here, but are incorporated herein by reference.

在一些实施例中,其中,所述第一数量阈值是根据所述目标应用对应的服务器对应的素材提供方的数量确定的。在此,相关操作与图1所示实施例相同或相近,故不再赘述,在此以引用方式包含于此。In some embodiments, the first quantity threshold is determined according to the quantity of material providers corresponding to the server corresponding to the target application. Here, the related operations are the same as or similar to the embodiment shown in FIG. 1 , so they are not repeated here, but are incorporated herein by reference.

在一些实施例中,所述第一数量阈值是根据所述目标应用对应的素材提供方的数量,并基于以下公式确定的:Num=N0+NDSP*(k1-1/NDSP),其中,Num表示所述第一数量阈值,NDSP表示所述目标应用对应的素材提供方的数量,k1为第一调整系数,N0表示所述第一数量阈值的默认值(例如,5)。在此,相关操作与图1所示实施例相同或相近,故不再赘述,在此以引用方式包含于此。In some embodiments, the first number threshold is determined according to the number of material providers corresponding to the target application and based on the following formula: Num=N0+NDSP*(k1-1/NDSP), where Num represents the first number threshold, NDSP represents the number of material providers corresponding to the target application, k1 is the first adjustment coefficient, and N 0 represents the default value (for example, 5) of the first number threshold. Here, the related operations are the same as or similar to the embodiment shown in FIG. 1 , so they are not repeated here, but are incorporated herein by reference.

在一些实施例中,所述判断所述目标应用的缓存素材请求频率是否满足预定频率条件,包括:判断在预定时间范围内所述目标应用发出缓存素材请求的次数是否小于或等于预定次数阈值,若是,确定所述目标应用的缓存素材请求频率满足预定频率条件。在此,相关操作与图1所示实施例相同或相近,故不再赘述,在此以引用方式包含于此。In some embodiments, the judging whether the cache material request frequency of the target application satisfies a predetermined frequency condition includes: judging whether the number of times the target application sends the cache material request within a predetermined time range is less than or equal to a predetermined times threshold, If so, it is determined that the request frequency of the cached material of the target application satisfies the predetermined frequency condition. Here, the related operations are the same as or similar to the embodiment shown in FIG. 1 , so they are not repeated here, but are incorporated herein by reference.

在一些实施例中,所述判断所述目标应用的缓存素材请求频率是否满足预定频率条件,包括:判断当前时间距离上次缓存素材请求对应的请求时间的第三时间间隔是否大于或等于预定的第三时间间隔阈值,若是,确定所述目标应用的缓存素材请求频率满足预定频率条件。在此,相关操作与图1所示实施例相同或相近,故不再赘述,在此以引用方式包含于此。In some embodiments, the judging whether the cached material request frequency of the target application satisfies a predetermined frequency condition includes: judging whether a third time interval between the current time and the request time corresponding to the last cached material request is greater than or equal to a predetermined frequency The third time interval threshold, if yes, determines that the request frequency of the cached material of the target application satisfies the predetermined frequency condition. Here, the related operations are the same as or similar to the embodiment shown in FIG. 1 , so they are not repeated here, but are incorporated herein by reference.

在一些实施例中,所述上次缓存素材请求成功返回了新的缓存素材。在此,相关操作与图1所示实施例相同或相近,故不再赘述,在此以引用方式包含于此。In some embodiments, the last cached material request successfully returned new cached material. Here, the related operations are the same as or similar to the embodiment shown in FIG. 1 , so they are not repeated here, but are incorporated herein by reference.

在一些实施例中,所述第三时间间隔阈值是基于用户打开频率来确定的。在此,相关操作与图1所示实施例相同或相近,故不再赘述,在此以引用方式包含于此。In some embodiments, the third time interval threshold is determined based on user turn-on frequency. Here, the related operations are the same as or similar to the embodiment shown in FIG. 1 , so they are not repeated here, but are incorporated herein by reference.

在一些实施例中,所述方法还包括:基于以下公式计算所述第三时间间隔阈值:T=(1+k2/N0)*T0,其中,T表示所述第三时间间隔阈值,T0表示最近两次缓存素材请求之间的实际时间间隔,k2表示第二调节系数,N0表示用户打开频率。在一些实施例中,k2小于或等于N0。在此,相关操作与图1所示实施例相同或相近,故不再赘述,在此以引用方式包含于此。In some embodiments, the method further includes: calculating the third time interval threshold based on the following formula: T=(1+k2/N 0 )*T0, where T represents the third time interval threshold, and T0 Indicates the actual time interval between the last two cached material requests, k2 represents the second adjustment coefficient, and N 0 represents the user's opening frequency. In some embodiments, k2 is less than or equal to N0. Here, the related operations are the same as or similar to the embodiment shown in FIG. 1 , so they are not repeated here, but are incorporated herein by reference.

在一些实施例中,所述一三模块13用于:若所述目标应用的缓存素材请求频率满足所述预定频率条件,向所述目标应用对应的服务器发送缓存素材指示信息,其中,所述缓存素材指示信息包括所述本地缓存素材库中未过期的一个或多个第三缓存素材对应的素材提供方标识信息和过期时间,所述一个或多个第三缓存素材中每个第三缓存素材的过期时间与当前时间之间的时间间隔小于或等于预定的第三时间间隔阈值。在此,相关操作与图1所示实施例相同或相近,故不再赘述,在此以引用方式包含于此。In some embodiments, the one-three modules 13 are configured to: if the request frequency of the cached material of the target application satisfies the predetermined frequency condition, send the cached material indication information to the server corresponding to the target application, wherein the The cached material indication information includes material provider identification information and expiration time corresponding to one or more unexpired third cached materials in the local cached material library, and each third cached material in the one or more third cached materials The time interval between the expiration time of the material and the current time is less than or equal to the predetermined third time interval threshold. Here, the related operations are the same as or similar to the embodiment shown in FIG. 1 , so they are not repeated here, but are incorporated herein by reference.

在一些实施例中,所述设备还用于:响应于针对所述目标应用的素材展示触发事件,检测所述本地缓存素材库中是否存在未过期的第四缓存素材;若存在,检测是否仅存在一个第四缓存素材;若仅存在一个第四缓存素材,判断所述仅存在的第四缓存素材是否为兜底素材,若否,展示所述仅存在的第四缓存素材。在此,相关操作与图1所示实施例相同或相近,故不再赘述,在此以引用方式包含于此。In some embodiments, the device is further configured to: in response to a material display trigger event for the target application, detect whether there is an unexpired fourth cached material in the local cached material library; There is one fourth cached material; if there is only one fourth cached material, it is determined whether the only existing fourth cached material is a bottom-up material, and if not, the only existing fourth cached material is displayed. Here, the related operations are the same as or similar to the embodiment shown in FIG. 1 , so they are not repeated here, but are incorporated herein by reference.

在一些实施例中,所述设备还用于:若所述本地缓存素材库中不存在未过期的第四缓存素材,向所述目标应用对应的服务器发出第一展示素材请求;获得所述服务器基于所述第一展示素材请求返回的第一目标素材,并展示所述第一目标素材。在此,相关操作与图1所示实施例相同或相近,故不再赘述,在此以引用方式包含于此。In some embodiments, the device is further configured to: if there is no unexpired fourth cached material in the local cached material library, send a first display material request to a server corresponding to the target application; obtain the server The first target material returned based on the first display material request is displayed, and the first target material is displayed. Here, the related operations are the same as or similar to the embodiment shown in FIG. 1 , so they are not repeated here, but are incorporated herein by reference.

在一些实施例中,所述设备还用于:若存在未过期的多个第四缓存素材,向所述目标应用对应的服务器发出素材展示规则请求;接收所述服务器基于所述素材展示规则请求返回的素材展示规则,并根据所述素材展示规则从所述多个第四缓存素材中选择第二目标素材,并展示所述第二目标素材。在此,相关操作与图1所示实施例相同或相近,故不再赘述,在此以引用方式包含于此。In some embodiments, the device is further configured to: if there are multiple unexpired fourth cached materials, send a material display rule request to a server corresponding to the target application; receive a request from the server based on the material display rule According to the returned material display rule, a second target material is selected from the plurality of fourth cache materials according to the material display rule, and the second target material is displayed. Here, the related operations are the same as or similar to the embodiment shown in FIG. 1 , so they are not repeated here, but are incorporated herein by reference.

在一些实施例中,所述设备还用于:若超时未获得所述服务器返回的素材展示规则,获取本地素材展示规则;根据所述本地素材展示规则从所述多个第四缓存素材中选择第三目标素材,并展示所述第三目标素材。在此,相关操作与图1所示实施例相同或相近,故不再赘述,在此以引用方式包含于此。In some embodiments, the device is further configured to: if the material display rule returned by the server is not obtained over time, obtain a local material display rule; and select from the plurality of fourth cached materials according to the local material display rule The third target material is displayed, and the third target material is displayed. Here, the related operations are the same as or similar to the embodiment shown in FIG. 1 , so they are not repeated here, but are incorporated herein by reference.

在一些实施例中,所述设备还用于:若所述仅存在一个的第四缓存素材为兜底素材,向所述目标应用对应的服务器发出第二展示素材请求;获得所述服务器基于所述第二展示素材请求返回的第四目标素材,并展示所述第四目标素材。在此,相关操作与图1所示实施例相同或相近,故不再赘述,在此以引用方式包含于此。In some embodiments, the device is further configured to: if the only one fourth cached material is a bottom material, send a second display material request to a server corresponding to the target application; obtain the server based on the The second display material request returns the fourth target material, and displays the fourth target material. Here, the related operations are the same as or similar to the embodiment shown in FIG. 1 , so they are not repeated here, but are incorporated herein by reference.

在一些实施例中,所述设备还用于:若超时未获得所述服务器返回的第四目标素材,展示所述兜底素材。在此,相关操作与图1所示实施例相同或相近,故不再赘述,在此以引用方式包含于此。In some embodiments, the device is further configured to: display the bottom-line material if the fourth target material returned by the server is not obtained within a timeout period. Here, the related operations are the same as or similar to the embodiment shown in FIG. 1 , so they are not repeated here, but are incorporated herein by reference.

图7示出根据本申请一个实施例的一种请求缓存素材的服务器结构图,该服务器包括二一模块21和二二模块22。二一模块21,用于接收目标应用发送的缓存素材指示信息,其中,所述缓存素材指示信息包括所述目标应用对应的本地缓存素材库中未过期的一个或多个第三缓存素材对应的素材提供方标识信息和过期时间,所述一个或多个第三缓存素材中每个第三缓存素材的过期时间与当前时间之间的时间间隔小于或等于预定的第三时间间隔阈值;二二模块22,用于根据所述缓存素材指示信息,判断所述目标应用是否满足预定的请求触发条件,若满足,向所述目标应用对应的素材提供方发出缓存素材请求。FIG. 7 shows a structural diagram of a server for requesting cached materials according to an embodiment of the present application. The server includes a two-one module 21 and a two-two module 22 . The second module 21 is configured to receive cached material indication information sent by the target application, wherein the cached material indication information includes one or more unexpired third cached materials in the local cached material library corresponding to the target application. Material provider identification information and expiration time, the time interval between the expiration time of each third cached material in the one or more third cached materials and the current time is less than or equal to a predetermined third time interval threshold; 22 Module 22, configured to determine whether the target application satisfies a predetermined request triggering condition according to the cached material indication information, and if so, send a cached material request to a material provider corresponding to the target application.

二一模块21,用于接收目标应用发送的缓存素材指示信息,其中,所述缓存素材指示信息包括所述目标应用对应的本地缓存素材库中未过期的一个或多个第三缓存素材对应的素材提供方标识信息和过期时间,所述一个或多个第三缓存素材中每个第三缓存素材的过期时间与当前时间之间的时间间隔小于或等于预定的第三时间间隔阈值。在一些实施例中,素材提供方标识信息用于唯一标识该素材提供方(例如,dsp需求方平台),包括不限不限素材提供方的ID信息、名称信息、标签信息等。The two-one module 21 is configured to receive cached material indication information sent by the target application, wherein the cached material indication information includes one or more unexpired third cached materials in the local cached material library corresponding to the target application. Material provider identification information and expiration time, the time interval between the expiration time of each third cached material in the one or more third cached materials and the current time is less than or equal to a predetermined third time interval threshold. In some embodiments, the material provider identification information is used to uniquely identify the material provider (eg, a dsp demander platform), including ID information, name information, label information, and the like of any material provider.

二二模块22,用于根据所述缓存素材指示信息,判断所述目标应用是否满足预定的请求触发条件,若满足,向所述目标应用对应的素材提供方发出缓存素材请求。在一些实施例中,预定请求触发条件可以是本地缓存素材库中存在由某个素材提供方提供的一个或多个第二缓存素材中至少包含一个剩余有效期时长小于或等于第一有效期阈值信息的第二缓存素材,则直接或通过目标应用对应的服务器向该素材提供方发出缓存素材请求,剩余有效时长是指某个尚未过期的缓存素材的过期时间与当前时间的时间间隔所对应的时长。在一些实施例中,预定请求触发条件还可以是本地缓存素材库中存在由某个素材提供方提供的一个或多个第二缓存素材中的每个第二缓存素材的剩余有效期时长均小于或等于第二有效期阈值信息,则直接或通过目标应用对应的服务器向该素材提供方发出缓存素材请求。在一些实施例中,预定请求触发条件还可以是本地缓存素材库中由某个素材提供方提供的剩余有效期时长小于或等于第三有效期阈值信息的第二缓存素材的数量信息小于或等于第二数量阈值,则直接或通过目标应用对应的服务器向该素材提供方发出缓存素材请求。The second module 22 is configured to determine whether the target application satisfies a predetermined request triggering condition according to the cached material indication information, and if so, send a cached material request to a material provider corresponding to the target application. In some embodiments, the triggering condition for the predetermined request may be that one or more second cached materials provided by a certain material provider exist in the local cached material library, and at least one remaining validity period is less than or equal to the first validity period threshold information. For the second cached material, a cached material request is sent to the material provider directly or through the server corresponding to the target application, and the remaining valid duration refers to the duration corresponding to the time interval between the expiration time of an unexpired cached material and the current time. In some embodiments, the predetermined request triggering condition may also be that the remaining validity period of each of the one or more second cached materials provided by a certain material provider in the local cached material library is less than or equal to If the information is equal to the second validity period threshold information, a cache material request is sent to the material provider directly or through a server corresponding to the target application. In some embodiments, the predetermined request triggering condition may also be that the quantity information of the second cached materials whose remaining validity period provided by a certain material provider in the local cache material library is less than or equal to the third validity period threshold information is less than or equal to the second cache material If the quantity threshold is exceeded, a cache material request is sent to the material provider directly or through the server corresponding to the target application.

在一些实施例中,所述请求触发条件包括:所述一个或多个第三缓存素材中存在由所述素材提供方提供的一个或多个第二缓存素材,其中所述一个或多个第二缓存素材的剩余有效期时长小于或等于第一有效期阈值信息;其中,所述向所述素材提供方发出缓存素材请求,包括:对于所述一个或多个第二缓存素材中的每个第二缓存素材,向该第二缓存素材对应的素材提供方发出缓存素材请求。在此,相关操作与图1所示实施例相同或相近,故不再赘述,在此以引用方式包含于此。In some embodiments, the request triggering condition includes: one or more second cached materials provided by the material provider exist in the one or more third cached materials, wherein the one or more third cached materials exist 2. The remaining validity period of the cached material is less than or equal to the first validity period threshold information; wherein the sending a cache material request to the material provider includes: for each second cache material of the one or more second cache materials Cache the material, and send a cache material request to the material provider corresponding to the second cache material. Here, the related operations are the same as or similar to the embodiment shown in FIG. 1 , so they are not repeated here, but are incorporated herein by reference.

图8示出了可被用于实施本申请中所述的各个实施例的示例性系统。8 illustrates an exemplary system that may be used to implement various embodiments described in this application.

如图8所示在一些实施例中,系统300能够作为各所述实施例中的任意一个设备。在一些实施例中,系统300可包括具有指令的一个或多个计算机可读介质(例如,系统存储器或NVM/存储设备320)以及与该一个或多个计算机可读介质耦合并被配置为执行指令以实现模块从而执行本申请中所述的动作的一个或多个处理器(例如,(一个或多个)处理器305)。As shown in FIG. 8, in some embodiments, the system 300 can function as any of the devices in each of the described embodiments. In some embodiments, system 300 may include one or more computer-readable media (eg, system memory or NVM/storage device 320 ) having instructions and be coupled to the one or more computer-readable media and configured to execute Instructions to implement a module to perform one or more processors (eg, processor(s) 305 ) to perform the actions described herein.

对于一个实施例,系统控制模块310可包括任意适当的接口控制器,以向(一个或多个)处理器305中的至少一个和/或与系统控制模块310通信的任意适当的设备或组件提供任意适当的接口。For one embodiment, the system control module 310 may include any suitable interface controller to provide at least one of the processor(s) 305 and/or any suitable device or component in communication with the system control module 310 any appropriate interface.

系统控制模块310可包括存储器控制器模块330,以向系统存储器315提供接口。存储器控制器模块330可以是硬件模块、软件模块和/或固件模块。The system control module 310 may include a memory controller module 330 to provide an interface to the system memory 315 . The memory controller module 330 may be a hardware module, a software module, and/or a firmware module.

系统存储器315可被用于例如为系统300加载和存储数据和/或指令。对于一个实施例,系统存储器315可包括任意适当的易失性存储器,例如,适当的DRAM。在一些实施例中,系统存储器315可包括双倍数据速率类型四同步动态随机存取存储器(DDR4SDRAM)。System memory 315 may be used, for example, to load and store data and/or instructions for system 300 . For one embodiment, system memory 315 may include any suitable volatile memory, eg, suitable DRAM. In some embodiments, system memory 315 may include double data rate type quad synchronous dynamic random access memory (DDR4 SDRAM).

对于一个实施例,系统控制模块310可包括一个或多个输入/输出(I/O)控制器,以向NVM/存储设备320及(一个或多个)通信接口325提供接口。For one embodiment, system control module 310 may include one or more input/output (I/O) controllers to provide interfaces to NVM/storage device 320 and communication interface(s) 325 .

例如,NVM/存储设备320可被用于存储数据和/或指令。NVM/存储设备320可包括任意适当的非易失性存储器(例如,闪存)和/或可包括任意适当的(一个或多个)非易失性存储设备(例如,一个或多个硬盘驱动器(HDD)、一个或多个光盘(CD)驱动器和/或一个或多个数字通用光盘(DVD)驱动器)。For example, NVM/storage device 320 may be used to store data and/or instructions. NVM/storage device 320 may include any suitable non-volatile memory (eg, flash memory) and/or may include any suitable non-volatile storage device(s) (eg, one or more hard drives ( HDD), one or more compact disc (CD) drives and/or one or more digital versatile disc (DVD) drives).

NVM/存储设备320可包括在物理上作为系统300被安装在其上的设备的一部分的存储资源,或者其可被该设备访问而不必作为该设备的一部分。例如,NVM/存储设备320可通过网络经由(一个或多个)通信接口325进行访问。NVM/storage device 320 may include storage resources that are physically part of the device on which system 300 is installed, or it may be accessed by the device without necessarily being part of the device. For example, the NVM/storage device 320 is accessible via the communication interface(s) 325 over a network.

(一个或多个)通信接口325可为系统300提供接口以通过一个或多个网络和/或与任意其他适当的设备通信。系统300可根据一个或多个无线网络标准和/或协议中的任意标准和/或协议来与无线网络的一个或多个组件进行无线通信。Communication interface(s) 325 may provide an interface for system 300 to communicate over one or more networks and/or with any other suitable device. System 300 may wirelessly communicate with one or more components of a wireless network in accordance with any of one or more wireless network standards and/or protocols.

对于一个实施例,(一个或多个)处理器305中的至少一个可与系统控制模块310的一个或多个控制器(例你如,存储器控制器模块330)的逻辑封装在一起。对于一个实施例,(一个或多个)处理器305中的至少一个可与系统控制模块310的一个或多个控制器的逻辑封装在一起以形成系统级封装(SiP)。对于一个实施例,(一个或多个)处理器305中的至少一个可与系统控制模块310的一个或多个控制器的逻辑集成在同一模具上。对于一个实施例,(一个或多个)处理器305中的至少一个可与系统控制模块310的一个或多个控制器的逻辑集成在同一模具上以形成片上系统(SoC)。For one embodiment, at least one of the processor(s) 305 may be packaged with the logic of one or more controllers of the system control module 310 (eg, memory controller module 330). For one embodiment, at least one of the processor(s) 305 may be packaged with logic of one or more controllers of the system control module 310 to form a system-in-package (SiP). For one embodiment, at least one of the processor(s) 305 may be integrated on the same die with the logic of one or more controllers of the system control module 310 . For one embodiment, at least one of the processor(s) 305 may be integrated on the same die with logic of one or more controllers of the system control module 310 to form a system on a chip (SoC).

在各个实施例中,系统300可以但不限于是:服务器、工作站、台式计算设备或移动计算设备(例如,膝上型计算设备、持有计算设备、平板电脑、上网本等)。在各个实施例中,系统300可具有更多或更少的组件和/或不同的架构。例如,在一些实施例中,系统300包括一个或多个摄像机、键盘、液晶显示器(LCD)屏幕(包括触屏显示器)、非易失性存储器端口、多个天线、图形芯片、专用集成电路(ASIC)和扬声器。In various embodiments, system 300 may be, but is not limited to, a server, workstation, desktop computing device, or mobile computing device (eg, laptop computing device, handheld computing device, tablet computer, netbook, etc.). In various embodiments, system 300 may have more or fewer components and/or different architectures. For example, in some embodiments, system 300 includes one or more cameras, keyboards, liquid crystal display (LCD) screens (including touchscreen displays), non-volatile memory ports, multiple antennas, graphics chips, application specific integrated circuits ( ASIC) and speakers.

本申请还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机代码,当所述计算机代码被执行时,如前任一项所述的方法被执行。The present application also provides a computer-readable storage medium, where the computer-readable storage medium stores computer code, and when the computer code is executed, the method described in any preceding item is executed.

本申请还提供了一种计算机程序产品,当所述计算机程序产品被计算机设备执行时,如前任一项所述的方法被执行。The present application also provides a computer program product, when the computer program product is executed by a computer device, the method according to any one of the preceding items is executed.

本申请还提供了一种计算机设备,所述计算机设备包括:The present application also provides a computer device, the computer device comprising:

一个或多个处理器;one or more processors;

存储器,用于存储一个或多个计算机程序;memory for storing one or more computer programs;

当所述一个或多个计算机程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如前任一项所述的方法。The one or more computer programs, when executed by the one or more processors, cause the one or more processors to implement the method of any preceding item.

需要注意的是,本申请可在软件和/或软件与硬件的组合体中被实施,例如,可采用专用集成电路(ASIC)、通用目的计算机或任何其他类似硬件设备来实现。在一个实施例中,本申请的软件程序可以通过处理器执行以实现上文所述步骤或功能。同样地,本申请的软件程序(包括相关的数据结构)可以被存储到计算机可读记录介质中,例如,RAM存储器,磁或光驱动器或软磁盘及类似设备。另外,本申请的一些步骤或功能可采用硬件来实现,例如,作为与处理器配合从而执行各个步骤或功能的电路。It should be noted that the present application may be implemented in software and/or a combination of software and hardware, eg, an application specific integrated circuit (ASIC), a general purpose computer, or any other similar hardware device. In one embodiment, the software program of the present application may be executed by a processor to implement the steps or functions described above. Likewise, the software programs of the present application (including associated data structures) may be stored on a computer-readable recording medium, such as RAM memory, magnetic or optical drives or floppy disks, and the like. In addition, some steps or functions of the present application may be implemented in hardware, for example, as a circuit that cooperates with a processor to perform various steps or functions.

另外,本申请的一部分可被应用为计算机程序产品,例如计算机程序指令,当其被计算机执行时,通过该计算机的操作,可以调用或提供根据本申请的方法和/或技术方案。本领域技术人员应能理解,计算机程序指令在计算机可读介质中的存在形式包括但不限于源文件、可执行文件、安装包文件等,相应地,计算机程序指令被计算机执行的方式包括但不限于:该计算机直接执行该指令,或者该计算机编译该指令后再执行对应的编译后程序,或者该计算机读取并执行该指令,或者该计算机读取并安装该指令后再执行对应的安装后程序。在此,计算机可读介质可以是可供计算机访问的任意可用的计算机可读存储介质或通信介质。In addition, a part of the present application can be applied as a computer program product, such as computer program instructions, which when executed by a computer, through the operation of the computer, can invoke or provide methods and/or technical solutions according to the present application. Those skilled in the art should understand that the existing forms of computer program instructions in computer-readable media include but are not limited to source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include but are not limited to Limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding post-installation program. program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium that can be accessed by a computer.

通信介质包括藉此包含例如计算机可读指令、数据结构、程序模块或其他数据的通信信号被从一个系统传送到另一系统的介质。通信介质可包括有导的传输介质(诸如电缆和线(例如,光纤、同轴等))和能传播能量波的无线(未有导的传输)介质,诸如声音、电磁、RF、微波和红外。计算机可读指令、数据结构、程序模块或其他数据可被体现为例如无线介质(诸如载波或诸如被体现为扩展频谱技术的一部分的类似机制)中的已调制数据信号。术语“已调制数据信号”指的是其一个或多个特征以在信号中编码信息的方式被更改或设定的信号。调制可以是模拟的、数字的或混合调制技术。Communication media includes media by which communication signals containing, for example, computer readable instructions, data structures, program modules or other data are transmitted from one system to another. Communication media may include conducted transmission media such as cables and wires (eg, fiber optic, coaxial, etc.) and wireless (unconducted transmission) media capable of propagating energy waves, such as acoustic, electromagnetic, RF, microwave, and infrared . Computer readable instructions, data structures, program modules or other data may be embodied, for example, as a modulated data signal in a wireless medium such as a carrier wave or similar mechanism such as embodied as part of spread spectrum technology. The term "modulated data signal" refers to a signal whose one or more characteristics are altered or set in a manner that encodes information in the signal. Modulation can be analog, digital or hybrid modulation techniques.

作为示例而非限制,计算机可读存储介质可包括以用于存储诸如计算机可读指令、数据结构、程序模块或其它数据的信息的任何方法或技术实现的易失性和非易失性、可移动和不可移动的介质。例如,计算机可读存储介质包括,但不限于,易失性存储器,诸如随机存储器(RAM,DRAM,SRAM);以及非易失性存储器,诸如闪存、各种只读存储器(ROM,PROM,EPROM,EEPROM)、磁性和铁磁/铁电存储器(MRAM,FeRAM);以及磁性和光学存储设备(硬盘、磁带、CD、DVD);或其它现在已知的介质或今后开发的能够存储供计算机系统使用的计算机可读信息/数据。By way of example and not limitation, computer-readable storage media may include volatile and non-volatile, readable storage media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data. Removable and non-removable media. For example, computer-readable storage media include, but are not limited to, volatile memory, such as random access memory (RAM, DRAM, SRAM); and non-volatile memory, such as flash memory, various read-only memories (ROM, PROM, EPROM) , EEPROM), magnetic and ferromagnetic/ferroelectric memory (MRAM, FeRAM); and magnetic and optical storage devices (hard disks, tapes, CDs, DVDs); or other media now known or later developed capable of storing data for computer systems Computer readable information/data used.

在此,根据本申请的一个实施例包括一个装置,该装置包括用于存储计算机程序指令的存储器和用于执行程序指令的处理器,其中,当该计算机程序指令被该处理器执行时,触发该装置运行基于前述根据本申请的多个实施例的方法和/或技术方案。Here, an embodiment according to the present application includes an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein, when the computer program instructions are executed by the processor, a trigger is The apparatus operates based on the aforementioned methods and/or technical solutions according to various embodiments of the present application.

对于本领域技术人员而言,显然本申请不限于上述示范性实施例的细节,而且在不背离本申请的精神或基本特征的情况下,能够以其他的具体形式实现本申请。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本申请的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本申请内。不应将权利要求中的任何附图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。装置权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第一,第二等词语用来表示名称,而并不表示任何特定的顺序。It will be apparent to those skilled in the art that the present application is not limited to the details of the above-described exemplary embodiments, but that the present application can be implemented in other specific forms without departing from the spirit or essential characteristics of the present application. Accordingly, the embodiments are to be regarded in all respects as illustrative and not restrictive, and the scope of the application is to be defined by the appended claims rather than the foregoing description, which is therefore intended to fall within the scope of the claims. All changes within the meaning and scope of the equivalents of , are included in this application. Any reference signs in the claims shall not be construed as limiting the involved claim. Furthermore, it is clear that the word "comprising" does not exclude other units or steps and the singular does not exclude the plural. Several units or means recited in the device claims can also be realized by one unit or means by means of software or hardware. The terms first, second, etc. are used to denote names and do not denote any particular order.

Claims (23)

1.一种请求缓存素材的方法,应用于用户设备端,其中,所述方法包括:1. A method for requesting cached material, applied to a user equipment side, wherein the method comprises: 响应于针对目标应用的缓存素材请求触发事件,获取所述目标应用对应的本地缓存素材库中临近过期的一个或多个第一缓存素材,其中,所述一个或多个第一缓存素材中每个第一缓存素材的过期时间与当前时间之间的时间间隔小于或等于预定的第一时间间隔阈值;In response to a cached material request trigger event for the target application, acquire one or more first cached materials that are about to expire in the local cached material library corresponding to the target application, wherein each of the one or more first cached materials is The time interval between the expiration time of the first cached material and the current time is less than or equal to the predetermined first time interval threshold; 判断所述一个或多个第一缓存素材的数量是否大于或等于预定的第一数量阈值;若是,判断所述目标应用的缓存素材请求频率是否满足预定频率条件;Determine whether the number of the one or more first cached materials is greater than or equal to a predetermined first number threshold; if so, determine whether the request frequency of the cached materials of the target application satisfies the predetermined frequency condition; 若所述目标应用的缓存素材请求频率满足所述预定频率条件,向所述目标应用对应的素材提供方发出缓存素材请求。If the cached material request frequency of the target application satisfies the predetermined frequency condition, send a cached material request to a material provider corresponding to the target application. 2.根据权利要求1所述的方法,其中,所述若所述目标应用的缓存素材请求频率满足所述预定频率条件,向所述目标应用对应的素材提供方发出缓存素材请求,包括:2. The method according to claim 1, wherein, if the request frequency of the cached material of the target application satisfies the predetermined frequency condition, sending a request for the cached material to a material provider corresponding to the target application, comprising: 若所述目标应用的缓存素材请求频率满足所述预定频率条件,且所述目标应用满足预定的请求触发条件,向所述目标应用对应的素材提供方发出缓存素材请求。If the request frequency of the cached material of the target application satisfies the predetermined frequency condition, and the target application satisfies the predetermined request trigger condition, a request for cached material is sent to the material provider corresponding to the target application. 3.根据权利要求2所述的方法,其中,所述请求触发条件包括:3. The method of claim 2, wherein the request triggering condition comprises: 所述本地缓存素材库中存在由所述素材提供方提供的一个或多个第二缓存素材,其中所述一个或多个第二缓存素材的剩余有效期时长小于或等于第一有效期阈值信息;There are one or more second cache materials provided by the material provider in the local cache material library, wherein the remaining validity period of the one or more second cache materials is less than or equal to the first validity period threshold information; 其中,所述向所述素材提供方发出缓存素材请求,包括:Wherein, the sending a cache material request to the material provider includes: 对于所述一个或多个第二缓存素材中的每个第二缓存素材,向该第二缓存素材对应的素材提供方发出缓存素材请求。For each second cache material in the one or more second cache materials, a cache material request is sent to a material provider corresponding to the second cache material. 4.根据权利要求1所述的方法,其中,所述本地缓存素材库用于存储独占式缓存素材,所述独占式缓存素材包括开屏缓存素材和/或插屏缓存素材。4 . The method according to claim 1 , wherein the local cache material library is used to store exclusive cache materials, and the exclusive cache materials include screen-opening cache materials and/or interstitial cache materials. 5 . 5.根据权利1所述的方法,其中,所述第一数量阈值是根据所述目标应用对应的素材提供方的数量确定的。5. The method according to claim 1, wherein the first quantity threshold is determined according to the quantity of material providers corresponding to the target application. 6.根据权利5所述的方法,其中,所述第一数量阈值是根据所述目标应用对应的素材提供方的数量,并基于以下公式确定的:6. The method according to claim 5, wherein the first quantity threshold is determined according to the quantity of material providers corresponding to the target application and based on the following formula: Num=N0+NDSP*(k1-1/NDSP)Num=N 0 +N DSP *(k1-1/N DSP ) 其中,Num表示所述第一数量阈值,NDSP表示所述目标应用对应的素材提供方的数量,k1为第一调整系数,N0表示所述第一数量阈值的默认值。Wherein, Num represents the first number threshold, N DSP represents the number of material providers corresponding to the target application, k1 is a first adjustment coefficient, and N 0 represents the default value of the first number threshold. 7.根据权利要求1所述的方法,其中,所述判断所述目标应用的缓存素材请求频率是否满足预定频率条件,包括:7. The method according to claim 1, wherein the judging whether the request frequency of the cached material of the target application satisfies a predetermined frequency condition comprises: 判断在预定时间范围内所述目标应用发出缓存素材请求的次数是否小于或等于预定次数阈值,若是,确定所述目标应用的缓存素材请求频率满足预定频率条件。It is judged whether the number of times the target application sends cached material requests within a predetermined time range is less than or equal to a predetermined number of times threshold, and if so, it is determined that the frequency of cached material requests of the target application satisfies the predetermined frequency condition. 8.根据权利要求1所述的方法,其中,所述判断所述目标应用的缓存素材请求频率是否满足预定频率条件,包括:8. The method according to claim 1, wherein the judging whether the request frequency of the cached material of the target application satisfies a predetermined frequency condition comprises: 判断当前时间距离上次缓存素材请求对应的请求时间的时间间隔是否大于或等于预定的第二时间间隔阈值,若是,确定所述目标应用的缓存素材请求频率满足预定频率条件。Determine whether the time interval between the current time and the request time corresponding to the last cached material request is greater than or equal to a predetermined second time interval threshold, and if so, determine that the cached material request frequency of the target application satisfies the predetermined frequency condition. 9.根据权利要求8所述的方法,其中,所述上次缓存素材请求成功返回了新的缓存素材。9. The method of claim 8, wherein the last cached material request successfully returned new cached material. 10.根据权利要求8或9所述的方法,其中,所述第二时间间隔阈值是基于用户打开频率来确定的。10. The method of claim 8 or 9, wherein the second time interval threshold is determined based on user turn-on frequency. 11.根据权利要求10所述的方法,其中,所述方法还包括:11. The method of claim 10, wherein the method further comprises: 基于以下公式计算所述第二时间间隔阈值:The second time interval threshold is calculated based on the following formula: T=(1+k2/N0)*T0T=(1+k2/N 0 )*T0 其中,T表示所述第二时间间隔阈值,T0表示最近两次缓存素材请求之间的实际时间间隔,k2表示第二调节系数,N0表示所述用户打开频率。Wherein, T represents the second time interval threshold, T0 represents the actual time interval between the last two cached material requests, k2 represents the second adjustment coefficient, and N 0 represents the opening frequency of the user. 12.根据权利要求1所述的方法,其中,所述若所述目标应用的缓存素材请求频率满足所述预定频率条件,向所述目标应用对应的素材提供方发出缓存素材请求,包括:12 . The method according to claim 1 , wherein, if the request frequency of the cached material of the target application satisfies the predetermined frequency condition, sending a request for the cached material to a material provider corresponding to the target application comprises: 12 . 若所述目标应用的缓存素材请求频率满足所述预定频率条件,向所述目标应用对应的服务器发送缓存素材指示信息,其中,所述缓存素材指示信息包括所述本地缓存素材库中未过期的一个或多个第三缓存素材对应的素材提供方标识信息和过期时间,所述一个或多个第三缓存素材中每个第三缓存素材的过期时间与当前时间之间的时间间隔小于或等于预定的第三时间间隔阈值。If the cached material request frequency of the target application satisfies the predetermined frequency condition, send cached material indication information to the server corresponding to the target application, where the cached material indication information includes unexpired cached material in the local cached material library Material provider identification information and expiration time corresponding to one or more third cached materials, where the time interval between the expiration time of each of the one or more third cached materials and the current time is less than or equal to a predetermined third time interval threshold. 13.根据权利要求1至12中任一项所述的方法,其中,所述方法还包括:13. The method of any one of claims 1 to 12, wherein the method further comprises: 响应于针对所述目标应用的素材展示触发事件,检测所述本地缓存素材库中是否存在未过期的第四缓存素材;In response to a material display trigger event for the target application, detecting whether there is an unexpired fourth cache material in the local cache material library; 若存在,检测是否仅存在一个第四缓存素材;If it exists, check whether there is only one fourth cache material; 若仅存在一个第四缓存素材,判断所述仅存在的第四缓存素材是否为兜底素材,若否,展示所述仅存在的第四缓存素材。If there is only one fourth cached material, it is determined whether the only existing fourth cached material is a bottom-line material, and if not, the only existing fourth cached material is displayed. 14.根据权利要求13所述的方法,其中,所述方法还包括:14. The method of claim 13, wherein the method further comprises: 若所述本地缓存素材库中不存在未过期的第四缓存素材,向所述目标应用对应的服务器发出第一展示素材请求;If there is no unexpired fourth cache material in the local cache material library, send a first display material request to the server corresponding to the target application; 获得所述服务器基于所述第一展示素材请求返回的第一目标素材,并展示所述第一目标素材。Obtain the first target material returned by the server based on the first display material request, and display the first target material. 15.根据权利要求13或14所述的方法,其中,所述方法还包括:15. The method of claim 13 or 14, wherein the method further comprises: 若存在未过期的多个第四缓存素材,向所述目标应用对应的服务器发出素材展示规则请求;If there are multiple unexpired fourth cached materials, send a material display rule request to the server corresponding to the target application; 接收所述服务器基于所述素材展示规则请求返回的素材展示规则,并根据所述素材展示规则从所述多个第四缓存素材中选择第二目标素材,并展示所述第二目标素材。Receive a material display rule returned by the server based on the material display rule request, select a second target material from the plurality of fourth cache materials according to the material display rule, and display the second target material. 16.根据权利要求15所述的方法,其中,所述方法还包括:16. The method of claim 15, wherein the method further comprises: 若超时未获得所述服务器返回的素材展示规则,获取本地素材展示规则;If the material display rules returned by the server are not obtained within the timeout period, obtain the local material display rules; 根据所述本地素材展示规则从所述多个第四缓存素材中选择第三目标素材,并展示所述第三目标素材。A third target material is selected from the plurality of fourth cache materials according to the local material display rule, and the third target material is displayed. 17.根据权利要求13至16中任一项所述的方法,其中,所述方法还包括:17. The method of any one of claims 13 to 16, wherein the method further comprises: 若所述仅存在一个的第四缓存素材为兜底素材,向所述目标应用对应的服务器发出第二展示素材请求;If the only one fourth cached material is the bottom material, send a second display material request to the server corresponding to the target application; 获得所述服务器基于所述第二展示素材请求返回的第四目标素材,并展示所述第四目标素材。Obtain the fourth target material returned by the server based on the second display material request, and display the fourth target material. 18.根据权利要求17所述的方法,其中,所述方法还包括:18. The method of claim 17, wherein the method further comprises: 若超时未获得所述服务器返回的第四目标素材,展示所述兜底素材。If the fourth target material returned by the server is not obtained within a timeout period, the bottom-line material is displayed. 19.一种请求缓存素材的方法,应用于服务器端,其中,所述方法包括:19. A method for requesting cached material, applied to a server, wherein the method comprises: 接收目标应用发送的缓存素材指示信息,其中,所述缓存素材指示信息包括所述目标应用对应的本地缓存素材库中未过期的一个或多个第三缓存素材对应的素材提供方标识信息和过期时间,所述一个或多个第三缓存素材中每个第三缓存素材的过期时间与当前时间之间的时间间隔小于或等于预定的第三时间间隔阈值;Receive cached material indication information sent by the target application, where the cached material indication information includes material provider identification information and expired material provider identification information corresponding to one or more unexpired third cached materials in the local cached material library corresponding to the target application time, the time interval between the expiration time of each third cache material in the one or more third cache materials and the current time is less than or equal to a predetermined third time interval threshold; 根据所述缓存素材指示信息,判断所述目标应用是否满足预定的请求触发条件;若满足,向所述目标应用对应的素材提供方发出缓存素材请求。According to the cached material indication information, it is judged whether the target application satisfies the predetermined request triggering condition; if so, a cached material request is sent to the material provider corresponding to the target application. 20.根据权利要求19所述的方法,其中,所述请求触发条件包括:20. The method of claim 19, wherein the request triggering condition comprises: 所述一个或多个第三缓存素材中存在由所述素材提供方提供的一个或多个第二缓存素材,其中所述一个或多个第二缓存素材的剩余有效期时长小于或等于第一有效期阈值信息;One or more second cache materials provided by the material provider exist in the one or more third cache materials, wherein the remaining validity period of the one or more second cache materials is less than or equal to the first validity period threshold information; 其中,所述向所述素材提供方发出缓存素材请求,包括:Wherein, the sending a cache material request to the material provider includes: 对于所述一个或多个第二缓存素材中的每个第二缓存素材,向该第二缓存素材对应的素材提供方发出缓存素材请求。For each second cache material in the one or more second cache materials, a cache material request is sent to a material provider corresponding to the second cache material. 21.一种请求缓存素材的方法,其中,所述方法包括:21. A method for requesting cached material, wherein the method comprises: 用户设备响应于针对目标应用的缓存素材请求触发事件,获取所述目标应用对应的本地缓存素材库中临近过期的一个或多个第一缓存素材,其中,所述一个或多个第一缓存素材中每个第一缓存素材的过期时间与当前时间之间的时间间隔小于或等于预定的第一时间间隔阈值;In response to a cached material request trigger event for the target application, the user equipment acquires one or more first cached materials that are about to expire in the local cached material library corresponding to the target application, wherein the one or more first cached materials The time interval between the expiration time of each first cached material and the current time is less than or equal to the predetermined first time interval threshold; 所述用户设备判断所述一个或多个第一缓存素材的数量是否大于或等于预定的第一数量阈值;若是,判断所述目标应用的缓存素材请求频率是否满足预定频率条件;The user equipment determines whether the number of the one or more first cached materials is greater than or equal to a predetermined first number threshold; if so, determines whether the request frequency of the cached materials of the target application satisfies the predetermined frequency condition; 若所述目标应用的缓存素材请求频率满足所述预定频率条件,所述用户设备向所述目标应用对应的服务器发送缓存素材指示信息,其中,所述缓存素材指示信息包括所述本地缓存素材库中未过期的一个或多个第三缓存素材对应的素材提供方标识信息和过期时间,所述一个或多个第三缓存素材中每个第三缓存素材的过期时间与当前时间之间的时间间隔小于或等于预定的第三时间间隔阈值;If the cached material request frequency of the target application satisfies the predetermined frequency condition, the user equipment sends cached material indication information to the server corresponding to the target application, where the cached material indication information includes the local cached material library The identification information and expiration time of the material provider corresponding to one or more unexpired third cache materials in The interval is less than or equal to the predetermined third time interval threshold; 所述服务器接收所述缓存素材指示信息,并根据所述缓存素材指示信息,判断所述目标应用是否满足预定的请求触发条件;若满足,向所述目标应用对应的素材提供方发出缓存素材请求。The server receives the cached material indication information, and according to the cached material indication information, determines whether the target application satisfies a predetermined request trigger condition; if so, sends a cached material request to a material provider corresponding to the target application . 22.一种请求缓存素材的设备,其中,所述设备包括:22. A device for requesting cached material, wherein the device comprises: 处理器;以及processor; and 被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器执行如权利要求1至20中任一项所述的方法。a memory arranged to store computer-executable instructions which, when executed, cause the processor to perform a method as claimed in any one of claims 1 to 20. 23.一种存储指令的计算机可读介质,所述指令在被执行时使得系统进行如权利要求1至20中任一项所述方法的操作。23. A computer-readable medium storing instructions that, when executed, cause a system to operate the method of any one of claims 1 to 20.
CN202010198168.3A 2020-03-19 2020-03-19 Method and equipment for requesting cache materials Active CN111382321B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010198168.3A CN111382321B (en) 2020-03-19 2020-03-19 Method and equipment for requesting cache materials

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010198168.3A CN111382321B (en) 2020-03-19 2020-03-19 Method and equipment for requesting cache materials

Publications (2)

Publication Number Publication Date
CN111382321A true CN111382321A (en) 2020-07-07
CN111382321B CN111382321B (en) 2023-10-27

Family

ID=71217297

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010198168.3A Active CN111382321B (en) 2020-03-19 2020-03-19 Method and equipment for requesting cache materials

Country Status (1)

Country Link
CN (1) CN111382321B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9876991B1 (en) * 2014-02-28 2018-01-23 Concurrent Computer Corporation Hierarchical key management system for digital rights management and associated methods
CN110084635A (en) * 2019-03-18 2019-08-02 努比亚技术有限公司 Terminal advertisement management method, advertising management optimization system, terminal and storage medium
WO2020014954A1 (en) * 2018-07-20 2020-01-23 威富通科技有限公司 Data control method and terminal device
CN110766464A (en) * 2019-10-23 2020-02-07 上海连尚网络科技有限公司 A method and apparatus for controlling presentation information

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9876991B1 (en) * 2014-02-28 2018-01-23 Concurrent Computer Corporation Hierarchical key management system for digital rights management and associated methods
WO2020014954A1 (en) * 2018-07-20 2020-01-23 威富通科技有限公司 Data control method and terminal device
CN110084635A (en) * 2019-03-18 2019-08-02 努比亚技术有限公司 Terminal advertisement management method, advertising management optimization system, terminal and storage medium
CN110766464A (en) * 2019-10-23 2020-02-07 上海连尚网络科技有限公司 A method and apparatus for controlling presentation information

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
潘伟杰;李少波;许吉斌;: "自适应时间阈值的RFID数据清洗算法" *
郭刚;: "内蒙古广播电视台IP化集中收录系统设计" *

Also Published As

Publication number Publication date
CN111382321B (en) 2023-10-27

Similar Documents

Publication Publication Date Title
CN110516182B (en) Method and equipment for providing motivation video information
CN111159537B (en) Method and device for pushing presentation information in reading application
CN108958780A (en) A kind of method and apparatus of the more new information for program of lodging for rendering
CN111159536B (en) A method and device for pushing presentation information in reading applications
CN110827061A (en) A method and apparatus for providing presentation information during novel reading
WO2020259252A1 (en) Method and device for providing resource allocation information
CN110782274A (en) Method and device for providing motivational video information in reading application
CN110781397A (en) Method and equipment for providing novel information
CN110502873A (en) A method and device for managing the reading rights of novel chapters
CN111258470A (en) A method and apparatus for presenting social messages
CN111526396B (en) Method and equipment for controlling excitation video playing
CN111008327B (en) A method and device for pushing books in a reading application
WO2021120612A1 (en) Method and device for presenting message notification
CN111523039A (en) A method and device for processing a book update request in a reading application
WO2022134705A1 (en) Method and device for providing video resource
CN112019621A (en) Method and equipment for customizing push message
CN111382321B (en) Method and equipment for requesting cache materials
CN111680250B (en) A method and device for recalling presented information
CN111130918A (en) Method and equipment for presenting information flow
CN111105226B (en) A method and device for subscribing to novel chapters
CN112948142B (en) Method, device, medium and program product for determining target feedback information
CN111385353B (en) Method and equipment for providing application presentation information
CN111309219B (en) A method and apparatus for providing presentation information
CN111666250A (en) Method and equipment for processing book update prompting request information in reading application
CN109245938B (en) Method and equipment for executing resource configuration operation of user

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 200120 2, building 979, Yun Han Road, mud town, Pudong New Area, Shanghai

Patentee after: Shanghai Lianshang Network Technology Group Co.,Ltd.

Country or region after: China

Address before: 200120 2, building 979, Yun Han Road, mud town, Pudong New Area, Shanghai

Patentee before: SHANGHAI LIANSHANG NETWORK TECHNOLOGY Co.,Ltd.

Country or region before: China

CP03 Change of name, title or address