Active user set maintenance system and method based on time wheel and player heartbeat

A technology for active users and players, applied in the direction of image communication, selective content distribution, electrical components, etc., can solve problems such as crashes, system congestion, frequent updating of timers, etc.

CN105979299BActive Publication Date: 2019-06-04WUHAN DOUYU NETWORK TECH CO LTD
8 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2019-06-04

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses an active user set maintenance system and method based on a time wheel and a player heartbeat, and relates to the technical field of maintenance of an active user set in live broadcast. The method comprises the steps of: recording heartbeat information by each user terminal and reporting the heartbeat information to a live broadcast platform server; caching and pre-processing the heartbeat information by the live broadcast platform server, and transmitting the heartbeat information to a distributed real-time calculation module by means of a plurality of pieces of data; analyzing and verifying the heartbeat information by the distributed real-time calculation module, and adding users corresponding to the heartbeat information which passes the verification to an active user set slice corresponding to the current time; and taking an active calculation time period as a cycle by an active user set function module, and updating the active user set slice corresponding to the current time to the created time wheel periodically. According to the active user set maintenance system and the method based on the time wheel and the player heartbeat provided by the invention, the active user set is updated and maintained based on the player heartbeat and the time wheel, which is not only timely and efficiently, but also causes no larger load on the system.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the technical field of maintaining active user sets in live video broadcasting, and specifically relates to a system and method for maintaining active user sets based on time roulette and player heartbeat. Background technique

[0002] With the rapid development of Internet technology, more and more users can use terminals such as computers and mobile phones to watch online live video broadcasts through the Internet. Online video live broadcast refers to live video live broadcast service using Internet network resources. Through live video shooting and synchronous release to the network, users can see real-time on-site conditions on the network at the same time.

[0003] In the business scenario of a live video website, many hosts in a live broadcast room need to interact only with active users watching the current live broadcast room or users who are active on the website when launching interactive activities or special events...

Examples

Embodiment Construction

[0031] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0032] see figure 1 As shown, the embodiment of the present invention provides an active user set maintenance system based on time roulette and player heartbeat, including several user terminals and a live broadcast platform server, each user terminal is provided with a player heartbeat recording module, and the live broadcast platform The server is equipped with a cache preprocessing module, a distributed real-time computing module and an active user set function module.

[0033] Wherein, the player heartbeat recording module is used for: recording the heartbeat information of the player when the user watches the live broadcast in real time; reporting the recorded heartbeat information to the live broadcast platform server.

[0034] It can be understood that the heartbeat information of the player includes: user ID (that is, the uni...