CN111382321A - Method and equipment for requesting cache material - Google Patents
Method and equipment for requesting cache material Download PDFInfo
- Publication number
- CN111382321A CN111382321A CN202010198168.3A CN202010198168A CN111382321A CN 111382321 A CN111382321 A CN 111382321A CN 202010198168 A CN202010198168 A CN 202010198168A CN 111382321 A CN111382321 A CN 111382321A
- Authority
- CN
- China
- Prior art keywords
- cache
- request
- target application
- materials
- frequency
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 239000000463 material Substances 0.000 title claims abstract description 794
- 238000000034 method Methods 0.000 title claims abstract description 76
- 230000015654 memory Effects 0.000 claims description 37
- 239000013077 target material Substances 0.000 claims description 32
- 239000012769 display material Substances 0.000 claims description 9
- 230000004044 response Effects 0.000 description 11
- 238000004891 communication Methods 0.000 description 9
- 238000004590 computer program Methods 0.000 description 9
- 230000005291 magnetic effect Effects 0.000 description 7
- 101001048843 Homo sapiens Protein FAM163A Proteins 0.000 description 6
- 102100023773 Protein FAM163A Human genes 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 5
- 230000008901 benefit Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000003780 insertion Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000007405 data analysis Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000037431 insertion Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000001737 promoting effect Effects 0.000 description 2
- 101100498818 Arabidopsis thaliana DDR4 gene Proteins 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 230000005294 ferromagnetic effect Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000001902 propagating effect Effects 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/901—Indexing; Data structures therefor; Storage structures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/907—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0241—Advertisements
- G06Q30/0276—Advertisement 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 to cache materials, wherein the method comprises the following steps: responding to a cache material request trigger event aiming at a target application, and acquiring one or more first cache materials which are close to expiration in a local cache material library corresponding to the target application, wherein a first time interval between expiration time and 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 value; judging whether the quantity of the one or more first cache materials is larger than or equal to a preset first quantity 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
Technical Field
The present application relates to the field of communications, and in particular, to a technique for requesting cached material.
Background
With the development of the times, people increasingly acquire corresponding information through application programs on intelligent equipment, and accordingly, more and more material providers promote the materials in the application programs through cooperation with service providers of the application programs, for example, some advertisers usually launch exclusive advertisements (such as open screen advertisements and screen insertion advertisements) on the application programs, and the exclusive promotion mode can play a good advertising role.
Disclosure of Invention
One object of the present application is to provide a method and apparatus for requesting cached material.
According to one aspect of the present application, a method for requesting to cache material is provided, and applied to a user equipment side, the method includes:
responding to a cache material request trigger event aiming at a target application, and acquiring one or more first cache materials which are close to expiration in a local cache material library corresponding to the target application, wherein a first time interval between expiration time and 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 value;
judging whether the quantity of the one or more first cache materials is larger than or equal to a preset first quantity 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 side, the method including:
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 third cache materials which are not expired 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 preset third time interval threshold;
and judging whether the target application meets a preset request triggering condition or not 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 present application, there is provided a user device for requesting caching of material, the device comprising:
a module, configured to, in response to a cache material request trigger event for a target application, acquire one or more first cache materials that are close to expiration in a local cache material library corresponding to the target application, where a first time interval between expiration time and current time of each of the one or more first cache materials is less than or equal to a predetermined first time interval threshold;
a second module, 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 so, determine whether a cache material request frequency of the target application meets a predetermined frequency condition;
and the third module is 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 for requesting caching of material, the apparatus comprising:
a first module, 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 third cache materials that are not expired 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 of 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 or not 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 present application, there is provided an apparatus for requesting caching of material, wherein the apparatus comprises:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
responding to a cache material request trigger event aiming at a target application, and acquiring one or more first cache materials which are close to expiration in a local cache material library corresponding to the target application, wherein a first time interval between expiration time and 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 value;
judging whether the quantity of the one or more first cache materials is larger than or equal to a preset first quantity 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 present application, there is provided an apparatus for requesting caching of material, wherein the apparatus comprises:
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 third cache materials which are not expired 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 preset third time interval threshold;
and judging whether the target application meets a preset request triggering condition or not 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 trigger event aiming at a target application, and acquiring one or more first cache materials which are close to expiration in a local cache material library corresponding to the target application, wherein a first time interval between expiration time and 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 value;
judging whether the quantity of the one or more first cache materials is larger than or equal to a preset first quantity 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 third cache materials which are not expired 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 preset third time interval threshold;
and judging whether the target application meets a preset request triggering condition or not 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, the method and the device have the advantages that when a cache material request triggering event occurs, a first cache material which is close to expiration in a local cache material library corresponding to the 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 the expiration time and the current time of each second cache material, so that the request frequency of the material provider with longer expiration time is reduced; moreover, different frequency control can be adopted for the user by distinguishing high opening probability from low opening probability, and the higher the opening frequency of the user is, the higher the frequency of requesting materials is; in addition, when only one material exists, different response measures of immediate display or re-request can be adopted by judging whether the material is the internal pocket advertisement with lower value, and the technical purposes of increasing the recall rate and the offer price of a material provider, reducing the request frequency, and increasing the advertisement quality and the exposure duration are achieved.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
fig. 1 is a flowchart illustrating a method for requesting to cache material applied to a user equipment according to an embodiment of the present application;
fig. 2 is a flowchart illustrating a method for requesting to cache material applied to a server according to an embodiment of the present application;
FIG. 3 illustrates a flow diagram of a system method for requesting cached material according to one embodiment of the present application;
FIG. 4 is a schematic flow chart illustrating an exemplary request for caching material;
FIG. 5 illustrates a flow diagram of an example of the present application showing cached material;
FIG. 6 illustrates a block diagram of a user device requesting caching of material, according to an embodiment of the present application;
FIG. 7 illustrates a block diagram of a server requesting caching of material, according to an embodiment of the present application;
FIG. 8 illustrates an exemplary system that can be used to implement the various embodiments described in this application.
The same or similar reference numbers in the drawings identify the same or similar elements.
Detailed Description
The present application is described in further detail below with reference to the attached figures.
In a typical configuration of the present application, the terminal, the device serving the network, and the trusted party each include one or more processors (e.g., Central Processing Units (CPUs)), input/output interfaces, network interfaces, and memory.
The Memory may include volatile Memory in a computer readable medium, Random Access Memory (RAM), and/or nonvolatile Memory such as Read Only Memory (ROM) or Flash Memory. Memory is an example of a computer-readable medium.
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 computer storage media include, but are not limited to, Phase-Change Memory (PCM), Programmable Random Access Memory (PRAM), Static Random-Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), electrically Erasable Programmable Read-Only Memory (EEPROM), flash Memory or other Memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device.
The device referred to in this application 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, such as a smart phone, a tablet computer, etc., capable of performing human-computer interaction with a user (e.g., human-computer interaction through a touch panel), and the mobile electronic product may employ any operating system, such as an Android operating system, an iOS operating system, etc. 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 (ASIC), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a 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 a plurality of servers; here, the Cloud is composed of a large number of computers or web servers based on Cloud Computing (Cloud Computing), which is a kind of distributed Computing, one virtual supercomputer consisting of a collection of loosely coupled computers. Including, but not limited to, the internet, a wide area network, a metropolitan area network, a local area network, a VPN network, a wireless Ad Hoc network (Ad Hoc network), etc. Preferably, the device may also 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 foregoing is by way of example only, and that other existing or future devices, which may be suitable for use in the present application, are also encompassed within the scope of the present application and are hereby incorporated by reference.
In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
Fig. 1 shows a flowchart of a method for requesting to cache material applied to a user equipment according to an embodiment of the present application, where the method includes steps S11, S12, and S13. In step S11, in response to a cache material request trigger event for a target application, obtaining one or more first cache materials that are near to expire 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 of the one or more first cache materials is less than or equal to a predetermined first time interval threshold; in step S12, determining 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, determining whether the cache material request frequency of the target application meets a predetermined frequency condition; in step S13, if the frequency of the cache material request of the target application satisfies 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 cache material request trigger event for a target application, one or more first cache materials that are near to expire 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 of the one or more first cache materials is less than or equal to a predetermined first time interval threshold. In some embodiments, the cached material request triggering event includes, but is not limited to, a background pull of the target application, a push message received by the target application, and the like. In some embodiments, in response to a cache material request trigger event, one or more first cache materials that are approaching expiration are obtained from a local cache material library corresponding to the target application, where approaching expiration refers to a time interval between an expiration time of the cache materials and a current time being 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 first cache materials that are approaching expiration 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 the cached material request by the target application satisfies the predetermined frequency condition may be determining whether the number of times the target application issues the cached material request within a predetermined time range (e.g., the last week, the 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 cache material request frequency of the target application satisfies the predetermined frequency condition may also be determining whether a time interval from a current time to a request time corresponding to the last cache material request is greater than or equal to a predetermined time interval threshold (e.g., 3 days, one week).
In step S13, if the frequency of the cache material request of the target application satisfies 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 cache material, and only under a condition that the time interval is less than or equal to a predetermined time interval threshold, the target application directly sends a cache material request to a material provider (e.g., a dsp requester platform) corresponding to the second cache material, or sends a cache material request to a material provider corresponding to the second cache material through a server (e.g., an adx real-time bidding transaction platform) corresponding to the target application, and receives a new cache material returned by the material provider based on the cache material request, and stores the new cache material in the local cache material library. As another implementation manner of this embodiment, the target application sends, to a server (e.g., adx real-time bid transaction platform) corresponding to the target application, cache material indication information, where the cache material indication information includes 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., the dsp demander platform), including without limitation ID information, name information, tag information, and the like of the material provider. The server receives cache material indication information which is sent by the target application and comprises material provider identification information and expiration time corresponding to each expired second cache material, judges the time interval between the expiration time and the current time of each unexpired second cache material, sends a cache material request to a material provider corresponding to the second cache material only under the condition that the time interval is smaller than or equal to a preset time interval threshold value, receives new cache materials returned by the material provider based on the cache material request, and returns the new cache materials 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 a second cache material, which includes at least one remaining validity period duration less than or equal to the first validity period threshold information, exists in one or more second cache materials provided by a certain material provider in the local cache material library, and a cache material request is sent to the material provider directly or through a server corresponding to the target application, where the remaining validity period duration refers to a duration corresponding to a time interval between an expiration time of a certain cache material that has not expired yet and a current time. For example, if the material provider a provides 3 cache materials, and a cache material MA whose remaining validity period duration (e.g., 6 hours) is smaller than the first validity period threshold information (e.g., 12 hours) exists in the 3 cache materials, a cache material request is sent to the material provider a directly or through a server corresponding to the target application. In some embodiments, the predetermined request triggering condition may also be that a remaining validity duration of each of one or more second cached materials provided by a certain material provider exists in the local cached material library, and is less than or equal to the second validity threshold information, 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 cache materials, and the remaining validity period duration (e.g., 6 hours) of each of the 3 cache materials is less than the second validity period threshold information (e.g., 12 hours), then a cache material request is sent to the material provider a directly or through a server corresponding to the target application. In some embodiments, the predetermined request triggering condition may also be that, if the number information of the second cached materials in the local cached material library, which is provided by a certain material provider and has a remaining validity duration less than or equal to the third validity threshold information, is less than or equal to the second number threshold, the request for the cached materials is sent to the certain material provider directly or through a server corresponding to the target application. For example, the material provider a provides the cached material with 3 remaining validity period durations each less than or equal to the third validity period threshold information (e.g., 12 hours), and because of being less than the second number threshold (e.g., 5), the cached material request is issued to the material provider a directly or through the server corresponding to the target application.
In some embodiments, the request trigger condition comprises: one or more second cache materials provided by the material provider exist in the local cache material library, wherein the residual effective period duration of the one or more second cache materials is less than or equal to first effective period threshold information; wherein the sending a request for caching the material to the material provider comprises: 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 cache materials MA1, MA2, MA3, the material provider B provides 2 materials MB1, MB2, and the remaining validity period duration (e.g., 6 hours) of the 5 cache materials MA1 and MB1 is smaller than the first validity period threshold information (e.g., 12 hours), a cache material request is issued to the material provider a corresponding to MA1, and a cache material request is issued to the material provider B corresponding to MB 1.
For another example, the material provider a provides 3 pieces of cache materials MA1, MA2, and MA3, the material provider B provides 2 pieces of materials MB1 and MB2, and if the remaining validity period duration (e.g., 6 hours) of the 5 pieces of cache materials MA1 and MA2 is smaller than the first validity period threshold information (e.g., 12 hours), a cache material request is issued to the material provider a corresponding to the MA 1.
In some embodiments, the local cache material library is configured to store exclusive cache materials, where the exclusive cache materials include screen-on cache materials and/or screen-on cache materials. In some embodiments, the present solution is applicable to all cache materials, preferably, is particularly applicable to exclusive cache materials, where the exclusive cache materials include an open-screen cache material (for example, when a user opens a target application, the open-screen cache material is displayed in a full-screen manner for a short time) and/or a screen-insertion cache material (for example, when a game is closed or a video is paused, and only one exclusive cache material, but not multiple exclusive cache materials, can be displayed at the same time.
In some embodiments, the first number threshold is determined according to the number of material providers corresponding to the server corresponding to the target application. In some embodiments, the first quantity threshold is determined based on the number of material providers (e.g., dsp claimant platforms) that the target application corresponds to and the server (e.g., adx real-time bid trading platform) binds to. In some embodiments, the first number threshold may be obtained from a server corresponding to the target application, or the first number threshold 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 be proportional to a number interval in which the number of server-bound material providers is located, or the first number threshold may be proportional to a sum of weighting coefficients of the server-bound material providers.
In some embodiments, the first number threshold is determined based on the number of material providers corresponding to the target application and based on the following formula: num of N0+ NDSP (k1-1/NDSP), where Num represents the first number threshold, NDSP represents the number of material providers corresponding to the target application, k1 is a first adjustment coefficient, and N is a first adjustment coefficient0A default value (e.g., 5) representing the first quantity 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 number of content providers to which the target application correspondsThe greater a quantity threshold; the smaller the number of material providers corresponding to the target application, 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 frequency of sending the cache material request by the target application in a preset time range is less than or equal to a preset frequency threshold value, 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 times the target application has issued the cache material requests within a predetermined time range (e.g., the last week, the last month) is less than or equal to a predetermined number 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 between the current time and the request time corresponding to the last cache material request is greater than or equal to a preset third time interval threshold value or not, 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 from a current time to a request time corresponding to a last cached material request is greater than or equal to a predetermined time interval threshold (e.g., 6 hours), and if so, it is determined that the cached material request frequency of the target application satisfies the 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 between the current time and a request time corresponding to a cache material request that has successfully returned a new cache material last time 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 third time interval threshold is determined based on a user turn-on frequency. In some embodiments, the user opening frequency is used to characterize the frequency with which the user opens the target application or the frequency with which the material presentation area in the target application is opened. In some embodiments, the higher the user opening 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/N0) T0, where T denotes the third time interval threshold, T0 denotes the actual time interval between the last two requests to cache material, k2 denotes a second adjustment factor, N0Indicating the user's frequency of opening. 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 opening frequency, the greater the third time interval threshold, 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 includes material provider identification information and expiration time corresponding to one or more third cache materials which are not expired 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 less than or equal to a preset third time interval threshold. In some embodiments, the target application sends cached material indication information to a server (e.g., adx real-time bid trading platform) corresponding to the target application, where the cached material indication information includes material provider identification information and expiration time corresponding to each unexpired third cached material. In some embodiments, the material provider identification information is used to uniquely identify the material provider (e.g., the dsp demander platform), including without limitation ID information, name information, tag information, and the like of the material provider. The server receives cache material indication information which is sent by the target application and comprises material provider identification information and expiration time corresponding to each expired third cache material, judges the time interval between the expiration time and the current time of each unexpired third cache material, sends a cache material request to a material provider corresponding to the third cache material only under the condition that the time interval is smaller than or equal to a preset time interval threshold value, 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 or not; if yes, detecting whether only one fourth cache material exists; and if the fourth cache material only exists, judging whether the fourth cache material only exists is the bottom-finding material, and if not, displaying the fourth cache material only exists. In some embodiments, in response to a material display trigger event for a target application, it is detected whether an unexpired fourth cache material exists in a local cache material library, and if so, it is detected whether only one fourth cache material exists, and if only one fourth cache material exists, it is determined whether the only fourth cache material is a bottom-of-pocket material, and if not, the only fourth cache material is directly displayed. In some embodiments, the bib bottom materials are materials used for protecting the base and promoting, generally the bib bottom materials are low in promotion value, and the bib bottom materials can be displayed only when no other materials can be used for promotion.
In some embodiments, the method further comprises: if the unexpired fourth cache material does not exist in the local cache material library, sending a first display material request to a server corresponding to the target application; and obtaining a first target material returned by the server based on the first material displaying request, and displaying the first target material. In some embodiments, if the unexpired fourth cached material does not exist locally, a material displaying request is sent to a server corresponding to the target application, the target material returned by the server based on the material displaying request is received and displayed, and if the server is not returned after time out, no material is displayed.
In some embodiments, the method further comprises: if multiple 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 plurality of fourth cache materials according to the material display rule, and displaying the second target material. In some embodiments, the material presentation rule is used to indicate which of a 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 the server corresponding to the target application to obtain a material display rule, and the target material is selected from the multiple fourth cache materials and displayed 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 overtime, obtaining a local material display rule; and selecting a third target material from the plurality of fourth cache materials according to the local material display rule, and displaying the third target material. In some embodiments, if the request is overtime and the server does not return the material display rule, the target material is selected and displayed from the fourth cache materials directly according to the material display rule local to the target application.
In some embodiments, the method further comprises: if the only one fourth cache material is a bottom-finding material, sending a second display material request 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 only one fourth cached material is a bibliographic material, a request is made to a server corresponding to the target application for obtaining and displaying the target material.
In some embodiments, the method further comprises: and if the fourth target material returned by the server is not obtained after time-out, displaying the bottom-pocketed material. In some embodiments, if the request times out and the target material returned by the server is not obtained, the bottom materials are directly shown.
Fig. 2 shows a flowchart of a method for requesting to cache material applied to a server according to an embodiment of the present application, where the method includes steps S21 and 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 third cache materials that are not expired 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 of the one or more third cache materials is less than or equal to a predetermined third time interval threshold; in step S22, it is determined whether the target application satisfies a predetermined request triggering condition according to the cache material indication information, and if so, a cache 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 an expiration time corresponding to one or more third cache materials that have not expired 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 of 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., the dsp demander platform), including without limitation ID information, name information, tag information, and the like of the material provider.
In step S22, it is determined whether the target application satisfies a predetermined request triggering condition according to the cache material indication information, and if so, a cache material request is sent to a material provider corresponding to the target application. In some embodiments, the predetermined request triggering condition may be that a second cache material, which includes at least one remaining validity period duration less than or equal to the first validity period threshold information, exists in one or more second cache materials provided by a certain material provider in the local cache material library, and a cache material request is sent to the material provider directly or through a server corresponding to the target application, where the remaining validity period duration refers to a duration corresponding to a time interval between an expiration time of a certain cache material that has not expired yet and a current time. For example, if the material provider a provides 3 cache materials, and a cache material MA whose remaining validity period duration (e.g., 6 hours) is smaller than the first validity period threshold information (e.g., 12 hours) exists in the 3 cache materials, a cache material request is sent to the material provider a directly or through a server corresponding to the target application. In some embodiments, the predetermined request triggering condition may also be that a remaining validity duration of each of one or more second cached materials provided by a certain material provider exists in the local cached material library, and is less than or equal to the second validity threshold information, 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 cache materials, and the remaining validity period duration (e.g., 6 hours) of each of the 3 cache materials is less than the second validity period threshold information (e.g., 12 hours), then a cache material request is sent to the material provider a directly or through a server corresponding to the target application. In some embodiments, the predetermined request triggering condition may also be that, if the number information of the second cached materials in the local cached material library, which is provided by a certain material provider and has a remaining validity duration less than or equal to the third validity threshold information, is less than or equal to the second number threshold, the request for the cached materials is sent to the certain material provider directly or through a server corresponding to the target application. For example, the material provider a provides the cached material with 3 remaining validity period durations each less than or equal to the third validity period threshold information (e.g., 12 hours), and because of being less than the second number threshold (e.g., 5), the cached material request is issued to the material provider a directly or through the server corresponding to the target application.
In some embodiments, the request trigger condition comprises: one or more second cache materials provided by the material provider exist in the one or more third cache materials, wherein the residual validity duration of the one or more second cache materials is less than or equal to the first validity threshold information; wherein the sending a request for caching the material to the material provider comprises: 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 cache materials MA1, MA2, MA3, the material provider B provides 2 materials MB1, MB2, and the remaining validity period duration (e.g., 6 hours) of the 5 cache materials MA1 and MB1 is smaller than the first validity period threshold information (e.g., 12 hours), a cache material request is issued to the material provider a corresponding to MA1, and a cache material request is issued to the material provider B corresponding to MB 1.
For another example, the material provider a provides 3 pieces of cache materials MA1, MA2, and MA3, the material provider B provides 2 pieces of materials MB1 and MB2, and if the remaining validity period duration (e.g., 6 hours) of the 5 pieces of cache materials MA1 and MA2 is smaller than the first validity period threshold information (e.g., 12 hours), a cache material request is issued to the material provider a corresponding to the MA 1.
FIG. 3 illustrates a flow diagram of a system method for requesting cached material according to one embodiment of the present application.
As shown in fig. 3, in step S31, in response to a cache material request trigger event for a target application, a user equipment acquires one or more first cache materials that are close to 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 step S11, and is not described herein again; in step S32, the user device determines whether the amount of the one or more first cache materials is greater than or equal to a predetermined first amount threshold; if so, determining whether the cache material request frequency of the target application meets a predetermined frequency condition, where step S32 is the same as or similar to step S12, and is not repeated herein; 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 third cache materials that are not expired in the local cache material library, 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 less than or equal to a predetermined third time interval threshold, step S33 is the same as or similar to step S13, and is not described herein again; in step S34, the server receives the cache material indication information, and determines whether the target application satisfies a predetermined request trigger 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 steps S21 and S22, and is not described herein again.
With the development of the times, people increasingly acquire corresponding information through application programs on intelligent equipment, and accordingly, more and more material providers promote the materials in the application programs through cooperation with service providers of the application programs, for example, some advertisers usually put exclusive advertisements (such as open screen advertisements and screen insertion advertisements) on the application programs, and the exclusive promotion mode can play a good promotion role.
The application finds that the exclusive popularization mode in the prior art has the following problems: 1) in order to make a sufficient bid, an application program for promoting the material requests advertisements from a plurality of material providers (such as advertisement providers), some of the advertisement materials provided by the material providers have short expiration time, and some of the advertisement materials have long expiration time, which may cause that the previous advertisements are not expired and not exposed, and the bidding of the advertisement providers is reduced when the application program makes a pre-request; 2) in order to improve the display rate, the application program needs to pre-request advertisement materials for multiple times, but many users do not open the application in the same day, so that the waste of the request is caused, the benefit of a material provider is influenced, and the evaluation of the application program by the material provider is possibly deteriorated; 3) when the material is triggered to be displayed, when only one material is in the local cache library, two strategies are generally available in the industry, including a strategy of inquiring the server side to display (business logic may be unreasonable) and a strategy of directly displaying the material (the material may become inefficient).
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 corresponding to a target application can be obtained, at least one second cache material which is not expired in the local cache material library is obtained when the target application meets a preset request triggering condition, 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; moreover, different frequency control can be adopted for the user by distinguishing high opening probability from low opening probability, and the higher the opening frequency of the user is, the higher the frequency of requesting materials is; in addition, when only one material exists, different response measures of immediate display or re-request can be adopted by judging whether the material is the internal pocket advertisement with lower value, and the technical purposes of increasing the recall rate and the offer price of a material provider, reducing the request frequency, and increasing the advertisement quality and the exposure duration are achieved.
Fig. 4 is a schematic flowchart illustrating an exemplary process of requesting to cache a material according to the present application, which specifically includes the following processes: firstly, triggering and counting the number N of the approaching overdue local cache materials in the application program (namely counting the number of the first cache materials in the local cache materials); judging whether N is smaller than a preset threshold value M (namely a first quantity threshold value), if so, ending the process; if not, judging whether the request frequency F is met, and if not, ending the process; if yes, the application program sends a cache material request to a retrieval end (namely a server end corresponding to the application program) to request for caching the material, and the cache material request can carry a dsp source and expiration time of the unexpired material; and then the retrieval end receives the cache material request, calculates time intervals T1, T2, … and tn of the distance between each unexpired advertisement and the expiration time, does not request the corresponding dsp if tx (x is 1,2, … and n) is greater than a preset threshold value T, and ends the process, otherwise, requests the corresponding dsp.
Fig. 5 is a schematic flow chart illustrating an example of the present application for displaying cached materials, 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 only 1 unexpired advertisement exists, if not, requesting a server (if overtime, displaying the advertisement according to the client rule); if yes, judging whether the only unexpired advertisement is not the inner pocket bottom light change with lower value, if yes, directly displaying the advertisement, otherwise, requesting an advertisement and displaying (displaying the pocket bottom advertisement if overtime).
Fig. 6 shows a block diagram of a user equipment for requesting to cache material according to an embodiment of the present application, which includes a one-module 11, a two-module 12 and a three-module 13. A one-to-one module 11, configured to, in response to a cache material request trigger event for a target application, acquire one or more first cache materials that are close to expiration in a local cache material library corresponding to the target application, where a first time interval between expiration time and current time of each of 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 so, determine whether a cache material request frequency of the target application meets a predetermined frequency condition; and a third module 13, configured to send 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 predetermined frequency condition.
A module 11, configured to, in response to a cache material request trigger event for a target application, obtain one or more first cache materials that are close to expiration in a local cache material library corresponding to the target application, where a first time interval between expiration time and current time of each of the one or more first cache materials is less than or equal to a predetermined first time interval threshold. In some embodiments, the cached material request triggering event includes, but is not limited to, a background pull of the target application, a push message received by the target application, and the like. In some embodiments, in response to a cache material request trigger event, one or more first cache materials that are approaching expiration are obtained from a local cache material library corresponding to the target application, where approaching expiration refers to a time interval between an expiration time of the cache materials and a current time being less than or equal to a predetermined time interval threshold (e.g., 30 minutes).
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 so, determine whether a cache material request frequency of the target application meets a predetermined frequency condition. In some embodiments, if the number of first cache materials that are approaching expiration 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 the cached material request by the target application satisfies the predetermined frequency condition may be determining whether the number of times the target application issues the cached material request within a predetermined time range (e.g., the last week, the 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 cache material request frequency of the target application satisfies the predetermined frequency condition may also be determining whether a time interval from a current time to a request time corresponding to the last cache material request is greater than or equal to a predetermined time interval threshold (e.g., 3 days, one week).
And a third module 13, configured to send 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 predetermined 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 cache material, and only under a condition that the time interval is less than or equal to a predetermined time interval threshold, the target application directly sends a cache material request to a material provider (e.g., a dsp requester platform) corresponding to the second cache material, or sends a cache material request to a material provider corresponding to the second cache material through a server (e.g., an adx real-time bidding transaction platform) corresponding to the target application, and receives a new cache material returned by the material provider based on the cache material request, and stores the new cache material in the local cache material library. As another implementation manner of this embodiment, the target application sends, to a server (e.g., adx real-time bid transaction platform) corresponding to the target application, cache material indication information, where the cache material indication information includes 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., the dsp demander platform), including without limitation ID information, name information, tag information, and the like of the material provider. The server receives cache material indication information which is sent by the target application and comprises material provider identification information and expiration time corresponding to each expired second cache material, judges the time interval between the expiration time and the current time of each unexpired second cache material, sends a cache material request to a material provider corresponding to the second cache material only under the condition that the time interval is smaller than or equal to a preset time interval threshold value, receives new cache materials returned by the material provider based on the cache material request, and returns the new cache materials 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. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, the request trigger condition comprises: one or more second cache materials provided by the material provider exist in the local cache material library, wherein the residual effective period duration of the one or more second cache materials is less than or equal to first effective period threshold information; wherein the sending a request for caching the material to the material provider comprises: 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. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, the local cache material library is configured to store exclusive cache materials, where the exclusive cache materials include screen-on cache materials and/or screen-on cache materials. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, the first number threshold is determined according to the number of material providers corresponding to the server corresponding to the target application. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, the first number threshold is determined based on the number of material providers corresponding to the target application and based on the following formula: num of N0+ NDSP (k1-1/NDSP), where Num represents the first number threshold, NDSP represents the number of material providers corresponding to the target application, k1 is a first adjustment coefficient, and N is a first adjustment coefficient0A default value (e.g., 5) representing the first quantity threshold. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein 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 frequency of sending the cache material request by the target application in a preset time range is less than or equal to a preset frequency threshold value, if so, determining that the cache material request frequency of the target application meets a preset frequency condition. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein 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 between the current time and the request time corresponding to the last cache material request is greater than or equal to a preset third time interval threshold value or not, and if so, determining that the cache material request frequency of the target application meets a preset frequency condition. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, the last cached material request successfully returns new cached material. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, the third time interval threshold is determined based on a user turn-on frequency. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, the method further comprises: calculating the third time interval threshold based on the following formula: t ═ 1+ k2/N0) T0, where T denotes the third time interval threshold, T0 denotes the actual time interval between the last two requests to cache material, k2 denotes a second adjustment factor, N0Indicating the user's frequency of opening. In some embodiments, k2 is less than or equal to N0. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein 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 includes material provider identification information and expiration time corresponding to one or more third cache materials which are not expired 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 less than or equal to a preset third time interval threshold. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, the apparatus is further configured 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 or not; if yes, detecting whether only one fourth cache material exists; and if the fourth cache material only exists, judging whether the fourth cache material only exists is the bottom-finding material, and if not, displaying the fourth cache material only exists. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, the apparatus is further configured to: if the unexpired fourth cache material does not exist in the local cache material library, sending a first display material request to a server corresponding to the target application; and obtaining a first target material returned by the server based on the first material displaying request, and displaying the first target material. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, the apparatus is further configured to: if multiple 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 plurality of fourth cache materials according to the material display rule, and displaying the second target material. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, the apparatus is further configured to: if the material display rule returned by the server is not obtained after overtime, obtaining a local material display rule; and selecting a third target material from the plurality of fourth cache materials according to the local material display rule, and displaying the third target material. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, the apparatus is further configured to: if the only one fourth cache material is a bottom-finding material, sending a second display material request 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. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
In some embodiments, the apparatus is further configured to: and if the fourth target material returned by the server is not obtained after time-out, displaying the bottom-pocketed material. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
Fig. 7 shows a structure of a server for requesting to cache material according to an embodiment of the present application, where the server includes two modules 21 and two modules 22. A second-first 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 third cache materials that are not expired 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 of the one or more third cache materials is less than or equal to a predetermined third time interval threshold; and a second module 22, configured to determine whether the target application meets a predetermined request trigger condition according to the cache material indication information, and if so, send a cache material request to a material provider corresponding to the target application.
A 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 third cache materials that are not expired 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 of 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., the dsp demander platform), including without limitation ID information, name information, tag information, and the like of the material provider.
And a second module 22, configured to determine whether the target application meets a predetermined request trigger condition according to the cache material indication information, 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 a second cache material, which includes at least one remaining validity period duration less than or equal to the first validity period threshold information, exists in one or more second cache materials provided by a certain material provider in the local cache material library, and a cache material request is sent to the material provider directly or through a server corresponding to the target application, where the remaining validity period duration refers to a duration corresponding to a time interval between an expiration time of a certain cache material that has not expired yet and a current time. In some embodiments, the predetermined request triggering condition may also be that a remaining validity duration of each of one or more second cached materials provided by a certain material provider exists in the local cached material library, and is less than or equal to the second validity threshold information, 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 predetermined request triggering condition may also be that, if the number information of the second cached materials in the local cached material library, which is provided by a certain material provider and has a remaining validity duration less than or equal to the third validity threshold information, is less than or equal to the second number threshold, the request for the cached materials is sent to the certain material provider directly or through a server corresponding to the target application.
In some embodiments, the request trigger condition comprises: one or more second cache materials provided by the material provider exist in the one or more third cache materials, wherein the residual validity duration of the one or more second cache materials is less than or equal to the first validity threshold information; wherein the sending a request for caching the material to the material provider comprises: 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. Here, the related operations are the same as or similar to those of the embodiment shown in fig. 1, and therefore are not described again, and are included herein by reference.
FIG. 8 illustrates an exemplary system that can be used to implement the various embodiments described in this application.
In some embodiments, as shown in FIG. 8, the system 300 can be implemented as any of the devices in the various embodiments described. 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 modules to perform the actions described herein.
For one embodiment, system control module 310 may include any suitable interface controllers to provide any suitable interface to at least one of processor(s) 305 and/or any suitable device or component in communication with 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.
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 non-volatile memory (e.g., flash memory) and/or may include any suitable non-volatile 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 may be accessed by the device and not necessarily part of the device. For example, NVM/storage 320 may be accessible 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. System 300 may wirelessly communicate with one or more components of a wireless network according to 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 for one or more controller(s) (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 for one or more controller(s) of the system control module 310 to form a System In Package (SiP). For one embodiment, at least one of the processor(s) 305 may be integrated on the same die with logic for one or more controller(s) 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 for one or more controller(s) of the system control module 310 to form a system on a chip (SoC).
In various embodiments, system 300 may be, but is not limited to being: a server, a workstation, a desktop computing device, or a mobile computing device (e.g., a laptop computing device, a holding computing device, a tablet, a 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, a keyboard, a Liquid Crystal Display (LCD) screen (including a touch screen display), a non-volatile memory port, multiple antennas, a graphics chip, an Application Specific Integrated Circuit (ASIC), and speakers.
The present application also provides a computer readable storage medium having stored thereon computer code which, when executed, performs a method as in any one of the preceding.
The present application also provides a computer program product, which when executed by a computer device, performs the method of any of the preceding claims.
The present application further 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, for example, implemented using Application Specific Integrated Circuits (ASICs), general purpose computers or any other similar hardware devices. In one embodiment, the software programs of the present application may be executed by a processor to implement the steps or functions described above. Likewise, the software programs (including associated data structures) of the present application may be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Additionally, some of the 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.
In addition, some 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 through the operation of the computer. Those skilled in the art will appreciate that the form in which the computer program instructions reside on a computer-readable medium includes, but is not limited to, source files, executable files, installation package files, and the like, and that 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. Computer-readable media herein can be any available computer-readable storage media or communication media that can be accessed by a computer.
Communication media includes media by which communication signals, including, for example, computer readable instructions, data structures, program modules, or other data, are transmitted from one system to another. Communication media may include conductive transmission media such as cables and wires (e.g., fiber optics, coaxial, etc.) and wireless (non-conductive transmission) media capable of propagating energy waves such as acoustic, electromagnetic, RF, microwave, and infrared. Computer readable instructions, data structures, program modules, or other data may be embodied in a modulated data signal, for example, in a wireless medium such as a carrier wave or similar mechanism such as is embodied as part of spread spectrum techniques. 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 non-volatile memory such as flash memory, various read-only memories (ROM, PROM, EPROM, EEPROM), magnetic and ferromagnetic/ferroelectric memories (MRAM, FeRAM); and magnetic and optical storage devices (hard disk, tape, CD, DVD); or other now known media or later developed that can store computer-readable information/data for use by a computer system.
An embodiment according to the present 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 perform a method and/or a solution according to the aforementioned embodiments of the present application.
It will be evident to those skilled in the art that the present 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 attributes 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 obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.
Claims (23)
1. A method for requesting to cache materials is applied to a user equipment side, wherein the method comprises the following steps:
responding to a cache material request trigger event aiming at a target application, and acquiring one or more first cache materials which are close to expiration in a local cache material library corresponding to the target application, 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 less than or equal to a preset first time interval threshold value;
determining whether the quantity of the one or more first cache materials is greater than or equal to a predetermined first quantity threshold; if yes, 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.
2. The method according to claim 1, wherein the sending a request for cached material to a material provider corresponding to the target application if the frequency of the request for cached material of the target application satisfies the predetermined frequency condition comprises:
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 trigger condition comprises:
one or more second cache materials provided by the material provider exist in the local cache material library, wherein the residual effective period duration of the one or more second cache materials is less than or equal to first effective period threshold information;
wherein the sending a request for caching the material to the material provider comprises:
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 materials library is configured to store exclusively cached materials, the exclusively cached materials including on-screen cached materials and/or on-screen cached materials.
5. The method of claim 1, wherein the first number threshold is determined according to a number of material providers to which the target application corresponds.
6. The method of claim 5, wherein the first number threshold is determined based on the number of material providers to which the target application corresponds and based on the following formula:
Num=N0+NDSP*(k1-1/NDSP)
where Num represents the first number threshold, NDSPRepresenting the number of material providers corresponding to the target application, k1 is a first adjustment coefficient, N0A default value representing the first quantity threshold.
7. The method of claim 1, wherein the determining whether the cached material request frequency of the target application satisfies a predetermined frequency condition comprises:
and judging whether the frequency of sending the cache material request by the target application in a preset time range is less than or equal to a preset frequency threshold value, if so, determining that the cache material request frequency of the target application meets a preset frequency condition.
8. The method of claim 1, wherein the determining whether the cached material request frequency of the target application satisfies a predetermined frequency condition comprises:
and judging whether the time interval between the current time and the request time corresponding to the last cache material request is greater than or equal to a preset second time interval threshold value or not, and if so, determining that the cache material request frequency of the target application meets a preset frequency condition.
9. The method of claim 8, wherein the last cached material request successfully returns a new cached material.
10. The method of claim 8 or 9, wherein the second time interval threshold is determined based on a user turn-on frequency.
11. The method of claim 10, wherein the method further comprises:
calculating the second time interval threshold based on the following formula:
T=(1+k2/N0)*T0
where T represents the second time interval threshold, T0 represents the actual time interval between the last two requests to cache material, k2 represents a second adjustment factor, N0Indicating the user's on frequency.
12. The method according to claim 1, wherein the sending a request for cached material to a material provider corresponding to the target application if the frequency of the request for cached material of the target application satisfies the predetermined frequency condition comprises:
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 includes material provider identification information and expiration time corresponding to one or more third cache materials which are not expired 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 less than or equal to a preset third time interval threshold.
13. The method of any of claims 1 to 12, 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 or not;
if yes, detecting whether only one fourth cache material exists;
and if the fourth cache material only exists, judging whether the fourth cache material only exists is the bottom-finding material, and if not, displaying the fourth cache material only exists.
14. The method of claim 13, wherein the method further comprises:
if the unexpired fourth cache material does not exist in the local cache material library, sending a first display material request to a server corresponding to the target application;
and obtaining a first target material returned by the server based on the first material displaying request, and displaying the first target material.
15. The method of claim 13 or 14, wherein the method further comprises:
if multiple 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 plurality of fourth cache materials according to the material display rule, and displaying the second target material.
16. The method of claim 15, wherein the method further comprises:
if the material display rule returned by the server is not obtained after overtime, obtaining a local material display rule;
and selecting a third target material from the plurality of fourth cache materials according to the local material display rule, and displaying the third target material.
17. The method of any of claims 13 to 16, wherein the method further comprises:
if the only one fourth cache material is a bottom-finding material, sending a second display material request 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.
18. The method of claim 17, wherein the method further comprises:
and if the fourth target material returned by the server is not obtained after time-out, displaying the bottom-pocketed material.
19. A method for requesting to cache materials is applied to a server side, wherein the method comprises the following steps:
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 third cache materials which are not expired 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 preset third time interval threshold;
judging whether the target application meets a preset request triggering condition or not according to the cache material indication information; and if so, sending a cache material request to a material provider corresponding to the target application.
20. The method of claim 19, wherein the request trigger condition comprises:
one or more second cache materials provided by the material provider exist in the one or more third cache materials, wherein the residual validity duration of the one or more second cache materials is less than or equal to the first validity threshold information;
wherein the sending a request for caching the material to the material provider comprises:
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.
21. A method of requesting cached material, wherein the method comprises:
the method comprises the steps that a user device responds to a cache material request trigger event aiming at a target application, and one or more first cache materials which are close to expiration 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 value;
the user equipment judges whether the quantity of the one or more first cache materials is larger than or equal to a preset first quantity 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, 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 third cache materials which are not expired in the local cache material library, and the 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 server receives the cache material indication information and judges whether the target application meets a preset request triggering condition or not according to the cache material indication information; and if so, sending a cache material request to a material provider corresponding to the target application.
22. An apparatus for requesting caching of material, wherein the apparatus comprises:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to perform the method of any of claims 1 to 20.
23. A computer-readable medium storing instructions that, when executed, cause a system to perform the operations of any of the methods of claims 1-20.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010198168.3A CN111382321B (en) | 2020-03-19 | 2020-03-19 | Method and equipment for requesting cache materials |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010198168.3A CN111382321B (en) | 2020-03-19 | 2020-03-19 | Method and equipment for requesting cache materials |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111382321A true CN111382321A (en) | 2020-07-07 |
CN111382321B CN111382321B (en) | 2023-10-27 |
Family
ID=71217297
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010198168.3A Active CN111382321B (en) | 2020-03-19 | 2020-03-19 | Method and equipment for requesting cache materials |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111382321B (en) |
Citations (4)
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 |
-
2020
- 2020-03-19 CN CN202010198168.3A patent/CN111382321B/en active Active
Patent Citations (4)
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)
Title |
---|
潘伟杰;李少波;许吉斌;: "自适应时间阈值的RFID数据清洗算法" * |
郭刚;: "内蒙古广播电视台IP化集中收录系统设计" * |
Also Published As
Publication number | Publication date |
---|---|
CN111382321B (en) | 2023-10-27 |
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 | |
CN110781397B (en) | Method and equipment for providing novel information | |
CN111159536B (en) | Method and device for pushing presentation information in reading application | |
CN113034233B (en) | Method, apparatus, medium and program product for allocating resources in a reading application | |
CN111427650A (en) | Method and equipment for providing presence information | |
CN111523039B (en) | Method and device for processing book promotion request in reading application | |
CN111008327B (en) | Method and device for pushing books in reading application | |
CN109409947B (en) | Resident trip investigation method based on client | |
CN111177062B (en) | Method and device for providing reading presentation information | |
CN111506233B (en) | Method and equipment for providing book information in reading application | |
CN111666249B (en) | Method and device for acquiring target reading mode in reading application | |
CN111382321B (en) | Method and equipment for requesting cache materials | |
CN111666195A (en) | Method and apparatus for providing video information or image information | |
CN111400235A (en) | Method and equipment for acquiring reading resource information in reading application | |
CN110766464A (en) | Method and equipment for controlling presence information | |
CN111666250B (en) | Method and device for processing book promotion request information in reading application | |
CN110781431A (en) | Method and equipment for providing novel information | |
CN111385353B (en) | Method and equipment for providing application presentation information | |
CN111680250A (en) | Method and equipment for recalling presentation information | |
CN111309219B (en) | Method and equipment for providing presence information | |
CN111130918B (en) | Method and equipment for presenting information flow | |
CN114821410A (en) | Method and equipment for determining object association information of target object | |
CN109245938B (en) | Method and equipment for executing resource configuration operation of user |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |