A kind of advertisement placement method
Technical field
Present invention relates particularly to a kind of advertisement placement method, belong to technical field of internet application.
Background technology
Applied as Online Video browses to rise to for internet first, the revenue source of video industry is mainly wide at present
To accuse, the maximum advantage of Internet advertising is that can be directed to different customer demand selections launches, at present in actual applications, warp
Often due to the dispensing dislike that is improper and causing client of advertisement, believe although client can be collected from client by technological means
Breath, but because the high speed development of internet is, it is necessary to which the number of ads launched is huge, if managed with traditional mode
With these advertisements of dispensing, system needs collect customer information according to client and complicated inspection are carried out in advertisement delivery system
Rope, it is impossible to rapid reaction, or even can be by unsuitable advertisement putting to user, this is for advertisement providing and website user
All it is unacceptable.
The content of the invention
Therefore, the present invention needs to collect customer information in advertisement putting system according to client for system in the prior art
The retrieval of complexity is carried out in system, it is impossible to rapid reaction, or even can by unsuitable advertisement putting to user the problem of, there is provided it is a kind of
Advertisement placement method, it the described method comprises the following steps:
Step 1:Advertisement document is handled, each advertisement document is handled according to one group of predetermined dispensing strategy, by advertisement document
Labeled as the various forms launched strategy and combined with the dispensing strategy analog value and preservation;
Step 2:Positive row's mapping table is established, the advertisement text gear that will be launched in following certain time period is selected, by selection
Each advertisement text gear, with advertisement text gear name combination, forms positive row's mapping table in the form of step 1 is marked;
Step 3:Establish heat-extraction system, the form marked by step 1 retrieve in all step 2 it is following sometime
The advertisement text gear that will be launched in section, will launch strategy according to certain priority ranking, and each advertisement text gear is converted into
The character string forms that dispensing strategy according to certain priority ranking is combined with the dispensing strategy analog value, each content are different
Character string be single one tree, each tree forms forest according to the priority orders for launching strategy, and the forest is to build
Vertical heat-extraction system;
Step 4:Advertisement delivery system is established, every established to positive row's mapping table of step 2 foundation according to step 3
The character string of tree is retrieved, and is found out and the dispensing strategy of the character string of each tree and the dispensing strategy analog value content identical
These advertisement documents are simultaneously placed under this tree by all advertisements text gear, and all trees form advertisement delivery system after search complete;
Step 5:Realize advertisement putting, the advertisement delivery system that step 4 is established is according to the solicited message character of client
String finds tree corresponding with solicited message string content, and the advertisement document under corresponding tree is supplied into client.
Dispensing strategy described in step 1 can include visual classification, region, release platform, patch location, keyword, use
Family, partner, video definition, whether pay, TVB, crowd orientation.
Following certain time period described in step 2 can be following one hour.
The beneficial effects of the present invention are:Using the advertisement placement method of the present invention, the principle of inverted index, thing make use of
The advertisement document that will first launch is handled according to one group of dispensing strategy, formation advertisement delivery system, each advertisement in system
Document links all correspond to fixed dispensing strategy combination mode, as long as client is got and some or some dispensing strategy combinations
Qualified advertisement document accurately will be supplied to client by mode identical character string, advertisement delivery system rapidly,
And because advertisement delivery system is to be arranged according to the priority orders for launching strategy by many shapes for setting the forest formed
Formula, each tree are all that the advertisement document launched as needed is established, and realize occupying system resources at least and manage and use
It is convenient.
Brief description of the drawings
Fig. 1 is a kind of step schematic diagram of advertisement placement method of the present invention;
Fig. 2 is the algorithm structure schematic diagram of advertisement delivery system in the specific embodiment of the invention;
Fig. 3 is the structural representation of the one tree of advertisement delivery system in the specific embodiment of the invention.
Embodiment
The embodiment of the present invention is illustrated below in conjunction with the accompanying drawings:
Inverted index comes to be needed to search record according to the value of attribute in practical application.Each single item in this concordance list
All include the address of a property value and each record with the property value.Due to not being to determine property value by recording, but
The position of record, thus referred to as inverted index are determined by property value.
The present invention provides a kind of advertisement placement method according to the principle of inverted index, as shown in figure 1, methods described include with
Lower step:
Step 1:Advertisement document is handled, each advertisement document is handled according to one group of predetermined dispensing strategy, by advertisement document
Labeled as the various forms launched strategy and combined with the dispensing strategy analog value and preservation;
Step 2:Positive row's mapping table is established, the advertisement text gear that will be launched in following certain time period is selected, by selection
Each advertisement text gear, with advertisement text gear name combination, forms positive row's mapping table in the form of step 1 is marked;
Step 3:Establish heat-extraction system, the form marked by step 1 retrieve in all step 2 it is following sometime
The advertisement text gear that will be launched in section, will launch strategy according to certain priority ranking, and each advertisement text gear is converted into
The character string forms that dispensing strategy according to certain priority ranking is combined with the dispensing strategy analog value, each content are different
Character string be single one tree, each tree forms forest according to the priority orders for launching strategy, and the forest is to build
Vertical heat-extraction system, forest structure is, due to tactful according to certain priority ranking to these dispensings, according to the elder generation of priority
The different levels of forest are formed afterwards, there are multiple nodes under each level, again according to different dispensing strategy combinations under each node
And have different trees, how many kind strategy combination, with regard to how many tree.;
Step 4:Advertisement delivery system is established, every established to positive row's mapping table of step 2 foundation according to step 3
The character string of tree is retrieved, and is found out and the dispensing strategy of the character string of each tree and the dispensing strategy analog value content identical
These advertisement documents are simultaneously placed under this tree by all advertisements text gear, and all trees form advertisement delivery system after search complete;
Step 5:Realize advertisement putting, the advertisement delivery system that step 4 is established is according to the solicited message character of client
String finds tree corresponding with solicited message string content, and the advertisement document under corresponding tree is supplied into client.
As preferable mode, the dispensing strategy described in step 1 can include visual classification, region, release platform, patch
Piece position, keyword, user, partner, video definition, whether pay, TVB, crowd orientation, we give these launch strategy
Corresponding numerical value is assigned, user's request can accurately be judged by launching tactful and its corresponding dispensing strategy value by these.
As preferable mode, the following certain time period described in step 2 can be following one hour, can so make wide
Accuse jettison system and have more real-time.
Fig. 2 is the algorithm structure schematic diagram of advertisement delivery system of the present invention, wherein, it is positive to arrange mapping table Map<Integer,
Map<String, Set<String>>>, Integer is to launch Id, Map<String, Set<String>>In String,
It is policing type title, in Set is the various values for launching strategy.
Fig. 3 is the structural representation of the one tree of advertisement delivery system of the present invention, and multiple such trees constitute whole wide
Accuse jettison system.
Described above is the preferred embodiment of the present invention, it is noted that for those skilled in the art
For, on the premise of principle of the present invention is not departed from, some improvements and modifications can also be made, these improvements and modifications
It should be regarded as protection scope of the present invention.