Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A traffic statistics method and device

A technology of flow statistics and flow, which is applied in the field of data processing, and can solve problems such as large deviations and flow error statistics

Active Publication Date: 2019-08-23
ALIBABA GRP HLDG LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the CDN system uses the LDNS address as the benchmark for statistical traffic, when counting traffic, the CDN system will mistakenly count the traffic originally belonging to an access network in Tianjin to the traffic of the Beijing access network where LDNS address B is located. , so that the traffic belonging to each access network in the traffic statistics results has a large deviation compared with the traffic belonging to each access network in the actual generated traffic

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
  • A traffic statistics method and device
  • A traffic statistics method and device
  • A traffic statistics method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0079] figure 1 It is a flow chart of a traffic statistics method provided by an embodiment of the present invention, which is applied in a CDN, and the method includes:

[0080] S101: Perform a point-burying operation on the page, the point-burying operation makes when the acquisition client uses the LDNS address to initiate a first access request to the page, return the first network address to the client, so that the client sends The first network address sends a second access request, and the second access request includes the client address of the client itself and the used LDNS address.

[0081] For example, the burying operation can be understood as burying page views (page view, PV), that is, embedding a Script script in a page of a website, and when accessed by the browser of the client, the script script will be The corresponding operation is performed on its own content. In the embodiment of the present invention, the script script embedded in the page can be unde...

Embodiment 2

[0091] In this embodiment, on the basis of the first embodiment, how to use the set of correspondences and the weights to perform traffic statistics.

[0092] When performing traffic statistics, in addition to the need for the set of correspondences and the weights, it is also necessary to obtain the statistics of the traffic from the client address on each of the network nodes;

[0093] Obtain the set of CDN network nodes, the LDNS address set configured by the cname used to access the CDN network node, and the corresponding relationship between the LDNS address configured by each alias value and the CDN network node;

[0094] According to the traffic from the client address on each network node, the set of CDN network nodes, the LDNS address set configured by the cname used by the access CDN network node, and the LDNS address configured by each cname For the corresponding relationship with the CDN network nodes, the set of corresponding relationships and the weight are used ...

Embodiment 3

[0125] figure 2 A device structure diagram of a traffic statistics device provided by an embodiment of the present invention is applied in a CDN, and the device includes:

[0126] The burying unit 201 is used to perform a burying operation on the page, and the burying operation makes when the acquisition client uses the LDNS address to initiate a first access request to the page, and returns the first network address to the client, so that The client sends a second access request to the first network address, and the second access request includes the client address of the client itself and the LDNS address used.

[0127] For example, the point burying operation can be understood as point burying PV. In the embodiment of the present invention, the script script embedded in the page can be understood as allowing the browser of the client to access the first network address with a specific domain name, and the first network address can be understood as a URL, defined by This ca...

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

Embodiments of the invention discloses a flow statistics method and an apparatus thereof which are applied in a CDN. Point burying operation is performed on a page so that a first network address is returned to a user terminal when a first access request initiated by the user terminal to the page through using an LDNS address is acquired and the user terminal sends a second access request to the first network address. Based on that, a corresponding relation set of a user terminal address and the LDNS address, and weights of all the LDNS addresses, which are used by the user terminal address, are acquired. The corresponding relation set and the weights are used as factors of a statistic flow. The LDNS addresses are taken as a standard. A flow generated from scheduling the access requests of the user terminal to access the page on each scheduled network node is calculated so that an inaccurate influence on the statistic flow generated by the user terminal which uses the LDNS address that belongs to an access network different from the user terminal address to access can be effectively eliminated.

Description

technical field [0001] The invention relates to the field of data processing, in particular to a traffic statistics method and device. Background technique [0002] The main function of the content delivery network (Content Delivery Network, CDN) is to cache the content provided by the resource station in the CDN server. When the client attempts to access the content, it will use the local domain name system (LocalDomain Name System, LDNS) address instead of its own client address to initiate an access request, and the CDN system can obtain the described content by analyzing the access request initiated by the client. access the LDNS address used in the request, and return the CDN address of the CDN network node that can access the content relatively quickly to the client according to the analysis result, so that the client can access the content based on the returned CDN address The CDN network node, thereby realizing the scheduling of the access under the CDN. [0003] D...

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): H04L29/06H04L12/26H04L29/12
Inventor 何燕锋何勇刘轶李良斌
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products