CN102143070B - Remote traffic acquisition method, device and system - Google Patents
Remote traffic acquisition method, device and system Download PDFInfo
- Publication number
- CN102143070B CN102143070B CN201110052905.XA CN201110052905A CN102143070B CN 102143070 B CN102143070 B CN 102143070B CN 201110052905 A CN201110052905 A CN 201110052905A CN 102143070 B CN102143070 B CN 102143070B
- Authority
- CN
- China
- Prior art keywords
- router
- label
- message
- far
- mpls
- 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.)
- Expired - Fee Related
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/50—Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention relates to the technical field of data communication, and provides a remote traffic acquisition method, which comprises the following steps that: a local router transmits a multi-protocol label switching (MPLS) label reaching the local router and the MPLS label for remote traffic acquisition to a remote router; the remote router records the received MPLS label information to configuration information; the remote router acquires traffic, encapsulates a message according to the configuration information and forwards the message to the local router by an MPLS network; and the local router receives and resolves the message, processes the message according to the MPLS label and transmits the processed message to an acquisition analysis server. The invention also provides a remote traffic acquisition device and a remote traffic acquisition system. By the remote traffic acquisition method, the remote traffic acquisition device and the remote traffic acquisition system provided by the invention, a remote traffic acquisition function can be realized, the problem of incapability of acquiring traffic due to software version inconsistency is solved, and simultaneously, the traffic acquisition load of a central processing unit (CPU) can be shared.
Description
Technical field
The present invention relates to data communication technology field, relate in particular to a kind of methods, devices and systems of remote traffic acquisition.
Background technology
Along with developing rapidly of Internet, broadband, the network size of telecom operators is constantly expansion also, and Network is also increasingly abundant.Telecom operators need to undertake in time by all kinds of business reliable, that effectively network service traffic monitoring system is carried its network and network, flow and flowing to is analyzed accurately, and then excavation Internet resources potentiality, control network interconnection cost, ensure network security, for business development provides basic foundation.Like this, just need flow collection technology.Flow collection can be distinguished the various types of data bag transmitting in network, carries out detailed BMAT and metering, and the detail statistics data of the network operation are provided, and meets the demand of telecom operators.
As shown in Figure 1, be the structural representation of most of flow collection systems in prior art.It enables flow collection on router one 0, and the flow arriving is gathered, and then sends to collection analysis server 20.This collection can only gather the flow that enters into this router, if suppose, operator has the flow on multiple routers to need to gather, software version on so each router need to be consistent with the version of collection analysis device, and this will cause the upgrading underaction of software.In addition, the data that router gathers need local processing, and flow is large likely causes burden, the especially lower router of some cpu performances of CPU (Central Processing Unit, central processing unit), affects larger.
Summary of the invention
Main purpose of the present invention is to provide a kind of method, Apparatus and system of remote traffic acquisition, aims to provide an acquisition mode more flexibly, can gather the flow of other routers, avoids non-uniformity of software versions and can not gather the problem of flow; Meanwhile, can also share the load of flow collection to CPU.
To achieve these goals, the invention provides a kind of method of remote traffic acquisition, comprise the following steps:
Local router will arrive the multiprotocol label switching MPLS label of this router and send to far-end router for the MPLS label of remote traffic acquisition;
Far-end router is recorded to the MPLS label information receiving in configuration information;
Far-end router gathers flow, according to configuration information, message is encapsulated, and forwards the packet to local router by MPLS network;
Local router receives and analytic message, according to MPLS label, message is processed, and re-sends to collection analysis server.
Preferably, describedly according to MPLS label, message is processed and is comprised:
By data format being changed and mated with the agreement of collecting server commitment.
Preferably, the quantity of described local router and/or far-end server is multiple.
The present invention also provides a kind of device for remote traffic acquisition, for carrying out data interaction with far-end router and collection analysis server, the flow of collecting is sent to collection analysis server, comprising:
Sending module, for arriving the multiprotocol label switching MPLS label of this router and send to far-end router for the MPLS label of remote traffic acquisition;
Packet parsing module, the MPLS message that includes far-end router flow information and MPLS label sending for resolving far-end router;
Message processing module (MPM), for message being processed according to MPLS label, re-sends to collection analysis server.
Preferably, described message processing module (MPM) specifically comprises the processing of message:
By data format being changed and mated with the agreement of collecting server commitment.
The present invention also provides a kind of system of remote traffic acquisition, comprising:
Local router, for arriving the multiprotocol label switching MPLS label of this router and send to far-end router for the MPLS label of remote traffic acquisition;
Far-end router, for being recorded to configuration information by the MPLS label information receiving; Flow is gathered, according to configuration information, message is encapsulated, and forward the packet to local router by MPLS network;
Described local router also, for receiving and analytic message, is processed message according to MPLS label, re-sends to collection analysis server.
Method, device or the system of remote traffic acquisition provided by the present invention, by the cooperation of two ends or multiterminal router, complete message collection, i.e. image data on router at one end, message is encapsulated, then send to destination router, destination router carries out dissection process again, message is sent to collection analysis server, can realize far-end flow collection function.Simultaneously, the router of flow entrance only needs simple flow to extract, and do not need to do message analysis, only the message obtaining need to be sent to an other router, like this can be after the software release upgrade of collection analysis server, the router software of need not upgrading, only need to upgrade just to the version of local router.In addition, for the lower router of disposal ability, also can effectively reduce the load of CPU, thus Optimal performance.And, can also improve image data and send to the success rate of collection analysis server.
Brief description of the drawings
Fig. 1 is the structural representation of flow collection system in prior art;
Fig. 2 is the flow chart of steps of an embodiment of the invention medium-long range flow collection method;
Fig. 3 is the structural representation of an embodiment of the invention medium-long range flow collection system.
Realization, functional characteristics and the advantage of the object of the invention, in connection with embodiment, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Fig. 2 shows the method flow of an embodiment of the invention medium-long range flow collection, and the method flow process comprises the following steps:
Step S10, local router will arrive MPLS (Multi-Protocol Label Switching, the multiprotocol label switching) label of this router and send to far-end router for the MPLS label of remote traffic acquisition; In one embodiment, before carrying out this step, be also included in and on far-end router and local router, open remote traffic acquisition function, and mutually configure the step of the IP address of opposite end.
Step S20, far-end router is recorded to the MPLS label information receiving in configuration information;
Step S30, far-end router gathers flow, according to configuration information, message is encapsulated, and forwards the packet to local router by MPLS network;
Step S40, local router receives and analytic message, according to MPLS label, message is processed, and re-sends to collection analysis server.In this step, according to MPLS label, message is processed and comprised: by data format being changed and mated with the agreement of collecting server commitment.
The concrete steps of said method flow process can be with reference to shown in Fig. 3:
On router R1, R2, enable far-end flow collection function, wherein R1 is far-end router, and R2 is local router.Its idiographic flow is as follows:
First, R2 is to R1 distribution MPLS label and the MPLS label for far-end flow collection to R1; R1 router obtains to the label of R2 and the label for far-end flow collection, notifies inner flow collection module, and label information is saved in configuration information; R1 gathers and checks configuration information to flow, obtain needing the relevant label information of far-end router R2 of transmission, and then R1, by Tag Packaging to the heading gathering, sends to R2 by MPLS network; R2 receives after message, resolve MPLS message, obtain the information of associated according to label value, judging is the message that far-end associated router R1 collects, so message is delivered to local processing module, related data, by with the agreement of collecting server commitment, data format being changed and matching treatment, is re-send to afterwards collection analysis server, thereby reaches the object that collects R1 flow on R2.
It should be noted that in embodiment of the present invention, it is multiple that the quantity of local router, far-end server can be respectively, and is not limited to the quantity in Fig. 3.
The method providing in embodiment of the present invention, by the cooperation of two ends or multiterminal router, complete message collection, i.e. image data on router at one end, message is encapsulated, then send to destination router, destination router carries out dissection process again, message is sent to collection analysis server, can realize far-end flow collection function.Simultaneously, the router of flow entrance only needs simple flow to extract, and do not need to do message analysis, only the message obtaining need to be sent to an other router, like this can be after the software release upgrade of collection analysis server, the router software of need not upgrading, only need to upgrade just to the version of local router.In addition, for the lower router of disposal ability, also can effectively reduce the load of CPU, thus Optimal performance.And, can also improve image data and send to the success rate of collection analysis server.
The invention provides a kind of device for remote traffic acquisition, it,, for carrying out data interaction with far-end router and collection analysis server, is sent to collection analysis server by the flow of collecting, and comprising:
Sending module, for arriving the multiprotocol label switching MPLS label of this router and send to far-end router for the MPLS label of remote traffic acquisition;
Packet parsing module, the MPLS message that includes far-end router flow information and MPLS label sending for resolving far-end router;
Message processing module (MPM), for message being processed according to MPLS label, re-sends to collection analysis server.Message processing module (MPM) is processed and is comprised message: by data format being changed and mated with the agreement of collecting server commitment.
The present invention can be arranged into data traffic acquisition system for the device of remote traffic acquisition, can regard the local router in earlier figures 2 and Fig. 3 as, and the realization of its 26S Proteasome Structure and Function can be with reference to earlier figures 2 and embodiment illustrated in fig. 3.Utilize the device of remote traffic acquisition of the present invention, can realize far-end flow collection function.Simultaneously, the far-end router of flow entrance only needs simple flow to extract, and do not need to do message analysis, only the message obtaining need to be sent to the device in embodiment of the present invention, like this can be after the software release upgrade of collection analysis server, the router software of need not upgrading, only need to upgrade just for the version of the device of remote traffic acquisition to the present invention.In addition, for the lower router of disposal ability, also can effectively reduce the load of CPU, thus Optimal performance, and, can also improve image data and send to the success rate of collection analysis server.
The present invention also provides a kind of system of remote traffic acquisition, comprising:
Local router, for arriving the multiprotocol label switching MPLS label of this router and send to far-end router for the MPLS label of remote traffic acquisition;
Far-end router, for being recorded to configuration information by the MPLS label information receiving; Flow is gathered, according to configuration information, message is encapsulated, and forward the packet to local router by MPLS network;
Described local router also, for receiving and analytic message, is processed message according to MPLS label, re-sends to collection analysis server.
In embodiment of the present invention, the structure of the system of remote traffic acquisition can be with reference to shown in Fig. 2, and the realization of its function can be with reference to previous embodiment.
These are only the preferred embodiments of the present invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or conversion of equivalent flow process that utilizes specification of the present invention and accompanying drawing content to do; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.
Claims (5)
1. a method for remote traffic acquisition, is characterized in that, comprises the following steps:
Local router will arrive the multiprotocol label switching MPLS label of this router and send to far-end router for the MPLS label of remote traffic acquisition;
Far-end router obtains to the label of local router and the label for far-end flow collection, notifies inner flow collection module, and label information is saved in configuration information;
Far-end router gathers and checks configuration information to flow, obtain needing the relevant label information of described local router of transmission, and Tag Packaging, to the heading gathering, is sent to described local router by MPLS network;
Local router is received after message, resolve MPLS message, obtain the information of associated according to label value, judging is the message that far-end associated router collects, message is delivered to local processing module, to related data by with the agreement of collection analysis server commitment, data format being changed and matching treatment.
2. the method for remote traffic acquisition as claimed in claim 1, is characterized in that, the quantity of described local router and/or far-end server is multiple.
3. for a device for remote traffic acquisition, it is characterized in that, for carrying out data interaction with far-end router and collection analysis server, the flow of collecting be sent to collection analysis server, comprising:
Sending module, for arriving the multiprotocol label switching MPLS label of this router and send to far-end router for the MPLS label of remote traffic acquisition;
Packet parsing module, the MPLS message that includes far-end router flow information and MPLS label sending for resolving far-end router;
Message processing module (MPM), for message being processed according to MPLS label, re-sends to collection analysis server; Described message processing module (MPM) specifically comprises the processing of message:
By data format being changed and mated with the agreement of collection analysis server commitment.
4. a system for remote traffic acquisition, is characterized in that, comprising:
Local router, for arriving the multiprotocol label switching MPLS label of this router and send to far-end router for the MPLS label of remote traffic acquisition;
Far-end router, for obtaining to the label of local router and the label for far-end flow collection, notifies inner flow collection module, and label information is saved in configuration information; Flow is gathered and check configuration information, obtain needing the relevant label information of described local router of transmission, Tag Packaging, to the heading gathering, is sent to described local router by MPLS network;
Described local router also, for receiving and analytic message, is processed message according to MPLS label, re-sends to collection analysis server; Described local router comprises:
Message processing module (MPM), for message being processed according to MPLS label, described processing specifically comprises: by data format being changed and mated with the agreement of collection analysis server commitment.
5. system as claimed in claim 4, is characterized in that, the quantity of described local router and/or far-end server is multiple.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110052905.XA CN102143070B (en) | 2011-03-04 | 2011-03-04 | Remote traffic acquisition method, device and system |
PCT/CN2012/071090 WO2012119504A1 (en) | 2011-03-04 | 2012-02-13 | Remote traffic acquisition method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110052905.XA CN102143070B (en) | 2011-03-04 | 2011-03-04 | Remote traffic acquisition method, device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102143070A CN102143070A (en) | 2011-08-03 |
CN102143070B true CN102143070B (en) | 2014-11-05 |
Family
ID=44410305
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110052905.XA Expired - Fee Related CN102143070B (en) | 2011-03-04 | 2011-03-04 | Remote traffic acquisition method, device and system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102143070B (en) |
WO (1) | WO2012119504A1 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102143070B (en) * | 2011-03-04 | 2014-11-05 | 中兴通讯股份有限公司 | Remote traffic acquisition method, device and system |
CN103577197A (en) * | 2013-11-18 | 2014-02-12 | 深圳市远行科技有限公司 | Method for achieving android application program dynamic form |
CN105207834A (en) * | 2014-06-25 | 2015-12-30 | 中兴通讯股份有限公司 | Message acquisition method, system, network apparatus and network management center |
CN107508721B (en) * | 2017-08-01 | 2018-11-02 | 南京云利来软件科技有限公司 | A kind of collecting method based on metadata |
CN109194516B (en) * | 2018-09-17 | 2021-07-09 | 北京亚鸿世纪科技发展有限公司 | Method for reducing cost of network flow acquisition equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101155086A (en) * | 2006-09-26 | 2008-04-02 | 中兴通讯股份有限公司 | Network flux statistical method for broad band and narrow band integrated access equipment |
CN101547112A (en) * | 2008-03-28 | 2009-09-30 | 华为技术有限公司 | Network flow sampling method and system |
CN101605069A (en) * | 2009-06-30 | 2009-12-16 | 杭州华三通信技术有限公司 | A kind of method and apparatus of gathering flow information |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020136223A1 (en) * | 2000-12-19 | 2002-09-26 | Ho Ka K. | Method and apparatus for interworking PNNI with the signalling and routing protocols used in MPLS networks |
KR100765320B1 (en) * | 2005-09-14 | 2007-10-09 | 삼성전자주식회사 | MPLS Network and Method for Applying Mobile IP to MPLS Network |
CN102143070B (en) * | 2011-03-04 | 2014-11-05 | 中兴通讯股份有限公司 | Remote traffic acquisition method, device and system |
-
2011
- 2011-03-04 CN CN201110052905.XA patent/CN102143070B/en not_active Expired - Fee Related
-
2012
- 2012-02-13 WO PCT/CN2012/071090 patent/WO2012119504A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101155086A (en) * | 2006-09-26 | 2008-04-02 | 中兴通讯股份有限公司 | Network flux statistical method for broad band and narrow band integrated access equipment |
CN101547112A (en) * | 2008-03-28 | 2009-09-30 | 华为技术有限公司 | Network flow sampling method and system |
CN101605069A (en) * | 2009-06-30 | 2009-12-16 | 杭州华三通信技术有限公司 | A kind of method and apparatus of gathering flow information |
Also Published As
Publication number | Publication date |
---|---|
WO2012119504A1 (en) | 2012-09-13 |
CN102143070A (en) | 2011-08-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2607603C (en) | Distributed traffic analysis | |
CN102143070B (en) | Remote traffic acquisition method, device and system | |
US20130191890A1 (en) | Method and system for user identity recognition based on specific information | |
CN103716198B (en) | Data network quality auto-dial testing method and system | |
CN111294235B (en) | Data processing method, device, gateway and readable storage medium | |
CN102244593A (en) | Network communication at unaddressed network devices | |
CN107018001B (en) | Application fault positioning method and device | |
CN112653566B (en) | Data processing method and device | |
US20190036796A1 (en) | Monitoring data transmission method and related device | |
CN103997539A (en) | Radar operation state collecting and distributing system and method based on web service | |
CN101960780A (en) | In-bound mechanism that monitors end-to-end QOE of services with application awareness | |
CN103036707B (en) | Portable IPTV service service quality diagnostic device and diagnostic method | |
RU2668394C2 (en) | Packet collection method and system, network device and network management centre | |
CN102340504A (en) | Method, device and system for recognizing remote desktop user identity | |
CN106535240A (en) | Mobile APP centralized performance analysis method based on cloud platform | |
CN103581338A (en) | On-line pollution source monitoring data monitoring system | |
CN103096038A (en) | Fusing video monitoring system with multi-protocol video monitoring device inserted in and monitoring method | |
CN103220188A (en) | Hyper text transport protocol (HTTP) data acquisition equipment | |
CN107846310A (en) | Method is delimited in a kind of IPTV videos matter difference linkage testing based on customer resources tree | |
CN106685896B (en) | Clear data acquisition method and system in a kind of SSH agreement multilevel access | |
CN104579942A (en) | Network message forwarding method and device | |
CN110166518B (en) | Session information transmission method, device, storage medium and electronic device | |
CN103532726B (en) | Information distribution system | |
CN105530132A (en) | Management system and method of CATV optical receiving module on CDOCSIS platform | |
CN103458431A (en) | Multi-point acquisition and cross-layer playback system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20141105 Termination date: 20200304 |