Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A port mirroring automatic testing method and device

A technology of automated testing and port mirroring, applied in error detection/correction, detection of faulty computer hardware, instruments, etc., can solve the problems of low accuracy, low test efficiency, and it is difficult for port mirroring test to cover all test cases. High test accuracy and high test efficiency

Active Publication Date: 2020-06-16
武汉思普崚技术有限公司
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to overcome the above-mentioned technical deficiencies, provide a kind of port mirroring automatic test method, device and computer storage medium, solve the technology that the port mirroring test in the prior art is difficult to cover all test cases, the test efficiency is low, and the accuracy rate is low question

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A port mirroring automatic testing method and device
  • A port mirroring automatic testing method and device
  • A port mirroring automatic testing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0018] Such as figure 1 As shown, Embodiment 1 of the present invention provides a port mirroring automated testing method, comprising the following steps:

[0019] S1. Control the device under test to enter the corresponding view to obtain the test configuration data input by the user, and deliver the test configuration data;

[0020] S2. According to the test configuration data, test all characters supported by the device under test, all existing ports, and all supported mirroring modes one by one;

[0021] S3. Perform a random combination test on all characters supported by the device under test, all existing ports, and all supported mirroring methods;

[0022] S4. Outputting the test result.

[0023] In the embodiment of the present invention, after obtaining the test configuration data, all characters supported by the device under test, all existing ports, and all supported mirroring modes are tested one by one, so that the test case traverses all characters, ports, and...

Embodiment 2

[0052] Embodiment 2 of the present invention provides a port mirroring automated testing device, including a processor and a memory, and a computer program is stored on the memory. When the computer program is executed by the processor, the port mirroring automation provided by Embodiment 1 is realized. testing method.

[0053] The port mirroring automated testing device provided by the embodiment of the present invention is used to realize the port mirroring automated testing method. Therefore, the port mirroring automated testing device also possesses the technical effects of the port mirroring automated testing method, and will not be repeated here.

Embodiment 3

[0055] Embodiment 3 of the present invention provides a computer storage medium on which a computer program is stored. When the computer program is executed by a processor, the port mirroring automated testing method provided in Embodiment 1 is realized.

[0056] The computer storage medium provided by the embodiment of the present invention is used to implement the automatic port mirroring test method. Therefore, the technical effects of the port mirroring automatic test method are also provided by the computer storage medium, and will not be repeated here.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention relates to the technical field of port mirroring, and discloses a port mirroring automatic testing method, device and computer storage medium, wherein the method includes the following steps: controlling the device to be tested to enter a corresponding view to obtain the test configuration data input by the user, and issuing the test configuration data The above test configuration data; according to the test configuration data, test all characters supported by the device under test, all existing ports and all supported mirroring methods one by one; all characters supported by the device under test, all existing ports and all supported Random combination test in mirror mode; output test results. The port mirroring automatic testing method, device and computer storage medium provided by the invention have the technical effects of comprehensive testing coverage, high testing accuracy and high testing efficiency.

Description

technical field [0001] The invention relates to the technical field of port mirroring, in particular to a port mirroring automatic testing method, device and computer storage medium. Background technique [0002] The function of port mirroring (port mirroring) realizes the monitoring of the network by forwarding the data traffic of one or more source ports to a designated port on the switch or router. The designated port is called "mirror port" or "destination port". , without seriously affecting the normal throughput of the source port, the network traffic can be monitored and analyzed through the mirror port. Using the mirroring function in the enterprise can monitor and manage the network data within the enterprise well, and when the network fails, it can quickly locate the fault. [0003] At present, the port mirroring test is generally carried out manually. The test cases of the manual test method are not fully covered, and it is difficult to traverse all characters an...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/22
CPCG06F11/2205
Inventor 左福龙
Owner 武汉思普崚技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products