CN113645162B - Hardware testing method, system, equipment and medium of switch - Google Patents
Hardware testing method, system, equipment and medium of switch Download PDFInfo
- Publication number
- CN113645162B CN113645162B CN202110904342.6A CN202110904342A CN113645162B CN 113645162 B CN113645162 B CN 113645162B CN 202110904342 A CN202110904342 A CN 202110904342A CN 113645162 B CN113645162 B CN 113645162B
- Authority
- CN
- China
- Prior art keywords
- attribute parameters
- tested
- test
- switch
- hardware
- 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.)
- Active
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 155
- 238000000034 method Methods 0.000 claims description 23
- 238000004590 computer program Methods 0.000 claims description 10
- 230000004044 response Effects 0.000 claims description 8
- 230000008569 process Effects 0.000 description 10
- 238000004519 manufacturing process Methods 0.000 description 6
- 238000002405 diagnostic procedure Methods 0.000 description 5
- 230000002159 abnormal effect Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000010998 test method Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 230000014509 gene expression Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000011990 functional testing Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/55—Prevention, detection or correction of errors
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0677—Localisation of faults
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/55—Prevention, detection or correction of errors
- H04L49/555—Error detection
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
Description
技术领域technical field
本发明涉及测试领域,具体涉及一种交换机的硬件测试方法、系统、设备以及存储介质。The invention relates to the testing field, in particular to a hardware testing method, system, equipment and storage medium of a switch.
背景技术Background technique
交换机生产出货时,需要经过产线生产测试程序的测试,所有测试项通过才能交付到客户手中。交换机生产测试程序的设计需要完全覆盖交换机功能。When the switch is produced and shipped, it needs to pass the test of the production line production test program, and all test items can be delivered to the customer. The design of the switch production test program needs to fully cover the switch functionality.
目前市面上的交换机厂商,都有自己的一套交换机生产测试套件。交换机厂商根据自己产品特点开发出适用于自己产品的诊断测试程序;而且针对不同型号的交换机,诊断测试程序也会存在少许差异。客户在拿到交付产品的同时,可以拿到一份详细的出厂测试报告,但具体的功能测试细节,客户是无法涉足的。At present, switch manufacturers on the market have their own set of switch production test suites. Switch manufacturers develop diagnostic test programs suitable for their own products according to their own product characteristics; and for different types of switches, there are some differences in diagnostic test programs. Customers can get a detailed factory test report at the same time as they get the delivered product, but the customer cannot get involved in the specific functional test details.
各交换机厂商的生产测试程序都只针对自己的产品,而且诊断测试程序也没有统一的测试流程和判断规则。举例来说,如何测试交换机上的交换芯片功能正常,如何制定通过测试的条件,这对各厂商来说,是没有统一的。The production test procedures of each switch manufacturer are only aimed at their own products, and the diagnostic test procedures do not have a unified test process and judgment rules. For example, how to test the normal function of the switch chip on the switch and how to formulate the conditions for passing the test are not uniform for each manufacturer.
发明内容Contents of the invention
有鉴于此,为了克服上述问题的至少一个方面,本发明实施例提出一种交换机的硬件测试方法,包括以下步骤:In view of this, in order to overcome at least one aspect of the above problems, an embodiment of the present invention proposes a hardware testing method for a switch, including the following steps:
获取待测试交换机的配置文件和出厂属性参数;Obtain the configuration file and factory attribute parameters of the switch to be tested;
根据所述配置文件确定所述待测试交换机中的多个待测试硬件;determining a plurality of hardware to be tested in the switch to be tested according to the configuration file;
获取所述多个待测试硬件分别对应的测试文件;Acquiring test files respectively corresponding to the plurality of hardware to be tested;
调用预先定义的数据接口层中的若干个接口以获取每一个所述测试文件中定义的所述待测试硬件的属性参数;calling several interfaces in the predefined data interface layer to obtain the attribute parameters of the hardware to be tested defined in each test file;
将获取到的属性参数和所述出厂属性参数进行对比,并基于对比结果生成测试报告。Comparing the acquired attribute parameters with the factory attribute parameters, and generating a test report based on the comparison result.
在一些实施例中,还包括:In some embodiments, also include:
在测试服务器上部署主服务,并在待测试交换机上部署具有第一接口的从服务,其中所述主服务和所述从服务通过所述第一接口进行交互。A master service is deployed on the test server, and a slave service with a first interface is deployed on the switch to be tested, wherein the master service and the slave service interact through the first interface.
在一些实施例中,还包括:In some embodiments, also include:
利用所述主服务获取所述配置文件和出厂属性参数,并根据所述配置文件获取对应的测试文件。Obtain the configuration file and factory attribute parameters by using the main service, and obtain the corresponding test file according to the configuration file.
在一些实施例中,调用预先定义的数据接口层中的若干个接口以获取每一个所述测试文件中定义的所述待测试硬件的属性参数,进一步包括:In some embodiments, calling several interfaces in the predefined data interface layer to obtain the attribute parameters of the hardware to be tested defined in each test file, further comprising:
所述主服务利用所述第一接口向所述从服务发送获取所述测试文件中定义的所述待测试硬件的属性参数的请求。The master service uses the first interface to send a request to the slave service to acquire the attribute parameters of the hardware to be tested defined in the test file.
在一些实施例中,还包括:In some embodiments, also include:
响应于所述从服务接收到所述请求,调用预先在待测交换机定义的数据接口层中的若干个接口以获取所述属性参数。In response to receiving the request from the service, calling several interfaces in the data interface layer defined in advance in the switch under test to obtain the attribute parameters.
在一些实施例中,将获取到的属性参数和所述出厂属性参数进行对比,并基于对比结果生成测试报告,进一步包括:In some embodiments, comparing the acquired attribute parameters with the factory attribute parameters, and generating a test report based on the comparison results, further comprising:
所述从服务将获取到的属性参数通过所述第一接口返回到所述主服务;The slave service returns the acquired attribute parameters to the master service through the first interface;
所述主服务对接收到的属性参数和所述出厂属性参数进行对比,以基于对比结果生成测试报告。The main service compares the received attribute parameters with the factory attribute parameters to generate a test report based on the comparison result.
在一些实施例中,还包括:In some embodiments, also include:
创建数据库;Create a database;
将待测试交换机的所述配置文件和出厂属性参数预先保存在所述数据库中。Pre-save the configuration file and factory attribute parameters of the switch to be tested in the database.
基于同一发明构思,根据本发明的另一个方面,本发明的实施例还提供了一种交换机的硬件测试系统,包括:Based on the same inventive concept, according to another aspect of the present invention, an embodiment of the present invention also provides a hardware test system for a switch, including:
第一获取模块,配置为获取待测试交换机的配置文件和出厂属性参数;The first obtaining module is configured to obtain configuration files and factory attribute parameters of the switch to be tested;
确定模块,配置为根据所述配置文件确定所述待测试交换机中的多个待测试硬件;A determination module configured to determine a plurality of hardware to be tested in the switch to be tested according to the configuration file;
第二获取模块,配置为获取所述多个待测试硬件分别对应的测试文件;The second obtaining module is configured to obtain test files respectively corresponding to the plurality of hardware to be tested;
调用模块,配置为调用预先定义的数据接口层中的若干个接口以获取每一个所述测试文件中定义的所述待测试硬件的属性参数;The calling module is configured to call several interfaces in the predefined data interface layer to obtain the attribute parameters of the hardware to be tested defined in each of the test files;
对比模块,配置为将获取到的属性参数和所述出厂属性参数进行对比,并基于对比结果生成测试报告。The comparison module is configured to compare the acquired attribute parameters with the factory attribute parameters, and generate a test report based on the comparison result.
基于同一发明构思,根据本发明的另一个方面,本发明的实施例还提供了一种计算机设备,包括:Based on the same inventive concept, according to another aspect of the present invention, an embodiment of the present invention also provides a computer device, including:
至少一个处理器;以及at least one processor; and
存储器,所述存储器存储有可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时执行以下步骤:A memory, the memory stores a computer program that can run on the processor, wherein the processor performs the following steps when executing the program:
获取待测试交换机的配置文件和出厂属性参数;Obtain the configuration file and factory attribute parameters of the switch to be tested;
根据所述配置文件确定所述待测试交换机中的多个待测试硬件;determining a plurality of hardware to be tested in the switch to be tested according to the configuration file;
获取所述多个待测试硬件分别对应的测试文件;Acquiring test files respectively corresponding to the plurality of hardware to be tested;
调用预先定义的数据接口层中的若干个接口以获取每一个所述测试文件中定义的所述待测试硬件的属性参数;calling several interfaces in the predefined data interface layer to obtain the attribute parameters of the hardware to be tested defined in each test file;
将获取到的属性参数和所述出厂属性参数进行对比,并基于对比结果生成测试报告。Comparing the acquired attribute parameters with the factory attribute parameters, and generating a test report based on the comparison result.
在一些实施例中,还包括:In some embodiments, also include:
在测试服务器上部署主服务,并在待测试交换机上部署具有第一接口的从服务,其中所述主服务和所述从服务通过所述第一接口进行交互。A master service is deployed on the test server, and a slave service with a first interface is deployed on the switch to be tested, wherein the master service and the slave service interact through the first interface.
在一些实施例中,还包括:In some embodiments, also include:
利用所述主服务获取所述配置文件和出厂属性参数,并根据所述配置文件获取对应的测试文件。Obtain the configuration file and factory attribute parameters by using the main service, and obtain the corresponding test file according to the configuration file.
在一些实施例中,调用预先定义的数据接口层中的若干个接口以获取每一个所述测试文件中定义的所述待测试硬件的属性参数,进一步包括:In some embodiments, calling several interfaces in the predefined data interface layer to obtain the attribute parameters of the hardware to be tested defined in each test file, further comprising:
所述主服务利用所述第一接口向所述从服务发送获取所述测试文件中定义的所述待测试硬件的属性参数的请求。The master service uses the first interface to send a request to the slave service to acquire the attribute parameters of the hardware to be tested defined in the test file.
在一些实施例中,还包括:In some embodiments, also include:
响应于所述从服务接收到所述请求,调用预先在待测交换机定义的数据接口层中的若干个接口以获取所述属性参数。In response to receiving the request from the service, calling several interfaces in the data interface layer defined in advance in the switch under test to obtain the attribute parameters.
在一些实施例中,将获取到的属性参数和所述出厂属性参数进行对比,并基于对比结果生成测试报告,进一步包括:In some embodiments, comparing the acquired attribute parameters with the factory attribute parameters, and generating a test report based on the comparison results, further comprising:
所述从服务将获取到的属性参数通过所述第一接口返回到所述主服务;The slave service returns the acquired attribute parameters to the master service through the first interface;
所述主服务对接收到的属性参数和所述出厂属性参数进行对比,以基于对比结果生成测试报告。The main service compares the received attribute parameters with the factory attribute parameters to generate a test report based on the comparison result.
在一些实施例中,还包括:In some embodiments, also include:
创建数据库;Create a database;
将待测试交换机的所述配置文件和出厂属性参数预先保存在所述数据库中。Pre-save the configuration file and factory attribute parameters of the switch to be tested in the database.
基于同一发明构思,根据本发明的另一个方面,本发明的实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时执行以下步骤:Based on the same inventive concept, according to another aspect of the present invention, an embodiment of the present invention also provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor Perform the following steps:
获取待测试交换机的配置文件和出厂属性参数;Obtain the configuration file and factory attribute parameters of the switch to be tested;
根据所述配置文件确定所述待测试交换机中的多个待测试硬件;determining a plurality of hardware to be tested in the switch to be tested according to the configuration file;
获取所述多个待测试硬件分别对应的测试文件;Acquiring test files respectively corresponding to the plurality of hardware to be tested;
调用预先定义的数据接口层中的若干个接口以获取每一个所述测试文件中定义的所述待测试硬件的属性参数;calling several interfaces in the predefined data interface layer to obtain the attribute parameters of the hardware to be tested defined in each test file;
将获取到的属性参数和所述出厂属性参数进行对比,并基于对比结果生成测试报告。Comparing the acquired attribute parameters with the factory attribute parameters, and generating a test report based on the comparison result.
在一些实施例中,还包括:In some embodiments, also include:
在测试服务器上部署主服务,并在待测试交换机上部署具有第一接口的从服务,其中所述主服务和所述从服务通过所述第一接口进行交互。A master service is deployed on the test server, and a slave service with a first interface is deployed on the switch to be tested, wherein the master service and the slave service interact through the first interface.
在一些实施例中,还包括:In some embodiments, also include:
利用所述主服务获取所述配置文件和出厂属性参数,并根据所述配置文件获取对应的测试文件。Obtain the configuration file and factory attribute parameters by using the main service, and obtain the corresponding test file according to the configuration file.
在一些实施例中,调用预先定义的数据接口层中的若干个接口以获取每一个所述测试文件中定义的所述待测试硬件的属性参数,进一步包括:In some embodiments, calling several interfaces in the predefined data interface layer to obtain the attribute parameters of the hardware to be tested defined in each test file, further comprising:
所述主服务利用所述第一接口向所述从服务发送获取所述测试文件中定义的所述待测试硬件的属性参数的请求。The master service uses the first interface to send a request to the slave service to acquire the attribute parameters of the hardware to be tested defined in the test file.
在一些实施例中,还包括:In some embodiments, also include:
响应于所述从服务接收到所述请求,调用预先在待测交换机定义的数据接口层中的若干个接口以获取所述属性参数。In response to receiving the request from the service, calling several interfaces in the data interface layer defined in advance in the switch under test to obtain the attribute parameters.
在一些实施例中,将获取到的属性参数和所述出厂属性参数进行对比,并基于对比结果生成测试报告,进一步包括:In some embodiments, comparing the acquired attribute parameters with the factory attribute parameters, and generating a test report based on the comparison results, further comprising:
所述从服务将获取到的属性参数通过所述第一接口返回到所述主服务;The slave service returns the acquired attribute parameters to the master service through the first interface;
所述主服务对接收到的属性参数和所述出厂属性参数进行对比,以基于对比结果生成测试报告。The main service compares the received attribute parameters with the factory attribute parameters to generate a test report based on the comparison result.
在一些实施例中,还包括:In some embodiments, also include:
创建数据库;Create a database;
将待测试交换机的所述配置文件和出厂属性参数预先保存在所述数据库中。Pre-save the configuration file and factory attribute parameters of the switch to be tested in the database.
本发明具有以下有益技术效果之一:本发明提出的方案通过数据接口层使得交换机测试简单化、统一化,进而能够快速定位交换机故障。The present invention has one of the following beneficial technical effects: the scheme proposed by the present invention simplifies and unifies the test of the switch through the data interface layer, and then can quickly locate the fault of the switch.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的实施例。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the 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 These are some embodiments of the present invention, and those skilled in the art can obtain other embodiments according to these drawings without any creative effort.
图1为本发明的实施例提供的交换机的硬件测试方法的流程示意图;Fig. 1 is the schematic flow chart of the hardware test method of the switch that the embodiment of the present invention provides;
图2为本发明的实施例提供的交换机的硬件测试方法的流程框图;Fig. 2 is the flowchart of the hardware testing method of the switch that the embodiment of the present invention provides;
图3为本发明的实施例提供的硬件测试系统的结构示意图;Fig. 3 is a schematic structural diagram of a hardware testing system provided by an embodiment of the present invention;
图4为本发明的实施例提供的计算机设备的结构示意图;FIG. 4 is a schematic structural diagram of a computer device provided by an embodiment of the present invention;
图5为本发明的实施例提供的计算机可读存储介质的结构示意图。FIG. 5 is a schematic structural diagram of a computer-readable storage medium provided by an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明的目的、技术方案和优点更加清楚明白,以下结合具体实施例,并参照附图,对本发明实施例进一步详细说明。In order to make the object, technical solution and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.
需要说明的是,本发明实施例中所有使用“第一”和“第二”的表述均是为了区分两个相同名称非相同的实体或者非相同的参量,可见“第一”“第二”仅为了表述的方便,不应理解为对本发明实施例的限定,后续实施例对此不再一一说明。It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are to distinguish two entities with the same name but different parameters or parameters that are not the same, see "first" and "second" It is only for the convenience of expression, and should not be construed as a limitation on the embodiments of the present invention, which will not be described one by one in the subsequent embodiments.
根据本发明的一个方面,本发明的实施例提出一种交换机的硬件测试方法,如图1所示,其可以包括步骤:According to one aspect of the present invention, the embodiment of the present invention proposes a kind of hardware testing method of switch, as shown in Figure 1, it may comprise steps:
S1,获取待测试交换机的配置文件和出厂属性参数;S1, obtaining the configuration file and factory attribute parameters of the switch to be tested;
S2,根据所述配置文件确定所述待测试交换机中的多个待测试硬件;S2. Determine a plurality of hardware to be tested in the switch to be tested according to the configuration file;
S3,获取所述多个待测试硬件分别对应的测试文件;S3. Obtain test files respectively corresponding to the plurality of hardware to be tested;
S4,调用预先定义的数据接口层中的若干个接口以获取每一个所述测试文件中定义的所述待测试硬件的属性参数;S4, calling several interfaces in the predefined data interface layer to obtain the attribute parameters of the hardware to be tested defined in each of the test files;
S5,将获取到的属性参数和所述出厂属性参数进行对比,并基于对比结果生成测试报告。S5, comparing the acquired attribute parameters with the factory attribute parameters, and generating a test report based on the comparison result.
本发明提出的方案通过数据接口层使得交换机测试简单化、统一化,进而能够快速定位交换机故障。The solution proposed by the invention simplifies and unifies the test of the switch through the data interface layer, and then can quickly locate the fault of the switch.
在一些实施例中,还包括:In some embodiments, also include:
在测试服务器上部署主服务,并在待测试交换机上部署具有第一接口的从服务,其中所述主服务和所述从服务通过所述第一接口进行交互。A master service is deployed on the test server, and a slave service with a first interface is deployed on the switch to be tested, wherein the master service and the slave service interact through the first interface.
具体的,如图2所示,在测试服务器上部署的主服务(也即测试主程序)是一套规范的诊断测试程序,部署在服务器server上,实现了交换机各器件的测试流程;在待测试交换机上部署的具有第一接口的从服务(也即客户端程序)核心是restful server服务。Specifically, as shown in Figure 2, the main service (i.e. the main test program) deployed on the test server is a set of standardized diagnostic test programs, deployed on the server server, and realizes the test process of each device of the switch; The core of the slave service (that is, the client program) deployed on the test switch with the first interface is the restful server service.
在一些实施例中,还包括:In some embodiments, also include:
利用所述主服务获取所述配置文件和出厂属性参数,并根据所述配置文件获取对应的测试文件。Obtain the configuration file and factory attribute parameters by using the main service, and obtain the corresponding test file according to the configuration file.
在一些实施例中,将获取到的属性参数和所述出厂属性参数进行对比,并基于对比结果生成测试报告,进一步包括:In some embodiments, comparing the acquired attribute parameters with the factory attribute parameters, and generating a test report based on the comparison results, further comprising:
所述从服务将获取到的属性参数通过所述第一接口返回到所述主服务;The slave service returns the acquired attribute parameters to the master service through the first interface;
所述主服务对接收到的属性参数和所述出厂属性参数进行对比,以基于对比结果生成测试报告。The main service compares the received attribute parameters with the factory attribute parameters to generate a test report based on the comparison result.
具体的,配置文件配置了该待测交换机进行哪些测试项,主服务获取到待测交换机的配置文件后,即可得知该交换机进行的测试项,然后获取对应的测试文件,测试文件中包括相应的测试流程,执行测试流程即可得到该待测交换机相应的硬件的测试结果,然后与出厂的默认配置进行对比。每个器件的测试流程都是按照交换机行业内测试准则执行。测试主程序首先会访问测试数据库,获取待测设备的IP地址和出厂配置等数据;然后通过restful网络服务发起请求,请求获取待测设备的硬件信息,并等待返回;待测设备返回数据后,测试主程序检查返回数据是否正确,并与测试数据库匹配,生成测试报告。Specifically, the configuration file configures which test items the switch to be tested performs. After the main service obtains the configuration file of the switch to be tested, it can know the test items performed by the switch, and then obtain the corresponding test file. The test file includes According to the corresponding test process, the test process can be executed to obtain the test result of the corresponding hardware of the switch to be tested, and then compare it with the factory default configuration. The testing process for each device is performed in accordance with the testing guidelines in the switch industry. The test main program will first access the test database to obtain data such as the IP address and factory configuration of the device under test; then initiate a request through the restful network service to obtain the hardware information of the device under test, and wait for the return; after the device under test returns the data, The test main program checks whether the returned data is correct, matches with the test database, and generates a test report.
测试主程序是一整套交换机测试流程,包含了交换机所有器件的测试项,主要有PSU电源、FAN风扇、Sensor传感器、CPU处理器、MEMORY 内存、SSD存储、Firmware固件、PORT端口、FRU可替换单元、LED灯、 SFP光模块、USB等,这些测试项的测试流程都是基于交换机行业内测试准则实现的。其中PSU测试项的标准测试流程如下,其他器件测试项的测试流程可以参考PSU。The test main program is a complete set of switch test procedures, including the test items of all components of the switch, mainly including PSU power supply, FAN fan, Sensor sensor, CPU processor, MEMORY memory, SSD storage, Firmware firmware, PORT port, FRU replaceable unit , LED light, SFP optical module, USB, etc., the test process of these test items is based on the test guidelines in the switch industry. The standard test process of the PSU test item is as follows, and the test process of other device test items can refer to the PSU.
(1)检查PSU在位状态、供电状态,如果异常则报错,否则进入下一步;(1) Check the PSU presence status and power supply status, if abnormal, report an error, otherwise go to the next step;
(2)访问PSU的固件信息,是否符合出厂配置,如果异常则报错,否则进入下一步;(2) Access the firmware information of the PSU, whether it conforms to the factory configuration, if abnormal, report an error, otherwise go to the next step;
(3)访问PSU输入输出电流、电压、功率以及温度,是否超出阈值,如果异常则报错,否则进入下一步;(3) Access the PSU input and output current, voltage, power and temperature, whether it exceeds the threshold, if abnormal, report an error, otherwise go to the next step;
(4)生成测试结果。(4) Generate test results.
在一些实施例中,调用预先定义的数据接口层中的若干个接口以获取每一个所述测试文件中定义的所述待测试硬件的属性参数,进一步包括:In some embodiments, calling several interfaces in the predefined data interface layer to obtain the attribute parameters of the hardware to be tested defined in each test file, further comprising:
所述主服务利用所述第一接口向所述从服务发送获取所述测试文件中定义的所述待测试硬件的属性参数的请求。The master service uses the first interface to send a request to the slave service to acquire the attribute parameters of the hardware to be tested defined in the test file.
具体的,如图2所示,从服务通过第一接口(即restful接口)监听服务器端测试主程序发起的restful请求,并调用数据接口层,返回待测试硬件的属性参数。Specifically, as shown in FIG. 2 , the slave service listens to the restful request initiated by the server-side test main program through the first interface (ie, the restful interface), calls the data interface layer, and returns the attribute parameters of the hardware to be tested.
在一些实施例中,Restful接口定义是本发明自定义的一套C/S通信接口,例如,接口可以有如下定义:In some embodiments, the Restful interface definition is a set of C/S communication interfaces customized by the present invention. For example, the interface can be defined as follows:
这样,交换机生产车间按照本发明设计的诊断测试装置搭建环境,在 server服务器上执行测试主程序即可批量对交换机进行出厂检测。In this way, the switch production workshop builds an environment according to the diagnostic test device designed in the present invention, and executes the test main program on the server server to perform factory inspection on the switches in batches.
在一些实施例中,还包括:In some embodiments, also include:
创建数据库;Create a database;
将待测试交换机的所述配置文件和出厂属性参数预先保存在所述数据库中。Pre-save the configuration file and factory attribute parameters of the switch to be tested in the database.
具体的,测试数据库配置了待测交换机的IP地址范围,测试需要执行哪些测试项,以及交换机出厂的默认配置。Specifically, the test database configures the IP address range of the switch to be tested, which test items need to be executed for the test, and the factory default configuration of the switch.
在一些实施例中,还包括:In some embodiments, also include:
响应于所述从服务接收到所述请求,调用预先在待测交换机定义的数据接口层中的若干个接口以获取所述属性参数。In response to receiving the request from the service, calling several interfaces in the data interface layer defined in advance in the switch under test to obtain the attribute parameters.
具体的,如图2所示,数据接口层是一套硬件访问接口,接口采用Python 语言定义及实现。接口的实现可以是从驱动或者SDK中获取数据、设置参数等。这样交换机厂商只要实现该层接口,才能满足客户端程序的执行。Specifically, as shown in Figure 2, the data interface layer is a set of hardware access interfaces, which are defined and implemented in Python language. The implementation of the interface can be to obtain data, set parameters, etc. from the driver or SDK. In this way, the switch manufacturer only needs to realize the interface of this layer to satisfy the execution of the client program.
如图2所示,数据接口层定义了各种器件的数据访问接口,涵盖PSU 电源、FAN风扇、Sensor传感器、CPU、内存、硬盘、固件等。例如,PSU 电源的数据访问接口可以有如下定义:As shown in Figure 2, the data interface layer defines the data access interfaces of various devices, covering PSU power supply, FAN fan, Sensor sensor, CPU, memory, hard disk, firmware, etc. For example, the data access interface of the PSU power supply can be defined as follows:
本发明的提出的方案通过服务端运行主测试程序,客户端运行客户程序和数据接口层,以及制定的数据接口层,只要厂商实现了该数据接口层,即可实现对交换机的测试,使得交换机测试简单化、统一化,客户也可以下载诊断测试程序运行,快速定位交换机故障。The scheme proposed by the present invention runs the main test program through the server, the client runs the client program and the data interface layer, and the data interface layer formulated. As long as the manufacturer implements the data interface layer, the test to the switch can be realized, so that the switch The test is simplified and unified. Customers can also download the diagnostic test program and run it to quickly locate switch faults.
基于同一发明构思,根据本发明的另一个方面,本发明的实施例还提供了一种交换机的硬件测试系统400,如图3所示,包括:Based on the same inventive concept, according to another aspect of the present invention, an embodiment of the present invention also provides a switch
第一获取模块401,配置为获取待测试交换机的配置文件和出厂属性参数;The first obtaining
确定模块402,配置为根据所述配置文件确定所述待测试交换机中的多个待测试硬件;A
第二获取模块403,配置为获取所述多个待测试硬件分别对应的测试文件;The second obtaining
调用模块404,配置为调用预先定义的数据接口层中的若干个接口以获取每一个所述测试文件中定义的所述待测试硬件的属性参数;The calling
对比模块405,配置为将获取到的属性参数和所述出厂属性参数进行对比,并基于对比结果生成测试报告。The
在一些实施例中,还包括:In some embodiments, also include:
在测试服务器上部署主服务,并在待测试交换机上部署具有第一接口的从服务,其中所述主服务和所述从服务通过所述第一接口进行交互。A master service is deployed on the test server, and a slave service with a first interface is deployed on the switch to be tested, wherein the master service and the slave service interact through the first interface.
在一些实施例中,还包括:In some embodiments, also include:
利用所述主服务获取所述配置文件和出厂属性参数,并根据所述配置文件获取对应的测试文件。Obtain the configuration file and factory attribute parameters by using the main service, and obtain the corresponding test file according to the configuration file.
在一些实施例中,调用预先定义的数据接口层中的若干个接口以获取每一个所述测试文件中定义的所述待测试硬件的属性参数,进一步包括:In some embodiments, calling several interfaces in the predefined data interface layer to obtain the attribute parameters of the hardware to be tested defined in each test file, further comprising:
所述主服务利用所述第一接口向所述从服务发送获取所述测试文件中定义的所述待测试硬件的属性参数的请求。The master service uses the first interface to send a request to the slave service to acquire the attribute parameters of the hardware to be tested defined in the test file.
在一些实施例中,还包括:In some embodiments, also include:
响应于所述从服务接收到所述请求,调用预先在待测交换机定义的数据接口层中的若干个接口以获取所述属性参数。In response to receiving the request from the service, calling several interfaces in the data interface layer defined in advance in the switch under test to obtain the attribute parameters.
在一些实施例中,将获取到的属性参数和所述出厂属性参数进行对比,并基于对比结果生成测试报告,进一步包括:In some embodiments, comparing the acquired attribute parameters with the factory attribute parameters, and generating a test report based on the comparison results, further comprising:
所述从服务将获取到的属性参数通过所述第一接口返回到所述主服务;The slave service returns the acquired attribute parameters to the master service through the first interface;
所述主服务对接收到的属性参数和所述出厂属性参数进行对比,以基于对比结果生成测试报告。The main service compares the received attribute parameters with the factory attribute parameters to generate a test report based on the comparison result.
在一些实施例中,还包括:In some embodiments, also include:
创建数据库;Create a database;
将待测试交换机的所述配置文件和出厂属性参数预先保存在所述数据库中。Pre-save the configuration file and factory attribute parameters of the switch to be tested in the database.
本发明的提出的方案通过服务端运行主测试程序,客户端运行客户程序和数据接口层,以及制定的数据接口层,只要厂商实现了该数据接口层,即可实现对交换机的测试,使得交换机测试简单化、统一化,客户也可以下载诊断测试程序运行,快速定位交换机故障。The scheme proposed by the present invention runs the main test program through the server, the client runs the client program and the data interface layer, and the data interface layer formulated. As long as the manufacturer implements the data interface layer, the test to the switch can be realized, so that the switch The test is simplified and unified. Customers can also download the diagnostic test program and run it to quickly locate switch faults.
基于同一发明构思,根据本发明的另一个方面,如图4所示,本发明的实施例还提供了一种计算机设备501,包括:Based on the same inventive concept, according to another aspect of the present invention, as shown in FIG. 4 , an embodiment of the present invention also provides a
至少一个处理器520;以及at least one
存储器510,存储器510存储有可在处理器上运行的计算机程序511,处理器520执行程序时执行以下步骤:
S1,获取待测试交换机的配置文件和出厂属性参数;S1, obtaining the configuration file and factory attribute parameters of the switch to be tested;
S2,根据所述配置文件确定所述待测试交换机中的多个待测试硬件;S2. Determine a plurality of hardware to be tested in the switch to be tested according to the configuration file;
S3,获取所述多个待测试硬件分别对应的测试文件;S3. Obtain test files respectively corresponding to the plurality of hardware to be tested;
S4,调用预先定义的数据接口层中的若干个接口以获取每一个所述测试文件中定义的所述待测试硬件的属性参数;S4, calling several interfaces in the predefined data interface layer to obtain the attribute parameters of the hardware to be tested defined in each of the test files;
S5,将获取到的属性参数和所述出厂属性参数进行对比,并基于对比结果生成测试报告。S5, comparing the acquired attribute parameters with the factory attribute parameters, and generating a test report based on the comparison result.
在一些实施例中,还包括:In some embodiments, also include:
在测试服务器上部署主服务,并在待测试交换机上部署具有第一接口的从服务,其中所述主服务和所述从服务通过所述第一接口进行交互。A master service is deployed on the test server, and a slave service with a first interface is deployed on the switch to be tested, wherein the master service and the slave service interact through the first interface.
在一些实施例中,还包括:In some embodiments, also include:
利用所述主服务获取所述配置文件和出厂属性参数,并根据所述配置文件获取对应的测试文件。Obtain the configuration file and factory attribute parameters by using the main service, and obtain the corresponding test file according to the configuration file.
在一些实施例中,调用预先定义的数据接口层中的若干个接口以获取每一个所述测试文件中定义的所述待测试硬件的属性参数,进一步包括:In some embodiments, calling several interfaces in the predefined data interface layer to obtain the attribute parameters of the hardware to be tested defined in each test file, further comprising:
所述主服务利用所述第一接口向所述从服务发送获取所述测试文件中定义的所述待测试硬件的属性参数的请求。The master service uses the first interface to send a request to the slave service to acquire the attribute parameters of the hardware to be tested defined in the test file.
在一些实施例中,还包括:In some embodiments, also include:
响应于所述从服务接收到所述请求,调用预先在待测交换机定义的数据接口层中的若干个接口以获取所述属性参数。In response to receiving the request from the service, calling several interfaces in the data interface layer defined in advance in the switch under test to obtain the attribute parameters.
在一些实施例中,将获取到的属性参数和所述出厂属性参数进行对比,并基于对比结果生成测试报告,进一步包括:In some embodiments, comparing the acquired attribute parameters with the factory attribute parameters, and generating a test report based on the comparison results, further comprising:
所述从服务将获取到的属性参数通过所述第一接口返回到所述主服务;The slave service returns the acquired attribute parameters to the master service through the first interface;
所述主服务对接收到的属性参数和所述出厂属性参数进行对比,以基于对比结果生成测试报告。The main service compares the received attribute parameters with the factory attribute parameters to generate a test report based on the comparison result.
在一些实施例中,还包括:In some embodiments, also include:
创建数据库;Create a database;
将待测试交换机的所述配置文件和出厂属性参数预先保存在所述数据库中。Pre-save the configuration file and factory attribute parameters of the switch to be tested in the database.
本发明的提出的方案通过服务端运行主测试程序,客户端运行客户程序和数据接口层,以及制定的数据接口层,只要厂商实现了该数据接口层,即可实现对交换机的测试,使得交换机测试简单化、统一化,客户也可以下载诊断测试程序运行,快速定位交换机故障。The scheme proposed by the present invention runs the main test program through the server, the client runs the client program and the data interface layer, and the data interface layer formulated. As long as the manufacturer implements the data interface layer, the test to the switch can be realized, so that the switch The test is simplified and unified. Customers can also download the diagnostic test program and run it to quickly locate switch faults.
基于同一发明构思,根据本发明的另一个方面,如图5所示,本发明的实施例还提供了一种计算机可读存储介质601,计算机可读存储介质601 存储有计算机程序610,计算机程序610被处理器执行时执行以下步骤:Based on the same inventive concept, according to another aspect of the present invention, as shown in FIG. 5 , the embodiment of the present invention also provides a computer-
S1,获取待测试交换机的配置文件和出厂属性参数;S1, obtaining the configuration file and factory attribute parameters of the switch to be tested;
S2,根据所述配置文件确定所述待测试交换机中的多个待测试硬件;S2. Determine a plurality of hardware to be tested in the switch to be tested according to the configuration file;
S3,获取所述多个待测试硬件分别对应的测试文件;S3. Obtain test files respectively corresponding to the plurality of hardware to be tested;
S4,调用预先定义的数据接口层中的若干个接口以获取每一个所述测试文件中定义的所述待测试硬件的属性参数;S4, calling several interfaces in the predefined data interface layer to obtain the attribute parameters of the hardware to be tested defined in each of the test files;
S5,将获取到的属性参数和所述出厂属性参数进行对比,并基于对比结果生成测试报告。S5, comparing the acquired attribute parameters with the factory attribute parameters, and generating a test report based on the comparison result.
在一些实施例中,还包括:In some embodiments, also include:
在测试服务器上部署主服务,并在待测试交换机上部署具有第一接口的从服务,其中所述主服务和所述从服务通过所述第一接口进行交互。A master service is deployed on the test server, and a slave service with a first interface is deployed on the switch to be tested, wherein the master service and the slave service interact through the first interface.
在一些实施例中,还包括:In some embodiments, also include:
利用所述主服务获取所述配置文件和出厂属性参数,并根据所述配置文件获取对应的测试文件。Obtain the configuration file and factory attribute parameters by using the main service, and obtain the corresponding test file according to the configuration file.
在一些实施例中,调用预先定义的数据接口层中的若干个接口以获取每一个所述测试文件中定义的所述待测试硬件的属性参数,进一步包括:In some embodiments, calling several interfaces in the predefined data interface layer to obtain the attribute parameters of the hardware to be tested defined in each test file, further comprising:
所述主服务利用所述第一接口向所述从服务发送获取所述测试文件中定义的所述待测试硬件的属性参数的请求。The master service uses the first interface to send a request to the slave service to acquire the attribute parameters of the hardware to be tested defined in the test file.
在一些实施例中,还包括:In some embodiments, also include:
响应于所述从服务接收到所述请求,调用预先在待测交换机定义的数据接口层中的若干个接口以获取所述属性参数。In response to receiving the request from the service, calling several interfaces in the data interface layer defined in advance in the switch under test to obtain the attribute parameters.
在一些实施例中,将获取到的属性参数和所述出厂属性参数进行对比,并基于对比结果生成测试报告,进一步包括:In some embodiments, comparing the acquired attribute parameters with the factory attribute parameters, and generating a test report based on the comparison results, further comprising:
所述从服务将获取到的属性参数通过所述第一接口返回到所述主服务;The slave service returns the acquired attribute parameters to the master service through the first interface;
所述主服务对接收到的属性参数和所述出厂属性参数进行对比,以基于对比结果生成测试报告。The main service compares the received attribute parameters with the factory attribute parameters to generate a test report based on the comparison result.
在一些实施例中,还包括:In some embodiments, also include:
创建数据库;Create a database;
将待测试交换机的所述配置文件和出厂属性参数预先保存在所述数据库中。Pre-save the configuration file and factory attribute parameters of the switch to be tested in the database.
本发明的提出的方案通过服务端运行主测试程序,客户端运行客户程序和数据接口层,以及制定的数据接口层,只要厂商实现了该数据接口层,即可实现对交换机的测试,使得交换机测试简单化、统一化,客户也可以下载诊断测试程序运行,快速定位交换机故障。The scheme proposed by the present invention runs the main test program through the server, the client runs the client program and the data interface layer, and the data interface layer formulated. As long as the manufacturer implements the data interface layer, the test to the switch can be realized, so that the switch The test is simplified and unified. Customers can also download the diagnostic test program and run it to quickly locate switch faults.
最后需要说明的是,本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,可以通过计算机程序来指令相关硬件来完成,程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。Finally, it should be noted that those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing related hardware through computer programs, and the programs can be stored in a computer-readable storage medium. When the program is executed, it may include the processes of the embodiments of the above-mentioned methods.
此外,应该明白的是,本文的计算机可读存储介质(例如,存储器) 可以是易失性存储器或非易失性存储器,或者可以包括易失性存储器和非易失性存储器两者。In addition, it should be appreciated that a computer readable storage medium (eg, memory) herein can be either volatile memory or nonvolatile memory, or can include both volatile memory and nonvolatile memory.
本领域技术人员还将明白的是,结合这里的公开所描述的各种示例性逻辑块、模块、电路和算法步骤可以被实现为电子硬件、计算机软件或两者的组合。为了清楚地说明硬件和软件的这种可互换性,已经就各种示意性组件、方块、模块、电路和步骤的功能对其进行了一般性的描述。这种功能是被实现为软件还是被实现为硬件取决于具体应用以及施加给整个系统的设计约束。本领域技术人员可以针对每种具体应用以各种方式来实现的功能,但是这种实现决定不应被解释为导致脱离本发明实施例公开的范围。Those of skill would also appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described generally in terms of their functionality. Whether such functionality is implemented as software or as hardware depends upon the particular application and design constraints imposed on the overall system. Those skilled in the art may implement the functions in various ways for each specific application, but such implementation decisions should not be interpreted as causing a departure from the scope disclosed in the embodiments of the present invention.
以上是本发明公开的示例性实施例,但是应当注意,在不背离权利要求限定的本发明实施例公开的范围的前提下,可以进行多种改变和修改。根据这里描述的公开实施例的方法权利要求的功能、步骤和/或动作不需以任何特定顺序执行。此外,尽管本发明实施例公开的元素可以以个体形式描述或要求,但除非明确限制为单数,也可以理解为多个。The above are the exemplary embodiments disclosed in the present invention, but it should be noted that various changes and modifications can be made without departing from the scope of the disclosed embodiments of the present invention defined in the claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. In addition, although the elements disclosed in the embodiments of the present invention may be described or required in an individual form, they may also be understood as a plurality unless explicitly limited to a singular number.
应当理解的是,在本文中使用的,除非上下文清楚地支持例外情况,单数形式“一个”旨在也包括复数形式。还应当理解的是,在本文中使用的“和/或”是指包括一个或者一个以上相关联地列出的项目的任意和所有可能组合。It should be understood that as used herein, the singular form "a" and "an" are intended to include the plural forms as well, unless the context clearly supports an exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
上述本发明实施例公开实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments disclosed in the above-mentioned embodiments of the present invention are only for description, and do not represent the advantages and disadvantages of the embodiments.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above-mentioned embodiments can be completed by hardware, or can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. The above-mentioned The storage medium can be read-only memory, magnetic disk or optical disk and so on.
所属领域的普通技术人员应当理解:以上任何实施例的讨论仅为示例性的,并非旨在暗示本发明实施例公开的范围(包括权利要求)被限于这些例子;在本发明实施例的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,并存在如上的本发明实施例的不同方面的许多其它变化,为了简明它们没有在细节中提供。因此,凡在本发明实施例的精神和原则之内,所做的任何省略、修改、等同替换、改进等,均应包含在本发明实施例的保护范围之内。Those of ordinary skill in the art should understand that: the discussion of any of the above embodiments is exemplary only, and is not intended to imply that the scope (including claims) disclosed by the embodiments of the present invention is limited to these examples; under the idea of the embodiments of the present invention , the technical features in the above embodiments or different embodiments can also be combined, and there are many other changes in different aspects of the above embodiments of the present invention, which are not provided in details for the sake of brevity. Therefore, within the spirit and principle of the embodiments of the present invention, any omissions, modifications, equivalent replacements, improvements, etc., shall be included in the protection scope of the embodiments of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110904342.6A CN113645162B (en) | 2021-08-06 | 2021-08-06 | Hardware testing method, system, equipment and medium of switch |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110904342.6A CN113645162B (en) | 2021-08-06 | 2021-08-06 | Hardware testing method, system, equipment and medium of switch |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113645162A CN113645162A (en) | 2021-11-12 |
CN113645162B true CN113645162B (en) | 2023-01-20 |
Family
ID=78420007
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110904342.6A Active CN113645162B (en) | 2021-08-06 | 2021-08-06 | Hardware testing method, system, equipment and medium of switch |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113645162B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114363214A (en) * | 2021-12-31 | 2022-04-15 | 中国信息通信研究院 | Method and device for seismic test of switch, computer equipment, storage medium |
CN114613303B (en) * | 2022-03-18 | 2023-10-20 | 西安诺瓦星云科技股份有限公司 | Display screen control system fault prediction method and device |
CN115037787B (en) * | 2022-06-09 | 2024-06-14 | 上海禾骋科技有限公司 | Method, system and device for testing automobile network communication |
CN116148703A (en) * | 2022-11-18 | 2023-05-23 | 深圳中车轨道车辆有限公司 | Method and device for testing auxiliary power supply system in rail transit |
CN115604097A (en) * | 2022-11-30 | 2023-01-13 | 天津聚芯光禾科技有限公司(Cn) | Automatic configuration and detection system and method for switch leaving factory |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102495791A (en) * | 2011-11-01 | 2012-06-13 | 浙江省电力试验研究院 | Method for making automatic test interfaces of relay protection testers of multiple manufacturers compatible |
CN106569943A (en) * | 2015-10-09 | 2017-04-19 | 北京北方微电子基地设备工艺研究中心有限责任公司 | Hardware testing method and hardware testing system for equipment |
CN109495293A (en) * | 2018-10-25 | 2019-03-19 | 锐捷网络股份有限公司 | A kind of test method, system, equipment and the storage medium in Switch control face |
CN110659167A (en) * | 2019-09-12 | 2020-01-07 | 苏州浪潮智能科技有限公司 | Server hardware testing method, equipment and storage medium |
CN111240906A (en) * | 2019-12-27 | 2020-06-05 | 浪潮金融信息技术有限公司 | Method for testing hardware module by using universal user interface |
CN111309386A (en) * | 2020-01-19 | 2020-06-19 | 苏州浪潮智能科技有限公司 | Switch hardware driving framework and switch |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200530800A (en) * | 2004-03-12 | 2005-09-16 | Hon Hai Prec Ind Co Ltd | System and method for rapidly diagnosing and testing computer hardware |
-
2021
- 2021-08-06 CN CN202110904342.6A patent/CN113645162B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102495791A (en) * | 2011-11-01 | 2012-06-13 | 浙江省电力试验研究院 | Method for making automatic test interfaces of relay protection testers of multiple manufacturers compatible |
CN106569943A (en) * | 2015-10-09 | 2017-04-19 | 北京北方微电子基地设备工艺研究中心有限责任公司 | Hardware testing method and hardware testing system for equipment |
CN109495293A (en) * | 2018-10-25 | 2019-03-19 | 锐捷网络股份有限公司 | A kind of test method, system, equipment and the storage medium in Switch control face |
CN110659167A (en) * | 2019-09-12 | 2020-01-07 | 苏州浪潮智能科技有限公司 | Server hardware testing method, equipment and storage medium |
CN111240906A (en) * | 2019-12-27 | 2020-06-05 | 浪潮金融信息技术有限公司 | Method for testing hardware module by using universal user interface |
CN111309386A (en) * | 2020-01-19 | 2020-06-19 | 苏州浪潮智能科技有限公司 | Switch hardware driving framework and switch |
Also Published As
Publication number | Publication date |
---|---|
CN113645162A (en) | 2021-11-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113645162B (en) | Hardware testing method, system, equipment and medium of switch | |
US11151083B2 (en) | Generating target application packages for groups of computing devices | |
CN106170764B (en) | Method and apparatus for automatic device program generation | |
CN112035344A (en) | Multi-scenario test method, device, equipment and computer readable storage medium | |
US9582270B2 (en) | Effective feature location in large legacy systems | |
CN113778849A (en) | Method, apparatus, device and storage medium for testing code | |
CN113778895A (en) | Automatic interface testing method and device | |
US20180123900A1 (en) | Scenario driven, technology agnostic network simulation | |
CN110569154B (en) | Chip interface function testing method, system, terminal and storage medium | |
CN113806209A (en) | Interface testing method, framework, computer equipment and storage medium | |
US20180123899A1 (en) | Technology agnostic network simulation | |
CN112202593B (en) | Data acquisition method, device, network management system and computer storage medium | |
US11256501B2 (en) | Federated extensibility workbench | |
CN112069071A (en) | Method and device for determining program suitability | |
CN114050990B (en) | Method and device for testing network isolation equipment, storage medium and electronic equipment | |
CN113110996B (en) | Test method and device | |
CN116302736A (en) | A server component testing method, device, electronic equipment and storage medium | |
CN114564213A (en) | Pre-installed software deployment method, system, terminal and storage medium | |
CN114662700A (en) | Model acquisition method, electronic device and storage medium | |
US10671442B2 (en) | Dynamic preparation of a new network environment, and subsequent monitoring thereof | |
CN115544202A (en) | Alarm processing method, device and storage medium | |
CN111752677A (en) | A cloud resource configuration method, system, terminal and storage medium | |
CN112948244B (en) | Method, device and equipment for industrial internet information model test | |
CN117538672B (en) | Test method and device for target capacitive screen and electronic equipment | |
US20250044758A1 (en) | Device Detection in Process Control Systems |
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 |