barrage display method, device and equipment and computer readable storage medium

文档序号:1784932 发布日期:2019-12-06 浏览:9次 中文

阅读说明:本技术 弹幕显示方法、装置、设备及计算机可读存储介质 (barrage display method, device and equipment and computer readable storage medium ) 是由 李备 于 2019-09-24 设计创作,主要内容包括:本发明提供一种弹幕显示方法、装置、设备及计算机可读存储介质。本发明的方法,通过在服务器端灵活配置弹幕消息的样式信息以及各弹幕通道的优先级,显示终端接收服务器端向其推送的包括样式信息的弹幕消息,根据当前各弹幕通道的优先级,确定用于显示所述弹幕消息的目标通道,根据所述样式信息在所述目标通道内显示所述弹幕消息,丰富了弹幕消息的显示样式,并且可以减少对容易覆盖应用系统功能按钮的弹幕通道的使用,从而减少弹幕消息对应用系统功能按钮的覆盖,提高应用系统的可用性。(The invention provides a bullet screen display method, a bullet screen display device, bullet screen equipment and a computer readable storage medium. According to the method, the style information of the bullet screen message and the priority of each bullet screen channel are flexibly configured at the server end, the display terminal receives the bullet screen message which is pushed by the server end and comprises the style information, the target channel for displaying the bullet screen message is determined according to the priority of each current bullet screen channel, the bullet screen message is displayed in the target channel according to the style information, the display style of the bullet screen message is enriched, the use of the bullet screen channel which is easy to cover the function buttons of the application system can be reduced, the coverage of the bullet screen message on the function buttons of the application system is reduced, and the usability of the application system is improved.)

1. A bullet screen display method is characterized by comprising the following steps:

Receiving a bullet screen message pushed by a server, wherein the bullet screen message comprises style information;

Determining a target channel for displaying the bullet screen message according to the priority of each bullet screen channel;

And displaying the bullet screen message in the target channel according to the style information.

2. The method of claim 1, wherein before determining a target channel for displaying the bullet screen message according to the priority of each bullet screen channel, further comprising:

judging whether the bullet screen message is displayed on the current page or not according to the type information of the bullet screen message, the identification information of the current user, the current page information and the filtering configuration information;

And if the judgment result is that the bullet screen message is displayed on the current page, continuing to execute the step of determining a target channel for displaying the bullet screen message according to the priority of each bullet screen channel.

3. The method of claim 2, wherein the filtering configuration information comprises white list information and/or black list information, and wherein the white list information comprises: the authorization of each type of bullet screen message is used for checking the identification information of the user and the page information allowed to be displayed by each type of bullet screen message; the blacklist information includes: the identification information of the user is prohibited to view by each type of bullet screen message, and the page information prohibited to be displayed by each type of bullet screen message.

4. the method according to claim 1, wherein the barrage message further includes message body information, the message body information includes icon information and message content information, and the icon information includes a user identification picture or an identification picture corresponding to message content;

The style information includes at least one of:

whether to display the icon, whether the icon supports jumping, message background picture information, and message content text display style information.

5. The method of claim 4, wherein the icon information further includes jump information, and wherein after displaying the bullet screen message in the target channel according to the style information, further comprising:

And responding to the jump triggering operation of the icon of the bullet screen message, and executing jump processing according to jump information in the icon information of the bullet screen message.

6. the method according to claim 4 or 5, wherein the message content information further comprises skip information, and further comprising, after displaying the bullet screen message in the target channel according to the style information:

And responding to the jump triggering operation of the message content of the bullet screen message, and executing jump processing according to jump information in the message content information of the bullet screen message.

7. The method according to any one of claims 1 to 5, wherein the barrage message is a rich text message, and the style information is included in a tag of the rich text message.

8. the method of claim 1, wherein before determining a target channel for displaying the bullet screen message according to the priority of each bullet screen channel, further comprising:

Determining the priority of the bullet screen message according to the type information of the bullet screen message;

Inserting the bullet screen messages into a message queue to be displayed according to the priority of the bullet screen messages, and sequencing the bullet screen messages in the message queue to be displayed according to the priority.

9. The method of claim 8, wherein the determining a target channel for displaying the bullet screen message according to the priority of each bullet screen channel comprises:

Detecting whether all messages in the bullet screen channel are displayed in real time;

if the fact that all the messages in at least one bullet screen channel are completely displayed is detected, determining the bullet screen channel with the highest priority in the at least one bullet screen channel as a current channel, and determining the current channel as a target channel for displaying the bullet screen messages with the highest priority in the message queue to be displayed.

10. The method of claim 1, wherein displaying the bullet screen message in the target channel according to the style information comprises:

If no message is currently displayed in the target channel, calculating the moving speed of the bullet screen message according to the length of the bullet screen message;

and displaying the bullet screen message in the target channel at the moving speed according to the style information.

11. The method of claim 10, wherein displaying the bullet screen message in the target channel according to the style information comprises:

And if at least one message is currently displayed in the target channel, displaying the bullet screen message in the target channel at the moving speed of the currently displayed message in the target channel.

12. A bullet screen display method is characterized by comprising the following steps:

Responding to a bullet screen style configuration request of a bullet screen message of a target type, receiving style information by a server, and associating the style information with the target type;

Responding to a barrage channel priority configuration request, receiving priority configuration information of each barrage channel input through a front-end page by the server, updating the priority of each barrage channel according to the priority configuration information, and sending the updated priority of each barrage channel to the display terminal;

And responding to the message pushing instruction, and pushing the bullet screen message including the style information to the display terminal by the server.

13. The method of claim 12, further comprising:

Responding to a filtering configuration request, the server receives filtering configuration information input through a front-end page and sends the filtering configuration information to a display terminal;

The filtering configuration information includes white list information and/or black list information, and the white list information includes: the authorization of each type of bullet screen message is used for checking the identification information of the user and the page information allowed to be displayed by each type of bullet screen message; the blacklist information includes: the identification information of the user is prohibited to view by each type of bullet screen message, and the page information prohibited to be displayed by each type of bullet screen message.

14. the method of claim 12, wherein the barrage message further includes message body information, the message body information includes icon information and message content information, and the icon information includes a user identification picture or an identification picture corresponding to message content;

the icon information also comprises jump information, and in response to an icon jump setting instruction for the bullet screen information of the target type, the server receives first jump information and adds the first jump information to the icon information of the bullet screen information of the target type;

And/or the presence of a gas in the gas,

The message content information also comprises jump information, and the server receives second jump information in response to a message content jump setting instruction of the bullet screen message of the target type and adds the second jump information to the message content information of the bullet screen message of the target type.

15. A bullet screen display device, comprising:

The receiving module is used for receiving a barrage message pushed by a server, and the barrage message comprises style information;

The bullet screen channel regulating and controlling module is used for determining a target channel for displaying the bullet screen message according to the priority of each bullet screen channel;

And the bullet screen message display module is used for displaying the bullet screen message in the target channel according to the style information.

16. a bullet screen display device, comprising:

the server receives the style information and associates the style information with the target type;

The bullet screen channel configuration module is used for responding to a bullet screen channel priority configuration request, receiving priority configuration information of each bullet screen channel input through a front end page by the server, updating the priority of each bullet screen channel according to the priority configuration information, and sending the updated priority of each bullet screen channel to the display terminal;

And the data pushing module is used for responding to a message pushing instruction, and the server pushes the bullet screen message containing the style information to the display terminal.

17. A bullet screen display device, comprising:

a processor, a memory, and a computer program stored on the memory and executable on the processor;

Wherein the processor, when executing the computer program, implements the method of any of claims 1 to 14.

18. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 14.

Technical Field

the present invention relates to the field of multimedia technologies, and in particular, to a bullet screen display method, apparatus, device, and computer-readable storage medium.

Background

At present, many application systems (such as a live broadcast platform, a video playing platform, and the like) have a barrage function, the barrage is a message transmission mode, product interactivity can be improved, and a large number of user comments can be displayed on a video playing picture in a rolling caption mode through the barrage.

The existing bullet screen system mostly sets a plurality of bullet screen channels on a screen according to the height of the screen and the height of one bullet screen, and the height of the screen is divided by the height of the bullet screen to calculate the total number of bullet screen channels. When a new bullet screen exists, a free bullet screen channel is randomly found to be inserted, so that the selection of the bullet screen channel is not controllable, each bullet screen channel of the bullet screen on the display screen can be randomly displayed, and thus the bullet screen is often covered on some function buttons of the application system, so that the function buttons of the application system cannot be triggered and the usability is poor.

Disclosure of Invention

The invention provides a bullet screen display method, a bullet screen display device, bullet screen display equipment and a computer readable storage medium, which are used for solving the problems that in the prior art, when bullet screen information is displayed, selection of a bullet screen channel is uncontrollable, so that a function button of an application system cannot be triggered and usability is poor.

one aspect of the present invention provides a bullet screen display method, including:

Receiving a bullet screen message pushed by a server, wherein the bullet screen message comprises style information;

Determining a target channel for displaying the bullet screen message according to the priority of each bullet screen channel;

And displaying the bullet screen message in the target channel according to the style information.

Another aspect of the present invention provides a bullet screen display method, including:

responding to a bullet screen style configuration request of a bullet screen message of a target type, receiving style information by a server, and associating the style information with the target type;

Responding to a barrage channel priority configuration request, receiving priority configuration information of each barrage channel input through a front-end page by the server, updating the priority of each barrage channel according to the priority configuration information, and sending the updated priority of each barrage channel to the display terminal;

And responding to the message pushing instruction, and pushing the bullet screen message including the style information to the display terminal by the server.

Another aspect of the present invention provides a bullet screen display device, including:

The receiving module is used for receiving a barrage message pushed by a server, and the barrage message comprises style information;

the bullet screen channel regulating and controlling module is used for determining a target channel for displaying the bullet screen message according to the priority of each bullet screen channel;

and the bullet screen message display module is used for displaying the bullet screen message in the target channel according to the style information.

Another aspect of the present invention provides a bullet screen display device, including:

The server receives the style information and associates the style information with the target type;

The bullet screen channel configuration module is used for responding to a bullet screen channel priority configuration request, receiving priority configuration information of each bullet screen channel input through a front end page by the server, updating the priority of each bullet screen channel according to the priority configuration information, and sending the updated priority of each bullet screen channel to the display terminal;

And the data pushing module is used for responding to a message pushing instruction, and the server pushes the bullet screen message containing the style information to the display terminal.

another aspect of the present invention provides a bullet screen display device, including:

A processor, a memory, and a computer program stored on the memory and executable on the processor; and when the processor runs the computer program, the bullet screen display method is realized.

Another aspect of the present invention provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the bullet screen display method described above.

According to the bullet screen display method, the bullet screen display device, the bullet screen display equipment and the computer readable storage medium, the style information of the bullet screen message and the priority of each bullet screen channel are flexibly configured at the server end, the display terminal receives the bullet screen message which is pushed by the server end and comprises the style information, the target channel used for displaying the bullet screen message is determined according to the priority of each current bullet screen channel, the bullet screen message is displayed in the target channel according to the style information, the display style of the bullet screen message is enriched, the usage of the bullet screen channel which is easy to cover the function buttons of the application system can be reduced, the coverage of the bullet screen message on the function buttons of the application system is reduced, and the usability of the application system is improved.

Drawings

fig. 1 is a flowchart of a bullet screen display method according to an embodiment of the present invention;

fig. 2 is a flowchart of a bullet screen display method according to a second embodiment of the present invention;

Fig. 3 is a schematic diagram of a bullet screen message according to a second embodiment of the present invention;

fig. 4 is a flowchart of a bullet screen display method according to a third embodiment of the present invention;

Fig. 5 is a schematic structural diagram of a bullet screen display device according to a fourth embodiment of the present invention;

fig. 6 is a schematic structural diagram of a bullet screen display device according to a fifth embodiment of the present invention;

Fig. 7 is a schematic structural diagram of a bullet screen display device according to a sixth embodiment of the present invention;

fig. 8 is a schematic structural diagram of a bullet screen display device according to a seventh embodiment of the present invention.

With the above figures, certain embodiments of the invention have been illustrated and described in more detail below. The drawings and the description are not intended to limit the scope of the inventive concept in any way, but rather to illustrate it by those skilled in the art with reference to specific embodiments.

Detailed Description

reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.

The terms "first", "second", etc. referred to in the present invention are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. In the description of the following examples, "plurality" means two or more unless specifically limited otherwise.

The specific application scenarios of the invention are as follows: on many application systems, comment information of a user or a message (such as a notification message) pushed by the system to the user can be displayed on a display interface of the application system in a bullet screen form. The application system may be an application system based on video playing, such as a live platform, a video playing platform, and the like, and may also be other application systems such as a game platform. In this embodiment, the server refers to a server of an application system, and the display terminal may be a mobile terminal used by a user, such as a smart phone or a tablet computer, or may be a personal computer. At the server side, the bullet screen messages may include a plurality of different types, such as user comment messages, system notification messages, activity notification messages, and the like, technicians may configure the styles of the various types of bullet screen messages according to the requirements of the actual application scenarios, and different types of bullet screen messages may configure different styles. When the server side pushes the bullet screen message to the display terminal, the display terminal displays the bullet screen message according to the style information carried in the bullet screen message, and the style of the bullet screen message can be flexibly configured at the server side. In addition, the server end can flexibly configure the priority of each bullet screen channel according to whether the position of each bullet screen channel covers the function button of the application system, the priority of the bullet screen channel which easily covers the position of the function button of the application system is set to be lower, meanwhile, the configured priority information of the bullet screen channel is synchronized to the display terminal, and when the display terminal displays bullet screen messages, the target channel of the bullet screen messages is determined according to the idle state and the priority of each bullet screen channel, so that the coverage of the bullet screen messages on the function buttons of the application system can be reduced, and the availability of the application system is improved.

the following describes the technical solutions of the present invention and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.

23页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种缓存视频的方法以及相关设备

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类