CN107133814A - A kind of advertisement carousel method and device - Google Patents
A kind of advertisement carousel method and device Download PDFInfo
- Publication number
- CN107133814A CN107133814A CN201710208838.3A CN201710208838A CN107133814A CN 107133814 A CN107133814 A CN 107133814A CN 201710208838 A CN201710208838 A CN 201710208838A CN 107133814 A CN107133814 A CN 107133814A
- Authority
- CN
- China
- Prior art keywords
- carousel
- row
- advertisement
- user
- mark
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0241—Advertisements
- G06Q30/0277—Online advertisement
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0241—Advertisements
- G06Q30/0272—Period of advertisement exposure
Landscapes
- Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Engineering & Computer Science (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- Finance (AREA)
- Economics (AREA)
- Game Theory and Decision Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Marketing (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本发明实施例提供了一种广告轮播方法及装置,所述方法包括:获取轮播信息和广告订单信息;根据所述轮播信息中的所述预设的一个或多个时间片的个数和所述预设的一个或多个时间片内的轮播数目,确定轮播表的行数和列数;根据所述广告订单信息中的所述用户已经购买的一个或多个时间片的序号,以及所述用户已经购买的一个或多个时间片内的轮播数目,将所述用户需要播放的一个或多个广告的标识,记录在所述轮播表中的对应位置;按所述轮播表,播放所述标识所对应的广告;使得在同一个广告位中,实现不同广告的轮播,用户能够只购买一个时间段内的部分流量,降低了广告投放成本,有利于广告位资源的充分利用。
An embodiment of the present invention provides an advertisement rotation method and device. The method includes: acquiring rotation information and advertisement order information; number and the number of carousels in the preset one or more time slices, determine the number of rows and columns of the carousel table; according to the one or more time slices that the user has purchased in the insertion order information serial number, and the carousel number in one or more time slices that the user has purchased, record the identification of one or more advertisements that the user needs to play in the corresponding position in the carousel table; press The carousel table plays the advertisement corresponding to the logo; so that in the same advertisement space, the carousel of different advertisements is realized, and the user can only purchase part of the traffic within a time period, which reduces the cost of advertisement placement and is beneficial to Make full use of advertising space resources.
Description
技术领域technical field
本发明涉及互联网技术领域,特别是涉及一种广告轮播方法及装置。The invention relates to the technical field of the Internet, in particular to an advertisement rotation method and device.
背景技术Background technique
随着互联网以及移动互联网的高速发展,通过互联网进行产品或者其他内容的宣传,已经成为了越来越普遍的广告模式。通过互联网的快速传播,可以迅速的扩大广告的宣传作用。With the rapid development of the Internet and mobile Internet, the promotion of products or other content through the Internet has become an increasingly common advertising model. Through the rapid spread of the Internet, the role of advertising can be rapidly expanded.
随着业务多样化的发展,互联网广告业务也得到了进一步的发展,广告形式多种多样,例如,弹窗广告,悬浮窗口广告等。一个页面中可以同时存在一个或多个广告位。With the development of business diversification, the Internet advertising business has also been further developed, and there are various forms of advertisements, for example, pop-up advertisements, floating window advertisements and so on. One or more ad slots can exist on a page at the same time.
目前现有技术中,同一个广告位,一般只能播放一个广告,在用户需要购买下该广告位时,需要购买下该广告位一段时间内的全部流量,用来播放所需播放的广告,从而增加了用户投放广告的成本,同时也不利于一个广告位上的广位资源的充分利用,并且,同一个广告位一段时间内只播放同一个广告,容易造成收看广告的用户对于广告的抵触情绪,降低了用户体验,也影响广告投放效果。In the current existing technology, the same advertising space can generally only play one advertisement. When the user needs to purchase the advertising space, he needs to purchase all the traffic of the advertising space for a period of time to play the required advertisement. This increases the cost for users to place advertisements, and it is also not conducive to the full utilization of advertising space resources on an advertising space. Moreover, only one advertisement is played in the same advertising space for a period of time, which may easily cause resistance to advertisements by users who watch advertisements. Emotions reduce the user experience and also affect the effectiveness of advertising.
发明内容Contents of the invention
本发明实施例的目的在于提供一种广告轮播方法及装置,以实现同一个广告位能够进行多个广告的轮播,用户能够只购买一个时间段内的部分流量,降低了广告投放成本,有利于广告位资源的充分利用,并且提高了收看广告的用户的体验,提高广告投放效果。具体技术方案如下:The purpose of the embodiments of the present invention is to provide a method and device for advertising rotation, so as to realize the rotation of multiple advertisements in the same advertising space, and the user can only purchase part of the traffic within a time period, reducing the cost of advertising. It is conducive to the full utilization of advertising space resources, and improves the experience of users who watch advertisements, and improves the effect of advertising. The specific technical scheme is as follows:
本发明实施例公开了一种广告轮播方法,包括:The embodiment of the present invention discloses an advertisement rotation method, including:
获取轮播信息和广告订单信息,所述轮播信息包括在一个广告位内预设的一个或多个时间片的个数和所述预设的一个或多个时间片内的轮播数目,所述时间片为用于播放广告的时间段,所述广告订单信息包括用户已经购买的一个或多个时间片的序号,以及所述用户已经购买的一个或多个时间片内的轮播数目;Obtaining rotation information and insertion order information, the rotation information including the number of preset one or more time slices in one advertising slot and the number of rotations in the preset one or more time slices, The time slice is a time period for playing advertisements, and the advertisement order information includes the serial number of one or more time slices that the user has purchased, and the number of rotations within the one or more time slices that the user has purchased ;
根据所述轮播信息中的所述预设的一个或多个时间片的个数和所述预设的一个或多个时间片内的轮播数目,确定轮播表的行数和列数;Determine the number of rows and columns of the carousel table according to the number of the preset one or more time slices in the carousel information and the number of carousels in the preset one or more time slices ;
根据所述广告订单信息中的所述用户已经购买的一个或多个时间片的序号,以及所述用户已经购买的一个或多个时间片内的轮播数目,将所述用户需要播放的一个或多个广告的标识,记录在所述轮播表中的对应位置;According to the serial numbers of one or more time slices that the user has purchased in the insertion order information and the number of rotations in one or more time slices that the user has purchased, the one that the user needs to play or identifiers of multiple advertisements, which are recorded in the corresponding positions in the carousel table;
按所述轮播表,播放所述标识所对应的广告。According to the rotation table, the advertisement corresponding to the identifier is played.
可选的,所述根据所述轮播信息中的所述预设的一个或多个时间片的个数和所述预设的一个或多个时间片内的轮播数目,构建轮播表,包括:Optionally, constructing a carousel table according to the number of the preset one or more time slots in the carousel information and the number of carousels in the preset one or more time slots ,include:
将所述轮播信息中的所述预设的一个或多个时间片的个数作为轮播表的列数;Using the preset number of one or more time slices in the carousel information as the number of columns in the carousel table;
将所述轮播信息中的所述预设的一个或多个时间片内的轮播数目的最小公倍数,作为所述轮播表的行数。The least common multiple of the number of carousels in the preset one or more time slices in the carousel information is used as the number of rows in the carousel table.
可选的,所述按所述轮播表,播放所述标识所对应的广告,包括:Optionally, playing the advertisement corresponding to the logo according to the carousel table includes:
记录收看广告的用户收看所述广告位中广告的收看次数;Record the number of times the user who watched the advertisement watched the advertisement in the said advertisement slot;
根据所述收看次数,按所述轮播表中与所述收看次数相对应的行中所述标识的顺序,播放所述标识所对应的广告。According to the viewing times, the advertisements corresponding to the identifications are played according to the order of the identifications in the rows corresponding to the viewing times in the carousel table.
可选的,所述广告订单信息中还包括所述用户需要播放广告的广告类型和广告播放时长;Optionally, the insertion order information also includes the type of advertisement that the user needs to play and the duration of the advertisement;
相应的,所述根据所述广告订单信息中的所述用户已经购买的一个或多个时间片的序号,以及所述用户已经购买的一个或多个时间片内的轮播数目,将所述用户需要播放的一个或多个广告的标识,记录在所述轮播表中的对应位置,包括:Correspondingly, according to the sequence number of one or more time slices that the user has purchased in the insertion order information and the number of rotations in the one or more time slices that the user has purchased, the The identifiers of one or more advertisements that the user needs to play are recorded in the corresponding positions in the carousel table, including:
按预设记录规则,根据所述广告订单信息中的所述用户已经购买的一个或多个时间片的序号,所述用户已经购买的一个或多个时间片内的轮播数目,所述用户需要播放广告的广告类型和广告播放时长,将所述用户需要播放的一个或多个广告的标识,记录在所述轮播表中的对应位置。According to the preset recording rule, according to the sequence number of one or more time slices that the user has purchased in the advertising order information, the number of rotations in one or more time slices that the user has purchased, the user The type of advertisements to be played and the duration of advertisements to be played, and the identifiers of one or more advertisements to be played by the user are recorded in the corresponding positions in the carousel table.
可选的,所述将所述用户需要播放的一个或多个广告的标识,记录在所述轮播表中的对应位置之后,所述方法还包括:Optionally, after recording the identifiers of one or more advertisements that the user needs to play in the corresponding position in the carousel table, the method further includes:
按预设调整规则,对所述轮播表中记录的所述标识的位置,进行调整。The position of the mark recorded in the carousel table is adjusted according to a preset adjustment rule.
可选的,所述按预设调整规则,对所述轮播表中记录的所述标识的位置,进行调整,包括:Optionally, adjusting the position of the logo recorded in the carousel table according to preset adjustment rules includes:
统计所述轮播表每一行中的所述标识的数目;counting the number of the identifiers in each row of the carousel table;
当所述轮播表中第一行中的所述标识的数目与第二行中的所述标识的数目之差大于第一预设阈值时,将所述第一行中的一个或多个标识,转移至所述第二行中,所述第一行和所述第二行为所述轮播表中的任意一行。When the difference between the number of identifiers in the first row and the number of identifiers in the second row in the carousel table is greater than a first preset threshold, one or more of the first row mark, transferred to the second row, and the first row and the second row are any row in the carousel table.
可选的,所述将所述第一行中的一个或多个标识,转移至所述第二行中,包括:Optionally, transferring one or more identifiers in the first row to the second row includes:
当在同一列中,所述第一行存在标识,且所述第二行不存在标识时,将该列中所述第一行的标识,转移至该列的所述第二行中。When there is an identifier in the first row and no identifier in the second row in the same column, the identifier in the first row in the column is transferred to the second row in the column.
可选的,所述按预设调整规则,对所述轮播表中记录的所述标识的位置,进行调整,包括:Optionally, adjusting the position of the logo recorded in the carousel table according to preset adjustment rules includes:
逐列的对所述轮播表中的所述标识进行检测;Detecting the identifiers in the carousel table column by column;
当确定出所述轮播表中的一个列中,第一标识的数目大于或等于第二预设阈值时,停止检测,并将所述轮播表中所有含有所述第一标识的行,按预设排序规则进行排序,所述第一标识为所述用户需要播放的一个或多个广告的标识中的任意一个标识。When it is determined that in a column in the carousel table, the number of first identifiers is greater than or equal to a second preset threshold, the detection is stopped, and all rows containing the first identifiers in the carousel table, Sorting is performed according to a preset sorting rule, and the first identifier is any one of one or more identifiers of advertisements that the user needs to play.
本发明实施例还公开了一种广告轮播装置,包括:The embodiment of the present invention also discloses an advertisement carousel device, including:
获取模块,用于获取轮播信息和广告订单信息,所述轮播信息包括在一个广告位内预设的一个或多个时间片的个数和所述预设的一个或多个时间片内的轮播数目,所述时间片为用于播放广告的时间段,所述广告订单信息包括用户已经购买的一个或多个时间片的序号,以及所述用户已经购买的一个或多个时间片内的轮播数目;An acquisition module, configured to acquire rotation information and insertion order information, the rotation information including the number of one or more preset time slices in one advertising slot and the The number of rotations, the time slice is the time period for playing advertisements, the advertisement order information includes the serial number of one or more time slices that the user has purchased, and the one or more time slices that the user has purchased The number of carousels within;
计算模块,用于根据所述轮播信息中的所述预设的一个或多个时间片的个数和所述预设的一个或多个时间片内的轮播数目,确定轮播表的行数和列数;A calculation module, configured to determine the carousel table according to the number of the preset one or more time slots in the carousel information and the number of carousels in the preset one or more time slots number of rows and columns;
记录模块,用于根据所述广告订单信息中的所述用户已经购买的一个或多个时间片的序号,以及所述用户已经购买的一个或多个时间片内的轮播数目,将所述用户需要播放的一个或多个广告的标识,记录在所述轮播表中的对应位置;A recording module, configured to record the number of one or more time slices that the user has purchased and the number of rotations in the one or more time slices that the user has purchased in the insertion order information. The identifiers of one or more advertisements that the user needs to play are recorded in the corresponding positions in the carousel table;
播放模块,用于按所述轮播表,播放所述标识所对应的广告。The playing module is used to play the advertisement corresponding to the identification according to the carousel table.
可选的,所述计算模块,包括:Optionally, the calculation module includes:
第一计算子模块,用于将所述轮播信息中的所述预设的一个或多个时间片的个数作为轮播表的列数;The first calculation submodule is used to use the preset number of one or more time slices in the carousel information as the number of columns in the carousel table;
第二计算子模块,用于将所述轮播信息中的所述预设的一个或多个时间片内的轮播数目的最小公倍数,作为所述轮播表的行数。The second calculation submodule is configured to use the least common multiple of the number of carousels in the preset one or more time slices in the carousel information as the number of rows in the carousel table.
可选的,所述播放模块,包括:Optionally, the playback module includes:
记录子模块,用于记录收看广告的用户收看所述广告位中广告的收看次数;A recording sub-module is used to record the viewing times of the advertisement in the advertisement slot by the user watching the advertisement;
播放子模块,用于根据所述收看次数,按所述轮播表中与所述收看次数相对应的行中所述标识的顺序,播放所述标识所对应的广告。The playing sub-module is used to play the advertisement corresponding to the identifier according to the viewing times and according to the order of the identifiers in the row corresponding to the viewing times in the carousel table.
可选的,所述装置中的广告订单信息中还包括所述用户需要播放广告的广告类型和广告播放时长;Optionally, the advertisement order information in the device also includes the type of advertisement that the user needs to play and the duration of the advertisement;
相应的,所述记录模块,具体用于按预设记录规则,根据所述广告订单信息中的所述用户已经购买的一个或多个时间片的序号,所述用户已经购买的一个或多个时间片内的轮播数目,所述用户需要播放广告的广告类型和广告播放时长,将所述用户需要播放的一个或多个广告的标识,记录在所述轮播表中的对应位置。Correspondingly, the recording module is specifically configured to, according to preset recording rules, according to the sequence numbers of one or more time slices that the user has purchased in the insertion order information, one or more time slots that the user has purchased The number of rotations in the time slice, the type of advertisements that the user needs to play and the duration of the advertisements, and the identifiers of one or more advertisements that the user needs to play are recorded in the corresponding positions in the rotation table.
可选的,其特征在于,所述装置还包括:Optionally, it is characterized in that the device also includes:
调整模块,用于按预设调整规则,对所述轮播表中记录的所述标识的位置,进行调整。An adjustment module, configured to adjust the position of the marker recorded in the carousel table according to a preset adjustment rule.
可选的,所述调整模块,包括:Optionally, the adjustment module includes:
第一统计子模块,用于统计所述轮播表每一行中的所述标识的数目;The first statistical submodule is used to count the number of the identifiers in each row of the carousel table;
第一调整子模块,用于当所述轮播表中第一行中的所述标识的数目与第二行中的所述标识的数目之差大于第一预设阈值时,将所述第一行中的一个或多个标识,转移至所述第二行中,所述第一行和所述第二行为所述轮播表中的任意一行。The first adjustment submodule is configured to: when the difference between the number of the identifiers in the first row and the number of the identifiers in the second row in the carousel table is greater than a first preset threshold, the second One or more identifiers in one row are transferred to the second row, and the first row and the second row are any row in the carousel table.
可选的,所述第一调整子模块,具体用于当在同一列中,所述第一行存在标识,且所述第二行不存在标识时,将该列中所述第一行的标识,转移至该列的所述第二行中。Optionally, the first adjustment submodule is specifically configured to: when in the same column, the first row has an identifier and the second row does not have an identifier, the first row in the column ID, transferred to said second row of the column.
可选的,所述调整模块,包括:Optionally, the adjustment module includes:
第二统计子模块,用于逐列的对所述轮播表中的所述标识进行检测;The second statistical submodule is used to detect the identifier in the carousel table column by column;
第二调整子模块,用于当确定出所述轮播表中的一个列中,第一标识的数目大于或等于第二预设阈值时,停止检测,并将所述轮播表中所有含有所述第一标识的行,按预设排序规则进行排序,所述第一标识为所述用户需要播放的一个或多个广告的标识中的任意一个标识。The second adjustment submodule is used to stop the detection when it is determined that in a column in the carousel table, the number of the first identifier is greater than or equal to the second preset threshold, and store all the elements in the carousel table The row of the first identifier is sorted according to a preset sorting rule, and the first identifier is any one of the identifiers of one or more advertisements that the user needs to play.
本发明实施例提供的一种广告轮播方法及装置,可以将一段时间划分为多个时间片,根据用户广告订单信息以及预设的轮播信息,建立起轮播表,按轮播表中的顺序,在同一个广告位中,实现不同广告的轮播,从而使得用户能够只购买一个时间段内的部分流量,降低了广告投放成本,有利于广告位资源的充分利用,并且提高了收看广告的用户的体验,提高广告投放效果。当然,实施本发明的任一产品或方法并不一定需要同时达到以上所述的所有优点。The advertisement carousel method and device provided by the embodiments of the present invention can divide a period of time into multiple time slices, establish a carousel table according to user advertisement order information and preset carousel information, and press the time slots in the carousel table In the same advertising space, the rotation of different advertisements is realized, so that users can only buy part of the traffic within a time period, which reduces the cost of advertising, is conducive to the full utilization of advertising space resources, and improves viewing Improve the user experience of advertising and improve the effectiveness of advertising. Of course, implementing any product or method of the present invention does not necessarily need to achieve all the above-mentioned advantages at the same time.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1为本发明实施例提供的广告轮播方法的一种流程图;FIG. 1 is a flowchart of an advertisement rotation method provided by an embodiment of the present invention;
图2为本发明实施例提供的广告轮播方法的另一种流程图;Fig. 2 is another flow chart of the advertising rotation method provided by the embodiment of the present invention;
图3为本发明实施例提供的广告轮播装置的结构图。Fig. 3 is a structural diagram of an advertisement carousel device provided by an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
参见图1,图1为本发明实施例提供的广告轮播方法的一种流程图,包括:Referring to FIG. 1, FIG. 1 is a flowchart of an advertisement rotation method provided by an embodiment of the present invention, including:
步骤101,获取轮播信息和广告订单信息,轮播信息包括在一个广告位内预设的一个或多个时间片的个数和预设的一个或多个时间片内的轮播数目,时间片为用于播放广告的时间段,广告订单信息包括用户已经购买的一个或多个时间片的序号,以及用户已经购买的一个或多个时间片内的轮播数目。Step 101, obtain rotation information and insertion order information, the rotation information includes the number of preset one or more time slices in an advertising space and the number of rotations in one or more preset time slices, time A slice is a time period for playing advertisements, and the insertion order information includes the serial number of one or more time slices that the user has purchased, and the number of rotations within the one or more time slices that the user has purchased.
本发明实施例提供的广告轮播方法可以应用于各种进行广告投放的电子设备,例如网站后台的服务器等设备。The advertisement rotation method provided by the embodiment of the present invention can be applied to various electronic devices for placing advertisements, such as a server in the background of a website.
在一个广告位进行多个广告的轮播时,需要首先获取轮播信息和广告订单信息。When performing rotation of multiple advertisements in an ad slot, it is necessary to obtain rotation information and insertion order information first.
轮播信息是预设配置好的信息,能够直接进行获取。可以预先将一个广告位播放广告的时间划分为一个或多个时间片,时间片可以认为是用于播放广告的时间段,各个时间片之间可以连续并相互独立。在一个时间片内,可以将时间片划分为一个或多个轮播,即每一个时间片内可以含有多个轮播。时间片内的轮播数目,可以认为是将该时间片的广告的总流量按轮播数目,划分成了若干份。从而可以使得将时间片内的广告流量分开售卖,用户可以购买时间片内的全部广告流量或者部分广告流量。例如,当一个时间片划分为2个轮播时,则该时间片的广告流量被划分为两半,两个用户分别购买了其中一个轮播时,则在该时间片内,一半的广告流量播放的是其中一个用户的广告,另一半广告流量播放的是另一个用户的广告。在本发明实施例中广告的流量可以理解为服务器向用于广告播放的客户端发送的广告的数据流量。Carousel information is pre-configured information and can be obtained directly. The time for playing an advertisement in an advertising slot can be divided into one or more time slices in advance, and a time slice can be regarded as a time period for playing advertisements, and each time slice can be continuous and independent of each other. In a time slice, the time slice can be divided into one or more carousels, that is, each time slice can contain multiple carousels. The number of carousels in a time slice can be regarded as dividing the total traffic of advertisements in the time slice into several parts according to the number of carousels. Therefore, the advertising traffic in the time slice can be sold separately, and the user can purchase all or part of the advertising traffic in the time slice. For example, when a time slot is divided into 2 rotations, the advertising traffic of this time slot is divided into two halves. When two users purchase one of the rotations respectively, half of the advertising traffic in this time slot One user's ad was played, and the other half of the ad traffic was played by another user's ad. In the embodiment of the present invention, the traffic of the advertisement can be understood as the data traffic of the advertisement sent by the server to the client for playing the advertisement.
轮播信息可以通过表格的形式表示,例如,一个广告位可以被划分为6个时间片,每个时间片内的轮播数目如表1所示,表1为该广告位的轮播信息表。Rotation information can be expressed in the form of a table. For example, an advertising slot can be divided into 6 time slices. The number of rotations in each time slice is shown in Table 1. Table 1 is the rotation information table of this advertising slot. .
表1Table 1
在表1中,可以看到,每一个时间片可以具有一个时间片序号,用以区别其他的时间片。不同的时间片内可以具有不同的轮播数目。In Table 1, it can be seen that each time slice may have a time slice serial number to distinguish other time slices. There can be different carousel numbers in different time slices.
广告订单信息是用户购买的时间片的序号、时间片的数量以及所购买的时间片内轮播数目的信息。当用户完成后买后,上述广告订单信息就可以直接被获取。The insertion order information is the serial number of the time slice purchased by the user, the number of time slices and the number of rotations in the purchased time slice. After the user completes the purchase, the above insertion order information can be directly obtained.
例如,结合上述的例子,广告订单信息可以为:用户A购买了时间片1中的1个轮播,时间片2中的1个轮播,时间片3中的1个轮播;用户B购买了时间片3中剩余的1个轮播,时间片4中的1个轮播,时间片5中的1个轮播;用户C购买了时间片5中剩余的1个轮播,时间片6中的2个轮播。For example, combined with the above example, the insertion order information can be: user A purchased a carousel in time slice 1, a carousel in time slice 2, and a carousel in time slice 3; user B purchased The remaining 1 carousel in time slice 3, 1 carousel in time slice 4, and 1 carousel in time slice 5; user C purchased the remaining 1 carousel in time slice 5, and the remaining 1 carousel in time slice 6 2 carousels in .
步骤102,根据轮播信息中的预设的一个或多个时间片的个数和预设的一个或多个时间片内的轮播数目,确定轮播表的行数和列数。Step 102: Determine the number of rows and columns of the carousel table according to the preset number of one or more time slots in the carousel information and the number of carousels within the preset one or more time slots.
获得了轮播信息后,就可以通过轮播信息,构建起一个没有具体内容的轮播表,即可以通过轮播信息确定出轮播表具体的行数和列数。轮播表是可以用来划分不同广告在不同时间片中的播放顺序的表格,在进行广告的播放时,可以按照已经排好序的轮播表中的顺序进行播放。After obtaining the carousel information, a carousel table without specific content can be constructed through the carousel information, that is, the specific number of rows and columns of the carousel table can be determined through the carousel information. The carousel table is a table that can be used to divide the playing sequence of different advertisements in different time slices. When playing advertisements, they can be played according to the sequence in the sorted carousel table.
在实际应用中,可以将时间片的个数作为轮播表的列数,可以将各个时间片内的轮播数目的公倍数作为轮播表的行数。具体的行数可以根据需要进行选择,只要总的行数是各个时间片内的轮播数目的公倍数即可。In practical applications, the number of time slices can be used as the number of columns in the carousel table, and the common multiple of the number of carousels in each time slice can be used as the number of rows in the carousel table. The specific number of rows can be selected as required, as long as the total number of rows is a common multiple of the number of carousels in each time slice.
需要注意的是,表格中的行和列只是相对而言的。即将轮播表的行和列互换位置也可以符合本发明实施例所提供的方法,在本发明实施例中,均已时间片的个数作为轮播表的列数,各个时间片内的轮播数目的公倍数作为轮播表的行数为例进行说明,但另一种形式的,即行与列互换位置的轮播表也属于本发明实施例的保护范围。It should be noted that the rows and columns in the table are only relative terms. The row and column exchange positions of the carousel table can also conform to the method provided by the embodiment of the present invention. In the embodiment of the present invention, the number of time slices is used as the column number of the carousel table. The common multiple of the number of carousels is taken as an example of the number of rows of the carousel table for illustration, but another form, that is, a carousel table in which rows and columns are swapped also falls within the scope of protection of the embodiments of the present invention.
例如,结合步骤101中的例子,根据表1中的轮播信息,该广告位划分为了6个时间片,则轮播表的列数可以为6,各个时间片中轮播数目的公倍数有6,12,18等等,可以选择其中任意一个数字作为轮播表的行数,在本发明实施例中,选择6作为轮播表的行数来进行说明。For example, in conjunction with the example in step 101, according to the carousel information in Table 1, the advertising space is divided into 6 time slices, the number of columns in the carousel table can be 6, and the common multiple of the number of carousels in each time slice is 6 , 12, 18 and so on, any number can be selected as the number of rows of the carousel table, in the embodiment of the present invention, 6 is selected as the number of rows of the carousel table for illustration.
在轮播表中,每一列都是该广告位的一个时间片,每一行可以认为是每一个时间片的一部分流量。在轮播表中有多少行,就可以认为是将时间片上总的广告流量划分为了几部分。容易理解的是,由于行数是各个时间片中轮播数目的公倍数,所以在轮播表的行中可以选择出与时间片中轮播数目对应的行数。例如,结合上面的例子,时间片1被划分为了2轮播,则用户购买其中的1轮播,该时间片有一半的流量用于用户需要播放的广告的播放,对应在轮播表中,可以认为6行中的3行对应用户所购买的1轮播。同样,时间片2被划分为了3轮播,则用户购买其中的1轮播,则该时间片三分之一的流量会用于用户需要播放的广告的播放,对应在轮播表中,可以认为该时间片下的6行中的2行对应用户所购买的1轮播。In the rotation table, each column is a time slice of the ad slot, and each row can be considered as a part of traffic in each time slice. The number of rows in the rotation table can be considered as dividing the total advertising traffic on the time slice into several parts. It is easy to understand that since the number of rows is the common multiple of the number of carousels in each time slice, the number of rows corresponding to the number of carousels in the time slice can be selected from the rows of the carousel table. For example, in combination with the above example, time slice 1 is divided into 2 carousels, and the user purchases 1 carousel, and half of the traffic in this time slice is used to play the advertisements that the user needs to play, corresponding to the carousel table. It can be considered that 3 of the 6 rows correspond to 1 carousel purchased by the user. Similarly, time slice 2 is divided into 3 carousels, and if the user purchases 1 carousel, one-third of the traffic in this time slice will be used to play the advertisements that the user needs to play. Corresponding to the carousel table, you can It is considered that 2 of the 6 rows under the time slice correspond to 1 carousel purchased by the user.
步骤103,根据广告订单信息中的用户已经购买的一个或多个时间片的序号,以及用户已经购买的一个或多个时间片内的轮播数目,将用户需要播放的一个或多个广告的标识,记录在轮播表中的对应位置。Step 103, according to the sequence number of one or more time slices that the user has purchased in the insertion order information, and the number of rotations in the one or more time slices that the user has purchased, calculate the number of one or more advertisements that the user needs to play ID, recorded in the corresponding position in the carousel table.
经过上述步骤已经可以建立起一个没有具体内容的轮播表,然后就可以根据广告订单信息,将用户需要播放的一个或多个广告的标识,记录在轮播表中的对应位置。用户所要播放的一个或多个广告的标识可以是广告名称或编号等标识,也可以是广告订单的编号等标识。After the above steps, a carousel table without specific content can be established, and then according to the insertion order information, the identifiers of one or more advertisements that the user needs to play can be recorded in the corresponding positions in the carousel table. The identifiers of one or more advertisements to be played by the user may be identifiers such as advertisement names or numbers, or may be identifiers such as the numbers of insertion orders.
广告订单信息中含有用户已经购买的一个或多个时间片的序号,以及用户已经购买的一个或多个时间片内的轮播数目。通过用户已经购买的一个或多个时间片的序号,可以确定出用户所要播放的一个或多个广告的标识在轮播表中的列的位置,通过用户已经购买的一个或多个时间片内的轮播数目,可以确定出用户所要播放的一个或多个广告的标识在轮播表中的行的位置。The insertion order information includes the sequence numbers of one or more time slices that the user has purchased, and the number of rotations within the one or more time slices that the user has purchased. Through the sequence numbers of one or more time slices that the user has purchased, the position of the identification of one or more advertisements to be played by the user in the column of the carousel table can be determined. The number of carousels can be used to determine the position of the row in the carousel table with the identifiers of one or more advertisements to be played by the user.
例如,结合步骤101中的例子,且已经确定出轮播表为6行6列,根据广告订单信息:用户A购买了时间片1中的1个轮播,时间片2中的1个轮播,时间片3中的1个轮播;用户B购买了时间片3中剩余的1个轮播,时间片4中的1个轮播,时间片5中的1个轮播;用户C购买了时间片5中剩余的1个轮播,时间片6中的2个轮播;可以将用户所要播放的广告的标识记录在如表2所示的轮播表中。表2中使用用户名称作为用户所要播放的广告的标识。For example, in combination with the example in step 101, and it has been determined that the carousel table has 6 rows and 6 columns, according to the insertion order information: user A purchased 1 carousel in time slice 1, and 1 carousel in time slice 2 , 1 carousel in time slice 3; user B purchased the remaining 1 carousel in time slice 3, 1 carousel in time slice 4, and 1 carousel in time slice 5; user C purchased The remaining 1 carousel in time slot 5 and the 2 carousels in time slot 6; the identifier of the advertisement to be played by the user can be recorded in the carousel table shown in Table 2. In Table 2, the user name is used as the identifier of the advertisement to be played by the user.
表2Table 2
在实际应用中,当根据轮播信息确定出轮播表的具体行数后,广告订单信息中的用户已经购买的一个或多个时间片内的轮播数目,可以简化为用广告投放比例来表示,广告投放比例是用户所购买的用户广告播放的流量占总的广告流量的比例值。例如,在表2所示的轮播表中,每一个时间片的总流量都被划分为6行,即总流量被划分为了6份流量。所以用户也可以按流量的比例进行广告流量的购买,如购买其中的1/6,2/6,3/6等等。这些比例值就可以作为广告投放比例。如,当用户的广告投放比例为1/6,则该用户需要播放的广告可以占用轮播表对应时间片6行中的一行。In practical applications, after the specific number of rows in the carousel table is determined according to the carousel information, the number of carousels in one or more time slices that the user has purchased in the insertion order information can be simplified as Indicates that the ad delivery ratio is the ratio of the traffic purchased by the user for user ad playback to the total ad traffic. For example, in the carousel table shown in Table 2, the total flow of each time slice is divided into 6 rows, that is, the total flow is divided into 6 pieces of flow. Therefore, users can also purchase advertising traffic according to the proportion of traffic, such as buying 1/6, 2/6, 3/6 and so on. These ratio values can be used as the advertisement delivery ratio. For example, when the user's advertisement placement ratio is 1/6, the advertisement that the user needs to play can occupy one of the 6 rows of the corresponding time slice in the carousel table.
需要说明的是,时间片所代表的时间长度可以小于或等于一个广告的时间长度,所以一个广告可以只占用一个时间片,或者一个广告也可以占用多个时间片。容易理解的是,当一个广告占用多个时间片时,用户需要购买多个时间片中的对应的轮播数目。当用户按广告投放比例进行购买广告流量时,例如,在上述例子中用户的广告投放比例为1/6,则该用户需要播放的广告可以占用轮播表对应的多个时间片6行中的一行。It should be noted that the time length represented by a time slice may be less than or equal to the time length of one advertisement, so one advertisement may occupy only one time slice, or one advertisement may occupy multiple time slices. It is easy to understand that when an advertisement occupies multiple time slices, the user needs to purchase the corresponding number of rotations in the multiple time slices. When the user purchases advertising traffic according to the advertising delivery ratio, for example, in the above example, the user's advertising delivery ratio is 1/6, then the advertisement that the user needs to play can occupy the 6 rows of multiple time slots corresponding to the carousel table one line.
广告订单信息中可以只含有用户已经购买的一个或多个时间片的序号和广告投放比例。通过上述广告订单信息,以及轮播信息中每个时间片内的轮播数目,也可以实现本发明实施例中的确定出用户所要播放的一个或多个广告的标识在轮播表中的行的位置,且同样属于本发明实施例的保护范围。The insertion order information may only contain the sequence numbers and advertising delivery ratios of one or more time slices that the user has purchased. Through the above advertising order information and the number of carousels in each time slice in the carousel information, it is also possible to determine the row in the carousel table that identifies one or more advertisements that the user wants to play in the embodiment of the present invention. position, and also belong to the scope of protection of the embodiments of the present invention.
需要说明的是,在实际应用中,例如上述表2中存在空余的位置,可以表示在相应时间片内还有没有被购买的轮播数目,即在相应时间片内还有部分流量没有被购买,这些未被购买的流量或轮播数目当被用户购买后,可以将对应的广告的标识填充至现有的轮播表中。在未被购买时,例如上述表2中存在空余的位置,可以理解为相应时间片内,不进行广告的投放。It should be noted that, in practical applications, for example, there are vacant positions in the above table 2, which can indicate the number of carousels that have not been purchased in the corresponding time slice, that is, there are still some traffic that have not been purchased in the corresponding time slice , when these unpurchased traffic or number of rotations are purchased by the user, the identifiers of the corresponding advertisements can be filled into the existing rotation table. When it is not purchased, for example, there is a vacant position in the above table 2, it can be understood that no advertisement is placed in the corresponding time slice.
步骤104,按轮播表,播放标识所对应的广告。Step 104: Play the advertisement corresponding to the identifier according to the carousel table.
当已经在轮播表中保存了用户需要进行播放的广告对应的标识之后,就可以按轮播表中标识的顺序,播放标识所对应的广告。在本发明实施例中,轮播表每一行中标识的顺序,都可以作为一个可选的在一个广告位中进行不同广告轮播的顺序。After the identifiers corresponding to the advertisements that the user needs to play have been saved in the carousel table, the advertisements corresponding to the identifiers can be played in the order of the identifiers in the carousel table. In the embodiment of the present invention, the sequence identified in each row of the rotation table can be used as an optional sequence for performing different advertisement rotations in one advertisement slot.
在实际应用中,可以逐行的按每一行中标识的顺序播放标识所对应的广告,播放完一行后,再播放下一行。从而可以实现对同一个广告位,轮播不同的广告。In practical applications, the advertisements corresponding to the logos can be played line by line in the order of the logos in each line, and after one line is played, the next line is played. In this way, it is possible to rotate different advertisements for the same advertisement position.
容易理解的是,在本发明实施例中,当轮播表中的列与行互换位置时,则可以逐列的按每一列中标识的顺序播放标识所对应的广告,播放完一列后,再播放下一行。It is easy to understand that, in the embodiment of the present invention, when the positions of the columns and rows in the carousel table are exchanged, the advertisements corresponding to the labels can be played column by column in the order of the labels in each column. After playing a column, Play the next line again.
在本发明实施例中,通过轮播信息和广告订单信息,构建起用于含有用户需要播放一个或多个广告的标识的轮播表,轮播表中可以反映出用户所购买的时间片和轮播数。根据该轮播表中的标识的顺序,在一个广告位中播放标识所对应的广告,实现了在同一个广告位中,实现不同广告的轮播,从而使得用户能够只购买一个时间段内的部分流量,降低了广告投放成本,有利于广告位资源的充分利用,并且提高了收看广告的用户的体验,提高广告投放效果。In the embodiment of the present invention, a carousel table containing the identification of one or more advertisements that the user needs to play is constructed through the carousel information and the advertisement order information, and the time slice and the carousel purchased by the user can be reflected in the carousel table. broadcast number. According to the order of the logos in the carousel table, the advertisement corresponding to the logo is played in an advertisement space, realizing the rotation of different advertisements in the same advertisement space, so that the user can only purchase the advertisements within a time period Partial traffic reduces the cost of advertising, is conducive to the full use of advertising space resources, and improves the experience of users who watch advertisements, improving the effectiveness of advertising.
可选的,在本发明实施例提供的广告轮播方法中,根据轮播信息中的预设的一个或多个时间片的个数和预设的一个或多个时间片内的轮播数目,构建轮播表,包括:Optionally, in the advertisement rotation method provided in the embodiment of the present invention, according to the preset number of one or more time slices in the rotation information and the number of rotations within the preset one or more time slices , build a carousel table, including:
第一步,将轮播信息中的预设的一个或多个时间片的个数作为轮播表的列数。In the first step, the number of one or more preset time slices in the carousel information is used as the number of columns of the carousel table.
第二步,将轮播信息中的预设的一个或多个时间片内的轮播数目的最小公倍数,作为轮播表的行数。In the second step, the least common multiple of the number of carousels in one or more preset time slices in the carousel information is used as the number of rows in the carousel table.
在通过轮播信息确定轮播表的行数和列数时,如果使用一个或多个时间片内的轮播数目的一个较大的公倍数作为轮播表的行数时,可能会造成轮播表的行数过多,当轮播表的行数过多时,完成对广告位上所有的轮播将会花费较长的时间,不利于广告的更新,并且容易造成同样的轮播重复次数过多的问题。When using the carousel information to determine the number of rows and columns of the carousel table, if a large common multiple of the number of carousels in one or more time slices is used as the number of rows of the carousel table, it may cause carousel There are too many rows in the table. When there are too many rows in the carousel table, it will take a long time to complete all the carousels on the advertising slots, which is not conducive to updating the advertisements, and it is easy to cause the same carousel to repeat too many times. many questions.
为了避免上述问题,在本发明实施例中,优选的,可以将一个或多个时间片内的轮播数目的最小公倍数,作为轮播表的行数。这样可以满足对每一个时间片内的流量划分的情况下,同时保证轮播表行数最少。从而使得可以花费最少的时间完成对广告位上所有的轮播,即遍历轮播表中每一行,按每一行中标识的顺序都进行过广告的播放,避免了同样的轮播顺序重复次数过多的问题。In order to avoid the above problems, in the embodiment of the present invention, preferably, the least common multiple of the number of carousels in one or more time slices may be used as the number of rows in the carousel table. In this way, the traffic division in each time slice can be satisfied, and at the same time, the number of rows in the carousel table can be kept to a minimum. Therefore, it is possible to spend the least amount of time to complete all the carousels on the advertising slots, that is, traverse each row in the carousel table, and play the advertisements in the order identified in each row, avoiding the repetition of the same carousel order. many questions.
可选的,在本发明实施例提供的广告轮播方法中,按轮播表,播放标识所对应的广告,包括:Optionally, in the advertisement rotation method provided in the embodiment of the present invention, the advertisement corresponding to the identifier is played according to the rotation table, including:
第一步,记录收看广告的用户收看该广告位中广告的收看次数。The first step is to record the viewing times of the advertisement in the advertisement slot by the user who watched the advertisement.
在按轮播表,播放标识所对应的广告时,可以记录下收看广告的用户已经观看该广告位中广告的次数。观看次数的统计针对不同形式的广告位可以有不同的统计方法,例如,在网页中显示的广告位,可以通过收看广告的用户刷新该网页或重新打开该网页的次数来统计该广告位中广告的观看次数;在应用软件页面中出现的广告可以通过收看广告的用户切换到该页面中的次数来统计观看次数;视频前端的广告,可以通过用户观看视频的次数来统计观看次数。When the advertisement corresponding to the logo is played according to the carousel table, the number of times the user watching the advertisement has watched the advertisement in the advertisement slot can be recorded. The statistics of the number of views can have different statistical methods for different forms of advertising slots. For example, for advertising slots displayed on a web page, the number of times the user watching the advertisement refreshes the web page or reopens the web page can be used to count the ads in the advertising slot. The number of views; the number of views of the advertisements appearing on the application software page can be counted by the number of times the users who watch the advertisement switch to this page;
第二步,根据收看次数,按轮播表中与收看次数相对应的行中标识的顺序,播放标识所对应的广告。In the second step, according to the viewing times, the advertisements corresponding to the identifications are played according to the order of the identifications in the rows corresponding to the viewing times in the carousel table.
在轮播表中,每一行中标识的顺序都是一个可选的进行广告轮播的顺序,当收看广告的用户观看过一次,按轮播表某一行中标识的顺序进行的广告的轮播后,当用户再次观看该广告位中的广告时,就应该观看按另一行中标识的顺序进行的广告的轮播。这样才能够体现出该广告位中的时间片内的流量用于播放不同的广告。In the carousel table, the order identified in each row is an optional order for ad rotation. When the user who watched the ad has watched it once, the ad rotation will be performed in the order identified in a row of the carousel table. , when the user views the ad in that ad slot again, they should see the rotation of ads in the order identified in the other row. Only in this way can it be reflected that the traffic within the time slice in the advertising slot is used to play different advertisements.
所以不同的观看次数可以对应轮播表中不同的行,例如,第一次观看,对应轮播表中的第一行;第二次观看,对应轮播表中的第二行。或者也可以从第一行开始,收看广告的用户每增加一次观看次数,则对应轮播表中的下一行,当到达最后一行时,再次从第一行开始循环。从而保证收看广告的用户每一次观看都会按不同的轮播表的行中标识的顺序,进行标识对应广告的播放。Therefore, different viewing times can correspond to different rows in the carousel table. For example, the first viewing corresponds to the first row in the carousel table; the second viewing corresponds to the second row in the carousel table. Or it can also start from the first row, and every time the user watching the advertisement increases the number of views, it corresponds to the next row in the carousel table, and when the last row is reached, the cycle starts from the first row again. In this way, it is ensured that the user who watches the advertisement will play the advertisement corresponding to the identifier according to the order of the identifiers in the rows of different carousel tables every time they watch the advertisement.
例如,轮播表中第一行时间片1下的标识为A,时间片2下的标识为B,时间片3下的标识为B;第二行时间片1下的标识为D,时间片2下的标识为B,时间片3下的标识为E。则收看广告的用户第一次打开网页,一个广告位中播放的广告为:广告A、广告B,广告B。用户刷新网页后,该广告位播放的广告为:广告D,广告B,广告E。For example, in the first row of the carousel table, the logo under time slice 1 is A, the logo under time slice 2 is B, and the logo under time slice 3 is B; the logo under time slice 1 in the second row is D, and the logo under time slice The mark under 2 is B, and the mark under time slice 3 is E. Then, when the user who watches the advertisement opens the webpage for the first time, the advertisements played in one advertisement slot are: advertisement A, advertisement B, and advertisement B. After the user refreshes the webpage, the advertisements played in this advertisement slot are: advertisement D, advertisement B, and advertisement E.
在本发明实施例中,通过统计收看广告的用户观看广告的观看次数,根据观看次数按轮播表中与收看次数相对应的行中标识的顺序,播放标识所对应的广告。从而保证了同一个用户可以收看到每一个时间片内所投放的不同广告,同时也保证了广告投放的公平性。In the embodiment of the present invention, by counting the viewing times of the advertisements by the users watching the advertisements, the advertisements corresponding to the identifications are played according to the order of the identifications in the rows corresponding to the viewing times in the carousel table according to the viewing times. Therefore, it is ensured that the same user can watch different advertisements delivered in each time slice, and the fairness of advertisement delivery is also ensured.
可选的,在本发明实施例提供的广告轮播方法中,广告订单信息中还包括用户需要播放广告的广告类型和广告播放时长。Optionally, in the advertisement rotation method provided by the embodiment of the present invention, the advertisement order information also includes the advertisement type and advertisement broadcast duration that the user needs to play.
在本发明实施例中,广告订单信息中除了包括用户已经购买的一个或多个时间片的序号,以及该用户已经购买的一个或多个时间片内的轮播数目外,还可以包括用户需要播放广告的广告类型和广告播放时长。In this embodiment of the present invention, the advertising order information may include, in addition to the sequence number of one or more time slices that the user has purchased and the number of rotations in one or more time slices that the user has purchased, it may also include the The type of ad that plays the ad and the duration of the ad.
广告类型可以分为很多种,例如针对不同的产品,可以将广告分为不同的类型,还可以根据广告的性质,将广告分为不同的类型,例如公益广告,商业广告等等。There are many types of advertisements. For example, advertisements can be divided into different types for different products, and advertisements can also be divided into different types according to the nature of advertisements, such as public service advertisements, commercial advertisements, and so on.
广告的播放时长就是广告所播放的时间长度。不同的广告,播放时长不同。在本发明实施例中,时间片就是用来播放广告的时间段,时间片的时间长度可以小于或等于在该时间片内所播放的广告的播放时长。一个广告可以占有一个或多个时间片。Ad duration is the length of time the ad plays. Different advertisements have different playback durations. In the embodiment of the present invention, the time slice is a time period for playing advertisements, and the time length of the time slice may be less than or equal to the playing duration of the advertisements played within the time slice. An advertisement can occupy one or more time slices.
相应的,在本发明实施例提供的广告轮播方法中,根据广告订单信息中的用户已经购买的一个或多个时间片的序号,以及用户已经购买的一个或多个时间片内的轮播数目,将用户需要播放的一个或多个广告的标识,记录在轮播表中的对应位置,包括:Correspondingly, in the advertisement rotation method provided by the embodiment of the present invention, according to the serial number of one or more time slices that the user has purchased in the advertisement order information, and the rotation within one or more time slices that the user has purchased number, and record the identifiers of one or more advertisements that the user needs to play in the corresponding position in the carousel table, including:
按预设记录规则,根据广告订单信息中的用户已经购买的一个或多个时间片的序号,用户已经购买的一个或多个时间片内的轮播数目,用户需要播放广告的广告类型和广告播放时长,将用户需要播放的一个或多个广告的标识,记录在轮播表中的对应位置。According to the preset recording rules, according to the sequence number of one or more time slices that the user has purchased in the insertion order information, the number of rotations in one or more time slices that the user has purchased, the type of advertisement that the user needs to play and the advertisement Playing duration, record the identifiers of one or more advertisements that the user needs to play in the corresponding positions in the carousel table.
当根据广告订单信息将用户需要播放的一个或多个广告的标识,记录在轮播表中的对应位置时,可以按预设记录规则,为广告订单信息中各种不同的信息预设不同的优先级,从而优先按照优先级最高的广告订单信息中的信息记录用户需要播放的一个或多个广告的标识,广告订单信息中的信息包括用户已经购买的一个或多个时间片的序号,用户已经购买的一个或多个时间片内的轮播数目,用户需要播放广告的广告类型和广告播放时长。When the identification of one or more advertisements that the user needs to play is recorded in the corresponding position in the carousel table according to the insertion order information, different information can be preset for various information in the insertion order information according to the preset recording rules. Priority, so as to record the identifiers of one or more advertisements that the user needs to play according to the information in the insertion order information with the highest priority. The information in the insertion order information includes the sequence number of one or more time slices that the user has purchased. The number of rotations in one or more time slices that have been purchased, the type of advertisement that the user needs to play and the duration of the advertisement.
例如,预设记录规则可以为,用户已经购买的一个或多个时间片的序号优先级最高,其次为广告类型,然后为广告播放时长,优先级最低的为用户已经购买的一个或多个时间片内的轮播数目。根据上述的预设记录规则,将用户需要播放的一个或多个广告的标识,记录在轮播表中的对应位置时,可以先将时间片的序号靠前的广告对应的标识先记录在轮播表中,如用户A购买了时间片1和时间片2中的轮播,用户B购买了时间片3和时间片4中的轮播,则优先将用户A所要播放的广告对应的标识记录在轮播表中。For example, the preset recording rule may be that the sequence number of one or more time slices that the user has purchased has the highest priority, followed by the type of advertisement, and then the duration of the advertisement, and the lowest priority is one or more time slices that the user has purchased The number of carousels in the slice. According to the above-mentioned preset recording rules, when recording the identifiers of one or more advertisements that the user needs to play in the corresponding positions in the carousel table, the identifiers corresponding to the advertisements whose sequence numbers are higher in the time slice can be recorded in the carousel first. In the broadcast table, if user A purchases the carousels in time slot 1 and time slot 2, and user B purchases the carousels in time slot 3 and time slot 4, the identifier corresponding to the advertisement to be played by user A will be preferentially recorded in the carousel.
当两个用户购买的时间片的序号相同的,可以根据下一个优先级的信息,将标识记录在轮播表中,如,用户A和用户B都购买了时间片1和时间片2中的轮播,则可以根据广告类型来决定优先在轮播表中记录的标识,可以在预设规则中设定不同广告类型的优先排序顺序,如,公益广告优先,其次为商业广告。那么则优先记录属于公益广告类型的广告所对应的标识。When the serial numbers of time slices purchased by two users are the same, the identification can be recorded in the carousel table according to the information of the next priority. For example, user A and user B both purchased time slices 1 and 2. Carousel, according to the type of advertisement, it can determine the identifiers recorded in the carousel table first, and the priority order of different advertisement types can be set in the preset rules, for example, public service advertisements are prioritized, followed by commercial advertisements. Then, the identification corresponding to the advertisement belonging to the public service advertisement type is preferentially recorded.
同样的,当广告类型相同时,可以再根据下一个优先级的信息,将标识记录在轮播表中,如,优先记录广告播放时长较长的广告对应的标识等等。Similarly, when the types of advertisements are the same, the identifiers can be recorded in the carousel table according to the information of the next priority, for example, the identifiers corresponding to the advertisements with a longer playing time are preferentially recorded, and so on.
最后可以还可以根据用户已经购买的一个或多个时间片内的轮播数目,将标识记录在轮播表中,如,用户已经购买的一个或多个时间片内的轮播数目最多的广告对应的标识优先记录在轮播表中等等。Finally, the identifier can also be recorded in the carousel table according to the number of rotations in one or more time slices that the user has purchased, such as the advertisement with the largest number of rotations in one or more time slices that the user has purchased The corresponding identifier is preferentially recorded in the carousel table and so on.
具体的,预设记录规则可以根据需要进行灵活的设置,广告订单信息中的任意一种信息都可以配置为不同的优先级。在实际应用中可以根据实际情况进行配置,在此不再一一列举。Specifically, the preset recording rules can be flexibly set according to needs, and any kind of information in the insertion order information can be configured with different priorities. In practical applications, configurations can be performed according to actual conditions, and will not be listed one by one here.
在本发明实施例中,按预设记录规则,根据广告订单信息中的各种信息,将用户需要播放的一个或多个广告的标识记录在轮播表中,通过配置或调整预设的记录规则,可以灵活的调整优先记录在轮播表中的标识,从而使得轮播表中的标识的顺序可以得到灵活的调整,使得轮播表中标识的顺序更加的合理。In the embodiment of the present invention, according to the preset recording rules, according to various information in the advertising order information, the identifiers of one or more advertisements that the user needs to play are recorded in the carousel table, and by configuring or adjusting the preset recording The rules can flexibly adjust the identifiers that are preferentially recorded in the carousel table, so that the order of the identifiers in the carousel table can be flexibly adjusted, making the order of the identifiers in the carousel table more reasonable.
可选的,在本发明实施例提供的广告轮播方法中,将用户需要播放的一个或多个广告的标识,记录在轮播表中的对应位置之后,方法还包括:Optionally, in the advertisement rotation method provided by the embodiment of the present invention, the identifiers of one or more advertisements that the user needs to play are recorded in the corresponding positions in the rotation table, and the method further includes:
按预设调整规则,对轮播表中记录的标识的位置,进行调整。According to the preset adjustment rules, the positions of the marks recorded in the carousel table are adjusted.
当在轮播表中已经记录有对应用户需要播放的一个或多个广告的标识后,有可能出现标识在轮播表中分布不均匀的情况,如表2所示的轮播表中,前几行中标识较多,而后几行中标识较少。从而使得在按照轮播表进行广告的播放时,会造成前几次进行广告轮播时,播放的广告较为密集,而后几次进行广告轮播时,则会出现较多的时间空隙,没有广告投放。这一方面影响了广告投放的效率,同时对收看广告的用户来说过于密集的广告会降低用户体验。When one or more advertisements corresponding to the user needs to play have been recorded in the carousel table, it may appear that the logos are not evenly distributed in the carousel table, as in the carousel table shown in Table 2, the former There are more tokens in a few rows, and less tokens in later rows. As a result, when the advertisements are played according to the carousel table, the advertisements played in the first few times of the advertisement rotation will be relatively dense, and then when the advertisements are rotated several times, there will be more time gaps, and there will be no advertisements. delivery. On the one hand, this affects the efficiency of advertisement placement, and at the same time, too dense advertisements for users watching advertisements will reduce user experience.
为了避免上述问题,在本发明实施例中,当在轮播表中已经记录有对应用户需要播放的一个或多个广告的标识后,可以按预设调整规则,对轮播表中所记录的标识的位置进行调整,从而使得轮播表中记录的标识较为均匀。In order to avoid the above-mentioned problems, in the embodiment of the present invention, after the identification of one or more advertisements corresponding to the user needs to be played has been recorded in the carousel table, the preset adjustment rules can be used to adjust the advertisements recorded in the carousel table. The positions of the logos are adjusted so that the logos recorded in the carousel table are relatively uniform.
预设调整规则可以有很多方式,例如,可以将标识数目较多的一行中的标识,转移至标识数目较少的一行中。还可以调整轮播表中行的排列顺序,使标识数目较多的行与标识数目较少的行交替排列。还可以将含有某个预设标识的行,按一定规则进行排列,如将含有预设标识的行,调整至轮播表中的奇数行或偶数行,使实现含有预设标识的行,在轮播表中交替排列,从而使得轮播表中的各个趋于更加均匀,其中,预设标识可以是轮播表中的一个或多个标识中的任意一个。There are many ways to preset the adjustment rule. For example, the tokens in a row with a large number of tokens may be transferred to a row with a small number of tokens. It is also possible to adjust the arrangement order of the rows in the carousel table so that the rows with a large number of identifiers and the rows with a small number of identifiers are arranged alternately. It is also possible to arrange the rows containing a preset identifier according to certain rules, such as adjusting the rows containing a preset identifier to the odd or even rows in the carousel table, so that the row containing a preset identifier can be Alternately arranged in the carousel table, so that each of the carousel tables tends to be more uniform, wherein the preset identifier can be any one of one or more identifiers in the carousel table.
在本发明实施例中,在将用户需要播放的一个或多个广告的标识,记录在轮播表中的对应位置之后,按预设调整规则,对轮播表中记录的标识的位置,进行调整。从而使得轮播表中各行的标识趋于更加均匀的排列。避免了按轮播表进行广告的轮播时,广告播放不均匀的现象,提高了广告的投放效率,同时提高了收看广告的用户的收看体验。In the embodiment of the present invention, after recording the identification of one or more advertisements that the user needs to play in the corresponding position in the carousel table, according to the preset adjustment rules, the position of the identification recorded in the carousel table is adjusted. Adjustment. Therefore, the identifiers of the rows in the carousel table tend to be more evenly arranged. It avoids the phenomenon that advertisements are played unevenly when the advertisements are rotated according to the rotation table, improves the efficiency of advertisement delivery, and simultaneously improves the viewing experience of users who watch advertisements.
结合上述的步骤,可选的,在本发明实施例提供的广告轮播方法中,按预设调整规则,对轮播表中记录的标识的位置,进行调整,可以包括:In combination with the above steps, optionally, in the advertisement rotation method provided in the embodiment of the present invention, adjusting the position of the logo recorded in the rotation table according to preset adjustment rules may include:
第一步,统计轮播表每一行中的标识的数目。The first step is to count the number of identifiers in each row of the carousel table.
在将用户需要播放的一个或多个广告的标识,记录在轮播表中的对应位置之后,可以对轮播表中每一行中的标识的数目进行统计。从而获得轮播表每一行中的标识的具体数目。After the identifiers of one or more advertisements that the user needs to play are recorded in the corresponding positions in the carousel table, the number of identifiers in each row in the carousel table can be counted. Thus, the specific number of identifiers in each row of the carousel table is obtained.
第二步,当轮播表中第一行中的标识的数目与第二行中的标识的数目之差大于第一预设阈值时,将第一行中的一个或多个标识,转移至第二行中,第一行和第二行为轮播表中的任意一行。In the second step, when the difference between the number of identifiers in the first row and the number of identifiers in the second row in the carousel table is greater than the first preset threshold, one or more identifiers in the first row are transferred to In the second row, the first row and the second row are any row in the carousel table.
当获得了每一行中的标识的具体数目后,可以将轮播表中任意的第一行中的标识的数目和处第一行以外的,任意的第二行中的标识的数目进行比较,当第一行中的标识的数目大于第二行中的标识的数目,且超过的数量大于第一预设阈值时,则将第一行中的一个或多个标识,转移至第二行中,所转移的标识的数量可以根据第一行中的标识的数目超出第二行中的标识的数目的数量进行确定,例如第一行中的标识的数目比第二行中的标识的数目超出2个时,则将第一行中的标志转移一个至第二行中后,第一行和第二行中的标识的数据就会相同,从而使得标识在各种中的分布趋于均匀。其中第一预设阈值可以根据实际情况进行设定,例如,可以为2,3,4等正整数。After obtaining the specific number of identifiers in each row, the number of identifiers in any first row in the carousel table can be compared with the number of identifiers in any second row other than the first row, When the number of tokens in the first row is greater than the number of tokens in the second row, and the exceeded number is greater than the first preset threshold, one or more tokens in the first row are transferred to the second row , the number of tokens transferred can be determined according to the amount by which the number of tokens in the first row exceeds the number of tokens in the second row, for example, the number of tokens in the first row exceeds the number of tokens in the second row When there are 2, after transferring one of the marks in the first row to the second row, the data of the marks in the first row and the second row will be the same, so that the distribution of the marks in various types tends to be even. Wherein the first preset threshold can be set according to the actual situation, for example, it can be a positive integer such as 2, 3, 4, etc.
在本发明实施例的一种可能的实施方式中,可以对轮播表中首尾两行中的标识的数目两两进行比较,即轮播表中的正数第一行和倒数第一行进行比较,然后正数第二行和倒数第二行进行比较,以此类推。当轮播表的总行数为奇数时,则最后剩余的一行可以不进行比较。通过这种比较方式,可以避免轮播表中的每一行中的标识的数目与其他所有行中的标识的数目都进行一次比较,从而提高对轮播表进行调整的效率。In a possible implementation manner of the embodiment of the present invention, the number of identifiers in the first and last two rows in the carousel table can be compared in pairs, that is, the positive first row and the penultimate first row in the carousel table are compared. Compare, then compare the second-to-last row with the second-to-last row, and so on. When the total number of rows in the carousel table is odd, the last remaining row may not be compared. Through this comparison method, it is possible to avoid a comparison between the number of identifiers in each row in the carousel table and the numbers of identifiers in all other rows, thereby improving the efficiency of adjusting the carousel table.
在本发明实施例中,通过统计轮播表每一行中的标识的数目,再比较轮播表中两行的标识的数目之差是否大于第一预设阈值,在大于第一预设阈值时,将标识数目较多的一行中的标识转移至标识数目较少的一行中,从而更加准确的对轮播表中的标识进行均匀化的调整,进一步均衡了轮播表中各个行中标识的数目。In the embodiment of the present invention, by counting the number of logos in each row of the carousel table, and then comparing whether the difference between the number of logos in the two rows in the carousel table is greater than the first preset threshold, if it is greater than the first preset threshold , transfer the identifiers in a row with a large number of identifiers to a row with a small number of identifiers, so that the identifiers in the carousel table can be evenly adjusted more accurately, and the identifiers in each row in the carousel table can be further balanced. number.
可选的,在本发明实施例提供的广告轮播方法中,根据上述的步骤,将第一行中的一个或多个标识,转移至第二行中时,该步骤可以包括:Optionally, in the advertisement rotation method provided by the embodiment of the present invention, according to the above steps, when one or more identifiers in the first row are transferred to the second row, this step may include:
当在同一列中,第一行存在标识,且第二行不存在标识时,将该列中第一行的标识,转移至该列的第二行中。When there is an identifier in the first row and no identifier in the second row in the same column, the identifier in the first row in the column is transferred to the second row in the column.
在轮播表中,每一列可以代表一个时间片,轮播表中的标识所在的列是由广告订单信息中的用户所该买的时间片的序号所决定的。所以将第一行中的一个或多个标识,转移至第二行中时,不能够将第一行中的标识所在的列的位置进行移动。In the carousel table, each column can represent a time slice, and the column where the identifier in the carousel table is located is determined by the serial number of the time slice that the user should buy in the insertion order information. Therefore, when transferring one or more marks in the first row to the second row, the position of the column where the marks in the first row are located cannot be moved.
所以将第一行中的一个或多个标识,转移至第二行中时,需要在同一列中进行转移。在转移之前需要判断第一行中待转移的标识所在的列中,第二行是否存在标识。当第二行在该列中不存在标识时,再将该列中第一行的标识,转移至该列的第二行中。当第二行在该列中存在标识时,则不能进行标识的转移。可以在第一行中再确定其他列的待转移的标识,并再次进行判断。Therefore, when one or more symbols in the first row are transferred to the second row, they need to be transferred in the same column. Before the transfer, it is necessary to judge whether there is an identifier in the second row in the column where the identifier to be transferred in the first row is located. When the second row does not have an identifier in the column, the identifier in the first row in the column is transferred to the second row in the column. When the second row has an identifier in this column, the identifier cannot be transferred. The identifiers to be transferred in other columns may be determined in the first row and judged again.
在本发明实施例中,通过判断第一行中待转移的标识所在的列中,第二行是否存在标识,并且当第二行在该列中不存在标识时,再将该列中第一行的标识,转移至该列的第二行中。保证了待转移的标识所对应的广告在用户所购买的时间片内进行播放的同时,使得轮播表中标识的分布更加均匀。In the embodiment of the present invention, by judging whether there is an identifier in the second row in the column where the identifier to be transferred in the first row is located, and when there is no identifier in the column in the second row, then the first Row ID, transferred to the second row of this column. It ensures that the advertisement corresponding to the identifier to be transferred is played within the time slice purchased by the user, and at the same time makes the distribution of the identifiers in the carousel table more uniform.
在按预设调整规则,在对轮播表中记录的标识的位置进行调整时,除了可以使用上述的方式进行调整以外,还可以使用另外的方式进行调整,当然也可以将多种调整方式结合在一起,对轮播表中记录的标识的位置进行调整。According to the preset adjustment rules, when adjusting the position of the logo recorded in the carousel table, in addition to the above-mentioned methods, other methods can be used for adjustment, and of course, multiple adjustment methods can be combined Together, make adjustments to the positions of the logos recorded in the carousel.
可选的,在本发明实施例提供的广告轮播方法中,按预设调整规则,对轮播表中记录的标识的位置,进行调整,可以包括:Optionally, in the advertisement rotation method provided in the embodiment of the present invention, adjusting the position of the logo recorded in the rotation table according to preset adjustment rules may include:
第一步,逐列的对轮播表中的标识进行检测。The first step is to detect the identifiers in the carousel table column by column.
按预设调整规则,对轮播表中记录的标识的位置进行调整时,可以逐列的对轮播表中每一列的标识进行检测。逐列可以是从轮播表的左侧第一列开始,向右逐列的进行检测,也可以按其他的顺序进行检测,在此不做限定。According to the preset adjustment rule, when the positions of the marks recorded in the carousel table are adjusted, the marks of each column in the carousel table may be detected column by column. The column-by-column detection may start from the first column on the left of the carousel table and proceed column-by-column to the right, or may be detected in other order, which is not limited here.
对轮播表中的列进行检测,可以统计出轮播表的一列中不同标识的各自的数目。By detecting the columns in the carousel table, the respective numbers of different identifiers in a column of the carousel table can be counted.
第二步,当确定出轮播表中的一个列中,第一标识的数目大于或等于第二预设阈值时,停止检测,并将轮播表中所有含有第一标识的行,按预设排序规则进行排序,第一标识为用户需要播放的一个或多个广告的标识中的任意一个标识。In the second step, when it is determined that in a column in the carousel table, the number of the first logo is greater than or equal to the second preset threshold, the detection is stopped, and all rows containing the first logo in the carousel table are calculated according to the predetermined A sorting rule is set for sorting, and the first identifier is any one of the identifiers of one or more advertisements that the user needs to play.
逐列的对轮播表中的列进行检测,当检测到轮播表的一列中的第一标识的数目大于或等于第二预设阈值时,就可以不再继续检测其他的列。其中第一标识可以是用户需要播放的一个或多个广告的标识中的任意一个标识,即对轮播表中的列逐列的进行检测,当发现一个列中存在数目大于或等于第二预设阈值的任意标识时,可以停止对其他的列的检测,该标识就可以作为第一标识。其中第二预设阈值可以根据需要进行设置,在实际应用中,可以优选的将轮播表中的总行数的一半取整后的数值作为第二预设阈值,例如总行数为6时,第二预设阈值可以为3。The columns in the carousel table are detected column by column, and when it is detected that the number of first identifiers in a column of the carousel table is greater than or equal to the second preset threshold, other columns may not be detected further. The first identifier can be any one of the identifiers of one or more advertisements that the user needs to play, that is, the columns in the carousel table are detected column by column. When any flag of the threshold is set, the detection of other columns can be stopped, and this flag can be used as the first flag. Wherein the second preset threshold can be set as required. In practical applications, the value after rounding half of the total number of rows in the carousel table can be preferably used as the second preset threshold. For example, when the total number of rows is 6, the first The second preset threshold may be 3.
停止检测后,将轮播表中所有含有第一标识的行,按预设排序规则重新进行排序,预设排序规则可以是将含有第一标识的行都调整至轮播表的奇数行或者偶数行,也可以是将含有第一标识的行都调整至预设的不相邻的行中。相应的,轮播表中原来奇数行中的After the detection is stopped, reorder all the rows containing the first logo in the carousel table according to the preset sorting rule. The preset sorting rule can be to adjust all the rows containing the first logo to the odd or even numbered rows of the carousel table rows, or all the rows containing the first identifier are adjusted to preset non-adjacent rows. Correspondingly, the original odd-numbered rows in the carousel table
例如,如表2所示的轮播表中,第二预设阈值为3,从轮播表的左侧开始逐列的进行检测。当检测轮播表的左侧第一列时,标识A的数量为3,等于第二预设阈值,所以停止对其他列进行检测。For example, in the carousel table shown in Table 2, the second preset threshold is 3, and detection is performed column by column from the left side of the carousel table. When detecting the first column on the left of the carousel table, the number of identifiers A is 3, which is equal to the second preset threshold, so the detection of other columns is stopped.
轮播表中的第1行,第2行,第3行中都包含有标识A,从而可以将轮播表中的第1行,第2行,第3行根据预设排序规则,调整至轮播表中的奇数行,因为第1行,第3行已经位于奇数行,所以只需经第2行与第5行进行交换,就可以满足预设排序规则。调整后的轮播表如表3所示。Row 1, Row 2 and Row 3 in the carousel table all contain the identifier A, so that Row 1, Row 2 and Row 3 in the carousel table can be adjusted to For the odd-numbered rows in the carousel table, because row 1 and row 3 are already in odd-numbered rows, it only needs to exchange row 2 and row 5 to satisfy the preset sorting rules. The adjusted carousel table is shown in Table 3.
表3table 3
从表3中可以看出,相较于表2所示的轮播表,表3所示的轮播表中的各个标识分布的更加均匀,使得含有相同标识的行不连续出现。进一步使得轮播表中标识的分布更加均匀。提高观看广告的用户在观看广告时的用户体验。It can be seen from Table 3 that, compared with the carousel table shown in Table 2, the identifiers in the carousel table shown in Table 3 are more evenly distributed, so that rows containing the same identifier appear discontinuously. Further, the distribution of identifiers in the carousel table is more uniform. Improve the user experience of the user viewing the ad while viewing the ad.
参见图2,图2为本发明实施例提供的广告轮播方法的另一种流程图,包括:Referring to FIG. 2, FIG. 2 is another flow chart of an advertisement rotation method provided by an embodiment of the present invention, including:
步骤201,获取轮播信息和广告订单信息。Step 201, obtaining rotation information and insertion order information.
步骤202,根据广告订单信息,将需要播放的广告的标识记录在轮播表中。Step 202, according to the information of the insertion order, record the identification of the advertisement to be played in the rotation table.
获取了轮播信息和广告订单信息后,就可以根据轮播信息确定出轮播表的行数和列数,在根据广告订单信息中的内容,可以将需要播放的广告的标识记录在轮播表对应的位置中。After obtaining the carousel information and insertion order information, the number of rows and columns of the carousel table can be determined according to the carousel information, and the identifier of the advertisement to be played can be recorded in the carousel table according to the contents of the insertion order information. corresponding to the table.
步骤203,判断是否满足第一优化策略的执行条件。Step 203, judging whether the execution condition of the first optimization strategy is satisfied.
第一优化策略为将标识的数目较多的第一行中的一个或多个标识,转移至标识的数目较少的第二行中,第一行和第二行为轮播表中的任意一行。The first optimization strategy is to transfer one or more identifiers in the first row with a large number of identifiers to the second row with a small number of identifiers, and the first row and the second row are any row in the carousel table .
但按第一优化策略对轮播表进行均匀化的优化之前,需要首先进行判断所建立的轮播表中的行是否满足第一优化策略的执行条件。执行条件可以包括两部分,第一部分,第一行中的标识的数目与第二行中的标识的数目之差大于第一预设阈值;第二部分,第一行中待转移的标识所在的列中,第二行不存在标识。当同时满足上述两部分时,则认为满足了第一优化策略的执行条件。当轮播表中没有能够满足第一优化策略的执行条件的行时,则无法按第一优化策略对轮播表进行均匀化的优化。However, before performing uniform optimization on the carousel table according to the first optimization strategy, it is first necessary to judge whether the rows in the established carousel table meet the execution conditions of the first optimization strategy. The execution condition may include two parts. The first part is that the difference between the number of tags in the first row and the number of tags in the second row is greater than the first preset threshold; the second part is where the tag to be transferred in the first row is located. column, there is no identifier in the second row. When the above two parts are satisfied at the same time, it is considered that the execution condition of the first optimization strategy is satisfied. When there is no row in the carousel table that can satisfy the execution condition of the first optimization strategy, the carousel table cannot be uniformly optimized according to the first optimization strategy.
步骤204,按第一优化策略对轮播表进行优化。Step 204, optimize the carousel table according to the first optimization strategy.
当满足轮播表满足第一优化策略的执行条件时,按第一优化策略对轮播表进行优化。将标识的数目较多的第一行中的一个或多个待转移标识,转移至标识的数目较少的第二行中。When the carousel table satisfies the execution condition of the first optimization strategy, the carousel table is optimized according to the first optimization strategy. Transfer one or more tokens to be transferred in the first row with a large number of tokens to the second row with a small number of tokens.
步骤205,按第二优化策略对轮播表进行优化。Step 205, optimize the carousel table according to the second optimization strategy.
当不满足轮播表满足第一优化策略的执行条件时,可以直接按第二优化策略对轮播表进行优化。当完成了按第一优化策略对轮播表进行优化后,也继续按第二优化策略对轮播表进行优化。When the carousel table does not meet the execution conditions of the first optimization strategy, the carousel table can be directly optimized according to the second optimization strategy. After completing the optimization of the carousel table according to the first optimization strategy, the optimization of the carousel table is continued according to the second optimization strategy.
第二优化策略为逐列的对轮播表中的标识进行检测,当确定出轮播表中的一个列中,第一标识的数目大于或等于第二预设阈值时,停止检测,并将轮播表中所有含有第一标识的行,按预设排序规则进行排序,第一标识为用户需要播放的一个或多个广告的标识中的任意一个标识。The second optimization strategy is to detect the logos in the carousel table column by column. When it is determined that in a column in the carousel table, the number of the first logo is greater than or equal to the second preset threshold, the detection is stopped, and the All rows containing the first identifier in the carousel table are sorted according to a preset sorting rule, and the first identifier is any one of the identifiers of one or more advertisements that the user needs to play.
步骤206,按轮播表,播放标识所对应的广告。Step 206: Play the advertisement corresponding to the identifier according to the carousel table.
对轮播表进行了优化后,就可以按轮播表中标识的顺序,播放标识所对应的广告。After the carousel table is optimized, the advertisements corresponding to the logos can be played in the order of the logos in the carousel table.
可以根据观看广告的用户观看次数,按轮播表中与收看次数相对应的行中标识的顺序,播放标识所对应的广告。从而可以实现对同一个广告位,轮播不同的广告。The advertisements corresponding to the identifiers may be played according to the order of the identifiers in the rows corresponding to the viewing times in the carousel table according to the viewing times of the users who watched the advertisements. In this way, it is possible to rotate different advertisements for the same advertisement position.
参见图3,图3为本发明实施例提供的广告轮播装置的结构图,包括:Referring to Fig. 3, Fig. 3 is a structural diagram of an advertisement carousel device provided by an embodiment of the present invention, including:
获取模块301,用于获取轮播信息和广告订单信息,所述轮播信息包括在一个广告位内预设的一个或多个时间片的个数和所述预设的一个或多个时间片内的轮播数目,所述时间片为用于播放广告的时间段,所述广告订单信息包括用户已经购买的一个或多个时间片的序号,以及所述用户已经购买的一个或多个时间片内的轮播数目;An acquisition module 301, configured to acquire rotation information and insertion order information, the rotation information including the number of one or more preset time slices in one advertising space and the preset one or more time slices The time slot is the time period for playing advertisements, and the advertisement order information includes the sequence number of one or more time slots that the user has purchased, and one or more time slots that the user has purchased The number of carousels within the slice;
计算模块301,用于根据所述轮播信息中的所述预设的一个或多个时间片的个数和所述预设的一个或多个时间片内的轮播数目,确定轮播表的行数和列数;Calculation module 301, configured to determine a carousel table according to the number of the preset one or more time slots in the carousel information and the number of carousels in the preset one or more time slots the number of rows and columns;
记录模块303,用于根据所述广告订单信息中的所述用户已经购买的一个或多个时间片的序号,以及所述用户已经购买的一个或多个时间片内的轮播数目,将所述用户需要播放的一个或多个广告的标识,记录在所述轮播表中的对应位置;The recording module 303 is configured to, according to the sequence numbers of one or more time slices that the user has purchased in the insertion order information, and the number of rotations in the one or more time slices that the user has purchased, record the The identifiers of one or more advertisements that the user needs to play are recorded in the corresponding positions in the carousel table;
播放模块304,用于按所述轮播表,播放所述标识所对应的广告。The playing module 304 is configured to play the advertisement corresponding to the identification according to the carousel.
在本发明实施例中,通过轮播信息和广告订单信息,构建起用于含有用户需要播放一个或多个广告的标识的轮播表,轮播表中可以反映出用户所购买的时间片和轮播数。根据该轮播表中的标识的顺序,在一个广告位中播放标识所对应的广告,实现了在同一个广告位中,实现不同广告的轮播,从而使得用户能够只购买一个时间段内的部分流量,降低了广告投放成本,有利于广告位资源的充分利用,并且提高了收看广告的用户的体验,提高广告投放效果。In the embodiment of the present invention, a carousel table containing the identification of one or more advertisements that the user needs to play is constructed through the carousel information and the advertisement order information, and the time slice and the carousel purchased by the user can be reflected in the carousel table. broadcast number. According to the order of the logos in the carousel table, the advertisement corresponding to the logo is played in an advertisement space, realizing the rotation of different advertisements in the same advertisement space, so that the user can only purchase the advertisements within a time period Partial traffic reduces the cost of advertising, is conducive to the full use of advertising space resources, and improves the experience of users who watch advertisements, improving the effectiveness of advertising.
可选的,在本发明实施例提供的广告轮播装置中,所述计算模块301,包括:Optionally, in the advertisement carousel device provided in the embodiment of the present invention, the calculation module 301 includes:
第一计算子模块,用于将所述轮播信息中的所述预设的一个或多个时间片的个数作为轮播表的列数;The first calculation submodule is used to use the preset number of one or more time slices in the carousel information as the number of columns in the carousel table;
第二计算子模块,用于将所述轮播信息中的所述预设的一个或多个时间片内的轮播数目的最小公倍数,作为所述轮播表的行数。The second calculation submodule is configured to use the least common multiple of the number of carousels in the preset one or more time slices in the carousel information as the number of rows in the carousel table.
可选的,在本发明实施例提供的广告轮播装置中,所述播放模块304,包括:Optionally, in the advertising carousel device provided in the embodiment of the present invention, the playing module 304 includes:
记录子模块,用于记录收看广告的用户收看所述广告位中广告的收看次数;A recording sub-module is used to record the viewing times of the advertisement in the advertisement slot by the user watching the advertisement;
播放子模块,用于根据所述收看次数,按所述轮播表中与所述收看次数相对应的行中所述标识的顺序,播放所述标识所对应的广告。The playing sub-module is used to play the advertisement corresponding to the identifier according to the viewing times and according to the order of the identifiers in the row corresponding to the viewing times in the carousel table.
可选的,在本发明实施例提供的广告轮播装置中,所述装置中的广告订单信息中还包括所述用户需要播放广告的广告类型和广告播放时长;Optionally, in the advertising carousel device provided in the embodiment of the present invention, the advertising order information in the device also includes the type of advertisement that the user needs to play and the playing time of the advertisement;
相应的,所述记录模块303,具体用于按预设记录规则,根据所述广告订单信息中的所述用户已经购买的一个或多个时间片的序号,所述用户已经购买的一个或多个时间片内的轮播数目,所述用户需要播放广告的广告类型和广告播放时长,将所述用户需要播放的一个或多个广告的标识,记录在所述轮播表中的对应位置。Correspondingly, the recording module 303 is specifically configured to, according to preset recording rules, according to the sequence numbers of one or more time slices that the user has purchased in the insertion order information, one or more time slots that the user has purchased The number of carousels in a time slice, the type of advertisement that the user needs to play and the duration of the advertisement, and the identifiers of one or more advertisements that the user needs to play are recorded in the corresponding positions in the carousel table.
可选的,在本发明实施例提供的广告轮播装置中,所述装置还包括:Optionally, in the advertising carousel device provided in the embodiment of the present invention, the device further includes:
调整模块,用于按预设调整规则,对所述轮播表中记录的所述标识的位置,进行调整。An adjustment module, configured to adjust the position of the marker recorded in the carousel table according to a preset adjustment rule.
可选的,在本发明实施例提供的广告轮播装置中,所述调整模块,包括:Optionally, in the advertisement rotation device provided in the embodiment of the present invention, the adjustment module includes:
第一统计子模块,用于统计所述轮播表每一行中的所述标识的数目;The first statistical submodule is used to count the number of the identifiers in each row of the carousel table;
第一调整子模块,用于当所述轮播表中第一行中的所述标识的数目与第二行中的所述标识的数目之差大于第一预设阈值时,将所述第一行中的一个或多个标识,转移至所述第二行中,所述第一行和所述第二行为所述轮播表中的任意一行。The first adjustment submodule is configured to: when the difference between the number of the identifiers in the first row and the number of the identifiers in the second row in the carousel table is greater than a first preset threshold, the second One or more identifiers in one row are transferred to the second row, and the first row and the second row are any row in the carousel table.
可选的,在本发明实施例提供的广告轮播装置中,所述第一调整子模块,具体用于当在同一列中,所述第一行存在标识,且所述第二行不存在标识时,将该列中所述第一行的标识,转移至该列的所述第二行中。Optionally, in the advertising carousel device provided in the embodiment of the present invention, the first adjustment submodule is specifically configured to: when in the same column, the first row has an identifier, and the second row does not exist When identifying, the identification of the first row in the column is transferred to the second row in the column.
可选的,在本发明实施例提供的广告轮播装置中,所述调整模块,包括:Optionally, in the advertisement rotation device provided in the embodiment of the present invention, the adjustment module includes:
第二统计子模块,用于逐列的对所述轮播表中的所述标识进行检测;The second statistical submodule is used to detect the identifier in the carousel table column by column;
第二调整子模块,用于当确定出所述轮播表中的一个列中,第一标识的数目大于或等于第二预设阈值时,停止检测,并将所述轮播表中所有含有所述第一标识的行,按预设排序规则进行排序,所述第一标识为所述用户需要播放的一个或多个广告的标识中的任意一个标识。The second adjustment submodule is used to stop the detection when it is determined that in a column in the carousel table, the number of the first identifier is greater than or equal to the second preset threshold, and store all the elements in the carousel table The row of the first identifier is sorted according to a preset sorting rule, and the first identifier is any one of the identifiers of one or more advertisements that the user needs to play.
本发明实施例的装置是应用上述广告轮播方法的装置,则上述广告轮播方法的所有实施例均适用于该装置,且均能达到相同或相似的有益效果。The device of the embodiment of the present invention is a device applying the above-mentioned advertising rotation method, and all the embodiments of the above-mentioned advertising rotation method are applicable to the device, and can achieve the same or similar beneficial effects.
对于装置实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is a relationship between these entities or operations. any such actual relationship or order exists between them. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.
本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a related manner, the same and similar parts of each embodiment can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for relevant parts, refer to part of the description of the method embodiment.
以上所述仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本发明的保护范围内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present invention are included in the protection scope of the present invention.
Claims (16)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710208838.3A CN107133814A (en) | 2017-03-31 | 2017-03-31 | A kind of advertisement carousel method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710208838.3A CN107133814A (en) | 2017-03-31 | 2017-03-31 | A kind of advertisement carousel method and device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN107133814A true CN107133814A (en) | 2017-09-05 |
Family
ID=59715367
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710208838.3A Pending CN107133814A (en) | 2017-03-31 | 2017-03-31 | A kind of advertisement carousel method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107133814A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108898416A (en) * | 2018-05-30 | 2018-11-27 | 百度在线网络技术(北京)有限公司 | Method and apparatus for generating information |
| CN110278071A (en) * | 2019-05-10 | 2019-09-24 | 众安信息技术服务有限公司 | A kind of method and system based on block chain technical identification advertisement broadcast information |
| CN112423078A (en) * | 2020-10-28 | 2021-02-26 | 卡莱特(深圳)云科技有限公司 | Advertisement playing method and device applied to LED display screen |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20080243601A1 (en) * | 2007-03-27 | 2008-10-02 | Google Inc. | Advertisement inventory processing |
| CN101447882A (en) * | 2009-01-06 | 2009-06-03 | 腾讯科技(深圳)有限公司 | Method and device for playing advertisement |
| CN101742274A (en) * | 2009-12-04 | 2010-06-16 | 苏州昂信科技有限公司 | Video dispatching method for launching streaming media advertisement |
| CN104751351A (en) * | 2015-03-13 | 2015-07-01 | 合一信息技术(北京)有限公司 | Method for controlling carousel advertisements |
| CN105678574A (en) * | 2015-12-31 | 2016-06-15 | 合一网络技术(北京)有限公司 | Advertisement alternative playing method and system |
| CN106385606A (en) * | 2016-09-14 | 2017-02-08 | 乐视控股(北京)有限公司 | Advertisement putting method and device |
-
2017
- 2017-03-31 CN CN201710208838.3A patent/CN107133814A/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20080243601A1 (en) * | 2007-03-27 | 2008-10-02 | Google Inc. | Advertisement inventory processing |
| CN101447882A (en) * | 2009-01-06 | 2009-06-03 | 腾讯科技(深圳)有限公司 | Method and device for playing advertisement |
| CN101742274A (en) * | 2009-12-04 | 2010-06-16 | 苏州昂信科技有限公司 | Video dispatching method for launching streaming media advertisement |
| CN104751351A (en) * | 2015-03-13 | 2015-07-01 | 合一信息技术(北京)有限公司 | Method for controlling carousel advertisements |
| CN105678574A (en) * | 2015-12-31 | 2016-06-15 | 合一网络技术(北京)有限公司 | Advertisement alternative playing method and system |
| CN106385606A (en) * | 2016-09-14 | 2017-02-08 | 乐视控股(北京)有限公司 | Advertisement putting method and device |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108898416A (en) * | 2018-05-30 | 2018-11-27 | 百度在线网络技术(北京)有限公司 | Method and apparatus for generating information |
| CN110278071A (en) * | 2019-05-10 | 2019-09-24 | 众安信息技术服务有限公司 | A kind of method and system based on block chain technical identification advertisement broadcast information |
| CN112423078A (en) * | 2020-10-28 | 2021-02-26 | 卡莱特(深圳)云科技有限公司 | Advertisement playing method and device applied to LED display screen |
| CN112423078B (en) * | 2020-10-28 | 2022-08-30 | 卡莱特云科技股份有限公司 | Advertisement playing method and device applied to LED display screen |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106547767B (en) | Method and device for determining video cover picture | |
| CN107590689A (en) | A kind of ad data recommends method and system | |
| CN106649316A (en) | Video pushing method and device | |
| US20120323675A1 (en) | Methods and apparatus to measure comparative performance of internet and television ad campaigns | |
| CN105894313A (en) | Methods And Apparatus To Associate Transactions With Media Impressions | |
| CN106384254A (en) | Advertisement display method and device | |
| CN109034886A (en) | A kind of marketing method launched based on advertisement | |
| CN110278466A (en) | Put-on method, device and the equipment of short video ads | |
| CN107820105A (en) | Method and device for providing data object information | |
| CN107133814A (en) | A kind of advertisement carousel method and device | |
| CN104599156B (en) | Method and device for embedding advertisement into video | |
| CN104462339B (en) | The method for pushing and device of multimedia file | |
| CN108764978B (en) | Advertisement putting method and device | |
| WO2015154571A1 (en) | Information pushing method and apparatus for iptv television shopping | |
| CN107766446A (en) | Method for pushing, device, storage medium and the processor of information | |
| CN106447472A (en) | Buying behavior-based recommendation method and device | |
| Hand | Do arts audiences act like consumers? | |
| CN103747299B (en) | The method and system of the random carousel of information | |
| US20240394752A1 (en) | Method and system for multi-channel campaign management | |
| CN107786903A (en) | video interactive method and device | |
| CN104954874B (en) | multimedia data playing method and device | |
| CN104954826A (en) | Generating method and apparatus of multi-media file | |
| CN115034806B (en) | Advertisement delivery method, device, storage medium, and electronic device | |
| CN104601670A (en) | Method and device for verifying interested object of user | |
| KR102299587B1 (en) | Web drama linked indirect advertisement provision system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170905 |
|
| RJ01 | Rejection of invention patent application after publication |