CN111447122A - Test system and test method for IPC tape amount of core switch - Google Patents

Test system and test method for IPC tape amount of core switch Download PDF

Info

Publication number
CN111447122A
CN111447122A CN202010436419.7A CN202010436419A CN111447122A CN 111447122 A CN111447122 A CN 111447122A CN 202010436419 A CN202010436419 A CN 202010436419A CN 111447122 A CN111447122 A CN 111447122A
Authority
CN
China
Prior art keywords
switch
management
ipc
core
nvr
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010436419.7A
Other languages
Chinese (zh)
Other versions
CN111447122B (en
Inventor
蔡玲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Tenda Technology Co Ltd
Original Assignee
Shenzhen Tenda Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Tenda Technology Co Ltd filed Critical Shenzhen Tenda Technology Co Ltd
Priority to CN202010436419.7A priority Critical patent/CN111447122B/en
Publication of CN111447122A publication Critical patent/CN111447122A/en
Application granted granted Critical
Publication of CN111447122B publication Critical patent/CN111447122B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/35Switches specially adapted for specific applications

Landscapes

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

Abstract

The invention provides a system and a method for testing the IPC tape amount of a core switch, belonging to the field of switch testing. The test system comprises a management switch, an NVR and more than one access switch, wherein one end of a core switch to be tested is connected with the NVR, the other end of the core switch to be tested is connected with the management switch, downlink ports of the management switch are respectively connected with a plurality of network cameras, the network cameras are respectively connected with the core switch to be tested through an uplink port of the management switch, one end of the access switch is connected with a plurality of network cameras, the other end of the access switch is connected with one of the downlink ports of the management switch, and a video stream of any one of the network cameras connected with the access switch can be broadcasted to each uplink port of the management switch, which is connected with the core switch. The invention saves the NVR cost and the network camera cost.

Description

Test system and test method for IPC tape amount of core switch
Technical Field
The invention relates to the field of switch testing, in particular to a system and a method for testing the IPC tape amount of a core switch.
Background
In an actual monitoring application scenario, a gigabit switch is often used as a core-level switch, a lower level is connected to a plurality of access-layer switches to carry a plurality of IPCs (IP cameras), and as for how to evaluate the IPC carrying capability of the core-level switch, it is firstly thought that the actual IPCs are continuously loaded, the monitoring screen is watched through accessing NVR (Network Video Recorder), and the number of IPCs carried by the switch is actually measured. The cost brought by the actual measurement mode is high and is limited by the processing capacity of the NVR, and the method mainly has two aspects:
the number of channels and the capability of processing video streams of the NVR are limited, and the NVR with 64 channels generally processes only 256Mbps data, which means that the NVR can process 64 video streams with about 265Mbps IPC. Beyond this limit, the unprocessed IPC video stream will be dropped at the NVR end, causing video katon, but for a gigabit switch, 256Mbps is far from the bandwidth it can forward. Under the condition, multiple NVRs need to be expanded to meet the load capacity of test gigabit transmission
2. According to the estimation of gigabit bandwidth and IPC burst code stream 16M, if burst at the same time, at least 62 IPCs are carried, and in the actual situation, the situation that all IPCs are concurrent at the same time is rare, and often part of IPCs are concurrent, the number of the carried IPCs is larger than 62. And under the condition that the IPC defaults to open the flow control, the number of the loads is greatly increased, so that more IPCs are needed to meet the actual measurement requirement.
Therefore, the existing test method has the following defects:
1. measuring the belt conveyor quantity through experiments: for the capability test of carrying the IPC by the gigabit core switch, the ports are required to be fully loaded and accessed to the actual IPC for testing, the number of the IPC is required to be 100-200, and in addition, the number of the channels of the NVR and the capability of processing the video stream are limited, a plurality of NVRs are required to be tested simultaneously, and the cost is high.
2. By estimating the belt machine quantity: for the switches which are hundreds of megabytes and the lower links of the switches can not be accessed to other switches any more to extend the access IPC number, the estimated tape unit number may have a reference value, but for the multi-port gigabit switch which is more to extend the access IPC number, the cache size of the switch determines the capability of the switch for processing the concurrent flow, and further limits the tape unit number of the switch. The tape unit volumes of the gigabit switch are the same in a unified calculation mode, and in fact, the tape unit volumes of different cache sizes and different chips are inconsistent. Therefore, the actual amount of the belt threading cannot be accurately calculated.
Disclosure of Invention
In order to solve the problems in testing the IPC tape amount of the gigabit switch in the prior art, the invention provides a system and a method for testing the IPC tape amount of a core switch, wherein the IPC flow is copied and forwarded in the switch in multiple copies, so that the IPC, NVR and the number of access switches are saved.
The test system of the invention comprises a management switch, NVR and more than one access switch, wherein,
one end of the core switch to be tested is connected with the NVR, the other end of the core switch to be tested is connected with N ports of an uplink port of the management switch through N ports, N is a positive integer,
n ports in the downstream ports of the management switch are respectively connected with a network camera, the network cameras are respectively connected with a core switch to be tested through the upstream port of the management switch,
one end of the access switch is connected with M network cameras, the other end of the access switch is connected with one downlink port of the management switch, the video stream of any network camera connected with the access switch can be broadcasted to each uplink port of the management switch, which is connected with the core switch, and M is a positive integer.
The invention further improves, the management type switch is a switch with MAC address learning closing function and QV L AN function, and the duplication of the network camera flow is realized through the two functions.
The invention is further improved, and the core switch and the access switch to be tested are kilomega switches.
The invention is further improved, and the number of the management type switches is 1 or more.
The invention also provides a test method of the test system based on the IPC tape amount of the core switch, which comprises the following steps:
s1: configuring management type switch parameters, building a test system, and connecting ports of a core switch to be tested, a management type switch and an NVR (network video recorder) according to topology;
s2: the N network cameras are accessed to the ports of the management type switch and are managed through the NVR;
s3: establishing a video stream replication model: connecting the access switch and the management switch, connecting the network cameras on the access switch one by one, monitoring the network camera on the NVR when one network camera is accessed, and observing the video flow of the NVR until the network camera connected with the switch is blocked;
s4: reducing the network cameras one by one until the network cameras connected with the switch start not to be blocked;
s5: and calculating the tape unit amount of the core switch.
The invention is further improved, the management switch is connected with 8 network cameras, and the tape amount calculation method of the core switch comprises the following steps: the tape recorder amount is 8+ the number of network cameras connected to the access switch.
Compared with the prior art, the invention has the beneficial effects that: (1) NVR cost is saved. The NVR only processes one video flow of each IPC, other flows only occupy the bandwidth and do not occupy the resource of the NVR for processing the video flow, and the bandwidth of the NVR giga does not have a bottleneck. (2) IPC cost is saved. If links of the core switch and the management switch are increased, the number of IPC is multiplied, IPC parameters can be adjusted at will for testing, and the number of the actual cameras is not large. (3) The number of the access switches is saved, and 1 access switch can simulate a plurality of switches. (4) The result of the tape machine amount has higher reference value because all forwarded in the cache of the core switch is the video traffic of IPC reality.
Drawings
FIG. 1 is a schematic structural diagram of an embodiment of a test system according to the present invention;
fig. 2 is a schematic view of video stream replication.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples.
As shown in FIG. 1, the test system of the invention comprises a management switch B, an NVR and an access switch C, wherein one end of a core switch A to be tested is connected with the NVR, the other end of the core switch A to be tested is connected with 8 ports (ports 11-18) of an uplink port of the management switch through 8 ports, 8 ports (ports 1-8) in downlink ports of the management switch B are respectively connected with IPCs (IPCs 1-8), the IPCs are respectively connected with the core switch A to be tested through an uplink port, one end of the access switch C is connected with 8 IPCs (IPCs 9-16), and the other end of the access switch C is connected with a port 24 of the management switch B.
Of course, the number of managed switches in this example may be multiple, each managed switch may also have access to multiple access switches, and the number of IPCs connected to the managed switches and the access switches may also be set to other numbers according to requirements. The flow resource of IPC can be adjusted according to the code stream configuration on IPC, and if the limit value needs to be tested, the IPC code stream is adjusted to the maximum value.
In the embodiment, under the condition that IPC, NVR and access layer switch test resources are limited, the core layer switch can be subjected to a tape-on-machine test, and the method has high reference value.
Specifically, the tested device is a gigabit core switch a, the example is 9 ports, and the management switch B is used as the tested device, which is the key of the testing method, and the testing method has AN MAC address learning closing function and a QV L AN function, and IPC traffic can be copied through the two functions.
The test method comprises the following steps:
(1) parameters of the managed switch B are configured, and the managed switch B is set as shown in table 1. No configuration is done on the access switch C but no bottleneck should exist on the upstream port, preferably a gigabit connection.
Figure BDA0002502454410000031
Figure BDA0002502454410000041
TABLE 1
The reason why the P11-P18 do not learn the MAC address in this example is as follows:
firstly, the switch forwarding principle is that after receiving a message, a switch port searches a destination port corresponding to AN MAC address in a switch address table according to the destination MAC address in the message, and then forwards the message from the destination port, and if the destination address cannot be searched, the switch forwards the message to all ports in V L AN in a broadcasting mode.
The NVR and the IPC generally adopt a unicast mode to forward the interactive messages of the NVR and the IPC in the switch, when the addresses of the NVR are not learned by the P11-P18, the video streams sent by the IPC 1-IPC 8 are broadcasted into the V L AN corresponding to the ports, for example, the video stream accessed to the IPC1 by the P1 port is forwarded to the P11 and the P24.
The video stream forwarded to the port P11 is unicast forwarded to NVR through the core switch a, and the response message of NVR is also forwarded to the destination port in switch a according to the MAC address of IPC 1. And then the message is forwarded to P1 according to the PVID of P11 and the destination MAC address of the NVR response message after the message arrives at P11 of the switch B, and then IPC1 receives the NVR response message.
The video stream forwarded to the port P24 is discarded at the entrance after being transmitted to the switch C, because the MAC address of the NVR can be learned at the uplink port of the switch C, the destination address of the video stream is at the port where the video stream enters, and therefore bandwidth congestion caused by the fact that the video stream of the IPC1 is broadcasted to the IPC accessed by the switch C is avoided.
The number of access switches C in this example can be increased at will, but a configuration of V L AN should be added to the port connected to the managed switch B, and the configuration of the port V L AN is similar to the above-mentioned managed switch P24 port.
In the embodiment, the QV L AN is arranged to avoid loop and broadcast storm, and because more IPC video streams are dozens of M, the video streams of IPC 1-IPC 16 are prevented from receiving each other and occupying transmission bandwidth.
(2) Firstly, connecting the ports of a core switch A and a management switch B, NVR according to topology;
(3) accessing IPCs 1-8 to a B port of a management switch, and managing IPCs 1-8 through NVR;
(4) connecting access switch C and management type switch B, accessing IPC9 ~ 16 one by one again, whenever accessing an IPC, monitor this IPC on NVR, observe NVR video traffic, whenever increasing the access of 1 IPC, the input flow of NVR end increases 8 times of 1 IPC traffic. A model of video stream replication, as shown in FIG. 2;
(5) and observing whether IPCs 1-8 are stuck or not. IPCs 1-8 are IPCs used as video quality references, because the 8 IPCs have only one code stream forwarded to NVR at each entry, if the 8 IPCs are jammed, it is indicated that congestion occurs in the cache at the entry A of the core switch;
(6) adding IPC to the access switch C, not limited to IPC 9-16, adding more IPC (preempting the video stream buffered by the core switch A) until IPC1-8 is stuck, which indicates that the core switch exceeds the processable data volume, and then beginning to reduce IPC until IPC1-8 begins not to be stuck;
(7) the tape volume of the core switch C is calculated according to the following formula:
tape machine quantity 8(IPC1-8) + IPC number 8 connected to access switch C
According to the above embodiment, if the number of IPCs connected to the access switch C can be 24, the number of the tape-out devices is 8+24 × 8 — 200, and only 32 IPCs are actually used, which can replace the test of 200 IPCs.
Therefore, the invention has the following outstanding advantages:
1.NVR cost is saved. The NVR only processes one video flow of each IPC, other flows only occupy the bandwidth and cannot occupy the resource of the video flow processed by the NVR, and the bandwidth of NVR giga does not have a bottleneck;
2. IPC cost is saved. According to the above example, if the links of the core switch a and the management switch B are increased, the number of IPCs is increased by 24 times, if the IPCs on the access layer switch C are increased, the number of IPCs is increased by 8 times, the IPC parameters can be adjusted arbitrarily for testing, but the number of the actual cameras is not large;
3. the number of the access switches C is saved, and 8 access switches C can be simulated by 1 access switch C;
4. the result of the tape machine amount has higher reference value because all forwarded in the cache of the core switch A are IPC actual video traffic.
The above-described embodiments are intended to be illustrative, and not restrictive, of the invention, and all changes that come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein.

Claims (6)

1. A test system of core switch IPC tape machine volume which characterized in that: comprising a management switch, NVR, and one or more access switches, wherein,
one end of the core switch to be tested is connected with the NVR, the other end of the core switch to be tested is connected with N ports of an uplink port of the management switch through N ports, N is a positive integer,
n ports in the downstream ports of the management switch are respectively connected with a network camera, the network cameras are respectively connected with a core switch to be tested through the upstream port of the management switch,
one end of the access switch is connected with M network cameras, the other end of the access switch is connected with one downlink port of the management switch, the video stream of any network camera connected with the access switch can be broadcasted to each uplink port of the management switch, which is connected with the core switch, and M is a positive integer.
2. The system for testing the IPC tape amount of the core switch as claimed in claim 1, wherein the managed switch is a switch having MAC address learning closing function and QV L AN function, and the duplication of the network camera flow is realized through the two functions.
3. The system for testing the IPC tape amount of the core switch as claimed in claim 1, wherein: the core switch and the access switch to be tested are gigabit switches.
4. The system for testing the IPC tape amount of the core switch as claimed in claim 1, wherein: the number of the management type switches is 1 or more.
5. A test method of a test system of a core switch IPC tape machine based on any claim 1 to 4 is characterized by comprising the following steps:
s1: configuring management type switch parameters, building a test system, and connecting ports of a core switch to be tested, a management type switch and an NVR (network video recorder) according to topology;
s2: the N network cameras are accessed to the ports of the management type switch and are managed through the NVR;
s3: establishing a video stream replication model: connecting the access switch and the management switch, connecting the network cameras on the access switch one by one, monitoring the network camera on the NVR when one network camera is accessed, and observing the video flow of the NVR until the network camera connected with the switch is blocked;
s4: reducing the network cameras one by one until the network cameras connected with the switch start not to be blocked;
s5: and calculating the tape unit amount of the core switch.
6. The test method of claim 4, wherein: the management type switch is connected with 8 network cameras, and the tape amount calculation method of the core switch comprises the following steps: the tape recorder amount is 8+ the number of network cameras connected to the access switch.
CN202010436419.7A 2020-05-21 2020-05-21 Test system and test method for IPC (IPC) tape mechanism of core switch Active CN111447122B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010436419.7A CN111447122B (en) 2020-05-21 2020-05-21 Test system and test method for IPC (IPC) tape mechanism of core switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010436419.7A CN111447122B (en) 2020-05-21 2020-05-21 Test system and test method for IPC (IPC) tape mechanism of core switch

Publications (2)

Publication Number Publication Date
CN111447122A true CN111447122A (en) 2020-07-24
CN111447122B CN111447122B (en) 2023-08-11

Family

ID=71652175

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010436419.7A Active CN111447122B (en) 2020-05-21 2020-05-21 Test system and test method for IPC (IPC) tape mechanism of core switch

Country Status (1)

Country Link
CN (1) CN111447122B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113163196A (en) * 2021-04-26 2021-07-23 武汉鑫科信科技有限公司 Test system of core switch IPC tape unit
CN114567578A (en) * 2022-03-14 2022-05-31 重庆紫光华山智安科技有限公司 Pressure testing method, device, testing platform and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2157182A1 (en) * 1994-01-11 1995-07-13 Paul W. Dent A cellular/satellite communications system with improved frequency re-use
JP2004297475A (en) * 2003-03-27 2004-10-21 Toshiba Corp Lan switch and communication control method therefor
CN204231386U (en) * 2014-12-11 2015-03-25 吴俊荣 The multi-functional carrier line of a kind of enterprise-specific
CN104754637A (en) * 2015-03-30 2015-07-01 深圳市吉祥腾达科技有限公司 Wireless device throughput capacity and machine loading capacity measurement method and system
US20170201724A1 (en) * 2010-11-05 2017-07-13 Razberi Technologies, Inc. System and method for a security system
CN107835188A (en) * 2017-11-27 2018-03-23 浙江宇视科技有限公司 A kind of equipment safety cut-in method and system based on SDN
CN109039956A (en) * 2018-08-09 2018-12-18 新华三云计算技术有限公司 Port Mirroring method, apparatus, host and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2157182A1 (en) * 1994-01-11 1995-07-13 Paul W. Dent A cellular/satellite communications system with improved frequency re-use
JP2004297475A (en) * 2003-03-27 2004-10-21 Toshiba Corp Lan switch and communication control method therefor
US20170201724A1 (en) * 2010-11-05 2017-07-13 Razberi Technologies, Inc. System and method for a security system
CN204231386U (en) * 2014-12-11 2015-03-25 吴俊荣 The multi-functional carrier line of a kind of enterprise-specific
CN104754637A (en) * 2015-03-30 2015-07-01 深圳市吉祥腾达科技有限公司 Wireless device throughput capacity and machine loading capacity measurement method and system
CN107835188A (en) * 2017-11-27 2018-03-23 浙江宇视科技有限公司 A kind of equipment safety cut-in method and system based on SDN
CN109039956A (en) * 2018-08-09 2018-12-18 新华三云计算技术有限公司 Port Mirroring method, apparatus, host and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
段煜晖;: "基于三层交换的网络规划与设计", no. 01 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113163196A (en) * 2021-04-26 2021-07-23 武汉鑫科信科技有限公司 Test system of core switch IPC tape unit
CN114567578A (en) * 2022-03-14 2022-05-31 重庆紫光华山智安科技有限公司 Pressure testing method, device, testing platform and storage medium
CN114567578B (en) * 2022-03-14 2023-09-26 重庆紫光华山智安科技有限公司 Pressure testing method and device, testing platform and storage medium

Also Published As

Publication number Publication date
CN111447122B (en) 2023-08-11

Similar Documents

Publication Publication Date Title
US20210273842A1 (en) Congestion avoidance in a slice-based network
CN212305356U (en) Test system of core switch IPC tape unit
US7925727B2 (en) Method and apparatus for efficient communication of management data in a telecommunications network
CN101252483A (en) System and method for testing switch
CN111447122A (en) Test system and test method for IPC tape amount of core switch
DE102010013291B4 (en) Policy-based video quality assessment
CN108834203A (en) Method for switching network, device, terminal and storage medium
US10897423B2 (en) Congestion avoidance in a slice-based network
US20200366612A1 (en) Congestion avoidance in a slice-based network
US20120051263A1 (en) Network System, Network Management Server, and OAM Test Method
CN103475542A (en) Network equipment handling capacity performance testing system and method
CN110601919A (en) Loopback detection method and system
CN103248567B (en) A kind of BFD session message transmitting method and equipment
CN112469067B (en) Method and system for monitoring network batch service flow
CN212305357U (en) Outdoor network bridge IPC tape machine quantity test system
CN113395612B (en) Data forwarding method in optical fiber communication and related device
CN110290124B (en) Switch input port blocking method and device
CN112835775A (en) Simulation network communication method and device and relay protection device simulation test system
CN112583659A (en) Method and device for detecting network state of video network, terminal equipment and storage medium
KR102486638B1 (en) Method for detecting abnormality of iptv service, network apparatus and monitoring server
WO2016161716A1 (en) Multicast data stream monitoring method and device, and multicast forwarding device
CN103369403A (en) System and method for analyzing set-top box on-demand packages
WO2021190050A1 (en) Service monitoring method, apparatus and system
CN111355927B (en) Monitoring equipment determining method, device, equipment and storage medium based on visual networking
CN103780444A (en) Loop automatic detection device and method in EoC network

Legal Events

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