On-line number of people distribution calculation method and device

A technology of distributed computing and people counting, which is applied in market data collection, electrical components, transmission systems, etc., and can solve problems such as huge data volume and time-consuming calculation process

Active Publication Date: 2016-07-13
GUANGZHOU HUADUO NETWORK TECH
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the process of realizing the present invention, the inventor found that the prior art has at least the following problems: since the connection between the fact table and the time dimension table is a Cartesian product, the size of the data set after the connection between the fact table and the time dimension table is N *86400, and every calculation of the number of simultaneous online users for one second requires de-duplication statistics. Completing N*86400 calculations is equivalent to performing N*86400 de-duplication statistics, resulting in a large amount of data in the calculation process, and the calculation process is relatively complicated. time consuming

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
  • On-line number of people distribution calculation method and device
  • On-line number of people distribution calculation method and device
  • On-line number of people distribution calculation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0070] In order to make the objectives, technical solutions and advantages of the present invention clearer, the embodiments of the present invention will be described in further detail below in conjunction with the accompanying drawings.

[0071] Please refer to figure 1 , Which shows a flowchart of a method for calculating online population distribution provided by an embodiment of the present invention. The method for calculating the distribution of online people is applicable to the servers of Internet product providers. Such as figure 1 As shown, the online population distribution calculation method may include the following steps:

[0072] In step 101, the online time periods of each user corresponding to different types of clients in the Internet product are obtained.

[0073] Optionally, users can log in to Internet products through different types of clients. Client types include: web client, mobile client, computer client, etc.

[0074] The time that the user continuously l...

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 an on-line number of people distribution calculation method and device, and belongs to the field of on-line live broadcast. The method includes the steps: obtaining on-line time periods of each user corresponding to different types of client sides in an Internet product; for the on-line time periods of each user corresponding to different types of clients which intersect, splitting according to intersection endpoints to obtain split time periods of each user under different on-line types; and according to the split time periods of each user under different on-line types, calculating on-line number of people statistical data corresponding to a certain type of clients. The method solves the problems that when on-line number of people statistical data corresponding to different types of clients are calculated, the calculation quantity is enormous, and calculation is time-consuming; and the effects of avoiding a Cartesian product and a large amount of duplicate removing calculation in a calculation process, simplifying data when distribution situations of the on-line number of people on different types of client is calculated, reducing the calculated amount of calculation data, and improving algorithm operation efficiency are achieved.

Description

Technical field [0001] The embodiment of the present invention relates to the field of online live broadcasting, and in particular to a method and device for calculating the number of online people. Background technique [0002] In Internet products, user clients are generally divided into three types: computer clients, mobile clients and web clients. After the highest number of online users of Internet products are counted, in order to better observe the distribution of users, it is also necessary to count the number of people online at the same time every second and the distribution of the number of people online at the same time every second on the three clients. [0003] In the prior art, a fact table is used to store online data of users. Each record in the fact table includes at least Internet product name, date, user name, client, start time and end time, and a time dimension table is used to store the time of one day. In the time dimension table, the time from 00:00:00 to ...

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 Applications(China)
IPC IPC(8): G06Q30/02H04L29/08
CPCG06Q30/0201H04L67/54
Inventor 陶胜
Owner GUANGZHOU HUADUO NETWORK TECH
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