







技术领域technical field
本说明书实施例涉及计算机技术领域,特别涉及弹幕生成方法。The embodiment of this specification relates to the field of computer technology, and in particular to a method for generating bullet chatting.
背景技术Background technique
目前,大部分的网购平台都会向用户进行商品推荐,例如向用户推荐同款产品,这样一方面实现商品精准推送,提高网络平台的成交率;另一方面,推送的商品也不容易引起用户反感。At present, most online shopping platforms will recommend products to users, such as recommending the same product to users, so that on the one hand, they can accurately push products and improve the transaction rate of online platforms; .
但是,此种网络平台的商品推荐方法过于简单单一,互动性差,用户购物体验不好。However, the product recommendation method of this network platform is too simple and single, with poor interaction and poor shopping experience for users.
发明内容Contents of the invention
有鉴于此,本说明书实施例提供了弹幕生成方法。本说明书一个或者多个实施例同时涉及弹幕生成装置,一种计算设备,一种计算机可读存储介质以及一种计算机程序,以解决现有技术中存在的技术缺陷。In view of this, the embodiment of this specification provides a bullet chatting generation method. One or more embodiments of this specification also relate to a barrage generating device, a computing device, a computer-readable storage medium and a computer program, so as to solve technical defects in the prior art.
根据本说明书实施例的第一方面,提供了一种弹幕生成方法,包括:According to the first aspect of the embodiment of this specification, there is provided a bullet chatting generation method, including:
确定商品展示页面中视频播放区域的当前播放视频,并根据所述当前播放视频确定第一商品展示主题;Determine the currently playing video in the video playing area on the product display page, and determine the first product display theme according to the currently playing video;
根据所述第一商品展示主题确定第一目标商品,并从所述商品展示页面的商品评价区域,确定与所述第一目标商品对应的第一评价信息;determining the first target product according to the first product display theme, and determining the first evaluation information corresponding to the first target product from the product evaluation area of the product display page;
根据所述第一评价信息生成主题弹幕,并将所述主题弹幕在所述视频播放区域进行展示。A topic bullet chat is generated according to the first evaluation information, and the topic bullet chat is displayed in the video playing area.
根据本说明书实施例的第二方面,提供了一种弹幕生成装置,包括:According to the second aspect of the embodiments of this specification, there is provided a barrage generating device, including:
第一主题确定模块,被配置为确定商品展示页面中视频播放区域的当前播放视频,并根据所述当前播放视频确定第一商品展示主题;The first theme determination module is configured to determine the currently played video in the video play area on the product display page, and determine the first product display theme according to the currently played video;
第一评价信息确定模块,被配置为根据所述第一商品展示主题确定第一目标商品,并从所述商品展示页面的商品评价区域,确定与所述第一目标商品对应的第一评价信息;The first evaluation information determination module is configured to determine the first target product according to the first product display theme, and determine the first evaluation information corresponding to the first target product from the product evaluation area of the product display page ;
第一弹幕生成模块,被配置为根据所述第一评价信息生成主题弹幕,并将所述主题弹幕在所述视频播放区域进行展示。The first bullet chat generation module is configured to generate a topic bullet chat according to the first evaluation information, and display the topic bullet chat in the video playback area.
根据本说明书实施例的第三方面,提供了一种计算设备,包括:According to a third aspect of the embodiments of this specification, a computing device is provided, including:
存储器和处理器;memory and processor;
所述存储器用于存储计算机可执行指令,所述处理器用于执行所述计算机可执行指令,该计算机可执行指令被处理器执行时实现上述弹幕生成方法的步骤。The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions. When the computer-executable instructions are executed by the processor, the steps of the method for generating bullet chatting are realized.
根据本说明书实施例的第四方面,提供了一种计算机可读存储介质,其存储有计算机可执行指令,该指令被处理器执行时实现上述弹幕生成方法的步骤。According to a fourth aspect of the embodiments of this specification, there is provided a computer-readable storage medium, which stores computer-executable instructions, and when the instructions are executed by a processor, the steps of the method for generating bullet chatting are implemented.
根据本说明书实施例的第五方面,提供了一种计算机程序,其中,当所述计算机程序在计算机中执行时,令计算机执行上述弹幕生成方法的步骤。According to a fifth aspect of the embodiments of the present specification, a computer program is provided, wherein, when the computer program is executed in a computer, it causes the computer to execute the steps of the method for generating bullet chatting.
本说明书一个实施例实现了一种弹幕生成方法,包括确定商品展示页面中视频播放区域的当前播放视频,并根据所述当前播放视频确定第一商品展示主题;根据所述第一商品展示主题确定第一目标商品,并从所述商品展示页面的商品评价区域,确定与所述第一目标商品对应的第一评价信息;根据所述第一评价信息生成主题弹幕,并将所述主题弹幕在所述视频播放区域进行展示。An embodiment of this specification implements a barrage generation method, including determining the currently playing video in the video play area on the product display page, and determining the first product display theme according to the currently playing video; according to the first product display theme Determine the first target product, and determine the first evaluation information corresponding to the first target product from the product evaluation area of the product display page; generate a theme barrage according to the first evaluation information, and place the theme The barrage is displayed in the video playback area.
具体的,该弹幕生成方法通过将用户对于商品的评价,自动转译为主题弹幕的形式展示在商品展示页面的视频播放区域,使得其他用户在商品展示页面进行商品购买时,可以将该主题弹幕作为参考进行商品购买,变相的以该主题弹幕的交互形式向其他用户实现商品推荐,极大的提升用户的购物体验。Specifically, the bullet chatting generation method automatically translates the user's evaluation of the product into a topic bullet chat and displays it in the video playback area of the product display page, so that other users can use the theme when purchasing products on the product display page. The barrage is used as a reference to purchase products, and in a disguised form, it recommends products to other users in the interactive form of the topic barrage, which greatly improves the user's shopping experience.
附图说明Description of drawings
图1是本说明书一个实施例提供的一种弹幕生成方法的具体场景示意图;Fig. 1 is a schematic diagram of a specific scene of a bullet chatting generation method provided by an embodiment of this specification;
图2是本说明书一个实施例提供的一种弹幕生成方法的流程图;Fig. 2 is a flow chart of a method for generating bullet chatting provided by an embodiment of this specification;
图3是本说明书一个实施例提供的一种弹幕生成方法中主题弹幕在视频播放区域的展示示意图;Fig. 3 is a schematic diagram showing a topic bullet chat in a video playback area in a bullet chat generation method provided by an embodiment of this specification;
图4是本说明书一个实施例提供的一种弹幕生成方法中视频播放区域的带有目标商品的商品链接的展示示意图;Fig. 4 is a schematic diagram showing a product link with a target product in a video playback area in a barrage generation method provided by an embodiment of this specification;
图5是本说明书一个实施例提供的一种弹幕生成方法中主题展示卡的展示意图;Fig. 5 is a schematic diagram showing a theme display card in a barrage generation method provided by an embodiment of this specification;
图6是本说明书一个实施例提供的一种弹幕生成方法中主题展示卡在视频播放区域进行展示的展示意图;Fig. 6 is a diagram showing a theme display card displayed in a video playback area in a barrage generation method provided by an embodiment of this specification;
图7是本说明书一个实施例提供的一种弹幕生成装置的结构示意图;Fig. 7 is a schematic structural diagram of a barrage generating device provided by an embodiment of this specification;
图8是本说明书一个实施例提供的一种计算设备的结构框图。Fig. 8 is a structural block diagram of a computing device provided by an embodiment of this specification.
具体实施方式Detailed ways
在下面的描述中阐述了很多具体细节以便于充分理解本说明书。但是本说明书能够以很多不同于在此描述的其它方式来实施,本领域技术人员可以在不违背本说明书内涵的情况下做类似推广,因此本说明书不受下面公开的具体实施的限制。In the following description, numerous specific details are set forth in order to provide a thorough understanding of the specification. However, this specification can be implemented in many other ways different from those described here, and those skilled in the art can make similar extensions without violating the connotation of this specification, so this specification is not limited by the specific implementations disclosed below.
在本说明书一个或多个实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本说明书一个或多个实施例。在本说明书一个或多个实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本说明书一个或多个实施例中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。Terms used in one or more embodiments of this specification are for the purpose of describing specific embodiments only, and are not intended to limit one or more embodiments of this specification. As used in one or more embodiments of this specification and the appended claims, the singular forms "a", "the", and "the" are also intended to include the plural forms unless the context clearly dictates otherwise. It should also be understood that the term "and/or" used in one or more embodiments of the present specification refers to and includes any or all possible combinations of one or more associated listed items.
应当理解,尽管在本说明书一个或多个实施例中可能采用术语第一、第二等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本说明书一个或多个实施例范围的情况下,第一也可以被称为第二,类似地,第二也可以被称为第一。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。It should be understood that although the terms first, second, etc. may be used to describe various information in one or more embodiments of the present specification, the information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, the first may also be referred to as the second, and similarly, the second may also be referred to as the first without departing from the scope of one or more embodiments of the present specification. Depending on the context, the word "if" as used herein may be interpreted as "at" or "when" or "in response to a determination."
首先,对本说明书一个或多个实施例涉及的名词术语进行解释。First, terms and terms involved in one or more embodiments of this specification are explained.
弹幕:在网络上观看视频时弹出的评论性字幕。Barrage: Commentary subtitles that pop up when watching a video on the Internet.
app:application,应用程序。app: application, application program.
在本说明书中,提供了一种弹幕生成方法,本说明书同时涉及一种弹幕生成装置,一种计算设备,以及一种计算机可读存储介质,在下面的实施例中逐一进行详细说明。In this specification, a bullet chatting generation method is provided. This specification also relates to a bullet chatting generation device, a computing device, and a computer-readable storage medium, which will be described in detail in the following embodiments one by one.
参见图1,图1示出了根据本说明书一个实施例提供的一种弹幕生成方法的具体场景示意图。Referring to FIG. 1 , FIG. 1 shows a schematic diagram of a specific scenario of a bullet chatting generation method provided according to an embodiment of the present specification.
图1中包括服务器102以及终端104,其中,终端104包括但不限于手机、台式电脑、笔记本电脑、平台电脑等。FIG. 1 includes a server 102 and a terminal 104, wherein the terminal 104 includes but is not limited to a mobile phone, a desktop computer, a notebook computer, a platform computer, and the like.
为了便于理解,本说明书实施例中均以终端104为手机进行具体介绍。For ease of understanding, in the embodiments of this specification, the terminal 104 is used as a mobile phone for specific introduction.
具体场景如下所述:用户打开手机购物平台的购物页面进行商品购买时,该购物页面的视频播放区域中进行视频播放,且该视频播放区域会展示与当前播放的视频关联的商品评价信息生成的弹幕,用户在进行商品购买时,可以以弹幕信息为参考进行商品购买。The specific scenario is as follows: When the user opens the shopping page of the mobile shopping platform to purchase products, the video will be played in the video playback area of the shopping page, and the video playback area will display the information generated by the product evaluation information associated with the currently played video. Bullet screen, when users purchase goods, they can use the bullet screen information as a reference to purchase goods.
具体的,该弹幕的生成方式如下所述:Specifically, the method of generating the barrage is as follows:
服务器102确定终端104中打开的购物平台的、购物页面的视频播放区域的当前播放视频,并确定当前播放视频的商品展示主题,如周五high起来;然后根据该商品展示主题确定与该商品展示主题对应的目标商品,然后从该购物平台的商品评价区域选择与该目标商品关联的商品评价信息,例如周五high起来的商品展示主题,与其对应的目标商品包括啤酒、火锅、鲜花等,那么从该购物平台的商品评价区域选择与该目标商品关联的商品评价信息则可以为:与啤酒、火锅、鲜花等关联的评价信息;最后将这些从该购物平台的商品评价区域、选择的与该目标商品关联的商品评价信息生成弹幕并发送至终端104。The server 102 determines the current playing video of the shopping platform opened in the terminal 104, the video playing area of the shopping page, and determines the commodity display theme of the current playing video, such as Friday high; The target product corresponding to the theme, and then select the product evaluation information associated with the target product from the product evaluation area of the shopping platform. The product evaluation information associated with the target product selected from the product evaluation area of the shopping platform can be: evaluation information associated with beer, hot pot, flowers, etc.; The product evaluation information associated with the target product generates a barrage and sends it to the terminal 104 .
终端104在接收到服务器102发送的弹幕之后,将该弹幕在终端104的该购物页面的视频播放区域,以便用户在进行商品购买时,可以以该弹幕为参考进行合适的商品购买,提升用户的购物体验。After receiving the bullet chat sent by the server 102, the terminal 104 places the bullet chat in the video playback area of the shopping page of the terminal 104, so that when the user purchases a commodity, he can use the bullet chat as a reference to purchase an appropriate commodity, Improve the user's shopping experience.
当然,实际应用中,在终端104的计算资源足够的情况下,该弹幕生成方法的具体实现也可以在终端104实现。Of course, in practical applications, the specific implementation of the bullet chatting generation method can also be implemented on the terminal 104 if the computing resources of the terminal 104 are sufficient.
参见图2,图2示出了根据本说明书一个实施例提供的一种弹幕生成方法的流程图,具体包括以下步骤。Referring to FIG. 2 , FIG. 2 shows a flow chart of a method for generating bullet chatting according to an embodiment of the present specification, which specifically includes the following steps.
步骤202:确定商品展示页面中视频播放区域的当前播放视频,并根据所述当前播放视频确定第一商品展示主题。Step 202: Determine the currently playing video in the video playing area on the product display page, and determine the first product display theme according to the currently playing video.
其中,商品展示页面可以理解为任意购物平台的商品展示页面,例如手机端购物平台a的购物app商品展示页面,或者是电脑端购物平台a的网页商品展示页面等。Wherein, the product display page can be understood as a product display page of any shopping platform, for example, a shopping app product display page of a mobile shopping platform a, or a web product display page of a computer shopping platform a.
商品展示页面中视频播放区域的当前播放视频,可以理解为任意类型、任意长度的播放视频;例如某个商品介绍的视频或者是关于某个节日的视频等。The currently playing video in the video playing area on the product display page can be understood as playing video of any type and length; for example, a video introducing a certain product or a video about a certain festival.
具体的,该弹幕生成方法应用于终端,该终端确定商品展示页面中视频播放区域的当前播放视频,并根据该当前播放视频确定第一商品展示主题。实际应用中,根据该当前播放视频确定第一商品展示主题的方式包括但不限于,根据当前播放视频的视频属性信息确定或者根据当前播放视频的视频水印信息确定,具体实现方式如下所述:Specifically, the barrage generation method is applied to a terminal, and the terminal determines the currently played video in the video play area on the product display page, and determines the first product display theme according to the currently played video. In practical applications, the method of determining the display theme of the first product according to the currently playing video includes, but is not limited to, determining according to the video attribute information of the currently playing video or determining according to the video watermark information of the currently playing video. The specific implementation methods are as follows:
所述根据所述当前播放视频确定第一商品展示主题,包括:The determining the theme of the first product display according to the currently playing video includes:
根据所述当前播放视频的视频属性信息确定第一商品展示主题;或者Determining the first commodity display theme according to the video attribute information of the currently playing video; or
根据所述当前播放视频的视频水印信息确定第一商品展示主题。Determine the first commodity display theme according to the video watermark information of the currently playing video.
其中,当前播放视频的视频属性信息包括但不限于该当前播放视频的视频名称、视频简介等;该当前播放视频的视频水印信息则可以理解为在该当前播放视频添加的文字或者图片水印信息。Wherein, the video attribute information of the currently playing video includes but not limited to the video name, video introduction, etc. of the currently playing video; the video watermark information of the currently playing video can be understood as text or picture watermark information added to the currently playing video.
具体说明,例如该当前播放视频的视频属性信息为视频名称,该视频名称为周五如何度过,那么根据该当前播放视频的视频属性信息,则可以确定第一商品展示主题为:周五如何吃;若该当前播放视频的视频水印信息为周五如何吃,那么根据该当前播放视频的视频水印信息,则可以直接确定第一商品展示主题为:周五如何吃。其中,当前播放视频的视频属性信息与第一商品展示主题的对应关系可以是预先设置的,同理,当前播放视频的视频水印信息与第一商品展示主题的对应关系也可以是预先设置的。Specifically, for example, the video attribute information of the currently playing video is the video name, and the video name is how to spend Friday, then according to the video attribute information of the currently playing video, it can be determined that the theme of the first product display is: how to spend Friday Eat; if the video watermark information of the currently playing video is how to eat on Friday, then according to the video watermark information of the currently playing video, it can be directly determined that the theme of the first commodity display is: how to eat on Friday. The correspondence between the video attribute information of the currently played video and the first commodity display theme may be preset, and similarly, the correspondence between the video watermark information of the currently playing video and the first commodity display theme may also be preset.
即在确定商品展示页面中视频播放区域的当前播放视频之前,根据当前时间生成第一商品展示主题,再根据第一商品展示主题确定视频播放区域的当前播放视频;例如在当前时间为周五的情况下,生成第一商品展示主题:周五如何吃;然后根据第一商品展示主题确定需要在该视频播放区域进行播放的当前播放视频;那么在确定了当前播放视频之后,终端即可快速的确定与该当前播放视频对应的第一商品展示主题。That is, before determining the currently playing video in the video playing area on the product display page, generate the first product display theme according to the current time, and then determine the currently playing video in the video playing area according to the first product display theme; for example, if the current time is Friday In this case, generate the first product display theme: how to eat on Friday; then determine the current playback video that needs to be played in the video playback area according to the first product display theme; then after determining the current playback video, the terminal can quickly A first commodity display theme corresponding to the currently playing video is determined.
本说明书实施例提供的弹幕生成方法中,根据当前播放视频的视频属性信息或者视频水印信息,即可快速准确的确定与该当前播放视频对应的第一商品展示主题。In the barrage generation method provided by the embodiment of this specification, according to the video attribute information or video watermark information of the currently playing video, the first commodity display theme corresponding to the currently playing video can be quickly and accurately determined.
步骤204:根据所述第一商品展示主题确定第一目标商品,并从所述商品展示页面的商品评价区域,确定与所述第一目标商品对应的第一评价信息。Step 204: Determine a first target product according to the first product display theme, and determine first evaluation information corresponding to the first target product from the product evaluation area of the product display page.
其中,商品展示页面的商品评价区域可以理解为用户对商品进行评价的评价区域,例如用户可以商品评价区域编辑:今天的青菜真新鲜的商品评价。Wherein, the product evaluation area of the product display page can be understood as the evaluation area where the user evaluates the product, for example, the user can edit the product evaluation in the product evaluation area: today's green vegetables are really fresh.
实际应用中,根据第一商品展示主题确定第一目标商品,可以理解为根据第一商品展示主题,确定与其关联的第一目标商品;具体的,可以根据第一商品展示主题与所有商品的商品标签的关联度,确定预设数量的(如一个、两个或多个)第一目标商品,其中,第一商品展示主题与所有商品的商品标签的关联度的确定方式可以根据实际应用进行选择,本说明书实施例不作任何限定,例如根据商品选择情况进行确定等。In practical applications, determining the first target product according to the theme of the first product display can be understood as determining the first target product associated with it according to the theme of the first product display; Relevance of tags, determine a preset number (such as one, two or more) of the first target product, wherein, the method of determining the degree of relevancy between the display theme of the first product and the product tags of all products can be selected according to the actual application , the embodiment of this specification does not make any limitation, for example, it is determined according to the situation of product selection.
沿用上例,若第一商品展示主题为周五如何吃,根据该第一商品展示主题则可以确定与其关联度较高的第一目标商品为:冬阴功、牛排、红酒等;那么从商品展示页面的商品评价区域,确定与第一目标商品对应的第一评价信息则可以理解为:暖冬来个冬阴功、周五和牛排更搭配等评价信息。实际应用中,也可以给商品评价区域的每条商品评价添加评价标签,后续可以直接将第一商品展示主题与评价标签进行匹配,实现与第一商品展示主题匹配的第一评价信息的选择,例如第一商品展示主题为周五如何吃的情况下,与评价标签:牛排、火锅、烧烤关联,那么与第一商品展示主题对应的第一评价信息则可以理解为:评价标签为牛排、火锅、烧烤的商品评价信息。Using the above example, if the theme of the first product display is how to eat on Friday, according to the theme of the first product display, it can be determined that the first target product with a high degree of correlation with it is: Tom Yum Kung, steak, red wine, etc.; then from the product display In the product evaluation area of the page, if the first evaluation information corresponding to the first target product is determined, it can be understood as: evaluation information such as Tom Yum Kung in the warm winter, and a better match with steak on Friday. In practical applications, it is also possible to add an evaluation label to each product evaluation in the product evaluation area, and then directly match the theme of the first product display with the evaluation label to realize the selection of the first evaluation information that matches the theme of the first product display. For example, when the theme of the first product display is how to eat on Friday, it is associated with the evaluation tags: steak, hot pot, barbecue, then the first evaluation information corresponding to the theme of the first product display can be understood as: the evaluation tags are steak, hot pot , Barbecue product evaluation information.
实际应用中,由于用户对于商品的评价会存在重复的情况,若将每个商品评价信息都生成弹幕,不仅会对用户造成视觉困扰,也会极大的浪费网络资源,因此在确定与第一商品展示主题对应的商品评价信息之后,还需要对与第一商品展示主题对应的商品评价信息进行去重,以使得后续生成合适的主题弹幕。具体实现方式如下所述:In practical applications, due to the duplication of product evaluation information by users, if each product evaluation information is generated as a barrage, it will not only cause visual disturbance to users, but also greatly waste network resources. After displaying the product evaluation information corresponding to a product theme, it is necessary to deduplicate the product evaluation information corresponding to the first product display theme, so that a suitable theme barrage can be subsequently generated. The specific implementation is as follows:
所述从所述商品展示页面的商品评价区域,确定与所述第一目标商品对应的第一评价信息,包括:The determining the first evaluation information corresponding to the first target product from the product evaluation area of the product display page includes:
从所述商品展示页面的商品评价区域,确定与所述第一目标商品对应的初始评价信息;Determining initial evaluation information corresponding to the first target product from the product evaluation area of the product display page;
提取所述初始评价信息中的关键词语,并根据所述关键词语对所述初始评价信息进行去重,获得第一评价信息。Key words in the initial evaluation information are extracted, and the initial evaluation information is deduplicated according to the key words to obtain first evaluation information.
其中,与第一目标商品对应的初始评价信息,可以理解为与第一目标商品关联的所有的商品评价信息。Wherein, the initial evaluation information corresponding to the first target product can be understood as all product evaluation information associated with the first target product.
而对于初始评价信息中的关键词语的提取可以通过现有的任意方式实现,本说明书实施例对此不作任何限定。However, the extraction of key words in the initial evaluation information may be implemented in any existing manner, which is not limited in this embodiment of the specification.
具体的,终端先从商品展示页面的商品评价区域,确定与该第一目标商品对应的所有的初始评价信息;然后提取每个初始评价信息中的关键词语,并根据每个初始评价信息中的关键词语对初始评价信息进行去重,获得第一评价信息。例如将包含相同关键词语的初始评价信息删除,仅保留任意一个。Specifically, the terminal first determines all initial evaluation information corresponding to the first target product from the product evaluation area of the product display page; then extracts key words in each initial evaluation information, and The key words deduplicate the initial evaluation information to obtain the first evaluation information. For example, the initial evaluation information containing the same keyword is deleted, and only any one is retained.
此外,为了保证主题弹幕生成质量,提升用户参考效果,还可以对去重后的初始评价信息按照评价质量进行排序,然后选择一部分排序靠前的优质的初始评价信息,作为第一评价信息,以便后续可以生成质量较优的主题弹幕,在该主题弹幕中存在商品链接时,提升商品推荐效果。具体实现方式如下所述:In addition, in order to ensure the quality of the topic barrage generation and improve the user's reference effect, the initial evaluation information after deduplication can also be sorted according to the evaluation quality, and then select a part of the top-ranked high-quality initial evaluation information as the first evaluation information. In order to generate a better-quality topic barrage in the future, when there are product links in the topic barrage, the product recommendation effect will be improved. The specific implementation is as follows:
所述根据所述关键词语对所述初始评价信息进行去重,获得第一评价信息,包括:The deduplication of the initial evaluation information according to the key words to obtain the first evaluation information includes:
根据所述关键词语对所述初始评价信息进行去重,并对去重后的初始评价信息进行排序;Deduplicating the initial evaluation information according to the key words, and sorting the deduplicated initial evaluation information;
根据排序结果从所述去重后的初始评价信息中,选取预设数量的初始评价信息确定为第一评价信息。A preset number of initial evaluation information is selected from the deduplicated initial evaluation information according to the sorting result to be determined as the first evaluation information.
其中,预设数量可以根据实际应用进行设置,例如预设数量可以为300个或者500个等。Wherein, the preset number can be set according to the actual application, for example, the preset number can be 300 or 500 and so on.
具体的,对去重后的初始评价信息进行排序,可以理解为确定去重后的初始评价信息的质量,根据去重后的初始评价信息的质量对去重后的初始评价信息进行排序;而确定去重后的初始评价信息的质量可以根据预先训练的机器学习模型(如质量评价模型)实现,例如将该去重后的初始评价信息输入该质量评价模型,即可获得去重后的初始评价信息的质量分;然后根据质量分对去重后的初始评价信息进行排序。当然,实际应用中,也可以有其他的排序方式,比如按照去重后的初始评价信息的字数对其进行排序,或者是根据去重后的初始评价信息对应的用户的积分等进行排序等。Specifically, sorting the deduplicated initial evaluation information can be understood as determining the quality of the deduplicated initial evaluation information, and sorting the deduplicated initial evaluation information according to the quality of the deduplicated initial evaluation information; and Determining the quality of the deduplicated initial evaluation information can be realized according to a pre-trained machine learning model (such as a quality evaluation model), for example, input the deduplicated initial evaluation information into the quality evaluation model, and then the deduplicated initial evaluation information can be obtained. The quality score of the evaluation information; and then sort the deduplicated initial evaluation information according to the quality score. Of course, in practical applications, there may also be other sorting methods, such as sorting the deduplicated initial evaluation information according to the number of words, or sorting according to the user's points corresponding to the deduplicated initial evaluation information, etc.
然后,根据排序结果从去重后的初始评价信息中选取预设数量(如top100)个初始评价信息作为第一评价信息。通过此种方式从去重后的初始评价信息中进一步选择优质的初始评价信息作为第一评价信息,以此提升生成的主题弹幕质量。Then, a preset number (such as top100) of initial evaluation information is selected from the deduplicated initial evaluation information as the first evaluation information according to the sorting result. In this way, high-quality initial evaluation information is further selected from the deduplicated initial evaluation information as the first evaluation information, so as to improve the quality of the generated topic barrage.
步骤206:根据所述第一评价信息生成主题弹幕,并将所述主题弹幕在所述视频播放区域进行展示。Step 206: Generate a topic bullet chat according to the first evaluation information, and display the topic bullet chat in the video playback area.
其中,主题弹幕可以理解为与当前播放视频的第一商品展示主题对应的主题弹幕。Wherein, the topic barrage can be understood as a topic barrage corresponding to the first commodity display theme of the currently playing video.
沿用上例,若第一评价信息为暖冬来个冬阴功,那么该主题弹幕则可以理解为包含“暖冬来个冬阴功”内容的文字弹幕,然后将该主题弹幕发送至视频播放区域进行展示。Using the above example, if the first comment information is "Warm Winter, Come to Tom Yum Kung", then the topic bullet chat can be understood as a text bullet chat containing the content of "Warm Winter, Come to Tom Yum Kung", and then send the topic bullet chat to the video playback area to show.
参见图3,图3示出了本说明书一个实施例提供的一种弹幕生成方法中主题弹幕在视频播放区域的展示示意图。Referring to FIG. 3 , FIG. 3 shows a schematic diagram of a topic bullet chat in a video playback area in a bullet chat generation method provided by an embodiment of this specification.
图3中包含“暖冬来个冬阴功”内容的文字弹幕、以及包含“味道很正宗,自己里面放点虾和草菇就好了”内容的文字弹幕。Figure 3 contains a text barrage containing the content of "Warm Winter Come to Tom Yum Kung", and a text barrage containing the content of "The taste is very authentic, just put some shrimp and straw mushrooms in it".
具体实施时,一种情况下,可以直接根据第一评价信息对应的第一目标商品,根据第一评价信息以及该第一评价信息对应的第一目标商品的商品链接生成主题弹幕;另一种情况下,在第一评价信息中包括除对应的第一目标商品之外的其他目标商品的情况下,则可以根据第一评价信息、该第一评价信息对应的第一目标商品的商品链接、以及该第一评价信息中包含的第二目标商品的商品链接,生成主题弹幕。具体实现方式如下所述:During specific implementation, in one case, the topic barrage can be generated directly according to the first target product corresponding to the first evaluation information, and based on the first evaluation information and the product link of the first target product corresponding to the first evaluation information; In this case, if the first evaluation information includes other target products other than the corresponding first target product, then the first evaluation information and the product link of the first target product corresponding to the first evaluation information can be used. , and the product link of the second target product contained in the first evaluation information to generate a topic barrage. The specific implementation is as follows:
所述根据所述第一评价信息生成主题弹幕,包括:The generating a topic barrage according to the first evaluation information includes:
确定所述第一评价信息对应的第一目标商品,根据所述第一评价信息以及所述第一目标商品的商品链接生成主题弹幕;或者Determine the first target product corresponding to the first evaluation information, and generate a themed barrage based on the first evaluation information and the product link of the first target product; or
解析所述第一评价信息,确定所述第一评价信息中的商品信息,并根据所述商品信息确定第二目标商品;Analyzing the first evaluation information, determining product information in the first evaluation information, and determining a second target product according to the product information;
根据所述第一评价信息以及所述第二目标商品的商品链接生成主题弹幕。A topic barrage is generated according to the first evaluation information and the product link of the second target product.
沿用上例,若第一评价信息为“暖冬来个冬阴功”,该第一评价信息对应的第一目标商品为冬阴功,那么则可以根据第一评价信息“暖冬来个冬阴功”,该第一评价信息对应的第一目标商品“冬阴功”生成主题弹幕,最后在主题弹幕生成时,该主题弹幕中不仅包括暖冬来个冬阴功的文本信息,还包括第一目标商品:冬阴功的商品链接。Using the above example, if the first evaluation information is "Tom Yum Kung in Warm Winter", and the first target product corresponding to the first evaluation information is Tom Yum Kung, then according to the first evaluation information "Tom Yum Kung in Warm Winter", the The first target product "Tom Yum Kung" corresponding to the first evaluation information generates a theme barrage. Finally, when the theme barrage is generated, the theme barrage not only includes the text information about warm winter coming to Tom Yum Kung, but also includes the first target product: Product link of Tom Yum Kung.
而在第一评价信息中不仅包括对应的与其对应的第一目标商品,也包括其他商品的情况下,则可以在主题弹幕中嵌入所有的商品链接,其中,第二目标商品包括但不限于第一目标商品。If the first evaluation information includes not only the corresponding first target product but also other products, all product links can be embedded in the topic barrage, where the second target product includes but is not limited to The first target product.
例如,若第一评价信息为“暖冬来个冬阴功,再搭配点啤酒更丰盛”,那么解析该第一评价信息,可以获得第一评价信息中的商品信息(如商品名称或者是商品语义信息等),那么根据商品信息确定的第二目标商品则可以为:冬阴功、啤酒,那么则可以根据第一评价信息“暖冬来个冬阴功,再搭配点啤酒更丰盛”,解析该第一评价信息获得的第二目标商品“冬阴功、啤酒”生成主题弹幕,最后在主题弹幕生成时,该主题弹幕中不仅包括暖冬来个冬阴功,再搭配点啤酒更丰盛的文本信息,还包括第一目标商品:冬阴功以及啤酒的商品链接。For example, if the first evaluation information is "Tom Yum Goong in warm winter, it will be richer with some beer", then by analyzing the first evaluation information, the product information (such as product name or product semantic information) in the first evaluation information can be obtained. etc.), then the second target product determined according to the product information can be: Tom Yum Goong, beer, then the first evaluation can be analyzed according to the first evaluation information "Tom Yum Goong in warm winter, paired with some beer" The second target commodity "Tom Yum Kung and Beer" obtained from the information generates a themed barrage. Finally, when the themed barrage is generated, the themed barrage not only includes warm winter tom yum kung, but also richer text information with some beer. Including the first target product: product links of Tom Yum Kung and beer.
本说明书实施例提供的弹幕生成方法中,在进行主题弹幕生成的情况下,可以根据第一评价信息、以及第一评价信息对应的第一目标商品或者解析第一评价信息获得的第二目标商品,生成带有商品链接的主题弹幕,使得用户后续可以通过对主题弹幕中商品链接的点击,直接进行商品购买,增加用户的购物体验。In the bullet chat generation method provided by the embodiment of this specification, in the case of generating a topic bullet chat, it can be based on the first evaluation information and the first target product corresponding to the first evaluation information or the second product obtained by analyzing the first evaluation information. For the target product, a topic barrage with product links is generated, so that users can directly purchase the product by clicking on the product link in the topic barrage, increasing the user's shopping experience.
参见图4,图4示出了本说明书一个实施例提供的一种弹幕生成方法中视频播放区域的带有目标商品的商品链接的展示示意图。Referring to FIG. 4 , FIG. 4 shows a schematic diagram of a product link with a target product in a video play area in a bullet chatting generation method provided by an embodiment of the present specification.
图4中包含“暖冬来个冬阴功”内容的文字弹幕、以及包含“味道很正宗,自己里面放点虾和草菇就好了”内容的文字弹幕;而包含“味道很正宗,自己里面放点虾和草菇就好了”内容的文字弹幕中还包括“虾和草菇”的商品链接,当用户点击该文字弹幕的情况下,则会在该文本弹幕下方或者侧边出现“虾和草菇”的商品链接,用户可以直接进行点击加购。Figure 4 contains the text barrage with the content of "Warm Winter Come to Tom Yum Kung" and the text barrage with the content of "The taste is very authentic, just put some shrimp and straw mushrooms in it"; and the text barrage with the content of "The taste is very authentic. Just put some shrimp and straw mushrooms in it." The text bullet screen of the content also includes a product link of "shrimp and straw mushroom". A product link of "Shrimp and Straw Mushroom" appears on the side, and users can directly click to add purchases.
此外,由于主题弹幕的展示需要耗费较多的流量,为了节省用户流量,进一步的提升用户的购物体验,终端在当前网络模式满足预设网络需求的情况下,才会将主题弹幕进行展示,例如在wifi网络下,才会进行主题弹幕展示,避免流量浪费。具体实现方式如下所述:In addition, since the display of the theme bullet chatting needs to consume more traffic, in order to save user traffic and further improve the user's shopping experience, the terminal will only display the theme bullet chatting when the current network mode meets the preset network requirements , For example, only under the wifi network, the theme barrage will be displayed to avoid traffic waste. The specific implementation is as follows:
所述将所述主题弹幕在所述视频播放区域进行展示,包括:The displaying of the theme barrage in the video playback area includes:
在确定当前网络模式满足预设网络需求的情况下,将所述主题弹幕根据预设动画效果在所述视频播放区域进行展示。When it is determined that the current network mode meets the preset network requirements, the theme barrage is displayed in the video playback area according to a preset animation effect.
其中,预设网络需求可以根据实际应用进行设置,例如预设网络需求为wifi网络下进行主题弹幕展示等。Wherein, the preset network requirement can be set according to the actual application, for example, the preset network requirement is to display the theme barrage under the wifi network, and the like.
以预设网络需求为wifi网络下进行主题弹幕展示为例。Take the preset network requirement as an example to display the theme barrage under the wifi network.
具体的,在确定当前网络模式为wifi网络的情况下,将主题弹幕根据预设动画效果在视频播放区域进行展示,其中,预设动画效果也可以根据实际需求进行设置,例如从右向左进行主题弹幕展示等。Specifically, when the current network mode is determined to be a wifi network, the theme barrage is displayed in the video playback area according to the preset animation effect, wherein the preset animation effect can also be set according to actual needs, for example, from right to left Carry out theme barrage display, etc.
本说明书实施例提供的该弹幕生成方法,通过将用户对于商品的评价,自动转译为主题弹幕的形式展示在商品展示页面的视频播放区域,使得其他用户在商品展示页面进行商品购买时,可以将该主题弹幕作为参考进行商品购买,变相的以该主题弹幕的交互形式向其他用户实现商品推荐,极大的提升用户的购物体验。The bullet chatting generation method provided by the embodiment of this specification automatically translates the user’s evaluation of the product into a themed bullet screen and displays it in the video playback area of the product display page, so that when other users purchase products on the product display page, You can use this topic bullet chat as a reference to purchase products, and use the interactive form of this topic bullet chat to recommend products to other users in a disguised form, which greatly improves the user's shopping experience.
此外,为了进一步的提升用户的购物体验,还可以在视频播放区域添加主题展示卡,通过主题展示卡的方式进一步的进行商品推荐。具体实现方式如下所述:In addition, in order to further improve the user's shopping experience, a theme display card can also be added in the video playback area, and further product recommendations can be made through the theme display card. The specific implementation is as follows:
所述根据所述当前播放视频确定第一商品展示主题之后,还包括:After determining the theme of the first product display according to the currently playing video, it also includes:
确定与所述第一商品展示主题关联的子商品展示主题,并根据所述子商品展示主题生成主题展示卡,且将所述主题展示卡在所述视频播放区域进行展示。Determine the sub-commodity display theme associated with the first commodity display theme, generate a theme display card according to the sub-commodity display theme, and display the theme display card in the video playback area.
例如,第一商品展示主题为周五如何吃,那么与该第一商品展示主题关联的子商品展示主题则可以理解为周五吃好点,周五单身人士如何吃,周五聚会如何吃等。For example, if the theme of the first product display is how to eat on Friday, then the sub-product display topics related to the first product display theme can be understood as eating better on Friday, how to eat single people on Friday, how to eat at parties on Friday, etc. .
而在确定与第一商品展示主题关联的子商品展示主题之后,即可根据子商品展示主题生成主题展示卡,并将该主题展示卡在视频播放区域进行展示。After the sub-commodity display theme associated with the first commodity display theme is determined, a theme display card can be generated according to the sub-commodity display theme, and the theme display card can be displayed in the video playback area.
具体的,所述所述根据所述子商品展示主题生成主题展示卡,包括:Specifically, the generating a theme display card according to the sub-commodity display theme includes:
确定与所述子商品展示主题对应的目标展示商品;determining the target display product corresponding to the sub-product display theme;
根据所述子商品展示主题以及所述目标展示商品,利用预设展示卡模板生成主题展示卡。According to the sub-commodity display theme and the target display product, a theme display card is generated using a preset display card template.
其中,预设展示卡模板可以根据实际应用预先设置,利用该预设展示卡模板即可生成预设格式的主题展示卡。Wherein, the preset display card template can be preset according to the actual application, and the preset display card template can be used to generate a theme display card in a preset format.
具体的,首先确定与该子商品展示主题对应的目标展示商品;然后根据该子商品展示主题以及所述目标展示商品,利用预设展示卡模板即可生成主题展示卡,例如该主题展示卡上包括子商品展示主题、浏览量、销量高的目标展示商品等。Specifically, first determine the target display product corresponding to the sub-commodity display theme; then according to the sub-commodity display theme and the target display product, the theme display card can be generated by using the preset display card template, for example, on the theme display card Including sub-product display topics, page views, target display products with high sales, etc.
参见图5,图5示出了本说明书一个实施例提供的一种弹幕生成方法中主题展示卡的展示意图。Referring to FIG. 5 , FIG. 5 shows a schematic diagram of a theme display card in a bullet chatting generation method provided by an embodiment of the present specification.
图5中的主题展示卡包括主题:周五单身人士如何吃;浏览量:1.3万正在逛;目标展示商品:饮料1、饮料2。The theme display card in Figure 5 includes theme: how singles eat on Friday; page views: 13,000 are shopping; target display products: drink 1, drink 2.
实际应用中,可能会存在多个主题展示卡,而视频播放区域的播放界面的区域是有限的,因此为了提高商品推荐效果,可以对多个主题展示卡进行排序,将用户较为感兴趣的主题展示卡拍在前面,展示在视频播放区域的播放界面上,提升用户的购物体验以及推荐到商品购买转化率。具体实现方式如下所述:In practical applications, there may be multiple theme display cards, and the area of the playback interface in the video playback area is limited. Therefore, in order to improve the product recommendation effect, multiple theme display cards can be sorted, and the topics that users are more interested in The display card is shot at the front and displayed on the playback interface of the video playback area to improve the user's shopping experience and the conversion rate from recommendation to product purchase. The specific implementation is as follows:
所述将所述主题展示卡在所述视频播放区域进行展示,包括:The displaying of the theme display card in the video playback area includes:
根据与所述第一商品展示主题的关联度对所述主题展示卡进行排序,并根据排序结果将所述主题展示卡在所述视频播放区域进行展示。The theme display cards are sorted according to the degree of association with the first commodity display theme, and the theme display cards are displayed in the video play area according to the sorting result.
具体的,根据第一商品展示主题与主题展示卡的关联度,对主题展示卡进行排序,并根据排序结果将主题展示卡在视频播放区域进行展示。例如视频播放区域的播放界面只能排列3个主题展示卡,则选择排序后的top3的主题展示卡在视频播放区域的下面进行展示,而其他的主题展示卡则可以隐藏在视频播放区域中,当用户左右滑动展示在视频播放区域的主题展示卡的情况下,可以按序显式的展示对应的主题展示卡。Specifically, the theme display cards are sorted according to the degree of relevance between the first product display theme and the theme display cards, and the theme display cards are displayed in the video playback area according to the sorting results. For example, the playback interface of the video playback area can only arrange 3 themed display cards, then select the sorted top3 theme display cards to be displayed under the video playback area, while other theme display cards can be hidden in the video playback area. When the user slides left and right to display the theme display cards in the video playback area, the corresponding theme display cards may be displayed sequentially and explicitly.
参见图6,图6示出了本说明书一个实施例提供的一种弹幕生成方法中主题展示卡在视频播放区域进行展示的展示意图。Referring to FIG. 6 , FIG. 6 shows a schematic diagram of displaying theme display cards in a video playback area in a bullet chatting generation method provided by an embodiment of the present specification.
图6中的视频播放区域展示两个主题展示卡,分别为主题展示卡1、主题展示卡2。The video playback area in Figure 6 displays two theme display cards, namely theme display card 1 and theme display card 2.
此外,主题展示卡对应主题聚合页面,当视频播放区域的任意主题展示卡被触发的情况下,均会打开该主题聚合页面,而该主题聚合页面中会展示每个主题展示卡对应的详细主题内容页,并且每个主题展示卡对应的主题内容页中也会进行弹幕展示,其中,每个主题内容页中展示的弹幕则与第二商品展示主题相关。具体实现方式如下所述:In addition, the theme display card corresponds to the theme aggregation page. When any theme display card in the video playback area is triggered, the theme aggregation page will be opened, and the detailed theme corresponding to each theme display card will be displayed on the theme aggregation page The content page, and the barrage display will also be displayed on the theme content page corresponding to each theme display card, wherein the barrage displayed on each theme content page is related to the second product display theme. The specific implementation is as follows:
所述根据所述子商品展示主题生成主题展示卡之后,还包括:After the theme display card is generated according to the sub-commodity display theme, it also includes:
确定与所述主题展示卡对应的主题聚合页面,其中,所述主题聚合页面由所述主题展示卡对应的主题内容页组成;Determining a theme aggregation page corresponding to the theme display card, wherein the theme aggregation page is composed of theme content pages corresponding to the theme display card;
确定所述主题内容页中主题展示区域对应的第二商品展示主题,以及与所述第二商品展示主题对应的目标展示商品,其中,所述第二商品展示主题与所述主题内容页对应的主题展示卡的子商品展示主题一致;Determine the second product display theme corresponding to the theme display area in the theme content page, and the target display product corresponding to the second product display theme, wherein the second product display theme corresponds to the theme content page The display theme of the sub-products of the themed display card is the same;
从所述商品评价区域,确定与所述目标展示商品对应的第二评价信息;From the product evaluation area, determine the second evaluation information corresponding to the target display product;
根据所述第二评价信息生成子主题弹幕,并将所述子主题弹幕在所述主题展示区域进行展示。A subtopic bullet chat is generated according to the second evaluation information, and the subtopic bullet chat is displayed in the topic display area.
其中,主题展示卡对应的主题内容页可以理解为在该主题展示卡被触发的情况下,在主题聚合页面展示的、具有详细的该主题展示卡内容的页面。并且该主题内容页中包括主题展示区域,并且所述主题展示区域为主题视频播放区域或者主题图片展示区域;即在该主题展示区域可以进行视频播放或者进行图片展示。Wherein, the theme content page corresponding to the theme display card can be understood as a page with detailed content of the theme display card displayed on the theme aggregation page when the theme display card is triggered. And the theme content page includes a theme display area, and the theme display area is a theme video playback area or a theme picture display area; that is, video playback or picture display can be performed in the theme display area.
具体的,确定与主题展示卡对应的主题聚合页面,即由多个主题展示卡对应的主题内容页组成的主题聚合页面;确定每个主题聚合页面中主题展示区域对应的第二商品展示主题,以及与所述第二商品展示主题对应的目标展示商品,其中,该第二商品展示主题即可理解为主题聚合页面对应的主题展示卡的子商品展示主题,那么该与第二商品展示主题对应的目标展示商品,则可以理解为与子商品展示主题对应的目标展示商品;然后从商品评价区域,选择与该目标展示商品对应的第二评价信息,并根据第二评价信息生成子主题弹幕,并将该子主题弹幕在主题展示区域进行展示。Specifically, determine the theme aggregation page corresponding to the theme display card, that is, a theme aggregation page composed of theme content pages corresponding to multiple theme display cards; determine the second commodity display theme corresponding to the theme display area in each theme aggregation page, And the target display product corresponding to the second product display theme, wherein the second product display theme can be understood as the sub-product display theme of the theme display card corresponding to the theme aggregation page, then this corresponds to the second product display theme The target display product can be understood as the target display product corresponding to the sub-product display theme; then from the product evaluation area, select the second evaluation information corresponding to the target display product, and generate a sub-theme barrage based on the second evaluation information , and display the subtopic barrage in the topic display area.
具体的,从商品评价区域,选择与该目标展示商品对应的第二评价信息的具体实现方式,与根据第二评价信息生成子主题弹幕,并将该子主题弹幕在主题展示区域进行展示的具体实现方式,均可以参见上述实施例的详细介绍,本说明书实施例对此不做任何限定。Specifically, from the product evaluation area, select the specific implementation method of the second evaluation information corresponding to the target display product, generate a sub-theme barrage based on the second evaluation information, and display the sub-theme barrage in the theme display area For a specific implementation manner, reference may be made to the detailed introduction of the foregoing embodiments, which are not limited in any way in the embodiments of this specification.
本说明书实施例提供的该弹幕生成方法,不仅可以在商品展示页面的视频播放区域,根据用户在商品评价区域的商品评价信息,生成在视频播放区域展示的主题弹幕进行展示,从而实现根据主题弹幕对用户的商品推荐,提升用户体验;还可以在用户点击某个主题展示卡的情况下,在该主题展示卡对应的主题聚合页面,也根据用户在商品评价区域的商品评价信息,生成在该主题聚合页面展示的子主题弹幕进行展示,从而进一步实现根据子主题弹幕对用户的商品推荐,提升用户体验。通过此种方式,可以在任何购物页面均可以实现以弹幕形式的商品推荐,极大的提升商品推荐效果。The bullet chatting generation method provided by the embodiment of this specification can not only generate and display themed bullet chatting in the video playback area according to the product evaluation information of the user in the product evaluation area in the video playback area of the product display page, so as to realize the The theme barrage recommends the user's products to improve user experience; when the user clicks on a theme display card, the theme aggregation page corresponding to the theme display card can also be based on the user's product evaluation information in the product evaluation area. Generate and display the subtopic barrage displayed on the topic aggregation page, so as to further realize product recommendation to users based on the subtopic barrage and improve user experience. In this way, product recommendations in the form of barrage can be realized on any shopping page, which greatly improves the effect of product recommendation.
具体的,该弹幕生成方法基于与用户互动形式的导购探索;通过将用户对于商品的评价信息,自动转译为前台互动弹幕的形式。在用户评价的评价同时自动识别与商品之间的搭配关系,生成前台互动弹幕,并进行前台交互弹幕展示推荐。Specifically, the barrage generation method is based on the exploration of shopping guides in the form of interaction with users; by automatically converting the user's evaluation information on commodities into the form of front-end interactive barrage. At the same time as the evaluation of user reviews, it automatically identifies the matching relationship with the product, generates an interactive barrage at the front desk, and displays and recommends the interactive barrage at the front desk.
与上述方法实施例相对应,本说明书还提供了弹幕生成装置实施例,图7示出了本说明书一个实施例提供的一种弹幕生成装置的结构示意图。如图7所示,该装置包括:Corresponding to the above method embodiment, this specification also provides an embodiment of a bullet chatting generation device, and FIG. 7 shows a schematic structural diagram of a bullet chatting generation device provided by an embodiment of this specification. As shown in Figure 7, the device includes:
第一主题确定模块702,被配置为确定商品展示页面中视频播放区域的当前播放视频,并根据所述当前播放视频确定第一商品展示主题;The first theme determination module 702 is configured to determine the currently played video in the video play area on the product display page, and determine the first product display theme according to the currently played video;
第一评价信息确定模块704,被配置为根据所述第一商品展示主题确定第一目标商品,并从所述商品展示页面的商品评价区域,确定与所述第一目标商品对应的第一评价信息;The first evaluation information determination module 704 is configured to determine the first target product according to the first product display theme, and determine the first evaluation corresponding to the first target product from the product evaluation area of the product display page information;
第一弹幕生成模块706,被配置为根据所述第一评价信息生成主题弹幕,并将所述主题弹幕在所述视频播放区域进行展示。The first bullet chat generating module 706 is configured to generate a topic bullet chat according to the first evaluation information, and display the topic bullet chat in the video playing area.
可选地,所述第一评价信息确定模块704,进一步被配置为:Optionally, the first evaluation information determining module 704 is further configured to:
从所述商品展示页面的商品评价区域,确定与所述第一目标商品对应的初始评价信息;Determining initial evaluation information corresponding to the first target product from the product evaluation area of the product display page;
提取所述初始评价信息中的关键词语,并根据所述关键词语对所述初始评价信息进行去重,获得第一评价信息。Key words in the initial evaluation information are extracted, and the initial evaluation information is deduplicated according to the key words to obtain first evaluation information.
可选地,所述第一评价信息确定模块704,进一步被配置为:Optionally, the first evaluation information determining module 704 is further configured to:
根据所述关键词语对所述初始评价信息进行去重,并对去重后的初始评价信息进行排序;Deduplicating the initial evaluation information according to the key words, and sorting the deduplicated initial evaluation information;
根据排序结果从所述去重后的初始评价信息中,选取预设数量的初始评价信息确定为第一评价信息。A preset number of initial evaluation information is selected from the deduplicated initial evaluation information according to the sorting result to be determined as the first evaluation information.
可选地,所述第一弹幕生成模块706,进一步被配置为:Optionally, the first barrage generating module 706 is further configured to:
确定所述第一评价信息对应的第一目标商品,根据所述第一评价信息以及所述第一目标商品的商品链接生成主题弹幕;或者Determine the first target product corresponding to the first evaluation information, and generate a themed barrage based on the first evaluation information and the product link of the first target product; or
解析所述第一评价信息,确定所述第一评价信息中的商品信息,并根据所述商品信息确定第二目标商品;Analyzing the first evaluation information, determining product information in the first evaluation information, and determining a second target product according to the product information;
根据所述第一评价信息以及所述第二目标商品的商品链接生成主题弹幕。A topic barrage is generated according to the first evaluation information and the product link of the second target product.
可选地,所述第一主题确定模块702,进一步被配置为:Optionally, the first topic determination module 702 is further configured to:
根据所述当前播放视频的视频属性信息确定第一商品展示主题;或者Determining the first commodity display theme according to the video attribute information of the currently playing video; or
根据所述当前播放视频的视频水印信息确定第一商品展示主题。Determine the first commodity display theme according to the video watermark information of the currently playing video.
可选地,所述第一弹幕生成模块706,进一步被配置为:Optionally, the first barrage generating module 706 is further configured to:
在确定当前网络模式满足预设网络需求的情况下,将所述主题弹幕根据预设动画效果在所述视频播放区域进行展示。When it is determined that the current network mode meets the preset network requirements, the theme barrage is displayed in the video playback area according to a preset animation effect.
可选地,所述装置,还包括:Optionally, the device also includes:
主题展示卡生成模块,被配置为:The theme display card generation module is configured as:
确定与所述第一商品展示主题关联的子商品展示主题,并根据所述子商品展示主题生成主题展示卡,且将所述主题展示卡在所述视频播放区域进行展示。Determine the sub-commodity display theme associated with the first commodity display theme, generate a theme display card according to the sub-commodity display theme, and display the theme display card in the video playback area.
可选地,所述主题展示卡生成模块,进一步被配置为:Optionally, the theme display card generation module is further configured to:
确定与所述子商品展示主题对应的目标展示商品;determining the target display product corresponding to the sub-product display theme;
根据所述子商品展示主题以及所述目标展示商品,利用预设展示卡模板生成主题展示卡。According to the sub-commodity display theme and the target display product, a theme display card is generated using a preset display card template.
可选地,所述装置,还包括:Optionally, the device also includes:
第二弹幕生成模块,被配置为:The second barrage generation module is configured as:
确定与所述主题展示卡对应的主题聚合页面,其中,所述主题聚合页面由所述主题展示卡对应的主题内容页组成;Determining a theme aggregation page corresponding to the theme display card, wherein the theme aggregation page is composed of theme content pages corresponding to the theme display card;
确定所述主题内容页中主题展示区域对应的第二商品展示主题,以及与所述第二商品展示主题对应的目标展示商品,其中,所述第二商品展示主题与所述主题内容页对应的主题展示卡的子商品展示主题一致;Determine the second product display theme corresponding to the theme display area in the theme content page, and the target display product corresponding to the second product display theme, wherein the second product display theme corresponds to the theme content page The display theme of the sub-products of the themed display card is the same;
从所述商品评价区域,确定与所述目标展示商品对应的第二评价信息;From the product evaluation area, determine the second evaluation information corresponding to the target display product;
根据所述第二评价信息生成子主题弹幕,并将所述子主题弹幕在所述主题展示区域进行展示。A subtopic bullet chat is generated according to the second evaluation information, and the subtopic bullet chat is displayed in the topic display area.
可选地,所述主题展示区域为主题视频播放区域或者主题图片展示区域。Optionally, the theme display area is a theme video play area or a theme picture display area.
可选地,所述第二弹幕生成模块,进一步被配置为:Optionally, the second barrage generation module is further configured to:
根据与所述第一商品展示主题的关联度对所述主题展示卡进行排序,并根据排序结果将所述主题展示卡在所述视频播放区域进行展示。The theme display cards are sorted according to the degree of association with the first commodity display theme, and the theme display cards are displayed in the video play area according to the sorting result.
本说明书实施例提供的该弹幕生成装置,通过将用户对于商品的评价,自动转译为主题弹幕的形式展示在商品展示页面的视频播放区域,使得其他用户在商品展示页面进行商品购买时,可以将该主题弹幕作为参考进行商品购买,变相的以该主题弹幕的交互形式向其他用户实现商品推荐,极大的提升用户的购物体验。The barrage generating device provided in the embodiment of this specification automatically translates the user’s evaluation of the product into a themed barrage and displays it in the video playback area of the product display page, so that when other users purchase products on the product display page, You can use this topic bullet chat as a reference to purchase products, and use the interactive form of this topic bullet chat to recommend products to other users in a disguised form, which greatly improves the user's shopping experience.
上述为本实施例的一种弹幕生成装置的示意性方案。需要说明的是,该弹幕生成装置的技术方案与上述的弹幕生成方法的技术方案属于同一构思,弹幕生成装置的技术方案未详细描述的细节内容,均可以参见上述弹幕生成方法的技术方案的描述。The foregoing is a schematic solution of a barrage generating device in this embodiment. It should be noted that the technical solution of the bullet chatting generation device and the above technical solution of the bullet chatting generation method belong to the same concept, and details of the technical solution of the bullet chatting generation device that are not described in detail can be found in the above bullet chatting generation method. Description of the technical solution.
图8示出了根据本说明书一个实施例提供的一种计算设备800的结构框图。该计算设备800的部件包括但不限于存储器810和处理器820。处理器820与存储器810通过总线830相连接,数据库850用于保存数据。FIG. 8 shows a structural block diagram of a computing device 800 provided according to an embodiment of this specification. Components of the computing device 800 include, but are not limited to, a memory 810 and a processor 820 . The processor 820 is connected to the memory 810 through the bus 830, and the database 850 is used for storing data.
计算设备800还包括接入设备840,接入设备840使得计算设备800能够经由一个或多个网络860通信。这些网络的示例包括公用交换电话网(PSTN,Public SwitchedTelephone Network)、局域网(LAN,Local Area Network)、广域网(WAN,Wide AreaNetwork)、个域网(PAN,Personal Area Network)或诸如因特网的通信网络的组合。接入设备840可以包括有线或无线的任何类型的网络接口(例如,网络接口卡(NIC,networkinterface controller))中的一个或多个,诸如IEEE802.11无线局域网(WLAN,WirelessLocal Area Network)无线接口、全球微波互联接入(Wi-MAX,WorldwideInteroperability for Microwave Access)接口、以太网接口、通用串行总线(USB,Universal Serial Bus)接口、蜂窝网络接口、蓝牙接口、近场通信(NFC,Near FieldCommunication)接口,等等。Computing device 800 also includes an access device 840 that enables computing device 800 to communicate via one or more networks 860 . Examples of these networks include a public switched telephone network (PSTN, Public Switched Telephone Network), a local area network (LAN, Local Area Network), a wide area network (WAN, Wide Area Network), a personal area network (PAN, Personal Area Network) or a communication network such as the Internet The combination. The access device 840 may include one or more of wired or wireless network interfaces of any type (for example, a network interface card (NIC, network interface controller)), such as an IEEE802.11 wireless local area network (WLAN, Wireless Local Area Network) wireless interface , Worldwide Interoperability for Microwave Access (Wi-MAX, Worldwide Interoperability for Microwave Access) interface, Ethernet interface, Universal Serial Bus (USB, Universal Serial Bus) interface, cellular network interface, Bluetooth interface, near field communication (NFC, Near FieldCommunication ) interface, and so on.
在本说明书的一个实施例中,计算设备800的上述部件以及图8中未示出的其他部件也可以彼此相连接,例如通过总线。应当理解,图8所示的计算设备结构框图仅仅是出于示例的目的,而不是对本说明书范围的限制。本领域技术人员可以根据需要,增添或替换其他部件。In an embodiment of this specification, the above-mentioned components of the computing device 800 and other components not shown in FIG. 8 may also be connected to each other, for example, through a bus. It should be understood that the structural block diagram of the computing device shown in FIG. 8 is only for the purpose of illustration, rather than limiting the scope of this description. Those skilled in the art can add or replace other components as needed.
计算设备800可以是任何类型的静止或移动计算设备,包括移动计算机或移动计算设备(例如,平板计算机、个人数字助理、膝上型计算机、笔记本计算机、上网本等)、移动电话(例如,智能手机)、可佩戴的计算设备(例如,智能手表、智能眼镜等)或其他类型的移动设备,或者诸如台式计算机或个人计算机(PC,Personal Computer)的静止计算设备。计算设备800还可以是移动式或静止式的服务器。Computing device 800 can be any type of stationary or mobile computing device, including mobile computers or mobile computing devices (e.g., tablet computers, personal digital assistants, laptop computers, notebook computers, netbooks, etc.), mobile telephones (e.g., smartphones), ), wearable computing devices (eg, smart watches, smart glasses, etc.) or other types of mobile devices, or stationary computing devices such as desktop computers or personal computers (PC, Personal Computer). Computing device 800 may also be a mobile or stationary server.
其中,处理器820用于执行如下计算机可执行指令,该计算机可执行指令被处理器执行时实现上述数据处理方法的步骤。上述为本实施例的一种计算设备的示意性方案。需要说明的是,该计算设备的技术方案与上述的弹幕生成方法的技术方案属于同一构思,计算设备的技术方案未详细描述的细节内容,均可以参见上述弹幕生成方法的技术方案的描述。Wherein, the processor 820 is configured to execute the following computer-executable instructions. When the computer-executable instructions are executed by the processor, the steps of the above-mentioned data processing method are implemented. The foregoing is a schematic solution of a computing device in this embodiment. It should be noted that the technical solution of the computing device and the technical solution of the above-mentioned bullet chatting generation method belong to the same concept, and details of the technical solution of the computing device that are not described in detail can be found in the description of the technical solution of the above bullet chatting generation method .
本说明书一实施例还提供一种计算机可读存储介质,其存储有计算机可执行指令,该计算机可执行指令被处理器执行时实现上述弹幕生成方法的步骤。An embodiment of the present specification also provides a computer-readable storage medium, which stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, the steps of the method for generating bullet chatting are realized.
上述为本实施例的一种计算机可读存储介质的示意性方案。需要说明的是,该存储介质的技术方案与上述的弹幕生成方法的技术方案属于同一构思,存储介质的技术方案未详细描述的细节内容,均可以参见上述弹幕生成方法的技术方案的描述。The foregoing is a schematic solution of a computer-readable storage medium in this embodiment. It should be noted that the technical solution of the storage medium and the technical solution of the above-mentioned bullet chatting generation method belong to the same concept, and details of the technical solution of the storage medium that are not described in detail can be found in the description of the technical solution of the above bullet chatting generation method .
本说明书一实施例还提供一种计算机程序,其中,当所述计算机程序在计算机中执行时,令计算机执行上述弹幕生成方法的步骤。An embodiment of the present specification also provides a computer program, wherein, when the computer program is executed in a computer, the computer is instructed to execute the steps of the method for generating bullet chatting.
上述为本实施例的一种计算机程序的示意性方案。需要说明的是,该计算机程序的技术方案与上述的弹幕生成方法的技术方案属于同一构思,计算机程序的技术方案未详细描述的细节内容,均可以参见上述弹幕生成方法的技术方案的描述。The foregoing is a schematic solution of a computer program in this embodiment. It should be noted that the technical solution of the computer program and the technical solution of the above-mentioned bullet chatting generation method belong to the same concept, and details not described in detail in the technical solution of the computer program can be found in the description of the technical solution of the above bullet chatting generation method .
上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。The foregoing describes specific embodiments of this specification. Other implementations are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. Multitasking and parallel processing are also possible or may be advantageous in certain embodiments.
所述计算机指令包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括电载波信号和电信信号。The computer instructions include computer program code, which may be in source code form, object code form, executable file or some intermediate form or the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM, Read-Only Memory) , Random Access Memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal, and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, computer-readable media Excludes electrical carrier signals and telecommunication signals.
需要说明的是,对于前述的各方法实施例,为了简便描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本说明书实施例并不受所描述的动作顺序的限制,因为依据本说明书实施例,某些步骤可以采用其它顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定都是本说明书实施例所必须的。It should be noted that, for the sake of simplicity of description, the aforementioned method embodiments are expressed as a series of action combinations, but those skilled in the art should know that the embodiments of this specification are not limited by the described action sequences. Because according to the embodiment of the present specification, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the embodiments of the specification.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其它实施例的相关描述。In the above-mentioned embodiments, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.
以上公开的本说明书优选实施例只是用于帮助阐述本说明书。可选实施例并没有详尽叙述所有的细节,也不限制该发明仅为所述的具体实施方式。显然,根据本说明书实施例的内容,可作很多的修改和变化。本说明书选取并具体描述这些实施例,是为了更好地解释本说明书实施例的原理和实际应用,从而使所属技术领域技术人员能很好地理解和利用本说明书。本说明书仅受权利要求书及其全部范围和等效物的限制。The preferred embodiments of the present specification disclosed above are only for helping to explain the present specification. Alternative embodiments are not exhaustive in all detail, nor are the inventions limited to specific implementations described. Obviously, many modifications and changes can be made according to the contents of the embodiments of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the embodiments of this specification, so that those skilled in the art can well understand and use this specification. This specification is to be limited only by the claims, along with their full scope and equivalents.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310072409.3ACN116320652A (en) | 2023-01-17 | 2023-01-17 | Bullet screen generation method and device |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310072409.3ACN116320652A (en) | 2023-01-17 | 2023-01-17 | Bullet screen generation method and device |
| Publication Number | Publication Date |
|---|---|
| CN116320652Atrue CN116320652A (en) | 2023-06-23 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202310072409.3APendingCN116320652A (en) | 2023-01-17 | 2023-01-17 | Bullet screen generation method and device |
| Country | Link |
|---|---|
| CN (1) | CN116320652A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105117934A (en)* | 2015-08-05 | 2015-12-02 | 北京奇艺世纪科技有限公司 | Commodity comment information display method and apparatus |
| CN111757188A (en)* | 2020-06-24 | 2020-10-09 | 浙江炬光电气有限公司 | Bullet screen display method and system based on commodity information |
| CN113079417A (en)* | 2021-03-25 | 2021-07-06 | 北京百度网讯科技有限公司 | Method, device and equipment for generating bullet screen and storage medium |
| CN114125543A (en)* | 2020-08-28 | 2022-03-01 | 上海哔哩哔哩科技有限公司 | Bullet screen processing method, computing equipment and bullet screen processing system |
| US20220360841A1 (en)* | 2020-02-07 | 2022-11-10 | Beijing Bytedance Network Technology Co., Ltd. | Methods and devices for comment information display and interaction, electronic apparatus, and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105117934A (en)* | 2015-08-05 | 2015-12-02 | 北京奇艺世纪科技有限公司 | Commodity comment information display method and apparatus |
| US20220360841A1 (en)* | 2020-02-07 | 2022-11-10 | Beijing Bytedance Network Technology Co., Ltd. | Methods and devices for comment information display and interaction, electronic apparatus, and storage medium |
| CN111757188A (en)* | 2020-06-24 | 2020-10-09 | 浙江炬光电气有限公司 | Bullet screen display method and system based on commodity information |
| CN114125543A (en)* | 2020-08-28 | 2022-03-01 | 上海哔哩哔哩科技有限公司 | Bullet screen processing method, computing equipment and bullet screen processing system |
| CN113079417A (en)* | 2021-03-25 | 2021-07-06 | 北京百度网讯科技有限公司 | Method, device and equipment for generating bullet screen and storage medium |
| Publication | Publication Date | Title |
|---|---|---|
| CN111259192B (en) | Audio recommendation method and device | |
| US8838438B2 (en) | System and method for determining sentiment from text content | |
| CN106790120B (en) | Terminal equipment and video stream associated information live broadcast control and interaction method | |
| CN110134931B (en) | Medium title generation method, medium title generation device, electronic equipment and readable medium | |
| US8527594B2 (en) | Blog advertising | |
| WO2017133172A1 (en) | Information pushing method and device | |
| WO2022068464A1 (en) | Method and apparatus for multimedia resource matching and display, electronic device, and medium | |
| WO2022052749A1 (en) | Message processing method, apparatus and device, and storage medium | |
| CN109783539A (en) | Usage mining and its model building method, device and computer equipment | |
| CN103198089A (en) | Information processing apparatus, information processing method, and program | |
| CN110489649A (en) | The method and device of label association content | |
| CN111107444B (en) | User comment generation method, electronic device and storage medium | |
| CN106033415A (en) | A text content recommendation method and device | |
| CN110390569A (en) | A content promotion method, device and storage medium | |
| CN103096138A (en) | Television advertisement product information display system and method thereof | |
| Xia et al. | Rural E-commerce model with attention mechanism: role of Li ziqi’s short videos from the perspective of heterogeneous knowledge management | |
| CN116089729B (en) | Search recommended methods, equipment and storage media | |
| WO2024232835A1 (en) | Image processing method and apparatus | |
| CN111752982A (en) | Information processing method and device | |
| JP2016006593A (en) | Extraction device, extraction method, and extraction program | |
| CN111191141A (en) | Document recommendation method and device | |
| US12223519B2 (en) | Method and system for granular-level segmentation of users based on activities on webpages in real-time | |
| CN115203539A (en) | Media content recommendation method, device, equipment and storage medium | |
| US20250182187A1 (en) | Method and apparatus for presenting information, computer device, and storage medium | |
| CN116320652A (en) | Bullet screen generation method and device |
| 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 |