Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Bullet screen display method and device

A bullet screen and pre-display technology, applied in the field of Internet technology development, can solve problems such as serious memory consumption, and achieve the effect of simplifying style change operations and enriching bullet screen styles.

Active Publication Date: 2018-07-24
WUHAN DOUYU NETWORK TECH CO LTD
View PDF14 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a bullet chatting display method and device, which can draw bullet chatting in the video area of ​​the terminal interface, and solve the existing problem of directly loading pictures in the bullet chatting, resulting in serious memory consumption

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Bullet screen display method and device
  • Bullet screen display method and device
  • Bullet screen display method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] refer to figure 1 , the implementation flowchart of the barrage display method provided by the embodiment of the present invention, including the following steps:

[0027] S101. After receiving the bullet chat message sent by the server, convert the bullet chat message into a bullet chat model.

[0028] The barrage message sent by the server refers to the information pushed by the server to the terminal user. In the real-time of the present invention, the information is barrage information. Optionally, it may also include requested resources, notifications, etc., the The server may be a platform server of a live broadcast platform, an application server of a video website, a resource server, and the like.

[0029] The received bullet chat messages are generally of string type, and the strings need to be simply sorted and classified, that is, the bullet chat messages are converted into bullet chat models.

[0030] Optionally, a bullet chatting model is constructed, whe...

Embodiment 2

[0040] exist figure 1 on the basis of figure 2 It shows the implementation flowchart of step S102, and S102 is the process of parsing the barrage model, which is described in detail as follows:

[0041] In S201, a dictionary is constructed. The method of constructing the dictionary is to use the alloc function to create, and use the init function to initialize, and create an empty dictionary at a time.

[0042] A dictionary is an unordered collection used to store key-element pairs, that is, the pairing of a key and a value. The key in the dictionary is unique. Given a key, the corresponding value can be quickly located. Optionally, it can be expressed in the form of a hash table or map in other programming languages ​​or program structures

[0043] In S202, a small dictionary is generated for each information type in the bullet chatting model. The bullet chatting model has classified the basic information of the bullet chatting. Here, according to the classification of th...

Embodiment 3

[0048] to combine figure 1 , image 3 It shows the implementation flow chart of step S103, S103 is the barrage drawing process, which is described in detail as follows:

[0049]The data read from the dictionary can be used to set the text display. In S301, the display text is constructed. Specifically, the content of the text to be displayed in the dictionary is taken out, the text drawing position and drawing range are set, the display area width is set, and the display is set. Region shape, color, etc., the display text to be drawn in the embodiment of the present invention is a text structure containing text in a specific shape.

[0050] The purpose of obtaining context information in S302 is to obtain the information of the content to be displayed. Use UIGraphicsGetCurrentContext to obtain the context, use CGContextSaveGState to save the context function to save the context, use the CGContextSaveGState function to perform context conversion of transmission information, an...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a bullet screen display method and device for drawing bullet screens on an online video viewed by a user and displaying bullet screen information. The method provided by the invention comprises the following steps: after a bullet screen message sent by a server is received, converting the bullet screen message into a bullet screen model; parsing the bullet screen model, andconverting the parsed data into a dictionary; setting drawing parameters and drawing contents according to data read from the dictionary, and drawing to-be-displayed bullet screens in a bullet screenarea of the video. In the bullet screen display method and device provided by the embodiment of the invention, by converting the bullet screen message into the bullet screen model, parsing the data in the model and drawing the bullet screens according to the data, the problem of over large memory consumption resulting from directly loading pictures contained in the bullet screens is avoided, thememory space can be saved, and the playing smoothness of the bullet screens and the video are ensured.

Description

technical field [0001] The invention relates to the field of Internet technology development, in particular to a barrage display method and device. Background technique [0002] Due to its strong real-time interactivity, barrage has become one of the important technologies that video websites, especially live broadcast platforms, must master since it was introduced into video playback. Rich and colorful bullet screens can enhance the entertainment of videos and improve user experience, which requires video websites or live broadcast platforms to be able to meet the transmission and display of various styles of graphic content. [0003] Usually bullet chatting is displayed in the form of building rich text and loading pictures. Because the number of bullet chatting is very large in the actual live broadcast process, and if the picture style in bullet chatting messages is too complicated, if each bullet chatting information is Loading pictures will inevitably lead to serious ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04N21/431H04N21/435H04N21/4788
CPCH04N21/4312H04N21/435H04N21/4788
Inventor 汪刚张文明陈少杰
Owner WUHAN DOUYU NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products