[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN115103212A - Bullet screen display method, bullet screen processing method, device and electronic equipment - Google Patents

Bullet screen display method, bullet screen processing method, device and electronic equipment Download PDF

Info

Publication number
CN115103212A
CN115103212A CN202210654982.0A CN202210654982A CN115103212A CN 115103212 A CN115103212 A CN 115103212A CN 202210654982 A CN202210654982 A CN 202210654982A CN 115103212 A CN115103212 A CN 115103212A
Authority
CN
China
Prior art keywords
barrage
bullet screen
candidate
user terminal
target user
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.)
Granted
Application number
CN202210654982.0A
Other languages
Chinese (zh)
Other versions
CN115103212B (en
Inventor
康大龙
顾明
刘小东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
MIGU Culture Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
MIGU Culture Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, MIGU Culture Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202210654982.0A priority Critical patent/CN115103212B/en
Publication of CN115103212A publication Critical patent/CN115103212A/en
Application granted granted Critical
Publication of CN115103212B publication Critical patent/CN115103212B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/235Processing of additional data, e.g. scrambling of additional data or processing content descriptors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4884Data services, e.g. news ticker for displaying subtitles

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Train Traffic Observation, Control, And Security (AREA)

Abstract

本发明公开了一种弹幕展示方法、弹幕处理方法、装置及电子设备。弹幕展示方法包括:向服务端发送弹幕配置信息,以供服务端基于弹幕配置信息预测在至少一个时刻展示的候选弹幕,并将同一时刻展示的候选弹幕合并为相应的重组弹幕,以及供服务端基于重组弹幕的合规性检测结果识别出候选弹幕中的违规弹幕以及合规弹幕;接收服务端发送的合规弹幕;展示合规弹幕。本方案将同一时刻目标用户终端展示的候选弹幕合并为相应的重组弹幕,以重组弹幕为单位来进行合规性检测,由此能够确定相应时刻目标用户终端展示的弹幕整体上是否存在违规,由此提升违规弹幕的检测精度,保障信息安全,提升用户体验。

Figure 202210654982

The invention discloses a barrage display method, a barrage processing method, a device and an electronic device. The barrage display method includes: sending the barrage configuration information to the server, so that the server predicts the candidate barrage displayed at at least one moment based on the barrage configuration information, and merges the candidate barrage displayed at the same moment into a corresponding reorganized barrage It allows the server to identify the illegal and compliant bullet screens in the candidate bullet screens based on the compliance detection results of the reorganized bullet screens; receive the compliant bullet screens sent by the server; and display the compliant bullet screens. In this solution, the candidate barrage displayed by the target user terminal at the same time is merged into the corresponding reorganized barrage, and the compliance detection is carried out with the reorganized barrage as a unit, so that it can be determined whether the barrage displayed by the target user terminal at the corresponding moment as a whole is not. If there is a violation, the detection accuracy of the violation barrage is improved, information security is ensured, and user experience is improved.

Figure 202210654982

Description

弹幕展示方法、弹幕处理方法、装置及电子设备Bullet screen display method, bullet screen processing method, device and electronic equipment

技术领域technical field

本发明涉及信息处理技术领域,具体涉及一种弹幕展示方法、弹幕处理方法、装置及电子设备。The present invention relates to the technical field of information processing, in particular to a method for displaying a bullet screen, a method for processing a bullet screen, a device and an electronic device.

背景技术Background technique

随着科技及社会的不断发展,弹幕以其交互灵活、用户体验度高等特点被广泛应用于视频平台、音频平台、直播平台等互联网产品中。为了进一步提升用户体验以及保障信息安全,许多互联网产品会对弹幕进行合规性检验,以便于为用户屏蔽违规弹幕。With the continuous development of technology and society, bullet screens are widely used in Internet products such as video platforms, audio platforms, and live broadcast platforms due to their flexible interaction and high user experience. In order to further improve user experience and ensure information security, many Internet products will conduct compliance inspections on bullet screens, so as to block illegal bullet screens for users.

然而,发明人在实施过程中发现,现有技术中存在如下缺陷:现有技术通常是以每个弹幕为合规性检验单位,逐条对弹幕进行合规性检验。然而,该种方式对违规弹幕的误检率高,从而降低信息安全及用户体验。However, the inventor found in the implementation process that the prior art has the following defects: the prior art usually uses each bullet screen as a compliance inspection unit, and conducts compliance inspection on bullet screens one by one. However, this method has a high false detection rate for illegal bullet screens, thereby reducing information security and user experience.

发明内容SUMMARY OF THE INVENTION

鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的弹幕展示方法、弹幕处理方法、装置及电子设备。In view of the above problems, the present invention is proposed to provide a barrage display method, a barrage processing method, an apparatus and an electronic device that overcome the above problems or at least partially solve the above problems.

根据本发明的第一方面,提供了一种弹幕展示方法,包括:According to a first aspect of the present invention, there is provided a barrage display method, comprising:

向服务端发送弹幕配置信息,以供所述服务端基于所述弹幕配置信息预测在至少一个时刻展示的候选弹幕,并将同一时刻展示的候选弹幕合并为相应的重组弹幕,以及供所述服务端基于所述重组弹幕的合规性检测结果识别出所述候选弹幕中的违规弹幕以及合规弹幕;Sending the barrage configuration information to the server, so that the server can predict the candidate barrage displayed at at least one moment based on the barrage configuration information, and merge the candidate barrage displayed at the same moment into the corresponding reorganized barrage, and for the server to identify the illegal and compliant bullet screens in the candidate bullet screen based on the compliance detection result of the reorganized bullet screen;

接收所述服务端发送的所述合规弹幕;Receive the compliance barrage sent by the server;

展示所述合规弹幕。Display the compliance barrage.

根据本发明的第二方面,提供了一种弹幕处理方法,包括:According to a second aspect of the present invention, there is provided a barrage processing method, comprising:

获取目标用户终端发送的弹幕配置信息;Obtain the barrage configuration information sent by the target user terminal;

根据所述弹幕配置信息预测在至少一个时刻所述目标用户终端展示的候选弹幕,并将同一时刻所述目标用户终端展示的候选弹幕合并为相应的重组弹幕;Predict the candidate bullet screens displayed by the target user terminal at at least one moment according to the bullet screen configuration information, and combine the candidate bullet screens displayed by the target user terminal at the same moment into a corresponding reorganized bullet screen;

对重组弹幕进行合规性检测,以识别出违规重组弹幕,并且基于所述违规重组弹幕,从所述候选弹幕中识别出违规弹幕;Carry out compliance detection on the reorganized barrage to identify the illegal reorganized barrage, and based on the illegal reorganized barrage, identify the illegal barrage from the candidate barrage;

从所述候选弹幕中剔除所述违规弹幕后获得合规弹幕,并将所述合规弹幕发送至所述目标用户终端,以供在所述目标用户终端中展示所述合规弹幕。After removing the illegal bullet screen from the candidate bullet screen, a compliant bullet screen is obtained, and the compliant bullet screen is sent to the target user terminal for displaying the compliant bullet screen in the target user terminal. screen.

根据本发明的第三方面,提供了一种弹幕展示装置,包括:According to a third aspect of the present invention, there is provided a barrage display device, comprising:

发送模块,用于向服务端发送弹幕配置信息,以供所述服务端基于所述弹幕配置信息预测在至少一个时刻展示的候选弹幕,并将同一时刻展示的候选弹幕合并为相应的重组弹幕,以及供所述服务端基于所述重组弹幕的合规性检测结果识别出所述候选弹幕中的违规弹幕以及合规弹幕;The sending module is used to send the bullet screen configuration information to the server, so that the server can predict the candidate bullet screen displayed at at least one moment based on the bullet screen configuration information, and merge the candidate bullet screen displayed at the same moment into corresponding bullet screen The reorganized barrage, and for the server to identify the illegal barrage and the compliant barrage in the candidate barrage based on the compliance detection result of the reorganized barrage;

接收模块,用于接收所述服务端发送的所述合规弹幕;a receiving module, configured to receive the compliance barrage sent by the server;

展示模块,用于展示所述合规弹幕。The display module is used to display the compliance barrage.

根据本发明的第四方面,提供了一种弹幕处理装置,包括:According to a fourth aspect of the present invention, a barrage processing device is provided, comprising:

获取模块,用于获取目标用户终端发送的弹幕配置信息;The acquisition module is used to acquire the barrage configuration information sent by the target user terminal;

预测模块,用于根据所述弹幕配置信息预测在至少一个时刻所述目标用户终端展示的候选弹幕;a prediction module, configured to predict the candidate bullet screens displayed by the target user terminal at at least one moment according to the bullet screen configuration information;

重组模块,用于将同一时刻所述目标用户终端展示的候选弹幕合并为相应的重组弹幕;The reorganization module is used to merge the candidate barrage displayed by the target user terminal at the same moment into the corresponding reorganized barrage;

检测模块,用于对重组弹幕进行合规性检测,以识别出违规重组弹幕;The detection module is used to perform compliance detection on the reorganized barrage to identify the illegal reorganized barrage;

识别模块,用于基于所述违规重组弹幕,从所述候选弹幕中识别出违规弹幕;An identification module, used for reorganizing the bullet screen based on the violation, and identifying the violation bullet screen from the candidate bullet screen;

剔除模块,用于从所述候选弹幕中剔除所述违规弹幕后获得合规弹幕;The elimination module is used to obtain the compliant bullet screen after eliminating the illegal bullet screen from the candidate bullet screen;

发送模块,用于将所述合规弹幕发送至所述目标用户终端,以供在所述目标用户终端中展示所述合规弹幕。A sending module, configured to send the compliant bullet screen to the target user terminal for displaying the compliant bullet screen in the target user terminal.

根据本发明的第五方面,提供了一种电子设备,包括:处理器、存储器、通信接口和通信总线,所述处理器、所述存储器和所述通信接口通过所述通信总线完成相互间的通信;According to a fifth aspect of the present invention, an electronic device is provided, comprising: a processor, a memory, a communication interface, and a communication bus, and the processor, the memory, and the communication interface complete mutual communication through the communication bus. communication;

所述存储器用于存放至少一可执行指令,所述可执行指令使所述处理器执行上述弹幕展示方法对应的操作;The memory is used for storing at least one executable instruction, and the executable instruction enables the processor to perform the operation corresponding to the above-mentioned bullet screen display method;

和/或,所述可执行指令使所述处理器执行上述弹幕处理方法对应的操作。And/or, the executable instructions cause the processor to perform operations corresponding to the above-mentioned barrage processing method.

根据本发明的第六方面,提供了一种计算机存储介质,所述存储介质中存储有至少一可执行指令,所述可执行指令使处理器执行上述弹幕展示方法对应的操作;According to a sixth aspect of the present invention, a computer storage medium is provided, wherein the storage medium stores at least one executable instruction, and the executable instruction causes the processor to perform the operation corresponding to the above-mentioned method for displaying the bullet screen;

和/或,所述可执行指令使处理器执行上述弹幕处理方法对应的操作。And/or, the executable instructions cause the processor to perform operations corresponding to the above-mentioned barrage processing method.

本发明中,将同一时刻目标用户终端展示的候选弹幕合并为相应的重组弹幕,以重组弹幕为单位来进行合规性检测,由此能够确定相应时刻目标用户终端展示的弹幕整体上是否存在违规,由此提升违规弹幕的检测精度,保障信息安全,提升用户体验。In the present invention, the candidate barrage displayed by the target user terminal at the same time is merged into the corresponding reorganized barrage, and compliance detection is performed in units of the reorganized barrage, so that the entire barrage displayed by the target user terminal at the corresponding moment can be determined. Whether there is a violation on the Internet, thereby improving the detection accuracy of the violation barrage, ensuring information security, and improving user experience.

上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solutions of the present invention, in order to be able to understand the technical means of the present invention more clearly, it can be implemented according to the content of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand , the following specific embodiments of the present invention are given.

附图说明Description of drawings

通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are for the purpose of illustrating preferred embodiments only and are not to be considered limiting of the invention. Also, the same components are denoted by the same reference numerals throughout the drawings. In the attached image:

图1示出了本发明实施例一提供的一种弹幕处理方法的流程示意图;FIG. 1 shows a schematic flowchart of a method for processing a bullet screen according to Embodiment 1 of the present invention;

图2示出了本发明实施例二提供的一种弹幕展示方法的流程示意图;FIG. 2 shows a schematic flowchart of a method for displaying a bullet screen according to Embodiment 2 of the present invention;

图3示出了本发明实施例三提供的一种弹幕处理方法的流程示意图;FIG. 3 shows a schematic flowchart of a method for processing a bullet screen according to Embodiment 3 of the present invention;

图4示出了本发明实施例四提供的一种弹幕展示装置的结构示意图;FIG. 4 shows a schematic structural diagram of a barrage display device according to Embodiment 4 of the present invention;

图5示出了本发明实施例五提供的一种弹幕处理装置的结构示意图;FIG. 5 shows a schematic structural diagram of a bullet screen processing device provided in Embodiment 5 of the present invention;

图6示出了本发明实施例七提供的一种电子设备的结构示意图。FIG. 6 shows a schematic structural diagram of an electronic device according to Embodiment 7 of the present invention.

具体实施方式Detailed ways

下面将参照附图更详细地描述本发明的示例性实施例。虽然附图中显示了本发明的示例性实施例,然而应当理解,可以以各种形式实现本发明而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本发明,并且能够将本发明的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that the present invention will be more thoroughly understood, and will fully convey the scope of the present invention to those skilled in the art.

实施例一Example 1

图1示出了本发明实施例一提供的一种弹幕处理方法的流程示意图。如图1所示,该方法包括如下步骤:FIG. 1 shows a schematic flowchart of a method for processing a bullet screen according to Embodiment 1 of the present invention. As shown in Figure 1, the method includes the following steps:

步骤S110,目标用户终端向服务端发送弹幕配置信息。Step S110, the target user terminal sends the barrage configuration information to the server.

目标用户终端是指待进行弹幕展示的用户终端,例如目标用户终端可以是启动了弹幕功能的用户终端。该用户终端具体可以为能够提供显示功能的手机、电脑、平板、智能可穿戴设备等等。本发明实施例所述的弹幕具体是指在播放视频、音频、和/或图片等内容的过程中,动态展示的用户评论,例如,在播放视频过程中,在视频画面中滚动展示的用户评论即为弹幕。The target user terminal refers to the user terminal to be displayed with the bullet screen, for example, the target user terminal may be the user terminal with the bullet screen function enabled. Specifically, the user terminal may be a mobile phone, a computer, a tablet, a smart wearable device, etc. that can provide a display function. The bullet screen described in the embodiment of the present invention specifically refers to the user comments that are dynamically displayed during the playback of video, audio, and/or pictures, for example, during the playback of the video, the user's comments are displayed scrolling in the video screen. Comments are pop-ups.

目标用户终端在需要展示弹幕时,将弹幕配置信息发送至服务端。其中,该弹幕配置信息具体是目标用户终端本地与弹幕关联的配置信息,该弹幕配置信息可以根据用户的实时操作进行更新。由此为了能够使得最终展示的弹幕与用户需求相匹配,该弹幕配置信息具体是当前目标用户终端最新的与弹幕关联的配置信息。When the target user terminal needs to display the barrage, it sends the barrage configuration information to the server. The bullet screen configuration information is specifically the configuration information associated with the bullet screen locally on the target user terminal, and the bullet screen configuration information can be updated according to the user's real-time operation. Therefore, in order to make the final displayed bullet screen match the user requirements, the bullet screen configuration information is specifically the latest configuration information associated with the bullet screen of the current target user terminal.

在一种可选的实施方式中,弹幕配置信息包括但不限于以下信息中的至少一种:弹幕滚动速度、弹幕展示域尺寸、弹幕字号以及弹幕轨道数目。其中,弹幕滚动速度具体是指弹幕在展示时在目标用户终端屏幕中的滚动速度,弹幕展示域尺寸具体是指目标用户终端屏幕中能用于展示弹幕的区域的尺寸,弹幕字号具体为弹幕的字体大小,弹幕轨道数目具体为用于承载弹幕的轨道的数量,例如,弹幕轨道数目为2,则在展示弹幕时是从两个轨道并行地展示弹幕。In an optional implementation manner, the bullet screen configuration information includes, but is not limited to, at least one of the following information: the bullet screen scrolling speed, the size of the bullet screen display domain, the bullet screen font size, and the number of bullet screen tracks. Among them, the bullet screen scrolling speed specifically refers to the scroll speed of the bullet screen on the screen of the target user terminal when it is displayed, and the size of the bullet screen display domain specifically refers to the size of the area on the target user terminal screen that can be used to display the bullet screen. The font size is specifically the font size of the bullet screen, and the number of bullet screen tracks is specifically the number of tracks used to carry the bullet screen. For example, if the number of bullet screen tracks is 2, the bullet screen will be displayed from two tracks in parallel when the bullet screen is displayed. .

步骤S120,服务端根据弹幕配置信息预测在至少一个时刻目标用户终端展示的候选弹幕。Step S120, the server predicts the candidate barrage displayed by the target user terminal at at least one moment according to the barrage configuration information.

在目标用户终端有弹幕展示需求时,服务端会获取与目标用户终端对应的候选弹幕。该候选弹幕是后续发送给目标用户终端的合规弹幕的基础,即本发明实施例是先筛选出目标用户终端的候选弹幕,通过对候选弹幕进行合规性校验来从候选弹幕中提取出合规弹幕。When the target user terminal needs to display the bullet screen, the server will obtain the candidate bullet screen corresponding to the target user terminal. The candidate bullet screen is the basis for the compliant bullet screen sent to the target user terminal later, that is, in the embodiment of the present invention, the candidate bullet screen of the target user terminal is firstly screened, and the candidate bullet screen is checked for compliance by the candidate bullet screen. The compliant barrage is extracted from the barrage.

在一种可选的实施方式中,用户在用户终端中观看视频、音频、图片等内容时可以通过弹幕发送入口来发送弹幕,用户终端将用户发送的弹幕提交至服务端,服务端可以将用户终端提交的弹幕作为目标用户终端对应的候选弹幕,也可以从用户终端提交的弹幕中提取部分弹幕作为候选弹幕等等。总之,本发明实施例中的弹幕是基于用户终端发送的弹幕获得的。以直播为例,该候选弹幕是直播观众实时提交的弹幕;又或者,以非直播形式的视频为例,该候选弹幕是从观看过该视频的用户提供的弹幕中筛选出的与目标用户终端当前播放进度匹配的弹幕。In an optional implementation, the user can send the bullet screen through the bullet screen sending portal when watching video, audio, pictures and other content in the user terminal, and the user terminal submits the bullet screen sent by the user to the server, and the server The bullet screen submitted by the user terminal can be used as the candidate bullet screen corresponding to the target user terminal, or a part of the bullet screen can be extracted from the bullet screen submitted by the user terminal as the candidate bullet screen and so on. In a word, the bullet screen in the embodiment of the present invention is obtained based on the bullet screen sent by the user terminal. Taking the live broadcast as an example, the candidate bullet screen is the bullet screen submitted by the live audience in real time; or, taking the non-live video form as an example, the candidate bullet screen is selected from the bullet screen provided by the users who have watched the video. The barrage that matches the current playback progress of the target user terminal.

服务端在获取与目标用户终端对应的候选弹幕之后,根据目标用户终端提供的弹幕配置信息来预测候选弹幕在目标用户终端屏幕中的展示效果。具体是预测在至少一个时刻目标用户终端展示的候选弹幕。在此应当理解的是,当前服务端尚未将候选弹幕发送给目标用户终端,由此在各个时刻目标用户终端展示的候选弹幕仅仅为服务端的预测结果,而并非是目标用户终端的实际呈现结果。After acquiring the candidate bullet screen corresponding to the target user terminal, the server predicts the display effect of the candidate bullet screen on the screen of the target user terminal according to the bullet screen configuration information provided by the target user terminal. Specifically, the candidate barrage displayed by the target user terminal at at least one moment is predicted. It should be understood here that the current server has not sent the candidate barrage to the target user terminal, so the candidate barrage displayed by the target user terminal at each moment is only the prediction result of the server, not the actual presentation of the target user terminal. result.

在一种可选的实施方式中,为了提升同一时刻目标用户终端展示的候选弹幕的预测精度以及预测效率,服务端在获取与目标用户终端对应的候选弹幕之后,进一步基于弹幕配置信息,确定各个候选弹幕进入目标用户终端弹幕展示域的第一时间,以及确定各个候选弹幕退出目标用户终端弹幕展示域的第二时间。即针对于每个候选弹幕均包含有相应的第一时间以及第二时间,候选弹幕的第一时间是其刚在目标用户终端展示的时间,候选弹幕的第二时间是其刚结束在目标用户终端展示的时间。In an optional embodiment, in order to improve the prediction accuracy and prediction efficiency of the bullet screen candidates displayed by the target user terminal at the same time, after acquiring the candidate bullet screen corresponding to the target user terminal, the server further bases on the configuration information of the bullet screen. , determining the first time when each candidate barrage enters the target user terminal barrage display domain, and determining the second time when each candidate barrage exits the target user terminal barrage display domain. That is, for each candidate bullet screen, there are corresponding first time and second time, the first time of the candidate bullet screen is the time when it is just displayed on the target user terminal, and the second time of the candidate bullet screen is the time when it just ends. The time of presentation on the target user terminal.

更为具体地,服务端除了获取有候选弹幕之外,还获取有候选弹幕的接收时间RTime,候选弹幕的接收时间代表了服务端接收到该候选弹幕的时间。为便于后续候选弹幕的第一时间的确定,以及方便对候选弹幕进行管理,可以按照候选弹幕的接收时间对候选弹幕进行依次排列,继而生成候选弹幕对应的有序列表。如表1所示,对候选弹幕S1-Sn按照接收时间由早到晚的顺序依次排列为S1,S2,S3……SnMore specifically, in addition to acquiring the candidate bullet screen, the server also acquires the reception time RTime of the candidate bullet screen, and the reception time of the candidate bullet screen represents the time when the server receives the candidate bullet screen. In order to facilitate the determination of the first time of the subsequent candidate barrages and facilitate the management of the candidate barrages, the candidate barrages can be arranged in order according to the receiving time of the candidate barrages, and then an ordered list corresponding to the candidate barrages is generated. As shown in Table 1, the candidate barrages S 1 -S n are sequentially arranged as S 1 , S 2 , S 3 ......S n according to the order of reception time from early to late.

表1Table 1

S<sub>1</sub>S<sub>1</sub> S<sub>2</sub>S<sub>2</sub> S<sub>3</sub>S<sub>3</sub> ……... S<sub>n</sub>S<sub>n</sub>

进一步可以根据弹幕配置信息中弹幕滚动速度、弹幕轨道数目、候选弹幕的接收时间以及候选弹幕的长度来确定候选弹幕的第一时间。在实际的实施过程中,弹幕通常是在弹幕轨道中进行展示,则可以按照弹幕轨道数目依次将各个候选弹幕分配至相应的弹幕轨道中。针对于同一个弹幕轨道,该弹幕轨道首个候选弹幕的第一时间可以根据候选弹幕的接收时间确定,例如可以将接收时间最早的候选弹幕作为该弹幕轨道首个候选弹幕。该弹幕轨道后续的候选弹幕的第一时间可以根据该弹幕轨道前一个候选弹幕的弹幕长度以及弹幕滚动速度确定,采用该种方式,能够准确地确定出各个候选弹幕的第一时间。例如,可以通过如下公式1确定候选弹幕的第一时间:Further, the first time of the candidate bullet screen can be determined according to the bullet screen scrolling speed, the number of bullet screen tracks, the receiving time of the candidate bullet screen, and the length of the candidate bullet screen in the bullet screen configuration information. In the actual implementation process, the bullet screen is usually displayed in the bullet screen track, and each candidate bullet screen can be allocated to the corresponding bullet screen track in sequence according to the number of bullet screen tracks. For the same barrage track, the first time of the first candidate barrage of the barrage track can be determined according to the reception time of the candidate barrage, for example, the candidate barrage with the earliest reception time can be used as the first candidate barrage of the barrage track screen. The first time of the subsequent candidate bullet screen of the bullet screen track can be determined according to the bullet screen length and the bullet screen scrolling speed of the previous candidate bullet screen of the bullet screen track. In this way, the position of each candidate bullet screen can be accurately determined. first timing. For example, the first time of the candidate barrage can be determined by the following formula 1:

ITimei=ITimei-1+Li-1/V+ΔT (公式1)ITime i =ITime i-1 +L i-1 /V+ΔT (Formula 1)

公式1中,ITimei为弹幕轨道中第i个候选弹幕的第一时间,ITimei-1为弹幕轨道中第i-1个候选弹幕的第一时间,Li-1为弹幕轨道中第i-1个候选弹幕的长度,V为弹幕滚动速度,△T为预设的时间间隔。In formula 1, ITime i is the first time of the i-th candidate barrage in the barrage track, ITime i-1 is the first time of the i-1th candidate barrage in the barrage track, and L i-1 is the bullet screen. The length of the i-1th candidate bullet screen in the curtain track, V is the scroll speed of the bullet screen, and △T is the preset time interval.

进一步计算候选弹幕的展示时长,该展示时长具体是指候选弹幕在目标用户终端中展示的时长。可选的,候选弹幕的展示时长可以根据弹幕滚动速度以及弹幕展示域宽度确定,例如可以通过如下公式2确定候选弹幕的展示时长:The display duration of the candidate barrage is further calculated, and the display duration specifically refers to the duration for which the candidate barrage is displayed in the target user terminal. Optionally, the display duration of the candidate barrage can be determined according to the scrolling speed of the barrage and the width of the barrage display field. For example, the display duration of the candidate barrage can be determined by the following formula 2:

STime=W/V (公式2)STime=W/V (Equation 2)

公式2中,STime为候选弹幕的展示时长,W为目标用户终端中弹幕展示域宽度,V为弹幕滚动速度。In formula 2, STime is the display duration of the candidate bullet screen, W is the width of the bullet screen display domain in the target user terminal, and V is the scroll speed of the bullet screen.

在确定出候选弹幕的第一时间以及展示时长后,可以基于候选弹幕的第一时间以及展示时长确定出候选弹幕的第二时间。该第二时间具体可以通过如下公式3确定:After the first time and the display duration of the candidate barrage are determined, the second time of the candidate barrage may be determined based on the first time and the display duration of the candidate barrage. The second time can be specifically determined by the following formula 3:

OTime=ITime+STime (公式3)OTime=ITime+STime (Equation 3)

公式3中,OTime为候选弹幕的第二时间,ITime为候选弹幕的第一时间,STime为候选弹幕的展示时长。In formula 3, OTime is the second time of the candidate bullet screen, ITime is the first time of the candidate bullet screen, and STime is the display time of the candidate bullet screen.

此外,为便于对候选弹幕的管理,可以如表2所示,记录候选弹幕的接收时间、第一时间、展示时长以及第二时间。In addition, in order to facilitate the management of the candidate bullet screen, as shown in Table 2, the reception time, the first time, the display time and the second time of the candidate bullet screen can be recorded.

表2Table 2

S<sub>1</sub>S<sub>1</sub> RTime<sub>1</sub>RTime<sub>1</sub> ITime<sub>1</sub>ITime<sub>1</sub> STime<sub>1</sub>STime<sub>1</sub> OTime<sub>1</sub>OTime<sub>1</sub> S<sub>2</sub>S<sub>2</sub> RTime<sub>2</sub>RTime<sub>2</sub> ITime<sub>2</sub>ITime<sub>2</sub> STime<sub>2</sub>STime<sub>2</sub> OTime<sub>2</sub>OTime<sub>2</sub> S<sub>3</sub>S<sub>3</sub> RTime<sub>3</sub>RTime<sub>3</sub> ITime<sub>3</sub>ITime<sub>3</sub> STime<sub>3</sub>STime<sub>3</sub> OTime<sub>3</sub>OTime<sub>3</sub> ……... ……... ……... ……... ……... S<sub>n</sub>S<sub>n</sub> RTime<sub>n</sub>RTime<sub>n</sub> ITime<sub>n</sub>ITime<sub>n</sub> STime<sub>n</sub>STime<sub>n</sub> OTime<sub>n</sub>OTime<sub>n</sub>

在确定出候选弹幕的第一时间以及第二时间之后,可基于候选弹幕的第一时间以及第二时间来预测在至少一个时刻目标用户终端展示的候选弹幕。After the first time and the second time of the candidate barrage are determined, the candidate barrage displayed by the target user terminal at at least one moment may be predicted based on the first time and the second time of the candidate barrage.

在一种可选的实施方式中,至少一个时刻目标用户终端展示的候选弹幕可以通过如下方式确定:针对于任一候选弹幕,若其他候选弹幕的第一时间晚于该候选弹幕的第一时间,并且早于该候选弹幕的第二时间,则将该其他候选弹幕确定为该候选弹幕的关联弹幕,并将该候选弹幕以及该候选弹幕的关联弹幕确定为一个时刻目标用户终端展示的候选弹幕。采用该种方式,能够全面地确定各个时刻目标用户终端展示的候选弹幕。In an optional implementation manner, the candidate bullet screen displayed by the target user terminal at at least one moment may be determined by the following method: for any candidate bullet screen, if the first time of the other candidate bullet screen is later than the candidate bullet screen the first time and earlier than the second time of the candidate barrage, determine the other candidate barrage as the associated barrage of the candidate barrage, and determine the candidate barrage and the associated barrage of the candidate barrage Determined as a candidate barrage displayed by the target user terminal at a moment. In this way, the candidate barrage displayed by the target user terminal at each moment can be comprehensively determined.

进一步可选的,在具体实施过程中,按照候选弹幕的第一时间由早到晚的顺序依次对候选弹幕进行排列。按照该排序顺序选取第i个候选弹幕Si,并获取Si的第一时间ITimei以及第二时间OTimei,判断第i+1个候选弹幕Si+1的第一时间ITimei+1是否大于ITimei以及小于OTimei,若是,则将该i+1个候选弹幕Si+1确定为候选弹幕Si的关联弹幕;并继续判断下一个候选弹幕是否满足第一时间大于ITimei以及小于OTimei。依次类推,直至判断完最后一个候选弹幕Sn后结束,或者直至确定当前的候选弹幕不满足第一时间大于ITimei以及小于OTimei后结束,结束后获得候选弹幕Si的各个关联弹幕,并将候选弹幕Si以及Si的各个关联弹幕作为同一时刻目标用户终端展示的候选弹幕。Further optionally, in the specific implementation process, the candidate bullet screens are arranged in order from early to late according to the first time of the candidate bullet screen. Select the i-th candidate barrage S i according to the sorting order, obtain the first time ITime i and the second time OTime i of S i , and determine the first time ITime i of the i+1-th candidate barrage S i+1 Whether +1 is greater than ITime i and less than OTime i , if so, then determine the i+1 candidate bullet screen S i+1 as the associated bullet screen of the candidate bullet screen S i ; and continue to judge whether the next candidate bullet screen satisfies the first A time is greater than ITime i and less than OTime i . By analogy, it ends after the last candidate bullet screen Sn is judged, or until it is determined that the current candidate bullet screen does not satisfy the first time greater than ITime i and less than OTime i , and then each associated bullet screen of the candidate bullet screen S i is obtained after the end. screen, and use the candidate barrage S i and each associated barrage of S i as the candidate barrage displayed by the target user terminal at the same time.

在一种可选的实施方式中,至少一个时刻目标用户终端展示的候选弹幕还可以通过如下方式确定:确定至少一个采样时刻,并针对于任一采样时刻,将第一时间早于或等于该采样时刻,并且第二时间晚于或等于该采样时刻的候选弹幕确定为在该采样时刻目标用户终端展示的候选弹幕。采用该种方式,能够快速地确定出至少一个时刻目标用户终端展示的候选弹幕。In an optional implementation manner, the candidate barrage displayed by the target user terminal at at least one time can also be determined by the following method: determining at least one sampling time, and for any sampling time, set the first time earlier than or equal to The sampling moment, and the second time is later than or equal to the candidate barrage of the sampling moment is determined as the candidate barrage displayed by the target user terminal at the sampling moment. In this way, the candidate barrage displayed by the target user terminal at at least one moment can be quickly determined.

步骤S130,服务端将同一时刻目标用户终端展示的候选弹幕合并为相应的重组弹幕。In step S130, the server merges the candidate barrage displayed by the target user terminal at the same time into a corresponding reorganized barrage.

针对于任一时刻,获取预测的在该时刻目标用户终端展示的候选弹幕,并将该时刻目标用户终端展示的所有候选弹幕合并为一条重组弹幕。For any moment, the predicted candidate barrage displayed by the target user terminal at the moment is obtained, and all the candidate barrage displayed by the target user terminal at the moment are combined into a reorganized barrage.

在一种可选的实施方式中,将同一时刻目标用户终端展示的候选弹幕合并为相应的重组弹幕具体通过如下方式实现:将同一时刻目标用户终端展示的候选弹幕,按照候选弹幕进入目标用户终端弹幕展示域的第一时间的先后顺序依次拼接,以生成该时刻对应的重组弹幕。举例来说,若候选弹幕Si的关联弹幕为Si+1以及Si+2,则生成的重组弹幕为Si+Si+1+Si+2In an optional implementation manner, merging the candidate barrages displayed by the target user terminal at the same time into the corresponding reorganized barrage is specifically achieved by the following method: combining the candidate barrages displayed by the target user terminal at the same moment according to the candidate barrages The sequence of the first time of entering the barrage display domain of the target user terminal is sequentially spliced to generate the reorganized barrage corresponding to that moment. For example, if the associated barrages of the candidate barrage Si are Si +1 and Si +2 , the generated recombined barrage is Si +S i +1 +S i +2 .

在一种可选的实施方式中,为了提升重组弹幕后续合规性检测的准确性,在将同一时刻目标用户终端展示的候选弹幕合并后,对合并后弹幕进行去噪处理,并将去噪处理后的数据确定为重组弹幕。其中,去噪处理包括但不限于以下处理方式中的至少一种:剔除无意义字符、全角半角转换以及特殊符号替换等等。In an optional embodiment, in order to improve the accuracy of the subsequent compliance detection of the reorganized bullet screen, after merging the candidate bullet screen displayed by the target user terminal at the same time, the merged bullet screen is denoised, and The denoised data is determined to be a reconstructed barrage. The denoising processing includes, but is not limited to, at least one of the following processing methods: removing meaningless characters, converting full-width and half-width, and replacing special symbols.

步骤S140,服务端对重组弹幕进行合规性检测,以识别出违规重组弹幕。In step S140, the server performs compliance detection on the reorganized barrage to identify the illegal reorganization barrage.

本发明实施例以重组弹幕为单位进行合规性检测,从而能够确定出某个时刻目标用户终端展示的弹幕整体上是否存在违规现象。In the embodiment of the present invention, compliance detection is performed in units of reorganized bullet screens, so that it can be determined whether the bullet screen displayed by the target user terminal at a certain moment as a whole has a violation phenomenon.

在一种可选的实施方式中,针对于每条重组弹幕,对该重组弹幕进行分词处理,并将切分后的分词与预设的违规词库中的违规词进行匹配,从而识别出违规重组弹幕。进一步可选的,该违规词库中可以包括在不同类型的违规词,还可以包括目标用户终端对应的个性化违规词。例如,用户可以在目标用户终端的弹幕配置入口输入需要屏蔽的词,则目标用户终端向服务端发送的弹幕配置文件中还包括用户自定义屏蔽词,服务端将该用户自定义屏蔽词存储至违规词库中,从而实现用户的差异化合规检验。In an optional implementation manner, for each reorganized barrage, word segmentation is performed on the reorganized barrage, and the segmented word is matched with the illegal words in the preset illegal thesaurus, so as to identify A barrage of illegal restructuring appears. Further optionally, the illegal word database may include different types of illegal words, and may also include personalized illegal words corresponding to the target user terminal. For example, the user can enter the words to be blocked in the barrage configuration entry of the target user terminal, and the barrage configuration file sent by the target user terminal to the server also includes the user-defined blocking words, and the server will define the user-defined blocking words. Store it in the violation thesaurus, so as to realize the user's differentiated compliance inspection.

在一种可选的实施方式中,针对于每条重组弹幕,将该重组弹幕转换为相应的弹幕向量,并将该弹幕向量输入至预先构建的语义分析模型中,并根据语义分析模型的输出结果来识别违规重组弹幕。其中,本发明实施例对具体的语义分析模型的结构不作限定,例如,该语义分析模型可以基于word2vec、TextCnn、和/或LSTM等机器学习算法构建。In an optional implementation, for each reorganized barrage, the reorganized barrage is converted into a corresponding barrage vector, and the barrage vector is input into a pre-built semantic analysis model, and according to the semantics Analyze the output of the model to identify the offending reorganization barrage. The embodiment of the present invention does not limit the structure of a specific semantic analysis model. For example, the semantic analysis model may be constructed based on machine learning algorithms such as word2vec, TextCnn, and/or LSTM.

总之,本发明实施例对重组弹幕的具体合规性检测方式不作限定,本领域技术人员可根据实际需求选择相匹配的检测方式。In conclusion, the embodiments of the present invention do not limit the specific compliance detection method of the reorganized barrage, and those skilled in the art can select a matching detection method according to actual needs.

步骤S150,基于违规重组弹幕,从候选弹幕中识别出违规弹幕,并从候选弹幕中剔除违规弹幕后获得合规弹幕。Step S150, reorganizing the bullet screen based on the violation, identifying the illegal bullet screen from the candidate bullet screen, and removing the illegal bullet screen from the candidate bullet screen to obtain the compliant bullet screen.

在识别出违规重组弹幕之后,基于识别出的违规重组弹幕从候选弹幕中识别出违规弹幕。After identifying the illegal reorganized barrage, the illegal barrage is identified from the candidate barrage based on the identified illegal reorganized barrage.

在一种可选的实施方式中,若违规重组弹幕是通过分词处理以及违规词匹配的方式识别出的,则确定与违规词匹配的弹幕分词,将该弹幕分词对应的候选弹幕确定为违规弹幕,采用该种方式能够准确地定位出违规弹幕。In an optional implementation, if the illegally reorganized bullet screen is identified by word segmentation processing and illegal word matching, the bullet screen segmentation matching the illegal word is determined, and the candidate bullet screen corresponding to the bullet screen segmentation is determined. If it is determined to be an illegal barrage, this method can accurately locate the illegal barrage.

在一种可选的实施方式中,若违规重组弹幕是通过语义分析模型识别出的,则可以将该重组弹幕对应的所有候选弹幕均作为违规弹幕,由此来提升违规弹幕的识别效率。In an optional implementation, if the illegal reorganized barrage is identified through the semantic analysis model, all the candidate barrages corresponding to the reorganized barrage can be regarded as the illegal barrage, so as to improve the illegal barrage recognition efficiency.

在一种可选的实施方式中,若违规重组弹幕是通过语义分析模型识别出的,还可以进一步将该违规重组弹幕进行分词处理,并利用语义分析模型再次分析各个分词,以确定出违规分词。继而将该违规重组弹幕中违规分词对应的候选弹幕作为违规弹幕,从而降低违规弹幕的误判率,提升违规弹幕的识别精度。In an optional implementation, if the illegal reorganized barrage is identified through the semantic analysis model, the illegal reorganized barrage can be further segmented, and the semantic analysis model is used to analyze each segment again to determine the Illegal participle. Then, the candidate barrage corresponding to the illegal word segmentation in the illegal reorganization barrage is used as the illegal barrage, thereby reducing the misjudgment rate of the illegal barrage and improving the recognition accuracy of the illegal barrage.

在识别出违规弹幕之后,从候选弹幕中剔除违规弹幕后获得合规弹幕。即将违规弹幕从候选弹幕中剔除后,剩余的候选弹幕即为合规弹幕。After identifying the illegal barrage, the compliant barrage is obtained after removing the illegal barrage from the candidate barrage. After the violating barrage is removed from the candidate barrage, the remaining candidate barrage is the compliant barrage.

在一种可选的实施方式中,在识别出合规弹幕之后,服务端还可以重新预测至少一个时刻目标用户终端展示的合规弹幕,并将同一时刻目标用户终端展示的合规弹幕合并为重组弹幕,继而对该重新弹幕进行合规性检验;若此时不存在违规重组弹幕,则执行步骤S160;若仍然存在违规重组弹幕,则基于该违规重组弹幕重新剔除新的违规弹幕,继而获得新的合规弹幕。继而对新的合规弹幕进行再次校验,即重新执行服务端还可以重新预测至少一个时刻目标用户终端展示的合规弹幕及后续步骤,直至不存在违规重组弹幕后,执行步骤S160。进一步可选的,服务端在重新预测至少一个时刻目标用户终端展示的合规弹幕过程中,具体是重新确定合规弹幕的第一时间以及第二时间,采用上述候选弹幕的预测方式来重新预测至少一个时刻目标用户终端展示的合规弹幕。In an optional implementation manner, after identifying the compliant bullet screen, the server can also re-predict the compliant bullet screen displayed by the target user terminal at least at one moment, and use the compliant bullet screen displayed by the target user terminal at the same moment The screen is merged into a reorganized barrage, and then the reorganized barrage is checked for compliance; if there is no illegal reorganized barrage at this time, step S160 is executed; Eliminate new violations, and then obtain new compliance bullets. Then, the new compliance barrage is checked again, that is, the server can re-predict the compliance barrage displayed by the target user terminal for at least one moment and the subsequent steps until there is no illegal reorganization barrage, and then step S160 is performed. Further optionally, in the process of re-predicting the compliant bullet screen displayed by the target user terminal at least one moment, the server specifically re-determines the first time and the second time of the compliant bullet screen, and adopts the above-mentioned prediction method of the candidate bullet screen. to re-predict the compliance barrage displayed by the target user terminal for at least one moment.

步骤S160,服务端将合规弹幕发送至目标用户终端。Step S160, the server sends the compliance bullet screen to the target user terminal.

步骤S170,在目标用户终端中展示合规弹幕。Step S170, displaying the compliance bullet screen in the target user terminal.

目标用户终端具体是按照弹幕配置信息展示获取到的合规弹幕。The target user terminal specifically displays the obtained compliant bullet screen according to the bullet screen configuration information.

在一种可选的实施方式中,目标用户终端中弹幕配置信息发送变更时,再次向服务端发送弹幕配置信息,服务端根据更新后的弹幕配置信息重新进行合规性检验。In an optional implementation, when the bullet screen configuration information in the target user terminal is changed, the bullet screen configuration information is sent to the server again, and the server performs compliance check again according to the updated bullet screen configuration information.

在一种可选的实施方式中,本发明实施例所提供的弹幕处理方法可以与现有技术中弹幕处理方法相结合。例如,可以预先逐条对弹幕进行合规性检测以剔除违规弹幕,并将剔除后的弹幕作为候选弹幕,并执行上述步骤。由此减少上述各步骤的数据处理量,提升本方法的整体执行效率。In an optional implementation manner, the bullet screen processing method provided by the embodiment of the present invention may be combined with the bullet screen processing method in the prior art. For example, you can perform compliance detection on bullet chats one by one in advance to eliminate illegal bullet chats, take the eliminated bullet chats as candidate bullet chats, and perform the above steps. Thus, the data processing amount of the above steps is reduced, and the overall execution efficiency of the method is improved.

由此可见,本发明实施例是将同一时刻目标用户终端展示的候选弹幕合并为相应的重组弹幕,以重组弹幕为单位来进行合规性检测,由此能够确定相应时刻目标用户终端展示的弹幕整体上是否存在违规,由此提升违规弹幕的检测精度,保障信息安全,提升用户体验。It can be seen that in the embodiment of the present invention, the candidate barrage displayed by the target user terminal at the same time is merged into the corresponding reorganized barrage, and the compliance detection is performed in units of the reorganized barrage, so that the target user terminal at the corresponding moment can be determined. Whether there is any violation of the displayed bullet screen as a whole, thereby improving the detection accuracy of the violation bullet screen, ensuring information security, and improving user experience.

图2示出了本发明实施例二提供的一种弹幕展示方法的流程示意图。其中,本发明实施例所提供的弹幕展示方法在用户终端侧执行。FIG. 2 shows a schematic flowchart of a method for displaying a bullet screen according to Embodiment 2 of the present invention. The method for displaying the bullet screen provided by the embodiment of the present invention is executed on the side of the user terminal.

具体地,如图2所示,该方法包括如下步骤:Specifically, as shown in Figure 2, the method includes the following steps:

步骤S210,向服务端发送弹幕配置信息,以供服务端基于弹幕配置信息预测在至少一个时刻展示的候选弹幕,并将同一时刻展示的候选弹幕合并为相应的重组弹幕,以及供服务端基于重组弹幕的合规性检测结果识别出候选弹幕中的违规弹幕以及合规弹幕。Step S210, sending the barrage configuration information to the server, so that the server predicts the candidate barrage displayed at at least one moment based on the barrage configuration information, and merges the candidate barrage displayed at the same moment into a corresponding reorganized barrage, and It is used by the server to identify illegal and compliant bullet chats in candidate bullet chats based on the compliance detection results of the reorganized bullet chats.

步骤S220,接收服务端发送的合规弹幕。Step S220, receiving the compliance bullet screen sent by the server.

步骤S230,展示合规弹幕。Step S230, displaying the compliance barrage.

在一种可选的实施方式中,所述弹幕配置信息包括以下信息中的至少一种:弹幕滚动速度、弹幕展示域尺寸、弹幕字号、以及弹幕轨道数目。In an optional implementation manner, the bullet screen configuration information includes at least one of the following information: the bullet screen scrolling speed, the size of the bullet screen display domain, the bullet screen font size, and the number of bullet screen tracks.

本实施例中各步骤的具体实施过程可参照实施例一中相应部分的描述,在此不作赘述。For the specific implementation process of each step in this embodiment, reference may be made to the description of the corresponding part in Embodiment 1, which is not repeated here.

由此可见,本发明实施例是将同一时刻目标用户终端展示的候选弹幕合并为相应的重组弹幕,以重组弹幕为单位来进行合规性检测,由此能够确定相应时刻目标用户终端展示的弹幕整体上是否存在违规,由此提升违规弹幕的检测精度,保障信息安全,提升用户体验。It can be seen that in the embodiment of the present invention, the candidate barrage displayed by the target user terminal at the same time is merged into the corresponding reorganized barrage, and the compliance detection is performed in units of the reorganized barrage, so that the target user terminal at the corresponding moment can be determined. Whether there is any violation of the displayed bullet screen as a whole, thereby improving the detection accuracy of the violation bullet screen, ensuring information security, and improving user experience.

图3示出了本发明实施例三提供的一种弹幕处理方法的流程示意图。其中,本发明实施例所提供的弹幕展示方法在服务端执行。FIG. 3 shows a schematic flowchart of a method for processing a bullet screen according to Embodiment 3 of the present invention. The method for displaying the bullet screen provided by the embodiment of the present invention is executed on the server side.

具体地,如图3所示,该方法包括如下步骤:Specifically, as shown in Figure 3, the method includes the following steps:

步骤S310,获取目标用户终端发送的弹幕配置信息。Step S310, acquiring the barrage configuration information sent by the target user terminal.

步骤S320,根据弹幕配置信息预测在至少一个时刻目标用户终端展示的候选弹幕,并将同一时刻目标用户终端展示的候选弹幕合并为相应的重组弹幕。Step S320: Predict candidate bullet screens displayed by the target user terminal at at least one moment according to the bullet screen configuration information, and combine the candidate bullet screens displayed by the target user terminal at the same moment into a corresponding reorganized bullet screen.

步骤S330,对重组弹幕进行合规性检测,以识别出违规重组弹幕,并且基于违规重组弹幕,从候选弹幕中识别出违规弹幕。Step S330, performing compliance detection on the reorganized barrage to identify the illegal reorganization barrage, and identifying the illegal barrage from the candidate barrage based on the illegal reorganization barrage.

步骤S340,从候选弹幕中剔除违规弹幕后获得合规弹幕,并将合规弹幕发送至目标用户终端,以供在目标用户终端中展示合规弹幕。In step S340, a compliant bullet screen is obtained after removing the illegal bullet screen from the candidate bullet screen, and the compliant bullet screen is sent to the target user terminal for displaying the compliant bullet screen in the target user terminal.

在一种可选的实施方式中,所述根据所述弹幕配置信息预测在至少一个时刻所述目标用户终端展示的候选弹幕进一步包括:In an optional implementation manner, the predicting the candidate bullet screen displayed by the target user terminal at at least one moment according to the bullet screen configuration information further includes:

基于所述弹幕配置信息,确定各个候选弹幕进入所述目标用户终端弹幕展示域的第一时间,以及确定各个候选弹幕退出所述目标用户终端弹幕展示域的第二时间;Based on the bullet screen configuration information, determine the first time when each candidate bullet screen enters the target user terminal bullet screen display domain, and determine the second time when each candidate bullet screen exits the target user terminal bullet screen display domain;

针对于任一候选弹幕,若其他候选弹幕的第一时间晚于该候选弹幕的第一时间,并且早于该候选弹幕的第二时间,则将该其他候选弹幕确定为该候选弹幕的关联弹幕,并将该候选弹幕以及该候选弹幕的关联弹幕确定为一个时刻所述目标用户终端展示的候选弹幕。For any candidate barrage, if the first time of the other candidate barrage is later than the first time of the candidate barrage and earlier than the second time of the candidate barrage, then the other candidate barrage is determined as the The associated barrage of the candidate barrage, and the candidate barrage and the associated barrage of the candidate barrage are determined as the candidate barrage displayed by the target user terminal at a moment.

在一种可选的实施方式中,所述根据所述弹幕配置信息预测在至少一个时刻所述目标用户终端展示的候选弹幕进一步包括:In an optional implementation manner, the predicting the candidate bullet screen displayed by the target user terminal at at least one moment according to the bullet screen configuration information further includes:

基于所述弹幕配置信息,确定各个候选弹幕进入所述目标用户终端弹幕展示域的第一时间,以及确定各个候选弹幕退出所述目标用户终端弹幕展示域的第二时间;Based on the bullet screen configuration information, determine the first time when each candidate bullet screen enters the target user terminal bullet screen display domain, and determine the second time when each candidate bullet screen exits the target user terminal bullet screen display domain;

确定至少一个采样时刻,并针对于任一采样时刻,将第一时间早于或等于该采样时刻,并且第二时间晚于或等于该采样时刻的候选弹幕确定为在该采样时刻所述目标用户终端展示的候选弹幕。Determine at least one sampling time, and for any sampling time, determine the candidate barrage with the first time earlier than or equal to the sampling time, and the second time later than or equal to the sampling time as the target at the sampling time The candidate barrage displayed by the user terminal.

在一种可选的实施方式中,所述将同一时刻所述目标用户终端展示的候选弹幕合并为相应的重组弹幕进一步包括:In an optional implementation manner, the merging the candidate barrage displayed by the target user terminal at the same moment into the corresponding reorganized barrage further includes:

将同一时刻所述目标用户终端展示的候选弹幕,按照候选弹幕进入所述目标用户终端弹幕展示域的第一时间的先后顺序依次拼接,以生成该时刻对应的重组弹幕。The candidate bullet screens displayed by the target user terminal at the same time are spliced in sequence according to the order of the first time when the candidate bullet screens entered the bullet screen display domain of the target user terminal, so as to generate a reorganized bullet screen corresponding to the moment.

本实施例中各步骤的具体实施过程可参照实施例一中相应部分的描述,在此不作赘述。For the specific implementation process of each step in this embodiment, reference may be made to the description of the corresponding part in Embodiment 1, which is not repeated here.

由此可见,本发明实施例是将同一时刻目标用户终端展示的候选弹幕合并为相应的重组弹幕,以重组弹幕为单位来进行合规性检测,由此能够确定相应时刻目标用户终端展示的弹幕整体上是否存在违规,由此提升违规弹幕的检测精度,保障信息安全,提升用户体验。It can be seen that in the embodiment of the present invention, the candidate barrage displayed by the target user terminal at the same time is merged into the corresponding reorganized barrage, and the compliance detection is performed in units of the reorganized barrage, so that the target user terminal at the corresponding moment can be determined. Whether there is any violation of the displayed bullet screen as a whole, thereby improving the detection accuracy of the violation bullet screen, ensuring information security, and improving user experience.

实施例四Embodiment 4

图4示出了本发明实施例四提供的一种弹幕展示装置的结构示意图。其中,该弹幕展示装置位于用户终端中。FIG. 4 shows a schematic structural diagram of a barrage display device provided in Embodiment 4 of the present invention. Wherein, the barrage display device is located in the user terminal.

如图4所示,弹幕展示装置包括:As shown in Figure 4, the barrage display device includes:

发送模块410,用于向服务端发送弹幕配置信息,以供所述服务端基于所述弹幕配置信息预测在至少一个时刻展示的候选弹幕,并将同一时刻展示的候选弹幕合并为相应的重组弹幕,以及供所述服务端基于所述重组弹幕的合规性检测结果识别出所述候选弹幕中的违规弹幕以及合规弹幕;The sending module 410 is configured to send the barrage configuration information to the server, so that the server can predict the candidate barrage displayed at at least one moment based on the barrage configuration information, and combine the candidate barrage displayed at the same moment into a Corresponding reorganized barrages, and for the server to identify illegal barrages and compliant barrages in the candidate barrages based on the compliance detection results of the reorganized barrages;

接收模块420,用于接收所述服务端发送的所述合规弹幕;A receiving module 420, configured to receive the compliance barrage sent by the server;

展示模块430,用于展示所述合规弹幕。The display module 430 is used to display the compliance barrage.

在一种可选的实施方式中,所述弹幕配置信息包括以下信息中的至少一种:弹幕滚动速度、弹幕展示域尺寸、弹幕字号、以及弹幕轨道数目。In an optional implementation manner, the bullet screen configuration information includes at least one of the following information: the bullet screen scrolling speed, the size of the bullet screen display domain, the bullet screen font size, and the number of bullet screen tracks.

由此可见,本发明实施例是将同一时刻目标用户终端展示的候选弹幕合并为相应的重组弹幕,以重组弹幕为单位来进行合规性检测,由此能够确定相应时刻目标用户终端展示的弹幕整体上是否存在违规,由此提升违规弹幕的检测精度,保障信息安全,提升用户体验。It can be seen that in the embodiment of the present invention, the candidate barrage displayed by the target user terminal at the same time is merged into the corresponding reorganized barrage, and the compliance detection is performed in units of the reorganized barrage, so that the target user terminal at the corresponding moment can be determined. Whether there is any violation of the displayed bullet screen as a whole, thereby improving the detection accuracy of the violation bullet screen, ensuring information security, and improving user experience.

实施例五Embodiment 5

图5示出了本发明实施例五提供的一种弹幕处理装置的结构示意图。其中,该弹幕处理装置位于服务端中。FIG. 5 shows a schematic structural diagram of a barrage processing apparatus according to Embodiment 5 of the present invention. Wherein, the barrage processing device is located in the server.

如图5所示,弹幕处理装置包括:As shown in Figure 5, the bullet screen processing device includes:

获取模块510,用于获取目标用户终端发送的弹幕配置信息;The obtaining module 510 is used for obtaining the barrage configuration information sent by the target user terminal;

预测模块520,用于根据所述弹幕配置信息预测在至少一个时刻所述目标用户终端展示的候选弹幕;A prediction module 520, configured to predict the candidate barrage displayed by the target user terminal at at least one moment according to the barrage configuration information;

重组模块530,用于将同一时刻所述目标用户终端展示的候选弹幕合并为相应的重组弹幕;The reorganization module 530 is used for merging the candidate barrage displayed by the target user terminal at the same moment into a corresponding reorganized barrage;

检测模块540,用于对重组弹幕进行合规性检测,以识别出违规重组弹幕;The detection module 540 is used to perform compliance detection on the reorganized barrage to identify the illegal reorganized barrage;

识别模块550,用于基于所述违规重组弹幕,从所述候选弹幕中识别出违规弹幕;An identification module 550, configured to reorganize the bullet screen based on the violation, and identify the violation bullet screen from the candidate bullet screen;

剔除模块560,用于从所述候选弹幕中剔除所述违规弹幕后获得合规弹幕;The culling module 560 is used to obtain the compliant bullet screen after eliminating the illegal bullet screen from the candidate bullet screen;

发送模块570,用于将所述合规弹幕发送至所述目标用户终端,以供在所述目标用户终端中展示所述合规弹幕。The sending module 570 is configured to send the compliant bullet screen to the target user terminal for displaying the compliant bullet screen in the target user terminal.

在一种可选的实施方式中,预测模块进一步用于:基于所述弹幕配置信息,确定各个候选弹幕进入所述目标用户终端弹幕展示域的第一时间,以及确定各个候选弹幕退出所述目标用户终端弹幕展示域的第二时间;In an optional implementation manner, the prediction module is further configured to: based on the bullet screen configuration information, determine the first time when each candidate bullet screen enters the bullet screen display domain of the target user terminal, and determine each candidate bullet screen the second time when the target user terminal exits the bullet screen display domain;

针对于任一候选弹幕,若其他候选弹幕的第一时间晚于该候选弹幕的第一时间,并且早于该候选弹幕的第二时间,则将该其他候选弹幕确定为该候选弹幕的关联弹幕,并将该候选弹幕以及该候选弹幕的关联弹幕确定为一个时刻所述目标用户终端展示的候选弹幕。For any candidate barrage, if the first time of the other candidate barrage is later than the first time of the candidate barrage and earlier than the second time of the candidate barrage, then the other candidate barrage is determined as the The associated barrage of the candidate barrage, and the candidate barrage and the associated barrage of the candidate barrage are determined as the candidate barrage displayed by the target user terminal at a moment.

在一种可选的实施方式中,预测模块进一步用于:基于所述弹幕配置信息,确定各个候选弹幕进入所述目标用户终端弹幕展示域的第一时间,以及确定各个候选弹幕退出所述目标用户终端弹幕展示域的第二时间;In an optional implementation manner, the prediction module is further configured to: based on the bullet screen configuration information, determine the first time when each candidate bullet screen enters the bullet screen display domain of the target user terminal, and determine each candidate bullet screen the second time when the target user terminal exits the bullet screen display domain;

确定至少一个采样时刻,并针对于任一采样时刻,将第一时间早于或等于该采样时刻,并且第二时间晚于或等于该采样时刻的候选弹幕确定为在该采样时刻所述目标用户终端展示的候选弹幕。Determine at least one sampling time, and for any sampling time, determine the candidate barrage with the first time earlier than or equal to the sampling time, and the second time later than or equal to the sampling time as the target at the sampling time The candidate barrage displayed by the user terminal.

在一种可选的实施方式中,重组模块进一步用于:将同一时刻所述目标用户终端展示的候选弹幕,按照候选弹幕进入所述目标用户终端弹幕展示域的第一时间的先后顺序依次拼接,以生成该时刻对应的重组弹幕。In an optional implementation manner, the reorganization module is further configured to: put the candidate bullet screens displayed by the target user terminal at the same time in the order of the first time when the candidate bullet screens entered the bullet screen display domain of the target user terminal Splicing them in sequence to generate the reorganized barrage corresponding to that moment.

由此可见,本发明实施例是将同一时刻目标用户终端展示的候选弹幕合并为相应的重组弹幕,以重组弹幕为单位来进行合规性检测,由此能够确定相应时刻目标用户终端展示的弹幕整体上是否存在违规,由此提升违规弹幕的检测精度,保障信息安全,提升用户体验。It can be seen that in the embodiment of the present invention, the candidate barrage displayed by the target user terminal at the same time is merged into the corresponding reorganized barrage, and the compliance detection is performed in units of the reorganized barrage, so that the target user terminal at the corresponding moment can be determined. Whether there is any violation of the displayed bullet screen as a whole, thereby improving the detection accuracy of the violation bullet screen, ensuring information security, and improving user experience.

实施例六Embodiment 6

本发明实施例六提供了一种非易失性计算机存储介质,所述计算机存储介质存储有至少一可执行指令,该计算机可执行指令可执行上述任意方法实施例中的弹幕展示方法和/或弹幕处理方法。Embodiment 6 of the present invention provides a non-volatile computer storage medium, where the computer storage medium stores at least one executable instruction, and the computer-executable instruction can execute the bullet screen display method and/or in any of the foregoing method embodiments. Or the barrage processing method.

实施例七Embodiment 7

图6示出了本发明实施例七提供的一种电子设备的结构示意图。本发明具体实施例并不对电子设备的具体实现做限定。FIG. 6 shows a schematic structural diagram of an electronic device according to Embodiment 7 of the present invention. The specific embodiments of the present invention do not limit the specific implementation of the electronic device.

如图6所示,该电子设备可以包括:处理器(processor)602、通信接口(Communications Interface)604、存储器(memory)606、以及通信总线608。As shown in FIG. 6 , the electronic device may include: a processor (processor) 602 , a communication interface (Communications Interface) 604 , a memory (memory) 606 , and a communication bus 608 .

其中:处理器602、通信接口604、以及存储器606通过通信总线608完成相互间的通信。通信接口604,用于与其它设备比如客户端或其它服务器等的网元通信。处理器602,用于执行程序610,具体可以执行上述任意方法实施例中的相关步骤。The processor 602 , the communication interface 604 , and the memory 606 communicate with each other through the communication bus 608 . The communication interface 604 is used to communicate with network elements of other devices such as clients or other servers. The processor 602 is configured to execute the program 610, and specifically may execute the relevant steps in any of the foregoing method embodiments.

具体地,程序610可以包括程序代码,该程序代码包括计算机操作指令。Specifically, the program 610 may include program code including computer operation instructions.

处理器602可能是中央处理器CPU,或者是特定集成电路ASIC(ApplicationSpecific Integrated Circuit),或者是被配置成实施本发明实施例的一个或多个集成电路。电子设备包括的一个或多个处理器,可以是同一类型的处理器,如一个或多个CPU;也可以是不同类型的处理器,如一个或多个CPU以及一个或多个ASIC。The processor 602 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention. The one or more processors included in the electronic device may be the same type of processors, such as one or more CPUs; or may be different types of processors, such as one or more CPUs and one or more ASICs.

存储器606,用于存放程序610。存储器606可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。程序610具体可以用于使得处理器602执行上述任意方法实施例中的方法。The memory 606 is used to store the program 610 . Memory 606 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk memory. The program 610 can specifically be used to cause the processor 602 to execute the method in any of the above method embodiments.

在此应当注意的是,上述装置、存储介质以及电子设备实施例中的相关实施过程可参照方法实施例中的描述,本发明不作赘述。It should be noted here that, for the relevant implementation process in the foregoing apparatus, storage medium, and electronic device embodiments, reference may be made to the descriptions in the method embodiments, which are not repeated in the present invention.

在此提供的算法或显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明实施例也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms or displays provided herein are not inherently related to any particular computer, virtual system, or other device. Various general-purpose systems can also be used with teaching based on this. The structure required to construct such a system is apparent from the above description. Furthermore, embodiments of the present invention are not directed to any particular programming language. It is to be understood that various programming languages may be used to implement the inventions described herein, and that the descriptions of specific languages above are intended to disclose the best mode for carrying out the invention.

在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. It will be understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.

类似地,应当理解,为了精简本发明并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明实施例的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it is to be understood that, in the above description of exemplary embodiments of the invention, various features of the embodiments of the invention are sometimes grouped together into a single implementation in order to simplify the invention and to aid in the understanding of one or more of the various aspects of the invention. examples, figures, or descriptions thereof. This disclosure, however, should not be construed as reflecting an intention that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.

本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art will understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. The modules or units or components in the embodiments may be combined into one module or unit or component, and further they may be divided into multiple sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method so disclosed may be employed in any combination, unless at least some of such features and/or procedures or elements are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.

此外,本领域的技术人员能够理解,尽管在此的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, it will be understood by those skilled in the art that although some of the embodiments herein include certain features, but not others, included in other embodiments, that combinations of features of the different embodiments are intended to be within the scope of the present invention And form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.

本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。Various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will understand that a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components according to the embodiments of the present invention. The present invention can also be implemented as apparatus or apparatus programs (eg, computer programs and computer program products) for performing part or all of the methods described herein. Such a program implementing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such signals may be downloaded from Internet sites, or provided on carrier signals, or in any other form.

应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。上述实施例中的步骤,除有特殊说明外,不应理解为对执行顺序的限定。It should be noted that the above-described embodiments illustrate rather than limit the invention, and that alternative embodiments may be devised by those skilled in the art without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. do not denote any order. These words can be interpreted as names. The steps in the above embodiments should not be construed as limitations on the execution order unless otherwise specified.

Claims (10)

1.一种弹幕展示方法,其特征在于,包括:1. a barrage display method, is characterized in that, comprises: 向服务端发送弹幕配置信息,以供所述服务端基于所述弹幕配置信息预测在至少一个时刻展示的候选弹幕,并将同一时刻展示的候选弹幕合并为相应的重组弹幕,以及供所述服务端基于所述重组弹幕的合规性检测结果识别出所述候选弹幕中的违规弹幕以及合规弹幕;Sending the barrage configuration information to the server, so that the server can predict the candidate barrage displayed at at least one moment based on the barrage configuration information, and merge the candidate barrage displayed at the same moment into the corresponding reorganized barrage, and for the server to identify the illegal and compliant bullet screens in the candidate bullet screen based on the compliance detection result of the reorganized bullet screen; 接收所述服务端发送的所述合规弹幕;Receive the compliance barrage sent by the server; 展示所述合规弹幕。Display the compliance barrage. 2.根据权利要求1所述的方法,其特征在于,所述弹幕配置信息包括以下信息中的至少一种:2. The method according to claim 1, wherein the barrage configuration information comprises at least one of the following information: 弹幕滚动速度、弹幕展示域尺寸、弹幕字号、以及弹幕轨道数目。The scrolling speed of the bullet chat, the size of the bullet chat display field, the bullet chat font size, and the number of bullet chat tracks. 3.一种弹幕处理方法,其特征在于,包括:3. A barrage processing method, characterized in that, comprising: 获取目标用户终端发送的弹幕配置信息;Obtain the barrage configuration information sent by the target user terminal; 根据所述弹幕配置信息预测在至少一个时刻所述目标用户终端展示的候选弹幕,并将同一时刻所述目标用户终端展示的候选弹幕合并为相应的重组弹幕;Predict the candidate bullet screens displayed by the target user terminal at at least one moment according to the bullet screen configuration information, and combine the candidate bullet screens displayed by the target user terminal at the same moment into a corresponding reorganized bullet screen; 对所述重组弹幕进行合规性检测,以识别出违规重组弹幕,并且基于所述违规重组弹幕,从所述候选弹幕中识别出违规弹幕;performing compliance detection on the reorganized barrage to identify the illegal reorganization barrage, and identifying the illegal barrage from the candidate barrage based on the illegal reorganization barrage; 从所述候选弹幕中剔除所述违规弹幕后获得合规弹幕,并将所述合规弹幕发送至所述目标用户终端,以供在所述目标用户终端中展示所述合规弹幕。After removing the illegal bullet screen from the candidate bullet screen, a compliant bullet screen is obtained, and the compliant bullet screen is sent to the target user terminal for displaying the compliant bullet screen in the target user terminal. screen. 4.根据权利要求3所述的方法,其特征在于,所述根据所述弹幕配置信息预测在至少一个时刻所述目标用户终端展示的候选弹幕进一步包括:4 . The method according to claim 3 , wherein the predicting the candidate barrage displayed by the target user terminal at at least one moment according to the barrage configuration information further comprises: 4 . 基于所述弹幕配置信息,确定各个候选弹幕进入所述目标用户终端弹幕展示域的第一时间,以及确定各个候选弹幕退出所述目标用户终端弹幕展示域的第二时间;Based on the bullet screen configuration information, determine the first time when each candidate bullet screen enters the target user terminal bullet screen display domain, and determine the second time when each candidate bullet screen exits the target user terminal bullet screen display domain; 针对于任一候选弹幕,若其他候选弹幕的第一时间晚于该候选弹幕的第一时间,并且早于该候选弹幕的第二时间,则将该其他候选弹幕确定为该候选弹幕的关联弹幕,并将该候选弹幕以及该候选弹幕的关联弹幕确定为一个时刻所述目标用户终端展示的候选弹幕。For any candidate barrage, if the first time of the other candidate barrage is later than the first time of the candidate barrage and earlier than the second time of the candidate barrage, then the other candidate barrage is determined as the The associated barrage of the candidate barrage, and the candidate barrage and the associated barrage of the candidate barrage are determined as the candidate barrage displayed by the target user terminal at a time. 5.根据权利要求3所述的方法,其特征在于,所述根据所述弹幕配置信息预测在至少一个时刻所述目标用户终端展示的候选弹幕进一步包括:5 . The method according to claim 3 , wherein the predicting the candidate barrage displayed by the target user terminal at at least one moment according to the barrage configuration information further comprises: 5 . 基于所述弹幕配置信息,确定各个候选弹幕进入所述目标用户终端弹幕展示域的第一时间,以及确定各个候选弹幕退出所述目标用户终端弹幕展示域的第二时间;Based on the bullet screen configuration information, determine the first time when each candidate bullet screen enters the target user terminal bullet screen display domain, and determine the second time when each candidate bullet screen exits the target user terminal bullet screen display domain; 确定至少一个采样时刻,并针对于任一采样时刻,将第一时间早于或等于该采样时刻,并且第二时间晚于或等于该采样时刻的候选弹幕确定为在该采样时刻所述目标用户终端展示的候选弹幕。Determine at least one sampling time, and for any sampling time, determine the candidate barrage with the first time earlier than or equal to the sampling time, and the second time later than or equal to the sampling time as the target at the sampling time The candidate barrage displayed by the user terminal. 6.根据权利要求3-5中任一项所述的方法,其特征在于,所述将同一时刻所述目标用户终端展示的候选弹幕合并为相应的重组弹幕进一步包括:6. The method according to any one of claims 3-5, wherein the merging the candidate barrage displayed by the target user terminal at the same moment into a corresponding reorganized barrage further comprises: 将同一时刻所述目标用户终端展示的候选弹幕,按照候选弹幕进入所述目标用户终端弹幕展示域的第一时间的先后顺序依次拼接,以生成该时刻对应的重组弹幕。The candidate bullet screens displayed by the target user terminal at the same time are spliced in sequence according to the order of the first time when the candidate bullet screens entered the bullet screen display domain of the target user terminal, so as to generate a reorganized bullet screen corresponding to the moment. 7.一种弹幕展示装置,其特征在于,包括:7. A barrage display device, characterized in that, comprising: 发送模块,用于向服务端发送弹幕配置信息,以供所述服务端基于所述弹幕配置信息预测在至少一个时刻展示的候选弹幕,并将同一时刻展示的候选弹幕合并为相应的重组弹幕,以及供所述服务端基于所述重组弹幕的合规性检测结果识别出所述候选弹幕中的违规弹幕以及合规弹幕;The sending module is used to send the bullet screen configuration information to the server, so that the server can predict the candidate bullet screen displayed at at least one moment based on the bullet screen configuration information, and merge the candidate bullet screen displayed at the same moment into corresponding bullet screen The reorganized barrage, and for the server to identify the illegal barrage and the compliant barrage in the candidate barrage based on the compliance detection result of the reorganized barrage; 接收模块,用于接收所述服务端发送的所述合规弹幕;a receiving module, configured to receive the compliance barrage sent by the server; 展示模块,用于展示所述合规弹幕。The display module is used to display the compliance barrage. 8.一种弹幕处理装置,其特征在于,包括:8. A barrage processing device, characterized in that, comprising: 获取模块,用于获取目标用户终端发送的弹幕配置信息;The acquisition module is used to acquire the barrage configuration information sent by the target user terminal; 预测模块,用于根据所述弹幕配置信息预测在至少一个时刻所述目标用户终端展示的候选弹幕;a prediction module, configured to predict the candidate bullet screens displayed by the target user terminal at at least one moment according to the bullet screen configuration information; 重组模块,用于将同一时刻所述目标用户终端展示的候选弹幕合并为相应的重组弹幕;The reorganization module is used to merge the candidate barrage displayed by the target user terminal at the same moment into the corresponding reorganized barrage; 检测模块,用于对重组弹幕进行合规性检测,以识别出违规重组弹幕;The detection module is used to perform compliance detection on the reorganization barrage to identify the illegal reorganization barrage; 识别模块,用于基于所述违规重组弹幕,从所述候选弹幕中识别出违规弹幕;an identification module for reorganizing the bullet screen based on the violation, and identifying the violation bullet screen from the candidate bullet screen; 剔除模块,用于从所述候选弹幕中剔除所述违规弹幕后获得合规弹幕;The elimination module is used to obtain the compliant bullet screen after eliminating the illegal bullet screen from the candidate bullet screen; 发送模块,用于将所述合规弹幕发送至所述目标用户终端,以供在所述目标用户终端中展示所述合规弹幕。A sending module, configured to send the compliant bullet screen to the target user terminal for displaying the compliant bullet screen in the target user terminal. 9.一种电子设备,其特征在于,包括:处理器、存储器、通信接口和通信总线,所述处理器、所述存储器和所述通信接口通过所述通信总线完成相互间的通信;9. An electronic device, comprising: a processor, a memory, a communication interface and a communication bus, and the processor, the memory and the communication interface communicate with each other through the communication bus; 所述存储器用于存放至少一可执行指令,所述可执行指令使所述处理器执行如权利要求1或2所述的弹幕展示方法对应的操作;The memory is used for storing at least one executable instruction, and the executable instruction enables the processor to perform an operation corresponding to the bullet screen display method according to claim 1 or 2; 和/或,所述可执行指令使所述处理器执行如权利要求3-6中任一项所述的弹幕处理方法对应的操作。And/or, the executable instructions cause the processor to perform operations corresponding to the bullet screen processing method according to any one of claims 3-6. 10.一种计算机存储介质,其特征在于,所述存储介质中存储有至少一可执行指令,所述可执行指令使处理器执行如权利要求1或2所述的弹幕展示方法对应的操作;10. A computer storage medium, wherein the storage medium stores at least one executable instruction, and the executable instruction enables a processor to perform an operation corresponding to the bullet screen display method according to claim 1 or 2 ; 和/或,所述可执行指令使处理器执行如权利要求3-6中任一项所述的弹幕处理方法对应的操作。And/or, the executable instructions cause the processor to perform operations corresponding to the bullet screen processing method according to any one of claims 3-6.
CN202210654982.0A 2022-06-10 2022-06-10 Bullet screen display method, bullet screen processing device and electronic equipment Active CN115103212B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210654982.0A CN115103212B (en) 2022-06-10 2022-06-10 Bullet screen display method, bullet screen processing device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210654982.0A CN115103212B (en) 2022-06-10 2022-06-10 Bullet screen display method, bullet screen processing device and electronic equipment

Publications (2)

Publication Number Publication Date
CN115103212A true CN115103212A (en) 2022-09-23
CN115103212B CN115103212B (en) 2023-09-05

Family

ID=83290777

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210654982.0A Active CN115103212B (en) 2022-06-10 2022-06-10 Bullet screen display method, bullet screen processing device and electronic equipment

Country Status (1)

Country Link
CN (1) CN115103212B (en)

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004364184A (en) * 2003-06-06 2004-12-24 Nippon Telegr & Teleph Corp <Ntt> Contents interlocking type comment display method, comment display system, server apparatus, comment display apparatus, and comment display program
CN105592331A (en) * 2015-12-16 2016-05-18 广州华多网络科技有限公司 Method for processing barrage messages, related equipment, and system
CN105847717A (en) * 2016-05-30 2016-08-10 武汉斗鱼网络科技有限公司 Barrage reporting method, client and server
CN106101848A (en) * 2016-06-08 2016-11-09 维沃移动通信有限公司 A kind of barrage display packing and electronic equipment
CN106878823A (en) * 2016-12-29 2017-06-20 武汉斗鱼网络科技有限公司 It is a kind of to filter word barrage and be converted to the method and system of voice barrage
CN108401175A (en) * 2017-12-20 2018-08-14 广州虎牙信息科技有限公司 A kind of processing method, device, storage medium and the electronic equipment of barrage message
WO2018176764A1 (en) * 2017-03-30 2018-10-04 联想(北京)有限公司 Data processing method and apparatus, and electronic device
WO2019007283A1 (en) * 2017-07-07 2019-01-10 腾讯科技(深圳)有限公司 Barrage processing method and device, server and storage medium
CN110430448A (en) * 2019-07-31 2019-11-08 北京奇艺世纪科技有限公司 A kind of barrage processing method, device and electronic equipment
CN110460899A (en) * 2019-06-28 2019-11-15 咪咕视讯科技有限公司 Method for displaying barrage content, terminal device, and computer-readable storage medium
CN110493653A (en) * 2019-09-12 2019-11-22 北京奇艺世纪科技有限公司 Barrage control method for playing back, device, equipment and storage medium
CN112118228A (en) * 2020-08-17 2020-12-22 湖南快乐阳光互动娱乐传媒有限公司 Bullet screen data processing method, user side and bullet screen server
WO2021073478A1 (en) * 2019-10-17 2021-04-22 维沃移动通信有限公司 Bullet screen information recognition method, display method, server and electronic device
KR20210046594A (en) * 2020-04-01 2021-04-28 바이두 온라인 네트웍 테크놀러지 (베이징) 캄파니 리미티드 Method and device for pushing information
CN113157172A (en) * 2021-03-12 2021-07-23 游艺星际(北京)科技有限公司 Barrage information display method, transmission method, device, terminal and storage medium
CN113805992A (en) * 2021-09-01 2021-12-17 北京达佳互联信息技术有限公司 Information display method and device, electronic equipment and storage medium
CN114466204A (en) * 2021-12-15 2022-05-10 北京快乐茄信息技术有限公司 Video bullet screen display method and device, electronic equipment and storage medium

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004364184A (en) * 2003-06-06 2004-12-24 Nippon Telegr & Teleph Corp <Ntt> Contents interlocking type comment display method, comment display system, server apparatus, comment display apparatus, and comment display program
CN105592331A (en) * 2015-12-16 2016-05-18 广州华多网络科技有限公司 Method for processing barrage messages, related equipment, and system
CN105847717A (en) * 2016-05-30 2016-08-10 武汉斗鱼网络科技有限公司 Barrage reporting method, client and server
CN106101848A (en) * 2016-06-08 2016-11-09 维沃移动通信有限公司 A kind of barrage display packing and electronic equipment
CN106878823A (en) * 2016-12-29 2017-06-20 武汉斗鱼网络科技有限公司 It is a kind of to filter word barrage and be converted to the method and system of voice barrage
WO2018176764A1 (en) * 2017-03-30 2018-10-04 联想(北京)有限公司 Data processing method and apparatus, and electronic device
WO2019007283A1 (en) * 2017-07-07 2019-01-10 腾讯科技(深圳)有限公司 Barrage processing method and device, server and storage medium
CN108401175A (en) * 2017-12-20 2018-08-14 广州虎牙信息科技有限公司 A kind of processing method, device, storage medium and the electronic equipment of barrage message
CN110460899A (en) * 2019-06-28 2019-11-15 咪咕视讯科技有限公司 Method for displaying barrage content, terminal device, and computer-readable storage medium
CN110430448A (en) * 2019-07-31 2019-11-08 北京奇艺世纪科技有限公司 A kind of barrage processing method, device and electronic equipment
CN110493653A (en) * 2019-09-12 2019-11-22 北京奇艺世纪科技有限公司 Barrage control method for playing back, device, equipment and storage medium
WO2021073478A1 (en) * 2019-10-17 2021-04-22 维沃移动通信有限公司 Bullet screen information recognition method, display method, server and electronic device
KR20210046594A (en) * 2020-04-01 2021-04-28 바이두 온라인 네트웍 테크놀러지 (베이징) 캄파니 리미티드 Method and device for pushing information
CN112118228A (en) * 2020-08-17 2020-12-22 湖南快乐阳光互动娱乐传媒有限公司 Bullet screen data processing method, user side and bullet screen server
CN113157172A (en) * 2021-03-12 2021-07-23 游艺星际(北京)科技有限公司 Barrage information display method, transmission method, device, terminal and storage medium
CN113805992A (en) * 2021-09-01 2021-12-17 北京达佳互联信息技术有限公司 Information display method and device, electronic equipment and storage medium
CN114466204A (en) * 2021-12-15 2022-05-10 北京快乐茄信息技术有限公司 Video bullet screen display method and device, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李金兰;: "有效进行直播平台的弹幕管理", 有线电视技术, no. 03 *

Also Published As

Publication number Publication date
CN115103212B (en) 2023-09-05

Similar Documents

Publication Publication Date Title
CN109803180B (en) Video preview generation method and device, computer equipment and storage medium
CN108989882B (en) Method and apparatus for outputting music pieces in video
EP4053733A1 (en) Content check model training method and apparatus, video content check method and apparatus, computer device, and storage medium
JP7394809B2 (en) Methods, devices, electronic devices, media and computer programs for processing video
CN109255767B (en) Image processing method and device
CN106844685B (en) Method, device and server for identifying website
CN111836118B (en) Video processing method, device, server and storage medium
CN109618236A (en) Video comments treating method and apparatus
CN111401228B (en) Video target labeling method and device and electronic equipment
CN114880458B (en) Method, device, equipment and medium for generating book recommendation information
CN111263225A (en) Video stuck prediction method and device, computer equipment and storage medium
CN118053123B (en) Alarm information generation method, device, electronic equipment and computer medium
CN112672146B (en) Frame rate testing method and computing device for video player playing video
CN114445754A (en) Video processing method and device, readable medium and electronic equipment
CN109522451B (en) Repeated video detection method and device
CN113971402B (en) Content identification method, device, medium and electronic device
CN113076932B (en) Method for training audio language identification model, video detection method and device thereof
CN112104914A (en) Video recommendation method and device
CN115103212B (en) Bullet screen display method, bullet screen processing device and electronic equipment
CN112507884A (en) Live content detection method and device, readable medium and electronic equipment
CN114697761B (en) Processing method, processing device, terminal equipment and medium
CN112911323B (en) Live broadcast interaction evaluation method and device, electronic equipment and readable storage medium
CN114697762B (en) Processing method, processing device, terminal equipment and medium
CN113033500B (en) Motion segment detection method, model training method and device
CN112906551B (en) Video processing method, device, storage medium and electronic 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