CN203675131U - Detection device and detection system - Google Patents
Detection device and detection system Download PDFInfo
- Publication number
- CN203675131U CN203675131U CN201320726314.0U CN201320726314U CN203675131U CN 203675131 U CN203675131 U CN 203675131U CN 201320726314 U CN201320726314 U CN 201320726314U CN 203675131 U CN203675131 U CN 203675131U
- Authority
- CN
- China
- Prior art keywords
- port
- monitoring
- data information
- terminal
- exchange
- 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 - Lifetime
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 54
- 238000012544 monitoring process Methods 0.000 claims abstract description 82
- 238000012360 testing method Methods 0.000 claims abstract description 58
- 238000001914 filtration Methods 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 6
- 238000013480 data collection Methods 0.000 description 4
- 101100117775 Arabidopsis thaliana DUT gene Proteins 0.000 description 3
- 101150091805 DUT1 gene Proteins 0.000 description 3
- 238000002474 experimental method Methods 0.000 description 3
- 238000000034 method Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本实用新型提供一种检测设备及检测系统。其中,所述检测设备包括:交换控制器、监听处理器、监听端口及至少两个交换端口;交换端口用于外接被测终端;交换控制器,分别与至少两个交换端口连接,用于根据被测终端通过交换端口发出的数据信息中携带的目的地址,将数据信息路由至目的交换端口,以使目的交换端口将数据信息传输至与其连接的被测终端;监听处理器,与监听端口连接,用于根据预设的监听规则信息,向监听端口发送控制指令;监听端口,通过数据总线分别与至少两个交换端口连接,用于根据所述控制指令,监听至少两个交换端口发出的数据信息,并将监听到的数据信息发送至与监听端口连接的测试终端。本实用新型能有效地提高测试的准确性。
The utility model provides a detection device and a detection system. Wherein, the detection device includes: a switching controller, a monitoring processor, a monitoring port, and at least two switching ports; the switching port is used for externally connecting the terminal under test; The terminal under test routes the data information to the destination switching port through the destination address carried in the data information sent by the switching port, so that the destination switching port transmits the data information to the terminal under test connected to it; the monitoring processor is connected to the monitoring port , used to send control instructions to the listening port according to the preset monitoring rule information; the listening port is respectively connected to at least two switching ports through the data bus, and is used to listen to the data sent by at least two switching ports according to the control instructions information, and send the monitored data information to the test terminal connected to the monitoring port. The utility model can effectively improve the accuracy of testing.
Description
技术领域technical field
本实用新型涉及通信技术,尤其涉及一种检测设备及检测系统。The utility model relates to communication technology, in particular to a detection device and a detection system.
背景技术Background technique
在数据网络设备测试过程中,由于需要对数据信息进行分析,故常常在被测设备(DUT)与测试终端之间使用集线器(HUB)代替交换机(Switch)。使用HUB的原因在于:HUB属于纯硬件网络底层设备,HUB在发送数据时都是没有针对性的,而是采用广播方式发送。也就是说当HUB要向某节点发送数据时,不是直接把数据发送到目的节点,而是把数据信息发送到与集线器相连的所有节点。这样就为在任意接口连接测试终端进行数据信息监听成为可能。In the testing process of data network equipment, due to the need to analyze data information, a hub (HUB) is often used instead of a switch (Switch) between the device under test (DUT) and the test terminal. The reason for using HUB is: HUB is a pure hardware network underlying device, and HUB is not targeted when sending data, but uses broadcasting to send. That is to say, when the HUB wants to send data to a certain node, it does not directly send the data to the destination node, but sends the data information to all nodes connected to the hub. In this way, it becomes possible to connect a test terminal to monitor data information on any interface.
由于HUB采用的是共享传输线路的方式,是一种无管理疏导的无序工作状态,每个连接在HUB上的设备都会尽可能的抢占通信通道,所以多台设备一起抢占通道时就形成网络堵塞的局面,当数据和用户数量超出一定的限量时,就会造成网络性能的严重衰退。而交换机是根据所传递信息包的目的地址,将每一信息包独立地从端口送至目的端口,避免了与其它端口发生碰撞,提高了网络的实际吞吐量。因此,在实际的网络应用中,交换机已经全部代替了HUB。Since the HUB adopts the method of sharing the transmission line, which is a disorderly working state without management and dredging, each device connected to the HUB will try to seize the communication channel as much as possible, so when multiple devices seize the channel together, a network is formed. In the case of congestion, when the number of data and users exceeds a certain limit, it will cause a serious decline in network performance. The switch sends each information packet independently from the port to the destination port according to the destination address of the transmitted information packet, which avoids collision with other ports and improves the actual throughput of the network. Therefore, in actual network applications, switches have all replaced HUBs.
但交换机根据端口发送数据信息的特性使得测试终端无法进行数据监听,数据信息分析就无法完成,因此实验环境下还是继续使用HUB。这就造成实验环境与现实应用环境的不一致,影响测试结果的准确性。However, the characteristics of the switch sending data information according to the port makes it impossible for the test terminal to monitor the data and analyze the data information. Therefore, the HUB is still used in the experimental environment. This causes the inconsistency between the experimental environment and the actual application environment, which affects the accuracy of the test results.
实用新型内容Utility model content
本实用新型提供一种检测设备及检测系统,以符合实际应用环境,提高测试的准确性。The utility model provides a detection device and a detection system to meet the actual application environment and improve the accuracy of the test.
本实用新型一个方面提供一种检测设备,包括:交换控制器、监听处理器、监听端口及至少两个交换端口;其中,One aspect of the utility model provides a detection device, including: a switching controller, a monitoring processor, a monitoring port and at least two switching ports; wherein,
所述交换端口,用于外接被测终端;The switching port is used for externally connecting the terminal under test;
所述交换控制器,分别与所述至少两个交换端口连接,用于根据所述被测终端通过所述交换端口发出的数据信息中携带的目的地址,将所述数据信息路由至目的交换端口,以使所述目的交换端口将所述数据信息传输至与其连接的被测终端;The switching controller is respectively connected to the at least two switching ports, and is used to route the data information to the destination switching port according to the destination address carried in the data information sent by the terminal under test through the switching ports , so that the destination switching port transmits the data information to the terminal under test connected thereto;
所述监听处理器,与所述监听端口连接,用于根据预设的监听规则信息,向所述监听端口发送控制指令;The monitoring processor is connected to the monitoring port, and is used to send control instructions to the monitoring port according to preset monitoring rule information;
所述监听端口,通过数据总线与所述至少两个交换端口连接,用于根据所述控制指令,监听所述至少两个交换端口发出的数据信息,并将监听到的数据信息发送至与所述监听端口连接的测试终端。The listening port is connected to the at least two switching ports through a data bus, and is used to monitor the data information sent by the at least two switching ports according to the control instruction, and send the monitored data information to the A test terminal for connections to the listening port described above.
如上所述的检测设备,所述监听端口包括:监听端口处理器、第一连接端口、存储器以及第二连接端口;其中,The detection device as described above, the listening port includes: a listening port processor, a first connection port, a memory, and a second connection port; wherein,
第一连接端口,通过数据总线与所述至少两个交换端口连接,用于获取所述至少两个交换端口发出的数据信息,并将获取到的所述数据信息存储至所述存储器中;The first connection port is connected to the at least two switching ports through a data bus, and is used to obtain data information sent by the at least two switching ports, and store the obtained data information in the memory;
所述存储器,与所述第一连接端口连接;The memory is connected to the first connection port;
所述监听端口处理器,分别与所述存储器和所述监听处理器连接,用于根据所述监听处理器发送的监听控制指令在所述存储器中过滤出符合预设监听条件的数据信息;The monitoring port processor is respectively connected to the memory and the monitoring processor, and is used to filter out data information meeting preset monitoring conditions in the memory according to the monitoring control instruction sent by the monitoring processor;
所述第二连接端口,用于外接所述测试终端,将所述符合预设监听条件的数据信息发送至所述测试终端。The second connection port is used for externally connecting the test terminal, and sending the data information meeting the preset monitoring condition to the test terminal.
如上所述的检测设备,所述监听端口的端口速率与所述交换端口的端口速率相同。As for the detection device described above, the port speed of the listening port is the same as that of the switching port.
如上所述的检测设备,还包括:配置端口;The detection device as described above also includes: a configuration port;
所述配置端口,用于外接配置终端,将所述配置终端发送的所述监听规则信息转发至所述监听处理器。The configuration port is used for externally connecting a configuration terminal, and forwarding the monitoring rule information sent by the configuration terminal to the monitoring processor.
如上所述的检测设备,所述配置终端与所述测试终端为同一终端。In the detection device described above, the configuration terminal and the testing terminal are the same terminal.
本实用新型另一个方面提供一种检测系统,包括:检测设备、测试终端以及至少两个被测终端;其中,Another aspect of the utility model provides a detection system, including: detection equipment, a test terminal and at least two tested terminals; wherein,
所述检测设备包括:交换控制器、监听处理器、监听端口及至少两个交换端口;所述交换端口与所述被测终端连接;所述交换控制器,分别与所述至少两个交换端口连接,用于根据所述被测终端通过所述交换端口发出的数据包数据信息中携带的目的地址,将所述数据包数据信息路由至目的交换端口,以使所述目的交换端口将所述数据包数据信息传输至与其连接的被测终端;所述监听处理器,与所述监听端口连接,用于根据预设的监听规则信息,向所述监听端口发送控制指令;所述监听端口,通过数据总线与所述至少两个交换端口连接,用于根据所述控制指令,监听所述至少两个交换端口发出的数据包数据信息,并将监听到的数据包数据信息发送至与所述监听端口连接的所述测试终端。The detection device includes: a switching controller, a monitoring processor, a monitoring port and at least two switching ports; the switching port is connected to the terminal under test; the switching controller is connected to the at least two switching ports respectively The connection is used to route the packet data information to the destination switch port according to the destination address carried in the packet data information sent by the terminal under test through the switch port, so that the destination switch port connects the The data packet data information is transmitted to the terminal under test connected to it; the monitoring processor is connected to the monitoring port, and is used to send a control command to the monitoring port according to preset monitoring rule information; the monitoring port, Connected to the at least two switch ports through a data bus, and used to listen to the packet data information sent by the at least two switch ports according to the control instructions, and send the monitored packet data information to the The test terminal for the listening port connection.
基于上述技术方案可知,本实用新型提供的检测设备,其具有现有以太网交换机的功能,又具有对每个交换端口进行数据采集的功能。因此采用本实用新型提供的检测设备进行检测实验,既符合实际的网络的应用环境,保证不降低以太网交换机效率的同时,还可对每个交换端口的数据采集,使得与所述检测连接的测试终端可根据接收到的数据信息进行检测,进而能有效的提高测试的准确性。Based on the above technical solution, it can be known that the detection device provided by the utility model has the function of the existing Ethernet switch, and also has the function of data collection for each switch port. Therefore, the detection equipment provided by the utility model is used to carry out detection experiments, which not only conforms to the actual network application environment, but also ensures that the efficiency of the Ethernet switch is not reduced, and can also be used for data collection of each switching port, so that the devices connected to the detection The test terminal can perform detection according to the received data information, thereby effectively improving the accuracy of the test.
附图说明Description of drawings
图1为本实用新型实施例一提供的检测设备的一种实现结构的示意图;Fig. 1 is a schematic diagram of an implementation structure of a detection device provided by
图2为本实用新型实施例一提供的检测设备的另一种实现结构的示意图;Fig. 2 is a schematic diagram of another implementation structure of the detection device provided by
图3为本实用新型实施例二提供的检测设备的一种实现结构的示意图;Fig. 3 is a schematic diagram of an implementation structure of the detection device provided by
图4为本发明实施例三提供的检测系统的结构示意图;FIG. 4 is a schematic structural diagram of a detection system provided by
图5为本实用新型实施例三提供的检测系统的工作流程示意图。FIG. 5 is a schematic diagram of the workflow of the detection system provided by
具体实施方式Detailed ways
如图1所示,本实用新型实施例一提供的检测设备的结构示意图。如图所示,本实用新型实施例一所述的检测设备,包括:交换控制器1、监听处理器2、监听端口3及至少两个交换端口4。其中,所述交换端口4用于外接被测终端(图中未示出)。所述交换控制器1,分别与所述至少两个交换端口4连接,用于根据所述被测终端通过所述交换端口发出的数据信息中携带的目的地址,将所述数据信息路由至目的交换端口,以使所述目的交换端口将所述数据信息传输至与其连接的被测终端。所述监听处理器2,与所述监听端口3连接,用于根据预设的监听规则信息,向所述监听端口发送控制指令。所述监听端口3,通过数据总线5分别与所述至少两个交换端口4连接,用于根据所述控制指令,监听所述至少两个交换端口发出的数据信息,并将监听到的数据信息发送至与所述监听端口连接的测试终端(图中未示出)。As shown in FIG. 1 , it is a schematic structural diagram of the detection equipment provided by
本实施例所述的检测设备,其具有现有以太网交换机的功能,又具有对每个交换端口进行数据采集的功能。因此采用本实施例所述的检测设备进行检测实验,既符合实际的网络的应用环境,保证不降低以太网交换机效率的同时,还可对每个交换端口的数据采集,使得与所述检测连接的测试终端可根据接收到的数据信息进行检测,进而能有效的提高测试的准确性。The detection device described in this embodiment has the function of an existing Ethernet switch and also has the function of collecting data from each switch port. Therefore adopt the detection equipment described in this embodiment to carry out detection experiment, both conform to the application environment of actual network, guarantee not to reduce the efficiency of Ethernet switch, also can also be to the data collection of each switch port, make with described detection connection The test terminal can be detected according to the received data information, which can effectively improve the accuracy of the test.
进一步地,上述实施例一中所述的监听端口3可采用如图2所示的结构实现。具体地,如图2所示,所述的监听端口3包括:监听端口处理器31、第一连接端口32、存储器33以及第二连接端口34。其中,所述第一连接端口32,通过数据总线3与所述至少两个交换端口4连接,用于获取所述至少两个交换端口4发出的数据信息,并将获取到的所述数据信息存储至所述存储器33中。所述存储器33,与所述第一连接端口32连接。所述监听端口处理器31,分别与所述存储器33和所述监听处理器2连接,用于根据所述监听处理器2发送的监听控制指令在所述存储器33中过滤出符合预设监听条件的数据信息。所述第二连接端口34,用于外接所述测试终端,将所述符合预设监听条件的数据信息发送至所述测试终端。Further, the
进一步地,所述监听端口的端口速率与所述交换端口的端口速率相同。所述存储器用于存储所述监听端口的第一连接端口获取到的至少两个交换端口发出的数据信息。为保证不丢失必要的数据,所述存储器的容量至少可缓存3秒的全端口数据,即所述存储器的容量应满足:存储容量=端口速率×端口数×3。Further, the port rate of the listening port is the same as the port rate of the switching port. The memory is used for storing the data information sent by at least two switching ports acquired by the first connection port of the listening port. In order to ensure that necessary data is not lost, the capacity of the memory can cache full port data for at least 3 seconds, that is, the capacity of the memory should satisfy: storage capacity=port speed×number of ports×3.
如图3所示,本发明实施例二提供的所述检测设备的结构示意图。如图所示,本实施例二所述的检测设备基于上述实施例一,除包括上述实施例一中所述的各部件外,还包括:配置端口6。具体地,所述配置端口6用于外接配置终端。所述配置端口用于将所述配置终端发送的所述监听规则信息转发至所述监听处理器2,以使所述监听处理器2根据所述监听规则信息,向所述监听端口发送控制指令。As shown in FIG. 3 , it is a schematic structural diagram of the detection device provided in
进一步地,本实施例二中所述的配置终端可以与上述实施例一中所述的测试终端为同一终端。Further, the configuration terminal described in the second embodiment may be the same terminal as the testing terminal described in the first embodiment above.
如图4所示,本发明实施例三提供的检测系统的结构示意图。如图4所示,本实施例三提供的检测系统包括:检测设备10、测试终端20以及至少两个被测终端30。其中,所述检测设备10包括:交换控制器1、监听处理器2、监听端口3及至少两个交换端口4;所述交换端口4与所述被测终端30连接;所述交换控制器1,分别与所述至少两个交换端口4连接,用于根据所述被测终端通过所述交换端口发出的数据信息中携带的目的地址,将所述数据信息路由至目的交换端口,以使所述目的交换端口将所述数据信息传输至与其连接的被测终端;所述监听处理器2,与所述监听端口3连接,用于根据预设的监听规则信息,向所述监听端口发送控制指令;所述监听端口3,通过数据总线与所述至少两个交换端口连接,用于根据所述控制指令,监听所述至少两个交换端口4发出的数据信息,并将监听到的数据信息发送至与所述监听端口3连接的所述测试终端20。具体地,本实施例三中所述的检测设备可采用上述实施例一或实施例二提供的检测设备。As shown in FIG. 4 , it is a schematic structural diagram of the detection system provided by
本实施例中所述的检测设备,其具有现有以太网交换机的功能,又具有对每个交换端口进行数据采集的功能。因此采用本实用新型提供的检测系统进行检测实验,既符合实际的网络的应用环境,保证不降低以太网交换机效率的同时,还可对每个交换端口的数据采集,使得与所述检测连接的测试终端可根据接收到的数据信息进行检测,进而能有效的提高测试的准确性。The detection device described in this embodiment has the function of an existing Ethernet switch and also has the function of collecting data from each switch port. Therefore adopt the detection system that the utility model provides to carry out detection experiment, both conform to the application environment of actual network, guarantee not to reduce Ethernet switch efficiency while, also can also to the data collection of each exchange port, make the connected with described detection The test terminal can perform detection according to the received data information, thereby effectively improving the accuracy of the test.
下面结合具体示例对上述实施例三提供的检测系统的工作原理作进一步的说明。本示例中假设被测终端有两个,分别为第一被测终端DUT1和第二被测终端DUT2;DUT1连接于检测设备的交换端口1,DUT2连接于检测设备的交换端口2,DUT1向DUT2发送数据信息。具体地,如图5所示,所述检测系统的工作流程,包括:The working principle of the detection system provided in the third embodiment above will be further described below with reference to specific examples. In this example, it is assumed that there are two terminals under test, namely the first terminal under test DUT1 and the second terminal under test DUT2; DUT1 is connected to switching
步骤1、测试终端将监听规则信息发送至配置端口,配置端口将所述监听规则信息转发至所述监听处理器。所述监听处理器将所述监听规则信息存储于内部的存储器中,以便后续调用。
其中,所述监听规则信息可具体为从所述监听端口获取到的所有数据信息中过滤出用于检测的数据信息的监听条件信息。Wherein, the monitoring rule information may specifically be monitoring condition information for filtering out data information for detection from all data information acquired by the monitoring port.
步骤2、DTU1将发给DTU2的数据信息首先发送至交换端口1。
步骤3、交换端口1将数据信息发送至交换端口2,此时所述监听端口获取所述交换端口发出的数据信息,并将所述数据信息存储至所述监听端口内部的存储器中。Step 3: The switching
步骤4、所述监听处理器根据所述监听规则信息,向所述监听端口发送控制指令。
步骤5、所述监听端口根据所述控制指令,在所述存储器中过滤出符合预设监听条件的数据信息,并将所述符合预设监听条件的数据信息发送至所述测试终端。
最后应说明的是:以上各实施例仅用以说明本实用新型的技术方案,而非对其限制;尽管参照前述各实施例对本实用新型进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本实用新型各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present utility model, and are not intended to limit it; although the present utility model has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand : It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements to some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions depart from the various embodiments of the present invention Scope of technical solutions.
Claims (6)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201320726314.0U CN203675131U (en) | 2013-11-15 | 2013-11-15 | Detection device and detection system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201320726314.0U CN203675131U (en) | 2013-11-15 | 2013-11-15 | Detection device and detection system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN203675131U true CN203675131U (en) | 2014-06-25 |
Family
ID=50971377
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201320726314.0U Expired - Lifetime CN203675131U (en) | 2013-11-15 | 2013-11-15 | Detection device and detection system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN203675131U (en) |
-
2013
- 2013-11-15 CN CN201320726314.0U patent/CN203675131U/en not_active Expired - Lifetime
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10911355B2 (en) | Multi-site telemetry tracking for fabric traffic using in-band telemetry | |
| CN110572293B (en) | Data message detection method, equipment and system | |
| JP5534481B2 (en) | Communication quality monitoring system, communication quality monitoring method, and storage medium | |
| CN110971445B (en) | A kind of network OAM method and device | |
| WO2011155510A1 (en) | Communication system, control apparatus, packet capture method and program | |
| CN106470165B (en) | Load sharing method, system and related equipment | |
| EP3977680B1 (en) | Trace routing in virtual networks | |
| US20150146518A1 (en) | Method and device for processing communication path | |
| WO2017054547A1 (en) | Bidirectional forwarding detection method and apparatus | |
| WO2015094040A1 (en) | Method and control node for handling data packets | |
| CN104283780A (en) | Method and device for establishing data transmission route | |
| CN106302076B (en) | Method and system for establishing VXLAN tunnel and SDN controller | |
| US20260005955A1 (en) | Method and apparatus for handling link failure, and storage medium | |
| WO2017157318A1 (en) | Link discovery method and apparatus | |
| CN105656715A (en) | Method and device for monitoring state of network device under cloud computing environment | |
| CN109981450A (en) | Path is connected to maintaining method, device and system | |
| CN104579809B (en) | The detection method and equipment of a kind of stacking splitting | |
| CN106302006B (en) | A kind of dynamic source tracing method of the IP spoofing data packet based on SDN | |
| CN203675131U (en) | Detection device and detection system | |
| JP5681138B2 (en) | Management device, communication system, relay device, communication method, and program | |
| CN106817316A (en) | The methods, devices and systems of detective path MTU | |
| CN112332956A (en) | Information sharing method and device in redundant network, and computer storage medium | |
| CN105763412A (en) | Communication method in virtual switching cluster and apparatus thereof | |
| CN116055077B (en) | A cross-domain traffic injection method and device | |
| CN119484342B (en) | Abnormality monitoring method, abnormality monitoring device, computer apparatus, readable storage medium, and program product |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CX01 | Expiry of patent term |
Granted publication date: 20140625 |
|
| CX01 | Expiry of patent term |