Bullet screen data processing method and device, storage medium and electronic equipment

A processing method and barrage technology, applied in the field of data processing, can solve the problems of high communication consumption between JS processes and native applications, and low barrage data processing performance, so as to improve processing performance, reduce communication consumption, and solve low processing performance Effect

Pending Publication Date: 2021-10-29
NETEASE (HANGZHOU) NETWORK CO LTD
View PDF11 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present disclosure provide a method and device, a storage medium, and an electronic device for processing barrage data, so as to at least solve the problem of low processing performance of barrage data in the prior art, resulting in communication between JS processes and native applications. Expensive technical issues

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 data processing method and device, storage medium and electronic equipment
  • Bullet screen data processing method and device, storage medium and electronic equipment
  • Bullet screen data processing method and device, storage medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] In order to enable those skilled in the art to better understand the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only It is an embodiment of a part of the present disclosure, but not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present disclosure.

[0030]It should be noted that the terms "first" and "second" in the specification and claims of the present disclosure and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circum...

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 relates to a bullet screen data processing method and device, a storage medium and electronic equipment. The method comprises the following steps: acquiring bullet screen data to be operated from a preset cache space; according to an array data structure, calculating the running state of the bullet screen track, wherein the array data structure is used for recording running information of bullet screen data running currently in each bullet screen track and bullet screen data to be run, and the bullet screen track is used for pushing bullet screen data in the user interface according to a specified moving track; when the operation state of the bullet screen track is an idle state, allocating bullet screen data to be operated in the array data structure to the bullet screen track in the idle state, and updating the array data structure; and sending the bullet screen data currently running in the bullet screen track to the native application to execute animation processing of bullet screen floating. According to the method and the device, the technical problem of relatively high communication consumption between the JS process and the native application caused by relatively low bullet screen data processing performance in the prior art is solved.

Description

technical field [0001] The present disclosure relates to the field of data processing, and in particular, to a method and device for processing barrage data, a storage medium, and electronic equipment. Background technique [0002] In the React Native (Facebook open source cross-platform mobile application development framework) applet, live broadcasting is a very common business, and it often happens that a large number of barrages are received at the same time in the live broadcasting business. However, since the business logic of the React Native application runs on the JS thread, and the views of React Native are rendered based on native components, in application scenarios like barrage, JS needs to communicate with the native frequently to calculate and obtain the current The position of a barrage on the screen to calculate the insertion time of the next barrage. [0003] In the scene of a large number of barrages, each frame movement of each barrage requires JS thread...

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/435H04N21/431H04N21/488
CPCH04N21/435H04N21/4312H04N21/4884
Inventor 王潭
Owner NETEASE (HANGZHOU) NETWORK 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
Try Eureka
PatSnap group products