CN106954087B - method and device for recommending advertisement short films and video programs in mixed mode - Google Patents
method and device for recommending advertisement short films and video programs in mixed mode Download PDFInfo
- Publication number
- CN106954087B CN106954087B CN201710168875.6A CN201710168875A CN106954087B CN 106954087 B CN106954087 B CN 106954087B CN 201710168875 A CN201710168875 A CN 201710168875A CN 106954087 B CN106954087 B CN 106954087B
- Authority
- CN
- China
- Prior art keywords
- vector
- user
- similarity
- video
- video program
- 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.)
- Expired - Fee Related
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/266—Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
- H04N21/2668—Creating a channel for a dedicated end-user group, e.g. insertion of targeted commercials based on end-user profiles
-
- 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/0251—Targeted advertisements
- G06Q30/0269—Targeted advertisements based on user profile or attribute
- G06Q30/0271—Personalized advertisement
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/251—Learning process for intelligent management, e.g. learning user preferences for recommending movies
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/258—Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
- H04N21/25866—Management of end-user data
- H04N21/25891—Management of end-user data being end-user preferences
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
- H04N21/26208—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
- H04N21/26241—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints involving the time of distribution, e.g. the best time of the day for inserting an advertisement or airing a children programme
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/81—Monomedia components thereof
- H04N21/812—Monomedia components thereof involving advertisement data
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Business, Economics & Management (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Marketing (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- Strategic Management (AREA)
- Finance (AREA)
- Game Theory and Decision Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Economics (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Graphics (AREA)
- Computing Systems (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
技术领域technical field
本发明涉及广告投放领域,具体而言,涉及一种广告短片与视频节目混合推荐方法及装置。The invention relates to the field of advertisement delivery, in particular to a method and device for recommending a mixture of advertisement clips and video programs.
背景技术Background technique
现有的广告短片基本是基于在视频节目的播放过程中通过贴片插入广告的形式来做广告投放。这种投放形式(比如,前插、中插广告等)比较单一,并导致用户在观看视频节目的过程中受到广告的骚扰,影响用户的视频节目观看体验。Existing short commercials are basically based on inserting advertisements through pre-rolls during the playing of video programs. This form of delivery (for example, pre-insert, mid-insert advertisements, etc.) is relatively simple, and causes users to be harassed by advertisements in the process of watching video programs, which affects the user's viewing experience of video programs.
发明内容Contents of the invention
有鉴于此,本发明提供一种广告短片与视频节目混合推荐方法及装置,其能够将广告短片与视频节目同等对待,根据用户对广告短片及视频节目的兴趣程度生成广告短片与视频节目混合推荐列表,从而提升用户体验。In view of this, the present invention provides a mixed recommendation method and device for short commercials and video programs, which can treat short commercials and video programs equally, and generate mixed recommendations for short commercials and video programs according to the user's interest in short commercials and video programs list to improve user experience.
本发明较佳实施例提供一种广告短片与视频节目混合推荐方法,应用于与用户终端通信连接的服务器,所述服务器包括一数据库,所述数据库存储有用于描述用户对广告短片兴趣程度的第一向量、用于描述对视频节目兴趣程度的第二向量,所述方法包括:A preferred embodiment of the present invention provides a method for recommending a mixture of advertising clips and video programs, which is applied to a server connected to a user terminal through communication. A vector, a second vector used to describe the degree of interest in the video program, said method comprising:
获取所述第一向量及第二向量;obtaining the first vector and the second vector;
从所述第一向量及第二向量中分别选择满足预设条件的向量元素,对选择的向量元素进行处理以构成混合推荐向量;Selecting vector elements satisfying preset conditions from the first vector and the second vector respectively, and processing the selected vector elements to form a mixed recommendation vector;
根据所述混合推荐向量得到广告短片与视频节目混合推荐列表,以使所述用户终端基于所述混合推荐列表进行广告短片与视频节目的播放。A mixed recommendation list of commercial short films and video programs is obtained according to the mixed recommendation vectors, so that the user terminal plays commercial short films and video programs based on the mixed recommendation list.
本发明较佳实施例还提供一种广告短片与视频节目混合推荐装置,应用于与用户终端通信连接的服务器,所述服务器包括一数据库,所述数据库存储有用于描述用户对广告短片兴趣程度的第一向量、用于描述对视频节目兴趣程度的第二向量,所述装置包括:A preferred embodiment of the present invention also provides a device for recommending mixed advertisement clips and video programs, which is applied to a server communicatively connected to a user terminal. The server includes a database, and the database stores information used to describe the user's degree of interest in advertisement clips. The first vector, the second vector used to describe the degree of interest in the video program, the device includes:
获取模块,用于获取所述第一向量及第二向量;An acquisition module, configured to acquire the first vector and the second vector;
混合推荐向量模块,用于从所述第一向量及第二向量中分别选择满足预设条件的向量元素,对选择的向量元素进行处理以构成混合推荐向量;A mixed recommendation vector module, configured to select vector elements satisfying preset conditions from the first vector and the second vector, and process the selected vector elements to form a mixed recommendation vector;
推荐列表生成模块,用于根据所述混合推荐向量得到广告短片与视频节目混合推荐列表,以使所述用户终端基于所述混合推荐列表进行广告短片与视频节目的播放。The recommendation list generating module is configured to obtain a mixed recommendation list of commercial short films and video programs according to the mixed recommendation vector, so that the user terminal can play commercial short films and video programs based on the mixed recommendation list.
相对于现有技术而言,本发明具有以下有益效果:Compared with the prior art, the present invention has the following beneficial effects:
本发明提供一种广告短片与视频节目混合推荐方法及装置,应用于与用户终端通信连接的服务器。其中,所述服务器包括一存储有第一向量及第二向量的数据库。所述第一向量用于描述用户对广告短片的兴趣程度,所述第二向量用于描述用户对视频节目的兴趣程度。在获取的所述第一向量及第二向量中分别选择满足预设条件的向量元素,通过对选择的所述向量元素进行处理得到混合推荐向量,从而得到广告短片与视频节目混合推荐列表。由此,用户终端根据所述混合推荐列表进行广告短片与视频节目的播放,使用户在视频节目的观看过程中不会受到广告短片的打扰,从而提升用户体验。The present invention provides a method and device for recommending mixed advertisement clips and video programs, which are applied to a server communicating with a user terminal. Wherein, the server includes a database storing the first vector and the second vector. The first vector is used to describe the user's degree of interest in the advertisement clip, and the second vector is used to describe the user's degree of interest in the video program. Select vector elements satisfying preset conditions from the obtained first vector and second vector, and process the selected vector elements to obtain a mixed recommendation vector, so as to obtain a mixed recommendation list of advertisement clips and video programs. In this way, the user terminal plays the short commercial and the video program according to the mixed recommendation list, so that the user will not be disturbed by the short commercial while watching the video program, thereby improving user experience.
附图说明Description of drawings
为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本发明的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to illustrate the technical solutions of the embodiments of the present invention more clearly, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention, and thus It should be regarded as a limitation on the scope, and those skilled in the art can also obtain other related drawings based on these drawings without creative work.
图1为本发明较佳实施例提供的服务器与至少一用户终端的通信示意图。Fig. 1 is a schematic diagram of communication between a server and at least one user terminal provided by a preferred embodiment of the present invention.
图2为图1所示的服务器的方框示意图。FIG. 2 is a schematic block diagram of the server shown in FIG. 1 .
图3为本发明较佳实施例提供的广告短片与视频节目混合推荐方法的一种流程示意图。Fig. 3 is a schematic flow chart of a mixed recommendation method for commercial shorts and video programs provided by a preferred embodiment of the present invention.
图4为图3中步骤S130包括的子步骤的一种流程示意图。FIG. 4 is a schematic flowchart of the sub-steps included in step S130 in FIG. 3 .
图5为图4中子步骤S132包括的子步骤的一种流程示意图。FIG. 5 is a schematic flowchart of substeps included in substep S132 in FIG. 4 .
图6为本发明较佳实施例提供的得到混合推荐向量的示意图。Fig. 6 is a schematic diagram of obtaining a mixed recommendation vector provided by a preferred embodiment of the present invention.
图7为图3中步骤S140包括的子步骤的一种流程示意图。FIG. 7 is a schematic flowchart of the sub-steps included in step S140 in FIG. 3 .
图8为本发明较佳实施例提供的广告短片与视频节目混合推荐方法的另一种流程示意图。Fig. 8 is another schematic flow chart of a method for recommending a mixture of advertising clips and video programs provided by a preferred embodiment of the present invention.
图9为图8中步骤S110包括的部分子步骤的流程示意图。FIG. 9 is a schematic flowchart of some sub-steps included in step S110 in FIG. 8 .
图10为图8中步骤S110包括的另一部分子步骤的流程示意图。FIG. 10 is a schematic flowchart of another part of sub-steps included in step S110 in FIG. 8 .
图11为本发明较佳实施例提供的广告短片与视频节目混合推荐装置的一种方框示意图。Fig. 11 is a schematic block diagram of a device for recommending mixed advertisement clips and video programs according to a preferred embodiment of the present invention.
图12为本发明较佳实施例提供的广告短片与视频节目混合推荐装置的另一种方框示意图。Fig. 12 is another schematic block diagram of a device for recommending mixed advertisement clips and video programs according to a preferred embodiment of the present invention.
图标:100-服务器;110-存储器;112-数据库;120-存储控制器;130-处理器;200-用户终端;300-混合推荐装置;310-建立向量模块;320-获取模块;330-混合推荐向量模块;331-选择子模块;332-处理子模块;340-推荐列表生成模块。Icons: 100-server; 110-storage; 112-database; 120-storage controller; 130-processor; Recommendation vector module; 331-selection sub-module; 332-processing sub-module; 340-recommendation list generation module.
具体实施方式Detailed ways
下面将结合本发明实施例中附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本发明实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本发明的实施例的详细描述并非旨在限制要求保护的本发明的范围,而是仅仅表示本发明的选定实施例。基于本发明的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。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. The components of the embodiments of the invention generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations. Accordingly, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of the present invention.
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。同时,在本发明的描述中,术语“第一”、“第二”等仅用于区分描述,而不能理解为指示或暗示相对重要性。It should be noted that like numerals and letters denote similar items in the following figures, therefore, once an item is defined in one figure, it does not require further definition and explanation in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", etc. are only used to distinguish descriptions, and cannot be understood as indicating or implying relative importance.
请参照图1,图1是本发明较佳实施例提供的服务器100与至少一用户终端200的通信示意图。所述服务器100与所述用户终端200通过网络、接口等进行通信连接。其中,所述用户终端200可以是,但不限于,电视机、智能手机、平板电脑等。所述用户终端200向所述服务器100发送获取推荐列表的请求;所述服务器100接收所述请求,并向所述用户终端200发送广告短片与视频节目混合推荐列表。所述用户终端200接收并根据混合推荐列表进行广告短片与视频节目的播放,从而使用户可以观看完整的视频节目。Please refer to FIG. 1 , which is a schematic diagram of communication between a server 100 and at least one user terminal 200 provided by a preferred embodiment of the present invention. The server 100 communicates with the user terminal 200 through a network, an interface, and the like. Wherein, the user terminal 200 may be, but not limited to, a TV set, a smart phone, a tablet computer, and the like. The user terminal 200 sends a request to the server 100 for obtaining a recommendation list; the server 100 receives the request, and sends a mixed recommendation list of advertisement clips and video programs to the user terminal 200 . The user terminal 200 receives and plays the advertisement clip and video program according to the mixed recommendation list, so that the user can watch the complete video program.
请参照图2,图2是图1所示的服务器100的方框示意图。所述服务器100可以包括数据库112、混合推荐装置300、存储器110、存储控制器120及处理器130。Please refer to FIG. 2 , which is a schematic block diagram of the server 100 shown in FIG. 1 . The server 100 may include a database 112 , a hybrid recommendation device 300 , a storage 110 , a storage controller 120 and a processor 130 .
所述存储器110、存储控制器120及处理器130各元件之间直接或间接地电性连接,以实现数据的传输或交互。例如,这些元件相互之间可通过一条或多条通讯总线或信号线实现电性连接。存储器110中存储有数据库112及混合推荐装置300,所述混合推荐装置300包括至少一个可以软件或固件(firmware)的形式存储于所述存储器110中的软件功能模块。所述处理器130通过运行存储在存储器110内的软件程序以及模块,如本发明实施例中的混合推荐装置300,从而执行各种功能应用以及数据处理,即实现本发明实施例中的广告短片与视频节目混合推荐方法。The components of the memory 110 , the storage controller 120 and the processor 130 are directly or indirectly electrically connected to realize data transmission or interaction. For example, these components can be electrically connected to each other through one or more communication buses or signal lines. A database 112 and a hybrid recommendation device 300 are stored in the memory 110, and the hybrid recommendation device 300 includes at least one software function module that can be stored in the memory 110 in the form of software or firmware. The processor 130 executes various functional applications and data processing by running software programs and modules stored in the memory 110, such as the hybrid recommendation device 300 in the embodiment of the present invention, that is, realizes the advertising video in the embodiment of the present invention Hybrid recommendation method with video titles.
其中,所述存储器110可以是,但不限于,随机存取存储器(Random AccessMemory,RAM),只读存储器(Read Only Memory,ROM),可编程只读存储器(ProgrammableRead-Only Memory,PROM),可擦除只读存储器(Erasable Programmable Read-OnlyMemory,EPROM),电可擦除只读存储器(Electric Erasable Programmable Read-OnlyMemory,EEPROM)等。其中,存储器110用于存储程序,所述处理器130在接收到执行指令后,执行所述程序。所述处理器130以及其他可能的组件对存储器110的访问可在所述存储控制器120的控制下进行。Wherein, the memory 110 may be, but not limited to, random access memory (Random Access Memory, RAM), read-only memory (Read Only Memory, ROM), programmable read-only memory (Programmable Read-Only Memory, PROM), which can Erasable Programmable Read-Only Memory (EPROM), Electric Erasable Programmable Read-Only Memory (EEPROM), etc. Wherein, the memory 110 is used to store a program, and the processor 130 executes the program after receiving an execution instruction. The access of the processor 130 and possibly other components to the memory 110 may be performed under the control of the memory controller 120 .
所述处理器130可能是一种集成电路芯片,具有信号的处理能力。上述的处理器130可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等。还可以是数字信号处理器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 130 may be an integrated circuit chip and has a signal processing capability. The aforementioned processor 130 may be a general processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), and the like. It can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components. Various methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, and the like.
可以理解,图2所示的结构仅为示意,服务器100还可包括比图2中所示更多或者更少的组件,或者具有与图2所示不同的配置。图2中所示的各组件可以采用硬件、软件或其组合实现。It can be understood that the structure shown in FIG. 2 is only for illustration, and the server 100 may also include more or less components than those shown in FIG. 2 , or have a configuration different from that shown in FIG. 2 . Each component shown in Fig. 2 may be implemented by hardware, software or a combination thereof.
请参照图3,图3是本发明较佳实施例提供的广告短片与视频节目混合推荐方法的一种流程示意图。所述方法应用于与用户终端200通信连接的服务器100。所述服务器100包括一数据库112,所述数据库112存储有用于描述用户对广告短片兴趣程度的第一向量、用于描述对视频节目兴趣程度的第二向量。图3中的流程可以由所述处理器130实现。下面对广告短片与视频节目混合推荐方法的具体流程进行详细阐述。Please refer to FIG. 3 . FIG. 3 is a schematic flow chart of a method for recommending a mixture of advertising clips and video programs provided by a preferred embodiment of the present invention. The method is applied to a server 100 communicatively connected to a user terminal 200 . The server 100 includes a database 112, and the database 112 stores a first vector used to describe the user's degree of interest in the advertisement clip and a second vector used to describe the user's degree of interest in the video program. The process in FIG. 3 may be implemented by the processor 130 . The specific process of the mixed recommendation method for advertising clips and video programs will be described in detail below.
步骤S120,获取所述第一向量及第二向量。Step S120, acquiring the first vector and the second vector.
在本实施例中,所述数据库112中存储有多个用户终端200的信息。针对其中一用户终端200时,提取所述用户终端200对应的信息。其中,所述信息包括第一向量及第二向量。所述第一向量包括至少一个广告短片及每个广告短片与使用该用户终端200的用户之间的相似度。所述第二向量包括至少一个视频节目及每个视频节目与使用该用户终端200的用户之间的相似度。通过所述相似度可以得到用户对广告短片或视频节目的兴趣程度,一般地,相似度越高表明用户越感兴趣。In this embodiment, the database 112 stores information of multiple user terminals 200 . For one of the user terminals 200, information corresponding to the user terminal 200 is extracted. Wherein, the information includes the first vector and the second vector. The first vector includes at least one advertisement clip and the similarity between each advertisement clip and the user using the user terminal 200 . The second vector includes at least one video program and the similarity between each video program and the user using the user terminal 200 . The user's degree of interest in the advertisement clip or video program can be obtained through the similarity. Generally, the higher the similarity, the more interested the user is.
步骤S130,从所述第一向量及第二向量中分别选择满足预设条件的向量元素,对选择的向量元素进行处理以构成混合推荐向量。Step S130, selecting vector elements satisfying preset conditions from the first vector and the second vector respectively, and processing the selected vector elements to form a mixed recommendation vector.
请参照图4,图4是图3中步骤S130包括的子步骤的一种流程示意图。所述步骤S130可以包括子步骤S131及子步骤S132。Please refer to FIG. 4 , which is a schematic flowchart of the sub-steps included in step S130 in FIG. 3 . The step S130 may include a sub-step S131 and a sub-step S132.
所述子步骤S131,从所述第一向量及第二向量中分别选择满足预设条件的向量元素组成第三向量及第四向量。In the sub-step S131, vector elements satisfying preset conditions are respectively selected from the first vector and the second vector to form a third vector and a fourth vector.
在本实施例中,所述从所述第一向量及第二向量中分别选择满足预设条件的向量元素组成第三向量及第四向量的方式为以下两种任意之一。In this embodiment, the method of selecting vector elements satisfying preset conditions from the first vector and the second vector to form the third vector and the fourth vector is any one of the following two.
在所述第一向量中以相似度由高到低的顺序选取第一预设数量的向量元素组成第三向量,在所述第二向量中以相似度由高到低的顺序选取第二预设数量的向量元素组成第四向量,其中,所述第一向量、第二向量中的向量元素均按照向量元素的相似度进行降序排列或者升序排列。In the first vector, select the first preset number of vector elements in the order of similarity from high to low to form the third vector, and in the second vector, select the second preset number in the order of similarity from high to low It is assumed that a number of vector elements form a fourth vector, wherein the vector elements in the first vector and the second vector are arranged in descending order or ascending order according to the similarity of the vector elements.
在所述第一向量中选取向量元素相似度大于第一预设相似度的向量元素组成第三向量,在所述第二向量中选取向量元素相似度大于第二预设相似度的向量元素组成第四向量。Select vector elements whose similarity of vector elements is greater than the first preset similarity in the first vector to form a third vector, and select vector elements whose similarity of vector elements is greater than the second preset similarity in the second vector to form Fourth vector.
在本实施例的一种实施方式中,所述第一向量中的向量元素(广告短片)、第二向量中的向量元素(视频节目)均按照向量元素的相似度进行降序排列或升序排列。在进行向量元素选取时,从相似度最高的第一个向量元素开始按照相似度由高到低的顺序选取。在所述第一向量中选取第一预设数量的向量元素组成第三向量,所述第三向量包括至少一个广告短片及每个广告短片与用户之间的相似度。在所述第二向量中选取第二预设数据的向量元素组成第四向量,所述第四向量包括至少一个视频节目及每个视频节目与用户之间的相似度。比如,可以在所述第一向量中选择5个向量元素,以推荐5个广告短片;在所述第二向量中选择20个向量元素,以推荐20个视频节目。由此,对广告短片和视频节目的混合编排有理论及规则控制,并能够在广告收益及用户体验上做到很好的权衡。In an implementation manner of this embodiment, the vector elements (commercial clips) in the first vector and the vector elements (video programs) in the second vector are arranged in descending or ascending order according to the similarity of the vector elements. When selecting vector elements, select from the first vector element with the highest similarity in descending order of similarity. A first preset number of vector elements is selected from the first vector to form a third vector, and the third vector includes at least one advertisement clip and the similarity between each advertisement clip and the user. The vector elements of the second preset data are selected from the second vector to form a fourth vector, and the fourth vector includes at least one video program and the similarity between each video program and the user. For example, 5 vector elements may be selected in the first vector to recommend 5 commercial clips; 20 vector elements may be selected in the second vector to recommend 20 video programs. As a result, there are theoretical and rule-based controls on the mixed programming of commercial clips and video programs, and a good balance can be achieved in terms of advertising revenue and user experience.
其中,所述第一预设数量的具体数值根据该用户对广告短片的兴趣程度来确定,所述第二预设数量的具体数值根据该用户对视频节目的兴趣来确定。在某用户基本不点广告或者点开就退出的情况下,就可以少推荐广告短片,降低广告短片比例。由此,根据该用户的兴趣确定广告短片的推荐数量、视频节目的推荐数量及广告短片与视频节目的比例。Wherein, the specific value of the first preset number is determined according to the user's degree of interest in short commercials, and the specific value of the second preset number is determined according to the user's interest in video programs. In the case that a user basically does not click on an advertisement or quits after clicking on it, it is possible to recommend fewer short advertisements and reduce the proportion of short advertisements. Thus, according to the interest of the user, the recommended number of commercial videos, the recommended number of video programs, and the ratio of commercial videos to video programs are determined.
在本实施例的另一种实施方式中,可以是通过设置预设相似度来进行向量元素选取。具体地,在所述第一向量中选取相似度大于第一预设相似度的向量元素(广告短片),以得到第三向量;在所述第二向量中选取相似度大于第二预设相似度的向量元素(视频节目),以得到第四向量。In another implementation manner of this embodiment, vector element selection may be performed by setting a preset similarity. Specifically, select vector elements (advertising clips) whose similarity is greater than the first preset similarity in the first vector to obtain a third vector; select a similarity greater than the second preset similarity in the second vector Degree vector elements (video titles) to obtain a fourth vector.
其中,所述第一预设相似度的具体值根据该用户对广告短片的兴趣程度来确定,所述第二预设相似度的具体值根据该用户对视频节目的兴趣来确定。由此,可以根据实际情况设置第一预设相似度的具体值及第二预设相似度的具体值。Wherein, the specific value of the first preset similarity is determined according to the user's interest in commercial shorts, and the specific value of the second preset similarity is determined according to the user's interest in video programs. Thus, the specific value of the first preset similarity and the specific value of the second preset similarity can be set according to the actual situation.
所述子步骤S132,分别对所述第三向量及第四向量进行处理,并将处理后的第三向量及第四向量进行合并,以得到混合推荐向量。The sub-step S132 is to process the third vector and the fourth vector respectively, and combine the processed third vector and the fourth vector to obtain a mixed recommendation vector.
请参照图5,图5是图4中子步骤S132包括的子步骤的一种流程示意图。所述子步骤S132可以包括子步骤S1321及子步骤S1322。Please refer to FIG. 5 , which is a schematic flowchart of the sub-steps included in the sub-step S132 in FIG. 4 . The sub-step S132 may include a sub-step S1321 and a sub-step S1322.
所述子步骤S1321,分别对所述第三向量及第四向量进行归一化处理。The sub-step S1321 is to perform normalization processing on the third vector and the fourth vector respectively.
在本实施例的实施方式中,通过分别对所述第三向量及第四向量中向量元素对应的相似度进行归一化处理,从而便于将广告短片及视频节目用统一的方式处理,相当于将广告短片也看做是视频节目。其中,归一化是一种简化计算的方式,指将有量纲的表达式,经过变换,转化为无量纲的表达式,从而成为标量。In the implementation of this embodiment, the similarities corresponding to the vector elements in the third vector and the fourth vector are respectively normalized, so that the advertising clips and video programs can be processed in a unified manner, which is equivalent to Think of the commercial as a video program, too. Among them, normalization is a way to simplify calculations, which refers to transforming a dimensional expression into a dimensionless expression, thus becoming a scalar.
所述子步骤S1322,将归一化处理后的第三向量及第四向量进行合并得到混合向量,并根据混合向量中向量元素的相似度对所述混合向量进行降序或升序排列以得到混合推荐向量。The sub-step S1322 is to combine the normalized third vector and the fourth vector to obtain a mixed vector, and arrange the mixed vectors in descending or ascending order according to the similarity of the vector elements in the mixed vector to obtain a mixed recommendation vector.
在本实施例中,将归一化后的第三向量、第四向量合并为一个向量,以得到混合向量。混合向量中包括广告短片及每个广告短片对应的归一化处理后的相似度、视频节目及每个视频节目对应的归一化处理后的相似度。根据归一化后的相似度对所述混合向量中的向量元素进行降序或升序排列,从而得到混合推荐向量。In this embodiment, the normalized third vector and fourth vector are combined into one vector to obtain a mixed vector. The mixed vector includes commercial clips and the normalized similarity corresponding to each commercial clip, video programs and the normalized similarity corresponding to each video program. The vector elements in the mixed vector are sorted in descending order or ascending order according to the normalized similarity, so as to obtain a mixed recommendation vector.
下面以举例子的形式介绍是如何得到混合推荐向量的。The following is an example to introduce how to obtain the mixed recommendation vector.
请参照图6,图6是本发明较佳实施例提供的得到混合推荐向量的示意图。从数据库112中获取第一向量及第二向量,其中,所述第一向量及第二向量的向量元素均按照向量元素的相似度进行降序排列。所述第一向量为:[(a1,S1),(a2,S2)......,(am,Sm)],所述第二向量为:[(v1,s1),(v2,s2)......,(vn,sn)]。a1、a2等表示广告短片,S1、S1等表示广告短片与用户的相似度,m表示广告短片的个数;v1、v2等表示视频节目,s1、s1等表示视频节目与用户的相似度,n表示视频节目的个数。Please refer to FIG. 6 , which is a schematic diagram of obtaining a mixed recommendation vector provided by a preferred embodiment of the present invention. The first vector and the second vector are obtained from the database 112, wherein the vector elements of the first vector and the second vector are arranged in descending order according to the similarity of the vector elements. The first vector is: [(a1, S1), (a2, S2)..., (am, Sm)], and the second vector is: [(v1, s1), (v2, s2)...,(vn,sn)]. a1, a2, etc. represent short advertisements, S1, S1, etc. represent the similarity between short advertisements and users, m represents the number of short advertisements; v1, v2, etc. represent video programs, s1, s1, etc. represent the similarity between video programs and users, n represents the number of video programs.
在第一向量中选取k个广告短片,以得到第三向量:[(a1,S1),(a2,S2)......,(ak,Sk)];在第二向量中选取h个视频节目,以得到第四向量:[(v1,s1),(v2,s2)......,(vh,sh)]。对第三向量及第四向量进行归一化处理,得到归一化处理后的第三向量及第四向量。归一化处理后的第三向量为:[(a1,C1),(a2,C2)......,(ak,Ck)];归一化处理后的第四向量为:[(v1,c1),(v2,c2)......,(vh,ch)]。再将归一化处理的第三向量及第四向量合并,同时按照归一化后的相似度进行降序排列,得到混合推荐向量:[(r1,w1),(r2,w2)......,(r(h+k),w(h+k))]。r1、r2等表示广告短片或视频节目,w1、w2等表示归一化处理后的相似度。其中,比如,在针对s1,s2,…,sh归一化时,先计算均值s和标准差t,(s1-s)/t,就是s1归一化的结果,其他类推。Select k advertising clips in the first vector to get the third vector: [(a1,S1),(a2,S2)...,(ak,Sk)]; select h in the second vector video programs to get the fourth vector: [(v1,s1),(v2,s2)...,(vh,sh)]. A normalization process is performed on the third vector and the fourth vector to obtain the normalized third vector and the fourth vector. The third vector after normalization processing is: [(a1,C1),(a2,C2)...,(ak,Ck)]; the fourth vector after normalization processing is: [( v1,c1),(v2,c2)...,(vh,ch)]. Then merge the normalized third vector and the fourth vector, and arrange them in descending order according to the similarity after normalization to get the mixed recommendation vector: [(r1,w1),(r2,w2).... ..,(r(h+k),w(h+k))]. r1, r2, etc. represent commercial clips or video programs, and w1, w2, etc. represent the similarity after normalization processing. Among them, for example, when normalizing s1, s2, ..., sh, first calculate the mean s and standard deviation t, (s1-s)/t is the result of s1 normalization, and so on.
步骤S140,根据所述混合推荐向量得到广告短片与视频节目混合推荐列表。Step S140 , according to the mixed recommendation vector, a mixed recommendation list of advertisement clips and video programs is obtained.
请参照图7,图7是图3中步骤S140包括的子步骤的一种流程示意图。所述步骤S140可以包括子步骤S141及子步骤S142。Please refer to FIG. 7 , which is a schematic flowchart of the sub-steps included in step S140 in FIG. 3 . The step S140 may include a sub-step S141 and a sub-step S142.
所述子步骤S141,查找所述混合推荐向量中每个向量元素对应的广告短片或视频节目。The sub-step S141 is to search for a commercial clip or video program corresponding to each vector element in the mixed recommendation vector.
在本实施例中,数据库112中还存储有向量元素与广告短片或视频节目的对应关系。通过在所述数据库112中进行查找,可得到所述混合推荐向量中包括的广告短片及视频节目。In this embodiment, the database 112 also stores correspondences between vector elements and short commercials or video programs. By searching in the database 112, the advertisement clips and video programs included in the mixed recommendation vector can be obtained.
所述子步骤S142,根据查找得到的所述广告短片、视频节目得到广告短片与视频节目混合推荐列表,以使所述用户终端200基于所述混合推荐列表进行广告短片与视频节目的播放。The sub-step S142 is to obtain a mixed recommendation list of commercial shorts and video programs according to the searched commercial shorts and video programs, so that the user terminal 200 plays commercial shorts and video programs based on the mixed recommendation list.
在本实施例中,获得向量元素对应的广告短片及视频节目后,按照所述广告短片、视频节目对应的归一化处理后的相似度将广告短片、视频节目进行升序或降序排列,以得到广告短片与视频节目混合推荐列表。从而用户终端200可以根据所述混合推荐列表进行广告短片与视频节目的播放,提升用户体验。在本实施例的实施方式中,所述混合推荐列表中广告短片、视频节目以降序排列。In this embodiment, after the commercial clips and video programs corresponding to the vector elements are obtained, the commercial clips and video programs are sorted in ascending or descending order according to the normalized similarity corresponding to the commercial clips and video programs, so as to obtain A mixed recommendation list of commercial clips and video programs. Therefore, the user terminal 200 can play advertisement clips and video programs according to the mixed recommendation list, thereby improving user experience. In the implementation of this embodiment, the advertisement clips and video programs in the mixed recommendation list are arranged in descending order.
在得到某个用户的广告短片与视频节目混合推荐列表后,循环计算每个用户的广告短片与视频节目混合推荐列表,就可以得到总混合推荐列表。After getting a user's mixed recommendation list of advertising clips and video programs, cyclically calculate the mixed recommendation list of advertising clips and video programs for each user, and then the total mixed recommendation list can be obtained.
请参照图8,图8是本发明较佳实施例提供的广告短片与视频节目混合推荐方法的另一种流程示意图。所述方法还可以包括步骤S110。Please refer to FIG. 8 . FIG. 8 is another schematic flow chart of a method for recommending a mixture of advertising clips and video programs according to a preferred embodiment of the present invention. The method may also include step S110.
所述步骤S110,建立用于描述用户对广告短片兴趣程度的第一向量、用于描述对视频节目兴趣程度的第二向量,并将所述第一向量及第二向量保存在数据库112中。The step S110 is to establish a first vector used to describe the user's degree of interest in the advertisement clip and a second vector used to describe the user's degree of interest in the video program, and store the first vector and the second vector in the database 112 .
请参照图9,图9是图8中步骤S110包括的部分子步骤的流程示意图。所述步骤S110可以包括子步骤S116、子步骤S117、子步骤S118及子步骤S119。Please refer to FIG. 9 , which is a schematic flowchart of some sub-steps included in step S110 in FIG. 8 . The step S110 may include sub-step S116 , sub-step S117 , sub-step S118 and sub-step S119 .
所述子步骤S116,获取广告短片向量、视频节目向量以及用户特征向量,其中,所述广告短片向量包括每个广告短片对应的一个或多个标签,所述视频节目向量包括每个视频节目对应的一个或多个标签,所述用户特征向量包括该用户观看过的每个视频节目的一个或多个标签或每个广告短片的一个或多个标签。The sub-step S116 is to obtain the advertisement clip vector, the video program vector and the user feature vector, wherein the advertisement clip vector includes one or more tags corresponding to each advertisement clip, and the video program vector includes each video program corresponding The user feature vector includes one or more tags of each video program watched by the user or one or more tags of each commercial clip.
所述子步骤S117,计算所述广告短片向量与所述用户特征向量的相似度和所述视频节目向量与所述用户特征向量的相似度。The sub-step S117 is to calculate the similarity between the advertisement clip vector and the user feature vector and the similarity between the video program vector and the user feature vector.
其中,可以通过向量内积、jaccard相似度、欧式距离等计算出广告短片向量与用户特征向量之间的相似度及视频节目向量与用户特征向量之间的相似度。Among them, the similarity between the advertisement video vector and the user feature vector and the similarity between the video program vector and the user feature vector can be calculated by vector inner product, jaccard similarity, Euclidean distance, etc.
所述子步骤S118,根据所述广告短片向量与所述用户特征向量的相似度计算所述广告短片向量中每个广告短片与该用户的相似度,根据所述广告短片向量及每个广告短片与该用户的相似度得到第一向量。The sub-step S118 is to calculate the similarity between each advertising video in the advertising video vector and the user according to the similarity between the advertising video vector and the user feature vector, and according to the advertising video vector and each advertising video The similarity with the user results in a first vector.
其中,所述第一向量中包括至少一个广告短片及每个广告短片与用户之间的相似度。Wherein, the first vector includes at least one commercial video and the similarity between each commercial video and the user.
所述子步骤S119,根据所述视频节目向量与所述用户特征向量的相似度计算所述视频节目向量中每个视频节目与该用户的相似度,根据所述视频节目向量及每个视频节目与该用户的相似度得到第二向量。The sub-step S119 is to calculate the similarity between each video program in the video program vector and the user according to the similarity between the video program vector and the user feature vector, and according to the video program vector and each video program The similarity to the user results in a second vector.
其中,所述第二向量中包括至少一个视频节目及每个视频节目与用户之间的相似度。Wherein, the second vector includes at least one video program and the similarity between each video program and the user.
请参照图10,图10是图8中步骤S110包括的另一部分子步骤的流程示意图。所述步骤S110还可以包括子步骤S112、子步骤S113及子步骤S114。Please refer to FIG. 10 , which is a schematic flow chart of another part of sub-steps included in step S110 in FIG. 8 . The step S110 may also include sub-step S112, sub-step S113 and sub-step S114.
所述子步骤S112,获得广告短片的标签及视频节目的标签,根据所述广告短片的标签得到广告短片向量,根据所述视频节目的标签得到视频节目向量。The sub-step S112 is to obtain the tag of the commercial clip and the tag of the video program, obtain the vector of the commercial clip according to the tag of the clip, and obtain the vector of the video program according to the tag of the video program.
在本实施例中,将广告短片及视频节目转化为数值向量的方式可以是先获得广告短片及视频节目的标签,再将标签转化为数值向量。获得标签的方式可以是,但不限于,人工从各个维度(比如,场景、拍摄手法等)对视频(广告短片、视频节目)打标签、通过机器学习算法从视频(广告短片、视频节目)中自动提取标签等。获得标签后,可以通过机器学习技术(比如,word2vector)将标签转化为数值向量,以得到广告短片向量及视频节目向量,由此可以更好的计算文本之间的相关度。In this embodiment, the way to convert the commercial clips and video programs into numerical vectors may be to obtain tags of the commercial clips and video programs first, and then convert the tags into numerical vectors. The way to obtain labels can be, but not limited to, manually labeling videos (short commercials, video programs) from various dimensions (such as scenes, shooting techniques, etc.), Automatically extract tags and more. After the tags are obtained, the tags can be converted into numerical vectors through machine learning technology (eg, word2vector) to obtain vectors of commercial clips and video programs, so that the correlation between texts can be better calculated.
所述子步骤S113,从用户行为日志中得到用户观看过的广告短片及视频节目。In the sub-step S113, the advertisement clips and video programs watched by the user are obtained from the user behavior log.
所述子步骤S114,提取用户观看过的广告短片的标签或视频节目的标签,并将用户观看过的广告短片的标签或视频节目的标签作为用户标签,从而得到用户特征向量。The sub-step S114 is to extract the tags of the commercial clips or video programs watched by the user, and use the tags of the commercial clips or video programs watched by the user as user tags, so as to obtain the user feature vector.
在本实施例中,获得用户特征向量与获得广告短片向量及视频节目向量的方式相同,在此不再赘述。In this embodiment, the method of obtaining the user feature vector is the same as the method of obtaining the advertisement clip vector and the video program vector, and will not be repeated here.
请参照图11,图11是本发明较佳实施例提供的广告短片与视频节目混合推荐装置300的一种方框示意图。所述混合推荐装置300应用于与用户终端200通信连接的服务器100。所述服务器100包括一数据库112,所述数据库112存储有用于描述用户对广告短片兴趣程度的第一向量、用于描述对视频节目兴趣程度的第二向量。所述混合推荐装置300包括获取模块320、混合推荐向量模块330及推荐列表生成模块340。Please refer to FIG. 11 . FIG. 11 is a schematic block diagram of a device 300 for recommending mixed advertisement clips and video programs according to a preferred embodiment of the present invention. The hybrid recommendation device 300 is applied to the server 100 connected in communication with the user terminal 200 . The server 100 includes a database 112, and the database 112 stores a first vector used to describe the user's degree of interest in the advertisement clip and a second vector used to describe the user's degree of interest in the video program. The hybrid recommendation device 300 includes an acquisition module 320 , a hybrid recommendation vector module 330 and a recommendation list generation module 340 .
所述获取模块320,用于获取所述第一向量及第二向量。The obtaining module 320 is configured to obtain the first vector and the second vector.
在本实施例中,所述获取模块320用于执行图3中的步骤S120,关于所述获取模块320的具体描述可以参照图3中步骤S120的描述。In this embodiment, the obtaining module 320 is configured to execute step S120 in FIG. 3 . For a specific description of the obtaining module 320 , refer to the description of step S120 in FIG. 3 .
所述混合推荐向量模块330,用于从所述第一向量及第二向量中分别选择满足预设条件的向量元素,对选择的向量元素进行处理以构成混合推荐向量。The mixed recommendation vector module 330 is configured to respectively select vector elements satisfying preset conditions from the first vector and the second vector, and process the selected vector elements to form a mixed recommendation vector.
请参照图12,图12是本发明较佳实施例提供的广告短片与视频节目混合推荐装置300的另一种方框示意图。所述混合推荐向量模块330包括选择子模块331及处理子模块332。Please refer to FIG. 12 . FIG. 12 is another schematic block diagram of a device 300 for recommending mixed advertisement clips and video programs according to a preferred embodiment of the present invention. The mixed recommendation vector module 330 includes a selection submodule 331 and a processing submodule 332 .
所述选择子模块331,用于从所述第一向量及第二向量中分别选择满足预设条件的向量元素组成第三向量及第四向量。The selection sub-module 331 is configured to select vector elements satisfying preset conditions from the first vector and the second vector to form a third vector and a fourth vector.
所述选择子模块331从所述第一向量及第二向量中分别选择满足预设条件的向量元素组成第三向量及第四向量的方式为以下两种任意之一:The selection sub-module 331 respectively selects vector elements satisfying preset conditions from the first vector and the second vector to form the third vector and the fourth vector in any one of the following two ways:
在所述第一向量中以相似度由高到底的顺序选取第一预设数量的向量元素组成第三向量,在所述第二向量中以相似度由高到底的顺序选取第二预设数量的向量元素组成第四向量,其中,所述第一向量、第二向量中的向量元素均按照向量元素的相似度进行降序排列或者升序排列;In the first vector, a first preset number of vector elements are selected in order of similarity from high to bottom to form a third vector, and in the second vector, a second preset number is selected in order of similarity from high to bottom The vector elements form the fourth vector, wherein, the vector elements in the first vector and the second vector are arranged in descending or ascending order according to the similarity of the vector elements;
在所述第一向量中选取向量元素相似度大于第一预设相似度的向量元素组成第三向量,在所述第二向量中选取向量元素相似度大于第二预设相似度的向量元素组成第四向量。Select vector elements whose similarity of vector elements is greater than the first preset similarity in the first vector to form a third vector, and select vector elements whose similarity of vector elements is greater than the second preset similarity in the second vector to form Fourth vector.
所述处理子模块332,用于分别对所述第三向量及第四向量进行处理,并将处理后的第三向量及第四向量进行合并,以得到混合推荐向量。The processing sub-module 332 is configured to process the third vector and the fourth vector respectively, and combine the processed third vector and the fourth vector to obtain a mixed recommendation vector.
所述处理子模块332分别对所述第三向量及第四向量进行处理,并将处理后的第三向量及第四向量进行合并,以得到混合推荐向量的方式包括:The processing sub-module 332 processes the third vector and the fourth vector respectively, and merges the processed third vector and the fourth vector to obtain a mixed recommendation vector including:
分别对所述第三向量及第四向量进行归一化处理;respectively performing normalization processing on the third vector and the fourth vector;
将归一化处理后的第三向量及第四向量进行合并得到混合向量,并根据混合向量中向量元素的相似度对所述混合向量进行降序或升序排列以得到混合推荐向量。Combining the normalized third vector and the fourth vector to obtain a mixed vector, and sorting the mixed vectors in descending order or ascending order according to the similarity of vector elements in the mixed vector to obtain a mixed recommendation vector.
在本实施例中,所述混合推荐向量模块330用于执行图3中的步骤S130,关于所述混合推荐向量模块330的具体描述可以参照图3中步骤S130的描述。In this embodiment, the hybrid recommendation vector module 330 is used to execute step S130 in FIG. 3 . For a specific description of the hybrid recommendation vector module 330 , refer to the description of step S130 in FIG. 3 .
所述推荐列表生成模块340,用于根据所述混合推荐向量得到广告短片与视频节目混合推荐列表,以使所述用户终端200基于所述混合推荐列表进行广告短片与视频节目的播放。The recommendation list generating module 340 is configured to obtain a mixed recommendation list of commercial shorts and video programs according to the mixed recommendation vector, so that the user terminal 200 can play commercial shorts and video programs based on the mixed recommendation list.
所述推荐列表生成模块340根据所述混合推荐向量得到广告短片与视频节目混合推荐列表的方式包括:The way in which the recommendation list generation module 340 obtains a mixed recommendation list of commercial clips and video programs according to the mixed recommendation vector includes:
查找所述混合推荐向量中每个向量元素对应的广告短片或视频节目;Find the commercial clip or video program corresponding to each vector element in the mixed recommendation vector;
根据查找得到的所述广告短片、视频节目得到广告短片与视频节目混合推荐列表。A mixed recommendation list of commercial short films and video programs is obtained according to the searched commercial short films and video programs.
在本实施例中,所述推荐列表生成模块340用于执行图3中的步骤S140,关于所述推荐列表生成模块340的具体描述可以参照图3中步骤S140的描述。In this embodiment, the recommendation list generation module 340 is configured to execute step S140 in FIG. 3 . For a specific description of the recommendation list generation module 340 , refer to the description of step S140 in FIG. 3 .
请再次参照图12,所述混合推荐装置300还可以包括建立向量模块310。所述建立向量模块310用于建立用于描述用户对广告短片兴趣程度的第一向量、用于描述对视频节目兴趣程度的第二向量,并将所述第一向量及第二向量保存在数据库112中。Please refer to FIG. 12 again, the hybrid recommendation apparatus 300 may further include a vector creation module 310 . The establishment vector module 310 is used to establish the first vector used to describe the user's degree of interest in the advertising clip, the second vector used to describe the degree of interest in the video program, and save the first vector and the second vector in the database 112 in.
所述建立向量模块310建立用于描述用户对广告短片兴趣程度的第一向量、用于描述对视频节目兴趣程度的第二向量,并将所述第一向量及第二向量保存在数据库112中的方式包括:The establishment vector module 310 establishes a first vector used to describe the user's degree of interest in the advertising clip, a second vector used to describe the degree of interest in the video program, and saves the first vector and the second vector in the database 112 Ways include:
获取广告短片向量、视频节目向量以及用户特征向量,其中,所述广告短片向量包括每个广告短片对应的一个或多个标签,所述视频节目向量包括每个视频节目对应的一个或多个标签,所述用户特征向量包括该用户观看过的每个视频节目的一个或多个标签或每个广告短片的一个或多个标签;Obtaining the advertisement clip vector, the video program vector and the user feature vector, wherein the advertisement clip vector includes one or more labels corresponding to each advertisement clip, and the video program vector includes one or more tags corresponding to each video program , the user feature vector includes one or more tags of each video program watched by the user or one or more tags of each commercial clip;
计算所述广告短片向量与所述用户特征向量的相似度和所述视频节目向量与所述用户特征向量的相似度;Calculating the similarity between the advertisement clip vector and the user feature vector and the similarity between the video program vector and the user feature vector;
根据所述广告短片向量与所述用户特征向量的相似度计算所述广告短片向量中每个广告短片与该用户的相似度,根据所述广告短片向量及每个广告短片与该用户的相似度得到第一向量;Calculate the similarity between each advertisement clip in the advertisement clip vector and the user according to the similarity between the advertisement clip vector and the user feature vector, and calculate the similarity between the advertisement clip vector and each advertisement clip and the user get the first vector;
根据所述视频节目向量与所述用户特征向量的相似度计算所述视频节目向量中每个视频节目与该用户的相似度,根据所述视频节目向量及每个视频节目与该用户的相似度得到第二向量。Calculate the similarity between each video program in the video program vector and the user according to the similarity between the video program vector and the user feature vector, and calculate the similarity between the video program vector and each video program and the user according to the similarity between the video program vector and the user feature vector to get the second vector.
所述建立向量模块310建立用于描述用户对广告短片兴趣程度的第一向量、用于描述对视频节目兴趣程度的第二向量,并将所述第一向量及第二向量保存在数据库112中的方式还包括:The establishment vector module 310 establishes a first vector used to describe the user's degree of interest in the advertising clip, a second vector used to describe the degree of interest in the video program, and saves the first vector and the second vector in the database 112 Ways also include:
获得广告短片的标签及视频节目的标签,根据所述广告短片的标签得到广告短片向量,根据所述视频节目的标签得到视频节目向量;Obtain the label of the commercial video and the label of the video program, obtain the commercial video vector according to the label of the commercial video, and obtain the video program vector according to the label of the video program;
从用户行为日志中得到用户观看过的广告短片及视频节目;Obtain the short advertisements and video programs that the user has watched from the user behavior log;
提取用户观看过的广告短片的标签或视频节目的标签,并将用户观看过的广告短片的标签或视频节目的标签作为用户标签,从而得到用户特征向量。The tags of the commercial clips or video programs watched by the user are extracted, and the tags of the commercial clips or video programs watched by the user are used as user tags, so as to obtain the user feature vector.
在本实施例中,所述建立向量模块310用于执行图8中的步骤S110,关于所述建立向量模块310的具体描述可以参照图8中步骤S110的描述。In this embodiment, the vector creation module 310 is configured to execute step S110 in FIG. 8 . For a specific description of the vector creation module 310 , reference may be made to the description of step S110 in FIG. 8 .
综上所述,本发明提供了一种广告短片与视频节目混合推荐方法及装置,应用于与用户终端通信连接的服务器。所述服务器包括一数据库,数据库中存储有用于描述用户对广告短片兴趣程度的第一向量、用于描述对视频节目兴趣程度的第二向量。在获取第一向量及第二向量后,根据预设条件选取第一向量及第二向量中的向量元素,并对选取的向量元素进行处理得到混合推荐向量。由此,通过混合推荐向量得到广告短片与视频节目混合推荐列表,而用户终端则根据混合推荐列表进行广告短片与视频节目的播放。从而将广告短片和视频节目同等对待,利用统一的方式来处理广告短片和视频节目的混合推荐,而不是在视频节目中插入广告短片。在这种方式下,用户在观看视频节目时不会受到广告短片的干扰,并且在广告短片收益及用户体验上做到了很好的平衡。To sum up, the present invention provides a method and device for recommending mixed advertisement clips and video programs, which is applied to a server connected to a user terminal through communication. The server includes a database, and the database stores a first vector used to describe the user's degree of interest in the advertisement clip and a second vector used to describe the degree of user's interest in the video program. After the first vector and the second vector are acquired, vector elements in the first vector and the second vector are selected according to preset conditions, and the selected vector elements are processed to obtain a mixed recommendation vector. Thus, a mixed recommendation list of commercial shorts and video programs is obtained by mixing recommendation vectors, and the user terminal plays commercial shorts and video programs according to the mixed recommendation list. Therefore, the commercial short film and the video program are treated equally, and a unified method is used to process the mixed recommendation of the commercial short film and the video program, instead of inserting the commercial short film into the video program. In this manner, users will not be disturbed by short advertisements when watching video programs, and a good balance is achieved between the income of short advertisements and user experience.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710168875.6A CN106954087B (en) | 2017-03-21 | 2017-03-21 | method and device for recommending advertisement short films and video programs in mixed mode |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710168875.6A CN106954087B (en) | 2017-03-21 | 2017-03-21 | method and device for recommending advertisement short films and video programs in mixed mode |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106954087A CN106954087A (en) | 2017-07-14 |
| CN106954087B true CN106954087B (en) | 2019-12-06 |
Family
ID=59472644
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710168875.6A Expired - Fee Related CN106954087B (en) | 2017-03-21 | 2017-03-21 | method and device for recommending advertisement short films and video programs in mixed mode |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106954087B (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109840791A (en) * | 2017-11-28 | 2019-06-04 | 腾讯科技(深圳)有限公司 | Advertisement recommended method, device, computer equipment and storage medium |
| CN109062963B (en) * | 2018-06-27 | 2021-06-04 | 阿里巴巴(中国)有限公司 | Self-media recommendation method and device and electronic equipment |
| CN110809175B (en) * | 2019-09-27 | 2021-04-09 | 腾讯科技(深圳)有限公司 | Video recommendation method and device |
| CN113159851A (en) * | 2021-04-27 | 2021-07-23 | 北京梯影传媒科技有限公司 | Carousel advertisement sequencing method and device |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105183925A (en) * | 2015-10-30 | 2015-12-23 | 合一网络技术(北京)有限公司 | Content association recommending method and content association recommending device |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2010119996A1 (en) * | 2009-04-13 | 2010-10-21 | (주)엔써즈 | Method and apparatus for providing moving image advertisements |
-
2017
- 2017-03-21 CN CN201710168875.6A patent/CN106954087B/en not_active Expired - Fee Related
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105183925A (en) * | 2015-10-30 | 2015-12-23 | 合一网络技术(北京)有限公司 | Content association recommending method and content association recommending device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106954087A (en) | 2017-07-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN114095749B (en) | Recommendation and live interface display method, computer storage medium and program product | |
| CN105282010B (en) | Processing method, device and the server that information is shared | |
| CN110740389B (en) | Video positioning method, video positioning device, computer readable medium and electronic equipment | |
| CN106954087B (en) | method and device for recommending advertisement short films and video programs in mixed mode | |
| CN108848401B (en) | Video playing starting method and device | |
| US20140095308A1 (en) | Advertisement distribution apparatus and advertisement distribution method | |
| CN114938458B (en) | Object information display method and device, electronic equipment and storage medium | |
| CN109451333B (en) | Bullet screen display method, device, terminal and system | |
| CN105095442B (en) | Method and device for recommending multimedia data | |
| CN105095508A (en) | Multimedia content recommendation method and multimedia content recommendation apparatus | |
| CN112818224A (en) | Information recommendation method and device, electronic equipment and readable storage medium | |
| CN107870984A (en) | The method and apparatus for identifying the intention of search term | |
| CN108197336B (en) | Video searching method and device | |
| CN111046292A (en) | Live broadcast recommendation method and device, computer-readable storage medium and electronic device | |
| CN109446442B (en) | Method and apparatus for processing information | |
| US20240019991A1 (en) | Method, apparatus, electronic device, storage medium and program product for content sharing | |
| CN104935651A (en) | Content recommending method and terminal | |
| CN111107435A (en) | Video recommendation method and device, video recommendation equipment and storage medium | |
| CN108804452B (en) | Multimedia resource cover display method and device | |
| CN114154013A (en) | Video recommendation method, device, equipment and storage medium | |
| CN109600646B (en) | Voice positioning method and device, smart television and storage medium | |
| CN109213933B (en) | Content item recommendation method, device, equipment and storage medium | |
| CN112749327A (en) | Content pushing method and device | |
| CN119149824B (en) | Data analysis-based intelligent tobacco Pu method pushing method and system | |
| CN120386942A (en) | Search method and device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20200426 Address after: 201210 Room 401, building 2, No. 608, shengxia Road, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai Patentee after: Shanghai Qianshan Network Technology Development Co.,Ltd. Address before: 201210 Shanghai, Zhejiang Province, Pudong New Area Road, on the road in the summer on the Silver Tower, building E, building, building 3, building 666 Patentee before: WHALEY TECHNOLOGY Co.,Ltd. |
|
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20210506 Address after: 200050 room 323, building 14, no.350 Xianxia Road, Changning District, Shanghai Patentee after: SHANGHAI ISMARTV NETWORK TECHNOLOGIES Co.,Ltd. Address before: Room 401, building 2, 608 shengxia Road, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai, 201210 Patentee before: Shanghai Qianshan Network Technology Development Co.,Ltd. |
|
| TR01 | Transfer of patent right | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20191206 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |