Storage method and system of bullet screen message, and storage medium

An information storage and message technology, applied in the field of barrage, can solve the problems of reducing the timeliness of barrage message distribution, time-consuming, large system memory, etc., and achieve the effect of improving timeliness of distribution, improving operation efficiency, and improving storage speed

Active Publication Date: 2019-03-19
WUHAN DOUYU NETWORK TECH CO LTD
View PDF12 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The data structure used for barrage type screening in traditional solutions is a human-defined string or an integer as a unique identifier, but the string or integer defined by different developers may have the possibility of duplication, so there is no guarantee The uniqueness of the barrage message type
Moreover, storing the corresponding relationship between the bullet chatting message type and the storage object locally on the client needs to consume a large amount of system memory, and when there are many bullet chatting messages, the process of finding the corresponding storage object according to the bullet chatting message type is time-consuming. Long, which reduces the timeliness of the distribution of barrage messages

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
  • Storage method and system of bullet screen message, and storage medium
  • Storage method and system of bullet screen message, and storage medium
  • Storage method and system of bullet screen message, and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0020] figure 1 It is a flow chart of a method for storing bullet chat messages provided by Embodiment 1 of the present invention. This embodiment is applicable to the case of storing bullet chat messages delivered by a bullet chat server. The method can be executed by a client in a barrage message storage system, and the client can be an intelligent terminal equipped with an Android system with a barrage function, such as a smart phone, a tablet computer or a notebook computer. see figure 1 , the method specifically includes the following steps:

[0021] S110. The client receives the target barrage message sent by the server, and determines the target class name and target package name in the target barrage message.

[0022] Wherein, the target bullet chat message may refer to the bullet chat message sent by the bullet chat server to the client, so as to store and display the bullet chat message on the client. The target class name and target package name respectively refe...

Embodiment 2

[0035] figure 2 It is a flow chart of a method for storing barrage messages provided by Embodiment 2 of the present invention. On the basis of the above-mentioned embodiments, this embodiment is for "store the target parameter information in the target barrage message to Target Storage Object" for optimization. The explanations of terms that are the same as or corresponding to the above-mentioned embodiments will not be repeated here.

[0036] see figure 2 The method for storing barrage messages provided in this embodiment specifically includes:

[0037] S210. The client receives the target barrage message sent by the server, and determines the target class name and target package name in the target barrage message.

[0038] S220. The client uses the target class name and the target package name as function input parameters, calls the class query function, and determines the target storage object of the class type corresponding to the target barrage message.

[0039] S23...

Embodiment 3

[0063] image 3 A schematic structural diagram of a barrage message storage system provided by Embodiment 3 of the present invention. This embodiment is applicable to the case of storing barrage messages issued by a barrage server. The system may specifically include: a server 31 and at least one The client 32; wherein, the client 32 includes: a target class name package name determination module 321 , a target storage object determination module 322 and a target parameter information storage module 323 .

[0064] Wherein, the target class name package name determination module 321 is used to receive the target barrage message sent by the server, and determines the target class name and target package name in the target barrage message; the target storage object determination module 322 is used to use the target class name and target package name The target package name is used as a function input parameter, and the class query function is called to determine the target storag...

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 embodiment of the invention discloses a storage method and system of a bullet screen message, and a storage medium. The method comprises the following steps: a client receives a target bullet screen message sent by a server, and determines a target class name and a target packet name in the target bullet screen message; the client takes the target class name and the target packet name as a function input parameter, and determines a target storage object of the class type corresponding to the target bullet screen message by calling a class query function; the client stores the target parameter information in the target bullet screen message in the target storage object through a reflective scanning way. Through the technical scheme disclosed by the embodiment of the invention, an operation of performing storage according to the bullet screen message type is unnecessary, the system memory is reduced, the storage speed is improved, and then the distribution timeliness of the bullet screen message is improved.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of bullet chatting, and in particular, to a storage method, system and storage medium of bullet chatting messages. Background technique [0002] With the rapid development of smart terminals, various application software are developed and applied to smart terminals. Some application software, such as live broadcast software and video playback software, often have a barrage function, so that users can express their emotions by sending barrage while watching the live broadcast. Among them, the barrage service includes important functions such as receiving, processing, and distributing user barrage. After the client receives the bullet chat message sent by the bullet chat server, it needs to parse the bullet chat message, so that the bullet chat message that the user needs to display can be displayed on the client interface. [0003] During the parsing process of the barrage message,...

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
IPC IPC(8): H04N21/433H04N21/435G06F16/71G06F16/73
CPCH04N21/4332H04N21/435
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
Try Eureka
PatSnap group products