Advertisement index updating method, advertisement pushing method, device, medium and equipment
1. An advertisement index updating method, comprising:
determining a newly added advertisement set in the current unit time, and merging the newly added advertisement set and an advertisement set to be merged to obtain a current advertisement set corresponding to the current unit time;
updating a first index for associating the current advertisement set with a delivery condition set according to the current advertisement set; any advertisement in the current advertisement set corresponds to at least one delivery condition in a delivery condition set;
updating a second index for associating a plurality of interval sets with the release condition set according to the first index; wherein any delivery condition in the delivery condition set consists of at least one interval set in the plurality of interval sets;
updating a third index for associating a plurality of intervals and the plurality of interval sets according to the second index; wherein any interval set in the plurality of interval sets is composed of at least one interval in the plurality of intervals;
updating a fourth index for associating the set of endpoints and the plurality of intervals according to the third index to enable updating of the advertisement index; wherein any interval in the plurality of intervals includes at least one endpoint in the set of endpoints, and the advertisement index includes the first index, the second index, the third index, and the fourth index.
2. The method of claim 1, wherein merging the newly added advertisement set and an advertisement set to be merged to obtain a current advertisement set corresponding to the current unit time comprises:
determining a first target number of an advertisement to be offline in an original advertisement set;
obtaining the advertisement set to be merged according to the advertisement to be offline in the original advertisement set offline by the first target number;
merging the newly added advertisement set and the advertisement set to be merged;
and renumbering the advertisements in the combination result to obtain a current advertisement set which corresponds to the latest advertisement number and corresponds to the current unit time.
3. The method of claim 2, wherein after renumbering the advertisements in the combined result to obtain a current set of advertisements corresponding to the current unit time and the latest advertisement number, the method further comprises:
determining a first historical advertisement number in the newly added advertisement set and a second historical advertisement number in the advertisement set to be combined;
and determining the corresponding relation between the first historical advertisement number and the second historical advertisement number and the latest advertisement number respectively, and storing the corresponding relation.
4. The method according to claim 2, wherein obtaining the set of advertisements to be merged according to the offline advertisement to be offline in the original set of advertisements offline with the first target number comprises:
determining a second target number of the advertisement to be updated in the original advertisement set;
and offline the advertisement to be offline in the original advertisement set according to the first target number, and updating the advertisement to be updated in the original advertisement set according to the second target number to obtain the advertisement set to be combined.
5. The method of claim 2, wherein before determining the set of newly added advertisements for the current unit of time, the method further comprises:
determining the launching conditions corresponding to the advertisements in the original advertisement set and the launching sub-condition number corresponding to the launching conditions;
determining the throwing conditions corresponding to the same throwing sub-condition number as the same type of throwing conditions to obtain a plurality of types of throwing conditions; wherein the number of the releasing conditions of each category is at least one;
and numbering the launching conditions corresponding to the advertisements in the original advertisement set according to the categories to obtain launching condition numbers.
6. The method of claim 5, wherein numbering delivery conditions corresponding to the advertisements in the original advertisement set according to the categories to obtain delivery condition numbers comprises:
sorting the categories according to the number of the launching sub-conditions corresponding to each category;
and sequentially numbering all the throwing conditions included in the sequencing result to obtain the throwing condition numbers.
7. The method according to claim 5, wherein after updating a second index for associating a plurality of interval sets with the set of launch conditions according to the first index, the method further comprises:
and updating the putting condition number according to the second index.
8. The method of claim 3, wherein updating the first index for associating the current set of advertisements with the set of serving conditions based on the current set of advertisements comprises:
determining a release condition to be deleted according to the advertisement to be offline, and determining an additional release condition according to the advertisement to be updated and the newly added advertisement set;
updating the releasing condition set according to the supplementary releasing condition and the releasing condition to be deleted;
and updating the first index according to the corresponding relation and the updated release condition set.
9. The method of claim 1, wherein before determining the set of newly added advertisements for the current unit of time, the method further comprises:
and constructing the first index, the second index, the third index and the fourth index according to a preset endpoint, a preset interval set, a preset delivery condition and a preset advertisement.
10. The method of claim 1, wherein updating a fourth index for associating the set of endpoints and the plurality of intervals according to the third index to enable updating of the advertisement index further comprises:
updating a newly added advertisement set in the next unit time according to the current advertisement set; wherein the next unit time is in an adjacent relationship with the current unit time.
11. An advertisement pushing method, comprising:
determining a target endpoint matched with each dimension information from an endpoint set according to each dimension information contained in the user portrait; the endpoint set comprises at least two endpoints, and each endpoint of the at least two endpoints is used for representing a dimension information value;
determining a target interval corresponding to the target endpoint according to a fourth index for associating the endpoint set and a plurality of intervals; each interval in the plurality of intervals is used for indicating the range of the dimension information value;
determining a target interval set corresponding to the target interval according to a third index for associating the plurality of intervals and the plurality of interval sets; each interval set in the plurality of interval sets comprises at least two ranges of the dimension information values;
determining target launching conditions corresponding to the target interval sets according to second indexes for associating the interval sets with launching condition sets; the release condition set comprises at least two release conditions, and each release condition in the at least two release conditions is used for expressing a constraint rule for the value of the dimension information;
determining a target advertisement corresponding to the target delivery condition according to a first index for associating the current advertisement set with the delivery condition set; each advertisement in the current advertisement set corresponds to at least one delivery condition set, and the delivery conditions of the target advertisement comprise the target delivery conditions;
and pushing the target advertisement to a target user corresponding to the user image.
12. The method of claim 11, wherein pushing the targeted advertisement to a targeted user to whom the user image corresponds comprises:
determining a delivery platform corresponding to each target advertisement;
and when the target user is detected to be in a login state on the launching platform, displaying the target advertisement corresponding to the launching platform through the launching platform.
13. An advertisement index updating apparatus, comprising:
the advertisement set updating unit is used for determining a newly increased advertisement set in the current unit time and combining the newly increased advertisement set and an advertisement set to be combined to obtain a current advertisement set corresponding to the current unit time;
the index updating unit is used for updating a first index used for associating the current advertisement set with a delivery condition set according to the current advertisement set; any advertisement in the current advertisement set corresponds to at least one delivery condition in a delivery condition set;
the index updating unit is further configured to update a second index used for associating the plurality of interval sets with the release condition set according to the first index; wherein any delivery condition in the delivery condition set consists of at least one interval set in the plurality of interval sets;
the index updating unit is further configured to update a third index used for associating a plurality of intervals with the plurality of interval sets according to the second index; wherein any interval set in the plurality of interval sets is composed of at least one interval in the plurality of intervals;
the index updating unit is further configured to update a fourth index for associating the endpoint set and the plurality of intervals according to the third index, so as to realize updating of the advertisement index; wherein any interval in the plurality of intervals includes at least one endpoint in the set of endpoints, and the advertisement index includes the first index, the second index, the third index, and the fourth index.
14. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of any one of claims 1-12.
15. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the method of any of claims 1-12 via execution of the executable instructions.
Background
In general, advertisements may include: banner advertisement (Banner Ad), text chain advertisement (Textual Ad), Rich Media Ad, Video Ad, Social Ad, Mobile Ad, and mail Marketing Ad. Most advertisements are delivered through a selected delivery platform, before the advertisements are broadcast, an index related to the advertisements is usually required to be constructed, so that the advertisements matched with the user can be determined from the index according to the user portrait, and the advertisements are pushed to the user, so that the targeted delivery of the advertisements is realized.
In the index building process, advertisements corresponding to different delivery platforms are respectively stored in different storage areas by using an advertisement library or advertisement fragment mode, so that the number of single libraries or single advertisements is reduced, and the efficiency of building the advertisement index of the single libraries or single advertisements is improved.
However, since different sub-libraries or sub-slices correspond to different indexes, such a construction method usually needs to occupy more storage resources to store multiple sets of indexes, which easily causes a problem of high storage resource occupancy rate.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present application and therefore may include information that does not constitute prior art known to a person of ordinary skill in the art.
Disclosure of Invention
The application aims to provide an advertisement index updating method, an advertisement pushing method, an advertisement index updating device, an advertisement pushing device, a computer readable storage medium and electronic equipment, and can provide a mode for updating an original advertisement index according to a newly added advertisement, so that the problem that multiple groups of indexes are to be stored due to database partitioning or fragmentation in the prior art is solved.
Other features and advantages of the present application will be apparent from the following detailed description, or may be learned by practice of the application.
According to an aspect of the present application, there is provided an advertisement index updating method, including:
determining a newly added advertisement set in the current unit time, and merging the newly added advertisement set and an advertisement set to be merged to obtain a current advertisement set corresponding to the current unit time;
updating a first index for associating the current advertisement set with the delivery condition set according to the current advertisement set; any advertisement in the current advertisement set corresponds to at least one delivery condition in the delivery condition set;
updating a second index for associating the plurality of interval sets with the release condition sets according to the first index; any one of the putting conditions in the putting condition set is composed of at least one interval set in a plurality of interval sets;
updating a third index for associating the plurality of intervals and the plurality of interval sets according to the second index; any interval set in the interval sets is composed of at least one interval in the intervals;
updating a fourth index for associating the set of endpoints and the plurality of intervals according to the third index to enable updating of the advertisement index; the advertisement index comprises a first index, a second index, a third index and a fourth index.
In an exemplary embodiment of the present application, after updating the fourth index for associating the endpoint set and the plurality of intervals according to the third index to implement the updating of the advertisement index, the method further includes:
determining a target endpoint matched with each dimension information from an endpoint set according to each dimension information contained in the user portrait;
determining a target interval corresponding to the target endpoint according to the updated fourth index;
determining a target interval set corresponding to the target interval according to the updated third index;
determining target launching conditions corresponding to the target interval set according to the updated second index;
determining a target advertisement corresponding to the target delivery condition according to the updated first index;
and pushing the target advertisement to the target user corresponding to the user image.
In an exemplary embodiment of the present application, the pushing of a targeted advertisement to a targeted user corresponding to a user image includes:
determining a delivery platform corresponding to each target advertisement; and when the target user is detected to be in a login state on the launching platform, displaying the target advertisement corresponding to the launching platform through the launching platform.
According to an aspect of the present application, there is provided an advertisement push method, including:
determining a target endpoint matched with each dimension information from an endpoint set according to each dimension information contained in the user portrait; the endpoint set comprises at least two endpoints, and each endpoint of the at least two endpoints is used for representing a dimension information value;
determining a target interval corresponding to the target endpoint according to a fourth index for associating the endpoint set and the intervals; each interval in the multiple intervals is used for indicating the range of the dimension information value;
determining a target interval set corresponding to the target interval according to a third index for associating the plurality of intervals and the plurality of interval sets; each interval set in the multiple interval sets comprises at least two ranges of dimension information values;
determining target launching conditions corresponding to the target interval sets according to second indexes for associating the interval sets with the launching condition sets; the release condition set comprises at least two release conditions, and each release condition in the at least two release conditions is used for expressing a constraint rule for the value of the dimension information;
determining a target advertisement corresponding to the target delivery condition according to a first index for associating the current advertisement set with the delivery condition set; each advertisement in the current advertisement set corresponds to at least one delivery condition set, and the delivery conditions of the target advertisement comprise target delivery conditions;
and pushing the target advertisement to the target user corresponding to the user image.
In an exemplary embodiment of the present application, the pushing of a targeted advertisement to a targeted user corresponding to a user image includes:
determining a delivery platform corresponding to each target advertisement;
and when the target user is detected to be in a login state on the launching platform, displaying the target advertisement corresponding to the launching platform through the launching platform.
According to an aspect of the present application, there is provided an advertisement index updating apparatus, including:
the advertisement set updating unit is used for determining a newly increased advertisement set in the current unit time and combining the newly increased advertisement set and an advertisement set to be combined to obtain a current advertisement set corresponding to the current unit time;
the index updating unit is used for updating a first index used for associating the current advertisement set with the delivery condition set according to the current advertisement set; any advertisement in the current advertisement set corresponds to at least one delivery condition in the delivery condition set;
the index updating unit is further used for updating a second index used for associating the plurality of interval sets with the release condition sets according to the first index; any one of the putting conditions in the putting condition set is composed of at least one interval set in a plurality of interval sets;
the index updating unit is further used for updating a third index used for associating a plurality of intervals and a plurality of interval sets according to the second index; any interval set in the interval sets is composed of at least one interval in the intervals;
the index updating unit is further used for updating a fourth index for associating the endpoint set and the intervals according to the third index so as to realize updating of the advertisement index; the advertisement index comprises a first index, a second index, a third index and a fourth index.
In an exemplary embodiment of the present application, the merging, by an advertisement set updating unit, the newly added advertisement set and the advertisement set to be merged to obtain a current advertisement set corresponding to a current unit time includes:
determining a first target number of an advertisement to be offline in an original advertisement set;
obtaining an advertisement set to be combined according to the advertisement to be offline in the original advertisement set to be offline with the first target number;
combining the newly increased advertisement set and the advertisement set to be combined;
and renumbering the advertisements in the combination result to obtain a current advertisement set which corresponds to the latest advertisement number and corresponds to the current unit time.
In an exemplary embodiment of the present application, the apparatus further comprises:
the number determining unit is used for determining a first historical advertisement number in the newly added advertisement set and a second historical advertisement number in the advertisement set to be combined after the advertisement set updating unit renumbers the advertisements in the combining result to obtain a current advertisement set which corresponds to the latest advertisement number and corresponds to the current unit time;
and the corresponding relation determining unit is used for determining the corresponding relation between the first historical advertisement number and the latest advertisement number and the second historical advertisement number and storing the corresponding relation.
In an exemplary embodiment of the present application, the obtaining, by the advertisement set updating unit, the advertisement set to be merged according to the offline advertisement to be downloaded in the offline original advertisement set with the first target number includes:
determining a second target number of the advertisement to be updated in the original advertisement set;
and updating the advertisement to be updated in the original advertisement set according to the second target number to obtain the advertisement set to be merged.
In an exemplary embodiment of the present application, the apparatus further comprises:
the releasing condition quantity determining unit is used for determining releasing conditions corresponding to all the advertisements in the original advertisement set and releasing sub-condition quantities corresponding to all the releasing conditions before the advertisement set updating unit determines the newly-added advertisement set in the current unit time;
the interval set type determining unit is used for determining the launching conditions corresponding to the same launching sub-condition number as the launching conditions of the same type to obtain launching conditions of a plurality of types; wherein the number of the releasing conditions of each category is at least one;
and the numbering unit is used for numbering the launching conditions corresponding to the advertisements in the original advertisement set according to the categories to obtain the launching condition numbers.
In an exemplary embodiment of the present application, the numbering unit numbers the serving conditions corresponding to the advertisements in the original advertisement set according to a plurality of categories to obtain the serving condition numbers, including:
sorting the categories according to the number of the launching sub-conditions corresponding to each category;
and sequentially numbering all the throwing conditions included in the sequencing result to obtain throwing condition numbers.
In an exemplary embodiment of the present application, the apparatus further comprises:
and the number updating unit is used for updating the launching condition number according to the second index after the index updating unit updates the second index used for associating the plurality of interval sets and the launching condition set according to the first index.
In an exemplary embodiment of the present application, the updating the first index for associating the current advertisement set with the delivery condition set according to the current advertisement set by the index updating unit includes:
determining a release condition to be deleted according to the advertisement to be offline, and determining an supplementary release condition according to the advertisement to be updated and the newly added advertisement set;
updating the releasing condition set according to the supplementary releasing condition and the releasing condition to be deleted;
and updating the first index according to the corresponding relation and the updated release condition set.
In an exemplary embodiment of the present application, the apparatus further comprises:
the endpoint determining unit is used for determining a target endpoint matched with each dimension information from the endpoint set according to each dimension information contained in the user portrait after the index updating unit updates a fourth index used for associating the endpoint set with the intervals according to the third index so as to update the advertisement index;
the interval determining unit is used for determining a target interval corresponding to the target endpoint according to the updated fourth index;
an interval set determining unit, configured to determine, according to the updated third index, a target interval set corresponding to the target interval;
the releasing condition determining unit is used for determining a target releasing condition corresponding to the target interval set according to the updated second index;
the advertisement determining unit is used for determining a target advertisement corresponding to the target delivery condition according to the updated first index;
and the advertisement delivery unit is used for pushing the target advertisement to the target user corresponding to the user portrait.
In an exemplary embodiment of the present application, an advertisement delivery unit pushes a targeted advertisement to a targeted user corresponding to a user image, including:
determining a delivery platform corresponding to each target advertisement;
and when the target user is detected to be in a login state on the launching platform, displaying the target advertisement corresponding to the launching platform through the launching platform.
In an exemplary embodiment of the present application, the apparatus further comprises:
and the index construction unit is used for constructing a first index, a second index, a third index and a fourth index according to a preset endpoint, a preset interval set, a preset delivery condition and a preset advertisement before the advertisement set updating unit determines the newly added advertisement set in the current unit time.
In an exemplary embodiment of the present application, the index updating unit is further configured to update a new advertisement set in a next unit time according to the current advertisement set after updating a fourth index for associating the endpoint set and the plurality of intervals according to the third index to implement updating of the advertisement index; wherein, the next unit time and the current unit time are in adjacent relation.
According to an aspect of the present application, there is provided an advertisement push apparatus including:
the endpoint determining unit is used for determining a target endpoint matched with each dimension information from the endpoint set according to each dimension information contained in the user portrait; the endpoint set comprises at least two endpoints, and each endpoint of the at least two endpoints is used for representing a dimension information value;
an interval determining unit configured to determine a target interval corresponding to the target endpoint according to a fourth index for associating the endpoint set and the plurality of intervals; each interval in the multiple intervals is used for indicating the range of the dimension information value;
an interval set determining unit configured to determine a target interval set corresponding to the target interval according to a third index for associating the plurality of intervals and the plurality of interval sets; each interval set in the multiple interval sets comprises at least two ranges of dimension information values;
the release condition determining unit is used for determining target release conditions corresponding to the target interval sets according to second indexes used for associating the plurality of interval sets with the release condition sets; the release condition set comprises at least two release conditions, and each release condition in the at least two release conditions is used for expressing a constraint rule for the value of the dimension information;
the advertisement determining unit is used for determining a target advertisement corresponding to the target delivery condition according to a first index for associating the current advertisement set with the delivery condition set; each advertisement in the current advertisement set corresponds to at least one delivery condition set, and the delivery conditions of the target advertisement comprise target delivery conditions;
and the advertisement delivery unit is used for pushing the target advertisement to the target user corresponding to the user portrait.
In an exemplary embodiment of the present application, an advertisement delivery unit pushes a targeted advertisement to a targeted user corresponding to a user image, including:
determining a delivery platform corresponding to each target advertisement;
and when the target user is detected to be in a login state on the launching platform, displaying the target advertisement corresponding to the launching platform through the launching platform.
According to an aspect of the present application, there is provided an electronic device including: a processor; and a memory for storing executable instructions for the processor; wherein the processor is configured to perform the method of any of the above via execution of the executable instructions.
According to an aspect of the application, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of any one of the above.
According to an aspect of the application, a computer program product or computer program is provided, comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the method provided in the various alternative implementations described above.
The exemplary embodiments of the present application may have some or all of the following advantages:
in the advertisement index updating method provided by an exemplary embodiment of the present application, a newly added advertisement set in a current unit time may be determined, and the newly added advertisement set and an advertisement set to be merged are merged to obtain a current advertisement set corresponding to the current unit time; updating a first index for associating the current advertisement set with the delivery condition set according to the current advertisement set; any advertisement in the current advertisement set corresponds to at least one delivery condition in the delivery condition set; updating a second index for associating the plurality of interval sets with the release condition sets according to the first index; any one of the putting conditions in the putting condition set is composed of at least one interval set in a plurality of interval sets; updating a third index for associating the plurality of intervals and the plurality of interval sets according to the second index; any interval set in the interval sets is composed of at least one interval in the intervals; updating a fourth index for associating the set of endpoints and the plurality of intervals according to the third index to enable updating of the advertisement index; the advertisement index comprises a first index, a second index, a third index and a fourth index. According to the technical description, on one hand, the method for updating the original advertisement index according to the newly added advertisement can be provided, the problem that multiple groups of indexes are to be stored due to database partitioning or fragmentation in the prior art is solved, only one group of indexes needs to be stored, the problem that the storage resource occupancy rate is high can be effectively solved, namely, the occupancy rate of the storage resource is reduced, and the equipment operation and maintenance cost is reduced. In another aspect of the application, the online efficiency of the newly added advertisement can be improved by timely updating the advertisement index, and the delivery accuracy rate when the targeted delivery of the advertisement is carried out according to the advertisement index can be favorably improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
FIG. 1 is a diagram illustrating an exemplary system architecture to which an advertisement index updating method and an advertisement index updating apparatus according to an embodiment of the present application may be applied;
FIG. 2 illustrates a schematic structural diagram of a computer system suitable for use in implementing an electronic device of an embodiment of the present application;
FIG. 3 schematically illustrates a flow diagram of an advertisement index update method according to an embodiment of the present application;
FIG. 4 is a diagram schematically illustrating a newly added advertisement set and an original advertisement set being merged to obtain a current advertisement set according to an embodiment of the present application;
FIG. 5 schematically illustrates an advertisement index diagram according to an embodiment of the present application;
FIG. 6 schematically illustrates a flow diagram of an advertisement index update method according to an embodiment of the present application;
FIG. 7 schematically illustrates a flow diagram of an advertisement push method according to an embodiment of the present application;
FIG. 8 schematically illustrates a block diagram of an advertisement index update system according to an embodiment of the present application;
FIG. 9 is a block diagram schematically illustrating an advertisement index updating apparatus according to an embodiment of the present application;
FIG. 10 is a block diagram schematically illustrating an advertisement delivery apparatus according to an embodiment of the present application.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the application. One skilled in the relevant art will recognize, however, that the subject matter of the present application can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the present application.
Furthermore, the drawings are merely schematic illustrations of the present application and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
Fig. 1 is a schematic diagram illustrating a system architecture of an exemplary application environment to which an advertisement index updating method and an advertisement index updating apparatus according to an embodiment of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include one or more of terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few. The terminal devices 101, 102, 103 may be various electronic devices having a display screen, including but not limited to desktop computers, portable computers, smart phones, tablet computers, and the like. It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation. For example, server 105 may be a server cluster comprised of multiple servers, or the like. The server 105 may be an independent physical server, a server cluster or a distributed system including a plurality of physical servers, or a cloud server that provides basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a web service, cloud communication, a middleware service, a domain name service, a security service, a CDN, and a big data and artificial intelligence platform. The terminal may be, but is not limited to, a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, and the like. The terminal and the server may be directly or indirectly connected through wired or wireless communication, and the application is not limited herein.
It should be noted that the cloud server described above may provide basic cloud computing services by using cloud technology. Cloud technology refers to a hosting technology for unifying serial resources such as hardware, software, network and the like in a wide area network or a local area network to realize calculation, storage, processing and sharing of data.
In addition, cloud computing (cloud computing) included in the above-described basic cloud computing service refers to a delivery and use mode of IT infrastructure, and refers to obtaining required resources in an on-demand, easily-extensible manner through a network; the generalized cloud computing refers to a delivery and use mode of a service, and refers to obtaining a required service in an on-demand and easily-extensible manner through a network. Such services may be IT and software, internet related, or other services. Cloud Computing is a product of development and fusion of traditional computers and Network Technologies, such as Grid Computing (Grid Computing), distributed Computing (distributed Computing), Parallel Computing (Parallel Computing), Utility Computing (Utility Computing), Network Storage (Network Storage Technologies), Virtualization (Virtualization), Load balancing (Load Balance), and the like.
The advertisement index updating method provided by the embodiment of the present application is generally executed by the server 105, and accordingly, the advertisement index updating apparatus is generally disposed in the server 105. However, it is easily understood by those skilled in the art that the advertisement index updating method provided in the embodiment of the present application may also be executed by the terminal device 101, 102, or 103, and accordingly, the advertisement index updating apparatus may also be disposed in the terminal device 101, 102, or 103, which is not particularly limited in this exemplary embodiment. For example, in an exemplary embodiment, the server 105 may determine a newly added advertisement set in the current unit time, and merge the newly added advertisement set with an advertisement set to be merged to obtain a current advertisement set corresponding to the current unit time; updating a first index for associating the current advertisement set with the delivery condition set according to the current advertisement set; any advertisement in the current advertisement set corresponds to at least one delivery condition in the delivery condition set; updating a second index for associating the plurality of interval sets with the release condition sets according to the first index; any one of the putting conditions in the putting condition set is composed of at least one interval set in a plurality of interval sets; updating a third index for associating the plurality of intervals and the plurality of interval sets according to the second index; any interval set in the interval sets is composed of at least one interval in the intervals; updating a fourth index for associating the set of endpoints and the plurality of intervals according to the third index to enable updating of the advertisement index; the advertisement index comprises a first index, a second index, a third index and a fourth index.
FIG. 2 illustrates a schematic structural diagram of a computer system suitable for use in implementing the electronic device of an embodiment of the present application.
It should be noted that the computer system 200 of the electronic device shown in fig. 2 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 2, the computer system 200 includes a Central Processing Unit (CPU)201 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)202 or a program loaded from a storage section 208 into a Random Access Memory (RAM) 203. In the RAM 203, various programs and data necessary for system operation are also stored. The CPU 201, ROM 202, and RAM 203 are connected to each other via a bus 204. An input/output (I/O) interface 205 is also connected to bus 204.
The following components are connected to the I/O interface 205: an input portion 206 including a keyboard, a mouse, and the like; an output section 207 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 208 including a hard disk and the like; and a communication section 209 including a network interface card such as a LAN card, a modem, or the like. The communication section 209 performs communication processing via a network such as the internet. A drive 210 is also connected to the I/O interface 205 as needed. A removable medium 211, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like, is mounted on the drive 210 as necessary, so that a computer program read out therefrom is installed into the storage section 208 as necessary.
In particular, according to embodiments of the present application, the processes described below with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 209 and/or installed from the removable medium 211. The computer program, when executed by a Central Processing Unit (CPU)201, performs various functions defined in the methods and apparatus of the present application.
Generally, to solve the problem of low online efficiency of advertisements, an advertisement index is constructed by the following method: 1. and according to the flow database 2, according to the advertisement number, taking the module fragment 3, and according to the update time database.
In the mode 1, because the specific advertisement usually appears on one or more specific traffic, the advertisements can be sorted according to the traffic during actual deployment, so that the number of the advertisements in the single library can be reduced, the effect of consuming less time can be achieved when the advertisement index of the single library is constructed, and the online efficiency of the advertisements is improved.
With respect to the mode 2, in order to reduce the size of the single advertisement library, the advertisement can be allocated under the corresponding advertisement library according to the advertisement number so as to reduce the size of the single advertisement, and each single advertisement corresponds to one advertisement index.
For the mode 3, the large advertisement library and the small advertisement library can be divided according to the advertisement updating time, and the small advertisement library only keeps the advertisement set updated in the latest period of time (for example, two hours), so that the data volume of the advertisement library is reduced, and the online efficiency of the advertisement is improved.
However, the above-mentioned methods 1 to 3 all have a phenomenon of a large number of advertisement libraries, and since each advertisement library corresponds to one advertisement index, constructing a large number of indexes easily causes a problem of high storage resource occupancy rate.
Based on the above problems, the present exemplary embodiment provides an advertisement index updating method. The advertisement index updating method may be applied to the server 105, and may also be applied to one or more of the terminal devices 101, 102, and 103, which is not particularly limited in this exemplary embodiment. Referring to fig. 3, the advertisement index updating method may include the following steps S310 to S350:
step S310: and determining a newly added advertisement set in the current unit time, and merging the newly added advertisement set and the advertisement set to be merged to obtain a current advertisement set corresponding to the current unit time.
Step S320: updating a first index for associating the current advertisement set with the delivery condition set according to the current advertisement set; and any advertisement in the current advertisement set corresponds to at least one delivery condition in the delivery condition set.
Step S330: updating a second index for associating the plurality of interval sets with the release condition sets according to the first index; wherein any one of the delivery conditions in the delivery condition set is composed of at least one interval set in the plurality of interval sets.
Step S340: updating a third index for associating the plurality of intervals and the plurality of interval sets according to the second index; wherein any interval set in the interval sets is composed of at least one interval in the intervals.
Step S350: updating a fourth index for associating the set of endpoints and the plurality of intervals according to the third index to enable updating of the advertisement index; the advertisement index comprises a first index, a second index, a third index and a fourth index.
By implementing the method shown in fig. 3, a mode of updating the original advertisement index according to the newly added advertisement can be provided, and the problem that multiple groups of indexes are to be stored due to database partitioning or fragmentation in the prior art is avoided. In addition, the online efficiency of the newly-added advertisements can be improved by timely updating the advertisement indexes, and the delivery accuracy rate when the advertisements are delivered in a targeted mode according to the advertisement indexes can be improved.
The above steps of the present exemplary embodiment will be described in more detail below.
In step S310, a newly added advertisement set in the current unit time is determined, and the newly added advertisement set and the advertisement set to be merged are merged to obtain a current advertisement set corresponding to the current unit time.
Wherein, the current unit time can be expressed as a time period (e.g., 1 month 1 day 00:00: 00-2020 1 month 1 day 00:01: 00). The newly added advertisement set and the advertisement set to be merged may include at least one advertisement, and optionally, the number of advertisements in the current advertisement set may be the sum of the number of advertisements in the newly added advertisement set and the advertisement set to be merged, or may be smaller than the sum of the number of advertisements. The current unit time is preceded by a plurality of historical unit times and may be followed by a plurality of future unit times, wherein the plurality of historical unit times, the current unit time and the plurality of future unit times are on the same time axis and have equal time periods.
As an optional embodiment, merging the newly added advertisement set and the advertisement set to be merged to obtain a current advertisement set corresponding to the current unit time includes: determining a first target number of an advertisement to be offline in an original advertisement set; obtaining an advertisement set to be combined according to the advertisement to be offline in the original advertisement set to be offline with the first target number; combining the newly increased advertisement set and the advertisement set to be combined; and renumbering the advertisements in the combination result to obtain a current advertisement set which corresponds to the latest advertisement number and corresponds to the current unit time.
Specifically, renumbering the advertisements in the combination result to obtain a current advertisement set corresponding to the latest advertisement number and corresponding to the current unit time, including: and numbering the advertisements in the combination result in sequence to obtain a current advertisement set which corresponds to the latest advertisement number and corresponds to the current unit time. For example, an advertisement originally numbered 3 in the set of advertisements to be merged may correspond to number 2 in the current set of advertisements after renumbering. Similarly, the advertisement numbered 10 in the newly added advertisement set may correspond to the number 100 in the current advertisement set after being renumbered; further, a one-to-one correspondence between the latest advertisement number, which may be a consecutive number, and the advertisement is stored.
Therefore, by implementing the optional embodiment, the supplementary advertisements can be directly added into the original advertisement set by merging the advertisement set, and the advertisement index is updated according to the result of renumbering, which is beneficial to improving the online efficiency and the advertisement putting efficiency of the advertisements.
As an alternative embodiment, after renumbering the advertisements in the combination result to obtain a current advertisement set corresponding to the latest advertisement number and corresponding to the current unit time, the method further comprises: determining a first historical advertisement number in the newly added advertisement set and a second historical advertisement number in the advertisement set to be combined; and determining the corresponding relation between the first historical advertisement number and the latest advertisement number and the second historical advertisement number and storing the corresponding relation.
The first historical advertisement numbers in the newly added advertisement set correspond to the advertisements in the newly added advertisement set one by one, the first historical advertisement numbers corresponding to any two advertisements in the newly added advertisement set are different, and the first historical advertisement numbers in the newly added advertisement set can be continuous numbers (such as 1,2,3,4, … …) or discontinuous numbers. Similarly, the second historical advertisement numbers in the advertisement set to be merged correspond to the advertisements in the advertisement set to be merged one by one, the second historical advertisement numbers corresponding to any two advertisements in the advertisement set to be merged are different, and the second historical advertisement numbers in the advertisement set to be merged can be continuous numbers or discontinuous numbers.
For example, the correspondence relationship includes a correspondence relationship list a and a correspondence relationship list B, the set of advertisements to be merged includes an advertisement a, an advertisement B, and an advertisement C, and the set of newly added advertisements includes an advertisement D. The corresponding relation list A is used for associating the second historical advertisement number with the latest advertisement number, and the corresponding relation list B is used for associating the first historical advertisement number with the latest advertisement number. For example, the correspondence list a includes 1-1, 2-2, 3, 4-3, which means that the advertisement a corresponds to the second historical advertisement number 1 in the advertisement set to be merged and corresponds to the latest advertisement number 1 in the current advertisement set, the advertisement B corresponds to the second historical advertisement number 2 in the advertisement set to be merged and corresponds to the latest advertisement number 2 in the current advertisement set, the advertisement C (i.e., the advertisement to be offline) corresponds to the second historical advertisement number 3 in the advertisement set to be merged and does not have a corresponding number in the current advertisement set, and the advertisement D corresponds to the first historical advertisement number 4 in the newly added advertisement set but corresponds to the latest advertisement number 3 in the current advertisement set.
Therefore, by implementing the optional embodiment, the numbers respectively corresponding to the advertisements before and after renumbering can be recorded, the number corresponding relation is obtained, the advertisement index can be updated according to the number corresponding relation, and the online efficiency of the advertisement is improved.
As an optional embodiment, obtaining a set of advertisements to be merged according to the offline advertisements to be offline in the first target number offline original advertisement set includes: determining a second target number of the advertisement to be updated in the original advertisement set; and updating the advertisement to be updated in the original advertisement set according to the second target number to obtain the advertisement set to be merged.
The advertisement set to be merged is a subset of an original advertisement set, the original advertisement set corresponds to historical unit time, and the historical unit time is adjacent to the current unit time and is earlier than the current unit time; the number of the advertisements to be offline and the number of the advertisements to be updated can be one or more, and if N (N is a positive integer) advertisements to be updated exist in the original advertisement set, the newly added advertisement set can include N new advertisements for replacing the advertisements to be updated.
Referring to fig. 4, fig. 4 schematically illustrates a diagram of combining a newly added advertisement set and an original advertisement set to obtain a current advertisement set according to an embodiment of the present application. As shown in fig. 4, the original advertisement set 410 includes advertisements with second historical advertisement numbers 1,2, and 3, respectively. The newly added advertisement set 411 includes advertisements with first historical advertisement numbers 4 and 5, respectively.
In the original advertisement set 410, the advertisement with the advertisement number 3 due to the second history is the advertisement to be offline. Therefore, the position of the advertisement to be offline in the original advertisement set 410 can be located according to the determined second historical advertisement number 3, so as to offline the advertisement to be offline, thereby obtaining the advertisement set to be merged without the advertisement with the second historical advertisement number 3.
When the advertisement set to be merged is merged with the newly added advertisement set 411, a current advertisement set 431 including the latest advertisement numbers 1,2,3, and 4 respectively can be obtained. Wherein, the corresponding relation between the first historical advertisement number and the latest advertisement number and the second historical advertisement number can be constructed and stored. Specifically, the correspondence may include a correspondence 421 between the second history advertisement number and the latest advertisement number and a correspondence 422 between the first history advertisement number and the latest advertisement number in fig. 4.
The correspondence relationship 421 includes: a corresponding relation 1-1 for associating the second historical advertisement number 1 with the latest advertisement number 1, a corresponding relation 2-2 for associating the second historical advertisement number 2 with the latest advertisement number 2, and a corresponding relation 3 for indicating that the advertisement corresponding to the second historical advertisement number 3 is the advertisement to be offline. The correspondence relationship 421 includes: a correspondence 4-3 for associating the first historical advertisement number 4 with the latest advertisement number 3, and a correspondence 5-4 for associating the first historical advertisement number 5 with the latest advertisement number 4.
Therefore, by implementing the optional embodiment, the newly added advertisement set can be merged into the original advertisement set, so that the whole advertisement index can be updated according to the reverse process of the inverted index, the online speed of the advertisement can be accelerated, the exposure efficiency of the advertisement is improved, and furthermore, the strategies of timely adjusting advertisement bidding, orientation and the like by an advertiser according to the feedback of the gains obtained after the advertisement exposure are facilitated.
As an optional embodiment, before determining the newly added advertisement set in the current unit time, the method further includes: determining the launching conditions corresponding to the advertisements in the original advertisement set and the launching sub-condition number corresponding to the launching conditions; determining the throwing conditions corresponding to the same throwing sub-condition number as the same type of throwing conditions to obtain a plurality of types of throwing conditions; wherein the number of the releasing conditions of each category is at least one; and numbering the launching conditions corresponding to the advertisements in the original advertisement set according to the plurality of categories to obtain launching condition numbers.
Wherein the delivery condition may be a conjunction clause (C) for composing the advertisement (T)i) The number of delivery conditions is the number of conjunctive clauses, i is a positive integer, and targeted delivery of the advertisement can be represented by a Disjunctive Normal Form (DNF) where T ═ C is represented1∨C2∨...∨CmAnd m is a positive integer of 3 or more. Specifically, each conjunctive clause CiThe expression is the conjunction of the assertion which can be the releasing sub-condition, the assertion comprises an interval set R, the number of the releasing sub-conditions is the number of the assertion, Ci=(pi1∧pi2∧...∧pin) Subscript in is used as assertion PA,R(x) Is unique.
An assertion is a logical expression that can return either a 0 for representing the logical expression as false or a 1 for representing the logical expression as true, and consists of a computation dimension A (e.g., age) and an interval set R (e.g., [20,30) ], e.g., an assertion PAge, [20,30)(x) → {0, 1}, if the age of the target user belongs to [20,30 ], then PAge, [20,30)(x) 1, otherwise PAge, [20,30)(x)=0。
For example, if T ═ C1∨C2,C1=PAge, [20,30)(x)∧PSex, woman(x),C2=PAge, [40,50)(x)∧PSex, male(x) Then the serving condition of the advertisement T is represented to include C1And C2That is, satisfy C1And C2And the user with any one of the delivery conditions is the delivery object.
I.e. if there is user a, user B, user C. User a is female and is within age [20, 30); user B is male and within age [40, 50); user C is female and is within age [40, 50%). Advertisement T may be placed to user A and user B because user C does not satisfy C1And C2Any delivery condition, and therefore, the advertisement T cannot be delivered to the user C.
In addition, numbering the delivery conditions corresponding to the advertisements in the original advertisement set according to a plurality of categories to obtain delivery condition numbers, comprising: sorting the launching conditions corresponding to the advertisements in the original advertisement set according to the sequence of the launching sub-condition numbers respectively corresponding to the categories from small to large/from large to small, and numbering the sorting results in sequence to obtain launching condition numbers; wherein, any two throwing condition numbers are not consistent.
For example, the original advertisement set includes advertisements T1, T2, T3, T1 ═ C1∨C2,T2=C2∨C3,T3=C1∨C2∨C3,C1=(PA5,R5(x)),C2=(PA2,R2(x)∧PA3,R3(x)),C3=(PA8,R8(x) ); wherein, C1And C3The number of corresponding throwing sub-conditions is 1, C2The corresponding number of dosing conditions is 2, thus C1And C3Belong to the same class S1, C2Belonging to another category S2. If the putting conditions of multiple categories are sorted according to the order from small to large, then C can be obtained1-C3-C2Or C3-C1-C2。
Based on this, after numbering the delivery conditions corresponding to each advertisement in the original advertisement set according to a plurality of categories to obtain delivery condition numbers, the method may further include: determining a number corresponding to the interval set according to the number of the release condition; the numbers of the interval sets corresponding to the same throwing sub-condition number are continuous, and the numbers of the interval sets belonging to the same throwing condition are continuous.
With reference to the above example, C1-C3-C2The interval set can be expressed by the interval set in the feeding sub-condition, and the interval set R5-R8-R2-R3 is obtained. Numbering this set of intervals gives numbers 1-2-3-4 corresponding to R5-R8-R2-R3, respectively. Wherein, R5 and R8 belong to C respectively1And C3And C is1And C3Corresponding to the same number of sub-conditions (i.e., 1) for dosing, and thus numbers 1 and 2 for R5 and R8 are consecutive numbers; r2 and R3 belong to the same charging condition C2Therefore, numbers 3 and 4 corresponding to R2 and R3 are also consecutive numbers.
Therefore, by implementing the optional embodiment, the advertisement index can be favorably updated through the number of the delivery conditions, so that the online efficiency of the advertisement is improved.
As an optional embodiment, numbering delivery conditions corresponding to each advertisement in an original advertisement set according to a plurality of categories to obtain delivery condition numbers, including: sorting the categories according to the number of the launching sub-conditions corresponding to each category; and sequentially numbering all the throwing conditions included in the sequencing result to obtain throwing condition numbers.
Specifically, the sorting the categories according to the number of the launching sub-conditions corresponding to each category includes: determining the number of throwing sub-conditions corresponding to each category as the number of hits corresponding to the category to obtain a plurality of hits which are different from each other; sequencing the number of hits from small to large to obtain a sequencing result; the number of hits is used to characterize the number of assertions hit by one launch condition, and each assertion corresponds to one interval set, so the number of hits can also be used to characterize the number of interval sets hit by one launch condition.
For example, if there are category a, category B and category C, the number of delivery sub-conditions respectively corresponds to 5, 3 and 4, and since the delivery sub-conditions may be the number of interval sets corresponding to the delivery conditions, N1 delivery conditions in category a each correspond to the number of delivery sub-conditions of 5, N2 delivery conditions in category B each correspond to the number of delivery sub-conditions of 3, and N2 delivery conditions in category C each correspond to the number of delivery sub-conditions of 4; wherein N1, N2 and N3 are all positive integers.
If the number of the releasing conditions N1, N2, N3 is 2,3,4, respectively, the category a, the category B, and the category C are sorted according to the number of the releasing sub-conditions, and then the sort result category B-category C-category a can be obtained, that is, 3 releasing conditions in the category B can be numbered sequentially to obtain numbers 1,2,3, and then 4 releasing conditions in the category C can be numbered sequentially to obtain numbers 4,5,6,7, and then 2 releasing conditions in the category a can be numbered sequentially to obtain numbers 8,9, so that the releasing condition numbers corresponding to all releasing conditions can be obtained.
In addition, when 3 dispensing conditions in the category B are numbered sequentially, the discharge order of the 3 dispensing conditions may be random discharge, that is, any dispensing condition belonging to the 3 dispensing conditions may be numbered as any one of 1,2 and 3, and the present application does not limit this, and the process of numbering 4 dispensing conditions in the category C sequentially and the process of numbering 2 dispensing conditions in the category a sequentially are the same.
In addition, after sequentially numbering all the delivery conditions included in the ranking result and obtaining the delivery condition numbers, the method may further include: and numbering the interval sets contained in each throwing condition in sequence according to the sequence of the throwing condition numbers to obtain the interval set numbers. For example, if the dosing condition numbers 1,2,3, 1,2, and 3 correspond to 3,4, and 5 segment sets, the 3 segment sets may be first numbered as R1, R2, and R3, the 4 segment sets may be numbered as R4, R5, R6, and R7, and the 5 segment sets may be numbered as R8, R9, R10, R11, and R12, in the order of numbers 1,2, and 3. The order of placement of each of the 3 span sets may be any order, and the order of placement of the span sets affects the number thereof, for example, if the target span set is placed before the other two span sets in the 3 span sets, then the target span set will be numbered R1 at the time of numbering.
Therefore, by implementing the optional embodiment, the number of the launching conditions can be numbered according to the number of the launching sub-conditions, the order of the advertisement indexes is improved, the efficiency of advertisement launching is improved, and the advertisement to be launched to the user can be quickly and accurately positioned.
As an optional embodiment, after updating the second index for associating the plurality of interval sets with the set of delivery conditions according to the first index, the method further includes: and updating the throwing condition number according to the second index.
Specifically, updating the launch condition number according to the second index includes: and renumbering the number of the release condition according to the second index, and storing the corresponding number relationship before and after numbering.
Therefore, by implementing the optional embodiment, the online efficiency of the advertisement can be improved and the occupancy rate of the storage resource can be reduced by updating the number of the delivery condition.
As an optional embodiment, before determining the newly added advertisement set in the current unit time, the method further includes: and constructing a first index, a second index, a third index and a fourth index according to a preset endpoint, a preset interval set, a preset delivery condition and a preset advertisement.
Specifically, constructing a first index, a second index, a third index and a fourth index according to a preset endpoint, a preset interval set, a preset delivery condition and a preset advertisement, includes:
all the preset endpoints (e.g., p)1,p2,p3,...,pp) Sequencing according to the sequence from small to large and numbering sequencing results in sequence to obtain an interval number index, wherein the interval number index corresponds to all preset endpoints one to one, and is used for representing one-to-one or one-to-many relation between each preset endpoint and a preset interval to obtain a fourth index for associating a preset endpoint set and a plurality of preset intervals (namely the preset interval set);
sequencing the preset interval sets in a descending order and numbering sequencing results in sequence to obtain a set number index a of the interval sets, wherein the set index a of the interval set numbers corresponds to the preset interval sets one by one, and the set number index a of the interval sets is used for representing one-to-one or one-to-many relation between each preset interval and the preset interval sets to obtain a third index for associating a plurality of preset intervals (namely, the interval sets) and a plurality of preset interval sets (namely, the sets of the interval sets);
determining the number of hits (namely, the number of assertions) corresponding to each preset delivery condition in each advertisement, collecting the number of hits, and constructing a collection number index b of a preset interval collection, wherein the collection number index b of the preset interval collection is used for associating the number of hits collection with the preset interval collection; determining a second index for associating a plurality of preset interval sets (namely, a set of the interval sets) with the release condition sets according to the corresponding relation between the hit number set and the release condition set;
and sequencing the delivery condition sets in a sequence from small to large and numbering sequencing results in sequence to obtain advertisement number indexes, wherein the advertisement number indexes correspond to the delivery conditions one to one, and the advertisement number indexes are used for representing one-to-one or one-to-many relations between the delivery conditions and the advertisements to obtain a first index for associating the original advertisement set with the original delivery condition set.
Therefore, by implementing the optional embodiment, the advertisement index can be formed by constructing the first index, the second index, the third index and the fourth index, so that when a newly added advertisement is detected, only the advertisement index needs to be updated, and the advertisement index does not need to be classified or fragmented according to the type of the advertisement, thereby reducing the occupancy rate of storage resources and improving the online efficiency of the newly added advertisement.
In step S320, updating a first index for associating the current advertisement set with the delivery condition set according to the current advertisement set; and any advertisement in the current advertisement set corresponds to at least one delivery condition in the delivery condition set.
As an alternative embodiment, updating the first index for associating the current advertisement set with the delivery condition set according to the current advertisement set includes: determining a release condition to be deleted according to the advertisement to be offline, and determining an supplementary release condition according to the advertisement to be updated and the newly added advertisement set; updating the releasing condition set according to the supplementary releasing condition and the releasing condition to be deleted; and updating the first index according to the corresponding relation and the updated release condition set.
The number of the advertisements to be offline can be one or more, and the supplementary delivery conditions can be delivery conditions which are not originally in the delivery condition set. Specifically, determining supplementary delivery conditions according to the advertisement to be updated and the newly added advertisement set includes: determining whether the advertisement to be updated contains newly added delivery conditions, if not, determining all newly added delivery conditions corresponding to the newly added advertisement set as supplementary delivery conditions; if yes, determining the newly added delivery conditions in the advertisement to be updated and all newly added delivery conditions corresponding to the newly added advertisement set as supplementary delivery conditions. Furthermore, updating the delivery condition set according to the supplementary delivery condition and the delivery condition to be deleted comprises: deleting the releasing conditions to be deleted in the releasing condition set to obtain an intermediate releasing condition set; and adding supplementary launching conditions in the middle launching condition set to obtain an updated launching condition set.
Therefore, by implementing the optional embodiment, the delivery condition set can be updated, so that the indexes in the advertisement index can be updated in sequence, the advertisement index can be updated in time, and the online efficiency of the advertisement is improved.
In step S330, updating a second index for associating the plurality of interval sets with the delivery condition sets according to the first index; wherein any one of the delivery conditions in the delivery condition set is composed of at least one interval set in the plurality of interval sets.
Specifically, updating a second index for associating a plurality of interval sets with a set of launch conditions according to the first index includes: updating a delivery condition set according to a current advertisement set in the first index; updating the set of the interval set according to the release condition set; updating a set number index b of the interval set according to the set of the interval set and storing the updated set number index b of the interval set; and updating the hit number set according to the corresponding relation between the set of the interval set and the release condition set, thereby realizing the updating of the second index.
In step S340, a third index for associating the plurality of intervals and the plurality of interval sets is updated according to the second index; wherein any interval set in the interval sets is composed of at least one interval in the intervals.
Specifically, updating a third index for associating a plurality of intervals and a plurality of interval sets according to the second index includes: and updating the interval set according to the set of the interval set in the second index, updating the set number index a of the interval set again according to the updated interval set, and storing the set number index a of the updated interval set so as to update the third index.
In step S350, updating a fourth index for associating the endpoint set and the plurality of intervals according to the third index to implement updating of the advertisement index; the advertisement index comprises a first index, a second index, a third index and a fourth index.
Specifically, updating a fourth index for associating the set of endpoints and the plurality of intervals according to the third index includes: and updating the endpoint set according to the interval set in the third index, updating the interval number index according to the updated endpoint set, and storing the updated interval number index so as to update the fourth index.
As an alternative embodiment, after updating the fourth index for associating the endpoint set and the intervals according to the third index to implement the updating of the advertisement index, the method further includes: determining a target endpoint matched with each dimension information from an endpoint set according to each dimension information contained in the user portrait; the endpoint set comprises at least two endpoints, and each endpoint of the at least two endpoints is used for representing a dimension information value; determining a target interval corresponding to the target endpoint according to the updated fourth index; each interval in the multiple intervals is used for indicating the range of the dimension information value; determining a target interval set corresponding to the target interval according to the updated third index; each interval set in the multiple interval sets comprises at least two ranges of dimension information values; determining target launching conditions corresponding to the target interval set according to the updated second index; the release condition set comprises at least two release conditions, and each release condition in the at least two release conditions is used for expressing a constraint rule for the value of the dimension information; determining a target advertisement corresponding to the target delivery condition according to the updated first index; each advertisement in the current advertisement set corresponds to at least one delivery condition set, and the delivery conditions of the target advertisement comprise target delivery conditions; and pushing the target advertisement to the target user corresponding to the user image.
Each dimension information may include information such as user age, gender, and region, and the embodiment of the present application is not limited. The different dimension information corresponds to different dimension information values, and the dimension information values are endpoints in the endpoint set. For example, when the dimension information is the age of the user, the corresponding dimension information value may be (1, 2,3, … …, N), where N is a positive integer, where 1,2,3, … …, N are all endpoints in the endpoint set; when the dimension information is gender, the corresponding dimension information value can be (100, 101), wherein 100 can represent male, 101 can represent female, and 100 and 101 are also endpoints in the endpoint set; when the dimension information is a region, the corresponding dimension information value can be (103, 104, … …, 675), wherein 103-675 can sequentially represent each city (e.g., beijing, shanghai, wuhan, etc.), and 103, 104, … …, 675 are all endpoints in the endpoint set.
Referring to FIG. 5, FIG. 5 schematically illustrates an advertisement index diagram according to an embodiment of the present application. As shown in FIG. 5, the advertisement index may include a first index, a second index, a third index, and a fourth index; the first index is composed of an advertisement condition number, an advertisement number index, advertisement screening parameters and an advertisement set; the second index is composed of a hit number set, a set number index b of an interval set, a set screening parameter of the interval set and a release condition set; the third index is composed of an interval number, an index a of a set number of an interval set, an interval set screening parameter and a set of the interval sets; the fourth index is composed of an endpoint number, an interval number index, an interval filtering parameter and an interval set.
In particular, a user representation is used to taggant a userDescription, a user representation may be represented as U ═ a1=v1)∧(A2=v2)∧...Λ(Am=vm) (ii) a Wherein A isiFor representing dimensions, viI is a positive integer, and m is a positive integer of 3 or more. For example, U ═ 20 years old (gender ═ male). Based on the above, the method for determining the target endpoint matched with each dimension information from the endpoint set according to each dimension information contained in the user portrait comprises the following steps: according to the dimension information A contained in the user portrait1=v1、A2=v2.m=vm) Determining a target endpoint matched with each dimension information; the target endpoint may be one or more, and the embodiments of the present application are not limited.
Further, determining a target interval corresponding to the target endpoint according to the updated fourth index includes: determining a number a corresponding to the target endpoint in the updated endpoint numbers of the fourth index, and determining a number b corresponding to the number a in the interval number index according to the number a, wherein the number b corresponds to an interval screening parameter which can pass through an interval (r ═ begin, end); begin < end; begin, end belongs to N), and the interval comprises a left end point (begin) and a right end point (end); further, according to the corresponding relation between the interval screening parameters and the interval set, determining a target interval corresponding to the target endpoint from the interval set; the target interval may be one or more. For example, if the target endpoint is 18, the target interval corresponding to the target endpoint may include (10-20) and [5-20 ].
Further, determining a target interval set corresponding to the target interval according to the updated third index includes: determining a number c corresponding to the target interval in the updated interval number of the third index, and determining a number d corresponding to the number c in an aggregate number index a of the interval aggregate according to the number c, wherein the number d corresponds to an interval aggregate screening parameter in the third index, and the interval aggregate screening parameter can be represented by an interval; further, according to the corresponding relation between the interval set screening parameter and the set of the interval set, the pair with the target interval is determined from the set of the interval setA set of corresponding target intervals; wherein, the target interval set can be one or more. For example, if the target interval is r1The target section set corresponding to the target section may be R ═ R (10-20)1∪r2∪...∪rnN is a positive integer of 3 or more, ri∈R。
Further, determining a target delivery condition corresponding to the target interval set according to the updated second index includes: determining the number of target hits according to the target interval set; determining a number d 'corresponding to the target number of hits from the set number index b of the interval set according to the corresponding relation between the set of the number of hits in the updated second index and the set number index b of the interval set, wherein the number d' corresponds to the interval set screening parameters in the second index; further, determining a target release condition corresponding to the target interval set from the release condition set according to the corresponding relation between the interval set screening parameters and the release condition set; the target release condition may be one or more. For example, if the target interval set is R1 ═ R1∪r2∪...∪rnThe target delivery condition corresponding to the target interval set may be C1=(PA1,R1(x)∧PA2,R2(x))。
Furthermore, determining the target advertisement corresponding to the target delivery condition according to the updated first index includes: determining a number e corresponding to the target delivery condition from the delivery condition numbers of the updated first index, and determining a number f corresponding to the number e from the advertisement number index according to the number e, wherein the number f corresponds to advertisement screening parameters which can be represented by intervals; further, according to the corresponding relation between the advertisement screening parameters and the advertisement set, determining a target advertisement corresponding to the target delivery condition from the advertisement set; wherein, the target advertisement can be one or more. For example, if the target delivery condition is C1=(PA1,R1(x)∧PA2,R2(x) Target advertisement corresponding to the target delivery condition may be T ═ C)1∨C2Wherein U ═ A1=v1)∧(A2=v2)∧...∧(Am=vm) And C1Or C2Match if U and C1Match, then C1The dimension A contained in (A) and the dimension A contained in (U) are in one-to-one correspondence, and A1=v1、A2=v2.m=vm) Are all satisfied with C1Multiple assertions P (e.g., P)A1,R1(x)),pA,R(*)∈C。
Furthermore, the method for pushing the target advertisement to the target user corresponding to the user portrait includes: and pushing the target advertisement T to the target user corresponding to the user image.
Therefore, by implementing the optional embodiment, the advertisement matched with the user can be determined for the user from the updated advertisement index according to the dimension information in the user portrait, and the advertisement is pushed to the user, so that the accuracy of targeted advertisement pushing can be improved.
As an alternative embodiment, the method for pushing the target advertisement to the target user corresponding to the user image includes: determining a delivery platform corresponding to each target advertisement; and when the target user is detected to be in a login state on the launching platform, displaying the target advertisement corresponding to the launching platform through the launching platform.
Specifically, the number of the targeted advertisements may be one or more, and the delivery platform corresponding to each targeted advertisement may also be one or more. In addition, show the target advertisement that corresponds with this input platform through input platform, include: and statically displaying/dynamically displaying the target advertisement corresponding to the delivery platform through the delivery platform.
In addition, optionally, displaying the target advertisement corresponding to the placement platform through the placement platform includes: detecting whether a delivery behavior corresponding to the target advertisement exists or not, wherein the delivery behavior corresponds to the target user, if so, acquiring historical delivery data, acquiring a conversion rate corresponding to the target user according to the historical delivery data, if the profit value is smaller than a preset threshold value, judging that the target user is an invalid user, and canceling an advertisement delivery instruction for the target user.
Therefore, the implementation of the optional embodiment can realize the targeted delivery of the target advertisement on the premise of improving the advertisement delivery efficiency.
As an alternative embodiment, after updating the fourth index for associating the endpoint set and the intervals according to the third index to implement the updating of the advertisement index, the method further includes: updating a newly added advertisement set in the next unit time according to the current advertisement set; wherein, the next unit time and the current unit time are in adjacent relation.
Wherein the next unit time occurs after the current unit time and belongs to a unit time in the future. In addition, updating the newly added advertisement set in the next unit time according to the current advertisement set comprises: when the time reaches the next unit time, the advertisement index corresponding to the current advertisement set can be used as the original advertisement index, the newly added advertisement set in the next unit time is used as the supplementary advertisement index, and the original advertisement index and the supplementary advertisement index are combined, so that the advertisement index is updated, the updating efficiency of the advertisement set is improved, and the online efficiency of the new advertisement is improved.
Therefore, by implementing the optional embodiment, the advertisement index can be updated according to unit time, the online efficiency of the advertisement is improved, the updating efficiency of the advertisement inventory is improved, and the newly-added advertisement can be added to the advertisement inventory in time.
Referring to FIG. 6, FIG. 6 schematically illustrates a flow chart of an advertisement index updating method according to an embodiment of the present application. As shown in fig. 6, the advertisement index updating method includes: step S600 to step S680.
Step S600: and constructing a first index, a second index, a third index and a fourth index according to the preset endpoint, the preset interval set, the preset delivery condition and the preset advertisement, and determining a newly added advertisement set in the current unit time.
Step S610: determining a first target number of an advertisement to be offline in an original advertisement set; determining a second target number of the advertisement to be updated in the original advertisement set; downloading the offline advertisements in the original advertisement set according to the first target number, and updating the advertisements to be updated in the original advertisement set according to the second target number to obtain an advertisement set to be combined; combining the newly increased advertisement set and the advertisement set to be combined; and renumbering the advertisements in the combination result to obtain a current advertisement set which corresponds to the latest advertisement number and corresponds to the current unit time.
Step S620: determining a first historical advertisement number in the newly added advertisement set and a second historical advertisement number in the advertisement set to be combined; and determining the corresponding relation between the first historical advertisement number and the latest advertisement number and the second historical advertisement number and storing the corresponding relation.
Step S630: determining a release condition to be deleted according to the advertisement to be offline, and determining an supplementary release condition according to the advertisement to be updated and the newly added advertisement set; updating the releasing condition set according to the supplementary releasing condition and the releasing condition to be deleted; updating the first index according to the corresponding relation and the updated release condition set; and any advertisement in the current advertisement set corresponds to at least one delivery condition in the delivery condition set.
Step S640: updating a second index for associating the plurality of interval sets with the release condition sets according to the first index; wherein any one of the delivery conditions in the delivery condition set is composed of at least one interval set in the plurality of interval sets.
Step S650: updating a third index for associating the plurality of intervals and the plurality of interval sets according to the second index; wherein any interval set in the interval sets is composed of at least one interval in the intervals.
Step S660: updating a fourth index for associating the set of endpoints and the plurality of intervals according to the third index to enable updating of the advertisement index; the advertisement index comprises a first index, a second index, a third index and a fourth index.
Step S670: determining a target endpoint matched with each dimension information from an endpoint set according to each dimension information contained in the user portrait; determining a target interval corresponding to the target endpoint according to the updated fourth index; determining a target interval set corresponding to the target interval according to the updated third index; determining target launching conditions corresponding to the target interval set according to the updated second index; determining a target advertisement corresponding to the target delivery condition according to the updated first index; and pushing the target advertisement to the target user corresponding to the user image.
Step S680: updating a newly added advertisement set in the next unit time according to the current advertisement set; wherein, the next unit time and the current unit time are in adjacent relation.
It should be noted that steps S600 to S680 correspond to the steps and embodiments shown in fig. 3, and for the specific implementation of steps S600 to S680, please refer to the steps and embodiments shown in fig. 3, which are not described herein again.
Therefore, by implementing the method shown in fig. 6, a way of updating the original advertisement index according to the newly added advertisement can be provided, and the problem that multiple groups of indexes are to be stored due to database partitioning or fragmentation in the prior art is avoided. In addition, the online efficiency of the newly added advertisements can be improved by timely updating the advertisement indexes, the delivery accuracy rate when the advertisements are delivered in a targeted mode according to the advertisement indexes is favorably improved, and the strategies of timely adjusting advertisement bidding, targeting and the like by an advertiser according to the feedback of the gains obtained after the advertisements are exposed are favorably realized. In addition, the advertisement matched with the user can be determined for the user from the updated advertisement index according to the dimension information in the user portrait, and the advertisement is pushed to the user, so that the accuracy of targeted advertisement pushing can be improved.
Please refer to fig. 7. FIG. 7 schematically shows a flow diagram of an advertisement push method according to an embodiment of the present application. As shown in fig. 7, the advertisement push method may include: step S710 to step S760.
Step S710: determining a target endpoint matched with each dimension information from an endpoint set according to each dimension information contained in the user portrait; the endpoint set comprises at least two endpoints, and each endpoint of the at least two endpoints is used for representing a dimension information value.
Step S720: determining a target interval corresponding to the target endpoint according to a fourth index for associating the endpoint set and the intervals; each interval in the multiple intervals is used for indicating the range of the dimension information value.
Step S730: determining a target interval set corresponding to the target interval according to a third index for associating the plurality of intervals and the plurality of interval sets; each interval set in the multiple interval sets comprises at least two ranges of dimension information values.
Step S740: determining target launching conditions corresponding to the target interval sets according to second indexes for associating the interval sets with the launching condition sets; the release condition set comprises at least two release conditions, and each release condition in the at least two release conditions is used for expressing a constraint rule for the value of the dimension information.
Step S750: determining a target advertisement corresponding to the target delivery condition according to a first index for associating the current advertisement set with the delivery condition set; and each advertisement in the current advertisement set corresponds to at least one delivery condition set, and the delivery conditions of the target advertisement comprise target delivery conditions.
Step S760: and pushing the target advertisement to the target user corresponding to the user image.
When the dimension information included in the user image is multiple, the dimension information value corresponding to each dimension information in the user image may be determined as a target endpoint, for example, the user image is (age-18) ^ (gender-100) ^ (region-356), where 18, 100, and 356 as the dimension information value (i.e., the endpoint in the endpoint set) may be determined as the target endpoint in the endpoint set; it should be noted that 18 is used to indicate the age of 18, the dimension information value of the gender may be 100 or 101, 100 represents a male, 101 represents a female, and the dimension information area of the region may be 103 to 675, for example, 356 represents beijing. Further, a target interval (e.g., [10,20], [100,101], [300,400]) corresponding to the target end point (e.g., 18, 100, 356) may be determined from the fourth index; then, determining a target interval set corresponding to the target interval according to the third index (e.g., { [10,20], [11,21] }, { [100,101] }, { [300,400], [310,410] }); determining target delivery conditions corresponding to the target interval set according to the second index (such as 10-20-year-old male in Beijing, 10-20-year-old female in Shanghai, … …, and 10-20-year-old male in Changsha); and then, determining the target advertisements (such as advertisement A, advertisement B, … … and advertisement G) corresponding to the target delivery conditions according to the first index, and further pushing the target advertisements to the target users.
Specifically, the first index, the second index, the third index, and the fourth index in steps S710 to S760 may constitute the advertisement index mentioned in fig. 3, and the first index, the second index, the third index, and the fourth index in steps S710 to S760 may be indexes before update or indexes after update according to the steps shown in fig. 3.
The first index is composed of an advertisement condition number, an advertisement number index, advertisement screening parameters and an advertisement set; the second index is composed of a hit number set, a set number index b of an interval set, a set screening parameter of the interval set and a release condition set; the third index is composed of an interval number, an index a of a set number of an interval set, an interval set screening parameter and a set of the interval sets; the fourth index is composed of an endpoint number, an interval number index, an interval filtering parameter and an interval set.
In addition, the user image is used for labeling description of the user, and the user image can be expressed as (a) ═ U1=v1)∧(A2=v2)∧...∧(Am=vm) (ii) a Wherein A isiFor representing dimensions, viI is a positive integer, and m is a positive integer of 3 or more. For example, U ═ 20 years old ^ (sex ═ male). Based on the above, the method for determining the target endpoint matched with each dimension information from the endpoint set according to each dimension information contained in the user portrait comprises the following steps: according to the dimension information A contained in the user portrait1=v1、A2=v2.m=vm) Determining a target endpoint matched with each dimension information; the target endpoint may be one or more, and the embodiments of the present application are not limited.
Further, determining a target interval corresponding to the target endpoint according to a fourth index for associating the set of endpoints and the plurality of intervals comprises: determining a number a corresponding to the target endpoint in the endpoint numbers of the fourth index, determining a number b corresponding to the number a in the interval number index according to the number a, wherein the number b corresponds to an interval screening parameter which can pass through an interval (r ═ begin, end); begin < end; begin, end belongs to N), and the interval comprises a left end point (begin) and a right end point (end); further, according to the corresponding relation between the interval screening parameters and the interval set, determining a target interval corresponding to the target endpoint from the interval set; the target interval may be one or more. For example, if the target endpoint is 18, the target interval corresponding to the target endpoint may include (10-20) and [5-20 ].
Furthermore, determining a target interval set corresponding to the target interval according to a third index for associating the plurality of intervals and the plurality of interval sets includes: determining a number c corresponding to the target interval in the interval numbers of the third index, and determining a number d corresponding to the number c in an aggregate number index a of the interval aggregate according to the number c, wherein the number d corresponds to the interval aggregate screening parameters in the third index, and the interval aggregate screening parameters can be represented by intervals; further, according to the corresponding relation between the interval set screening parameters and the set of the interval sets, determining a target interval set corresponding to the target interval from the set of the interval sets; wherein, the target interval set can be one or more. For example, if the target interval is r1The target section set corresponding to the target section may be R ═ R (10-20)1∪r2∪...∪rnN is a positive integer of 3 or more, ri∈R。
Furthermore, determining a target delivery condition corresponding to the target interval set according to a second index for associating the plurality of interval sets with the delivery condition set includes: according toDetermining the number of target hits by the target interval set; determining a number d 'corresponding to the target number of hits from the set number index b of the interval set according to the corresponding relation between the set of number of hits in the second index and the set number index b of the interval set, wherein the number d' corresponds to the interval set screening parameters in the second index; further, determining a target release condition corresponding to the target interval set from the release condition set according to the corresponding relation between the interval set screening parameters and the release condition set; the target release condition may be one or more. For example, if the target interval set is R1 ═ R1∪r2∪...∪rnThe target delivery condition corresponding to the target interval set may be C1=(PA1,R1(x)∧PA2,R2(x))。
Furthermore, determining a target advertisement corresponding to the target delivery condition according to a first index for associating the current advertisement set with the delivery condition set includes: determining a number e corresponding to the target delivery condition from the delivery condition numbers of the first index, and determining a number f corresponding to the number e from the advertisement number index according to the number e, wherein the number f corresponds to advertisement screening parameters which can be represented by intervals; further, according to the corresponding relation between the advertisement screening parameters and the advertisement set, determining a target advertisement corresponding to the target delivery condition from the advertisement set; wherein, the target advertisement can be one or more. For example, if the target delivery condition is C1=(PA1,R1(x)∧PA2,R2(x) Target advertisement corresponding to the target delivery condition may be T ═ C)1∨C2Wherein U ═ A1=v1)∧(A2=v2)∧…∧(Am=vm) And C1Or C2Match if U and C1Match, then C1The dimension A contained in (A) and the dimension A contained in (U) are in one-to-one correspondence, and A1=v1、A2=v2.m=vm) Are all satisfied with C1Multiple assertions P (e.g., P)A1,R1(x)),pA,R(*)∈C。
The method for pushing the target advertisement to the target user corresponding to the user image may be as follows: determining a delivery platform corresponding to each target advertisement; when the target user is detected to be in a login state on the launching platform, the target advertisement corresponding to the launching platform is displayed through the launching platform, and therefore the targeted launching of the target advertisement can be achieved on the premise that the advertisement launching efficiency is improved. Specifically, the number of the targeted advertisements may be one or more, and the delivery platform corresponding to each targeted advertisement may also be one or more. Target advertisement corresponding to the putting platform is displayed through the putting platform, and the method comprises the following steps: and statically displaying/dynamically displaying the target advertisement corresponding to the delivery platform through the delivery platform.
In addition, optionally, displaying the target advertisement corresponding to the placement platform through the placement platform includes: detecting whether a delivery behavior corresponding to the target advertisement exists or not, wherein the delivery behavior corresponds to the target user, if so, acquiring historical delivery data, acquiring a conversion rate corresponding to the target user according to the historical delivery data, if the profit value is smaller than a preset threshold value, judging that the target user is an invalid user, and canceling an advertisement delivery instruction for the target user.
Therefore, by implementing the method shown in fig. 7, the advertisement matched with the user can be determined from the updated advertisement index according to the dimension information in the user portrait and can be pushed to the user, so that the accuracy of targeted advertisement pushing can be improved.
Referring to FIG. 8, FIG. 8 schematically illustrates a block diagram of an advertisement index update system according to an embodiment of the present application. As shown in FIG. 8, an advertisement index update system 800 may include: an index building module 801(Indexer), an index synthesizing module 802(Loader), a Retrieval module 803(Retrieval), a fusion module 804(Mixer), a presentation module 805(Display), and a subscription module 806(Data subscriptber).
The index building module 801 is configured to build a first index, a second index, a third index, and a fourth index according to a preset endpoint, a preset interval set, a preset delivery condition, and a preset advertisement.
A composite index module 802, configured to merge the newly added advertisement set with an advertisement set to be merged to obtain a current advertisement set corresponding to a current unit time; updating a second index for associating the plurality of interval sets with the release condition sets according to the first index; updating a third index for associating the plurality of intervals and the plurality of interval sets according to the second index; updating a fourth index for associating the set of endpoints and the plurality of intervals according to the third index to enable updating of the advertisement index; but also for loading the ad index.
A retrieval module 803, configured to determine, from the endpoint set, a target endpoint matching each dimension information according to each dimension information included in the user representation; determining a target interval corresponding to the target endpoint according to the updated fourth index; determining a target interval set corresponding to the target interval according to the updated third index; determining target launching conditions corresponding to the target interval set according to the updated second index; and determining one or more target advertisements corresponding to the target delivery conditions according to the updated first index.
And a mixing module 804, configured to determine the targeted advertisements on the same delivery platform to be in the same set.
And a display module 805, configured to display, on the delivery platform, the target advertisement corresponding to the delivery platform to the target user corresponding to the user image.
And a subscription module 806, configured to determine a newly added advertisement set in the current unit time.
Therefore, by implementing the system shown in fig. 8, a way of updating the original advertisement index according to the newly added advertisement can be provided, and the problem that multiple groups of indexes are to be stored due to database partitioning or fragmentation in the prior art is avoided. In addition, the online efficiency of the newly-added advertisements can be improved by timely updating the advertisement indexes, and the delivery accuracy rate when the advertisements are delivered in a targeted mode according to the advertisement indexes can be improved. In addition, the duplication elimination strategy in the prior art can be abandoned by implementing the method, namely, the advertisements indexed by each sub-library or segment are not required to be duplicated, the advertisements can be accurately put for each user based on unique advertisement indexes, and the advertisement conversion rate is improved.
Further, in the present exemplary embodiment, an advertisement index updating apparatus is also provided. Referring to fig. 9, the advertisement index updating apparatus 900 may include: an advertisement set updating unit 901 and an index updating unit 902, wherein:
an advertisement set updating unit 901, configured to determine a newly added advertisement set in the current unit time, and merge the newly added advertisement set with an advertisement set to be merged to obtain a current advertisement set corresponding to the current unit time;
an index updating unit 902, configured to update, according to the current advertisement set, a first index for associating the current advertisement set with the delivery condition set; any advertisement in the current advertisement set corresponds to at least one delivery condition in the delivery condition set;
an index updating unit 902, further configured to update, according to the first index, a second index used for associating the multiple interval sets with the delivery condition set; any one of the putting conditions in the putting condition set is composed of at least one interval set in a plurality of interval sets;
an index updating unit 902, further configured to update a third index used for associating the plurality of intervals and the plurality of interval sets according to the second index; any interval set in the interval sets is composed of at least one interval in the intervals;
an index updating unit 902, further configured to update a fourth index for associating the endpoint set and the intervals according to the third index, so as to implement updating of the advertisement index; the advertisement index comprises a first index, a second index, a third index and a fourth index.
Therefore, by implementing the apparatus shown in fig. 9, a manner of updating the original advertisement index according to the newly added advertisement can be provided, and the problem of multiple sets of indexes to be stored due to database partitioning or fragmentation in the prior art is avoided. In addition, the online efficiency of the newly-added advertisements can be improved by timely updating the advertisement indexes, and the delivery accuracy rate when the advertisements are delivered in a targeted mode according to the advertisement indexes can be improved.
In an exemplary embodiment of the present application, the advertisement set updating unit 901 merges the newly added advertisement set and the advertisement set to be merged to obtain a current advertisement set corresponding to the current unit time, which includes:
determining a first target number of an advertisement to be offline in an original advertisement set;
obtaining an advertisement set to be combined according to the advertisement to be offline in the original advertisement set to be offline with the first target number;
combining the newly increased advertisement set and the advertisement set to be combined;
and renumbering the advertisements in the combination result to obtain a current advertisement set which corresponds to the latest advertisement number and corresponds to the current unit time.
Therefore, by implementing the optional embodiment, the supplementary advertisements can be directly added into the original advertisement set by merging the advertisement set, and the advertisement index is updated according to the result of renumbering, which is beneficial to improving the online efficiency and the advertisement putting efficiency of the advertisements.
In an exemplary embodiment of the present application, the apparatus further comprises:
a number determining unit (not shown) configured to determine a first historical advertisement number in the newly added advertisement set and a second historical advertisement number in the advertisement set to be merged after the advertisement set updating unit 901 renumbers the advertisements in the merging result to obtain a current advertisement set corresponding to the latest advertisement number and corresponding to the current unit time;
a correspondence relation determination unit (not shown) for determining and storing the correspondence relation between the first and second historical advertisement numbers and the latest advertisement number, respectively.
Therefore, by implementing the optional embodiment, the numbers respectively corresponding to the advertisements before and after renumbering can be recorded, the number corresponding relation is obtained, the advertisement index can be updated according to the number corresponding relation, and the online efficiency of the advertisement is improved.
In an exemplary embodiment of the present application, the advertisement set updating unit 901 obtains an advertisement set to be merged according to an offline advertisement to be offline in an offline original advertisement set with a first target number, including:
determining a second target number of the advertisement to be updated in the original advertisement set;
and updating the advertisement to be updated in the original advertisement set according to the second target number to obtain the advertisement set to be merged.
Therefore, by implementing the optional embodiment, the newly added advertisement set can be merged into the original advertisement set, so that the whole advertisement index can be updated according to the reverse process of the inverted index, the online speed of the advertisement can be accelerated, the exposure efficiency of the advertisement is improved, and furthermore, the strategies of timely adjusting advertisement bidding, orientation and the like by an advertiser according to the feedback of the gains obtained after the advertisement exposure are facilitated.
In an exemplary embodiment of the present application, the apparatus further comprises:
a delivery condition number determining unit (not shown) configured to determine a delivery condition corresponding to each advertisement in the original advertisement set and a delivery sub-condition number corresponding to each delivery condition before the advertisement set updating unit 901 determines the newly added advertisement set in the current unit time;
an interval set type determining unit (not shown) configured to determine the delivery conditions corresponding to the same number of delivery sub-conditions as delivery conditions of the same type, and obtain delivery conditions of a plurality of types; wherein the number of the releasing conditions of each category is at least one;
and a numbering unit (not shown) for numbering the delivery conditions corresponding to the advertisements in the original advertisement set according to the plurality of categories to obtain delivery condition numbers.
Therefore, by implementing the optional embodiment, the advertisement index can be favorably updated through the number of the delivery conditions, so that the online efficiency of the advertisement is improved.
In an exemplary embodiment of the present application, the numbering unit numbers the serving conditions corresponding to the advertisements in the original advertisement set according to a plurality of categories to obtain the serving condition numbers, including:
sorting the categories according to the number of the launching sub-conditions corresponding to each category;
and sequentially numbering all the throwing conditions included in the sequencing result to obtain throwing condition numbers.
Therefore, by implementing the optional embodiment, the number of the launching conditions can be numbered according to the number of the launching sub-conditions, the order of the advertisement indexes is improved, the efficiency of advertisement launching is improved, and the advertisement to be launched to the user can be quickly and accurately positioned.
In an exemplary embodiment of the present application, the apparatus further comprises:
a number updating unit (not shown) configured to update the launch condition number according to a second index, which is used to associate the plurality of interval sets with the launch condition set, after the index updating unit 902 updates the second index according to the first index.
Therefore, by implementing the optional embodiment, the online efficiency of the advertisement can be improved and the occupancy rate of the storage resource can be reduced by updating the number of the delivery condition.
In an exemplary embodiment of the present application, the index updating unit 902 updates the first index for associating the current advertisement set with the delivery condition set according to the current advertisement set, including:
determining a release condition to be deleted according to the advertisement to be offline, and determining an supplementary release condition according to the advertisement to be updated and the newly added advertisement set;
updating the releasing condition set according to the supplementary releasing condition and the releasing condition to be deleted;
and updating the first index according to the corresponding relation and the updated release condition set.
Therefore, by implementing the optional embodiment, the delivery condition set can be updated, so that the indexes in the advertisement index can be updated in sequence, the advertisement index can be updated in time, and the online efficiency of the advertisement is improved.
In an exemplary embodiment of the present application, the apparatus further comprises:
an endpoint determination unit (not shown) configured to, after the index updating unit 902 updates the fourth index for associating the endpoint collection with the plurality of intervals according to the third index to implement updating of the advertisement index, determine a target endpoint matching each dimension information from the endpoint collection according to each dimension information included in the user representation;
section determining means (not shown) for determining a target section corresponding to the target endpoint based on the updated fourth index;
section set specifying means (not shown) for specifying a target section set corresponding to the target section from the updated third index;
a delivery condition determining unit (not shown) configured to determine a target delivery condition corresponding to the target interval set according to the updated second index;
an advertisement determination unit (not shown) for determining a target advertisement corresponding to the target delivery condition according to the updated first index;
and an advertisement delivery unit (not shown) for delivering the target advertisement to the target user corresponding to the user image.
Therefore, by implementing the optional embodiment, the advertisement matched with the user can be determined for the user from the updated advertisement index according to the dimension information in the user portrait, and the advertisement is pushed to the user, so that the accuracy of targeted advertisement pushing can be improved.
In an exemplary embodiment of the present application, an advertisement delivery unit pushes a targeted advertisement to a targeted user corresponding to a user image, including:
determining a delivery platform corresponding to each target advertisement;
and when the target user is detected to be in a login state on the launching platform, displaying the target advertisement corresponding to the launching platform through the launching platform.
Therefore, the implementation of the optional embodiment can realize the targeted delivery of the target advertisement on the premise of improving the advertisement delivery efficiency.
In an exemplary embodiment of the present application, the apparatus further comprises:
an index constructing unit (not shown) configured to construct a first index, a second index, a third index, and a fourth index according to a preset endpoint, a preset interval set, a preset delivery condition, and a preset advertisement before the advertisement set updating unit 901 determines the newly added advertisement set in the current unit time.
Therefore, by implementing the optional embodiment, the advertisement index can be formed by constructing the first index, the second index, the third index and the fourth index, so that when a newly added advertisement is detected, only the advertisement index needs to be updated, and the advertisement index does not need to be classified or fragmented according to the type of the advertisement, thereby reducing the occupancy rate of storage resources and improving the online efficiency of the newly added advertisement.
In an exemplary embodiment of the present application, the index updating unit 902 is further configured to update a new advertisement set in a next unit time according to the current advertisement set after updating a fourth index for associating the endpoint set with the intervals according to the third index to implement updating of the advertisement index; wherein, the next unit time and the current unit time are in adjacent relation.
Therefore, by implementing the optional embodiment, the advertisement index can be updated according to unit time, the online efficiency of the advertisement is improved, the updating efficiency of the advertisement inventory is improved, and the newly-added advertisement can be added to the advertisement inventory in time.
Further, referring to fig. 10, fig. 10 schematically shows a block diagram of an advertisement push device according to an embodiment of the present application. As shown in fig. 10, the advertisement push device 1000 may include: an endpoint determination unit 1001, a section determination unit 1002, a section set determination unit 1003, a placement condition determination unit 1004, an advertisement determination unit 1005, and an advertisement placement unit 1006.
An endpoint determination unit 1001 configured to determine, from the endpoint set, a target endpoint matching each piece of dimension information according to each piece of dimension information included in the user portrait; the endpoint set comprises at least two endpoints, and each endpoint of the at least two endpoints is used for representing a dimension information value;
an interval determining unit 1002, configured to determine a target interval corresponding to the target endpoint according to a fourth index for associating the endpoint set and the multiple intervals; each interval in the multiple intervals is used for indicating the range of the dimension information value;
an interval set determination unit 1003 configured to determine a target interval set corresponding to the target interval, based on a third index for associating the plurality of intervals and the plurality of interval sets; each interval set in the multiple interval sets comprises at least two ranges of dimension information values;
a delivery condition determining unit 1004, configured to determine, according to a second index for associating the plurality of interval sets with the delivery condition set, a target delivery condition corresponding to the target interval set; the release condition set comprises at least two release conditions, and each release condition in the at least two release conditions is used for expressing a constraint rule for the value of the dimension information;
an advertisement determining unit 1005, configured to determine, according to a first index for associating the current advertisement set with the delivery condition set, a target advertisement corresponding to the target delivery condition; each advertisement in the current advertisement set corresponds to at least one delivery condition set, and the delivery conditions of the target advertisement comprise target delivery conditions;
and an advertisement delivery unit 1006, configured to deliver the target advertisement to the target user corresponding to the user image.
Therefore, by implementing the device shown in fig. 10, the advertisement matched with the user can be determined from the updated advertisement index according to the dimension information in the user portrait and can be pushed to the user, so that the accuracy of targeted advertisement pushing can be improved.
In an exemplary embodiment of the present application, the advertisement delivery unit 1006 pushes the targeted advertisement to the targeted user corresponding to the user image, including:
determining a delivery platform corresponding to each target advertisement;
and when the target user is detected to be in a login state on the launching platform, displaying the target advertisement corresponding to the launching platform through the launching platform.
Therefore, the implementation of the optional embodiment can realize the targeted delivery of the target advertisement on the premise of improving the advertisement delivery efficiency.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the application. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
For details that are not disclosed in the embodiments of the apparatus of the present application, please refer to the embodiments of the advertisement index updating method of the present application for the details that are not disclosed in the embodiments of the apparatus of the present application. For details that are not disclosed in the embodiments of the apparatus of the present application, please refer to the embodiments of the advertisement push method described above for the details that are not disclosed in the embodiments of the apparatus of the present application.
As another aspect, the present application also provides a computer-readable medium, which may be contained in the electronic device described in the above embodiments; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by an electronic device, cause the electronic device to implement the method described in the above embodiments.
It should be noted that the computer readable medium shown in the present application may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software, or may be implemented by hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.