CN111382321B - Method and equipment for requesting cache materials - Google Patents

Method and equipment for requesting cache materials Download PDF

Info

Publication number
CN111382321B
CN111382321B CN202010198168.3A CN202010198168A CN111382321B CN 111382321 B CN111382321 B CN 111382321B CN 202010198168 A CN202010198168 A CN 202010198168A CN 111382321 B CN111382321 B CN 111382321B
Authority
CN
China
Prior art keywords
cache
target application
request
materials
time interval
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010198168.3A
Other languages
Chinese (zh)
Other versions
CN111382321A (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 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

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

The application aims to provide a method and equipment for requesting cache materials, wherein the method comprises the following steps: responding to a cache material request triggering event aiming at a target application, and acquiring one or more first cache materials which are close to expiring in a local cache material library corresponding to the target application, wherein a first time interval between the expiration time and the current time of each first cache material in the one or more first cache materials is smaller than or equal to a preset first time interval threshold; judging whether the number of the one or more first cache materials is larger than or equal to a preset first number threshold value, if so, judging whether the cache material request frequency of the target application meets a preset frequency condition; and if the cache material request frequency of the target application meets the preset frequency condition, sending a cache material request to a material provider corresponding to the target application.

Description

Method and equipment for requesting cache materials
Technical Field
The application relates to the field of communication, in particular to a technology for requesting cache materials.
Background
With the development of the era, people acquire corresponding information through application programs on intelligent devices increasingly, and accordingly, more and more material providers promote materials in the application programs through cooperation with service providers of the application programs, for example, some advertisers usually perform the release of exclusive advertisements (such as open screen advertisements and inserted screen advertisements) on the application programs, and the exclusive promotion mode can play a good role in advertising.
Disclosure of Invention
The application aims to provide a method and equipment for requesting cache materials.
According to one aspect of the present application, there is provided a method for requesting for caching materials, applied to a user equipment, the method comprising:
responding to a cache material request triggering event aiming at a target application, and acquiring one or more first cache materials which are close to expiring in a local cache material library corresponding to the target application, wherein a first time interval between the expiration time and the current time of each first cache material in the one or more first cache materials is smaller than or equal to a preset first time interval threshold;
judging whether the number of the one or more first cache materials is larger than or equal to a preset first number threshold value, if so, judging whether the cache material request frequency of the target application meets a preset frequency condition;
and if the cache material request frequency of the target application meets the preset frequency condition, sending a cache material request to a material provider corresponding to the target application.
According to another aspect of the present application, there is provided a method for requesting to cache material, applied to a server, the method comprising:
Receiving cache material indication information sent by a target application, wherein the cache material indication information comprises material provider identification information and expiration time corresponding to one or more unexpired third cache materials in a local cache material library corresponding to the target application, and a time interval between the expiration time and the current time of each third cache material in the one or more third cache materials is smaller than or equal to a preset third time interval threshold;
and judging whether the target application meets a preset request triggering condition according to the cache material indication information, and if so, sending a cache material request to a material provider corresponding to the target application.
According to an aspect of the present application, there is provided a user equipment requesting to cache material, the apparatus comprising:
the system comprises a one-to-one module, a first time interval module and a second time interval module, wherein the one-to-one module is used for responding to a cache material request triggering event aiming at a target application and obtaining one or more first cache materials which are close to expiring in a local cache material library corresponding to the target application, wherein the first time interval between the expiration time and the current time of each first cache material in the one or more first cache materials is smaller than or equal to a preset first time interval threshold;
The second module is used for judging whether the number of the one or more first cache materials is larger than or equal to a preset first number threshold value, and if so, judging whether the cache material request frequency of the target application meets a preset frequency condition;
and the three modules are used for sending a cache material request to a material provider corresponding to the target application if the cache material request frequency of the target application meets the preset frequency condition.
According to another aspect of the present application, there is provided a server that requests caching of material, the apparatus comprising:
the second module is configured to receive cache material indication information sent by a target application, where the cache material indication information includes material provider identification information and expiration time corresponding to one or more unexpired third cache materials in a local cache material library corresponding to the target application, and a time interval between the expiration time and a current time of each third cache material in the one or more third cache materials is less than or equal to a predetermined third time interval threshold;
and the second module is used for judging whether the target application meets a preset request triggering condition according to the cache material indication information, and if so, sending a cache material request to a material provider corresponding to the target application.
According to an aspect of the present application, there is provided an apparatus for requesting cache material, wherein the apparatus includes:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
responding to a cache material request triggering event aiming at a target application, and acquiring one or more first cache materials which are close to expiring in a local cache material library corresponding to the target application, wherein a first time interval between the expiration time and the current time of each first cache material in the one or more first cache materials is smaller than or equal to a preset first time interval threshold;
judging whether the number of the one or more first cache materials is larger than or equal to a preset first number threshold value, if so, judging whether the cache material request frequency of the target application meets a preset frequency condition;
and if the cache material request frequency of the target application meets the preset frequency condition, sending a cache material request to a material provider corresponding to the target application.
According to an aspect of the present application, there is provided an apparatus for requesting cache material, wherein the apparatus includes:
A processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
receiving cache material indication information sent by a target application, wherein the cache material indication information comprises material provider identification information and expiration time corresponding to one or more unexpired third cache materials in a local cache material library corresponding to the target application, and a time interval between the expiration time and the current time of each third cache material in the one or more third cache materials is smaller than or equal to a preset third time interval threshold;
and judging whether the target application meets a preset request triggering condition according to the cache material indication information, and if so, sending a cache material request to a material provider corresponding to the target application.
According to one aspect of the application, there is provided a computer readable medium storing instructions that, when executed, cause a system to:
responding to a cache material request triggering event aiming at a target application, and acquiring one or more first cache materials which are close to expiring in a local cache material library corresponding to the target application, wherein a first time interval between the expiration time and the current time of each first cache material in the one or more first cache materials is smaller than or equal to a preset first time interval threshold;
Judging whether the number of the one or more first cache materials is larger than or equal to a preset first number threshold value, if so, judging whether the cache material request frequency of the target application meets a preset frequency condition;
and if the cache material request frequency of the target application meets the preset frequency condition, sending a cache material request to a material provider corresponding to the target application.
According to one aspect of the application, there is provided a computer readable medium storing instructions that, when executed, cause a system to:
receiving cache material indication information sent by a target application, wherein the cache material indication information comprises material provider identification information and expiration time corresponding to one or more unexpired third cache materials in a local cache material library corresponding to the target application, and a time interval between the expiration time and the current time of each third cache material in the one or more third cache materials is smaller than or equal to a preset third time interval threshold;
and judging whether the target application meets a preset request triggering condition according to the cache material indication information, and if so, sending a cache material request to a material provider corresponding to the target application.
Compared with the prior art, when a cache material request triggering event occurs, the method and the device can acquire the first cache material which is nearly out of date in the local cache material library corresponding to the target application, acquire at least one second cache material which is not out of date in the local cache material library when the target application meets the preset request triggering condition, and send a cache material request to a server or a material provider based on a second time interval between the expiration time of each second cache material and the current time, so that the request frequency of the material provider with longer expiration time is reduced; in addition, different frequency control can be adopted for users by distinguishing high and low opening probabilities, and the higher the opening frequency of the users is, the higher the frequency of the request materials is; in addition, when only one material is provided, by judging whether the material is an internal spam advertisement with lower value, different countermeasures for immediate display or re-request can be adopted, so that the technical purposes of improving recall rate and bid price of a material provider, reducing request frequency, improving advertisement quality and exposure time are achieved.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the detailed description of non-limiting embodiments, made with reference to the accompanying drawings in which:
FIG. 1 is a flow chart of a method for requesting cache material applied to a user device according to one embodiment of the present application;
FIG. 2 shows a flow chart of a method for requesting cache material applied to a server side according to one embodiment of the application;
FIG. 3 illustrates a flow chart of a system method for requesting cache material in accordance with one embodiment of the present application;
FIG. 4 is a flow chart illustrating an example of the present application for requesting cache material;
FIG. 5 illustrates a flow diagram of an exemplary presentation cache material of the present application;
FIG. 6 illustrates a block diagram of a user device requesting to cache material, according to one embodiment of the application;
FIG. 7 illustrates a server block diagram of requesting cache material according to one embodiment of the application;
FIG. 8 illustrates an exemplary system that can be used to implement various embodiments described in the present application.
The same or similar reference numbers in the drawings refer to the same or similar parts.
Detailed Description
The application is described in further detail below with reference to the accompanying drawings.
In one exemplary configuration of the application, the terminal, the device of the service network, and the trusted party each include one or more processors (e.g., central processing units (Central Processing Unit, CPU)), input/output interfaces, network interfaces, and memory.
The Memory may include non-volatile Memory in a computer readable medium, random access Memory (Random Access Memory, RAM) and/or non-volatile Memory, etc., such as Read Only Memory (ROM) or Flash Memory (Flash Memory). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase-Change Memory (PCM), programmable Random Access Memory (Programmable Random Access Memory, PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (Dynamic Random Access Memory, DRAM), other types of Random Access Memory (RAM), read-Only Memory (ROM), electrically erasable programmable read-Only Memory (EEPROM), flash Memory or other Memory technology, read-Only Memory (Compact Disc Read-Only Memory, CD-ROM), digital versatile disks (Digital Versatile Disc, DVD) or other optical storage, magnetic cassettes, magnetic tape storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by the computing device.
The device includes, but is not limited to, a user device, a network device, or a device formed by integrating a user device and a network device through a network. The user equipment includes, but is not limited to, any mobile electronic product which can perform man-machine interaction with a user (for example, perform man-machine interaction through a touch pad), such as a smart phone, a tablet computer and the like, and the mobile electronic product can adopt any operating system, such as an Android operating system, an iOS operating system and the like. The network device includes an electronic device capable of automatically performing numerical calculation and information processing according to a preset or stored instruction, and the hardware includes, but is not limited to, a microprocessor, an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a programmable logic device (Programmable Logic Device, PLD), a field programmable gate array (Field Programmable Gate Array, FPGA), a digital signal processor (Digital Signal Processor, DSP), an embedded device, and the like. The network device includes, but is not limited to, a computer, a network host, a single network server, a plurality of network server sets, or a cloud of servers; here, the Cloud is composed of a large number of computers or network servers based on Cloud Computing (Cloud Computing), which is a kind of distributed Computing, a virtual supercomputer composed of a group of loosely coupled computer sets. Including but not limited to the internet, wide area networks, metropolitan area networks, local area networks, VPN networks, wireless Ad Hoc networks (Ad Hoc networks), and the like. Preferably, the device may be a program running on the user device, the network device, or a device formed by integrating the user device and the network device, the touch terminal, or the network device and the touch terminal through a network.
Of course, those skilled in the art will appreciate that the above-described devices are merely examples, and that other devices now known or hereafter may be present as applicable to the present application, and are intended to be within the scope of the present application and are incorporated herein by reference.
In the description of the present application, the meaning of "a plurality" is two or more unless explicitly defined otherwise.
Fig. 1 shows a flowchart of a method for requesting for caching material applied to a user equipment side according to an embodiment of the present application, where the method includes step S11, step S12, and step S13. In step S11, in response to a triggering event of a cache material request for a target application, acquiring one or more first cache materials near expiration in a local cache material library corresponding to the target application, where a first time interval between an expiration time and a current time of each first cache material in the one or more first cache materials is less than or equal to a predetermined first time interval threshold; in step S12, it is determined whether the number of the one or more first cache materials is greater than or equal to a predetermined first number threshold, and if yes, it is determined whether the cache material request frequency of the target application meets a predetermined frequency condition; in step S13, if the cache material request frequency of the target application meets the predetermined frequency condition, a cache material request is sent to a material provider corresponding to the target application.
In step S11, in response to a triggering event of a cache material request for a target application, one or more first cache materials near expiration in a local cache material library corresponding to the target application are obtained, where a first time interval between an expiration time and a current time of each first cache material in the one or more first cache materials is less than or equal to a predetermined first time interval threshold. In some embodiments, the cache material request triggering event includes, but is not limited to, the target application background being pulled alive, the target application receiving a push message, and the like. In some embodiments, in response to a cache material request triggering event, one or more first cache materials that are about to expire are obtained from a local cache material library corresponding to a target application, where the about to expire refers to a time interval between an expiration time of the cache material and a current time that is less than or equal to a predetermined time interval threshold (e.g., 30 minutes).
In step S12, it is determined whether the number of the one or more first cache materials is greater than or equal to a predetermined first number threshold, and if so, it is determined whether the cache material request frequency of the target application satisfies a predetermined frequency condition. In some embodiments, if the number of near-expired first cache materials is greater than or equal to a predetermined first number threshold (e.g., 5), then a determination is continued as to whether the cache material request frequency of the target application satisfies a predetermined frequency condition. In some embodiments, the manner of determining whether the frequency of cache material requests by the target application satisfies the predetermined frequency condition may be to determine whether the number of times the target application issues cache material requests within a predetermined time frame (e.g., last week, last month) is less than or equal to a predetermined number of times threshold (e.g., 10 times). In some embodiments, the manner of determining whether the frequency of the request of the cache material of the target application meets the predetermined frequency condition may also be to determine whether the time interval between the current time and the request time corresponding to the last request of the cache material is greater than or equal to a predetermined time interval threshold (for example, 3 days, one week).
In step S13, if the cache material request frequency of the target application meets the predetermined frequency condition, a cache material request is sent to a material provider corresponding to the target application. As an implementation manner of this embodiment, the target application determines a time interval between an expiration time and a current time of each unexpired second cached material, and only if the time interval is less than or equal to a predetermined time interval threshold, directly sends a cached material request to a material provider (for example, a dsp demander platform) corresponding to the second cached material, or sends a cached material request to the material provider corresponding to the second cached material through a server (for example, a adx real-time bidding transaction platform) corresponding to the target application, and receives a new cached material returned by the material provider based on the cached material request, and stores the new cached material in a local cached material library. As another implementation manner of this embodiment, the target application sends out the cache material indication information to the server (for example, adx real-time bidding transaction platform) corresponding to the target application, where the cache material indication information includes the material provider identification information and expiration time corresponding to each unexpired second cache material. In some embodiments, the material provider identification information is used to uniquely identify the material provider (e.g., dsp requestor platform), including without limitation ID information, name information, tag information, etc. of the material provider. The server receives the cache material indication information including the material provider identification information and the expiration time corresponding to each expired second cache material sent by the target application, judges the time interval between the expiration time and the current time of each unexpired second cache material, sends a cache material request to the material provider corresponding to the second cache material only when the time interval is smaller than or equal to a preset time interval threshold value, and receives a new cache material returned by the material provider based on the cache material request, and returns the new cache material to the target application.
In some embodiments, the step S13 includes: and if the cache material request frequency of the target application meets the preset frequency condition and the target application meets the preset request triggering condition, sending a cache material request to a material provider corresponding to the target application. In some embodiments, the predetermined request triggering condition may be that at least one second cache material, which includes a remaining valid period duration less than or equal to the first valid period threshold information, is included in one or more second cache materials provided by a certain material provider in the local cache material library, and the remaining valid period duration refers to a period of time corresponding to a time interval between an expiration time of a certain cache material that has not yet expired and a current time, where the request is sent to the material provider directly or through a server corresponding to the target application. For example, the material provider a provides 3 cached materials, and if there is cached material MA with a remaining validity period (for example, 6 hours) less than the first validity period threshold information (for example, 12 hours) in the 3 cached materials, a cached material request is directly sent to the material provider a or sent to the material provider a through a server corresponding to the target application. In some embodiments, the predetermined request triggering condition may be that a remaining validity period duration of each of one or more second cache materials provided by a certain material provider in the local cache material library is less than or equal to the second validity period threshold information, and then a cache material request is sent to the material provider directly or through a server corresponding to the target application. For example, the material provider a provides 3 cached materials, and the remaining validity period duration (for example, 6 hours) of each cached material in the 3 cached materials is smaller than the second validity period threshold information (for example, 12 hours), then the cached material request is sent to the material provider a directly or through the server corresponding to the target application. In some embodiments, the predetermined request triggering condition may be that the number information of the second cached materials in the local cached material library, provided by a certain material provider, with the remaining validity period duration being less than or equal to the third validity period threshold value information is less than or equal to the second number threshold value, and then the cached material request is sent to the material provider directly or through a server corresponding to the target application. For example, the material provider a provides 3 pieces of cached material with the remaining validity period duration being less than or equal to the third validity period threshold information (for example, 12 hours), and because the remaining validity period duration is less than the second number threshold (for example, 5 pieces), the request for cached material is sent to the material provider a directly or through the server corresponding to the target application.
In some embodiments, the request triggering condition includes: one or more second cache materials provided by the material provider exist in the local cache material library, wherein the residual validity period duration of the one or more second cache materials is smaller than or equal to the first validity period threshold information; the sending the material caching request to the material provider includes: and for each second cache material in the one or more second cache materials, sending a cache material request to a material provider corresponding to the second cache material.
For example, the material provider a provides 3 cached materials MA1, MA2, MA3, the material provider B provides 2 materials MB1, MB2, and the remaining validity period duration (for example, 6 hours) of MA1 and MB1 in the 5 cached materials is less than the first validity period threshold information (for example, 12 hours), then a cached material request is sent to the material provider a corresponding to MA1, and a cached material request is sent to the material provider B corresponding to MB 1.
For another example, the material provider a provides 3 cached materials MA1, MA2, MA3, the material provider B provides 2 materials MB1, MB2, and the remaining validity period duration (for example, 6 hours) of MA1 and MA2 in the 5 cached materials is less than the first validity period threshold information (for example, 12 hours), then a cached material request is sent to the material provider a corresponding to MA 1.
In some embodiments, the local cache material library is configured to store exclusive cache material, where the exclusive cache material includes open screen cache material and/or inserted screen cache material. In some embodiments, the present solution is applicable to all cached material, preferably, particularly, to exclusive cached material, including open screen cached material (e.g., open screen cached material that is presented in a full screen manner for a short period of time when a user opens a target application) and/or on-screen cached material (e.g., on-screen cached material that is presented when a game is in progress or video is paused), typically only one exclusive cached material can be presented at the same time, and multiple exclusive cached materials cannot be presented simultaneously.
In some embodiments, the first number threshold is determined according to a number of material providers corresponding to a server corresponding to the target application. In some embodiments, the first quantity threshold is determined based on a quantity of material providers (e.g., dsp-demander platforms) bound by a server (e.g., adx real-time bidding trading platform) to which the target application corresponds. In some embodiments, the first number of thresholds may be obtained from a server to which the target application corresponds, or may also be obtained locally from the target application. In some embodiments, the first number threshold may be proportional to the number of server-bound material providers, or the first number threshold may also be proportional to a number interval in which the number of server-bound material providers is located, or the first number threshold may also be proportional to a sum of weighting coefficients of the individual server-bound material providers.
In some embodiments, the first number threshold is determined according to the number of material providers to which the target application corresponds, and based on the following formula: num=n0+ndsp (k 1-1/NDSP), where Num represents the first number threshold, NDSP represents the number of material providers corresponding to the target application, k1 is a first adjustment coefficient, N 0 A default value (e.g., 5) representing 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 to which the target application corresponds, the greater the first number threshold; the smaller the number of material providers to which the target application corresponds, the smaller the first number threshold.
In some embodiments, the determining whether the cache material request frequency of the target application meets a predetermined frequency condition includes: and judging whether the number of times of sending the cache material requests by the target application within a preset time range is smaller than or equal to a preset number of times threshold, and if so, determining that the cache material request frequency of the target application meets a preset frequency condition. In some embodiments, it is determined whether the number of cache material requests issued by the target application within a predetermined time range (e.g., last week, last month) is less than or equal to a predetermined number of times threshold (e.g., 10 times), and if so, it is determined that the cache material request frequency of the target application satisfies a predetermined frequency condition.
In some embodiments, the determining whether the cache material request frequency of the target application meets a predetermined frequency condition includes: and judging whether a third time interval of the current time from the request time corresponding to the last cache material request is larger than or equal to a preset third time interval threshold value, and if so, determining that the cache material request frequency of the target application meets a preset frequency condition. In some embodiments, it is detected whether a time interval between the current time and a request time corresponding to a last cache 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 cache material request frequency of the target application satisfies a predetermined frequency condition.
In some embodiments, the last cached material request successfully returns new cached material. In some embodiments, it is detected whether a time interval of a request time corresponding to a cache material request of a new cache material that is successfully returned last time from a current time is greater than or equal to a predetermined time interval threshold (for example, 6 hours), and if so, it is determined that a cache material request frequency of the target application satisfies a predetermined frequency condition.
In some embodiments, the third time interval threshold is determined based on a user opening frequency. In some embodiments, the user open frequency is used to characterize the frequency at which the user opens the target application or the frequency at which the material presentation area in the target application is opened. In some embodiments, the higher the user turn-on frequency, the smaller the third time interval threshold, the higher the request frequency.
In some embodiments, the method further comprises: 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, T0 represents the actual time interval between the last two cache material requests, k2 represents the second adjustment coefficient, N 0 Indicating the user turn-on 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 turn-on frequency,the smaller the third time interval threshold, the higher the request frequency; the lower the user turn-on frequency, the greater the third time interval threshold, and the lower the request frequency.
In some embodiments, the step S13 includes: if the cache material request frequency of the target application meets the preset frequency condition, sending cache material indication information to a server corresponding to the target application, wherein the cache material indication information comprises material provider identification information and expiration time corresponding to one or more unexpired third cache materials in the local cache material library, and a time interval between the expiration time and the current time of each third cache material in the one or more third cache materials is smaller than or equal to a preset third time interval threshold. In some embodiments, the target application sends out the buffer material indication information to a server (for example, adx real-time bidding transaction platform) corresponding to the target application, where the buffer material indication information includes material provider identification information and expiration time corresponding to each unexpired third buffer material. In some embodiments, the material provider identification information is used to uniquely identify the material provider (e.g., dsp requestor platform), including without limitation ID information, name information, tag information, etc. of the material provider. The server receives the cache material indication information including the material provider identification information and the expiration time corresponding to each expired third cache material sent by the target application, judges the time interval between the expiration time and the current time of each unexpired third cache material, sends a cache material request to the material provider corresponding to the third cache material only when the time interval is smaller than or equal to a preset time interval threshold value, and receives a new cache material returned by the material provider based on the cache material request, and returns the new cache material to the target application.
In some embodiments, the method further comprises: responding to a material display trigger event aiming at the target application, and detecting whether an unexpired fourth cache material exists in the local cache material library; if so, detecting whether only one fourth cache material exists; if only one fourth cache material exists, judging whether the only fourth cache material is a spam material, and if not, displaying the only fourth cache material. In some embodiments, in response to a material display trigger event for a target application, detecting whether an unexpired fourth cache material exists in a local cache material library, if so, detecting whether only one fourth cache material exists, if so, judging whether the only fourth cache material is a spam material, and if not, directly displaying the only fourth cache material. In some embodiments, the spam is a material that is used to promote the performance of a bottom guard, where the spam is generally less valuable to promote and only revealed when no other material is available for promotion.
In some embodiments, the method further comprises: if the unexpired fourth cache material does not exist in the local cache material library, a first display material request is sent to a server corresponding to the target application; and obtaining the first target material returned by the server based on the first display material request, and displaying the first target material. In some embodiments, if the unexpired fourth cache material does not exist locally, a material showing request is sent to a server corresponding to the target application, the target material returned by the server based on the material showing request is received and shown, and if the server is not returned after timeout, no material is shown.
In some embodiments, the method further comprises: if a plurality of unexpired fourth cache materials exist, sending a material display rule request to a server corresponding to the target application; and receiving a material display rule returned by the server based on the material display rule request, selecting a second target material from the fourth cache materials according to the material display rule, and displaying the second target material. In some embodiments, the material presentation rules are used to indicate which fourth cached material of the plurality of fourth cached materials is presented. In some embodiments, if there are multiple fourth cache materials that are not expired, a request is made to a server corresponding to the target application to obtain a material display rule, and the target material is selected and displayed from the multiple fourth cache materials according to the material display rule.
In some embodiments, the method further comprises: if the material display rule returned by the server is not obtained after the time-out, obtaining a local material display rule; and selecting a third target material from the fourth cache materials according to the local material display rule, and displaying the third target material. In some embodiments, if the request is overtime, the server does not return the material display rule, and then the target material is selected and displayed from the plurality of fourth cache materials directly according to the material display rule of the local target application.
In some embodiments, the method further comprises: if the fourth cache material with only one cache material is the spam material, a second display material request is sent to a server corresponding to the target application; and obtaining a fourth target material returned by the server based on the second display material request, and displaying the fourth target material. In some embodiments, if the fourth cache material with only one cache material is spam material, the server corresponding to the target application requests to obtain the target material and displays the target material.
In some embodiments, the method further comprises: and if the fourth target material returned by the server is not obtained after the time-out, displaying the spam material. In some embodiments, if the request times out, the target material returned by the server is not obtained, and spam is directly presented.
Fig. 2 shows a flowchart of a method for requesting cache material applied to a server side according to an embodiment of the present application, the method including step S21 and step S22. In step S21, receiving cache material indication information sent by a target application, where the cache material indication information includes material provider identification information and expiration time corresponding to one or more unexpired third cache materials in a local cache material library corresponding to the target application, and a time interval between the expiration time and the current time of each third cache material in the one or more third cache materials is less than or equal to a predetermined third time interval threshold; in step S22, according to the cached material indication information, it is determined whether the target application meets a predetermined request triggering condition, and if so, a cached material request is sent to a material provider corresponding to the target application.
In step S21, receiving cache material indication information sent by a target application, where the cache material indication information includes material provider identification information and expiration time corresponding to one or more unexpired third cache materials in a local cache material library corresponding to the target application, and a time interval between the expiration time and the current time of each third cache material in the one or more third cache materials 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 (e.g., dsp requestor platform), including without limitation ID information, name information, tag information, etc. of the material provider.
In step S22, according to the cached material indication information, it is determined whether the target application meets 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 predetermined request triggering condition may be that at least one second cache material, which includes a remaining valid period duration less than or equal to the first valid period threshold information, is included in one or more second cache materials provided by a certain material provider in the local cache material library, and the remaining valid period duration refers to a period of time corresponding to a time interval between an expiration time of a certain cache material that has not yet expired and a current time, where the request is sent to the material provider directly or through a server corresponding to the target application. For example, the material provider a provides 3 cached materials, and if there is cached material MA with a remaining validity period (for example, 6 hours) less than the first validity period threshold information (for example, 12 hours) in the 3 cached materials, a cached material request is directly sent to the material provider a or sent to the material provider a through a server corresponding to the target application. In some embodiments, the predetermined request triggering condition may be that a remaining validity period duration of each of one or more second cache materials provided by a certain material provider in the local cache material library is less than or equal to the second validity period threshold information, and then a cache material request is sent to the material provider directly or through a server corresponding to the target application. For example, the material provider a provides 3 cached materials, and the remaining validity period duration (for example, 6 hours) of each cached material in the 3 cached materials is smaller than the second validity period threshold information (for example, 12 hours), then the cached material request is sent to the material provider a directly or through the server corresponding to the target application. In some embodiments, the predetermined request triggering condition may be that the number information of the second cached materials in the local cached material library, provided by a certain material provider, with the remaining validity period duration being less than or equal to the third validity period threshold value information is less than or equal to the second number threshold value, and then the cached material request is sent to the material provider directly or through a server corresponding to the target application. For example, the material provider a provides 3 pieces of cached material with the remaining validity period duration being less than or equal to the third validity period threshold information (for example, 12 hours), and because the remaining validity period duration is less than the second number threshold (for example, 5 pieces), the request for cached material is sent to the material provider a directly or through the server corresponding to the target application.
In some embodiments, the request triggering condition includes: 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 duration of the one or more second cache materials is smaller than or equal to the first validity period threshold information; the sending the material caching request to the material provider includes: and for each second cache material in the one or more second cache materials, sending a cache material request to a material provider corresponding to the second cache material.
For example, the material provider a provides 3 cached materials MA1, MA2, MA3, the material provider B provides 2 materials MB1, MB2, and the remaining validity period duration (for example, 6 hours) of MA1 and MB1 in the 5 cached materials is less than the first validity period threshold information (for example, 12 hours), then a cached material request is sent to the material provider a corresponding to MA1, and a cached material request is sent to the material provider B corresponding to MB 1.
For another example, the material provider a provides 3 cached materials MA1, MA2, MA3, the material provider B provides 2 materials MB1, MB2, and the remaining validity period duration (for example, 6 hours) of MA1 and MA2 in the 5 cached materials is less than the first validity period threshold information (for example, 12 hours), then a cached material request is sent to the material provider a corresponding to MA 1.
FIG. 3 illustrates a flow chart of a system method for requesting cached material according to one embodiment of the application.
As shown in fig. 3, in step S31, the user equipment responds to a request triggering event for a cache material of a target application, and obtains one or more first cache materials near expiration in a local cache material library corresponding to the target application, where a time interval between an expiration time and a current time of each of the one or more first cache materials is less than or equal to a predetermined first time interval threshold, and step S31 is the same as or similar to the foregoing step S11, and is not repeated herein; in step S32, the user equipment determines whether the number of the one or more first buffer materials is greater than or equal to a predetermined first number threshold; if yes, judging whether the cache material request frequency of the target application meets a predetermined frequency condition, wherein the step S32 is the same as or similar to the step S12, and will not be described again here; in step S33, if the cache material request frequency of the target application meets the predetermined frequency condition, the user equipment sends cache material indication information to a server corresponding to the target application, where the cache material indication 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 a time interval between the expiration time and a current time of each third cache material in the one or more third cache materials is less than or equal to a predetermined third time interval threshold, and step S33 is the same as or similar to the step S13, and is not repeated herein; in step S34, the server receives the cache material indication information, determines whether the target application meets a predetermined request triggering condition according to the cache material indication information, and if so, sends a cache material request to a material provider corresponding to the target application, where step S34 is the same as or similar to the foregoing steps S21 and S22, and will not be described herein again.
With the development of the era, people acquire corresponding information through application programs on intelligent equipment increasingly, and accordingly, more and more material providers promote materials in the application programs through cooperation with service providers of the application programs, for example, some advertisers usually perform the release of exclusive advertisements (such as open screen advertisements and inserted screen advertisements) on the application programs, and the exclusive popularization mode can play a good role in popularization and propaganda.
The application discovers that the exclusive popularization mode in the prior art has the following problems: 1) In order to make a bid fully, an application program for promoting materials requests advertisements from a plurality of material providers (such as advertisement providers), some material providers provide advertisement materials with short expiration time, and some material providers have long expiration time, which may cause the prior advertisement to not expire and not be exposed, but make a pre-request to reduce the bid of the advertisement provider; 2) In order to improve the display rate, the application program needs to pre-request the advertisement materials for a plurality of times, but many users do not open the application in the same day, so that the request is wasted, the benefit of the material provider is influenced, and the evaluation of the application program by the material provider is possibly deteriorated; 3) When the presentation of material is triggered, there are generally two strategies within the industry when there is only one piece of material in the local cache, including querying the server for a presentation strategy (business logic may be unreasonable) and directly presenting the material (the material may be inefficient to render).
According to the scheme of the application, when a cache material request triggering event occurs, a first cache material which is close to expiration in a local cache material library and corresponds to a target application can be obtained, when the target application meets a preset request triggering condition, at least one second cache material which is not expired in the local cache material library is obtained, and a cache material request is sent to a server or a material provider based on a second time interval between expiration time and current time of each second cache material, so that the request frequency of the material provider with longer expiration time is reduced; in addition, different frequency control can be adopted for users by distinguishing high and low opening probabilities, and the higher the opening frequency of the users is, the higher the frequency of the request materials is; in addition, when only one material is provided, by judging whether the material is an internal spam advertisement with lower value, different countermeasures for immediate display or re-request can be adopted, so that the technical purposes of improving recall rate and bid price of a material provider, reducing request frequency, improving advertisement quality and exposure time are achieved.
Fig. 4 is a schematic flow chart of an example of the present application for requesting cache material, which specifically includes the following flow: firstly, triggering and counting the number N of nearby expiration date in the local cache materials (namely counting the number of first cache materials in the local cache materials) in an application program; judging whether N is smaller than a preset threshold M (namely a first quantity threshold), if so, ending the flow; if not, judging whether the request frequency F is satisfied, if not, ending the flow; if yes, the application program sends a cache material request to a search end (namely a server end corresponding to the application program) to request the cache material, wherein the cache material request can be provided with a dsp source and expiration time of unexpired materials; and then the retrieval end receives the cache material request, calculates the time intervals T1, T2, … and tn of the expiration time of each unexpired advertisement distance, if tx (x=1, 2, … and n) is larger than a preset threshold value T, does not request the corresponding dsp, ends the process, and otherwise, requests the corresponding dsp.
Fig. 5 shows a schematic flow chart for showing cache materials according to an example of the present application, and the specific flow is as follows: firstly, judging whether an unexpired advertisement exists locally, if not, requesting an advertisement and displaying (if overtime, not displaying); if yes, judging whether 1 unexpired advertisement exists, if not, requesting a server (displaying the advertisement according to the client rule if overtime); if yes, judging whether the only unexpired advertisement is not the internal spam change with lower value, if yes, directly displaying the advertisement, otherwise, requesting an advertisement and displaying (displaying the spam when overtime).
Fig. 6 shows a block diagram of a user equipment requesting buffering of material according to an embodiment of the present application, the apparatus comprising a one-to-one module 11, a two-to-two module 12 and a three-to-three module 13. A one-to-one module 11, configured to obtain, in response to a trigger event for a cache material request of a target application, one or more first cache materials near expiration in a local cache material library corresponding to the target application, where a first time interval between an expiration time and a current time of each first cache material in the one or more first cache materials is less than or equal to a predetermined first time interval threshold; a second module 12, configured to determine whether the number of the one or more first cache materials is greater than or equal to a predetermined first number threshold, and if yes, determine whether the cache material request frequency of the target application meets a predetermined frequency condition; and the three modules 13 are used for sending out a cache material request to a material provider corresponding to the target application if the cache material request frequency of the target application meets the preset frequency condition.
And the one-to-one module 11 is configured to obtain, in response to a trigger event of a cache material request for a target application, one or more first cache materials near expiration in a local cache material library corresponding to the target application, where a first time interval between an expiration time and a current time of each first cache material in the one or more first cache materials is less than or equal to a predetermined first time interval threshold. In some embodiments, the cache material request triggering event includes, but is not limited to, the target application background being pulled alive, the target application receiving a push message, and the like. In some embodiments, in response to a cache material request triggering event, one or more first cache materials that are about to expire are obtained from a local cache material library corresponding to a target application, where the about to expire refers to a time interval between an expiration time of the cache material and a current time that is less than or equal to a predetermined time interval threshold (e.g., 30 minutes).
And a second module 12, configured to determine whether the number of the one or more first cache materials is greater than or equal to a predetermined first number threshold, and if yes, determine whether the cache material request frequency of the target application meets a predetermined frequency condition. In some embodiments, if the number of near-expired first cache materials is greater than or equal to a predetermined first number threshold (e.g., 5), then a determination is continued as to whether the cache material request frequency of the target application satisfies a predetermined frequency condition. In some embodiments, the manner of determining whether the frequency of cache material requests by the target application satisfies the predetermined frequency condition may be to determine whether the number of times the target application issues cache material requests within a predetermined time frame (e.g., last week, last month) is less than or equal to a predetermined number of times threshold (e.g., 10 times). In some embodiments, the manner of determining whether the frequency of the request of the cache material of the target application meets the predetermined frequency condition may also be to determine whether the time interval between the current time and the request time corresponding to the last request of the cache material is greater than or equal to a predetermined time interval threshold (for example, 3 days, one week).
And the three modules 13 are used for sending out a cache material request to a material provider corresponding to the target application if the cache material request frequency of the target application meets the preset frequency condition. As an implementation manner of this embodiment, the target application determines a time interval between an expiration time and a current time of each unexpired second cached material, and only if the time interval is less than or equal to a predetermined time interval threshold, directly sends a cached material request to a material provider (for example, a dsp demander platform) corresponding to the second cached material, or sends a cached material request to the material provider corresponding to the second cached material through a server (for example, a adx real-time bidding transaction platform) corresponding to the target application, and receives a new cached material returned by the material provider based on the cached material request, and stores the new cached material in a local cached material library. As another implementation manner of this embodiment, the target application sends out the cache material indication information to the server (for example, adx real-time bidding transaction platform) corresponding to the target application, where the cache material indication information includes the material provider identification information and expiration time corresponding to each unexpired second cache material. In some embodiments, the material provider identification information is used to uniquely identify the material provider (e.g., dsp requestor platform), including without limitation ID information, name information, tag information, etc. of the material provider. The server receives the cache material indication information including the material provider identification information and the expiration time corresponding to each expired second cache material sent by the target application, judges the time interval between the expiration time and the current time of each unexpired second cache material, sends a cache material request to the material provider corresponding to the second cache material only when the time interval is smaller than or equal to a preset time interval threshold value, and receives a new cache material returned by the material provider based on the cache material request, and returns the new cache material to the target application.
In some embodiments, the one-three module 13 is configured to: and if the cache material request frequency of the target application meets the preset frequency condition and the target application meets the preset request triggering condition, sending a cache material request to a material provider corresponding to the target application. The related operations are the same as or similar to those of the embodiment shown in fig. 1, and thus are not described in detail herein, and are incorporated by reference.
In some embodiments, the request triggering condition includes: one or more second cache materials provided by the material provider exist in the local cache material library, wherein the residual validity period duration of the one or more second cache materials is smaller than or equal to the first validity period threshold information; the sending the material caching request to the material provider includes: and for each second cache material in the one or more second cache materials, sending a cache material request to a material provider corresponding to the second cache material. The related operations are the same as or similar to those of the embodiment shown in fig. 1, and thus are not described in detail herein, and are incorporated by reference.
In some embodiments, the local cache material library is configured to store exclusive cache material, where the exclusive cache material includes open screen cache material and/or inserted screen cache material. The related operations are the same as or similar to those of the embodiment shown in fig. 1, and thus are not described in detail herein, and are incorporated by reference.
In some embodiments, the first number threshold is determined according to a number of material providers corresponding to a server corresponding to the target application. The related operations are the same as or similar to those of the embodiment shown in fig. 1, and thus are not described in detail herein, and are incorporated by reference.
In some embodiments, the first number threshold is determined according to the number of material providers to which the target application corresponds, and based on the following formula: num=n0+ndsp (k 1-1/NDSP), where Num represents the first number threshold, NDSP represents the number of material providers corresponding to the target application, k1 is a first adjustment coefficient, N 0 A default value (e.g., 5) representing the first number threshold. The related operations are the same as or similar to those of the embodiment shown in fig. 1, and thus are not described in detail herein, and are incorporated by reference.
In some embodiments, the determining whether the cache material request frequency of the target application meets a predetermined frequency condition includes: and judging whether the number of times of sending the cache material requests by the target application within a preset time range is smaller than or equal to a preset number of times threshold, and if so, determining that the cache material request frequency of the target application meets a preset frequency condition. The related operations are the same as or similar to those of the embodiment shown in fig. 1, and thus are not described in detail herein, and are incorporated by reference.
In some embodiments, the determining whether the cache material request frequency of the target application meets a predetermined frequency condition includes: and judging whether a third time interval of the current time from the request time corresponding to the last cache material request is larger than or equal to a preset third time interval threshold value, and if so, determining that the cache material request frequency of the target application meets a preset frequency condition. The related operations are the same as or similar to those of the embodiment shown in fig. 1, and thus are not described in detail herein, and are incorporated by reference.
In some embodiments, the last cached material request successfully returns new cached material. The related operations are the same as or similar to those of the embodiment shown in fig. 1, and thus are not described in detail herein, and are incorporated by reference.
In some embodiments, the third time interval threshold is determined based on a user opening frequency. The related operations are the same as or similar to those of the embodiment shown in fig. 1, and thus are not described in detail herein, and are incorporated by reference.
In some embodiments, the method further comprises: 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, T0 represents the actual time interval between the last two cache material requests, k2 represents the second adjustment coefficient, N 0 Indicating the user turn-on frequency. In some embodiments, k2 is less than or equal to N0. The related operations are the same as or similar to those of the embodiment shown in fig. 1, and thus are not described in detail herein, and are incorporated by reference.
In some embodiments, the one-three module 13 is configured to: if the cache material request frequency of the target application meets the preset frequency condition, sending cache material indication information to a server corresponding to the target application, wherein the cache material indication information comprises material provider identification information and expiration time corresponding to one or more unexpired third cache materials in the local cache material library, and a time interval between the expiration time and the current time of each third cache material in the one or more third cache materials is smaller than or equal to a preset third time interval threshold. The related operations are the same as or similar to those of the embodiment shown in fig. 1, and thus are not described in detail herein, and are incorporated by reference.
In some embodiments, the apparatus is further to: responding to a material display trigger event aiming at the target application, and detecting whether an unexpired fourth cache material exists in the local cache material library; if so, detecting whether only one fourth cache material exists; if only one fourth cache material exists, judging whether the only fourth cache material is a spam material, and if not, displaying the only fourth cache material. The related operations are the same as or similar to those of the embodiment shown in fig. 1, and thus are not described in detail herein, and are incorporated by reference.
In some embodiments, the apparatus is further to: if the unexpired fourth cache material does not exist in the local cache material library, a first display material request is sent to a server corresponding to the target application; and obtaining the first target material returned by the server based on the first display material request, and displaying the first target material. The related operations are the same as or similar to those of the embodiment shown in fig. 1, and thus are not described in detail herein, and are incorporated by reference.
In some embodiments, the apparatus is further to: if a plurality of unexpired fourth cache materials exist, sending a material display rule request to a server corresponding to the target application; and receiving a material display rule returned by the server based on the material display rule request, selecting a second target material from the fourth cache materials according to the material display rule, and displaying the second target material. The related operations are the same as or similar to those of the embodiment shown in fig. 1, and thus are not described in detail herein, and are incorporated by reference.
In some embodiments, the apparatus is further to: if the material display rule returned by the server is not obtained after the time-out, obtaining a local material display rule; and selecting a third target material from the fourth cache materials according to the local material display rule, and displaying the third target material. The related operations are the same as or similar to those of the embodiment shown in fig. 1, and thus are not described in detail herein, and are incorporated by reference.
In some embodiments, the apparatus is further to: if the fourth cache material with only one cache material is the spam material, a second display material request is sent to a server corresponding to the target application; and obtaining a fourth target material returned by the server based on the second display material request, and displaying the fourth target material. The related operations are the same as or similar to those of the embodiment shown in fig. 1, and thus are not described in detail herein, and are incorporated by reference.
In some embodiments, the apparatus is further to: and if the fourth target material returned by the server is not obtained after the time-out, displaying the spam material. The related operations are the same as or similar to those of the embodiment shown in fig. 1, and thus are not described in detail herein, and are incorporated by reference.
Fig. 7 shows a structure of a server requesting cache material according to an embodiment of the present application, the server includes a second module 21 and a second module 22. The second module 21 is configured to receive cache material indication information sent by a target application, where the cache material indication information includes material provider identification information and expiration time corresponding to one or more unexpired third cache materials in a local cache material library corresponding to the target application, and a time interval between the expiration time and a current time of each third cache material in the one or more third cache materials is less than or equal to a predetermined third time interval threshold; and the second module 22 is configured to determine, according to the cache material indication information, whether the target application meets a predetermined request triggering condition, and if so, send a cache material request to a material provider corresponding to the target application.
And a second module 21, configured to receive cache material indication information sent by a target application, where the cache material indication information includes material provider identification information and expiration time corresponding to one or more unexpired third cache materials in a local cache material library corresponding to the target application, and a time interval between the expiration time and a current time of each third cache material in the one or more third cache materials 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 (e.g., dsp requestor platform), including without limitation ID information, name information, tag information, etc. of the material provider.
And the second module 22 is configured to determine, according to the cache material indication information, whether the target application meets a predetermined request triggering condition, and if so, send a cache material request to a material provider corresponding to the target application. In some embodiments, the predetermined request triggering condition may be that at least one second cache material, which includes a remaining valid period duration less than or equal to the first valid period threshold information, is included in one or more second cache materials provided by a certain material provider in the local cache material library, and the remaining valid period duration refers to a period of time corresponding to a time interval between an expiration time of a certain cache material that has not yet expired and a current time, where the 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 be that a remaining validity period duration of each of one or more second cache materials provided by a certain material provider in the local cache material library is less than or equal to the second validity period threshold information, and then 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 be that the number information of the second cached materials in the local cached material library, provided by a certain material provider, with the remaining validity period duration being less than or equal to the third validity period threshold value information is less than or equal to the second number threshold value, and then the cached material request is sent to the material provider directly or through a server corresponding to the target application.
In some embodiments, the request triggering condition includes: 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 duration of the one or more second cache materials is smaller than or equal to the first validity period threshold information; the sending the material caching request to the material provider includes: and for each second cache material in the one or more second cache materials, sending a cache material request to a material provider corresponding to the second cache material. The related operations are the same as or similar to those of the embodiment shown in fig. 1, and thus are not described in detail herein, and are incorporated by reference.
FIG. 8 illustrates an exemplary system that can be used to implement various embodiments described in the present application.
In some embodiments, as shown in fig. 8, the system 300 can function as any of the devices of the various described embodiments. In some embodiments, system 300 may include one or more computer-readable media (e.g., system memory or NVM/storage 320) having instructions and one or more processors (e.g., processor(s) 305) coupled with the one or more computer-readable media and configured to execute the instructions to implement the modules to perform the actions described in the present application.
For one embodiment, the system control module 310 may include any suitable interface controller to provide any suitable interface to at least one of the processor(s) 305 and/or any suitable device or component in communication with the system control module 310.
The system control module 310 may include a memory controller module 330 to provide an interface to the system memory 315. Memory controller module 330 may be a hardware module, a software module, and/or a firmware module.
The system memory 315 may be used, for example, to load and store data and/or instructions for the system 300. For one embodiment, system memory 315 may include any suitable volatile memory, such as, for example, a suitable DRAM. In some embodiments, the system memory 315 may comprise a double data rate type four synchronous dynamic random access memory (DDR 4 SDRAM).
For one embodiment, system control module 310 may include one or more input/output (I/O) controllers to provide an interface to NVM/storage 320 and communication interface(s) 325.
For example, NVM/storage 320 may be used to store data and/or instructions. NVM/storage 320 may include any suitable nonvolatile memory (e.g., flash memory) and/or may include any suitable nonvolatile storage device(s) (e.g., one or more Hard Disk Drives (HDDs), one or more Compact Disc (CD) drives, and/or one or more Digital Versatile Disc (DVD) drives).
NVM/storage 320 may include storage resources that are physically part of the device on which system 300 is installed or which may be accessed by the device without being part of the device. For example, NVM/storage 320 may be accessed over a network via communication interface(s) 325.
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. The 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.
For one embodiment, at least one of the processor(s) 305 may be packaged together with logic of one or more controllers (e.g., memory controller module 330) of the system control module 310. For one embodiment, at least one of the processor(s) 305 may be packaged together 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 as 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 chip (SoC).
In various embodiments, the system 300 may be, but is not limited to being: a server, workstation, desktop computing device, or mobile computing device (e.g., laptop computing device, handheld computing device, tablet, 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 touch screen displays), non-volatile memory ports, multiple antennas, graphics chips, application Specific Integrated Circuits (ASICs), and speakers.
The application also provides a computer readable storage medium storing computer code which, when executed, performs a method as claimed in any preceding claim.
The application also provides a computer program product which, when executed by a computer device, performs a method as claimed in any preceding claim.
The present application also provides a computer device comprising:
one or more processors;
a 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 claim.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, e.g., using Application Specific Integrated Circuits (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 perform 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 drive or diskette and the like. In addition, some steps or functions of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
Furthermore, portions of the present application may be implemented as a computer program product, such as computer program instructions, which when executed by a computer, may invoke or provide methods and/or techniques in accordance with the present application by way of operation of the computer. Those skilled in the art will appreciate that the form of computer program instructions present in a computer readable medium includes, but is not limited to, source files, executable files, installation package files, etc., and accordingly, the manner in which the computer program instructions are executed by a computer includes, but is not 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 installed program. Herein, a computer-readable medium may be any available computer-readable storage medium or communication medium that can be accessed by a computer.
Communication media includes media whereby a communication signal containing, for example, computer readable instructions, data structures, program modules, or other data, is transferred from one system to another. Communication media may include conductive transmission media such as electrical cables and wires (e.g., optical fibers, coaxial, etc.) and wireless (non-conductive transmission) media capable of transmitting energy waves, such as acoustic, electromagnetic, RF, microwave, and infrared. Computer readable instructions, data structures, program modules, or other data may be embodied as a modulated data signal, for example, in a wireless medium, such as a carrier wave or similar mechanism, such as that embodied as part of spread spectrum technology. The term "modulated data signal" means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. The modulation may be analog, digital or hybrid modulation techniques.
By way of example, and not limitation, computer-readable storage media may include volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data. For example, computer-readable storage media include, but are not limited to, volatile memory, such as random access memory (RAM, DRAM, SRAM); and nonvolatile memory such as flash memory, various read only memory (ROM, PROM, EPROM, EEPROM), magnetic and ferromagnetic/ferroelectric memory (MRAM, feRAM); and magnetic and optical storage devices (hard disk, tape, CD, DVD); or other now known media or later developed computer-readable information/data that can be stored for use by a computer system.
An embodiment according to the application comprises an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to operate a method and/or a solution according to the embodiments of the application as described above.
It will be evident to those skilled in the art that the application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is evident that the word "comprising" does not exclude other elements or steps, and that the singular does not exclude a plurality. A plurality of units or means recited in the apparatus claims can also be implemented by means of one unit or means in software or hardware. The terms first, second, etc. are used to denote a name, but not any particular order.

Claims (19)

1. A method for requesting to cache material, which is applied to a user equipment end, wherein the method comprises the following steps:
responding to a cache material request triggering event aiming at a target application, and acquiring one or more first cache materials which are close to expiring in a local cache material library corresponding to the target application, wherein the time interval between the expiration time of each first cache material in the one or more first cache materials and the current time is smaller than or equal to a preset first time interval threshold;
judging whether the number of the one or more first cache materials is greater than or equal to a preset first number threshold value; if yes, judging whether the cache material request frequency of the target application meets a preset frequency condition;
if the cache material request frequency of the target application meets the preset frequency condition, sending a cache material request to a material provider corresponding to the target application;
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)
wherein Num represents the first number threshold, NDSP represents the number of material providers corresponding to the target application, k1 is a first adjustment coefficient, and N0 represents a default value of the first number threshold;
And if the cache material request frequency of the target application meets the predetermined frequency condition, sending a cache material request to a material provider corresponding to the target application, including:
if the cache material request frequency of the target application meets the preset frequency condition, sending cache material indication information to a server corresponding to the target application, wherein the cache material indication information comprises material provider identification information and expiration time corresponding to one or more unexpired third cache materials in the local cache material library, and a time interval between the expiration time and the current time of each third cache material in the one or more third cache materials is smaller than or equal to a preset third time interval threshold.
2. The method of claim 1, wherein the sending the cache material request to the material provider corresponding to the target application if the cache material request frequency of the target application meets the predetermined frequency condition includes:
and if the cache material request frequency of the target application meets the preset frequency condition and the target application meets the preset request triggering condition, sending a cache material request to a material provider corresponding to the target application.
3. The method of claim 2, wherein the request triggering condition comprises:
one or more second cache materials provided by the material provider exist in the local cache material library, wherein the residual validity period duration of the one or more second cache materials is smaller than or equal to the first validity period threshold information;
the sending the material caching request to the material provider includes:
and for each second cache material in the one or more second cache materials, sending a cache material request to a material provider corresponding to the second cache material.
4. The method of claim 1, wherein the local cache material library is configured to store exclusive cache material, the exclusive cache material including on-screen cache material and/or on-screen cache material.
5. The method of claim 1, wherein the determining whether the cache material request frequency of the target application meets a predetermined frequency condition comprises:
and judging whether the number of times of sending the cache material requests by the target application within a preset time range is smaller than or equal to a preset number of times threshold, and if so, determining that the cache material request frequency of the target application meets a preset frequency condition.
6. The method of claim 1, wherein the determining whether the cache material request frequency of the target application meets a predetermined frequency condition comprises:
and judging whether the time interval of the current time from the request time corresponding to the last cache material request is larger than or equal to a preset second time interval threshold value, if so, determining that the cache material request frequency of the target application meets a preset frequency condition.
7. The method of claim 6, wherein the last cached material request successfully returned new cached material.
8. The method of claim 6 or 7, wherein the second time interval threshold is determined based on a user opening frequency.
9. The method of claim 8, wherein the method further comprises:
calculating the second time interval threshold based on the following formula:
T=(1+k2/N0)*T0
wherein T represents the second time interval threshold, T0 represents the actual time interval between the last two cache material requests, k2 represents the second adjustment coefficient, and N0 represents the user opening frequency.
10. The method of claim 1, wherein the method further comprises:
responding to a material display trigger event aiming at the target application, and detecting whether an unexpired fourth cache material exists in the local cache material library;
If so, detecting whether only one fourth cache material exists;
if only one fourth cache material exists, judging whether the only fourth cache material is a spam material, and if not, displaying the only fourth cache material.
11. The method of claim 10, wherein the method further comprises:
if the unexpired fourth cache material does not exist in the local cache material library, a first display material request is sent to a server corresponding to the target application;
and obtaining the first target material returned by the server based on the first display material request, and displaying the first target material.
12. The method of claim 10, wherein the method further comprises:
if a plurality of unexpired fourth cache materials exist, sending a material display rule request to a server corresponding to the target application;
and receiving a material display rule returned by the server based on the material display rule request, selecting a second target material from the fourth cache materials according to the material display rule, and displaying the second target material.
13. The method of claim 12, wherein the method further comprises:
If the material display rule returned by the server is not obtained after the time-out, obtaining a local material display rule;
and selecting a third target material from the fourth cache materials according to the local material display rule, and displaying the third target material.
14. The method of any one of claims 10 to 13, wherein the method further comprises:
if the fourth cache material with only one cache material is the spam material, a second display material request is sent to a server corresponding to the target application;
and obtaining a fourth target material returned by the server based on the second display material request, and displaying the fourth target material.
15. The method of claim 14, wherein the method further comprises:
and if the fourth target material returned by the server is not obtained after the time-out, displaying the spam material.
16. A method for requesting cache material, applied to a server side, wherein the method comprises:
receiving cache material indication information sent by a target application, wherein the cache material indication information comprises material provider identification information and expiration time corresponding to one or more unexpired third cache materials in a local cache material library corresponding to the target application, and a time interval between the expiration time and the current time of each third cache material in the one or more third cache materials is smaller than or equal to a preset third time interval threshold;
Judging whether the target application meets a preset request triggering condition according to the cache material indication information; if yes, sending a material caching request to a material provider corresponding to the target application;
wherein the request triggering condition includes: 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 duration of the one or more second cache materials is smaller than or equal to the first validity period threshold information; the sending a material caching request to the material provider corresponding to the target application includes: and for each second cache material in the one or more second cache materials, sending a cache material request to a material provider corresponding to the second cache material.
17. A method of requesting cache material, wherein the method comprises:
the method comprises the steps that user equipment responds to a cache material request triggering event aiming at a target application, and one or more first cache materials which are close to expiring in a local cache material library corresponding to the target application are obtained, wherein the time interval between the expiration time and the current time of each first cache material in the one or more first cache materials is smaller than or equal to a preset first time interval threshold;
The user equipment judges whether the number of the one or more first cache materials is larger than or equal to a preset first number threshold value; if yes, judging whether the cache material request frequency of the target application meets a preset frequency condition;
if the cache material request frequency of the target application meets the predetermined frequency condition, the user equipment sends cache material indication information to a server corresponding to the target application, wherein the cache material indication information comprises material provider identification information and expiration time corresponding to one or more unexpired third cache materials in the local cache material library, and a time interval between the expiration time of each third cache material in the one or more third cache materials and the current time is smaller than or equal to a predetermined third time interval threshold;
the server receives the cache material indication information and judges whether the target application meets a preset request triggering condition according to the cache material indication information; and if so, sending a material caching request to a material provider corresponding to the target application.
18. An apparatus for requesting cache material, wherein the apparatus comprises:
A processor; and
a memory arranged to store computer executable instructions which, when executed, cause the processor to perform the method of any one of claims 1 to 16.
19. A computer readable medium storing instructions that, when executed, cause a system to perform the operations of the method of any one of claims 1 to 16.
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 CN111382321A (en) 2020-07-07
CN111382321B true 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 上海连尚网络科技有限公司 Method and equipment for controlling presence 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 上海连尚网络科技有限公司 Method and equipment for controlling presence information

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
潘伟杰 ; 李少波 ; 许吉斌 ; .自适应时间阈值的RFID数据清洗算法.制造业自动化.2012,(13),全文. *
郭刚 ; .内蒙古广播电视台IP化集中收录系统设计.内蒙古广播与电视技术.2014,(04),全文. *

Also Published As

Publication number Publication date
CN111382321A (en) 2020-07-07

Similar Documents

Publication Publication Date Title
CN111159537B (en) Method and device for pushing presentation information in reading application
CN110516182B (en) Method and equipment for providing motivation video information
CN110827061B (en) Method and equipment for providing presentation information in novel reading process
CN111159536B (en) Method and device for pushing presentation information in reading application
CN110781397B (en) Method and equipment for providing novel information
CN113034233B (en) Method, apparatus, medium and program product for allocating resources in a reading application
CN111523039B (en) Method and device for processing book promotion request in reading application
CN111008327B (en) Method and device for pushing books in reading application
CN109710280B (en) Method and equipment for installing application on user equipment
CN112770184B (en) Method and equipment for providing video resources
CN111666249B (en) Method and device for acquiring target reading mode in reading application
CN111177062B (en) Method and device for providing reading presentation information
CN109409947A (en) A kind of client-based resident trip survey method
CN111382321B (en) Method and equipment for requesting cache materials
CN110516414B (en) Method and equipment for accessing novel payment chapters
CN111400235A (en) Method and equipment for acquiring reading resource information in reading application
CN111666250B (en) Method and device for processing book promotion request information in reading application
CN110781431A (en) Method and equipment for providing novel information
CN111680250B (en) Method and equipment for recalling presentation information
CN111385353B (en) Method and equipment for providing application presentation information
CN111309219B (en) Method and equipment for providing presence information
CN111680249B (en) Method and device for pushing presentation information
CN109245938B (en) Method and equipment for executing resource configuration operation of user
CN114821410A (en) Method and equipment for determining object association information of target object
CN111105226B (en) Method and equipment for subscribing novel chapter

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