Detailed Description
In order to enable a person skilled in the art to better understand the technical solutions in one or more embodiments of the present specification, the technical solutions in one or more embodiments of the present specification will be clearly and completely described below with reference to the drawings in one or more embodiments of the present specification, and it is obvious that the described embodiments are only some embodiments of the present specification, not all embodiments. All other embodiments, which can be made by one or more embodiments of the present disclosure without inventive faculty, are intended to be within the scope of the present disclosure.
Fig. 1 is a schematic view of a scenario of an advertisement data loading method according to an embodiment of the present disclosure, as shown in fig. 1, where the scenario includes a user terminal and an advertisement providing server, where the user terminal includes, but is not limited to, a tablet 101, a mobile phone 102, a desktop 103, and a notebook 104 as shown in fig. 1, and the advertisement providing server includes, but is not limited to, a server 200 of an advertisement alliance as shown in fig. 1. In this scenario, the user terminal may execute the advertisement data loading method provided in one or more embodiments of the present disclosure, so as to solve the problem in the prior art that the advertisement data acquisition channel is single, and the advertisement data meeting the requirement may not be acquired, and improve the delivery effect of the advertisement data.
Fig. 2 is a flowchart of an advertisement data loading method according to an embodiment of the present disclosure, where the method may be applied to a user terminal and executed by the user terminal, and as shown in fig. 2, the flowchart includes the following steps:
step S202, after determining that the target advertisement position in the target application program needs to load advertisement data, acquiring an advertisement request strategy required to be called for requesting advertisement data for the advertisement providing server for the target advertisement position at this time, and determining an advertisement quality value of at least one first advertisement data requested by the advertisement request strategy according to a preset first advertisement quality value analysis rule;
Step S204, according to a preset second advertisement quality value analysis rule, determining an advertisement quality value of at least one second advertisement data in an advertisement space cache pool corresponding to the target advertisement space, and determining an advertisement quality value of at least one third advertisement data in a public advertisement cache pool corresponding to the target application program; the advertisement position caching pool corresponding to the target advertisement position is used for caching advertisement data for the target advertisement position; the public advertisement caching pool is used for caching advertisement data for each advertisement position in the target application program;
Step S206, comparing the advertisement quality value of at least one first advertisement data, the advertisement quality value of at least one second advertisement data and the advertisement quality value of at least one third advertisement data;
Step S208, according to the comparison result, the advertisement data to be loaded of the target advertisement position is obtained from at least one first advertisement data, at least one second advertisement data or at least one third advertisement data, and is loaded in the target advertisement position.
In one embodiment of the present disclosure, after the target advertisement slot needs to be loaded with advertisement data, an advertisement request policy to be invoked when the advertisement request policy is requested for the advertisement data from the advertisement providing server is first obtained, an advertisement quality value of at least one first advertisement data requested by the advertisement request policy is determined, then an advertisement quality value of at least one second advertisement data in an advertisement slot cache pool corresponding to the target advertisement slot is determined, and an advertisement quality value of at least one third advertisement data in a public advertisement cache pool corresponding to the target application program is determined, and finally advertisement data to be loaded of the target advertisement slot is obtained and loaded from the at least one first advertisement data, the at least one second advertisement data, or the at least one third advertisement data based on the advertisement quality value of the at least one first advertisement data, the advertisement quality value of the at least one second advertisement data, and the advertisement quality value of the at least one third advertisement data. It can be seen that, through this embodiment, the advertisement data to be loaded can be obtained from the three channels based on the advertisement quality values of the advertisement data provided by the advertisement providing server, the advertisement space cache pool corresponding to the target advertisement space, and the public advertisement cache pool, thereby expanding the obtaining source of the advertisement data, obtaining the advertisement data meeting the requirements as much as possible, solving the problems that in the prior art, the advertisement data obtaining channel is single, and the advertisement data meeting the requirements cannot be obtained, and improving the putting effect of the advertisement data.
In step S202, the user terminal determines whether the advertisement data is required to be loaded in the target advertisement slot in the target application. The target application may be any application capable of loading advertisements, and the target ad spot may be any ad spot in the target application. In one example, the target application is a shopping application, the target advertisement space is an advertisement space in a home page of the application, when a user starts the target application and enters the home page of the target application, the user terminal determines that the target advertisement space needs to load advertisement data, and if the user does not start the target application and does not enter the home page of the target application, the user terminal determines that the target advertisement space does not need to load advertisement data.
In step S202, after determining that the target advertisement slot in the target application program needs to load advertisement data, the user terminal obtains an advertisement request policy that needs to be invoked when the advertisement slot requests advertisement data from the advertisement providing server. The number of advertisement request policies that need to be invoked may be one or more, each for requesting one advertisement data. In one embodiment, the user terminal obtains an advertisement request policy that needs to be invoked when requesting advertisement data from the advertisement providing server for the target advertisement space, and specifically includes:
(a1) Acquiring a plurality of advertisement request strategy packages configured for target advertisement positions in advance; the advertisement request strategy package comprises at least one advertisement request strategy;
(a2) Determining advertisement request strategy packages required to be called at this time according to the calling sequence among the advertisement request strategy packages and the advertisement request strategy packages called by requesting advertisement data for the target advertisement position to the advertisement providing server at the previous time;
(a3) And extracting each advertisement request strategy in the advertisement request strategy package required to be called at the time to serve as the advertisement request strategy required to be called for requesting advertisement data from the advertisement providing server for the target advertisement position at the time.
The advertisement providing server is configured with a plurality of advertisement request strategy packages for the target advertisement position in advance, wherein each advertisement request strategy package comprises one or more advertisement request strategies. An advertisement request policy, which may also be referred to as an advertisement acquisition request, may be identified for a string of strings. After receiving the advertisement request policy, the advertisement providing server can analyze the advertisement request policy and return advertisement data to the user terminal. For example, the advertisement request policy defines a content type corresponding to the advertisement data to be requested, and after receiving the advertisement request policy, the advertisement providing server can analyze the advertisement request policy, determine the content type corresponding to the advertisement data to be returned, and return the corresponding advertisement data to the user terminal. The content type may be exemplified by entertainment advertisements, shopping advertisements, travel advertisements, etc. In another example, the advertisement request policy defines an advertisement price range corresponding to the advertisement data to be requested, and after receiving the advertisement request policy, the advertisement providing server can analyze the advertisement request policy, determine the advertisement price range corresponding to the advertisement data to be returned, and return the corresponding advertisement data to the user terminal. The advertisement price may be exemplified by eCPM (EFFECTIVE COST PER MILE, thousands of revenues).
In the above-described operation (a 1), the user terminal acquires a plurality of advertisement request policy packages configured in advance for the target advertisement space by the advertisement providing server. The advertisement request policy package includes at least one advertisement request policy. In the above-mentioned action (a 2), the user terminal determines the advertisement request policy package to be called this time according to the calling sequence between the advertisement request policy packages and the advertisement request policy package called by the advertisement data for requesting the advertisement providing server for the target advertisement space last time. For example, the advertisement request policy package has 5 advertisement request policy packages, the names are A, B, C, D, E in sequence, the calling sequence is A-B-C-D-E in sequence, if the advertisement request policy package called last time is C, the advertisement request policy package called this time is D, and if the advertisement request policy package called last time is E, the advertisement request policy package called this time is A.
In the above-mentioned action (a 3), the user terminal extracts each advertisement request policy in the advertisement request policy package to be called at this time, and uses the extracted advertisement request policy as the advertisement request policy to be called for requesting advertisement data from the advertisement providing server for the target advertisement space at this time. For example, in the above example, the advertisement request policy package called previously is E, the advertisement request policy package required to be called this time is a, and the user terminal extracts each advertisement request policy in the advertisement request policy package a as the advertisement request policy required to be called for requesting advertisement data from the advertisement providing server for the target advertisement space this time.
In the step S202, the user terminal further determines an advertisement quality value of at least one first advertisement data requested by the advertisement request policy to be invoked this time according to a preset first advertisement quality value analysis rule. The first advertisement data refers to advertisement data requested through an advertisement request policy. An advertisement request policy may be used to request a first advertisement data, so that the number of first advertisement data is the same as the number of advertisement request policies that need to be invoked this time.
In one embodiment, the advertisement quality value of the at least one first advertisement data is used to represent a degree of match between the at least one first advertisement data and the targeted advertisement spot. Accordingly, determining, according to a preset first advertisement quality value analysis rule, an advertisement quality value of at least one first advertisement data requested by an advertisement request policy, specifically includes:
(b1) For each first advertisement data, acquiring the content type of the first advertisement data, the historical putting times of the first advertisement data, the historical clicking times of a user and the historical comment times of the user, and acquiring the position information of a target advertisement position in a page and the application type of a target application program;
(b2) Determining a first matching degree value between the first advertisement data and the target advertisement position according to the content type of the first advertisement data and the application type of the target application program, and determining a second matching degree value between the first advertisement data and the target advertisement position according to the historical putting times of the first advertisement data, the historical clicking times of the user, the historical comment times of the user and the position information;
(b3) And determining the advertisement quality value of the first advertisement data according to the first matching degree value and the second matching degree value.
In this embodiment, the advertisement quality value is determined for each first advertisement data in the same manner, so that a specific process of determining the advertisement quality value will be described below by taking one first advertisement data as an example.
In the above-mentioned action (b 1), for any one of the first advertisement data, the content type of the first advertisement data, the number of historical impressions of the first advertisement data, the number of historical clicks of the user, and the number of historical comments of the user are obtained. Wherein the content type refers to the content type of the first advertisement data, and the content type can be exemplified by entertainment advertisements, shopping advertisements, travel advertisements and the like. The historical impression count refers to the total number of impressions of the first advertisement data. The user historical click times and the user historical comment times respectively refer to the total times of clicking by the user and the total times of commenting by the user in the comment column of the advertisement after the first advertisement data is displayed. The content type, the number of historical impressions, the number of user historical clicks, and the number of user historical reviews of the first advertisement data may be pre-stored locally.
In the above-described action (b 1), the location information of the target advertisement slot in the page and the application type of the target application program are acquired. Where the location information of the targeted ad spot in the page may be the top of the page, the middle of the page, or the bottom of the page. The application type of the target application refers to an application type of the target application, and the application type may be exemplified by an entertainment application, a shopping application, a travel application, and the like.
In the above-mentioned action (b 2), a first matching degree value between the first advertisement data and the target advertisement spot is determined according to the content type of the first advertisement data and the application type of the target application program. In this embodiment, a mapping relationship table between each content type of the first advertisement data, each application type of the target application program, and the first matching degree value may be preset, and the rule for establishing the mapping relationship table may be: if the content type of the first advertisement data is the same as the application type of the target application program, the first matching degree value is maximum, and if the content type of the first advertisement data is different from the application type of the target application program, the matching degree value is gradually reduced according to the type difference between the first advertisement data and the target application program.
Therefore, in this action, the content type of the first advertisement data may be searched in the mapping relationship table, and the application type of the target application program may be searched, so as to determine the first matching degree value between the first advertisement data and the target advertisement position. Table 1 below is a schematic table of the above-described mapping relation table. As shown in table 1 below, if the content type of the first advertisement data is a travel type, the application type of the target application program is a shopping type, and since there is a certain gap between the two types, the corresponding first matching degree value is 5. Of course, table 1 is only a schematic representation and does not represent a limitation of the present embodiment.
TABLE 1
In the above-mentioned action (b 2), a second matching degree value between the first advertisement data and the target advertisement position is determined according to the historical putting times, the user historical clicking times, the user historical comment times and the above-mentioned position information of the first advertisement data. In one embodiment, the click rate of the first advertisement data is obtained by dividing the historical click times of the user of the first advertisement data by the historical placement times of the first advertisement data. Dividing the historical comment times of the users of the first advertisement data by the historical putting times of the first advertisement data to obtain the comment rate of the first advertisement data. And determining a second matching degree value between the first advertisement data and the target advertisement position according to the click rate of the first advertisement data, the comment rate of the first advertisement data and the position information.
In one embodiment, the second matching degree value may be calculated by setting the corresponding position coefficient to be 0.5 when the position information is the top, setting the corresponding position coefficient to be 1 when the position information is the middle, and setting the corresponding position coefficient to be-0.5 when the position information is the bottom, and multiplying the click rate by the comment rate by the position coefficient.
The rule for setting the position coefficient is as follows:
When the target advertisement position is positioned in the middle of the page, the user may enter a reading fatigue state, and put advertisement data which are highly attractive to users to click and comment, the comparison can be attractive to the users, and the page browsing experience of the users is not affected.
When the target advertisement position is positioned at the top of the page, the user can notice the advertisement data on the target advertisement position, and the advertisement data with higher click rate or comment rate can better attract the attention of the user, but the advertisement data with higher click rate and comment rate is not required to be set, so that the advertisement data is not wasted. Therefore, when the position information of the target advertisement position in the page is the top, the first advertisement data with higher click rate and lower comment rate or the first advertisement data with lower click rate and higher comment rate corresponds to the second advertisement data with larger matching degree value, and the position coefficient of the top is set to be larger but smaller than the position coefficient of the middle.
When the target advertisement position is positioned at the bottom of the page, the user exits the page without browsing the bottom of the page, so that advertisement data which highly attracts users to click or comment is not needed to be put in, so that advertisement data waste is avoided, and when the position information of the target advertisement position in the page is the bottom, the second matching degree value corresponding to the first advertisement data with lower click rate and lower comment rate is larger, and the position coefficient of the bottom is set to be minimum or even negative.
In the above-described operation (b 3), the advertisement quality value of the first advertisement data is determined based on the first matching degree value and the second matching degree value. For example, the first and second matching degree values are summed or weighted to obtain the advertisement quality value of the first advertisement data.
In this embodiment, by determining the advertisement quality value of the first advertisement data, the matching degree between the first advertisement data and the target advertisement space can be accurately reflected, so as to provide an accurate basis for the subsequent selection of the advertisement data to be loaded.
In the step S204, the advertisement quality value of at least one second advertisement data in the advertisement space cache pool corresponding to the target advertisement space is determined according to the preset second advertisement quality value analysis rule. The second advertisement data refers to advertisement data located in the ad spot cache pool. In a target application program, each advertisement slot has a respective advertisement slot cache pool, and advertisement data in the advertisement slot cache pool can only be called by the corresponding advertisement slot. Therefore, the advertisement bit cache pool corresponding to the target advertisement bit is specially used for caching advertisement data for the target advertisement bit, and the advertisement data in the advertisement bit cache pool corresponding to the target advertisement bit can only be called by the target advertisement bit.
In one embodiment, the advertisement quality value of the at least one second advertisement data is used to represent the matching degree between the at least one second advertisement data and the target advertisement slot, and step S204 specifically includes:
According to a preset second advertisement quality value analysis rule, determining an advertisement quality value of at least one second advertisement data in an advertisement space cache pool corresponding to a target advertisement space, including:
(c1) For each second advertisement data, obtaining display effect information of the second advertisement data, content type of the second advertisement data, historical putting times, user historical clicking times and user historical comment times of the second advertisement data, and obtaining display effect information of a page where a target advertisement position is located, position information of the target advertisement position in the page and application type of a target application program;
(c2) Determining a first matching degree value between the second advertisement data and the target advertisement position according to the content type and the application type, determining a second matching degree value between the second advertisement data and the target advertisement position according to the historical putting times, the user historical clicking times, the user historical comment times and the position information, and determining a third matching degree value between the second advertisement data and the target advertisement position according to the display effect information of the second advertisement data and the display effect information of the page where the target advertisement position is located;
(c3) And determining the advertisement quality value of the second advertisement data according to the first matching degree value, the second matching degree value and the third matching degree value.
In this embodiment, the advertisement quality value is determined for each second advertisement data in the same manner, so that a specific process of determining the advertisement quality value will be described below by taking one second advertisement data as an example.
In the above-mentioned action (c 1), for any one of the second advertisement data, display effect information of the second advertisement data, a content type of the second advertisement data, a history of the number of impressions of the second advertisement data, a user history of clicks, and a user history of comments are obtained. Wherein the display effect information of the second advertisement data includes information related to the display effect such as resolution, definition, etc. of the second advertisement data. The content type refers to a content type of the second advertisement data, and the content type may be exemplified by entertainment type advertisement, shopping type advertisement, travel type advertisement, and the like. The historical impression count refers to the total number of impressions of the second advertisement data. The user historical click times and the user historical comment times respectively refer to the total times of clicking by the user and the total times of commenting by the user in the comment column of the advertisement after the second advertisement data is displayed. The display effect information, the content type, the number of historical impressions, the number of user historical clicks, and the number of user historical reviews of the second advertisement data may be stored locally in advance.
In the above-mentioned action (c 1), display effect information of the page where the target advertisement position is located, position information of the target advertisement position in the page, and application type of the target application program are also obtained. The display effect information of the page comprises information related to the display effect, such as resolution, definition and the like of the page. The location information of the targeted ad spot in the page may be the top of the page, the middle of the page, or the bottom of the page. The application type of the target application refers to an application type of the target application, and the application type may be exemplified by an entertainment application, a shopping application, a travel application, and the like.
In the above-described act (c 2), a first matching degree value between the second advertisement data and the target advertisement slot is determined according to the content type and the application type. And determining a second matching degree value between the second advertisement data and the target advertisement position according to the historical putting times, the user historical clicking times, the user historical comment times and the position information. The two parts are the same as described above for action (b 2) and will not be repeated here.
In the above-mentioned action (c 2), a third matching degree value between the second advertisement data and the target advertisement position is determined according to the display effect information of the second advertisement data and the display effect information of the page where the target advertisement position is located. The display effect information of the second advertisement data and the display effect information of the page where the target advertisement position is located are the same information, such as resolution or definition. In the step, a difference value between the display effect information of the second advertisement data and the display effect information of the page where the target advertisement position is located is calculated, and the reciprocal of the difference value is taken as a third matching degree value between the second advertisement data and the target advertisement position.
In the above-described operation (c 3), the advertisement quality value of the second advertisement data is determined based on the first matching degree value, the second matching degree value, and the third matching degree value. For example, the first matching degree value, the second matching degree value, the third matching degree value are summed or weighted and summed to obtain the advertisement quality value of the second advertisement data.
In this embodiment, by determining the advertisement quality value of the second advertisement data, the matching degree between the second advertisement data and the target advertisement space can be accurately reflected, so as to provide an accurate basis for the subsequent selection of the advertisement data to be loaded.
In the above step S204, the advertisement quality value of at least one third advertisement data in the public advertisement buffer pool corresponding to the target application program is also determined. The third advertisement data refers to advertisement data cached in the public advertisement cache pool. The public advertisement caching pool is arranged in the target application program and used for caching advertisement data for each advertisement position in the target application program, and the advertisement data in the public advertisement caching pool can be called by any advertisement position in the target application program.
In one embodiment, the determining, according to a preset second advertisement quality value analysis rule, an advertisement quality value of at least one third advertisement data in a public advertisement cache pool corresponding to the target application program, where the determining process includes:
(d1) For each third advertisement data, obtaining display effect information of the third advertisement data, content type of the third advertisement data, historical putting times, user historical clicking times and user historical comment times of the third advertisement data, and obtaining display effect information of a page where a target advertisement position is located, position information of the target advertisement position in the page and application type of a target application program;
(d2) Determining a first matching degree value between the third advertisement data and the target advertisement position according to the content type and the application type, determining a second matching degree value between the third advertisement data and the target advertisement position according to the historical putting times, the user historical clicking times, the user historical comment times and the position information, and determining a third matching degree value between the third advertisement data and the target advertisement position according to the display effect information of the third advertisement data and the display effect information of the page where the target advertisement position is located;
(d3) And determining the advertisement quality value of the third advertisement data according to the first matching degree value, the second matching degree value and the third matching degree value.
The specific determination process may refer to the descriptions of the foregoing actions (c 1) to (c 3), and will not be repeated here.
As can be seen from comparing the process of determining the advertisement quality value according to the first advertisement analysis rule with the process of determining the advertisement quality value according to the second advertisement analysis rule, the process of determining the third matching degree value according to the display effect information is added when the advertisement quality value is determined according to the second advertisement analysis rule, because: the advertisement data in the advertisement position caching pool and the public advertisement caching pool are cached locally, so that the display effect information of the second advertisement data and the third advertisement data can be accurately determined, the third matching degree value is determined, the first advertisement data is not obtained from the server, the display effect information of the first advertisement data cannot be accurately determined, and the third matching degree value cannot be accurately determined by combining the display effect information.
After determining the advertisement quality values of the first advertisement data, the second advertisement data and the third advertisement data, step S206 is performed to compare the advertisement quality value of the at least one first advertisement data, the advertisement quality value of the at least one second advertisement data and the advertisement quality value of the at least one third advertisement data. In this step, the advertisement quality value of each first advertisement data, the advertisement quality value of each second advertisement data, and the advertisement quality value of each third advertisement data may be compared in size.
In step S208, according to the comparison result, the advertisement data to be loaded of the target advertisement slot is obtained from at least one first advertisement data, at least one second advertisement data, or at least one third advertisement data, and is loaded in the target advertisement slot.
The step S208 specifically includes:
(e1) If the comparison result shows that the first target advertisement data in the at least one first advertisement data is the advertisement data with the highest advertisement quality value in the at least one first advertisement data, the at least one second advertisement data and the at least one third advertisement data, sending an advertisement request strategy to an advertisement providing server, and acquiring the advertisement data to be loaded from the first advertisement data, the at least one second advertisement data or the at least one third advertisement data returned by the advertisement providing server according to the advertisement request strategy;
(e2) If the comparison result shows that the second target advertisement data in the at least one second advertisement data is the advertisement data with the highest advertisement quality value in the at least one first advertisement data, the at least one second advertisement data and the at least one third advertisement data, the second target advertisement data is obtained and is used as the advertisement data to be loaded;
(e3) And if the comparison result shows that the third target advertisement data in the at least one third advertisement data is the advertisement data with the highest advertisement quality value in the at least one first advertisement data, the at least one second advertisement data and the at least one third advertisement data, acquiring the third target advertisement data as the advertisement data to be loaded.
In the operation (e 1), if the comparison result indicates that the first target advertisement data in the at least one first advertisement data is the advertisement data having the highest advertisement quality value among the at least one first advertisement data, the at least one second advertisement data, and the at least one third advertisement data, then the advertisement request policy is transmitted to the advertisement providing server. As is apparent from the foregoing description, the advertisement request policies are located in the advertisement request policy package, and the number of the advertisement request policies may be one, and each advertisement request policy is used to request one advertisement data, and the advertisement providing server may or may not return the first target advertisement data according to the advertisement request policies, for example, when the first target advertisement data is damaged, the advertisement providing server cannot return the first target advertisement data, so that the advertisement data to be loaded needs to be obtained from the first advertisement data, the at least one second advertisement data, or the at least one third advertisement data returned by the advertisement providing server according to the advertisement request policies. In a particular case, the number of advertisement request policies is one, only for requesting the first targeted advertisement data.
In the act (e 2), if the comparison result indicates that the second target advertisement data in the at least one second advertisement data is the advertisement data with the highest advertisement quality value in the at least one first advertisement data, the at least one second advertisement data and the at least one third advertisement data, the user terminal directly obtains the second target advertisement data from the local as the advertisement data to be loaded.
(E3) If the comparison result shows that the third target advertisement data in the at least one third advertisement data is the advertisement data with the highest advertisement quality value in the at least one first advertisement data, the at least one second advertisement data and the at least one third advertisement data, the user terminal directly obtains the third target advertisement data from the local as the advertisement data to be loaded.
When the comparison result shows that the advertisement quality values of the plurality of advertisement data are the same and the advertisement quality values are the largest, determining the plurality of advertisement data as the priority of the advertisement data to be loaded according to the sources of the plurality of advertisement data, for example, the priority of the advertisement data from the advertisement position buffer pool is highest, the priority of the advertisement data from the public advertisement buffer pool is lower, and the priority of the advertisement data from the advertisement providing server is lowest, thereby achieving the effect of loading the locally buffered advertisement data preferentially. For example, when the advertisement quality value of one advertisement data in the advertisement space buffer pool and one advertisement data in the public advertisement buffer pool is the highest, the advertisement data may be preferentially obtained from the advertisement space buffer pool as the advertisement data to be loaded, so that the advertisement data cached for the target advertisement space is preferentially utilized.
As is clear from the explanation of the foregoing actions (a 1) to (a 3), the advertisement request policy in the present embodiment is located in the advertisement request policy package, and thus the advertisement request policy can be transmitted to the advertisement providing server by transmitting the advertisement request policy package in the form of the present embodiment. When the advertisement request strategy package comprises a plurality of advertisement request strategies, the mode of concurrently sending the plurality of advertisement request strategies can achieve the effect of synchronously requesting a plurality of advertisement data, thereby improving the concurrent request efficiency of the advertisement data.
In the above action (e 1), the obtaining the advertisement data to be loaded from the first advertisement data, the at least one second advertisement data, or the at least one third advertisement data returned by the advertisement providing server according to the advertisement request policy specifically includes:
(e11) If the returned first advertisement data contains first target advertisement data, acquiring the first target advertisement data as advertisement data to be loaded;
(e12) If the returned first advertisement data does not contain the first target advertisement data, the advertisement quality value of the returned first advertisement data, the advertisement quality value of the at least one second advertisement data and the advertisement quality value of the at least one third advertisement data are compared, and according to the comparison result, the advertisement data to be loaded is obtained from the returned first advertisement data, the at least one second advertisement data or the at least one third advertisement data.
If the advertisement providing server returns the first target advertisement data according to the received advertisement request strategy, the user terminal acquires the first target advertisement data as the advertisement data to be loaded. If not, the user terminal compares the advertisement quality value of the returned first advertisement data, the advertisement quality value of at least one second advertisement data and the advertisement quality value of at least one third advertisement data, and obtains the advertisement data with the largest advertisement value as the advertisement data to be loaded according to the comparison result.
According to the comparison result, the advertisement data to be loaded is obtained from the returned first advertisement data, at least one second advertisement data or at least one third advertisement data, and the method specifically comprises the following steps:
(e121) If the comparison result shows that the fourth target advertisement data in the returned first advertisement data is the advertisement data with the highest advertisement quality value in the returned first advertisement data, the at least one second advertisement data and the at least one third advertisement data, the fourth target advertisement data is obtained from the returned first advertisement data and is used as the advertisement data to be loaded;
(e122) If the comparison result shows that the fifth target advertisement data in the at least one second advertisement data is the returned advertisement data with the highest advertisement quality value in the first advertisement data, the at least one second advertisement data and the at least one third advertisement data, the fifth target advertisement data is obtained from the at least one second advertisement data and is used as the advertisement data to be loaded;
(e123) If the comparison result shows that the sixth target advertisement data in the at least one third advertisement data is the returned first advertisement data, the at least one second advertisement data and the advertisement data with the highest advertisement quality value in the at least one third advertisement data, the sixth target advertisement data is obtained from the at least one third advertisement data and is used as the advertisement data to be loaded.
When the comparison result shows that the advertisement quality values of the plurality of advertisement data are the same and the advertisement quality values are the largest, determining the plurality of advertisement data as the priority of the advertisement data to be loaded according to the sources of the plurality of advertisement data, for example, the priority of the advertisement data from the advertisement position buffer pool is highest, the priority of the advertisement data from the public advertisement buffer pool is lower, and the priority of the advertisement data from the advertisement providing server is lowest, thereby achieving the effect of loading the locally buffered advertisement data preferentially. For example, when the advertisement quality value of one advertisement data in the returned first advertisement data and one advertisement data in the second advertisement data is the highest, the advertisement data can be preferentially obtained from the second advertisement data as the advertisement data to be loaded, so that the locally cached advertisement data can be preferentially utilized.
In this embodiment, after advertisement data is requested from the advertisement providing server and the advertisement data to be loaded is obtained from the returned first advertisement data, at least one second advertisement data, or at least one third advertisement data, if there is remaining advertisement data in the returned first advertisement data, the remaining advertisement data is cached in the advertisement space cache pool corresponding to the target advertisement space or in the public advertisement cache pool, so as to facilitate subsequent loading.
The residual advertisement data is cached in the advertisement position caching pool corresponding to the target advertisement position or in the public advertisement caching pool, so that the effect of carrying out subsequent advertisement loading by utilizing the residual advertisement data can be achieved, and the utilization rate of the advertisement data requested back is improved.
As can be seen from the above description, in this embodiment, the advertisement quality value of the second advertisement data in the advertisement slot cache pool corresponding to the target advertisement slot is used to represent the matching degree between the second advertisement data and the target advertisement slot. Therefore, advertisement data which is matched with the target advertisement position is preferably cached in the advertisement position cache pool corresponding to the target advertisement position so as to facilitate advertisement loading. Therefore, in this embodiment, it is also possible to detect whether the advertisement bit cache pool corresponding to the target advertisement bit contains advertisement data with an advertisement quality value higher than a preset quality, and if not, request the advertisement providing server for advertisement data with an advertisement quality value higher than the preset quality, and cache the requested advertisement data with the advertisement quality value higher than the preset quality in the advertisement bit cache pool corresponding to the target advertisement bit.
A similar scheme may also be: detecting whether the public advertisement caching pool contains advertisement data with the advertisement quality value higher than the preset quality, if not, requesting the advertisement providing server for the advertisement data with the advertisement quality value higher than the preset quality, and caching the advertisement data with the requested advertisement quality value higher than the preset quality in the public advertisement caching pool so as to cache the advertisement data with high quality for the advertisement position.
Because the public advertisement buffer pool can buffer advertisement data for each advertisement position, whether the public advertisement buffer pool contains advertisement data with advertisement quality value (namely, the matching degree value between the public advertisement buffer pool and the advertisement position) higher than the preset quality or not can be detected, if not, the advertisement providing server is requested for the advertisement data with advertisement quality value (namely, the matching degree value between the public advertisement buffer pool and the advertisement position) higher than the preset quality, and the advertisement data with the requested advertisement quality value higher than the preset quality is buffered in the public advertisement buffer pool, so that the advertisement data with high quality is buffered for the advertisement position.
In summary, by the method in this embodiment, on the one hand, based on the advertisement quality values of the advertisement data provided by the advertisement providing server, the advertisement space cache pool corresponding to the target advertisement space, and the public advertisement cache pool, the advertisement data to be loaded can be obtained from the three channels, so as to expand the obtaining source of the advertisement data, obtain the advertisement data meeting the requirements as much as possible, solve the problem that in the prior art, the advertisement data obtaining channel is single, and the advertisement data meeting the requirements may not be obtained, and improve the delivering effect of the advertisement data. On the other hand, advertisement data which is requested from the advertisement providing server but is not loaded can be cached, so that the utilization rate of the advertisement data can be improved. On the other hand, when the advertisement data with the advertisement quality value higher than the preset quality is not contained in the advertisement position caching pool, the advertisement providing server is requested for and cached the advertisement data with the advertisement quality value higher than the preset quality, so that the advertisement data with the high quality is cached for the target advertisement position.
The above-mentioned advertisement data loading method is described below by way of a specific embodiment. In this embodiment, the advertisement quality value may be determined based on an advertisement price (e.g., eCPM).
When the target advertisement position needs to be loaded with advertisement data, first quality comparison is performed. The first quality comparison process is as follows: judging whether available advertisement data exists in the advertisement buffer pool corresponding to the target advertisement position, if not, the advertisement buffer pool does not participate in comparison, and if so, the advertisement buffer pool participates in comparison. Similarly, whether available advertisement data exists in the public advertisement caching pool is judged, if not, the public advertisement caching pool does not participate in comparison, and if so, the public advertisement caching pool participates in comparison. If both cache pools do not participate in comparison, an advertisement request strategy packet which needs to be called this time is sent to an advertisement providing server to carry out real-time request. If at least one cache pool participates in comparison, based on the advertisement request strategy package to be called at this time, judging whether advertisement data with highest advertisement value is positioned in an advertisement position cache pool, an advertisement cache pool or an advertisement providing server, if the advertisement data is positioned in any cache pool, taking out the advertisement data with highest advertisement quality value as advertisement data to be loaded, if the advertisement data is positioned in the advertisement providing server, sending the advertisement request strategy package to the advertisement providing server, and carrying out second quality comparison.
The second quality comparison process is as follows: and the advertisement providing server compares the advertisement quality value of the returned advertisement data, the advertisement quality value of the advertisement data cached in the advertisement space caching pool and the advertisement quality value of the advertisement data cached in the public advertisement caching pool according to the advertisement data returned by the advertisement request strategy packet. And selecting the advertisement data with the highest quality value from the returned advertisement data, the advertisement data cached in the advertisement bit cache pool and the advertisement data cached in the public advertisement cache pool as the advertisement data to be loaded according to the comparison result.
In this embodiment, the ad data returned by the ad serving server but not loaded may be cached in the public ad cache pool or ad spot cache pool. When a specific occasion arrives, such as on/off screen, user pressing Home key, network state switching, checking whether advertisement data is absent in the public advertisement buffer pool, if so, requesting advertisement data from the advertisement providing server and buffering in the public advertisement buffer pool.
Fig. 3 is a schematic block diagram of an advertisement data loading apparatus according to an embodiment of the present disclosure, where, as shown in fig. 3, the apparatus is applied to a user terminal, and includes:
The first quality determining module 31 is configured to obtain an advertisement request policy that needs to be invoked when the target advertisement slot in the target application program requests advertisement data from the advertisement providing server at this time after determining that the target advertisement slot in the target application program needs to load advertisement data, and determine an advertisement quality value of at least one first advertisement data requested by the advertisement request policy according to a preset first advertisement quality value analysis rule;
A second quality determining module 32, configured to determine, according to a preset second advertisement quality value analysis rule, an advertisement quality value of at least one second advertisement data in an advertisement space cache pool corresponding to the target advertisement space, and determine an advertisement quality value of at least one third advertisement data in a public advertisement cache pool corresponding to the target application program; the advertisement position caching pool corresponding to the target advertisement position is used for caching advertisement data for the target advertisement position; the public advertisement caching pool is used for caching advertisement data for each advertisement position in the target application program;
a value comparison module 33 for comparing the advertisement quality value of the at least one first advertisement data, the advertisement quality value of the at least one second advertisement data, and the advertisement quality value of the at least one third advertisement data;
And the data acquisition module 34 is configured to acquire advertisement data to be loaded of the target advertisement slot from the at least one first advertisement data, the at least one second advertisement data, or the at least one third advertisement data according to the comparison result, and load the advertisement data to be loaded in the target advertisement slot.
Optionally, the first quality determining module 31 is specifically configured to: acquiring a plurality of advertisement request strategy packages configured for the target advertisement position in advance; the advertisement request strategy package comprises at least one advertisement request strategy; determining an advertisement request strategy package to be called at this time according to the calling sequence among the advertisement request strategy packages and the advertisement request strategy package called for requesting advertisement data for the advertisement providing server for the target advertisement position at the previous time; and extracting each advertisement request strategy in the advertisement request strategy package required to be called at the time to serve as the advertisement request strategy required to be called for requesting advertisement data from the advertisement providing server for the target advertisement position at the time.
Optionally, the advertisement quality value of the at least one first advertisement data is used to represent a degree of matching between the at least one first advertisement data and the targeted advertisement spot; the first quality determining module 31 is specifically configured to: for each first advertisement data, acquiring the content type of the first advertisement data, the historical putting times of the first advertisement data, the historical clicking times of a user and the historical comment times of the user, and acquiring the position information of the target advertisement position in a page and the application type of the target application program; determining a first matching degree value between the first advertisement data and the target advertisement position according to the content type and the application type, and determining a second matching degree value between the first advertisement data and the target advertisement position according to the historical putting times, the user historical clicking times, the user historical comment times and the position information; and determining the advertisement quality value of the first advertisement data according to the first matching degree value and the second matching degree value.
Optionally, the advertisement quality value of the at least one second advertisement data is used to represent a degree of matching between the at least one second advertisement data and the targeted advertisement spot; the second quality determination module 32 is specifically configured to: for each second advertisement data, obtaining display effect information of the second advertisement data, content type of the second advertisement data, historical putting times, user historical clicking times and user historical comment times of the second advertisement data, and obtaining display effect information of a page where the target advertisement position is located, position information of the target advertisement position in the page and application type of the target application program; determining a first matching degree value between the second advertisement data and the target advertisement position according to the content type and the application type, determining a second matching degree value between the second advertisement data and the target advertisement position according to the historical putting times, the user historical clicking times, the user historical comment times and the position information, and determining a third matching degree value between the second advertisement data and the target advertisement position according to the display effect information of the second advertisement data and the display effect information of the page where the target advertisement position is located; and determining an advertisement quality value of the second advertisement data according to the first matching degree value, the second matching degree value and the third matching degree value.
Optionally, the data acquisition module 34 includes: a first advertisement data obtaining unit, configured to send the advertisement request policy to the advertisement providing server if the comparison result indicates that the first target advertisement data in the at least one first advertisement data is the advertisement data with the highest advertisement quality value in the at least one first advertisement data, the at least one second advertisement data, and the at least one third advertisement data, and obtain the advertisement data to be loaded from the first advertisement data, the at least one second advertisement data, or the at least one third advertisement data returned by the advertisement providing server according to the advertisement request policy; a second advertisement data obtaining unit, configured to obtain, if the comparison result indicates that the second target advertisement data in the at least one second advertisement data is the advertisement data with the highest advertisement quality value in the at least one first advertisement data, the at least one second advertisement data, and the at least one third advertisement data, as the advertisement data to be loaded; and a third advertisement data obtaining unit, configured to obtain, if the comparison result indicates that the third target advertisement data in the at least one third advertisement data is the advertisement data with the highest advertisement quality value in the at least one first advertisement data, the at least one second advertisement data, and the at least one third advertisement data, as the advertisement data to be loaded.
Optionally, the first advertisement data acquisition unit is specifically configured to: if the returned first advertisement data contains the first target advertisement data, acquiring the first target advertisement data as the advertisement data to be loaded; and if the returned first advertisement data does not contain the first target advertisement data, comparing the advertisement quality value of the returned first advertisement data, the advertisement quality value of the at least one second advertisement data and the advertisement quality value of the at least one third advertisement data, and acquiring the advertisement data to be loaded from the returned first advertisement data, the at least one second advertisement data or the at least one third advertisement data according to the comparison result.
Optionally, the apparatus further comprises: and the first caching module is used for caching the residual advertisement data in the advertisement position caching pool corresponding to the target advertisement position or in the public advertisement caching pool after the advertisement data to be loaded are acquired from the returned first advertisement data, the at least one second advertisement data or the at least one third advertisement data, so that the subsequent loading is facilitated if the residual advertisement data exist in the returned first advertisement data.
Optionally, the apparatus further comprises: and the second caching module is used for detecting whether the advertisement bit cache pool contains advertisement data with the advertisement quality value higher than the preset quality, if not, requesting the advertisement providing server for the advertisement data with the advertisement quality value higher than the preset quality, and caching the requested advertisement data with the advertisement quality value higher than the preset quality in the advertisement bit cache pool.
In one embodiment of the present disclosure, after the target advertisement slot needs to be loaded with advertisement data, an advertisement request policy to be invoked when the advertisement request policy is requested for the advertisement data is first acquired, and an advertisement quality value of at least one first advertisement data requested by the advertisement request policy is determined, then an advertisement quality value of at least one second advertisement data in an advertisement slot cache pool corresponding to the target advertisement slot is determined, and an advertisement quality value of at least one third advertisement data in a public advertisement cache pool corresponding to the target application program is determined, and finally advertisement data to be loaded of the target advertisement slot is acquired from the at least one first advertisement data, the at least one second advertisement data, or the at least one third advertisement data based on the advertisement quality value of the at least one first advertisement data, the advertisement quality value of the at least one second advertisement data, and the advertisement quality value of the at least one third advertisement data. It can be seen that, through this embodiment, the advertisement data to be loaded can be obtained from the three channels based on the advertisement quality values of the advertisement data provided by the advertisement providing server, the advertisement space cache pool corresponding to the target advertisement space, and the public advertisement cache pool, thereby expanding the obtaining source of the advertisement data, obtaining the advertisement data meeting the requirements as much as possible, solving the problems that in the prior art, the advertisement data obtaining channel is single, and the advertisement data meeting the requirements cannot be obtained, and improving the putting effect of the advertisement data.
The advertisement data loading device provided in one embodiment of the present disclosure can implement each process in the foregoing embodiment of the advertisement data loading method, and achieve the same functions and effects, which are not repeated here.
Further, an embodiment of the present disclosure further provides an advertisement data loading device, and fig. 4 is a schematic structural diagram of the advertisement data loading device provided in an embodiment of the present disclosure, as shown in fig. 4, where the device includes: memory 401, processor 402, bus 403, and communication interface 404. The memory 401, processor 402, and communication interface 404 communicate over a bus 403, and the communication interface 404 may include input output interfaces including, but not limited to, a keyboard, mouse, display, microphone, loudspeaker, and the like.
In fig. 4, the memory 401 stores computer executable instructions executable on the processor 402, which when executed by the processor 402 implement the following procedures:
After determining that a target advertisement position in a target application program needs to load advertisement data, acquiring an advertisement request strategy which is required to be called for requesting advertisement data from an advertisement providing server for the target advertisement position, and determining an advertisement quality value of at least one first advertisement data requested by the advertisement request strategy according to a preset first advertisement quality value analysis rule;
According to a preset second advertisement quality value analysis rule, determining an advertisement quality value of at least one second advertisement data in an advertisement space cache pool corresponding to the target advertisement space, and determining an advertisement quality value of at least one third advertisement data in a public advertisement cache pool corresponding to the target application program; the advertisement position caching pool corresponding to the target advertisement position is used for caching advertisement data for the target advertisement position; the public advertisement caching pool is used for caching advertisement data for each advertisement position in the target application program;
Comparing the advertisement quality value of the at least one first advertisement data, the advertisement quality value of the at least one second advertisement data, and the advertisement quality value of the at least one third advertisement data;
And according to the comparison result, acquiring advertisement data to be loaded of the target advertisement position from the at least one first advertisement data, the at least one second advertisement data or the at least one third advertisement data, and loading the advertisement data to be loaded of the target advertisement position.
Optionally, when the computer executable instructions are executed by the processor, the method obtains an advertisement request policy that is required to be invoked for requesting advertisement data from an advertisement providing server for the target advertisement slot this time, including: acquiring a plurality of advertisement request strategy packages configured for the target advertisement position in advance; the advertisement request strategy package comprises at least one advertisement request strategy; determining an advertisement request strategy package to be called at this time according to the calling sequence among the advertisement request strategy packages and the advertisement request strategy package called for requesting advertisement data for the advertisement providing server for the target advertisement position at the previous time; and extracting each advertisement request strategy in the advertisement request strategy package required to be called at the time to serve as the advertisement request strategy required to be called for requesting advertisement data from the advertisement providing server for the target advertisement position at the time.
Optionally, the computer executable instructions, when executed by the processor, provide for an advertisement quality value of the at least one first advertisement data to represent a degree of matching between the at least one first advertisement data and the targeted advertisement spot; according to a preset first advertisement quality value analysis rule, determining an advertisement quality value of at least one first advertisement data requested by the advertisement request strategy, including: for each first advertisement data, acquiring the content type of the first advertisement data, the historical putting times of the first advertisement data, the historical clicking times of a user and the historical comment times of the user, and acquiring the position information of the target advertisement position in a page and the application type of the target application program; determining a first matching degree value between the first advertisement data and the target advertisement position according to the content type and the application type, and determining a second matching degree value between the first advertisement data and the target advertisement position according to the historical putting times, the user historical clicking times, the user historical comment times and the position information; and determining the advertisement quality value of the first advertisement data according to the first matching degree value and the second matching degree value.
Optionally, the computer executable instructions, when executed by the processor, provide for an advertisement quality value of the at least one second advertisement data to represent a degree of matching between the at least one second advertisement data and the targeted advertisement spot; according to a preset second advertisement quality value analysis rule, determining an advertisement quality value of at least one second advertisement data in an advertisement space cache pool corresponding to the target advertisement space, including: for each second advertisement data, obtaining display effect information of the second advertisement data, content type of the second advertisement data, historical putting times, user historical clicking times and user historical comment times of the second advertisement data, and obtaining display effect information of a page where the target advertisement position is located, position information of the target advertisement position in the page and application type of the target application program; determining a first matching degree value between the second advertisement data and the target advertisement position according to the content type and the application type, determining a second matching degree value between the second advertisement data and the target advertisement position according to the historical putting times, the user historical clicking times, the user historical comment times and the position information, and determining a third matching degree value between the second advertisement data and the target advertisement position according to the display effect information of the second advertisement data and the display effect information of the page where the target advertisement position is located; and determining an advertisement quality value of the second advertisement data according to the first matching degree value, the second matching degree value and the third matching degree value.
Optionally, when the computer executable instructions are executed by the processor, according to the comparison result, the advertisement data to be loaded of the target advertisement slot is obtained from the at least one first advertisement data, the at least one second advertisement data, or the at least one third advertisement data, including: if the comparison result indicates that the first target advertisement data in the at least one first advertisement data is the advertisement data with the highest advertisement quality value in the at least one first advertisement data, the at least one second advertisement data and the at least one third advertisement data, sending the advertisement request strategy to the advertisement providing server, and acquiring the advertisement data to be loaded from the first advertisement data, the at least one second advertisement data or the at least one third advertisement data returned by the advertisement providing server according to the advertisement request strategy; if the comparison result indicates that the second target advertisement data in the at least one second advertisement data is the advertisement data with the highest advertisement quality value in the at least one first advertisement data, the at least one second advertisement data and the at least one third advertisement data, the second target advertisement data is obtained and is used as the advertisement data to be loaded; and if the comparison result indicates that the third target advertisement data in the at least one third advertisement data is the advertisement data with the highest advertisement quality value in the at least one first advertisement data, the at least one second advertisement data and the at least one third advertisement data, acquiring the third target advertisement data as the advertisement data to be loaded.
Optionally, when the computer executable instructions are executed by the processor, the acquiring the advertisement data to be loaded from the first advertisement data, the at least one second advertisement data, or the at least one third advertisement data returned by the advertisement providing server according to the advertisement request policy includes: if the returned first advertisement data contains the first target advertisement data, acquiring the first target advertisement data as the advertisement data to be loaded; and if the returned first advertisement data does not contain the first target advertisement data, comparing the advertisement quality value of the returned first advertisement data, the advertisement quality value of the at least one second advertisement data and the advertisement quality value of the at least one third advertisement data, and acquiring the advertisement data to be loaded from the returned first advertisement data, the at least one second advertisement data or the at least one third advertisement data according to the comparison result.
Optionally, when the computer executable instructions are executed by the processor, the following procedure may also be implemented: after the advertisement data to be loaded is obtained from the returned first advertisement data, the at least one second advertisement data or the at least one third advertisement data, if residual advertisement data exists in the returned first advertisement data, the residual advertisement data is cached in an advertisement position caching pool corresponding to the target advertisement position or in the public advertisement caching pool so as to facilitate subsequent loading.
Optionally, when the computer executable instructions are executed by the processor, the following procedure may also be implemented: detecting whether the advertisement bit cache pool contains advertisement data with the advertisement quality value higher than the preset quality, if not, requesting the advertisement providing server for the advertisement data with the advertisement quality value higher than the preset quality, and caching the requested advertisement data with the advertisement quality value higher than the preset quality in the advertisement bit cache pool.
In one embodiment of the present disclosure, after the target advertisement slot needs to be loaded with advertisement data, an advertisement request policy to be invoked when the advertisement request policy is requested for the advertisement data is first acquired, and an advertisement quality value of at least one first advertisement data requested by the advertisement request policy is determined, then an advertisement quality value of at least one second advertisement data in an advertisement slot cache pool corresponding to the target advertisement slot is determined, and an advertisement quality value of at least one third advertisement data in a public advertisement cache pool corresponding to the target application program is determined, and finally advertisement data to be loaded of the target advertisement slot is acquired from the at least one first advertisement data, the at least one second advertisement data, or the at least one third advertisement data based on the advertisement quality value of the at least one first advertisement data, the advertisement quality value of the at least one second advertisement data, and the advertisement quality value of the at least one third advertisement data. It can be seen that, through this embodiment, the advertisement data to be loaded can be obtained from the three channels based on the advertisement quality values of the advertisement data provided by the advertisement providing server, the advertisement space cache pool corresponding to the target advertisement space, and the public advertisement cache pool, thereby expanding the obtaining source of the advertisement data, obtaining the advertisement data meeting the requirements as much as possible, solving the problems that in the prior art, the advertisement data obtaining channel is single, and the advertisement data meeting the requirements cannot be obtained, and improving the putting effect of the advertisement data.
The advertisement data loading device provided in one embodiment of the present disclosure can implement each process in the foregoing embodiment of the advertisement data loading method, and achieve the same functions and effects, which are not repeated here.
Further, another embodiment of the present specification also provides a computer-readable storage medium for storing computer-executable instructions that when executed by a processor implement the following:
After determining that a target advertisement position in a target application program needs to load advertisement data, acquiring an advertisement request strategy which is required to be called for requesting advertisement data from an advertisement providing server for the target advertisement position, and determining an advertisement quality value of at least one first advertisement data requested by the advertisement request strategy according to a preset first advertisement quality value analysis rule;
According to a preset second advertisement quality value analysis rule, determining an advertisement quality value of at least one second advertisement data in an advertisement space cache pool corresponding to the target advertisement space, and determining an advertisement quality value of at least one third advertisement data in a public advertisement cache pool corresponding to the target application program; the advertisement position caching pool corresponding to the target advertisement position is used for caching advertisement data for the target advertisement position; the public advertisement caching pool is used for caching advertisement data for each advertisement position in the target application program;
Comparing the advertisement quality value of the at least one first advertisement data, the advertisement quality value of the at least one second advertisement data, and the advertisement quality value of the at least one third advertisement data;
And according to the comparison result, acquiring advertisement data to be loaded of the target advertisement position from the at least one first advertisement data, the at least one second advertisement data or the at least one third advertisement data, and loading the advertisement data to be loaded of the target advertisement position.
Optionally, when the computer executable instructions are executed by the processor, the method obtains an advertisement request policy that is required to be invoked for requesting advertisement data from an advertisement providing server for the target advertisement slot this time, including: acquiring a plurality of advertisement request strategy packages configured for the target advertisement position in advance; the advertisement request strategy package comprises at least one advertisement request strategy; determining an advertisement request strategy package to be called at this time according to the calling sequence among the advertisement request strategy packages and the advertisement request strategy package called for requesting advertisement data for the advertisement providing server for the target advertisement position at the previous time; and extracting each advertisement request strategy in the advertisement request strategy package required to be called at the time to serve as the advertisement request strategy required to be called for requesting advertisement data from the advertisement providing server for the target advertisement position at the time.
Optionally, the computer executable instructions, when executed by the processor, provide for an advertisement quality value of the at least one first advertisement data to represent a degree of matching between the at least one first advertisement data and the targeted advertisement spot; according to a preset first advertisement quality value analysis rule, determining an advertisement quality value of at least one first advertisement data requested by the advertisement request strategy, including: for each first advertisement data, acquiring the content type of the first advertisement data, the historical putting times of the first advertisement data, the historical clicking times of a user and the historical comment times of the user, and acquiring the position information of the target advertisement position in a page and the application type of the target application program; determining a first matching degree value between the first advertisement data and the target advertisement position according to the content type and the application type, and determining a second matching degree value between the first advertisement data and the target advertisement position according to the historical putting times, the user historical clicking times, the user historical comment times and the position information; and determining the advertisement quality value of the first advertisement data according to the first matching degree value and the second matching degree value.
Optionally, the computer executable instructions, when executed by the processor, provide for an advertisement quality value of the at least one second advertisement data to represent a degree of matching between the at least one second advertisement data and the targeted advertisement spot; according to a preset second advertisement quality value analysis rule, determining an advertisement quality value of at least one second advertisement data in an advertisement space cache pool corresponding to the target advertisement space, including: for each second advertisement data, obtaining display effect information of the second advertisement data, content type of the second advertisement data, historical putting times, user historical clicking times and user historical comment times of the second advertisement data, and obtaining display effect information of a page where the target advertisement position is located, position information of the target advertisement position in the page and application type of the target application program; determining a first matching degree value between the second advertisement data and the target advertisement position according to the content type and the application type, determining a second matching degree value between the second advertisement data and the target advertisement position according to the historical putting times, the user historical clicking times, the user historical comment times and the position information, and determining a third matching degree value between the second advertisement data and the target advertisement position according to the display effect information of the second advertisement data and the display effect information of the page where the target advertisement position is located; and determining an advertisement quality value of the second advertisement data according to the first matching degree value, the second matching degree value and the third matching degree value.
Optionally, when the computer executable instructions are executed by the processor, according to the comparison result, the advertisement data to be loaded of the target advertisement slot is obtained from the at least one first advertisement data, the at least one second advertisement data, or the at least one third advertisement data, including: if the comparison result indicates that the first target advertisement data in the at least one first advertisement data is the advertisement data with the highest advertisement quality value in the at least one first advertisement data, the at least one second advertisement data and the at least one third advertisement data, sending the advertisement request strategy to the advertisement providing server, and acquiring the advertisement data to be loaded from the first advertisement data, the at least one second advertisement data or the at least one third advertisement data returned by the advertisement providing server according to the advertisement request strategy; if the comparison result indicates that the second target advertisement data in the at least one second advertisement data is the advertisement data with the highest advertisement quality value in the at least one first advertisement data, the at least one second advertisement data and the at least one third advertisement data, the second target advertisement data is obtained and is used as the advertisement data to be loaded; and if the comparison result indicates that the third target advertisement data in the at least one third advertisement data is the advertisement data with the highest advertisement quality value in the at least one first advertisement data, the at least one second advertisement data and the at least one third advertisement data, acquiring the third target advertisement data as the advertisement data to be loaded.
Optionally, when the computer executable instructions are executed by the processor, the acquiring the advertisement data to be loaded from the first advertisement data, the at least one second advertisement data, or the at least one third advertisement data returned by the advertisement providing server according to the advertisement request policy includes: if the returned first advertisement data contains the first target advertisement data, acquiring the first target advertisement data as the advertisement data to be loaded; and if the returned first advertisement data does not contain the first target advertisement data, comparing the advertisement quality value of the returned first advertisement data, the advertisement quality value of the at least one second advertisement data and the advertisement quality value of the at least one third advertisement data, and acquiring the advertisement data to be loaded from the returned first advertisement data, the at least one second advertisement data or the at least one third advertisement data according to the comparison result.
Optionally, when the computer executable instructions are executed by the processor, the following procedure may also be implemented: after the advertisement data to be loaded is obtained from the returned first advertisement data, the at least one second advertisement data or the at least one third advertisement data, if residual advertisement data exists in the returned first advertisement data, the residual advertisement data is cached in an advertisement position caching pool corresponding to the target advertisement position or in the public advertisement caching pool so as to facilitate subsequent loading.
Optionally, when the computer executable instructions are executed by the processor, the following procedure may also be implemented: detecting whether the advertisement bit cache pool contains advertisement data with the advertisement quality value higher than the preset quality, if not, requesting the advertisement providing server for the advertisement data with the advertisement quality value higher than the preset quality, and caching the requested advertisement data with the advertisement quality value higher than the preset quality in the advertisement bit cache pool.
In one embodiment of the present disclosure, after the target advertisement slot needs to be loaded with advertisement data, an advertisement request policy to be invoked when the advertisement request policy is requested for the advertisement data is first acquired, and an advertisement quality value of at least one first advertisement data requested by the advertisement request policy is determined, then an advertisement quality value of at least one second advertisement data in an advertisement slot cache pool corresponding to the target advertisement slot is determined, and an advertisement quality value of at least one third advertisement data in a public advertisement cache pool corresponding to the target application program is determined, and finally advertisement data to be loaded of the target advertisement slot is acquired from the at least one first advertisement data, the at least one second advertisement data, or the at least one third advertisement data based on the advertisement quality value of the at least one first advertisement data, the advertisement quality value of the at least one second advertisement data, and the advertisement quality value of the at least one third advertisement data. It can be seen that, through this embodiment, the advertisement data to be loaded can be obtained from the three channels based on the advertisement quality values of the advertisement data provided by the advertisement providing server, the advertisement space cache pool corresponding to the target advertisement space, and the public advertisement cache pool, thereby expanding the obtaining source of the advertisement data, obtaining the advertisement data meeting the requirements as much as possible, solving the problems that in the prior art, the advertisement data obtaining channel is single, and the advertisement data meeting the requirements cannot be obtained, and improving the putting effect of the advertisement data.
The computer readable storage medium includes Read-Only Memory (ROM), random access Memory (Random Access Memory RAM), magnetic disk or optical disk, etc.
The computer readable storage medium according to one embodiment of the present disclosure can implement the respective processes in the foregoing embodiment of the advertisement data loading method, and achieve the same functions and effects, and will not be repeated here.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, as relevant to see a section of the description of method embodiments.
The foregoing is merely exemplary of the present disclosure and is not intended to limit the present disclosure. Various modifications and variations of the embodiments described herein will be apparent to those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. that fall within the spirit and principles of the present document are intended to be included within the scope of the claims of the present document.