CN110572298A - An automatic reading and writing performance testing method, system and equipment for FC card - Google Patents

An automatic reading and writing performance testing method, system and equipment for FC card Download PDF

Info

Publication number
CN110572298A
CN110572298A CN201910754789.2A CN201910754789A CN110572298A CN 110572298 A CN110572298 A CN 110572298A CN 201910754789 A CN201910754789 A CN 201910754789A CN 110572298 A CN110572298 A CN 110572298A
Authority
CN
China
Prior art keywords
card
test
performance
read
data
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.)
Pending
Application number
CN201910754789.2A
Other languages
Chinese (zh)
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.)
Suzhou Wave Intelligent Technology Co Ltd
Original Assignee
Suzhou Wave Intelligent 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 Suzhou Wave Intelligent Technology Co Ltd filed Critical Suzhou Wave Intelligent Technology Co Ltd
Priority to CN201910754789.2A priority Critical patent/CN110572298A/en
Publication of CN110572298A publication Critical patent/CN110572298A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides an FC card-oriented automatic read-write performance test method, system and device, which adopts automatic test of a plurality of performance test software to obtain comprehensive FC card read-write performance data; adopting multi-point performance coverage test, automatically discriminating valid data and forming a data table, and automatically calculating the read-write performance data of each card on the basis of a certain data volume; through the integration of the read-write performance data of a plurality of FC cards, a data analysis chart is automatically generated, the cards with outstanding performance and insufficient performance can be quickly distinguished, and relevant test documents are output, so that the automatic test of the read-write performance test of the FC cards is completed.

Description

一种面向FC卡的自动化读写性能测试方法、系统及设备An automatic reading and writing performance testing method, system and equipment for FC card

技术领域technical field

本发明涉及计算机技术领域,更具体的说是涉及一种面向FC卡的自动化读写性能测试方法、系统及设备。The invention relates to the technical field of computers, and more particularly to an automatic reading and writing performance testing method, system and device for FC cards.

背景技术Background technique

在云计算时代,海量数据需要写入和读取,FC(Fiber Channel,光纤通道)具备通道和网络双重优势,具备高带宽、高可靠性、高稳定性,抵抗电磁干扰等优点,能够提供非常稳定可靠的光纤连接,容易构建大型的数据传输和通信网络。In the era of cloud computing, massive data needs to be written and read. FC (Fiber Channel, Fibre Channel) has the dual advantages of channel and network, and has the advantages of high bandwidth, high reliability, high stability, resistance to electromagnetic interference, etc. Stable and reliable optical fiber connection, easy to build large-scale data transmission and communication network.

为了构建光纤网络连接,FC卡是必不可少的硬件设备。FC卡,一般也叫光纤网卡,学名FibreChannelHBA。传输协议为光纤通道协议,一般通过光纤线缆与光纤通道交换机连接。接口类型分为光口和电口。光口一般都是通过光纤线缆来进行数据传输,接口模块一般为SFP(传输率2Gb/s)和GBIC(1Gb/s),对应的接口为SC和LC。电口的接口类型一般为DB9针或HSSDC。In order to build a fiber optic network connection, an FC card is an essential hardware device. FC card, also known as fiber optic network card, scientific name FibreChannelHBA. The transmission protocol is a Fibre Channel protocol, which is generally connected to a Fibre Channel switch through an optical fiber cable. Interface types are divided into optical ports and electrical ports. Optical ports are generally used for data transmission through optical fiber cables. The interface modules are generally SFP (transmission rate 2Gb/s) and GBIC (1Gb/s), and the corresponding interfaces are SC and LC. The interface type of the electrical port is generally DB9 pin or HSSDC.

而在FC卡的开发,生产和使用的环节中,都会涉及FC卡读写性能的测试。目前的FC卡读写性能测试基本是人工手动测试,测试效率低,测试次数少,有效测试结果少,无法大规模快速得到有效的FC卡读写性能测试数据。In the development, production and use of the FC card, the test of the read and write performance of the FC card will be involved. The current FC card reading and writing performance test is basically manual testing, which has low test efficiency, few test times, and few valid test results.

发明内容SUMMARY OF THE INVENTION

针对以上问题,本发明的目的在于提供一种面向FC卡的自动化读写性能测试方法、系统及设备,可以快速甄别性能突出和性能不足的卡,并输出相关测试文档,完成FC卡读写性能测试的自动化测试。In view of the above problems, the purpose of the present invention is to provide an automatic reading and writing performance testing method, system and equipment for FC cards, which can quickly identify cards with outstanding performance and insufficient performance, and output relevant test documents to complete the reading and writing performance of FC cards. Test automation.

本发明为实现上述目的,通过以下技术方案实现:一种面向FC卡的自动化读写性能测试方法,包括:The present invention is achieved by the following technical solutions in order to achieve the above-mentioned purpose: a kind of automatic reading and writing performance testing method for FC card, comprising:

在每张待测的FC卡上依次运行多个预设的性能测试软件的测试脚本,获取FC卡的读写性能数据;Run the test scripts of multiple preset performance testing software in sequence on each FC card to be tested to obtain the read and write performance data of the FC card;

整合FC卡的读写性能数据,生成数据分析图;Integrate the read/write performance data of the FC card to generate a data analysis graph;

甄别数据分析图上的异常点,获取异常点对应的异常FC卡的测试文档;Identify the abnormal points on the data analysis graph, and obtain the test documents of the abnormal FC card corresponding to the abnormal points;

通过异常FC卡的测试文档获取异常FC卡的读写性能数据。Obtain the read/write performance data of the abnormal FC card from the test document of the abnormal FC card.

进一步,所述在每张待测的FC卡上依次运行多个预设性能测试软件的测试脚本,获取FC卡的读写性能数据包括如下步骤:Further, the test scripts of running multiple preset performance testing software in sequence on each FC card to be tested, and obtaining the read-write performance data of the FC card includes the following steps:

S21:将一台服务器作为Initiator端,一台存储作为Target端,将待测的FC卡插入Target端存储的插槽中;S21: Use one server as the Initiator and one storage as the Target, and insert the FC card to be tested into the storage slot of the Target;

S22:用光纤连接Initiator端服务器上FC卡与Target端存储上要测试的FC卡,搭建FC网络,并建立连接;S22: Connect the FC card on the Initiator server and the FC card to be tested on the Target storage with optical fiber, build an FC network, and establish a connection;

S23:通过性能测试脚本命令依次运行多个预设性能测试软件的测试脚本,生成FC卡读写性能测试报告;S23: Run the test scripts of multiple preset performance test software in sequence through the performance test script command, and generate the FC card reading and writing performance test report;

S24:监测Initiator端服务器FC卡读写性能测试报告的获取,判断FC卡读写性能测试报告是否小于预设的测试份数n,如果小于n份,则执行步骤S23,否则进入步骤S25;S24: Monitor the acquisition of the FC card read-write performance test report of the initiator server, and determine whether the FC card read-write performance test report is less than the preset number of test copies n, if it is less than n copies, then execute step S23, otherwise, go to step S25;

S25:抓取FC卡读写性能测试报告的内容,甄别有效数据并形成数据表格,在n份测试数据的基础上自动计算出各种场景下FC卡的读写性能数据的平均值,并存入每张卡依据测试场景建立的性能数据表格中;S25: Grab the content of the FC card read/write performance test report, identify valid data and form a data table, and automatically calculate the average value of the FC card read/write performance data in various scenarios on the basis of n copies of the test data, and store them together. Enter the performance data table established by each card according to the test scenario;

S26:重复执行步骤S21-S25,获取每张FC卡的读写性能测试数据表格。S26: Steps S21-S25 are repeatedly executed to obtain the read/write performance test data table of each FC card.

进一步,所述步骤S22还包括:通过脚本命令建立存储池、卷和LUN映射。Further, the step S22 further includes: establishing storage pools, volumes and LUN mappings through script commands.

进一步,所述整合FC卡的读写性能数据,生成数据分析图,包括如下步骤:Further, the described integration of the read/write performance data of the FC card to generate a data analysis graph includes the following steps:

S41:提取FC卡的读写性能测试数据表格,并分场景提取每张卡的性能数据,形成不同场景下FC卡的性能数据表格;S41 : extracting the reading and writing performance test data table of the FC card, and extracting the performance data of each card in different scenarios to form the performance data table of the FC card in different scenarios;

S42:根据不同场景下FC卡的性能数据表格生成不同场景下的性能数据分析图。S42: Generate performance data analysis graphs in different scenarios according to performance data tables of the FC card in different scenarios.

进一步,所述性能数据分析图采用折线图或柱状图。Further, the performance data analysis graph adopts a line graph or a bar graph.

进一步,所述甄别数据分析图上的异常点,获取异常点对应的异常FC卡的测试文档包括:Further, the abnormal point on the described screening data analysis graph, the test document that obtains the abnormal FC card corresponding to the abnormal point includes:

分析不同场景下的性能数据分析图,获取性能数值的异常点,并根据异常点的FC卡编号、测试场景和与所有FC卡测试数据平均值的差值确定异常FC卡,并输出异常FC卡的测试文档。Analyze the performance data analysis graphs in different scenarios, obtain abnormal points of performance values, and determine the abnormal FC cards according to the FC card number of the abnormal points, the test scenario, and the difference from the average value of all FC card test data, and output the abnormal FC cards test documentation.

相应的,本发明还公开了一种面向FC卡的自动化读写性能测试系统,包括:Correspondingly, the present invention also discloses an automatic reading and writing performance testing system for FC cards, comprising:

执行模块,用于在每张待测的FC卡上依次运行多个预设的性能测试软件的测试脚本,获取FC卡的读写性能数据;The execution module is used to sequentially run the test scripts of multiple preset performance testing software on each FC card to be tested, and obtain the read and write performance data of the FC card;

数据处理模块,用于整合FC卡的读写性能数据,生成数据分析图;The data processing module is used to integrate the read/write performance data of the FC card and generate a data analysis graph;

数据筛选模块,用于甄别数据分析图上的异常点,获取异常点对应的异常FC卡的测试文档;The data screening module is used to identify the abnormal points on the data analysis graph, and obtain the test documents of the abnormal FC card corresponding to the abnormal points;

读取模块,用于通过异常FC卡的测试文档获取异常FC卡的读写性能数据。The reading module is used to obtain the read/write performance data of the abnormal FC card through the test file of the abnormal FC card.

相应的,本发明还公开了一种面向FC卡的自动化读写性能测试设备,包括:Correspondingly, the present invention also discloses an automatic reading and writing performance testing equipment for FC cards, comprising:

存储器,用于存储计算机程序;memory for storing computer programs;

处理器,用于执行所述计算机程序时实现如上文任一项所述面向FC卡的自动化读写性能测试方法步骤。The processor is configured to implement the steps of the automatic reading and writing performance testing method for an FC card as described in any one of the above when executing the computer program.

对比现有技术,本发明有益效果在于:本发明提供了一种面向FC卡的自动化读写性能测试方法、系统及设备,采用多个性能测试软件的自动测试,获取全面的FC卡读写性能数据;采用多点性能覆盖式测试,自动甄别有效数据并形成数据表格,在一定数据量的基础上自动计算出每张卡的读写性能数据;通过多张FC卡读写性能数据整合,自动生成数据分析图(折线图,柱状图等),可以快速甄别性能突出和性能不足的卡,并输出相关测试文档,完成FC卡读写性能测试的自动化测试。Compared with the prior art, the beneficial effects of the present invention are as follows: the present invention provides an automatic reading and writing performance testing method, system and equipment for FC cards, and adopts automatic testing of multiple performance testing software to obtain comprehensive FC card reading and writing performance. Data; multi-point performance coverage test is adopted to automatically identify valid data and form a data table, and automatically calculate the read and write performance data of each card on the basis of a certain amount of data; Generate data analysis charts (line charts, bar charts, etc.), which can quickly identify cards with outstanding performance and insufficient performance, and output relevant test documents to complete the automatic test of FC card read and write performance test.

本发明能够快速得到想要得到的足量测试数据,测试方式灵活,易于实现。The invention can quickly obtain enough test data to be obtained, and the test method is flexible and easy to realize.

由此可见,本发明与现有技术相比,具有突出的实质性特点和显著的进步,其实施的有益效果也是显而易见的。It can be seen that, compared with the prior art, the present invention has outstanding substantive features and significant progress, and the beneficial effects of its implementation are also obvious.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only It is an embodiment of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to the provided drawings without creative efforts.

附图1是本发明实施例一的方法流程图。FIG. 1 is a flowchart of a method according to Embodiment 1 of the present invention.

附图2是本发明实施例二的方法流程图。FIG. 2 is a flow chart of the method according to the second embodiment of the present invention.

附图3是本发明实施例二中搭建的测试环境的结构示意图。FIG. 3 is a schematic structural diagram of a test environment built in Embodiment 2 of the present invention.

附图4是本发明的系统结构图。Figure 4 is a system structure diagram of the present invention.

具体实施方式Detailed ways

下面结合附图对本发明的具体实施方式做出说明。The specific embodiments of the present invention will be described below with reference to the accompanying drawings.

实施例一:Example 1:

如图1所示的一种面向FC卡的自动化读写性能测试方法,包括如下步骤:As shown in Figure 1, an automatic reading and writing performance testing method for FC cards includes the following steps:

S101:在每张待测的FC卡上依次运行多个预设的性能测试软件的测试脚本,获取FC卡的读写性能数据。S101: Run a plurality of preset performance testing software test scripts in sequence on each FC card to be tested, to obtain read/write performance data of the FC card.

S102:整合FC卡的读写性能数据,生成数据分析图。S102: Integrate the read/write performance data of the FC card to generate a data analysis graph.

S103:甄别数据分析图上的异常点,获取异常点对应的异常FC卡的测试文档。S103: Identify abnormal points on the data analysis graph, and obtain a test document of the abnormal FC card corresponding to the abnormal points.

S104:通过异常FC卡的测试文档获取异常FC卡的读写性能数据。S104: Acquire read/write performance data of the abnormal FC card through the test document of the abnormal FC card.

本实施例提供了一种面向FC卡的自动化读写性能测试方法首先,采用多个性能测试软件的自动测试,获取全面的FC卡读写性能数据;采用多点性能覆盖式测试,自动甄别有效数据并形成数据表格,在一定数据量的基础上自动计算出每张卡的读写性能数据。然后通过多张FC卡读写性能数据整合,自动生成数据分析图,可以快速甄别性能突出和性能不足的卡,并输出相关测试文档,完成FC卡读写性能测试的自动化测试。This embodiment provides an automatic reading and writing performance testing method for FC cards. First, the automatic testing of multiple performance testing software is used to obtain comprehensive FC card reading and writing performance data; the multi-point performance coverage test is adopted, and automatic screening is effective. Data and form a data table, automatically calculate the read and write performance data of each card on the basis of a certain amount of data. Then, through the integration of reading and writing performance data of multiple FC cards, a data analysis graph is automatically generated, which can quickly identify cards with outstanding performance and insufficient performance, and output relevant test documents to complete the automatic test of FC card reading and writing performance test.

实施例二:Embodiment 2:

如图2所示的一种面向FC卡的自动化读写性能测试方法,包括如下步骤:As shown in Figure 2, an automatic reading and writing performance testing method for FC cards includes the following steps:

S201:将一台服务器作为Initiator端,一台存储作为Target端,将待测的FC卡插入Target端存储的插槽中。S201: Use one server as the initiator and one storage as the target, and insert the FC card to be tested into the slot of the storage on the target.

S202:用光纤连接Initiator端服务器上FC卡与Target端存储上要测试的FC卡,搭建FC网络,并建立连接。S202: Connect the FC card on the initiator server and the FC card to be tested on the target storage with optical fibers, build an FC network, and establish a connection.

S203:通过脚本命令建立存储池、卷和LUN映射。S203: Create storage pools, volumes and LUN mappings through script commands.

通过以上步骤,完成了测试环境的搭建,测试环境的具体结构如图3所示。Through the above steps, the construction of the test environment is completed, and the specific structure of the test environment is shown in Figure 3.

S204:通过性能测试脚本命令依次运行多个预设性能测试软件的测试脚本,生成FC卡读写性能测试报告。S204: Run the test scripts of a plurality of preset performance test software in sequence through the performance test script command, and generate the FC card reading and writing performance test report.

S205:监测Initiator端服务器FC卡读写性能测试报告的获取,判断FC卡读写性能测试报告是否小于预设的测试份数n,如果小于n份,则执行步骤S204,否则进入步骤S206。S205: Monitor the acquisition of the FC card read/write performance test report of the initiator server, and determine whether the FC card read/write performance test report is less than the preset number of test copies n, if less than n, execute step S204, otherwise go to step S206.

S206:抓取FC卡读写性能测试报告的内容,甄别有效数据并形成数据表格,在n份测试数据的基础上自动计算出各种场景下FC卡的读写性能数据的平均值,并存入每张卡依据测试场景建立的性能数据表格中。S206: Grab the content of the FC card read/write performance test report, identify valid data and form a data table, and automatically calculate the average value of the FC card read/write performance data in various scenarios on the basis of the n pieces of test data, and store them together Enter the performance data table established by each card according to the test scenario.

S207:重复执行步骤S201-S206,获取每张FC卡的读写性能测试数据表格。S207: Repeat steps S201-S206 to obtain the read/write performance test data table of each FC card.

S208:提取FC卡的读写性能测试数据表格,并分场景提取每张卡的性能数据,形成不同场景下FC卡的性能数据表格。S208: Extract the read/write performance test data table of the FC card, and extract the performance data of each card in different scenarios to form a performance data table of the FC card in different scenarios.

S209:根据不同场景下FC卡的性能数据表格生成不同场景下的性能数据分析图。S209: Generate a performance data analysis graph in different scenarios according to the performance data table of the FC card in different scenarios.

其中,所述性能数据分析图采用折线图或柱状图。Wherein, the performance data analysis graph adopts a line graph or a bar graph.

S210:分析不同场景下的性能数据分析图,获取性能数值的异常点,并根据异常点的FC卡编号、测试场景和与所有FC卡测试数据平均值的差值确定异常FC卡,并输出异常FC卡的测试文档。S210: Analyze performance data analysis graphs in different scenarios, obtain abnormal points of performance values, and determine abnormal FC cards according to the FC card number of the abnormal points, the test scenario, and the difference from the average value of all FC card test data, and output the abnormality Test documentation for FC cards.

所述性能数值的异常点包括性能突出和性能不足的点,可在折线图或柱状图中直观的体现出来,上述点的数值与在其对应的测试场景中所有FC卡测试数据平均值的差值如果超过预设阈值,则可确定异常点对应的FC卡为异常FC卡。The abnormal points of the performance values include points with outstanding performance and insufficient performance, which can be visually reflected in the line graph or histogram. The difference between the value of the above point and the average value of all FC card test data in its corresponding test scene If the value exceeds the preset threshold, it can be determined that the FC card corresponding to the abnormal point is an abnormal FC card.

S211:通过异常FC卡的测试文档获取异常FC卡的读写性能数据。S211: Acquire read/write performance data of the abnormal FC card through the test document of the abnormal FC card.

通过执行上述方法步骤,测试人员通过相关测试文档可以直接获取性能突出和性能不足的FC卡读写性能测试信息,完成多FC卡对比测试和单FC卡多软件多场景的性能测试。By performing the above method and steps, testers can directly obtain the reading and writing performance test information of FC cards with outstanding performance and insufficient performance through relevant test documents, and complete the comparison test of multiple FC cards and the performance test of single FC card with multiple software and multiple scenarios.

相应的,如图4所示,本发明还公开了一种面向FC卡的自动化读写性能测试系统,包括:Correspondingly, as shown in Figure 4, the present invention also discloses an automatic reading and writing performance testing system for FC cards, including:

执行模块,用于在每张待测的FC卡上依次运行多个预设的性能测试软件的测试脚本,获取FC卡的读写性能数据;The execution module is used to sequentially run the test scripts of multiple preset performance testing software on each FC card to be tested, and obtain the read and write performance data of the FC card;

数据处理模块,用于整合FC卡的读写性能数据,生成数据分析图;The data processing module is used to integrate the read/write performance data of the FC card and generate a data analysis graph;

数据筛选模块,用于甄别数据分析图上的异常点,获取异常点对应的异常FC卡的测试文档;The data screening module is used to identify the abnormal points on the data analysis graph, and obtain the test documents of the abnormal FC card corresponding to the abnormal points;

读取模块,用于通过异常FC卡的测试文档获取异常FC卡的读写性能数据。The reading module is used to obtain the read/write performance data of the abnormal FC card through the test file of the abnormal FC card.

相应的,本发明还公开了一种面向FC卡的自动化读写性能测试设备,包括:Correspondingly, the present invention also discloses an automatic reading and writing performance testing equipment for FC cards, comprising:

存储器,用于存储计算机程序;memory for storing computer programs;

处理器,用于执行所述计算机程序时实现如上文任一项所述面向FC卡的自动化读写性能测试方法步骤。The processor is configured to implement the steps of the automatic reading and writing performance testing method for an FC card as described in any one of the above when executing the computer program.

本领域的技术人员可以清楚地了解到本发明实施例中的技术可借助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本发明实施例中的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中如U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质,包括若干指令用以使得一台计算机终端(可以是个人计算机,服务器,或者第二终端、网络终端等)执行本发明各个实施例所述方法的全部或部分步骤。本说明书中各个实施例之间相同相似的部分互相参见即可。尤其,对于终端实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例中的说明即可。Those skilled in the art can clearly understand that the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention can be embodied in the form of software products in essence or in the parts that make contributions to the prior art. The computer software products are stored in a storage medium such as a USB flash drive, a mobile Hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes, including several instructions to make a computer terminal (It may be a personal computer, a server, or a second terminal, a network terminal, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. It is sufficient to refer to each other for the same and similar parts among the various embodiments in this specification. In particular, for the terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, refer to the description in the method embodiment.

在本发明所提供的几个实施例中,应该理解到,所揭露的系统、系统和方法,可以通过其它的方式实现。例如,以上所描述的系统实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,系统或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed systems, systems and methods may be implemented in other manners. For example, the system embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection between systems or units, and may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本发明各个实施例中的各功能模块可以集成在一个处理单元中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个单元中。In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, or each module may exist physically alone, or two or more modules may be integrated into one unit.

结合附图和具体实施例,对本发明作进一步说明。应理解,这些实施例仅用于说明本发明而不用于限制本发明的范围。此外应理解,在阅读了本发明讲授的内容之后,本领域技术人员可以对本发明作各种改动或修改,这些等价形式同样落于本申请所限定的范围。The present invention will be further described with reference to the accompanying drawings and specific embodiments. It should be understood that these examples are only used to illustrate the present invention and not to limit the scope of the present invention. In addition, it should be understood that after reading the teaching content of the present invention, those skilled in the art can make various changes or modifications to the present invention, and these equivalent forms also fall within the scope defined by the present application.

Claims (8)

1.一种面向FC卡的自动化读写性能测试方法,其特征在于,包括:1. an automated read-write performance testing method for FC card, is characterized in that, comprises: 在每张待测的FC卡上依次运行多个预设的性能测试软件的测试脚本,获取FC卡的读写性能数据;Run the test scripts of multiple preset performance testing software in sequence on each FC card to be tested to obtain the read and write performance data of the FC card; 整合FC卡的读写性能数据,生成数据分析图;Integrate the read/write performance data of the FC card to generate a data analysis graph; 甄别数据分析图上的异常点,获取异常点对应的异常FC卡的测试文档;Identify the abnormal points on the data analysis graph, and obtain the test documents of the abnormal FC card corresponding to the abnormal points; 通过异常FC卡的测试文档获取异常FC卡的读写性能数据。Obtain the read/write performance data of the abnormal FC card from the test document of the abnormal FC card. 2.根据权利要求1所述的面向FC卡的自动化读写性能测试方法,其特征在于,所述在每张待测的FC卡上依次运行多个预设性能测试软件的测试脚本,获取FC卡的读写性能数据包括如下步骤:2. the automatic read-write performance test method oriented to FC card according to claim 1, is characterized in that, described on each FC card to be tested successively runs the test script of a plurality of preset performance test software, obtains FC The reading and writing performance data of the card includes the following steps: S21:将一台服务器作为Initiator端,一台存储作为Target端,将待测的FC卡插入Target端存储的插槽中;S21: Use one server as the Initiator and one storage as the Target, and insert the FC card to be tested into the slot of the Target storage; S22:用光纤连接Initiator端服务器上FC卡与Target端存储上要测试的FC卡,搭建FC网络,并建立连接;S22: Connect the FC card on the Initiator server and the FC card to be tested on the Target storage with optical fiber, build an FC network, and establish a connection; S23:通过性能测试脚本命令依次运行多个预设性能测试软件的测试脚本,生成FC卡读写性能测试报告;S23: Run the test scripts of multiple preset performance test software in sequence through the performance test script command, and generate the FC card reading and writing performance test report; S24:监测Initiator端服务器FC卡读写性能测试报告的获取,判断FC卡读写性能测试报告是否小于预设的测试份数n,如果小于n份,则执行步骤S23,否则进入步骤S25;S24: Monitor the acquisition of the FC card read-write performance test report of the initiator server, and determine whether the FC card read-write performance test report is less than the preset number of test copies n, if it is less than n copies, then execute step S23, otherwise, go to step S25; S25:抓取FC卡读写性能测试报告的内容,甄别有效数据并形成数据表格,在n份测试数据的基础上自动计算出各种场景下FC卡的读写性能数据的平均值,并存入每张卡依据测试场景建立的性能数据表格中;S25: Grab the content of the FC card read/write performance test report, identify valid data and form a data table, and automatically calculate the average value of the FC card read/write performance data in various scenarios on the basis of n copies of the test data, and store them together. Enter the performance data table established by each card according to the test scenario; S26:重复执行步骤S21-S25,获取每张FC卡的读写性能测试数据表格。S26: Steps S21-S25 are repeatedly executed to obtain the read/write performance test data table of each FC card. 3.根据权利要求2所述的面向FC卡的自动化读写性能测试方法,其特征在于,所述步骤S22还包括:通过脚本命令建立存储池、卷和LUN映射。3 . The automatic reading and writing performance testing method for an FC card according to claim 2 , wherein the step S22 further comprises: establishing storage pools, volumes and LUN mappings through script commands. 4 . 4.根据权利要求2所述的面向FC卡的自动化读写性能测试方法,其特征在于,所述整合FC卡的读写性能数据,生成数据分析图,包括如下步骤:4. the automatic read-write performance test method for FC card according to claim 2, is characterized in that, the read-write performance data of described integration FC card, generates data analysis figure, comprises the steps: S41:提取FC卡的读写性能测试数据表格,并分场景提取每张卡的性能数据,形成不同场景下FC卡的性能数据表格;S41 : extracting the reading and writing performance test data table of the FC card, and extracting the performance data of each card in different scenarios to form the performance data table of the FC card in different scenarios; S42:根据不同场景下FC卡的性能数据表格生成不同场景下的性能数据分析图。S42: Generate performance data analysis graphs in different scenarios according to performance data tables of the FC card in different scenarios. 5.根据权利要求4所述的面向FC卡的自动化读写性能测试方法,其特征在于,所述性能数据分析图采用折线图或柱状图。5 . The automatic reading and writing performance testing method for an FC card according to claim 4 , wherein the performance data analysis graph adopts a line graph or a bar graph. 6 . 6.根据权利要求4所述的面向FC卡的自动化读写性能测试方法,其特征在于,所述甄别数据分析图上的异常点,获取异常点对应的异常FC卡的测试文档包括:分析不同场景下的性能数据分析图,获取性能数值的异常点,并根据异常点的FC卡编号、测试场景和与所有FC卡测试数据平均值的差值确定异常FC卡,并输出异常FC卡的测试文档。6. the automatic read-write performance test method oriented to FC card according to claim 4, is characterized in that, the abnormal point on the described screening data analysis diagram, obtains the test document of the abnormal FC card corresponding to the abnormal point and comprises: analyzing different The performance data analysis chart in the scenario, obtain the abnormal points of performance values, and determine the abnormal FC card according to the FC card number of the abnormal point, the test scenario, and the difference with the average value of all FC card test data, and output the test of the abnormal FC card documentation. 7.一种面向FC卡的自动化读写性能测试系统,其特征在于,还包括:7. an automatic reading and writing performance test system for FC card, is characterized in that, also comprises: 执行模块,用于在每张待测的FC卡上依次运行多个预设的性能测试软件的测试脚本,获取FC卡的读写性能数据;The execution module is used to sequentially run the test scripts of multiple preset performance testing software on each FC card to be tested, and obtain the read and write performance data of the FC card; 数据处理模块,用于整合FC卡的读写性能数据,生成数据分析图;The data processing module is used to integrate the read/write performance data of the FC card and generate a data analysis graph; 数据筛选模块,用于甄别数据分析图上的异常点,获取异常点对应的异常FC卡的测试文档;The data screening module is used to identify the abnormal points on the data analysis graph, and obtain the test documents of the abnormal FC card corresponding to the abnormal points; 读取模块,用于通过异常FC卡的测试文档获取异常FC卡的读写性能数据。The reading module is used to obtain the read/write performance data of the abnormal FC card through the test file of the abnormal FC card. 8.一种面向FC卡的自动化读写性能测试设备,其特征在于,包括:8. a kind of automatic reading and writing performance testing equipment for FC card, is characterized in that, comprises: 存储器,用于存储计算机程序;memory for storing computer programs; 处理器,用于执行所述计算机程序时实现如权利要求1至6任一项所述面向FC卡的自动化读写性能测试方法步骤。The processor is configured to implement the steps of the automatic reading and writing performance testing method for an FC card according to any one of claims 1 to 6 when executing the computer program.
CN201910754789.2A 2019-08-15 2019-08-15 An automatic reading and writing performance testing method, system and equipment for FC card Pending CN110572298A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910754789.2A CN110572298A (en) 2019-08-15 2019-08-15 An automatic reading and writing performance testing method, system and equipment for FC card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910754789.2A CN110572298A (en) 2019-08-15 2019-08-15 An automatic reading and writing performance testing method, system and equipment for FC card

Publications (1)

Publication Number Publication Date
CN110572298A true CN110572298A (en) 2019-12-13

Family

ID=68775447

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910754789.2A Pending CN110572298A (en) 2019-08-15 2019-08-15 An automatic reading and writing performance testing method, system and equipment for FC card

Country Status (1)

Country Link
CN (1) CN110572298A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024113780A1 (en) * 2022-12-01 2024-06-06 苏州元脑智能科技有限公司 Fc link management method, apparatus and device, and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140237115A1 (en) * 2011-04-27 2014-08-21 Netapp, Inc. Method and system for securely capturing workloads at a live network for replaying at a test network
CN205829909U (en) * 2016-07-29 2016-12-21 四川天邑康和通信股份有限公司 A kind of test system of GPON light cat
US9647905B1 (en) * 2012-12-21 2017-05-09 EMC IP Holding Company LLC System and method for optimized management of statistics counters, supporting lock-free updates, and queries for any to-the-present time interval
CN109639523A (en) * 2018-12-12 2019-04-16 天津市康凯特软件科技有限公司 The batch-automated test macro of light cat and test method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140237115A1 (en) * 2011-04-27 2014-08-21 Netapp, Inc. Method and system for securely capturing workloads at a live network for replaying at a test network
US9647905B1 (en) * 2012-12-21 2017-05-09 EMC IP Holding Company LLC System and method for optimized management of statistics counters, supporting lock-free updates, and queries for any to-the-present time interval
CN205829909U (en) * 2016-07-29 2016-12-21 四川天邑康和通信股份有限公司 A kind of test system of GPON light cat
CN109639523A (en) * 2018-12-12 2019-04-16 天津市康凯特软件科技有限公司 The batch-automated test macro of light cat and test method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024113780A1 (en) * 2022-12-01 2024-06-06 苏州元脑智能科技有限公司 Fc link management method, apparatus and device, and readable storage medium

Similar Documents

Publication Publication Date Title
CN111563014B (en) Interface service performance test method, device, equipment and storage medium
US10037255B2 (en) Device, method and program for performing system testing
CN110851318A (en) Serial port log collection method, system and equipment under server management system
US11947842B2 (en) Method for writing data in append mode, device and storage medium
US20160149765A1 (en) System and method for extracting protocol information from a simulation environment to analyze system behavior
CN104572386A (en) Method for automatically testing HBA card bandwidth under Linux
US7603372B1 (en) Modeling file system operation streams
CN109933504A (en) A kind of hard disk delay test method, device, terminal and storage medium
CN110572298A (en) An automatic reading and writing performance testing method, system and equipment for FC card
CN113868137A (en) Method, device and system for processing buried point data and server
CN118567998A (en) Method and device for acquiring evaluation information of code generation tool
KR101611433B1 (en) Performance testing method, performance testing apparatus performing the same and storage media sotring the same
CN112995337A (en) High-performance processor chip-based high-performance Internet of things hardware platform and method
CN111817916A (en) Test method, device, device and storage medium based on mobile terminal cluster
CN111125005B (en) Method, system and equipment for optimizing IO performance of HDFS distributed file system
US20130259062A1 (en) Multi-protocol bridge with integrated performance accelerating cache
CN115421749A (en) A method, system, device and medium for refreshing hard disk firmware based on Linux system
CN115617629A (en) Storage array performance testing method, system, electronic equipment and storage medium
CN114942914A (en) Method for generating metadata from acquired signals for search, filtering and machine learning input
CN106021081B (en) A kind of device, server and method for testing RAID card performance
CN114064504A (en) Detection method, device, medium and computing equipment for full link pressure measurement data isolation
CN106998468B (en) A kind of method and system of Performance Testing of Video Server
CN114115978B (en) Firmware upgrading method and device, electronic equipment and storage medium
CN118094935B (en) Constitutive parameter optimizing device, constitutive parameter optimizing method, electronic equipment and readable storage medium
CN115547403A (en) A hard disk hot plug test method, device, equipment and storage medium

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191213