CN112988483B - Cooperative testing method, system and equipment based on intelligent network card and host - Google Patents
Cooperative testing method, system and equipment based on intelligent network card and host Download PDFInfo
- Publication number
- CN112988483B CN112988483B CN202110195561.1A CN202110195561A CN112988483B CN 112988483 B CN112988483 B CN 112988483B CN 202110195561 A CN202110195561 A CN 202110195561A CN 112988483 B CN112988483 B CN 112988483B
- Authority
- CN
- China
- Prior art keywords
- test
- network card
- intelligent network
- host
- cooperative
- 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 224
- 238000010276 construction Methods 0.000 claims description 3
- 238000010923 batch production Methods 0.000 abstract description 3
- 238000003745 diagnosis Methods 0.000 abstract description 3
- 238000000034 method Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000005856 abnormality Effects 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2273—Test methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/28—Databases characterised by their database models, e.g. relational or object models
- G06F16/284—Relational databases
Abstract
The embodiment of the invention discloses a cooperative testing method, a system and equipment based on an intelligent network card and a host, relating to the technical field of server testing. Firstly, constructing a test environment, including constructing a network server and database service; then defining respective test items of the intelligent network card and the host computer, and storing the test items into a database; and then formulating constraint rules of the intelligent network card and each test item of the host, and carrying out the cooperative test of the intelligent network card and the host based on the constraint rules of the test items. According to the scheme, the problem that time-consuming long test efficiency is low in serial test in the prior art is solved, the problem of test conflict in parallel test is avoided, the test automation level and the test efficiency in batch production of the servers are improved through the cooperative diagnosis test of the intelligent network card and the host, and the quality of server delivery products is guaranteed.
Description
Technical Field
The embodiment of the invention relates to the technical field of server testing, in particular to a cooperative testing method, a system and equipment based on an intelligent network card and a host.
Background
The intelligent network card is a high-performance network access card taking a network processor as a core, and can strip network processing work from a CPU to reduce the network load of the CPU, so that more computing resources are vacated to complete the processing work, and in production, shipment of the intelligent network card matched with a server becomes a normal state. In the mass production of the current server product, the requirements on the test automation, the test efficiency and the test coverage rate of the product are extremely high, when the host is matched with the intelligent network card, the coverage degree of each self test of the host and the intelligent network card is considered, whether the diagnosis step at one end can influence the other end is considered, and the integral test automation degree and the test efficiency are considered.
At present, there are two testing methods for a server matching with an intelligent network card: one is the serial test of the intelligent network card and the host, and has the defects of low test efficiency, low consumption and long time; the other is parallel test of the intelligent network card and the host, compared with serial test, the parallel test has short time consumption and high efficiency, but the host access is abnormal due to the refreshing action of the intelligent network card end, and the test of the host AC/DC (AC means that the server is powered on again after being powered off, and DC is controlled to be restarted by BMC) causes the intelligent network card to be powered off, thereby causing the problems of test failure, interruption and the like.
Disclosure of Invention
The embodiment of the invention provides a cooperative testing method, a system and equipment based on an intelligent network card and a host, which improve the testing automation level and the testing efficiency in the batch production of servers through the cooperative testing of the intelligent network card and the host.
In order to achieve the purpose, the invention discloses the following technical scheme:
the invention provides a cooperative testing method based on an intelligent network card and a host computer, which comprises the following steps:
constructing a test environment, including constructing a network server and constructing a database service;
defining respective test items of the intelligent network card and the host, and storing the test items into a database;
formulating a constraint rule of each test item of the intelligent network card and the host;
and carrying out cooperative test of the intelligent network card and the host based on the constraint rule of the test item.
Based on the above scheme, further, the constraint rules of the test items of the intelligent network card and the host are formulated, and the constraint rules include, but are not limited to, the following rules:
the firmware refreshing of the intelligent network card end is performed before the firmware refreshing of the host end is performed;
after the test items of the intelligent network card end are completely executed, the host computer end can end the test;
When the host computer end carries out AC/DC project test, the intelligent network card end temporarily interrupts the project test to wait.
Further, the collaborative test based on the constraint rule of the test item includes the following steps:
scanning the one-to-one corresponding relation between the host SN and the intelligent network card QN to a database;
the host and the intelligent network card are respectively guided to the os through the pxe to execute respective test items, and the execution conditions of the respective test items are updated to the database by taking the SN as an index;
the host computer and the intelligent network card respectively inquire the test items to be executed from the database, and execute the test or wait until the test items are all completed according to the current test items at the other end and the constraint rule.
Specifically, based on the above steps, the host performs test execution or waiting according to the current test item and the constraint rule of the intelligent network card, including the following steps:
judging whether the firmware refreshing of the intelligent network card end is finished, if not, judging again after waiting for the preset time; if yes, inquiring and executing the current test item to be executed by the host;
judging whether the test items of the host computer are completely finished, if not, inquiring and executing the current test items to be executed of the host computer, and then judging again; if yes, judging whether the test items of the intelligent network card end are completely finished, and if not, judging again after waiting for preset time; if it is, the test is ended.
The intelligent network card performs test execution or waiting according to the current test item and the constraint rule at the host end, and the method comprises the following steps:
judging whether the host side carries out AC/DC project test or not, if so, judging again after waiting for a preset time; if not, inquiring and executing the current test item to be executed of the intelligent network card;
judging whether the test items of the intelligent network card are completely finished, if not, inquiring and executing the current test item to be executed of the intelligent network card, and then judging again; if yes, the test is ended.
Another aspect of the present invention provides a cooperative testing system based on an intelligent network card and a host, where the system includes:
the test environment construction unit is used for constructing a test environment and constructing a network server and database service;
the test item definition unit is used for defining respective test items of the intelligent network card and the host computer and storing the test items into a database;
the constraint rule making unit is used for making a constraint rule of each test item of the intelligent network card and the host;
and the cooperative test unit is used for performing cooperative test on the intelligent network card and the host based on the constraint rule of the test item.
Based on the above system, further, the cooperative testing unit includes:
The data establishing module is used for storing the corresponding relation between the host SN and the intelligent network card QN into a database;
the data updating module is used for updating the execution conditions of respective test items of the host and the intelligent network card into a database by taking SN as an index;
and the project testing module is used for performing project cooperative testing on the host and the intelligent network card according to the current testing project at the other end and the constraint rule.
In addition, the invention also provides a cooperative test device based on the intelligent network card and the host, and the device comprises: at least one processor, and at least one memory communicatively coupled to the processor;
the memory stores program instructions executable on the processor;
the processor calls the program instructions to execute the steps of the intelligent network card and host computer-based cooperative testing method.
The effects provided in the summary of the invention are only the effects of the embodiments, not all of the effects of the invention, and one of the above technical solutions has the following advantages or beneficial effects:
the cooperative testing method based on the intelligent network card and the host computer comprises the steps of firstly, constructing a testing environment, including constructing a network server and constructing a database service; then defining respective test items of the intelligent network card and the host computer, and storing each test item into a database; and then formulating constraint rules of the intelligent network card and each test item of the host, and carrying out the cooperative test of the intelligent network card and the host based on the constraint rules of the test items. The method of the embodiment solves the problem of low time-consuming long test efficiency of serial test in the prior art, avoids the problem of test conflict in parallel test, improves the test automation level and test efficiency in batch production of the server through the cooperative diagnosis test of the intelligent network card and the host, and ensures the quality of the server shipment products.
The cooperative testing system and the testing device based on the intelligent network card and the host provided by the embodiment of the application can realize the cooperative testing method based on the intelligent network card and the host, and achieve the technical effects.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
Fig. 1 is a schematic flowchart of a cooperative testing method based on an intelligent network card and a host according to an embodiment of the present application;
fig. 2 is a flowchart of a host test provided in an embodiment of the present application;
fig. 3 is a flowchart of an intelligent network card test provided in the embodiment of the present application;
fig. 4 is a schematic structural diagram of a cooperative testing system based on an intelligent network card and a host according to an embodiment of the present application.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 shows a schematic flow chart of a cooperative testing method based on an intelligent network card and a host according to an embodiment of the present invention.
Referring to fig. 1, the method of the present embodiment includes the following steps:
s1, constructing a test environment, including constructing a network server and constructing a database service;
specifically, a network server is built for communication between the server and the test equipment, and a database service is built for storing the current state of the test equipment.
S2, defining respective test items of the intelligent network card and the host, and storing the test items into a database;
s3, formulating a constraint rule of each test item of the intelligent network card and the host;
specifically, in this step, the formulated constraint rule includes, but is not limited to, the following rules:
the refreshing execution of the firmware (including BIOS/BMC and the like) at the intelligent network card end needs to be performed in advance in the refreshing of the firmware at the host end so as to avoid the abnormality of accessing the intelligent network card caused by the refreshing of the firmware at the intelligent network card end to the host end;
after the test items of the intelligent network card end are completely executed, the host computer end can end the test;
when the host computer end carries out AC/DC project test, the intelligent network card end temporarily interrupts the project test to wait, so as to prevent the intelligent network card end from accidentally interrupting the test caused by interference brought by the host computer end.
S4, carrying out cooperative test of the intelligent network card and the host based on the constraint rule of the test project;
in this step, the collaborative testing based on the constraint rule of the test item includes the following steps:
scanning the one-to-one corresponding relation between the host SN and the intelligent network card QN to a database;
the host and the intelligent network card are respectively guided into the os through the pxe to execute respective test items, and the execution conditions of the respective test items are updated into the database by taking the SN as an index;
the host computer and the intelligent network card respectively inquire the test items to be executed from the database, and execute the test or wait until the test items are all completed according to the current test items at the other end and the constraint rule.
Based on the above steps, the host and the intelligent network card are respectively tested according to the current test item and the constraint rule at the other end, and specifically, as shown in fig. 2, the host test process provided by the embodiment of the present application may include the following steps:
starting the test;
judging whether the firmware refreshing of the intelligent network card end is finished, if not, judging again after waiting for the preset time; if yes, inquiring and executing the current test item to be executed by the host;
judging whether all the test items of the host computer are finished, if not, inquiring and executing the current test items to be executed of the host computer, and then judging again; if yes, judging whether the test items of the intelligent network card end are completely finished, and if not, judging again after waiting for preset time; if it is complete, the test is ended.
As shown in fig. 3, the intelligent network card testing process provided in the embodiment of the present application may include the following steps:
starting the test;
judging whether the host side carries out AC/DC project test or not, if so, judging again after waiting for a preset time; if not, inquiring and executing the current test item to be executed of the intelligent network card;
judging whether the test items of the intelligent network card are completely finished, if not, inquiring and executing the current test item to be executed of the intelligent network card, and then judging again; if yes, the test is ended.
Fig. 4 shows a schematic structural diagram of a cooperative testing system based on an intelligent network card and a host according to an embodiment of the present invention.
Referring to fig. 4, the test system of the present embodiment includes:
the test environment construction unit 1 is used for constructing a test environment and constructing a network server and database service;
the test item definition unit 2 is used for defining respective test items of the intelligent network card and the host computer and storing the test items into a database;
the constraint rule making unit 3 is used for making a constraint rule of each test item of the intelligent network card and the host;
and the cooperative test unit 4 is used for performing cooperative test on the intelligent network card and the host based on the constraint rule of the test item.
Specifically, in the above system, the cooperative test unit 4 includes:
the data establishing module is used for storing the corresponding relation between the host SN and the intelligent network card QN into a database;
the data updating module is used for updating the execution conditions of respective test items of the host and the intelligent network card into a database by taking SN as an index;
and the project testing module is used for performing project cooperative testing on the host and the intelligent network card according to the current testing project at the other end and the constraint rule.
Based on the same inventive concept, the embodiment of the present application further provides a cooperative testing device based on the intelligent network card and the host, where the device includes: at least one processor, and at least one memory communicatively coupled to the processor;
the memory stores program instructions executable on the processor;
the processor calls the program instruction to execute the steps of the cooperative testing method based on the intelligent network card and the host in the embodiment.
For the contents that are not described in detail in the system and the device for testing coordination based on the intelligent network card and the host provided in the embodiment of the present application, reference may be made to the method for testing coordination based on the intelligent network card and the host provided in the above embodiment, and details are not described here again.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and it will be apparent to those skilled in the art that any modification, improvement and equivalent substitution made without departing from the principle of the present invention are included in the protection scope of the present invention.
Claims (7)
1. A cooperative testing method based on an intelligent network card and a host is characterized by comprising the following steps: constructing a test environment, including constructing a network server and database service;
defining respective test items of the intelligent network card and the host computer, and storing the test items in a database;
formulating constraint rules of the intelligent network card and each test item of the host;
carrying out cooperative test of the intelligent network card and the host based on the constraint rule of the test item;
and formulating constraint rules of the intelligent network card and each test item of the host, wherein the constraint rules comprise:
the firmware refreshing of the intelligent network card end is performed before the firmware refreshing of the host end is performed;
after the test items of the intelligent network card end are completely executed, the host computer end can end the test;
when the host computer end carries out AC/DC project test, the intelligent network card end temporarily interrupts the project test to wait.
2. The cooperative testing method based on the intelligent network card and the host computer according to claim 1, wherein the cooperative testing is performed based on the constraint rule of the test item, comprising the following steps:
Scanning the one-to-one corresponding relation between the host SN and the intelligent network card QN to a database;
the host and the intelligent network card are respectively guided into the os through the pxe to execute respective test items, and the execution conditions of the respective test items are updated into the database by taking the SN as an index;
the host computer and the intelligent network card respectively inquire the test items to be executed from the database, and execute the test or wait until the test items are all completed according to the current test items at the other end and the constraint rule.
3. The cooperative testing method based on the intelligent network card and the host computer as claimed in claim 2, wherein the host computer performs the test execution or waiting according to the current test items and the constraint rules of the intelligent network card end, comprising the following steps:
judging whether the firmware refreshing of the intelligent network card end is finished, if not, judging again after waiting for a preset time; if yes, inquiring and executing the current test item to be executed by the host;
judging whether all the test items of the host computer are finished, if not, inquiring and executing the current test items to be executed of the host computer, and then judging again; if yes, judging whether the test items of the intelligent network card end are completely finished, and if not, judging again after waiting for a preset time; if it is complete, the test is ended.
4. The cooperative testing method based on the intelligent network card and the host computer as claimed in claim 2, wherein the intelligent network card performs testing execution or waiting according to the current testing item and the constraint rule at the host computer end, comprising the following steps:
judging whether the host side carries out AC/DC project test or not, if so, judging again after waiting for a preset time; if not, inquiring and executing the current test item to be executed of the intelligent network card;
judging whether the test items of the intelligent network card are completely finished, if not, inquiring and executing the current test item to be executed of the intelligent network card, and then judging again; if yes, the test is ended.
5. The utility model provides a cooperative test system based on intelligent network card and host computer which characterized in that includes:
the test environment construction unit is used for constructing a test environment and constructing a network server and database service; the test item definition unit is used for defining respective test items of the intelligent network card and the host computer and storing the test items into a database;
the constraint rule making unit is used for making a constraint rule of each test item of the intelligent network card and the host;
the constraint rules include:
the firmware refreshing of the intelligent network card end is performed before the firmware refreshing of the host end is performed;
After the test items of the intelligent network card end are completely executed, the host computer end can end the test;
when the host computer end carries out AC/DC project test, the intelligent network card end temporarily interrupts the project test to wait;
and the cooperative test unit is used for performing cooperative test on the intelligent network card and the host based on the constraint rule of the test item.
6. The system of claim 5, wherein the cooperative testing unit comprises:
the data establishing module is used for storing the corresponding relation between the host SN and the intelligent network card QN into a database;
the data updating module is used for updating the execution conditions of respective test items of the host and the intelligent network card into a database by taking SN as an index;
and the project testing module is used for performing project collaborative testing on the host and the intelligent network card according to the current testing project and the constraint rule at the other end.
7. The utility model provides a cooperative test equipment based on intelligent network card and host computer which characterized in that includes: at least one processor, and at least one memory communicatively coupled to the processor;
the memory stores program instructions executable on the processor;
the processor calls the program instructions to execute the steps of the intelligent network card and host computer-based cooperative testing method according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110195561.1A CN112988483B (en) | 2021-02-20 | 2021-02-20 | Cooperative testing method, system and equipment based on intelligent network card and host |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110195561.1A CN112988483B (en) | 2021-02-20 | 2021-02-20 | Cooperative testing method, system and equipment based on intelligent network card and host |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112988483A CN112988483A (en) | 2021-06-18 |
CN112988483B true CN112988483B (en) | 2022-07-19 |
Family
ID=76394235
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110195561.1A Active CN112988483B (en) | 2021-02-20 | 2021-02-20 | Cooperative testing method, system and equipment based on intelligent network card and host |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112988483B (en) |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102055780A (en) * | 2009-11-04 | 2011-05-11 | 英业达股份有限公司 | System and method for testing disk array |
CN104536899B (en) * | 2015-01-20 | 2017-11-24 | 成都益联科创科技有限公司 | A kind of software deployment and its maintaining method based on Intelligent cluster |
EP3526674B1 (en) * | 2016-10-14 | 2021-06-23 | Telefonaktiebolaget LM Ericsson (PUBL) | Time-parallelized integrity testing of software code |
CN108334428B (en) * | 2017-12-13 | 2021-02-05 | 天津津航计算技术研究所 | Parallel testing method for system functions |
CN111193638A (en) * | 2019-12-20 | 2020-05-22 | 曙光信息产业股份有限公司 | Linux platform based network card automatic testing method and device |
CN112363913B (en) * | 2020-10-22 | 2024-01-26 | 北京电子工程总体研究所 | Parallel test task scheduling optimizing method, device and computing equipment |
CN112231162B (en) * | 2020-10-23 | 2022-03-15 | 英业达科技有限公司 | Startup test system and startup test method |
-
2021
- 2021-02-20 CN CN202110195561.1A patent/CN112988483B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN112988483A (en) | 2021-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104166568A (en) | Power system graphic file parallel loading method based on CIM/G | |
CN109298962A (en) | Monitoring method, computer readable storage medium and the terminal device of timed task | |
CN110290166B (en) | Cross-cluster data interaction method, system and device and readable storage medium | |
CN115495473A (en) | Database query method and device, electronic equipment and storage medium | |
CN112988483B (en) | Cooperative testing method, system and equipment based on intelligent network card and host | |
CN115534255A (en) | Injection molding machine action flow configuration method and device, electronic equipment and storage medium | |
CN115150471A (en) | Data processing method, device, equipment, storage medium and program product | |
CN113778581A (en) | Page loading method, electronic equipment and storage medium | |
CN115599438A (en) | Method, device, equipment and medium for constructing application program publishing package | |
CN105323289B (en) | One kind being based on distributed method of data synchronization | |
CN115982273A (en) | Data synchronization method, system, electronic equipment and storage medium | |
CN115904669A (en) | Task scheduling method, system, electronic device and computer readable storage medium | |
CN112783574B (en) | Application development method, device, equipment and storage medium | |
CN103927637A (en) | Content management system based on SaaS structure | |
CN115237574A (en) | Scheduling method and device of artificial intelligence chip and electronic equipment | |
CN114138358A (en) | Application program starting optimization method, device, equipment and storage medium | |
CN113821524A (en) | Method, device, computer equipment and medium for improving real-time interface processing efficiency | |
CN115952004B (en) | Resource allocation method, device, electronic equipment and storage medium | |
CN113204478B (en) | Method, device and equipment for operating test unit and storage medium | |
US11226882B2 (en) | Method and device for data center management | |
CN113946380A (en) | Picture loading method and device and video processing equipment | |
CN115113976A (en) | Nanotube edge virtualization clustering method and device | |
CN117112002A (en) | Drive upgrading method and device, electronic equipment and storage medium | |
CN117608925A (en) | Application restarting method and device, electronic equipment and storage medium | |
CN116450498A (en) | Large-scale real machine APP automatic test method |
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 |