CN108923941A - A kind of multi-user flow statistical system applied to network - Google Patents

A kind of multi-user flow statistical system applied to network Download PDF

Info

Publication number
CN108923941A
CN108923941A CN201810942421.4A CN201810942421A CN108923941A CN 108923941 A CN108923941 A CN 108923941A CN 201810942421 A CN201810942421 A CN 201810942421A CN 108923941 A CN108923941 A CN 108923941A
Authority
CN
China
Prior art keywords
user
network
flow
data
statistical
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.)
Pending
Application number
CN201810942421.4A
Other languages
Chinese (zh)
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.)
Guangzhou Leshan Network Technology Co Ltd
Original Assignee
Guangzhou Leshan Network Technology 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 Guangzhou Leshan Network Technology Co Ltd filed Critical Guangzhou Leshan Network Technology Co Ltd
Priority to CN201810942421.4A priority Critical patent/CN108923941A/en
Publication of CN108923941A publication Critical patent/CN108923941A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1432Metric aspects
    • H04L12/1435Metric aspects volume-based
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention discloses a kind of multi-user flow statistical system applied to network, has:The network data of multiple users is received and analyzed simultaneously, critical data is extracted, forms the message analysis unit of the corresponding statistical information queue of this kind of network protocol for every kind of network protocol;Store the storage unit of the statistical information queue of the message analysis unit output;According to the corresponding relationship of authorized user message and Internet user's name, the mapping table of network behavior and user and the multi-user management unit of table space are established;The relation table records the memory space address of the critical data of the network behavior of each user in the statistical information queue by logical mappings;Flow analysis unit finds the storage address of a certain user network behavior critical data by searching for the relation table and table space, and all flows for the storage address that adds up complete the surfing flow analysis of a certain user.

Description

A kind of multi-user flow statistical system applied to network
Technical field
The present invention relates to traffic statistics field more particularly to a kind of multi-user flow statistical systems applied to network.
Background technique
With network two-way engineering it is perfect, more and more users begin to use network to carry out program request interaction and interconnection The access of net, each request program by video-on-demand times, which type of program of user's program request in what region, and use the net The statistical value of the number of the flow of network, etc. all becomes the critical data of industry perfect service, with the maturation of network, user's Universal, the bandwidth of network node can increase sharply at double, and originally software-based statistical method is far from satisfying the requirement of bandwidth, make It can satisfy the requirement for the bandwidth being doubled and redoubled with the statistics that hardware carries out flow.
There are two data accesses in network after bidirectional rebuilding, and an access is used for transmission TV programme signal, another Access is used for transmission Internet data and program request control data, passes through the Internet data and point Broadcast Control of analysis Article 2 data path Data processed can count the flow of the generation of user.Internet data and program request control data are all packaged in VLAN lattice Under formula, if VLAN is Layer 2 data, Internet data and program request control data are exactly three layer datas, and format is respectively PPPoE and Ethernet data.
Summary of the invention
The present invention aiming at the problems existing in the prior art, provides a kind of multi-user flow statistical system applied to network System, passes through.
To achieve the above object, technical solution provided by the invention is as follows:
A kind of multi-user flow statistical system applied to network includes:Receive and analyze simultaneously the network number of multiple users According to extraction critical data forms the message analysis of the corresponding statistical information queue of this kind of network protocol for every kind of network protocol Unit;Store the storage unit of the statistical information queue of the message analysis unit output;Confirm that user name and user authorize power Limit, establishes the multi-user management unit of network behavior Yu user name mapping table and table space;The relation table passes through logic The memory space address of the critical data of the network behavior of each user in statistical information queue described in map record;Flow analysis Unit finds the storage address of a certain user network behavior critical data by searching for the relation table and table space, adds up All flows of the storage address complete the surfing flow statistics of a certain user;The number that internet behavior is generated based on PPPoE agreement According to;The data that program request behavior is generated based on the VOD program request of vlan information;Storage unit is divided into:The storage of user's program request real-time traffic Space and user's online real-time traffic memory space;Network equipment management server and Operation Support System, network device management Server searches for the corresponding information of user according to the statistical result of above-mentioned flow analysis unit from its database, and by the letter Breath is reported to Operation Support System for overall multi-user flow statistical data preservation.
Further, the critical data includes at least:User's internet behavior mark, message length and upper and lower line flag, User's program request behavior mark, message length and upper and lower row information.
Further, the flow analysis unit has an accumulator:The data that multi-user management unit transmits are deposited After the address date for storing up space, the original recorded data in the space is read first, by original record and current message length Value adds up, and accumulated result is written in memory space.
Further, the flow analysis unit also has a customer flow timer, which passes through the setting time Threshold value, when reached between threshold value when, by memory space flow value reset.
It further include having statistical report unit.The statistical report unit receives the traffic statistics number that flow analytical unit generates According to encapsulating data into the statistics equipment that ethernet frame format is transferred to distal end.
Further, the statistical report unit also has network flow speed controller.
Compared with prior art, the method for the present invention has the advantage that as follows:By the way that table is arranged, letter is counted described in logical mappings The memory space address for ceasing the critical data of the network behavior of each user in queue, can accurately count different user respectively Surfing flow and video on demand generate data on flows, compared to the prior art, have the characteristics that it is quick, real-time, it is very suitable For being used on a large scale in the network after upgrading.
Detailed description of the invention
Fig. 1:For the module map of inventive flow statistical system;
Fig. 2:For the mapping relations schematic diagram of inventive flow statistical system;
Fig. 3:For the functional block diagram of inventive flow statistical system.
Specific embodiment
With reference to the accompanying drawings and examples, specific embodiments of the present invention will be described in further detail.Implement below Example is not intended to limit the scope of the invention for illustrating the present invention.
As depicted in figs. 1 and 2:A kind of multi-user flow statistical system applied to network mainly includes:It receives simultaneously simultaneously The network data of multiple users is analyzed, critical data is extracted, forms the corresponding system of this kind of network protocol for every kind of network protocol Count the message analysis unit of message queue;Store the storage unit of the statistical information queue of the message analysis unit output;Root According to the corresponding relationship of authorized user message and Internet user's name, the mapping table and table space of network behavior and user are established Multi-user management unit;The relation table records the network behavior of each user in the statistical information queue by logical mappings Critical data memory space address.Flow analysis unit finds a certain use by searching for the relation table and table space The storage address of family network behavior critical data, all flows for the storage address that adds up, completes the surfing flow of a certain user Analysis.The data that internet behavior is generated based on PPPoE agreement;The data that program request behavior is generated based on the VOD program request of vlan information; Storage unit is divided into:User's program request real-time traffic memory module and user's online real-time traffic memory space.The critical data It includes at least:User's internet behavior mark, message length and upper and lower line flag, user's program request behavior mark, message length and upper Downlink information.
It further include network equipment management server and Operation Support System, network equipment management server is according to flow analysis The statistical result of unit searches for the corresponding information of user from its database, and the information reporting is used to Operation Support System It is saved in overall multi-user flow statistical data.
After the address date of the data space transmitted according to user management module, read in the space first Original recorded data adds up original record and current message length value, and accumulated result is written in memory space. The amount calculation unit also has a customer flow timer, the timer by setting threshold value, when reached between threshold value When, the flow value in memory space is reset.If do not reset, the reported data of mistake can be generated, it is assumed that some user exists Online or program request can generate certain data, which is recorded in memory space, and the user is no longer after having spent a period of time Online or program request, then the flow at user's moment should be 0, but if the value in memory space is not cleared, on The data of report or the value of last time.
It also resides in statistical report unit, receives the traffic statistics that flow analytical unit generates, encapsulate data The statistics equipment of distal end is transferred at ethernet frame format.The statistical report unit also has network flow speed controller.
Embodiment 1
Specific implementation is explained:
User's Internet data format is named as N, then user 1 is N1, and user 2 is N2, and so on, format N is specific as follows Table:
VLN head PPPoE head User information Internet data
User's program request control data format is named as V, then user 1 is V1, and user 2 is V2, and so on, format V is specific Such as following table:
VLAN head Ether net head User information Program request controls data
The data for being located at transmission over networks are as shown in table 1 below:
N2 N2 N3 N1 V1 N3 V1 N2 N1
Table 1 illustrates that there are 3 users on network, the sequence that the data enter message analysis unit is from left to right message After analytical unit receives data, first according to PPPoE and Ethernet Head Section divide Internet data and program request control data and on Line flag and lower line flag, and flag bit is set and is distinguish, 1 indicates Internet data, and 0 indicates that program request controls data, and 1 indicates Row, 0 indicates downlink, while packet long message is further comprised in the head, and information and user information derived above are collectively constituted pass Key word information is named as K, and format is defined as follows table:
Upstream or downstream mark Online or program request mark Packet long message User information
Data K is input to multi-user management unit, multi-user management unit will remove in K and form data after packet long message T format such as following table:
Upstream or downstream mark Online or program request mark User information
T is input to mapping logic, mapping logic and lookup table space collectively constitute the logic based on content search address, Address of the user 2 in flow memory space is obtained by operation, after multi-user management unit obtains the address, goes to read user The value and the long flow rate calculation unit of being sent into of current packet are added up, obtain new flow value by the flow value before 2, will be new Flow value write in the address of the corresponding flow memory space of user 2 again, while multi-user management unit will be in reset signal Before arrival, customer flow information is transferred to statistical report unit.
According to table 1, then still N2, the mapping logic that subsequent time arrives can obtain identical flow memory space address, Equally as above calculated.After N3 input, mapping logic can obtain the corresponding flow memory space address of user 3, each unit Coordinate to complete the flow rate calculation of different user and report.
The present invention provides a kind of multi-user flow statistical system applied to network, has the following advantages that:By the way that table is arranged, The memory space address of the critical data of the network behavior of each user in statistical information queue described in logical mappings, can be accurate The respective surfing flow of statistics different user and the data on flows that generates of video on demand, compared to the prior art, have quickly, Real-time feature is very suitable for using on a large scale in the network after upgrading.
The foregoing is merely presently preferred embodiments of the present invention, is not intended to restrict the invention, it is all in spirit of the invention and In principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (6)

1. a kind of multi-user flow statistical system applied to network, which is characterized in that including:
The network data of multiple users is received and analyzed simultaneously, critical data is extracted, forms this kind of net for every kind of network protocol The message analysis unit of the corresponding statistical information queue of network agreement;
Store the storage unit of the statistical information queue of the message analysis unit output;
Confirm user name and user's authorization privilege, the multi-user for establishing network behavior and user name mapping table and table space manages Manage unit;The relation table records the crucial number of the network behavior of each user in the statistical information queue by logical mappings According to memory space address;
Flow analysis unit finds a certain user network behavior critical data by searching for the relation table and table space Storage address, all flows for the storage address that adds up complete the surfing flow statistics of a certain user;
The data that internet behavior is generated based on PPPoE agreement;The data that program request behavior is generated based on the VOD program request of vlan information;
Storage unit is divided into:User's program request real-time traffic memory space and user's online real-time traffic memory space;
Network equipment management server and Operation Support System, network equipment management server is according to above-mentioned flow analysis unit Statistical result searches for the corresponding information of user from its database, and the information reporting is used for totality to Operation Support System Multi-user flow statistical data save.
2. multi-user flow statistical system according to claim 1, which is characterized in that the critical data includes at least: User's internet behavior mark, message length and upper and lower line flag, user's program request behavior mark, message length and upper and lower row information.
3. multi-user flow statistical system according to claim 1, which is characterized in that the flow analysis unit has one Accumulator:After the address date for the data space that multi-user management unit transmits, the original in the space is read first Begin record data, and original record and current message length value are added up, accumulated result is written in memory space.
4. multi-user flow statistical system according to claim 3, which is characterized in that the flow analysis unit also has One customer flow timer, the timer by setting time threshold, when reached between threshold value when, by the flow in memory space Value is reset.
5. multi-user flow statistical system according to claim 1, which is characterized in that further include having statistical report unit. The statistical report unit receives the traffic statistics that flow analytical unit generates, and encapsulates data into ethernet frame format and passes It is defeated by the statistics equipment of distal end.
6. multi-user flow statistical system according to claim 5, which is characterized in that the statistical report unit also has Network flow speed controller.
CN201810942421.4A 2018-08-17 2018-08-17 A kind of multi-user flow statistical system applied to network Pending CN108923941A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810942421.4A CN108923941A (en) 2018-08-17 2018-08-17 A kind of multi-user flow statistical system applied to network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810942421.4A CN108923941A (en) 2018-08-17 2018-08-17 A kind of multi-user flow statistical system applied to network

Publications (1)

Publication Number Publication Date
CN108923941A true CN108923941A (en) 2018-11-30

Family

ID=64405152

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810942421.4A Pending CN108923941A (en) 2018-08-17 2018-08-17 A kind of multi-user flow statistical system applied to network

Country Status (1)

Country Link
CN (1) CN108923941A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115150171A (en) * 2022-06-30 2022-10-04 北京天融信网络安全技术有限公司 Flow statistical method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105610616A (en) * 2015-12-29 2016-05-25 赛尔网络有限公司 Method and system for performing statistics to obtain average flow of single IP (Internet Protocol) of access network based on ICP (Internet Content Provider) activity
CN105828310A (en) * 2015-01-04 2016-08-03 中国移动通信集团公司 Data service billing method, equipment and system
CN103441892B (en) * 2013-08-16 2017-02-22 大连梯耐德网络技术有限公司 Multi-user flow statistical system based on broadcast television network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103441892B (en) * 2013-08-16 2017-02-22 大连梯耐德网络技术有限公司 Multi-user flow statistical system based on broadcast television network
CN105828310A (en) * 2015-01-04 2016-08-03 中国移动通信集团公司 Data service billing method, equipment and system
CN105610616A (en) * 2015-12-29 2016-05-25 赛尔网络有限公司 Method and system for performing statistics to obtain average flow of single IP (Internet Protocol) of access network based on ICP (Internet Content Provider) activity

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115150171A (en) * 2022-06-30 2022-10-04 北京天融信网络安全技术有限公司 Flow statistical method and device, electronic equipment and storage medium
CN115150171B (en) * 2022-06-30 2023-11-10 北京天融信网络安全技术有限公司 Flow statistics method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US8306043B2 (en) Method and system of monitoring the receipt of multicast traffic
WO2017167029A1 (en) Control method, device and system for traffic counting
US10182011B2 (en) System and method to analyze congestion in low latency network
CN110489484B (en) Data synchronization method and device, readable storage medium and electronic equipment
CN108521371B (en) Message forwarding method and device
CN106060663A (en) Method and system for monitoring video smoothness in live video streaming process
CN110674362B (en) Search recommendation method and device, electronic equipment and readable storage medium
US20140059024A1 (en) System and method of storage, recovery, and management of data intercepted on a communication network
CN109788247B (en) Method and device for identifying monitoring instruction
DE112020003526T5 (en) LOW LATENCY AND LOW JITTER IN DOCSIS USING MULTIPLE QUEUES
CN115865518A (en) Cloud platform data processing method and system based on big data
JP2019047254A (en) Information processing system, information processing device, and information processing program
CN110572698B (en) Method, device, equipment and medium for counting inspection and monitoring playing records
CN108923941A (en) A kind of multi-user flow statistical system applied to network
CN114050994B (en) Network telemetry method based on SRv6
CN103441892B (en) Multi-user flow statistical system based on broadcast television network
CN105357118A (en) Rule based flow classifying method and system
CN109361546B (en) Program early warning method and device based on video network
CN109121017B (en) Method and device for evaluating quality of video networking network
CN106130764B (en) A kind of whether available method and system of monitor video direct broadcasting room data service
CN101175038B (en) Data stream information transmission method, communication system and equipment
CN110572363A (en) Product display method and device based on video network, electronic equipment and storage medium
CN108965093A (en) A kind of VLAN allocation method and device
CN113438555B (en) Bandwidth detection method and device, computer equipment and storage medium
CN109756384B (en) Data source state determination method and device and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20181130

RJ01 Rejection of invention patent application after publication