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
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Publication Date
- 2019-03-05
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
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...