Active user set maintenance method and system based on time rotation and page heartbeat

An active user and time wheel technology, applied in image communication, selective content distribution, electrical components, etc., can solve problems such as system congestion, many one-shottimers, and large number of connections, so as to achieve high work efficiency, improve real-time performance, The effect of flexibility

CN106162247BActive Publication Date: 2019-03-05WUHAN DOUYU NETWORK TECH CO LTD
5 Cites 0 Cited by

Patent Information

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

Smart Images

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

Abstract

Disclosed are a method and system for maintaining an active user set based on a time roulette and a page heartbeat, which relate to the technical field of the maintenance of an active user set during live video broadcast. The method involves the steps of: generating video heartbeat information according to a live broadcast video viewed by a user; buffering and pre-processing video heartbeat information meeting a specification to obtain pre-processed page heartbeat data; and updating user IDs, corresponding to all the pre-processed page heartbeat data passing verification, to an active user set fragment corresponding to the current time, and adding the updated active user set fragment to a pre-created time roulette. The present invention can update an active user set by utilizing a time roulette so as to accomplish the timely maintenance of an active user set. Not only is the operation efficiency higher, but a larger load is also not created for the system; moreover, the participation of inactive users can be effectively restricted in certain interactive activities, thereby ensuring that the interactive activities are carried out efficiently.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present invention relates to the technical field of maintaining active user sets in live video broadcasting, in particular to a method and system for maintaining active user sets based on time roulette and page 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 on t...

Examples

Embodiment Construction

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

[0031] see figure 1 As shown, the active user set maintenance method based on time wheel and page heartbeat in the embodiment of the present invention includes the following steps:

[0032] S1: The terminal device used by each user generates video heartbeat information according to the live video watched by the user. The video heartbeat information includes several heartbeat information identification signs, and then goes to S2.

[0033] The heartbeat information identification includes a user ID (that is, a unique user ID) and an identification code. The identification code is of fixed length and will be encrypted after it is generated; the generation rule of the identification code is: it is composed of a timestamp, the terminal device ID used by the user and a random number, and the terminal device ID used by the user is based on the termi...