Barrage acquisition method, computing device and computer storage medium

An acquisition method and technology of computing equipment, applied in the field of information processing, can solve the problems of returning data volume, server resource waste, large data volume affecting server performance, and occupying a lot of network resources, so as to improve throughput and reduce the number of message transmissions , to avoid the effect of wasting

Active Publication Date: 2021-06-29
ZHANGYUE TECH CO LTD
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, every time the user flips the screen, they need to make at least one barrage interface request, which will lead to a relatively large amount of interface requests, resulting in an overloaded server and occupying more network resources.
[0003] In addition, it is also possible to use bullet chat messages that return a fixed number of pages. However, the number of bullet chat messages on different pages is different. Some bullet chats have many bullet chats, and some have no bullet chat messages. Sometimes the large amount of returned data will affect the server. Performance, and sometimes the amount of data returned is very small, resulting in waste of resources on the server side

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
  • Barrage acquisition method, computing device and computer storage medium
  • Barrage acquisition method, computing device and computer storage medium
  • Barrage acquisition method, computing device and computer storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.

[0034] figure 1 A schematic flow chart of a method for acquiring bullet chatting according to an embodiment of the present invention is shown. Such as figure 1 As shown, the method includes the following steps:

[0035] Step S0, receiving the bullet chat message query request with the current reading page number sent by the client, and assigning the current reading page number to the bullet chat query page number.

[0036] Usually, users can...

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 barrage acquisition method, a computing device and a computer storage medium. The method includes: step S0, receiving the bullet chat message query request with the current reading page number sent by the client, and assigning the current reading page number to the bullet chat query page number; step S1, according to the bullet chat query page number and the preset bullet chat query The span value of the page number determines the query interval of the bullet chat page number; step S2, queries the bullet chat message according to the bullet chat page number query interval, and counts the number of bullet chat messages; step S3, judges whether the stop query condition is satisfied according to the number of bullet chat messages, and if so, executes Step S5; if not, execute step S4; step S4, update the bullet chat query page number, and skip to step S1; step S5, return the queried bullet chat message to the client. When the stop query condition is not satisfied, multiple bullet chat message queries are performed for one bullet chat message query request, which effectively reduces the number of bullet chat message query requests sent by the client.

Description

technical field [0001] The present invention relates to the technical field of information processing, in particular to a barrage acquisition method, a computing device and a computer storage medium. Background technique [0002] Currently, e-books also support posting and viewing bullet chatting messages. However, in the prior art, which page the user sees, the client will request a specified number of bullet chatting messages for this page from the server. For example, generally Get up to 30 latest barrage messages; if there are less than 30 barrage messages on this page, get all of them. For comic e-books, the pages of the comics are cut relatively thinly, and generally 3-4 pages of comics can be displayed on one screen. Therefore, every time the user flips the screen, they need to make at least one barrage interface request, which will lead to a relatively large amount of interface requests, resulting in an overloaded server and occupying more network resources. [000...

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 Patents(China)
IPC IPC(8): G06F9/451G06F16/33G06F16/953
CPCG06F9/451G06F16/334G06F16/953
Inventor 王振翼余菲
Owner ZHANGYUE 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