CN112073525B - Advertisement pushing method and device and electronic equipment - Google Patents
Advertisement pushing method and device and electronic equipment Download PDFInfo
- Publication number
- CN112073525B CN112073525B CN202010956419.XA CN202010956419A CN112073525B CN 112073525 B CN112073525 B CN 112073525B CN 202010956419 A CN202010956419 A CN 202010956419A CN 112073525 B CN112073525 B CN 112073525B
- Authority
- CN
- China
- Prior art keywords
- advertisement
- strategy
- configuration information
- cache
- policy
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 230000008030 elimination Effects 0.000 claims description 32
- 238000003379 elimination reaction Methods 0.000 claims description 32
- 230000008569 process Effects 0.000 claims description 14
- 238000012545 processing Methods 0.000 claims description 10
- 230000008901 benefit Effects 0.000 description 4
- 230000007246 mechanism Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000001276 controlling effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000036316 preload Effects 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
-
- 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
-
- 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/0277—Online advertisement
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Strategic Management (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- Finance (AREA)
- Economics (AREA)
- Game Theory and Decision Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Marketing (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses an advertisement pushing method, which is applied to a mobile terminal and comprises the following steps: acquiring and storing an advertisement strategy combination, wherein the advertisement strategy combination comprises at least two cache advertisement strategies with different configuration information; generating an advertisement space pushing request based on a preloading strategy of the configuration information; according to the advertisement space pushing request, obtaining advertisement content of a cache advertisement strategy corresponding to the advertisement space pushing request; and displaying the advertisement content at the target advertisement space. The invention provides a combination mode of multiple advertisement strategies, configuration information among the advertisement strategies is different, and the delivery modes of multiple advertisement strategies in the same advertisement position meet different requirements, for example, different advertisement strategies are used in different time periods, and an advertiser can carry out random arrangement and combination on the advertisement strategies.
Description
Technical Field
The invention belongs to the technical field of internet advertisements, and particularly relates to an advertisement pushing method and device and electronic equipment.
Background
Meanwhile, in the process that a user accesses the internet through the mobile terminal, more and more advertisers tend to show advertisements (such as audio, video and application advertisements) to the user through network media (such as an application program of the mobile terminal), and the media information advertisements are purposefully pushed to the user of the mobile terminal by utilizing advertisement resources.
However, the existing advertisement strategy applied to the media information advertisement pushed by the mobile terminal has low effective utilization rate of the advertisement resources of the mobile terminal.
Disclosure of Invention
The present invention is directed to the foregoing technical problem, and provides an advertisement push method, an advertisement push apparatus and an electronic device.
In order to solve the above problems, the present invention is implemented according to the following technical scheme, which mainly comprises the following aspects:
in a first aspect, the present invention provides an advertisement push method, which is applied to a mobile terminal, and the method includes:
acquiring and storing an advertisement strategy combination, wherein the advertisement strategy combination comprises at least two cache advertisement strategies with different configuration information;
generating an advertisement space pushing request based on a preloading strategy of the configuration information;
obtaining a cache advertisement strategy corresponding to the advertisement space pushing request;
and displaying the advertisement content of the cache advertisement strategy corresponding to the advertisement space pushing request.
With reference to the first aspect, the present invention provides a second possible implementation manner of the first aspect, where generating an ad spot pushing request based on a preloading policy of configuration information specifically includes:
when the application program is started, the advertisement space pushing request is generated in real time,
or, in the process of running the application program, generating the advertisement space pushing request.
With reference to the first aspect, the present invention provides a third possible implementation manner of the first aspect, where the obtaining of the advertisement policy combination is stored, where the obtaining of the advertisement policy combination specifically includes:
sending an advertisement putting request to a server according to a preset period;
and acquiring an advertisement strategy combination issued by the server, and replacing the stored advertisement strategy combination with the advertisement strategy combination issued by the server.
With reference to the first aspect, the present invention provides a fourth possible implementation manner of the first aspect, where the obtaining of the advertisement policy combination is stored, where the obtaining of the advertisement policy combination specifically includes:
and acquiring the advertisement strategy combination issued by the server in real time, and replacing the stored advertisement strategy combination by using the advertisement strategy combination issued by the server in real time.
With reference to the first aspect, the present invention provides a fifth possible implementation manner of the first aspect, wherein the obtaining and storing the advertisement policy combination specifically includes:
storing a cache advertisement strategy based on a storage strategy of the configuration information;
the storage strategy adopts one or more combinations of key-value storage, chain storage of a hash table and SQL data caching.
With reference to the first aspect, the present invention provides a sixth possible implementation manner of the first aspect, wherein the configuration information includes an advertisement elimination policy, and the advertisement elimination policy includes an MRU replacement policy, an LFU replacement policy, or a FIFO replacement policy.
With reference to the first aspect, the present invention provides a seventh possible implementation manner of the first aspect, where the cache advertisement policy includes:
the effective caching advertisement strategy is characterized in that the storage strategy of the configuration information is key-value storage, and the advertisement elimination strategy of the configuration information uses an MRU replacement strategy;
the memory cache advertisement strategy is based on the storage strategy of the configuration information, namely the chained storage of a hash table, and the advertisement elimination strategy of the configuration information uses an LFU replacement strategy;
and the disk cache advertisement strategy is based on the storage strategy of the configuration information, the storage strategy is SQL data cache, and the advertisement elimination strategy of the configuration information uses an FIFO replacement strategy.
With reference to the first aspect, the present invention provides an eighth possible implementation manner of the first aspect, wherein the preloading policy of the configuration information of the effective caching advertisement policy is to generate an advertisement space pushing request in real time after an application program is started;
the preloading strategy of the configuration information of the internal memory cache advertisement strategy is used for starting an application program to generate an advertisement position pushing request;
the preloading strategy of the configuration information of the disk cache advertisement strategy comprises the following steps:
and calculating an idle time period of the application program, judging whether the duration of the idle time period meets a preset duration, and if so, generating an advertisement space pushing request.
In a second aspect, the present invention further provides an advertisement delivery device, including:
the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring and storing an advertisement strategy combination, and the advertisement strategy combination comprises at least two cache advertisement strategies with different configuration information;
the request module is used for generating an advertisement space pushing request based on the preloading strategy of the configuration information;
the matching module is used for acquiring a cache advertisement strategy corresponding to the advertisement space pushing request;
and the execution module is used for displaying the advertisement content of the cache advertisement strategy corresponding to the advertisement space pushing request.
In a third aspect, the present application further provides an electronic device, including a processor and a memory, where the processor is connected to the memory, and the memory stores machine-readable instructions executable by the processor, and when the electronic device runs, the machine-readable instructions are executed by the processor to perform the steps of the method in any one of the first to seventh aspects. .
Compared with the prior art, the invention has the beneficial effects that:
the invention provides a combination mode of multiple advertisement strategies, configuration information among the advertisement strategies is different, and the different demands are met by the same advertisement position and the delivery modes of multiple advertisement strategies, thereby realizing the use of different advertisement strategies in different time periods and improving the utilization rate of the advertisement position. And the advertiser can carry out any permutation and combination on the advertisement strategies.
In order to make the aforementioned objects, features and advantages of the embodiments of the present application more comprehensible, embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic flowchart of an advertisement push method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of generating an ad slot push request based on a preload policy according to a second embodiment of the present invention;
fig. 3 is a schematic flowchart of obtaining and storing an advertisement policy combination according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an advertisement push device according to a seventh embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. The following detailed description of the embodiments of the present application is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application.
Cache refers to a memory capable of high-speed data exchange, and the data exchange with a processor is performed before the memory, and the speed is high. The working principle of the cache is that when a processor needs to read a piece of data, the data reading sequence of the processor is caching firstly and then storing in a memory. Firstly, searching from a processor cache, and immediately reading and sending to a processor for processing when the processor cache is found; if the data is not found, the data is read from the memory with relatively low speed and sent to the processor for processing, and the data block where the data is located is called into the cache, so that the whole data can be read from the cache later without calling the memory. The cache data of the smart phone is a temporary file downloaded by the application program in the using process, and is convenient to call quickly in the next using process.
In the following description of the present invention, an advertisement slot may be understood as an area where an application program places a media information advertisement in a display page, where an advertisement resource is a resource that can be utilized to push an advertisement to a mobile terminal, and the following attempts are made to exemplify the advertisement resource, but the form of the advertisement resource is not limited to the following: the advertisement position in the application (such as a multimedia information playing application, a social application and a shopping application) run by the mobile terminal (such as an advertisement position before an interface for loading the application when the application is started, an advertisement position in the interface for the application, and an advertisement position superposed on the interface for the application in the running process of the application). The mobile terminal accesses the advertisement position of the webpage arranged in the webpage; and the mobile terminal is positioned at the advertisement position in the multimedia information playing interface before the multimedia information requested by the webpage is loaded in the playing window.
All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
The method of the present invention is applied to a mobile terminal and can be implemented in various forms. For example, the mobile terminal described in the present invention may include a mobile terminal such as a smart phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a vehicle-mounted mobile terminal, and the like. In the following description, a mobile terminal such as a smart phone will be described.
Example 1
Referring to fig. 1, an advertisement push method provided in an embodiment of the present application includes:
s100: and acquiring and storing an advertisement strategy combination, wherein the advertisement strategy combination comprises at least two cache advertisement strategies with different configuration information.
In specific implementation, the advertisement policy combination is issued to the mobile terminal through the server, and the mobile terminal interacts with the server through the communication network to receive the advertisement policy combination issued by the server.
Wherein the advertisement strategy combination comprises at least two cache advertisement strategies with different configuration information. The applicant researches and discovers that the advertisement strategy put in the application program in the industry is single, and the advertisement position of the same application program uses the single advertisement strategy. Before the advertisement is delivered, the advertiser needs to set configuration information of the advertisement policy, such as selection of a delivery type, an advertisement delivery time period, a delivery cycle, and other attribute parameters and association rules of the advertisement. And after the advertiser issues the advertisement, the mobile terminal pushes the advertisement according to the current advertisement strategy.
Because a single advertisement strategy can not meet the requirements of advertisers on different advertisement strategies, and the way of the single advertisement strategy is adopted, in practical application, the advertisement strategy is continuously modified or added, and a new strategy to be advertised needs to be issued to the mobile terminal, so that a server is required to access the mobile terminal in real time through a communication network to issue a new advertisement strategy, otherwise, the advertisement delivery is not timely, the cache can not be updated and off-shelf in time, the advertisements can not be replaced at any time, the benefits of the advertisers are influenced, the utilization rate of the advertisement resources is unreasonable, and the advertisement resources can not be effectively utilized.
The invention provides a combination mode of multiple advertisement strategies, configuration information among the advertisement strategies is different, and the same advertisement position can meet different requirements by using different advertisement strategies at different time periods, so that an advertiser can carry out random arrangement and combination on the advertisement strategies.
S200: and generating an advertisement space pushing request based on the preloading strategy of the configuration information.
In this embodiment, the configuration information of the cache advertisement policy includes a pre-loading policy, where the pre-loading policy is used to automatically generate an advertisement slot pushing request, and the advertisement slot pushing request is used to push a target advertisement content in a current advertisement slot. In one embodiment, the mobile terminal runs an application program, and the operation of the user triggers a preloading strategy, so that an advertisement space pushing request is generated.
S300: and according to the advertisement space pushing request, obtaining the advertisement content of the cache advertisement strategy corresponding to the advertisement space pushing request.
In this embodiment, the caching advertisement policy includes configuration information and advertisement content, where the configuration information includes configurations such as a storage policy, a preloading policy, an advertisement elimination policy, and a failed reconnection policy. The advertisement content may be multimedia data such as pictures, videos, and the like.
S400: and displaying the advertisement content at the target advertisement space.
In this embodiment, the target advertisement slot may be an advertisement slot in an application (e.g., a multimedia information playing application, a social application, a shopping application) run by the mobile terminal (e.g., an advertisement slot before an interface of a loaded application when the application is started, an advertisement slot in an interface of the application, and an advertisement slot superimposed on an interface of the application during the running of the application).
Example 2
As shown in fig. 2, a second embodiment of the present application further provides an implementation manner, where generating an advertisement slot pushing request based on a preloading policy of configuration information specifically includes:
and S210, generating an advertisement space pushing request in real time when the application program is started.
In the embodiment, the preloading strategy is set to generate the advertisement space pushing request in real time when the mobile terminal starts the application program. Specifically, the target ad slot of the cache ad policy adopting the preloading policy may be an ad slot before an interface of the application program is loaded or an ad slot after the interface. This pre-loading strategy is generally applied to an effective advertisement strategy, and the pushing time period of the advertisement content is generally within 5 s. And after the advertisement content is displayed in the advertisement space before the interface of the application program is loaded or after the interface is displayed, the advertisement content is not repeatedly pushed.
The second embodiment of the present application further provides another implementation manner, where generating an advertisement space pushing request based on a preloading policy of configuration information specifically includes:
and S220, generating an advertisement space pushing request in the process of running the application program.
In the embodiment, the preloading strategy is set to generate the advertisement space pushing request based on user operation or automatically in the process of running the application program. Specifically, the target advertisement position of the cache advertisement strategy adopting the preloading strategy can be an advertisement position in an application program interface or an advertisement position superposed on the application program interface.
Based on the user operation, the user may click a menu bar or a virtual key of an application interface. The automatic triggering may be that the advertisement space pushing request is automatically generated within a preset time interval after the user opens the application program. Or after the application program is started, the advertisement space pushing request is automatically generated in an idle time period.
Example 3
As shown in fig. 3, a third embodiment of the present application provides an implementation manner of obtaining and storing an advertisement policy combination, where the obtaining of the advertisement policy combination specifically includes:
s110: and sending an advertisement putting request to a server according to a preset period.
In a specific embodiment, since in a real application, such as a real advertisement policy, the update frequency of the pushed advertisement content is high, a new policy to be advertised needs to be issued to the mobile terminal. Therefore, in order to meet the requirement of increasing effectiveness of updating of different advertisement strategies, the mobile terminal is set to actively request for updating, and the advertisement strategies are automatically requested to be updated according to the period. Specifically, the preset period may be twice a day, which is 12 am and 6 pm, respectively, and the preset period is not limited in the present invention. Preferably, the mobile terminal can also be combined with a combined request mode of sending an advertisement putting request to the server based on the starting operation of the application program. The server acquires the advertisement putting request and identifies the corresponding advertisement strategy combination according to the advertisement putting request to issue.
S120: and acquiring an advertisement strategy combination issued by the server, and replacing the stored advertisement strategy combination with the advertisement strategy combination issued by the server.
Specifically, for different cache advertisement strategies, replacement and updating are performed based on different advertisement elimination strategies in the configuration information. Specifically, the advertisement elimination strategy may adopt the existing:
first-in first-out (FIFO), i.e. the data that is first-in to the cache, will be cleared away preferentially in case of insufficient space, preferentially ensuring that the data of the latest advertisement policy is available.
LRU (last received Used) culls the page that has not been Used for the longest time, taking time as a reference. The elements that use the most distant timestamp are cleared to free space based on the timestamp that the element was last used.
According to the using times of elements, the Least Used element is eliminated and eliminated, and the times are Used as reference.
MRU (Most recycled used): in contrast to LRU, when the cache is full, the most recently used entry is removed.
The elimination strategies have different efficiency and cost when being executed on caches of different levels, and a proper one can be selected according to a specific cache advertisement strategy.
The third embodiment of the present application provides another implementation way, where obtaining an advertisement policy combination for storage specifically includes:
s130: and acquiring the advertisement strategy combination issued by the server in real time, and replacing the stored advertisement strategy combination with the advertisement strategy combination issued by the server in real time.
In the embodiment, the server actively issues the advertisement strategy combination, and the mobile terminal is passively updated.
Example 4
The fourth embodiment of the present application provides an implementation manner, where the obtaining of the advertisement policy combination for storage specifically includes:
storing a cache advertisement strategy based on a storage strategy of the configuration information;
the storage strategy adopts one or more combinations of key-value storage, chain storage of hash tables and SQL data caching.
The application of the above-mentioned storage strategy to a mobile terminal is known to those skilled in the art and will not be described herein in too much detail. For example, when the method is used, an advertisement slot and a plurality of scenes combined with the advertisement slot are selected as a key, a key-value form key-value pair is constructed based on a data structure of the whole cache advertisement strategy as a value, and a JSON string form is used for storing and constructing a hash table.
Example 5
Fifth, an embodiment of the present application provides an implementation manner, where the configuration information includes an advertisement elimination policy, and the advertisement elimination policy includes an MRU replacement policy, an LFU replacement policy, or an FIFO replacement policy.
A first-in first-out (FIFO) policy, i.e. the data that is first-in to the cache, will be cleared away preferentially in case of insufficient space, preferentially ensuring that the data of the latest advertisement policy is available.
According to the using times of elements, the Least Used element is eliminated and eliminated, and the times are Used as reference.
MRU (Most recycled used): in contrast to LRU, when the cache is full, the most recently used entry is removed.
Example 6
The sixth embodiment of the present application provides an implementation manner, where the cache advertisement policy of this embodiment includes three different cache advertisement policies, namely an effective cache advertisement policy, a memory cache advertisement policy, and a disk cache advertisement policy. By adopting the combination of the advertisement strategies,
in the application, the storage strategy in the configuration information of the effective caching advertisement strategy is key-value storage, the advertisement elimination strategy uses an MRU replacement strategy, and the preloading strategy is a real-time generation advertisement space display request after the application program is started. The failed reconnect mechanism reconnects 2, 4, 6, 8, and 10 seconds after failure, for a total of five times.
In this embodiment, the query time of the effective caching advertisement strategy is fast, but the storage space is small, so that the effective caching advertisement strategy is mainly used for pushing the picture advertisement and the storage time is fast. Based on the attribute of the effective caching advertisement strategy, the method is mainly used for pushing the advertisements with short time periods, such as one-time pushing and one-hour pushing. Therefore, the advertisement elimination strategy adopted by the effective cache advertisement is the MRU replacement strategy, when the cache region is full, the most frequently used items are removed, and the new effective advertisement strategy is directly replaced.
In the application, the storage strategy in the configuration information of the memory cache advertisement strategy is the chain storage of the hash table, and the advertisement elimination strategy uses an LFU replacement strategy. The preloading strategy is that an advertisement space display request is generated after the application program is started, or an advertisement space pushing request is generated in the process of running the application program. The failed reconnect mechanism was reconnected 2, 4, 6 seconds after failure, three times in total.
In the embodiment, the query time speed of the memory cache advertisement strategy is moderate, the storage space is moderate, the memory cache advertisement strategy can be used for pushing pictures and video advertisements, and the storage time is moderate. Based on the attributes of the memory cache advertisement strategy, the method can be suitable for advertisements in different time periods, and on the other hand, based on the system architecture difference of the IOS system and the Android system, the memory cache advertisement strategy can be used for more reasonably regulating and controlling the advertisement strategy ratio of three different storage strategies.
In the application, the storage strategy in the configuration information of the disk cache advertisement strategy is SQL data cache, the advertisement elimination strategy uses FIFO replacement strategy, and the preloading strategy is that an advertisement space pushing request is generated in the process of running an application program. The failed reconnect mechanism is reconnected once immediately after failure.
Specifically, the preloading policy of the configuration information of the disk cache advertisement policy includes: and calculating an idle time period of the application program, judging whether the duration of the idle time period meets a preset duration, and if so, generating an advertisement space pushing request.
In this embodiment, the query time of the disk cache advertisement policy is slow, but the storage space is large, and the disk cache advertisement policy can be used for pushing advertisements such as pictures and videos. Based on the attribute of the disk cache advertisement strategy, the method is mainly used for pushing the advertisements with long time period, such as the advertisements pushed in a week. Therefore, the advertisement elimination strategy adopted by the disk cache advertisement strategy is a first-in first-out (FIFO) strategy, namely, the data which is firstly cached can be preferentially cleared under the condition of insufficient space, and the data of the latest advertisement strategy is preferentially ensured to be available.
Further, for the IOS operating system, the occupation ratio of the effectiveness cache advertisement strategy, the memory cache advertisement strategy and the disk cache advertisement strategy of the advertisement strategy combination is 3.
Aiming at the Android operating system, the occupation ratio of the effectiveness cache advertisement strategy, the memory cache advertisement strategy and the disk cache advertisement strategy of the advertisement strategy combination is 2.
The proportion refers to the data size of the advertisement policy. Through the design, the advertisement strategy proportion of each advertisement space is optimized according to different differences of operating systems, and each advertisement space adopts the same proportion. The method and the device have the advantages that the problems of multiple times of pause and blockage when the advertisement strategy is executed in the process of running the application program of the system are solved, the performance and the fluency of the application program when the advertisement pushing is requested are further optimized, and the user experience is improved.
Example 7
As shown in fig. 4, embodiment 7 of the present application provides a schematic structural diagram of an advertisement push apparatus, where the apparatus includes an obtaining module, a requesting module, a matching module, and an executing module; wherein,
the acquisition module is used for acquiring and storing an advertisement strategy combination, and the advertisement strategy combination comprises at least two cache advertisement strategies with different configuration information;
the request module is used for generating an advertisement space pushing request based on a preloading strategy of configuration information;
the matching module is used for acquiring a cache advertisement strategy corresponding to the advertisement space pushing request;
the execution module is used for displaying the advertisement content of the cache advertisement strategy corresponding to the advertisement space pushing request.
In a specific implementation, the request module is specifically configured to generate an advertisement slot pushing request according to a preloading policy based on configuration information in the following steps, and specifically includes:
when the application program is started, the advertisement space pushing request is generated in real time,
or generating the advertisement space pushing request in the process of running the application program.
In a specific implementation, the obtaining module is specifically configured to obtain the advertisement policy combination according to the following steps, and specifically includes:
sending an advertisement putting request to a server according to a preset period;
and acquiring an advertisement strategy combination issued by the server, and replacing the stored advertisement strategy combination with the advertisement strategy combination issued by the server.
Or, the advertisement strategy combination issued by the server in real time is obtained, and the stored advertisement strategy combination is replaced by the advertisement strategy combination issued by the server in real time.
In a specific implementation, the obtaining module is specifically configured to obtain the advertisement policy combination for storage according to the following steps, and specifically includes:
storing a cache advertisement strategy based on a storage strategy of the configuration information;
the storage strategy adopts one or more combinations of key-value storage, chain storage of hash tables and SQL data caching.
In specific implementation, the cache advertisement strategy includes three different cache advertisement strategies, namely an effective cache advertisement strategy, a memory cache advertisement strategy and a disk cache advertisement strategy.
In the application, the storage strategy in the configuration information of the effective caching advertisement strategy is key-value storage, the advertisement elimination strategy uses an MRU replacement strategy, and the preloading strategy is a real-time generation advertisement space display request after the application program is started.
In the application, the storage strategy in the configuration information of the memory cache advertisement strategy is chain storage of a hash table, the advertisement elimination strategy uses an LFU replacement strategy, and the preloading strategy is an advertisement space display request generated by starting an application program or an advertisement space pushing request generated in the process of running the application program.
In this application, the storage policy in the configuration information of the disk cache advertisement policy is SQL data cache, the advertisement elimination policy uses FIFO replacement policy, and the preloading policy of the configuration information of the disk cache advertisement policy includes:
and calculating an idle time period of the application program, judging whether the duration of the idle time period meets a preset duration, and if so, generating an advertisement space pushing request.
Example 8
The electronic device provided by the embodiment 8 of the application comprises a processor and a memory, wherein the processor and the memory are connected with each other;
the memory stores machine-readable instructions executable by the processor, which when executed by the processor perform the following when the electronic device is operated:
acquiring and storing an advertisement strategy combination, wherein the advertisement strategy combination comprises at least two cache advertisement strategies with different configuration information;
generating an advertisement space pushing request based on a preloading strategy of the configuration information;
obtaining a cache advertisement strategy corresponding to the advertisement space pushing request;
and displaying the advertisement content of the cache advertisement strategy corresponding to the advertisement space pushing request.
In a specific implementation, in the processing executed by the processor, the generating an advertisement space pushing request based on a preloading policy of configuration information specifically includes:
when the application program is started, the advertisement space pushing request is generated in real time,
or generating the advertisement space pushing request in the process of running the application program.
In a specific implementation, in the processing executed by the processor, the obtaining and storing an advertisement policy combination, where the obtaining an advertisement policy combination specifically includes:
sending an advertisement putting request to a server according to a preset period;
and acquiring an advertisement strategy combination issued by the server, and replacing the stored advertisement strategy combination with the advertisement strategy combination issued by the server.
In a specific implementation, in the processing executed by the processor, the obtaining and storing an advertisement policy combination, where the obtaining of the advertisement policy combination specifically includes:
and acquiring the advertisement strategy combination issued by the server in real time, and replacing the stored advertisement strategy combination by using the advertisement strategy combination issued by the server in real time.
In a specific implementation, the acquiring, by the processor, the advertisement policy combination for storage includes:
storing a cache advertisement strategy based on a storage strategy of the configuration information;
the storage strategy adopts one or more combinations of key-value storage, chain storage of a hash table and SQL data caching.
In a specific implementation, in the processing performed by the processor, the configuration information includes an advertisement elimination policy, and the advertisement elimination policy includes an MRU replacement policy, an LFU replacement policy, or an FIFO replacement policy.
In a specific implementation, in the processing executed by the processor, the cache advertisement policy includes:
the method comprises the steps that an effective caching advertisement strategy is used, a storage strategy of configuration information is key-value storage, an MRU replacement strategy is used as an advertisement elimination strategy of the configuration information, and a preloading strategy of the configuration information is used for starting an application program to generate an advertisement space pushing request in real time;
the method comprises the steps that an advertisement strategy is cached in a memory, the storage strategy based on configuration information is chained storage of a Hash table, an LFU replacement strategy is used as an advertisement elimination strategy of the configuration information, and a preloading strategy of the configuration information is used for starting an application program to generate an advertisement space pushing request;
and the disk cache advertisement strategy is based on the storage strategy of the configuration information, the SQL data cache is adopted, and the advertisement elimination strategy of the configuration information uses an FIFO replacement strategy.
In a specific implementation, in the processing executed by the processor, the preloading policy of the configuration information of the effective cache advertisement policy is used for starting an application program to generate an advertisement slot pushing request in real time;
the preloading strategy of the configuration information of the internal memory cache advertisement strategy is used for starting an application program to generate an advertisement position pushing request;
the preloading strategy of the configuration information of the disk cache advertisement strategy comprises the following steps:
and calculating an idle time period of the application program, judging whether the duration of the idle time period meets a preset duration, and if so, generating an advertisement space pushing request.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the present invention in any way, so that any modification, equivalent change and modification made to the above embodiment according to the technical spirit of the present invention are within the scope of the technical solution of the present invention.
Claims (9)
1. An advertisement pushing method is applied to a mobile terminal, and comprises the following steps:
acquiring and storing an advertisement strategy combination, wherein the advertisement strategy combination comprises at least two cache advertisement strategies with different configuration information;
generating an advertisement space pushing request based on a preloading strategy of the configuration information;
according to the advertisement space pushing request, obtaining the advertisement content of a cache advertisement strategy corresponding to the advertisement space pushing request;
displaying the advertising content at a target ad slot;
wherein the caching advertisement policy comprises:
the method comprises the steps of an effective caching advertisement strategy, wherein the storage strategy of configuration information is key-value storage, and the advertisement elimination strategy of the configuration information uses an MRU replacement strategy;
the memory cache advertisement strategy is characterized in that the storage strategy of the configuration information is the chain storage of a hash table, and the advertisement elimination strategy of the configuration information uses an LFU replacement strategy;
the disk cache advertisement strategy is characterized in that the storage strategy of the configuration information is SQL data cache, and the advertisement elimination strategy of the configuration information uses FIFO replacement strategy.
2. The advertisement push method according to claim 1, wherein generating an advertisement slot push request based on a preloading policy of configuration information specifically comprises:
when the application program is started, the advertisement space pushing request is generated in real time,
or generating the advertisement space pushing request in the process of running the application program.
3. The advertisement push method according to claim 1, characterized in that obtaining the advertisement policy combination for storage, wherein obtaining the advertisement policy combination specifically comprises:
sending an advertisement putting request to a server according to a preset period;
and acquiring an advertisement strategy combination issued by the server, and replacing the stored advertisement strategy combination with the advertisement strategy combination issued by the server.
4. The advertisement push method according to claim 1, characterized in that obtaining the advertisement policy combination for storage, wherein obtaining the advertisement policy combination specifically comprises:
and acquiring the advertisement strategy combination issued by the server in real time, and replacing the stored advertisement strategy combination with the advertisement strategy combination issued by the server in real time.
5. The advertisement push method according to claim 1, wherein obtaining and storing the advertisement policy combination specifically comprises:
storing a cache advertisement strategy based on a storage strategy of the configuration information;
the storage strategy adopts one or more combinations of key-value storage, chain storage of a hash table and SQL data caching.
6. The advertisement pushing method of claim 1, wherein the configuration information comprises an advertisement elimination policy, and the advertisement elimination policy comprises an MRU replacement policy, an LFU replacement policy, or a FIFO replacement policy.
7. The advertisement pushing method according to claim 1, characterized in that:
the preloading strategy of the configuration information of the effective caching advertisement strategy is used for starting an application program to generate an advertisement space pushing request in real time;
the preloading strategy of the configuration information of the internal memory cache advertisement strategy is that an application program is started to generate an advertisement space pushing request;
the preloading strategy of the configuration information of the disk cache advertisement strategy comprises the following steps:
and calculating an idle time period of the application program, judging whether the duration of the idle time period meets a preset duration, and if so, generating an advertisement space pushing request.
8. An advertisement push apparatus, characterized in that the apparatus comprises:
the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring and storing an advertisement strategy combination, and the advertisement strategy combination comprises at least two cache advertisement strategies with different configuration information;
the request module is used for generating an advertisement space pushing request based on a preloading strategy of the configuration information;
the matching module is used for acquiring a cache advertisement strategy corresponding to the advertisement space pushing request;
the execution module is used for displaying the advertisement content of the cache advertisement strategy corresponding to the advertisement space pushing request;
wherein the caching advertisement policy comprises:
the effective caching advertisement strategy is characterized in that the storage strategy of the configuration information is key-value storage, and the advertisement elimination strategy of the configuration information uses an MRU replacement strategy;
the memory cache advertisement strategy is characterized in that the storage strategy of the configuration information is the chain storage of a hash table, and the advertisement elimination strategy of the configuration information uses an LFU replacement strategy;
the disk cache advertisement strategy is characterized in that the storage strategy of the configuration information is SQL data cache, and the advertisement elimination strategy of the configuration information uses FIFO replacement strategy.
9. An electronic device comprising a processor coupled to a memory, and a memory storing machine-readable instructions executable by the processor, the machine-readable instructions, when executed by the processor, performing the steps of the method of any one of claims 1 to 7 when the electronic device is run.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010956419.XA CN112073525B (en) | 2020-09-11 | 2020-09-11 | Advertisement pushing method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010956419.XA CN112073525B (en) | 2020-09-11 | 2020-09-11 | Advertisement pushing method and device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112073525A CN112073525A (en) | 2020-12-11 |
CN112073525B true CN112073525B (en) | 2023-01-24 |
Family
ID=73696607
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010956419.XA Active CN112073525B (en) | 2020-09-11 | 2020-09-11 | Advertisement pushing method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112073525B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112927021A (en) * | 2021-03-22 | 2021-06-08 | 广州宸祺出行科技有限公司 | Advertisement pushing method and device |
CN114385257A (en) * | 2021-12-02 | 2022-04-22 | 广州歌神信息科技有限公司 | Program preheating method, device, electronic equipment and computer readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015010664A1 (en) * | 2013-07-22 | 2015-01-29 | 烽火通信科技股份有限公司 | Home gateway-based system and method for advertisement pushing |
CN107027057A (en) * | 2017-03-31 | 2017-08-08 | 北京奇艺世纪科技有限公司 | A kind of advertisement serving policy system of selection and device |
CN109299972A (en) * | 2018-08-24 | 2019-02-01 | 努比亚技术有限公司 | A kind of advertisement distribution method, server and computer readable storage medium |
CN109711868A (en) * | 2018-12-07 | 2019-05-03 | 百度在线网络技术(北京)有限公司 | Advertisement sending method and device |
CN110084635A (en) * | 2019-03-18 | 2019-08-02 | 努比亚技术有限公司 | Terminal advertisement management method, advertising management optimization system, terminal and storage medium |
-
2020
- 2020-09-11 CN CN202010956419.XA patent/CN112073525B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015010664A1 (en) * | 2013-07-22 | 2015-01-29 | 烽火通信科技股份有限公司 | Home gateway-based system and method for advertisement pushing |
CN107027057A (en) * | 2017-03-31 | 2017-08-08 | 北京奇艺世纪科技有限公司 | A kind of advertisement serving policy system of selection and device |
CN109299972A (en) * | 2018-08-24 | 2019-02-01 | 努比亚技术有限公司 | A kind of advertisement distribution method, server and computer readable storage medium |
CN109711868A (en) * | 2018-12-07 | 2019-05-03 | 百度在线网络技术(北京)有限公司 | Advertisement sending method and device |
CN110084635A (en) * | 2019-03-18 | 2019-08-02 | 努比亚技术有限公司 | Terminal advertisement management method, advertising management optimization system, terminal and storage medium |
Non-Patent Citations (1)
Title |
---|
基于智能终端的统一广告投放平台研究;贺斌等;《中国有线电视》;20171215(第12期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN112073525A (en) | 2020-12-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20170364210A1 (en) | Method and Apparatus for Displaying Content on Same Screen, and Terminal Device | |
US9009103B2 (en) | Fingerprint-based, intelligent, content pre-fetching | |
US8539161B2 (en) | Pre-fetching content items based on social distance | |
US8725793B2 (en) | Architectural pattern for persistent web application design | |
US9086914B2 (en) | System and method for reducing startup cost of a software application | |
US9411872B1 (en) | Management of application state data | |
EP2075714B1 (en) | Apparatus and methods for retrieving/downloading content on a communication device | |
US8832729B2 (en) | Methods and systems for grabbing video surfers' attention while awaiting download | |
CN107197359B (en) | Video file caching method and device | |
CN112073525B (en) | Advertisement pushing method and device and electronic equipment | |
US20110167486A1 (en) | Client-side ad caching for lower ad serving latency | |
EP3680790A1 (en) | Preserving a user experience with content across multiple computing devices using location information | |
KR20160055800A (en) | Selecting content items for presentation to a social networking system user in a newsfeed | |
US20170221109A1 (en) | Ads management in a browser application | |
CN113420051B (en) | Data query method and device, electronic equipment and storage medium | |
CN113254779A (en) | Content search method, device, equipment and medium | |
US9594846B2 (en) | Client side caching | |
CN109284183A (en) | Cardon playback method, device, computer storage medium and terminal | |
JP2019537772A (en) | Method and system for delivering content in real time | |
CN109150983B (en) | Front-end display control method and device and data recommendation control method and device | |
US20190114311A1 (en) | Non-Invasive, Single Use System and Methods for Selective Brain Cooling | |
CN111475224A (en) | Object ranking method, device and equipment and computer storage medium | |
CN111182330B (en) | Video playing method and device | |
CN112861041B (en) | Media content display method and device, electronic equipment and storage medium | |
CN113630632B (en) | Data processing method and device |
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 |