WO2011153838A1 - Traffic collection system, method and device - Google Patents

Traffic collection system, method and device Download PDF

Info

Publication number
WO2011153838A1
WO2011153838A1 PCT/CN2011/070633 CN2011070633W WO2011153838A1 WO 2011153838 A1 WO2011153838 A1 WO 2011153838A1 CN 2011070633 W CN2011070633 W CN 2011070633W WO 2011153838 A1 WO2011153838 A1 WO 2011153838A1
Authority
WO
WIPO (PCT)
Prior art keywords
traffic
collector
management server
message
traffic collector
Prior art date
Application number
PCT/CN2011/070633
Other languages
French (fr)
Chinese (zh)
Inventor
陈永欣
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2011153838A1 publication Critical patent/WO2011153838A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks

Definitions

  • the present invention relates to the field of network device traffic management, and in particular, to a traffic collection system, a method and a device thereof. Background technique
  • IP Internet Protocol
  • the embodiments of the present invention provide a traffic collection system, a method, and a device thereof, which are used to solve the problem that a single traffic collector in the prior art cannot complete the collection and query of large traffic data information of the network device.
  • the traffic collection system provided by the present invention, the system includes a management server and at least one traffic collector;
  • the management server is configured to broadcast a traffic query message to the registered at least one traffic collector, and summarize traffic data of the network device reported by each traffic collector to obtain a summary result;
  • the traffic collector is configured to collect traffic data of the network device under the jurisdiction according to the traffic query message broadcasted by the management server, and report the traffic data to the management server.
  • the present invention also provides a traffic collection method, the method comprising:
  • the management server broadcasts the traffic query message to the registered at least one traffic collector; the management server obtains the traffic data of the governed network device that the traffic collector collects according to the traffic query message;
  • the management server summarizes the obtained traffic data and stores the summary results.
  • the present invention also provides a traffic collection device, which includes a message subject module, a message queue module, and a summary module;
  • the message subject module is configured to broadcast a traffic query message to the registered at least one traffic collector
  • the message queue module is configured to obtain traffic data of the network device that is collected by the traffic collector according to the traffic query message;
  • the summary module is configured to summarize the obtained traffic data and store the summary result.
  • the above-mentioned traffic collection system, method, and apparatus provided by the embodiments of the present invention, for collecting and querying large-flow data information that cannot be completed by a single traffic collector, by at least one
  • the traffic collector collects the collection and query of the large-flow data information of the network device, centrally manages all the traffic collectors, ensures the reliability of the message, and solves the large-flow data information that cannot be completed by a single traffic collector.
  • the problem of collection and query ensures the effective control of the network by the telecom operator and the balance of the network used by the user. With the increase of the network equipment at the aggregation layer and the core layer, the traffic collector can be added without upgrading. Some traffic collectors increase the scalability of the system.
  • FIG. 1 is a block diagram showing the composition of a traffic collection system according to Embodiment 1 of the present invention.
  • FIG. 2 is a structural block diagram of a traffic collection system with three traffic collectors as an example in the first embodiment of the present invention
  • FIG. 3 is a flowchart of a method for collecting traffic in a second embodiment of the present invention.
  • Embodiment 4 is a flow chart of registration of a traffic collector in Embodiment 2 of the present invention.
  • FIG. 5 is a flowchart of a management server broadcast message according to Embodiment 2 of the present invention.
  • FIG. 6 is a flow collection device according to Embodiment 2 of the present invention. detailed description
  • the invention provides a traffic collection system, a method, and a device thereof, which share traffic collection and query work of a network device by using at least one traffic collector, and centrally manage all traffic collectors, thereby solving a single traffic collector cannot Number of completed large flows According to the collection of information and query questions.
  • This embodiment first provides a traffic collection system, as shown in FIG. 1, including a management server 100 and at least one traffic collector 200 , wherein: the management server 100 is configured to register at least one traffic collector The broadcast traffic query message is summarized, and the traffic data of the network device reported by each traffic collector is summarized to obtain a summary result.
  • the traffic collector 200 is configured to collect traffic data of the network device under the jurisdiction according to the traffic query message broadcasted by the management server, and report the traffic data to the management server.
  • the traffic collector 200 is further configured to periodically report a heartbeat message to the management server in a normal working state.
  • the management server 100 is further configured to: when receiving the heartbeat message reported by the traffic collector, update the received time of the stored heartbeat message of the traffic collector, according to the received heartbeat message of each traffic collector. The time is judged whether the traffic collector is in a normal working state, and the status information of the traffic collector in the normal working state is queried.
  • the management server 100 is configured to send a status query message to the traffic collector of each normal working state, where the collector ID of the traffic collector of the normal working state is carried.
  • the traffic collector 200 is configured to receive a status query message sent by the management server, and confirm that the collector ID carried in the status query message is consistent with the locally stored collector ID, and query the message according to the status.
  • the status information of the traffic collector is queried and reported to the management server.
  • the management server 100 is further configured to hand over the network device under the jurisdiction of the traffic collector in the abnormal working state to the traffic collector in which the state information meets the normal working state of the set condition.
  • the management server 100 is configured to broadcast a traffic query message to the registered traffic collectors (200A, 200B, and 200C), and summarize the traffic data of the network devices reported by each traffic collector to obtain a summary result.
  • the traffic collectors (200A, 200B, and 200C) are configured to receive a traffic query message broadcast by the management server 100, and confirm that the message object of the traffic query message includes the collector ID of the traffic collector, according to the The traffic query message collects the traffic data of the network device under the jurisdiction and reports it to the management server 100.
  • the management server 100 confirms.
  • the traffic collectors (200A and 200B) are in a normal working state, and the traffic collector 200C is in an abnormal working state.
  • the status message includes a server CPU usage message, a memory usage message, and a disk usage percentage message.
  • the management server 100 is further configured to use a traffic collector of an abnormal working state.
  • the network device under the jurisdiction of 200C is handed over to the traffic collector 200A or the traffic collector 200B whose status information satisfies the normal operating state of the set condition.
  • the CPU memory usage of the traffic collector 200B in the status message is lower than that of the traffic collector 200A, it indicates that the collection pressure of the traffic collector 200B is small, that is, the traffic collector 200C of the abnormal working state is The governed network device is handed over to the traffic collector 200B, from The dynamic collection of the traffic collector is implemented.
  • the management server 100 is further configured to open the collector switch of the traffic collector by sending a collection open message to the at least one traffic collector before broadcasting the traffic query message.
  • the traffic collector is further configured to send a registration message to the management server according to the configured IP address of the management server each time it is started;
  • the management server is further configured to extract, from the received registration message, an IP address of the traffic collector that initiates registration, and find whether the collector ID corresponding to the IP address of the traffic collector is recorded locally, if not, Configuring a collector ID for the traffic collector and recording a correspondence between the IP address of the traffic collector and the configured collector ID, and if so, extracting the collector ID of the traffic collector; And returning a registration confirmation message carrying the collector ID to the traffic collector that initiated the registration.
  • £ is provided with three traffic collectors, that is, the traffic collectors (200A, 200B, and 200C) are also used to send a registration message to the management server 100 according to the configured IP address of the management server 100 each time it is started. .
  • the method for obtaining the collector ID by the traffic collectors (200A, 200B, and 200C) is:
  • the management server 100 is further configured to extract, from the received registration message, the traffic collectors (200A, 200B, and 200C) that initiate registration.
  • IP address find whether the local collector ID of the IP address of the traffic collector (200A, 200B, and 200C) is recorded locally. If the collector ID of the traffic collector 200A is not found, it is the traffic collector 200A. Configure the collector ID and record the correspondence between the IP address of the traffic collector and the configured collector ID. If the collector ID of the traffic collectors (200B and 200C) is found, the traffic collector is set.
  • the collector IDs of (200B and 200C) are fetched; and the registration confirmation message carrying the collector ID is fed back to the traffic collectors (200A, 200B, and 200C) that initiated the registration.
  • Embodiment 2 Based on the same technical concept, this embodiment provides a traffic collection method, as shown in FIG. 3, including the following steps:
  • Step S301 The management server broadcasts a traffic query message to the registered at least one traffic collector.
  • Step S302 The management server obtains traffic data of the governed network device that is collected by the traffic collector according to the traffic query message.
  • Step S303 The management server summarizes the obtained traffic data, and stores the summary result. Further, before the broadcast server queries the traffic query message, the management server further includes: opening the aggregation switch of the traffic collector by broadcasting the set open message to the at least one traffic collector.
  • the process of registering the traffic collector with the management server includes: the management server extracting an IP address of the traffic collector from the registration message sent by the traffic collector.
  • the management server searches whether the local collector ID corresponding to the IP address of the traffic collector is recorded locally, and if not, configures the collector ID for the traffic collector and records the IP address and configuration of the traffic collector. Corresponding relationship between the collector IDs, if any, fetching the collector ID of the traffic collector;
  • the management server feeds back to the originating traffic collector a registration confirmation message carrying the collector ID.
  • Step S401 The traffic collector sends a registration message to the management server according to the configured IP address of the management server each time it starts.
  • Step S402 The management server extracts the IP address of the traffic collector that initiates the registration from the received registration message, and searches whether the collector ID corresponding to the IP address of the traffic collector is recorded in the management server. If not, the process proceeds to the step. S403; if yes, go to step S404. Step S403: The management server configures the collector ID for the traffic collector and records the correspondence between the IP address of the traffic collector and the configured collector ID.
  • Step S404 The management server extracts the collector ID of the traffic collector.
  • Step S405 After obtaining the corresponding traffic collector identifier, the management server feeds back the registration confirmation message carrying the collector ID to the originating traffic collector.
  • the management server updates the stored reception time of the heartbeat message of the traffic collector when receiving the heartbeat message periodically reported by the traffic collector;
  • the traffic collector According to the received time of the heartbeat message of each of the stored traffic collectors, it is determined whether the traffic collector is in a normal working state, and the status information of the traffic collector in the normal working state is queried.
  • the heartbeat message is used to determine an indicator of whether the traffic collector is working normally, and the receiving time can be set to 10 seconds or other time.
  • the management server queries the status information of the traffic collector in a normal working state, and specifically includes:
  • the management server sends a status query message to each of the normal working state traffic collectors, where the query message carries the collector identifier of the traffic collector in the normal working state.
  • the management server obtains the status information reported by the traffic collector when it confirms that the collector identifier carried in the received query message is consistent with the locally stored collector identifier.
  • the management server further includes:
  • the network device under the jurisdiction of the traffic collector of the abnormal working state is handed over to the traffic collector whose state information satisfies the normal working state of the set condition.
  • the management server confirms that the traffic collector is in an abnormal working state, and according to the status reported by the other traffic collector The message determines the traffic set with the lowest collection pressure in other traffic collectors. And handing over the network device under the jurisdiction of the traffic collector of the abnormal working state to the traffic collector with the lowest collection pressure.
  • the process of the management server broadcasting the message to the at least one traffic collector is as shown in FIG. 5, and specifically includes the following steps:
  • Step S501 The management server encapsulates the broadcasted message object.
  • Step S502 The management server determines whether it is sent to the specified traffic collector, if the message is sent to the specified traffic collector, the process proceeds to step S503; if the message is sent to all the traffic collectors, the process proceeds to step S504. .
  • Step S503 The management server encapsulates the collector ID of the specified traffic collector into the query message object, and then proceeds to step S504.
  • Step S504 The management server sets the attribute of the collector ID of each traffic collector to NULL, and then proceeds to step S505.
  • Step S505 The management server sends the message to each traffic collector.
  • Step S506 After receiving the message, the traffic collector obtains the collector ID from the message object, and determines whether it is NULL; if not NULL, the process proceeds to step S507; if it is NULL, the process proceeds to step S508.
  • Step S507 Determine whether the acquired ID of the collector is the same as the ID obtained after the registration of the collector, and if yes, go to step S508; otherwise, go to step S509.
  • Step S508 The traffic collector receives the message and processes the process, and the process ends.
  • Step S509 The traffic collector abandons the received message, and the process ends.
  • step S508 refers to an operation performed by the traffic collector in accordance with the content of the instruction carried in the management server broadcast message.
  • the present invention further provides a traffic collection device, as shown in FIG. 6, including a message subject module 601, a message queue module 602, and a summary module 603;
  • the message subject module 601 is configured to broadcast traffic to the registered at least one traffic collector. Query the message.
  • the message queue module 602 is configured to obtain traffic data of the network device that is collected by the traffic collector according to the traffic query message.
  • the summary module 603 is configured to summarize the obtained traffic data and store the summary result.
  • the summary module 603 is further configured to generate a flow data information report in a plurality of formats, such as a real-time report, a daily report, a weekly report, and a monthly report, and may also be a histogram, a two-dimensional, a three-dimensional coordinate curve, and a pie chart.
  • the form generates real-time network device traffic data information reports, and the summary results of large-scale network device traffic data information situation analysis.
  • the traffic collection device further includes a storage module, configured to store a summary result obtained by the summary module;
  • the traffic collection device further includes a display module, configured to display a summary result of the storage module.
  • the method and the device thereof the collection and query work of the large-flow data information that cannot be completed by a single traffic collector, and the large traffic of the network device is shared by multiple traffic collectors.
  • Collecting and querying data information centrally managing all traffic collectors, ensuring the reliability of messages, and solving the problem of collecting and querying large-volume data information that cannot be completed by a single traffic collector.
  • the traffic collector With the increase of the network equipment at the aggregation layer and the core layer, the traffic collector can be added, and the existing traffic collector can be upgraded without adding an existing system. Scalability.

Landscapes

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

Abstract

The present invention discloses a traffic collection system, method and device, in order to solve the problem in prior art that a single traffic collector can not achieve the collection and query for large traffic data information of network devices. The traffic collection system provided by the present invention includes a management server and at least one traffic collector, wherein said management server is used for broadcasting traffic query messages to at least one registered traffic collector and gathering the traffic data of each network device, which are reported by the traffic collectors, to obtain a gathered result; said traffic collector is used for collecting the traffic data of the network devices which are managed by the traffic collector and reporting the traffic data to said management server on basis of the traffic query message broadcasted by the management server.

Description

流量采集系统及其方法、 装置 技术领域  Flow collection system, method and device thereof
本发明涉及网络设备流量管理领域, 尤其涉及一种流量釆集系统及其 方法、 装置。 背景技术  The present invention relates to the field of network device traffic management, and in particular, to a traffic collection system, a method and a device thereof. Background technique
随着因特网的高速发展, 网际协议(IP, Internet Protocol ) 网络已经成 为人们日常工作和生活中必不可少的工具, 并且在 IP网络中进行点到点的 数据传输更加普遍, 存在很少的用户占用大量的设备带宽, 从而导致了电 信运营商的网络设备投入远远满足不了用户对带宽的需求。 因此, 电信运 营商希望增加网络的可视性, 了解网络的实际占用情况, 进而可以对网络 进行有效的控制, 保障用户使用的均衡性, 并且可以推出差异化产品满足 不同用户的需求。  With the rapid development of the Internet, the Internet Protocol (IP) network has become an indispensable tool in people's daily work and life, and point-to-point data transmission in IP networks is more common, and there are few users. Occupying a large amount of device bandwidth, resulting in the telecommunications carrier's network equipment investment can not meet the user's demand for bandwidth. Therefore, telecom operators hope to increase the visibility of the network and understand the actual occupancy of the network, which in turn can effectively control the network, ensure the balance of user usage, and can introduce differentiated products to meet the needs of different users.
为了增加网络的可视性, 了解网络的实际占用情况, 并满足不同用户 的需求, 需要釆集网络设备的流量数据并进行分析控制, 一般通过单个流 量釆集器对网络中的所有网络设备(如交换机和路由器等) 的流量数据进 行釆集, 在城域网或大型企业的网络环境中, 用户 IP网络设备的流量数据 信息非常大, 使得流量釆集器的釆集和查询压力巨大, 导致单个流量釆集 器无法完成对所有网络设备(如多个路由器或者交换机) 的大流量数据信 息的釆集和查询, 甚至提高单个流量釆集器的硬件性能都无法满足大流量 数据信息的釆集和查询, 可见, 亟待提供一种可以完成对网络设备的大流 量数据信息的釆集和查询的解决方案。 发明内容 In order to increase the visibility of the network, understand the actual occupation of the network, and meet the needs of different users, it is necessary to collect the traffic data of the network device and perform analysis and control. Generally, all the network devices in the network are connected through a single traffic collector ( Traffic data such as switches and routers are collected. In the network environment of a metropolitan area network or a large enterprise, the traffic data information of the user IP network device is very large, which makes the collection and query pressure of the traffic collector large, resulting in A single traffic collector cannot complete the collection and query of large-traffic data information of all network devices (such as multiple routers or switches), and even improve the hardware performance of a single traffic collector cannot meet the collection of large-traffic data information. And the query, visible, is urgently needed to provide a solution that can complete the collection and query of large-flow data information of network devices. Summary of the invention
本发明实施例提供一种流量釆集系统及其方法、 装置, 用以解决现有 技术中存在的单个流量釆集器无法完成对网络设备大流量数据信息的釆集 和查询的问题。  The embodiments of the present invention provide a traffic collection system, a method, and a device thereof, which are used to solve the problem that a single traffic collector in the prior art cannot complete the collection and query of large traffic data information of the network device.
本发明所提供的流量釆集系统, 该系统包括管理服务器和至少一个流 量釆集器; 其中,  The traffic collection system provided by the present invention, the system includes a management server and at least one traffic collector;
所述管理服务器, 用于向已注册的至少一个流量釆集器广播流量查询 消息, 并对各流量釆集器上报的网络设备的流量数据进行汇总, 得到汇总 结果;  The management server is configured to broadcast a traffic query message to the registered at least one traffic collector, and summarize traffic data of the network device reported by each traffic collector to obtain a summary result;
所述流量釆集器, 用于根据管理服务器广播的所述流量查询消息, 釆 集所管辖网络设备的流量数据并上报给所述管理服务器。  The traffic collector is configured to collect traffic data of the network device under the jurisdiction according to the traffic query message broadcasted by the management server, and report the traffic data to the management server.
相应地, 本发明还提供了一种流量釆集方法, 该方法包括:  Correspondingly, the present invention also provides a traffic collection method, the method comprising:
管理服务器向已注册的至少一个流量釆集器广播流量查询消息; 管理服务器获得所述各流量釆集器根据所述流量查询消息釆集到的所 管辖网络设备的流量数据;  The management server broadcasts the traffic query message to the registered at least one traffic collector; the management server obtains the traffic data of the governed network device that the traffic collector collects according to the traffic query message;
管理服务器对获得的流量数据进行汇总, 并存储汇总结果。  The management server summarizes the obtained traffic data and stores the summary results.
基于流量釆集方法, 本发明还提供了一种流量釆集装置, 该装置包括 消息主题模块、 消息队列模块和汇总模块; 其中,  The present invention also provides a traffic collection device, which includes a message subject module, a message queue module, and a summary module;
所述消息主题模块, 用于向已注册的至少一个流量釆集器广播流量查 询消息;  The message subject module is configured to broadcast a traffic query message to the registered at least one traffic collector;
所述消息队列模块, 用于获得所述各流量釆集器根据所述流量查询消 息釆集到的网络设备的流量数据;  The message queue module is configured to obtain traffic data of the network device that is collected by the traffic collector according to the traffic query message;
所述汇总模块, 用于对获得的流量数据进行汇总, 并存储汇总结果。 本发明实施例提供的基于上述流量釆集系统及其方法、 装置, 对于单 个流量釆集器无法完成的大流量数据信息的釆集和查询工作, 通过至少一 个流量釆集器分担网络设备大流量数据信息的釆集和查询工作, 集中管理 所有的流量釆集器, 保证了消息的可靠性, 解决了由单个流量釆集器无法 完成的大流量数据信息的釆集和查询的问题, 保证了电信运营商对网络的 有效控制和用户使用网络的均衡性, 随着汇聚层和核心层网络设备的增加, 通过增加流量釆集器即可, 无需升级现有的流量釆集器, 增加了系统的可 扩展性。 The summary module is configured to summarize the obtained traffic data and store the summary result. The above-mentioned traffic collection system, method, and apparatus provided by the embodiments of the present invention, for collecting and querying large-flow data information that cannot be completed by a single traffic collector, by at least one The traffic collector collects the collection and query of the large-flow data information of the network device, centrally manages all the traffic collectors, ensures the reliability of the message, and solves the large-flow data information that cannot be completed by a single traffic collector. The problem of collection and query ensures the effective control of the network by the telecom operator and the balance of the network used by the user. With the increase of the network equipment at the aggregation layer and the core layer, the traffic collector can be added without upgrading. Some traffic collectors increase the scalability of the system.
本发明的其它特征和优点将在随后的说明书中阐述, 并且, 部分地从 说明书中变得显而易见, 或者通过实施本发明而了解。 本发明的目的和其 他优点可通过在所写的说明书、 权利要求书、 以及附图中所特别指出的结 构来实现和获得。 附图说明  Other features and advantages of the invention will be set forth in the description which follows, The objectives and other advantages of the invention will be realized and attained by the <RTI DRAWINGS
图 1为本发明实施例一中流量釆集系统的组成框图;  1 is a block diagram showing the composition of a traffic collection system according to Embodiment 1 of the present invention;
图 2为本发明实施例一中以 3个流量釆集器为例的流量釆集系统的组 成框图;  2 is a structural block diagram of a traffic collection system with three traffic collectors as an example in the first embodiment of the present invention;
图 3为本发明实施例二中流量釆集方法流程图;  3 is a flowchart of a method for collecting traffic in a second embodiment of the present invention;
图 4为本发明实施例二中流量釆集器的注册流程图;  4 is a flow chart of registration of a traffic collector in Embodiment 2 of the present invention;
图 5为本发明实施例二中管理服务器广播消息的流程图;  5 is a flowchart of a management server broadcast message according to Embodiment 2 of the present invention;
图 6为本发明实施例二中流量釆集装置。 具体实施方式  FIG. 6 is a flow collection device according to Embodiment 2 of the present invention. detailed description
本发明实施例为了解决现有技术中用户占用网络资源不均衡, 而单个 流量釆集器无法满足网络中大流量数据信息的釆集和查询工作, 导致电信 运营商不能有效控制网络资源的问题, 提供了一种流量釆集系统及其方法、 装置, 通过至少一个流量釆集器分担网络设备的流量釆集和查询工作, 并 集中管理所有的流量釆集器, 解决了单个流量釆集器无法完成的大流量数 据信息的釆集和查询的问题。 In the embodiment of the present invention, in order to solve the problem that the network resources occupied by users in the prior art are not balanced, and the single traffic collector cannot satisfy the collection and query of large-traffic data information in the network, the problem that the telecommunication operator cannot effectively control the network resources is caused. The invention provides a traffic collection system, a method, and a device thereof, which share traffic collection and query work of a network device by using at least one traffic collector, and centrally manage all traffic collectors, thereby solving a single traffic collector cannot Number of completed large flows According to the collection of information and query questions.
以下结合说明书附图对本发明的优选实施例进行说明, 应当理解, 此 处所描述的优选实施例仅用于说明和解释本发明, 并不用于限定本发明,  The preferred embodiments of the present invention are described with reference to the accompanying drawings, and the preferred embodiments described herein are intended to illustrate and explain the invention.
合。 Hehe.
实施例一  Embodiment 1
本实施例首先提供了流量釆集系统, 如图 1所示, 包括管理服务器 100 和至少一个流量釆集器 200, 其中: 所述管理服务器 100,用于向已注册的至少一个流量釆集器广播流量查 询消息, 并对各流量釆集器上报的网络设备的流量数据进行汇总, 得到汇 总结果。 This embodiment first provides a traffic collection system, as shown in FIG. 1, including a management server 100 and at least one traffic collector 200 , wherein: the management server 100 is configured to register at least one traffic collector The broadcast traffic query message is summarized, and the traffic data of the network device reported by each traffic collector is summarized to obtain a summary result.
所述流量釆集器 200, 用于根据管理服务器广播的流量查询消息, 釆集 所管辖网络设备的流量数据并上报给所述管理服务器。  The traffic collector 200 is configured to collect traffic data of the network device under the jurisdiction according to the traffic query message broadcasted by the management server, and report the traffic data to the management server.
进一步地, 所述流量釆集器 200还用于在正常工作状态下, 周期性向 所述管理服务器上报心跳消息。  Further, the traffic collector 200 is further configured to periodically report a heartbeat message to the management server in a normal working state.
所述管理服务器 100,还用于在接收到流量釆集器上报的心跳消息时更 新存储的该流量釆集器的心跳消息的接收时间, 根据存储的每一个流量釆 集器的心跳消息的接收时间判断所述流量釆集器是否处于正常工作状态, 并查询正常工作状态的流量釆集器的状态信息。  The management server 100 is further configured to: when receiving the heartbeat message reported by the traffic collector, update the received time of the stored heartbeat message of the traffic collector, according to the received heartbeat message of each traffic collector. The time is judged whether the traffic collector is in a normal working state, and the status information of the traffic collector in the normal working state is queried.
所述管理服务器 100,具体用于分别向各正常工作状态的流量釆集器发 送状态查询消息, 其中携带该正常工作状态的流量釆集器的釆集器 ID。  The management server 100 is configured to send a status query message to the traffic collector of each normal working state, where the collector ID of the traffic collector of the normal working state is carried.
所述流量釆集器 200, 用于接收管理服务器发送的状态查询消息, 确认 所述状态查询消息中携带的釆集器 ID与本地存储的釆集器 ID相一致时, 根据所述状态查询消息查询本流量釆集器的状态信息并上报给所述管理服 务器。 较佳地, 所述管理服务器 100, 还用于将非正常工作状态的流量釆集器 所管辖的网络设备移交给状态信息满足设定条件的正常工作状态的流量釆 集器。 The traffic collector 200 is configured to receive a status query message sent by the management server, and confirm that the collector ID carried in the status query message is consistent with the locally stored collector ID, and query the message according to the status. The status information of the traffic collector is queried and reported to the management server. Preferably, the management server 100 is further configured to hand over the network device under the jurisdiction of the traffic collector in the abnormal working state to the traffic collector in which the state information meets the normal working state of the set condition.
为了便于介绍,假设有三个结构相同的流量釆集器,分别为 200A、 200B 和 200C, 如图 2所示, 包括管理服务器 100、 流量釆集器(200A、 200B和 200C ); 其中:  For the convenience of introduction, it is assumed that there are three traffic collectors of the same structure, namely 200A, 200B and 200C, as shown in FIG. 2, including the management server 100 and the traffic collectors (200A, 200B and 200C);
所述管理服务器 100 , 用于向已注册的流量釆集器 (200A、 200B 和 200C )广播流量查询消息; 并对各流量釆集器上报的网络设备的流量数据 进行汇总, 得到汇总结果。  The management server 100 is configured to broadcast a traffic query message to the registered traffic collectors (200A, 200B, and 200C), and summarize the traffic data of the network devices reported by each traffic collector to obtain a summary result.
所述流量釆集器( 200A、 200B和 200C ), 用于接收管理服务器 100广 播的流量查询消息, 确认所述流量查询消息的消息对象包括本流量釆集器 的釆集器 ID时, 根据所述流量查询消息釆集所管辖网络设备的流量数据并 上报给所述管理服务器 100。  The traffic collectors (200A, 200B, and 200C) are configured to receive a traffic query message broadcast by the management server 100, and confirm that the message object of the traffic query message includes the collector ID of the traffic collector, according to the The traffic query message collects the traffic data of the network device under the jurisdiction and reports it to the management server 100.
假设流量釆集器 200A和流量釆集器 200B的心跳消息的接收时间都满 足设定时间的要求,流量釆集器 200C的心跳消息的接收时间不满足设定时 间的要求, 则管理服务器 100确认流量釆集器(200A和 200B )处于正常工 作状态, 流量釆集器 200C处于非正常工作状态。  Assuming that the reception time of the heartbeat message of the traffic collector 200A and the traffic collector 200B satisfies the set time requirement, and the reception time of the heartbeat message of the traffic collector 200C does not satisfy the requirement of the set time, the management server 100 confirms. The traffic collectors (200A and 200B) are in a normal working state, and the traffic collector 200C is in an abnormal working state.
所述的状态消息包括服务器 CPU使用率消息、 内存使用率消息和磁盘 使用百分比消息等。  The status message includes a server CPU usage message, a memory usage message, and a disk usage percentage message.
较佳地, 所述管理服务器 100, 还用于将非正常工作状态的流量釆集器 Preferably, the management server 100 is further configured to use a traffic collector of an abnormal working state.
200C所管辖的网络设备移交给状态信息满足设定条件的正常工作状态的流 量釆集器 200A或流量釆集器 200B。 The network device under the jurisdiction of 200C is handed over to the traffic collector 200A or the traffic collector 200B whose status information satisfies the normal operating state of the set condition.
显而易见, 假设状态消息中流量釆集器 200B的 CPU内存使用率比流 量釆集器 200A低, 则说明流量釆集器 200B的釆集压力小, 即把工作状态 非正常的流量釆集器 200C所管辖的网络设备移交给流量釆集器 200B, 从 而实现了流量釆集器的动态釆集。 Obviously, assuming that the CPU memory usage of the traffic collector 200B in the status message is lower than that of the traffic collector 200A, it indicates that the collection pressure of the traffic collector 200B is small, that is, the traffic collector 200C of the abnormal working state is The governed network device is handed over to the traffic collector 200B, from The dynamic collection of the traffic collector is implemented.
较佳地, 所述管理服务器 100还用于在广播流量查询消息之前, 通过 向所述至少一个流量釆集器发送釆集打开消息来将流量釆集器的釆集开关 打开。  Preferably, the management server 100 is further configured to open the collector switch of the traffic collector by sending a collection open message to the at least one traffic collector before broadcasting the traffic query message.
进一步地, 所述流量釆集器还用于在每次启动时根据配置的管理服务 器的 IP地址, 向管理服务器发送注册消息;  Further, the traffic collector is further configured to send a registration message to the management server according to the configured IP address of the management server each time it is started;
所述管理服务器, 还用于从接收到的注册消息中提取发起注册的流量 釆集器的 IP地址,查找本地是否记录有该流量釆集器的 IP地址对应的釆集 器 ID, 如果没有, 为该流量釆集器配置釆集器 ID并记录该流量釆集器的 IP地址与配置的釆集器 ID之间的对应关系, 如果有, 将该流量釆集器的釆 集器 ID取出; 以及向发起注册的流量釆集器反馈携带釆集器 ID的注册确 认消息。  The management server is further configured to extract, from the received registration message, an IP address of the traffic collector that initiates registration, and find whether the collector ID corresponding to the IP address of the traffic collector is recorded locally, if not, Configuring a collector ID for the traffic collector and recording a correspondence between the IP address of the traffic collector and the configured collector ID, and if so, extracting the collector ID of the traffic collector; And returning a registration confirmation message carrying the collector ID to the traffic collector that initiated the registration.
进一步地, £设有 3个流量釆集器,即流量釆集器( 200A、200B和 200C ) 还用于在每次启动时根据配置的管理服务器 100的 IP地址, 向管理服务器 100发送注册消息。  Further, £ is provided with three traffic collectors, that is, the traffic collectors (200A, 200B, and 200C) are also used to send a registration message to the management server 100 according to the configured IP address of the management server 100 each time it is started. .
所述的流量釆集器(200A、 200B和 200C )获取釆集器 ID方法是: 管理服务器 100还用于从接收到的注册消息中提取发起注册的流量釆 集器( 200A、 200B和 200C ) 的 IP地址, 查找本地是否记录有流量釆集器 ( 200A、 200B和 200C )的 IP地址对应的釆集器 ID , 如果没有找到流量釆 集器 200A的釆集器 ID, 为流量釆集器 200A配置釆集器 ID并记录该流量 釆集器的 IP地址与配置的釆集器 ID之间的对应关系, 如果找到流量釆集 器(200B和 200C ) 的釆集器 ID , 将流量釆集器 ( 200B和 200C ) 的釆集 器 ID取出; 以及向发起注册的流量釆集器( 200A、 200B和 200C )反馈携 带釆集器 ID的注册确认消息。  The method for obtaining the collector ID by the traffic collectors (200A, 200B, and 200C) is: The management server 100 is further configured to extract, from the received registration message, the traffic collectors (200A, 200B, and 200C) that initiate registration. IP address, find whether the local collector ID of the IP address of the traffic collector (200A, 200B, and 200C) is recorded locally. If the collector ID of the traffic collector 200A is not found, it is the traffic collector 200A. Configure the collector ID and record the correspondence between the IP address of the traffic collector and the configured collector ID. If the collector ID of the traffic collectors (200B and 200C) is found, the traffic collector is set. The collector IDs of (200B and 200C) are fetched; and the registration confirmation message carrying the collector ID is fed back to the traffic collectors (200A, 200B, and 200C) that initiated the registration.
实施例二 基于同样的技术构思, 本实施例提供了一种基于流量釆集方法, 如图 3 所示, 包括如下步骤: Embodiment 2 Based on the same technical concept, this embodiment provides a traffic collection method, as shown in FIG. 3, including the following steps:
步骤 S301、 管理服务器向已注册的至少一个流量釆集器广播流量查询 消息。  Step S301: The management server broadcasts a traffic query message to the registered at least one traffic collector.
步骤 S302、 管理服务器获得所述各流量釆集器根据流量查询消息釆集 到的所管辖网络设备的流量数据。  Step S302: The management server obtains traffic data of the governed network device that is collected by the traffic collector according to the traffic query message.
步骤 S303、管理服务器对获得的流量数据进行汇总, 并存储汇总结果。 进一步地, 所述管理服务器在广播流量查询消息之前, 还包括: 通过向所述至少一个流量釆集器广播釆集打开消息将流量釆集器的釆 集开关打开。  Step S303: The management server summarizes the obtained traffic data, and stores the summary result. Further, before the broadcast server queries the traffic query message, the management server further includes: opening the aggregation switch of the traffic collector by broadcasting the set open message to the at least one traffic collector.
进一步地, 流量釆集器向管理服务器进行注册的过程, 包括: 管理服务器从流量釆集器发送的注册消息中提取流量釆集器的 IP 地 址。  Further, the process of registering the traffic collector with the management server includes: the management server extracting an IP address of the traffic collector from the registration message sent by the traffic collector.
管理服务器查找本地是否记录有该流量釆集器的 IP地址对应的釆集器 ID, 如果没有, 为所述流量釆集器配置釆集器 ID并记录该流量釆集器的 IP 地址与配置的釆集器 ID之间的对应关系, 如果有, 将该流量釆集器的釆集 器 ID取出; 以及  The management server searches whether the local collector ID corresponding to the IP address of the traffic collector is recorded locally, and if not, configures the collector ID for the traffic collector and records the IP address and configuration of the traffic collector. Corresponding relationship between the collector IDs, if any, fetching the collector ID of the traffic collector;
管理服务器向发起注册的流量釆集器反馈携带釆集器 ID的注册确认消 息。  The management server feeds back to the originating traffic collector a registration confirmation message carrying the collector ID.
流量釆集器的具体注册流程如图 4所示, 包括以下步骤:  The specific registration process of the traffic collector is shown in Figure 4, including the following steps:
步骤 S401、流量釆集器在每次启动时根据配置的管理服务器的 IP地址, 向管理服务器发送注册消息。  Step S401: The traffic collector sends a registration message to the management server according to the configured IP address of the management server each time it starts.
步骤 S402、 管理服务器从接收到注册消息中提取发起注册的流量釆集 器的 IP地址,查找管理服务器中是否记录有该流量釆集器的 IP地址对应的 釆集器 ID, 如果没有, 进入步骤 S403 ; 如果有, 进入步骤 S404。 步骤 S403、管理服务器为所述流量釆集器配置釆集器 ID并记录该流量 釆集器的 IP地址与配置的釆集器 ID之间的对应关系。 Step S402: The management server extracts the IP address of the traffic collector that initiates the registration from the received registration message, and searches whether the collector ID corresponding to the IP address of the traffic collector is recorded in the management server. If not, the process proceeds to the step. S403; if yes, go to step S404. Step S403: The management server configures the collector ID for the traffic collector and records the correspondence between the IP address of the traffic collector and the configured collector ID.
步骤 S404、 管理服务器将该流量釆集器的釆集器 ID取出。  Step S404: The management server extracts the collector ID of the traffic collector.
步骤 S405、管理服务器获取相应的流量釆集器釆集器 ID后,向发起注 册的流量釆集器反馈携带釆集器 ID的注册确认消息。  Step S405: After obtaining the corresponding traffic collector identifier, the management server feeds back the registration confirmation message carrying the collector ID to the originating traffic collector.
进一步地, 管理服务器在接收到流量釆集器周期性上报的心跳消息时, 更新存储的该流量釆集器的心跳消息的接收时间; 以及  Further, the management server updates the stored reception time of the heartbeat message of the traffic collector when receiving the heartbeat message periodically reported by the traffic collector;
根据存储的每一个流量釆集器的心跳消息的接收时间, 判断所述流量 釆集器是否处于正常工作状态, 并查询正常工作状态的流量釆集器的状态 信息。  According to the received time of the heartbeat message of each of the stored traffic collectors, it is determined whether the traffic collector is in a normal working state, and the status information of the traffic collector in the normal working state is queried.
所述的心跳消息用于确定流量釆集器是否正常工作的一个指标, 所述 的接收时间可以设置为 10秒或者其他时间。  The heartbeat message is used to determine an indicator of whether the traffic collector is working normally, and the receiving time can be set to 10 seconds or other time.
进一步地, 所述管理服务器查询正常工作状态的流量釆集器的状态信 息, 具体包括:  Further, the management server queries the status information of the traffic collector in a normal working state, and specifically includes:
所述管理服务器分别向各正常工作状态的流量釆集器发送状态查询消 息, 所述查询消息携带正常工作状态的流量釆集器的釆集器标识。  The management server sends a status query message to each of the normal working state traffic collectors, where the query message carries the collector identifier of the traffic collector in the normal working state.
所述管理服务器获得所述流量釆集器在确认接收到的查询消息中携带 的釆集器标识与本地存储的釆集器标识一致时, 上报的状态信息。  The management server obtains the status information reported by the traffic collector when it confirms that the collector identifier carried in the received query message is consistent with the locally stored collector identifier.
进一步地, 所述管理服务器在查询正常工作状态的流量釆集器的状态 信息之后, 还包括:  Further, after the management server queries the status information of the traffic collector in the normal working state, the management server further includes:
将非正常工作状态的流量釆集器所管辖的网络设备移交给状态信息满 足设定条件的正常工作状态的流量釆集器。  The network device under the jurisdiction of the traffic collector of the abnormal working state is handed over to the traffic collector whose state information satisfies the normal working state of the set condition.
较佳地, 所述的流量釆集器上 其心跳消息的时间不满足设定时间时, 管理服务器确认所述的流量釆集器处于非正常工作状态, 并根据其他流量 釆集器上报的状态消息确定其他流量釆集器中釆集压力最小的流量釆集 器, 将所述非正常工作状态的流量釆集器所管辖的网络设备移交给所述釆 集压力最小的流量釆集器。 Preferably, when the time of the heartbeat message on the traffic collector does not meet the set time, the management server confirms that the traffic collector is in an abnormal working state, and according to the status reported by the other traffic collector The message determines the traffic set with the lowest collection pressure in other traffic collectors. And handing over the network device under the jurisdiction of the traffic collector of the abnormal working state to the traffic collector with the lowest collection pressure.
所述管理服务器广播消息给所述至少一个流量釆集器的过程如图 5 所 示, 具体包括以下步骤:  The process of the management server broadcasting the message to the at least one traffic collector is as shown in FIG. 5, and specifically includes the following steps:
步骤 S501、 管理服务器封装广播的消息对象。  Step S501: The management server encapsulates the broadcasted message object.
步骤 S502、 管理服务器判断是否发给指定的流量釆集器, 如果该消息 给指定某个流量釆集器发送的, 进入步骤 S503; 如果该消息是发送给所有 的流量釆集器, 进入步骤 S504。  Step S502: The management server determines whether it is sent to the specified traffic collector, if the message is sent to the specified traffic collector, the process proceeds to step S503; if the message is sent to all the traffic collectors, the process proceeds to step S504. .
步骤 S503、管理服务器将指定的流量釆集器的釆集器 ID封装到查询消 息对象中, 然后进入步骤 S504。  Step S503: The management server encapsulates the collector ID of the specified traffic collector into the query message object, and then proceeds to step S504.
步骤 S504、 管理服务器将各个流量釆集器的釆集器 ID 的属性置为 NULL, 然后进入步骤 S505。  Step S504: The management server sets the attribute of the collector ID of each traffic collector to NULL, and then proceeds to step S505.
步骤 S505、 管理服务器将该消息发送给各个流量釆集器。  Step S505: The management server sends the message to each traffic collector.
步骤 S506、 流量釆集器接收到消息后从消息对象中获取釆集器 ID, 判 断是否为 NULL; 如果不为 NULL进入步骤 S507; 如果为 NULL, 进入步 骤 S508。  Step S506: After receiving the message, the traffic collector obtains the collector ID from the message object, and determines whether it is NULL; if not NULL, the process proceeds to step S507; if it is NULL, the process proceeds to step S508.
步骤 S507、 判断获取到釆集器 ID与本釆集器注册后获取的 ID是否相 同, 如果相同, 进入步骤 S508; 否则进入步骤 S509。  Step S507: Determine whether the acquired ID of the collector is the same as the ID obtained after the registration of the collector, and if yes, go to step S508; otherwise, go to step S509.
步骤 S508、 流量釆集器接收消息并进行处理, 至此流程结束。  Step S508: The traffic collector receives the message and processes the process, and the process ends.
步骤 S509、 流量釆集器放弃接收到的消息, 至此流程结束。  Step S509: The traffic collector abandons the received message, and the process ends.
在步骤 S508中所述的处理是指流量釆集器按照管理服务器广播消息中 携带的指令内容执行流量釆集等操作。  The processing described in step S508 refers to an operation performed by the traffic collector in accordance with the content of the instruction carried in the management server broadcast message.
基于流量釆集方法, 本发明还提供了一种流量釆集装置, 如图 6所示, 包括消息主题模块 601、 消息队列模块 602和汇总模块 603; 其中,  The present invention further provides a traffic collection device, as shown in FIG. 6, including a message subject module 601, a message queue module 602, and a summary module 603;
所述消息主题模块 601 ,用于向已注册的至少一个流量釆集器广播流量 查询消息。 The message subject module 601 is configured to broadcast traffic to the registered at least one traffic collector. Query the message.
所述消息队列模块 602,用于获得所述各流量釆集器根据流量查询消息 釆集到的网络设备的流量数据。  The message queue module 602 is configured to obtain traffic data of the network device that is collected by the traffic collector according to the traffic query message.
所述汇总模块 603 ,用于对获得的流量数据进行汇总,并存储汇总结果。 较佳地, 所述的汇总模块 603还用于生成实时报表、 日报表、 周报表、 月报表等多种格式的流量数据信息报表, 还可以以直方图, 二维、 三维坐 标曲线, 扇形图等形式生成实时网络设备流量数据信息报表, 以及大规模 网络设备流量数据信息态势分析的汇总结果。  The summary module 603 is configured to summarize the obtained traffic data and store the summary result. Preferably, the summary module 603 is further configured to generate a flow data information report in a plurality of formats, such as a real-time report, a daily report, a weekly report, and a monthly report, and may also be a histogram, a two-dimensional, a three-dimensional coordinate curve, and a pie chart. The form generates real-time network device traffic data information reports, and the summary results of large-scale network device traffic data information situation analysis.
较佳地, 所述的流量釆集装置还包括存储模块, 用于存储汇总模块得 到的汇总结果;  Preferably, the traffic collection device further includes a storage module, configured to store a summary result obtained by the summary module;
较佳地, 所述的流量釆集装置还包括显示模块, 用于显示存储模块的 汇总结果。  Preferably, the traffic collection device further includes a display module, configured to display a summary result of the storage module.
本发明实施例提供的基于上述流量釆集系统及其方法、 装置, 对于单 个流量釆集器无法完成的大流量数据信息的釆集和查询工作, 通过多个流 量釆集器分担网络设备大流量数据信息的釆集和查询工作, 集中管理所有 的流量釆集器, 保证了消息的可靠性, 解决了由单个流量釆集器无法完成 的大流量数据信息的釆集和查询的问题, 保证了电信运营商对网络的有效 控制和用户使用网络的均衡性, 随着汇聚层和核心层网络设备的增加, 通 过增加流量釆集器即可, 无需升级现有的流量釆集器, 增加了系统的可扩 展性。  According to the foregoing traffic collection system, the method and the device thereof, the collection and query work of the large-flow data information that cannot be completed by a single traffic collector, and the large traffic of the network device is shared by multiple traffic collectors. Collecting and querying data information, centrally managing all traffic collectors, ensuring the reliability of messages, and solving the problem of collecting and querying large-volume data information that cannot be completed by a single traffic collector. The effective control of the network by the telecom operator and the balance of the network used by the user. With the increase of the network equipment at the aggregation layer and the core layer, the traffic collector can be added, and the existing traffic collector can be upgraded without adding an existing system. Scalability.

Claims

权利要求书 Claim
1、 一种流量釆集系统, 其特征在于, 该系统包括管理服务器和至少一 个流量釆集器; 其中,  A traffic collection system, characterized in that the system comprises a management server and at least one traffic collector; wherein
所述管理服务器, 用于向已注册的至少一个流量釆集器广播流量查询 消息, 并对各流量釆集器上报的网络设备的流量数据进行汇总, 得到汇总 结果;  The management server is configured to broadcast a traffic query message to the registered at least one traffic collector, and summarize traffic data of the network device reported by each traffic collector to obtain a summary result;
所述流量釆集器, 用于根据管理服务器广播的所述流量查询消息, 釆 集所管辖网络设备的流量数据并上报给所述管理服务器。  The traffic collector is configured to collect traffic data of the network device under the jurisdiction according to the traffic query message broadcasted by the management server, and report the traffic data to the management server.
2、 根据权利要求 1所述的流量釆集系统, 其特征在于,  2. The flow collection system of claim 1 wherein:
所述流量釆集器, 还用于在每次启动时根据配置的管理服务器的 IP地 址, 向管理服务器发送注册消息;  The traffic collector is further configured to send a registration message to the management server according to the configured IP address of the management server at each startup;
所述管理服务器, 还用于从接收到的所述注册消息中提取发起注册的 流量釆集器的 IP地址,查找本地是否记录有所述流量釆集器的 IP地址对应 的釆集器 ID , 如果没有, 为所述流量釆集器配置釆集器 ID , 并记录所述流 量釆集器的 IP地址与配置的釆集器 ID之间的对应关系; 如果有, 将所述 流量釆集器的釆集器 ID取出;向发起注册的流量釆集器反馈携带釆集器 ID 的注册确认消息。  The management server is further configured to extract, from the received registration message, an IP address of the traffic collector that initiates the registration, and find whether the collector ID corresponding to the IP address of the traffic collector is recorded locally. If not, configuring the collector ID for the traffic collector, and recording a correspondence between the IP address of the traffic collector and the configured collector ID; if yes, the traffic collector The collector ID is fetched; the registration confirmation message carrying the collector ID is fed back to the traffic collector that initiated the registration.
3、 根据权利要求 1所述的流量釆集系统, 其特征在于,  3. The flow collection system of claim 1 wherein:
所述流量釆集器, 还用于在正常工作状态下, 周期性向所述管理服务 器上报心跳消息;  The traffic collector is further configured to periodically report a heartbeat message to the management server in a normal working state;
所述管理服务器, 还用于在接收到流量釆集器上报的所述心跳消息时 更新存储的所述流量釆集器的心跳消息的接收时间, 根据存储的每一个流 量釆集器的心跳消息的接收时间判断所述流量釆集器是否处于正常工作状 态, 并查询正常工作状态的流量釆集器的状态信息。  The management server is further configured to: when receiving the heartbeat message reported by the traffic collector, update the received time of the stored heartbeat message of the traffic collector, according to the stored heartbeat message of each traffic collector The receiving time determines whether the traffic collector is in a normal working state, and queries the status information of the traffic collector in a normal working state.
4、 根据权利要求 3所述的流量釆集系统, 其特征在于, 所述管理服务器, 还用于分别向各正常工作状态的流量釆集器发送状 态查询消息, 其中携带所述正常工作状态的流量釆集器的釆集器 ID; 4. The traffic collection system of claim 3, wherein: The management server is further configured to send a status query message to the traffic collector of each normal working state, where the collector ID of the traffic collector of the normal working state is carried;
所述流量釆集器, 还用于接收管理服务器发送的所述状态查询消息, 确认所述状态查询消息中携带的釆集器 ID与本地存储的釆集器 ID相一致 时, 根据所述状态查询消息查询本流量釆集器的状态信息并上报给所述管 理服务器。  The traffic collector is further configured to receive the status query message sent by the management server, and confirm that the collector ID carried in the status query message is consistent with the locally stored collector ID, according to the status The query message queries the status information of the traffic collector and reports it to the management server.
5、 根据权利要求 3或 4所述的流量釆集系统, 其特征在于,  5. The flow collection system of claim 3 or 4, wherein
所述管理服务器, 还用于将非正常工作状态的流量釆集器所管辖的网 络设备移交给状态信息满足设定条件的正常工作状态的流量釆集器。  The management server is further configured to hand over the network device under the jurisdiction of the traffic collector of the abnormal working state to the traffic collector whose state information meets the normal working state of the set condition.
6、 根据权利要求 1所述的流量釆集系统, 其特征在于, 所述管理服务 器, 还用于在广播所述流量查询消息之前, 通过向所述至少一个流量釆集 器发送釆集打开消息, 将流量釆集器的釆集开关打开。  The traffic collection system according to claim 1, wherein the management server is further configured to send a collection open message to the at least one traffic collector before broadcasting the traffic query message. , turn on the collector switch of the flow collector.
7、 一种流量釆集方法, 其特征在于, 该方法包括:  7. A method for collecting traffic, characterized in that the method comprises:
管理服务器向已注册的至少一个流量釆集器广播流量查询消息; 管理服务器获得各流量釆集器根据所述流量查询消息釆集到的所管辖 网络设备的流量数据;  The management server broadcasts a traffic query message to the registered at least one traffic collector; the management server obtains traffic data of the managed network device that each traffic collector collects according to the traffic query message;
管理服务器对获得的流量数据进行汇总, 并存储汇总结果。  The management server summarizes the obtained traffic data and stores the summary results.
8、 根据权利要求 7所述的方法, 其特征在于, 该方法还包括: 流量釆 集器向管理服务器进行注册; 流量釆集器向管理服务器进行所述注册包括: 管理服务器从流量釆集器发送的注册消息中提取流量釆集器的 IP 地 址;  8. The method according to claim 7, wherein the method further comprises: the traffic collector registering with the management server; and the traffic collector performing the registration to the management server comprises: managing the server from the traffic collector Extracting the IP address of the traffic collector from the sent registration message;
管理服务器查找本地是否记录有所述流量釆集器的 IP地址对应的釆集 器 ID, 如果没有, 为所述流量釆集器配置釆集器 ID , 并记录所述流量釆集 器的 IP地址与配置的釆集器 ID之间的对应关系; 如果有, 将所述流量釆 集器的釆集器 ID取出; 管理服务器向发起注册的流量釆集器反馈携带釆集 器 ID的注册确认消息。 The management server searches whether the collector ID corresponding to the IP address of the traffic collector is recorded locally, and if not, configures the collector ID for the traffic collector, and records the IP address of the traffic collector Corresponding relationship with the configured collector ID; if yes, taking out the collector ID of the traffic collector; the management server feeding back to the traffic collector that initiated the registration Register confirmation message for the device ID.
9、 根据权利要求 7所述的方法, 其特征在于, 该方法还包括: 管理服务器在接收到流量釆集器周期性上报的心跳消息时, 更新存储 的所述流量釆集器的心跳消息的接收时间;  The method according to claim 7, wherein the method further comprises: updating the stored heartbeat message of the traffic collector when receiving a heartbeat message periodically reported by the traffic collector Receiving time
根据存储的每一个流量釆集器的心跳消息的接收时间, 判断所述流量 釆集器是否处于正常工作状态, 并查询正常工作状态的流量釆集器的状态 信息。  According to the received time of the heartbeat message of each of the stored traffic collectors, it is determined whether the traffic collector is in a normal working state, and the status information of the traffic collector in the normal working state is queried.
10、 根据权利要求 9所述的方法, 其特征在于, 所述管理服务器查询 所述正常工作状态的流量釆集器的状态信息包括:  The method according to claim 9, wherein the management server queries the status information of the traffic collector in the normal working state, including:
所述管理服务器分别向各正常工作状态的流量釆集器发送状态查询消 息, 所述查询消息携带正常工作状态的流量釆集器的釆集器标识;  The management server sends a status query message to the traffic collector of each normal working state, where the query message carries the identifier of the traffic collector of the normal working state;
所述管理服务器获得所述流量釆集器在确认接收到的查询消息中, 携 带的釆集器标识与本地存储的釆集器标识一致时上>¾的状态信息。  The management server obtains the state information of the traffic collector that confirms the received query message when the carried collector identifier is consistent with the locally stored collector identifier.
11、 根据权利要求 9或 10所述的法, 其特征在于, 所述管理服务器在 查询正常工作状态的流量釆集器的状态信息之后, 该方法还包括:  The method according to claim 9 or 10, wherein after the management server queries the status information of the traffic collector in the normal working state, the method further includes:
将非正常工作状态的流量釆集器所管辖的网络设备移交给状态信息满 足设定条件的正常工作状态的流量釆集器。  The network device under the jurisdiction of the traffic collector of the abnormal working state is handed over to the traffic collector whose state information satisfies the normal working state of the set condition.
12、 根据权利要求 7所述的方法, 其特征在于, 所述管理服务器在广 播流量查询消息之前, 该方法还包括:  The method according to claim 7, wherein the method further comprises: before the management server broadcasts the traffic query message, the method further comprises:
通过向所述至少一个流量釆集器广播釆集打开消息, 将流量釆集器的 釆集开关打开。  The stream collector switch of the traffic collector is turned on by broadcasting a message to the at least one traffic collector.
13、 一种流量釆集装置, 其特征在于, 该装置包括消息主题模块、 消 息队列模块和汇总模块; 其中,  A traffic collection device, comprising: a message subject module, a message queue module, and a summary module; wherein
所述消息主题模块, 用于向已注册的至少一个流量釆集器广播流量查 询消息; 所述消息队列模块, 用于获得所述各流量釆集器根据所述流量查询消 息釆集到的网络设备的流量数据; The message subject module is configured to broadcast a traffic query message to the registered at least one traffic collector; The message queue module is configured to obtain traffic data of the network device that is collected by the traffic collector according to the traffic query message;
所述汇总模块, 用于对获得的流量数据进行汇总, 并存储汇总结果。  The summary module is configured to summarize the obtained traffic data and store the summary result.
PCT/CN2011/070633 2010-06-07 2011-01-26 Traffic collection system, method and device WO2011153838A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010194818.3 2010-06-07
CN201010194818.3A CN101854305B (en) 2010-06-07 2010-06-07 Flow collection system and method, device

Publications (1)

Publication Number Publication Date
WO2011153838A1 true WO2011153838A1 (en) 2011-12-15

Family

ID=42805581

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/070633 WO2011153838A1 (en) 2010-06-07 2011-01-26 Traffic collection system, method and device

Country Status (2)

Country Link
CN (1) CN101854305B (en)
WO (1) WO2011153838A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101854305B (en) * 2010-06-07 2015-12-16 中兴通讯股份有限公司 Flow collection system and method, device
CN105099742B (en) * 2014-05-20 2020-01-14 中兴通讯股份有限公司 Method, device, system and terminal for collecting data
CN106559237A (en) * 2015-09-28 2017-04-05 中兴通讯股份有限公司 A kind of method and device for obtaining data on flows
CN106209495A (en) * 2016-06-24 2016-12-07 浪潮(北京)电子信息产业有限公司 The report form generation method of a kind of cloud monitoring system and device
CN107888456B (en) * 2017-12-04 2019-05-10 北京百度网讯科技有限公司 Method and device for monitoring port data volume
CN111292518A (en) * 2020-02-17 2020-06-16 上海威派格智慧水务股份有限公司 Management system of DTU data acquisition unit
CN111487920A (en) * 2020-05-26 2020-08-04 上海威派格智慧水务股份有限公司 Data acquisition and processing system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1414740A (en) * 2002-03-28 2003-04-30 华为技术有限公司 Centralized management method of local net exchange equipment
US20050249125A1 (en) * 2002-12-13 2005-11-10 Yoon Seung H Traffic measurement system and traffic analysis method thereof
US20080114873A1 (en) * 2006-11-10 2008-05-15 Novell, Inc. Event source management using a metadata-driven framework
CN101369916A (en) * 2007-08-15 2009-02-18 中兴通讯股份有限公司 Performance index collection method
CN101854305A (en) * 2010-06-07 2010-10-06 中兴通讯股份有限公司 Flow collection system, and method and device thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1414740A (en) * 2002-03-28 2003-04-30 华为技术有限公司 Centralized management method of local net exchange equipment
US20050249125A1 (en) * 2002-12-13 2005-11-10 Yoon Seung H Traffic measurement system and traffic analysis method thereof
US20080114873A1 (en) * 2006-11-10 2008-05-15 Novell, Inc. Event source management using a metadata-driven framework
CN101369916A (en) * 2007-08-15 2009-02-18 中兴通讯股份有限公司 Performance index collection method
CN101854305A (en) * 2010-06-07 2010-10-06 中兴通讯股份有限公司 Flow collection system, and method and device thereof

Also Published As

Publication number Publication date
CN101854305B (en) 2015-12-16
CN101854305A (en) 2010-10-06

Similar Documents

Publication Publication Date Title
WO2011153838A1 (en) Traffic collection system, method and device
US11271217B1 (en) Wireless network polling
US9571358B2 (en) Service level view of audiovisual conference systems
US9306798B2 (en) Aggregate monitoring of internet protocol television (IPTV) channel activity across user-based groups of private computer networks
JP5631330B2 (en) Method and apparatus for distributing fault information in a large-scale communication network system
JP2003533925A (en) Security cameras for networks
WO2007082465A1 (en) A terminal device, a system and a method for flow quantity statistics based on user services
WO2014056344A1 (en) Method and device for monitoring
EP2590363B1 (en) Method and system for collecting performance statistics data
WO2009089742A1 (en) Distributed network management collection system, realization method and corresponding device
CN103795803B (en) A kind of method of across a network environment remote deployment distributed data acquisition node
WO2015085748A1 (en) Switching device and packet loss method therefor
WO2009071025A1 (en) A polling method, system, network management station and managed device
WO2014056345A1 (en) Management method and apparatus for monitoring task
WO2012171168A1 (en) Method, device and system for monitoring indoor overlay network
WO2009076905A1 (en) Equipment tracking method, device and system
JP3425871B2 (en) Network management system and management method thereof
EP2582199A1 (en) M2m system and method for processing services thereof
CN105592485A (en) Method for collecting and processing messages in real time based on SNMP
JP2013179491A (en) Network quality monitoring device and network quality monitoring method
CN106936900B (en) Clustered node statistical method and device
TWI646803B (en) Heterogeneous software defined network controller and management device and method thereof
JP6035566B2 (en) Remote monitoring system and remote monitoring method
Li et al. Wireless lan network management system
WO2010121471A1 (en) Automatic device configuration method and business operation support system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11791830

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11791830

Country of ref document: EP

Kind code of ref document: A1