CN106713456A - Network bandwidth statistics method and device - Google Patents

Network bandwidth statistics method and device Download PDF

Info

Publication number
CN106713456A
CN106713456A CN201611201887.6A CN201611201887A CN106713456A CN 106713456 A CN106713456 A CN 106713456A CN 201611201887 A CN201611201887 A CN 201611201887A CN 106713456 A CN106713456 A CN 106713456A
Authority
CN
China
Prior art keywords
data
information
configuration information
bandwidth
network bandwidth
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611201887.6A
Other languages
Chinese (zh)
Other versions
CN106713456B (en
Inventor
高英杰
洪克柱
李勇刚
康凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Supreme Being Joins Information Technology Share Co Ltd
Original Assignee
Shanghai Supreme Being Joins Information Technology Share Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Supreme Being Joins Information Technology Share Co Ltd filed Critical Shanghai Supreme Being Joins Information Technology Share Co Ltd
Priority to CN201611201887.6A priority Critical patent/CN106713456B/en
Publication of CN106713456A publication Critical patent/CN106713456A/en
Application granted granted Critical
Publication of CN106713456B publication Critical patent/CN106713456B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • H04L67/5683Storage of data provided by user terminals, i.e. reverse caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/61Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements

Abstract

The invention relates to a network bandwidth statistics method and device. The method comprises the steps of: acquiring data access information stored in a corresponding statistics period, wherein the data access information in a data cache is information of data which is received in real time and is sent to a client; and analyzing the acquired data access information to obtain a corresponding network bandwidth statistics result. By the scheme, accuracy of CDN (Content Delivery Network) network bandwidth statistics can be improved.

Description

Network bandwidth statistical method and device
Technical field
The present invention relates to content distributing network field, more particularly to a kind of network bandwidth statistical method and device.
Background technology
Content distributing network (Content Delivery Network, CDN), buffer service is placed by network everywhere Device, builds one layer of intelligent virtual network on existing Internet basic, and the content of website is published to closest to user's Network " edge ", allows user to obtain required content nearby, to alleviate the situation of network congestion, improves the response speed of website Degree, technically comprehensively solve causes user to visit because the network bandwidth is small, user's visit capacity is big, the unequal reason of network point distribution Ask the response speed of website slow problem.
In the prior art, in order to the service condition to application service on large number of caching server is monitored, one As carry out statistical analysis by corresponding journal file, to obtain corresponding bandwidth statistics result.
But, the bandwidth statistics method of existing CDN has that accuracy is low.
The content of the invention
The problem that the embodiment of the present invention is solved is how to improve the accuracy of CDN bandwidth statistics.
To solve the above problems, a kind of network bandwidth statistical method is the embodiment of the invention provides, methods described includes:Obtain Take the data access information stored in correspondence measurement period;Data access information in the data buffer storage is arrived for real-time reception To client send data information;The acquired data access information is analyzed, corresponding network is obtained Bandwidth statistics result.
Alternatively, the data access information storage is in default data buffer storage queue.
Alternatively, the data buffer storage queue is for multiple and respectively with corresponding index value, the multiple data buffer storage Queue is arranged according to the order that index value is incremented by.
Alternatively, the data access information is stored in the multiple data buffer storage queue in the following manner:In WEB When service sends data to client every time, the number sent to client that the WEB service is transmitted is obtained by api interface According to information;According to the order that index value is incremented by, the information storage of the data that the WEB service is sent to client every time is right In the data buffer storage queue answered.
Alternatively, the data access information includes data volume, home IP, domain name every time to data transmitted by client With the information of URL.
Alternatively, before the data access information for being stored in the acquisition correspondence measurement period, also include:Obtain correspondence Bandwidth statistics configuration information;The bandwidth statistics configuration information includes the information of the measurement period, with according to acquired Bandwidth statistics configuration information is analyzed to the acquired data access information, obtains corresponding network bandwidth statistics knot Really.
Alternatively, methods described also includes:Corresponding band is obtained from default configuration server according to the default cycle Width statistics configuration information is simultaneously stored;Acquired bandwidth statistics configuration information is entered with the bandwidth statistics configuration information for currently coming into force Row compares;When it is determined that acquired bandwidth statistics configuration information is inconsistent with the band width configuration information being being currently used and reach During default duration, default configuration pointer is switched to acquired in sensing from the current bandwidth statistics configuration information for coming into force is pointed to Bandwidth statistics configuration information.
The embodiment of the present invention additionally provides a kind of network bandwidth statistic device, and described device includes:Acquiring unit, is suitable to obtain Take the data access information stored in correspondence measurement period;Data access information in the data buffer storage is arrived for real-time reception To client send data information;Statistic unit, is suitable to be analyzed the acquired data access information, obtains To corresponding network bandwidth statistics.
Alternatively, the data access information storage is in default data buffer storage queue.
Alternatively, the data buffer storage queue is for multiple and respectively with corresponding index value, the multiple data buffer storage Queue is arranged according to the order that index value is incremented by.
Alternatively, described device also includes:Memory cell, is suitable to, when WEB service sends data to client every time, lead to Cross the information that api interface obtains the data sent to client that the WEB service is transmitted;According to index value be incremented by it is suitable Sequence, in the corresponding data buffer storage queue of information storage of the data that the WEB service is sent to client every time.
Alternatively, the data access information includes data volume, home IP, domain name every time to data transmitted by client With the information of URL.
Alternatively, described device also includes:Configuration acquiring unit, is suitable to obtain the data stored in correspondence measurement period Before access information, corresponding bandwidth statistics configuration information is obtained;The bandwidth statistics configuration information includes the measurement period Information, the acquired data access information is analyzed with according to acquired bandwidth statistics configuration information, obtain Corresponding network bandwidth statistics.
Alternatively, described device also includes:Config update unit, was suitable to according to the default cycle from default configuration service Corresponding bandwidth statistics configuration information is obtained in device and is stored;By acquired bandwidth statistics configuration information and the band for currently coming into force Width statistics configuration information is compared;When it is determined that acquired bandwidth statistics configuration information and the band width configuration being being currently used Information is inconsistent and when reaching default duration, pointer from the current bandwidth statistics configuration information for coming into force of sensing is configured by default Switch to the bandwidth statistics configuration information acquired in pointing to.
Compared with prior art, technical scheme has the following advantages that:
Above-mentioned scheme, by real-time reception every time to the corresponding data access information of data transmitted by client, Rather than at the end of client is to corresponding data access using corresponding network total bandwidth all as the data access duration End time point where measurement period in bandwidth, thus network bandwidth statistical accuracy can be improved.
Further, it is that different caching servers set different bands according to the different demands of application service provider Width statistics configuration information, can meet different application service providers for the different demands that the network bandwidth is counted, thus can To improve the flexibility of network bandwidth statistics, the experience of user is lifted.
Brief description of the drawings
Fig. 1 is a kind of flow chart of the network bandwidth statistical method in the embodiment of the present invention;
Fig. 2 is the flow chart of another network bandwidth statistical method in the embodiment of the present invention;
Fig. 3 is the renewal flow chart of the bandwidth statistics configuration information in the embodiment of the present invention;
Fig. 4 is a kind of structural representation of the network bandwidth statistic device in the embodiment of the present invention.
Specific embodiment
As background technology is sayed, the general access log by WEB service of existing network bandwidth statistical method obtains right The bandwidth statistics result answered.
When being analyzed to access log, corresponding access data volume is all generally counted into the data access end time In measurement period where point, when data access time crosses over more than two measurement periods, it will there is accuracy poor Problem.
To solve the above-mentioned problems in the prior art, the technical scheme that the embodiment of the present invention is used connects by real time Receive every time to the corresponding data access information of data transmitted by client, network bandwidth statistical accuracy can be improved.
It is understandable to enable the above objects, features and advantages of the present invention to become apparent, below in conjunction with the accompanying drawings to the present invention Specific embodiment be described in detail.
Fig. 1 shows a kind of flow chart of the network bandwidth statistical method in the embodiment of the present invention.Referring to Fig. 1, specific In implementation, the network bandwidth statistical method in the embodiment of the present invention can include the steps:
Step S101:Obtain the data access information stored in correspondence measurement period.
In specific implementation, measurement period can be configured according to the actual needs.For example, can be answered according to different Different measurement periods are set for the different demands that the network bandwidth is counted with service provider, are such as set to 1 minute or 5 minutes Deng.
In specific implementation, in correspondence measurement period the data access information that is stored for real-time reception arrive to client The information of the data of transmission, namely when receiving the access request of client every time and returning to corresponding data to client, The information of the data returned to client is stored in real time.
Step S102:The acquired data access information is analyzed, corresponding network bandwidth statistics knot is obtained Really.
In specific implementation, the data access information in correspondence measurement period includes the URL of corresponding data and the number According to data volume information, be analyzed by the data access information in corresponding measurement period, corresponding number can be obtained According to the information of amount, phase adduction is carried out divided by corresponding by by the corresponding data volume of data access information in identical measurement period Measurement period, just can obtain the information of corresponding network bandwidth statistics.
Above-mentioned scheme, by real-time reception every time to the corresponding data access information of data transmitted by client, Rather than at the end of client is to corresponding data access using corresponding network total bandwidth all as the data access duration End time point where measurement period in bandwidth, thus network bandwidth statistical accuracy can be improved.
Further details of introduction will be carried out to the network bandwidth statistical method in the embodiment of the present invention below.
Fig. 2 shows a kind of flow chart of the network bandwidth statistical method in the embodiment of the present invention.Referring to Fig. 2, the present invention Network bandwidth statistical method in embodiment, is suitable to count the network bandwidth of application service provider, can specifically adopt Realized with the steps:
Step S201:The data access of the WEB service Real-time Feedback is obtained by default interface between WEB service Information.
In specific implementation, user sends data access request by client, and WEB service can return to correspondence to client Data.It follows that the information of the data for being returned to client every time just can be known by WEB service, namely data are visited Ask information.
In specific implementation, in order to obtain the corresponding number of data that corresponding WEB service is returned to client every time in real time According to access information, can be docked with WEB service by the way of storehouse, returned to client every time with obtaining WEB service During corresponding data, by calling corresponding interface, such as api interface, the corresponding data access of data that will be returned to client Information, namely cause the corresponding data access information of WEB service Real-time Feedback.
In specific implementation, the data access information of WEB service Real-time Feedback includes the information of the IP address for accessing user, Information needed for including carrying out network bandwidth statistics, such as when the information of the previous data volume for accessing and producing, is accessed for unifying money Information of source finger URL (URL) etc..
Step S202:Acquired data access information is stored to corresponding data buffer storage space.
In specific implementation, when the data access information of corresponding WEB service Real-time Feedback is got, will can be obtained The data access information for taking is stored, and subsequently to use stored data access information, analysis obtains corresponding network Bandwidth statistics result.
To save the expense of the lock that reading and writing data is brought, in an embodiment of the present invention, corresponding data buffer storage space In be provided with multiple data buffer storage queues, multiple data buffer storage queues have corresponding index value, and are incremented by according to index value Order is arranged.When the data access information of WEB service Real-time Feedback is received every time, the order being incremented by according to index value is by institute The data access information of reception is stored in the corresponding data buffer storage list of value of corresponding index point.
For example, the number of the data buffer storage queue set in data buffer storage is 4, thread is processed with data buffer storage list Correspond.During initialization, by index value zero setting.Corresponding data access information is stored default 4 using such a way In individual data buffer queue:
When the data access information that WEB service sends for the first time is received, corresponding treatment thread is by WEB service first The data access information of secondary transmission is stored in the data buffer storage list that index value is zero, and index value is set into 1;
When the data access information that WEB service second sends is received, corresponding treatment thread is by WEB service second The data access information of secondary transmission is stored in the data buffer storage list that index value is 1, and index value is set into 2;
When the data access information that WEB service third time sends is received, corresponding treatment thread is by WEB service second The data access information of secondary transmission is stored in the data buffer storage list that index value is 2, and index value is set into 3;
When the data access information of the transmission of WEB service the 4th time is received, corresponding treatment thread is by WEB service the 4th The data access information of secondary transmission is stored in the data buffer storage list that index value is 3, and index value is set into 0;
When the data access information of the transmission of WEB service the 5th time is received, corresponding treatment thread is by WEB service the 5th Class according to this that the data access information of secondary transmission is stored in the data buffer storage list that index value is 0, and index value is set into 1 ... Push away, when receiving the data access information of WEB service transmission every time, received data access information is stored to the index value Stored in corresponding data buffer storage queue.
By the way that in above-mentioned data access information, the index of data buffer storage queue uses atomic data types mode of operation, It is possible to prevente effectively from the read/write conflict of data access information, saves the expense of lock, thus data access speed can be improved, and saved About resource.
In specific implementation, the number of the data buffer storage queue set in data buffer storage space can be according to the actual needs It is configured.In order to improve the storage speed of data access information, in an embodiment of the present invention, by data buffer storage queue, place The number for managing thread is consistent with the core number of CPU.
Step S203:When the corresponding statistics moment is reached, stored in data buffer storage queue in the corresponding measurement period of acquisition Data access information and analyzed and processed, obtain corresponding bandwidth statistics result.
In specific implementation, when the corresponding statistics moment is reached, corresponding measurement period memory storage can be obtained in correspondence Multiple data buffer storage queues in data access information, and to acquired data access information, such as home IP of data, domain The information such as name, URL, are analyzed and processed accordingly, so as to obtain corresponding bandwidth statistics result.
In an embodiment of the present invention, in order to meet the different demands that different application service provider corresponds to bandwidth statistics, Can be that different application service providers set different bandwidth statistics configuration informations, such as according to operator, address area point Bandwidth statistics etc. are not carried out, and network bandwidth statistics is carried out with the configuration according to different bandwidth statistics configuration informations.Meanwhile, in order to Meet application service provider in different time for the different needs that the network bandwidth is counted, can timing to the band that currently comes into force Width statistics configuration information is updated, and specifically refers to Fig. 3.
Fig. 3 shows the bandwidth statistics configuration information update flow in the embodiment of the present invention.Referring to Fig. 3, the present invention is implemented Bandwidth statistics configuration information update method in example can include:
Step S301:Corresponding bandwidth statistics configuration information is obtained from default configuration server according to the default cycle And store.
In specific implementation, bandwidth statistics configuration information includes the information in bandwidth statistics cycle, and it can be according to different The bandwidth statistics demand of application service provider is configured, and stores in corresponding configuration server.At the same time it can also not With application service provider in the different time for the different demands that the network bandwidth is counted, in the configuration server of storage Bandwidth statistics configuration information is updated.
In specific implementation, the default cycle can be configured according to the actual needs, be such as set to 7 days, 15 days or Person 30 days etc..
Step S302:Acquired bandwidth statistics configuration information is compared with the bandwidth statistics configuration information for currently coming into force Compared with whether consistent to judge the two;When comparative result is to be, can be with end operation;Conversely, can then perform step S303.
In specific implementation, when corresponding bandwidth statistics configuration information is obtained from default configuration server, can be with The bandwidth statistics configuration information obtained from configuration server is compared with the bandwidth statistics configuration information for currently coming into force, with It is determined that whether the two is consistent, namely determine the need for being updated the bandwidth statistics configuration information for currently coming into force.
Step S303:Judge whether to reach default duration;When judged result is to be, step S304 can be performed;Instead It, can not perform any operation.
In specific implementation, to avoid the bandwidth statistics configuration information for currently coming into force from being currently in use, can be it is determined that being obtained It is the current bandwidth statistics for coming into force when the bandwidth statistics configuration information for taking is inconsistent with the bandwidth statistics configuration information for currently coming into force Configuration information sets corresponding sustained release time, namely the default duration.Wherein, the default duration can also basis It is configured the need for reality, is not limited herein.
Step S304:Default configuration pointer is switched to acquired in sensing from the bandwidth statistics configuration information for currently coming into force Bandwidth statistics configuration information.
In specific implementation, the bandwidth statistics configuration information acquired in determination matches somebody with somebody confidence with the bandwidth statistics for currently coming into force Start timing when ceasing inconsistent, be that the current band width configuration information for coming into force sets corresponding timer, namely it is default when reaching During duration, default configuration pointer is pointed to the band obtained from configuration server from the bandwidth statistics configuration information for currently coming into force Width statistics configuration information, subsequently to carry out network bandwidth system according to the bandwidth statistics configuration information obtained from configuration server Meter.In other words, when not up to default duration, default configuration pointer will continue to point to the bandwidth statistics configuration for currently coming into force Information, namely in the default duration, the configuration always according to the bandwidth statistics configuration information for currently coming into force carries out Netowrk tape Width statistics.
Above-mentioned mode, by it is determined that acquired bandwidth statistics configuration information is configured with the bandwidth statistics for currently coming into force It is that the current band width configuration information for coming into force sets corresponding release delay, by default configuration pointer when information is inconsistent Point to position change, just can realize newest bandwidth statistics configuration information and the bandwidth statistics configuration information for currently coming into force it Between replacement, and the expense of lock that should not be extra, and the process of network bandwidth statistics will not being impacted, thus can save Resource, and improve the efficiency of bandwidth statistics.
The above-mentioned network bandwidth statistical method in the embodiment of the present invention is described in detail, below by above-mentioned The corresponding device of method is introduced.
Fig. 4 shows a kind of structure of the network bandwidth statistic device in the embodiment of the present invention.Referring to Fig. 4, the network bandwidth Statistic device 400 can include acquiring unit 401 and statistic unit 402, wherein:
Acquiring unit 401, is suitable to obtain the data access information stored in correspondence measurement period;In the data buffer storage Data access information for real-time reception arrive to client send data information.In specific implementation, the data are visited The information of asking can include information every time to the data volume of data transmitted by client, home IP, domain name and URL.
Statistic unit 402, is suitable to be analyzed the acquired data access information, obtains the corresponding network bandwidth Statistics.
In an embodiment of the present invention, the data access information storage is in default data buffer storage queue;The number Be according to buffer queue it is multiple and there is corresponding index value respectively, the multiple data buffer storage queue according to index value be incremented by it is suitable Sequence is arranged.
In an embodiment of the present invention, the network bandwidth statistic device 400 can also include:
Memory cell 403, is suitable to, when WEB service sends data to client every time, obtain described by api interface The information of the data sent to client that WEB service is transmitted;It is according to the order that index value is incremented by, the WEB service is every The information of the secondary data sent to client is deposited in corresponding data buffer storage queue.
In an embodiment of the present invention, in order to meet the different need of different application service provider's map network bandwidth statistics Will, the network bandwidth statistic device 400 can also include:
Configuration acquiring unit 404, before being suitable to obtain the data access information stored in correspondence measurement period, it is right to obtain The bandwidth statistics configuration information answered;The bandwidth statistics configuration information includes the information of the measurement period, with according to acquired Bandwidth statistics configuration information the acquired data access information is analyzed, obtain corresponding network bandwidth statistics knot Really.
In an embodiment of the present invention, counted for the network bandwidth in the different time to meet application service provider Different demands, the network bandwidth statistic device 400 can also include:
Config update unit 405, is suitable to obtain corresponding bandwidth from default configuration server according to the default cycle Statistics configuration information is simultaneously stored;Acquired bandwidth statistics configuration information is carried out with the bandwidth statistics configuration information for currently coming into force Compare;When it is determined that acquired bandwidth statistics configuration information is inconsistent with the band width configuration information being being currently used and reach pre- If duration when, by default configuration pointer from point to the current bandwidth statistics configuration information for coming into force switch to point to acquired in band Width statistics configuration information.
Using the such scheme in the embodiment of the present invention, by real-time reception every time to the data correspondence transmitted by client Data access information, rather than at the end of client is to corresponding data access using corresponding network total bandwidth all as number According to the bandwidth in the measurement period where the end time point of access duration time, thus the standard of network bandwidth statistics can be improved True property.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can Completed with instructing the hardware of correlation by program, the program can be stored in computer-readable recording medium, storage is situated between Matter can include:ROM, RAM, disk or CD etc..
The method and system to the embodiment of the present invention have been described in detail above, and the present invention is not limited thereto.Any Art personnel, without departing from the spirit and scope of the present invention, can make various changes or modifications, therefore guarantor of the invention Shield scope should be defined by claim limited range.

Claims (14)

1. a kind of network bandwidth statistical method, it is characterised in that including:
Obtain the data access information stored in correspondence measurement period;Data access information in the data buffer storage is real-time The information of the data sent to client for receiving;
The acquired data access information is analyzed, corresponding network bandwidth statistics is obtained.
2. network bandwidth statistical method according to claim 1, it is characterised in that the data access information storage is pre- If data buffer storage queue in.
3. network bandwidth statistical method according to claim 2, it is characterised in that the data buffer storage queue for multiple and There is corresponding index value respectively, the multiple data buffer storage queue is arranged according to the order that index value is incremented by.
4. network bandwidth statistical method according to claim 3, it is characterised in that the data access information is by following Mode is stored in the multiple data buffer storage queue:
When WEB service sends data to client every time, by api interface obtain that the WEB service transmitted to client Hold the information of the data for sending;
According to the order that index value is incremented by, the information storage of the data that the WEB service is sent to client every time is corresponding In data buffer storage queue.
5. network bandwidth statistical method according to claim 1, it is characterised in that the data access information includes each To the information of the data volume of data transmitted by client, home IP, domain name and URL.
6. network bandwidth statistical method according to claim 1, it is characterised in that institute in the acquisition correspondence measurement period Before the data access information of storage, also include:
Obtain corresponding bandwidth statistics configuration information;The bandwidth statistics configuration information includes the information of the measurement period, with The acquired data access information is analyzed according to acquired bandwidth statistics configuration information, obtains corresponding network Bandwidth statistics result.
7. network bandwidth statistical method according to claim 6, it is characterised in that also include:
Corresponding bandwidth statistics configuration information is obtained from default configuration server according to the default cycle and is stored;
Acquired bandwidth statistics configuration information is compared with the bandwidth statistics configuration information for currently coming into force;When it is determined that being obtained The bandwidth statistics configuration information for taking is inconsistent with the band width configuration information being being currently used and when reaching default duration, incites somebody to action pre- If configuration pointer from point to the current bandwidth statistics configuration information for coming into force switch to point to acquired in bandwidth statistics configuration information.
8. a kind of network bandwidth statistic device, it is characterised in that including:
Acquiring unit, is suitable to obtain the data access information stored in correspondence measurement period;Data in the data buffer storage The information of the data sent to client that access information is arrived for real-time reception;
Statistic unit, is suitable to be analyzed the acquired data access information, obtains corresponding network bandwidth statistics knot Really.
9. network bandwidth statistic device according to claim 8, it is characterised in that the data access information storage is pre- If data buffer storage queue in.
10. network bandwidth statistic device according to claim 9, it is characterised in that the data buffer storage queue is multiple And there is corresponding index value respectively, the multiple data buffer storage queue is arranged according to the order that index value is incremented by.
11. network bandwidth statistic devices according to claim 10, it is characterised in that also include:Memory cell, is suitable to When WEB service sends data to client every time, sent to client by what api interface obtained that the WEB service transmitted Data information;According to the order that index value is incremented by, the information of the data that the WEB service is sent to client every time is deposited In putting corresponding data buffer storage queue.
12. network bandwidth statistic devices according to claim 8, it is characterised in that the data access information includes every The information of secondary data volume to data transmitted by client, home IP, domain name and URL.
13. network bandwidth statistic devices according to claim 8, it is characterised in that also include:Configuration acquiring unit, fits Before the data access information stored in correspondence measurement period is obtained, corresponding bandwidth statistics configuration information is obtained;It is described The information of bandwidth statistics configuration information including the measurement period, with according to acquired bandwidth statistics configuration information to acquired The data access information be analyzed, obtain corresponding network bandwidth statistics.
14. network bandwidth statistic devices according to claim 13, it is characterised in that also include:Config update unit, fits In obtaining corresponding bandwidth statistics configuration information from default configuration server according to the default cycle and store;Will be acquired Bandwidth statistics configuration information be compared with the bandwidth statistics configuration information for currently coming into force;When it is determined that acquired bandwidth statistics Configuration information is inconsistent with the band width configuration information being being currently used and when reaching default duration, by default configuration pointer Switch to the bandwidth statistics configuration information acquired in sensing from the current bandwidth statistics configuration information for coming into force of sensing.
CN201611201887.6A 2016-12-22 2016-12-22 Network bandwidth statistical method and device Active CN106713456B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611201887.6A CN106713456B (en) 2016-12-22 2016-12-22 Network bandwidth statistical method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611201887.6A CN106713456B (en) 2016-12-22 2016-12-22 Network bandwidth statistical method and device

Publications (2)

Publication Number Publication Date
CN106713456A true CN106713456A (en) 2017-05-24
CN106713456B CN106713456B (en) 2020-09-15

Family

ID=58903129

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611201887.6A Active CN106713456B (en) 2016-12-22 2016-12-22 Network bandwidth statistical method and device

Country Status (1)

Country Link
CN (1) CN106713456B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108897494A (en) * 2018-06-15 2018-11-27 郑州云海信息技术有限公司 The processing method and relevant apparatus of data manipulation in block storage system
CN109194542B (en) * 2018-08-22 2021-05-07 网宿科技股份有限公司 Method and device for counting internal consumption of live stream in CDN system
CN113259151A (en) * 2021-04-13 2021-08-13 新浪网技术(中国)有限公司 Domain name bandwidth detail monitoring method and system in CDN (content delivery network) for converged content delivery
CN115242855A (en) * 2021-04-02 2022-10-25 深圳市锐速云计算有限公司 Long connection bandwidth calculation method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101588294A (en) * 2009-06-05 2009-11-25 上海华为技术有限公司 Link bandwidth managing method and network node as well as communicating system
CN102035719A (en) * 2009-09-29 2011-04-27 华为技术有限公司 Method and device for processing message
US8032914B2 (en) * 2000-11-10 2011-10-04 Rodriguez Arturo A Systems and methods for dynamically allocating bandwidth in a digital broadband delivery system
CN102916908A (en) * 2011-08-02 2013-02-06 腾讯科技(深圳)有限公司 Method and system for optimizing bandwidth in network application
CN103269493A (en) * 2013-05-27 2013-08-28 华为技术有限公司 Method and device for pushing bandwidth services
CN105516994A (en) * 2014-09-25 2016-04-20 华为技术有限公司 Bandwidth distribution method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8032914B2 (en) * 2000-11-10 2011-10-04 Rodriguez Arturo A Systems and methods for dynamically allocating bandwidth in a digital broadband delivery system
CN101588294A (en) * 2009-06-05 2009-11-25 上海华为技术有限公司 Link bandwidth managing method and network node as well as communicating system
CN102035719A (en) * 2009-09-29 2011-04-27 华为技术有限公司 Method and device for processing message
CN102916908A (en) * 2011-08-02 2013-02-06 腾讯科技(深圳)有限公司 Method and system for optimizing bandwidth in network application
CN103269493A (en) * 2013-05-27 2013-08-28 华为技术有限公司 Method and device for pushing bandwidth services
CN105516994A (en) * 2014-09-25 2016-04-20 华为技术有限公司 Bandwidth distribution method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108897494A (en) * 2018-06-15 2018-11-27 郑州云海信息技术有限公司 The processing method and relevant apparatus of data manipulation in block storage system
CN108897494B (en) * 2018-06-15 2022-02-18 郑州云海信息技术有限公司 Processing method of data operation in block storage system and related device
CN109194542B (en) * 2018-08-22 2021-05-07 网宿科技股份有限公司 Method and device for counting internal consumption of live stream in CDN system
CN115242855A (en) * 2021-04-02 2022-10-25 深圳市锐速云计算有限公司 Long connection bandwidth calculation method and system
CN113259151A (en) * 2021-04-13 2021-08-13 新浪网技术(中国)有限公司 Domain name bandwidth detail monitoring method and system in CDN (content delivery network) for converged content delivery
CN113259151B (en) * 2021-04-13 2022-05-17 新浪网技术(中国)有限公司 Domain name bandwidth detail monitoring method and system in CDN (content delivery network) for converged content delivery

Also Published As

Publication number Publication date
CN106713456B (en) 2020-09-15

Similar Documents

Publication Publication Date Title
US9544205B2 (en) Cognitive data delivery optimizing system
US9948709B2 (en) Using resource timing data for server push in multiple web page transactions
US9860186B1 (en) Multiple-speed message channel of messaging system
EP3022708B1 (en) Content source discovery
CN106713456A (en) Network bandwidth statistics method and device
EP2563062A1 (en) Long connection management apparatus and link resource management method for long connection communication
CN104702592B (en) Stream media downloading method and device
CN108881516B (en) Method and device for scheduling multi-CDN service system
US7930394B2 (en) Measured client experience for computer network
CN103312733A (en) Method and device for information processing
CN109190070A (en) A kind of data processing method, device, system and application server
CN111221469B (en) Method, device and system for synchronizing cache data
CN105893607A (en) Page data management method, device and data server
CN104144223B (en) A kind of data capture method and device
CN106506249B (en) Collecting method and device
CN107924345A (en) Data storage area for the polymerization measurement result of measurement
CN108234638A (en) A kind of data processing method and device based on content distributing network CDN
US20160226708A1 (en) Assigning client devices to point-of-presence centers
CN105915655B (en) Network agent method and agency plant
CN109194706A (en) Internet resources dial testing method and terminal
WO2018164618A1 (en) Prediction of a performance indicator
CN109741088A (en) A kind of advertisement hit rate predictor method, estimating device and server
CN109344349A (en) A kind of data cache method and device, electronic equipment
US11233886B2 (en) Storage medium and packet analyzing device
CN105791146B (en) The method, apparatus and system that user side equipment is interacted with configuration server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant