Flow statistics method and apparatus thereof
A traffic statistics and flow technology, applied in the field of data processing, can solve the problems of traffic error statistics and large deviations
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com