CN106227663A - Automatic test method for refreshing IO firmware - Google Patents
Automatic test method for refreshing IO firmware Download PDFInfo
- Publication number
- CN106227663A CN106227663A CN201610585896.3A CN201610585896A CN106227663A CN 106227663 A CN106227663 A CN 106227663A CN 201610585896 A CN201610585896 A CN 201610585896A CN 106227663 A CN106227663 A CN 106227663A
- Authority
- CN
- China
- Prior art keywords
- firmware
- automatic test
- test program
- latest edition
- test
- 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
Links
- 238000010998 test method Methods 0.000 title abstract description 3
- 238000012360 testing method Methods 0.000 claims abstract description 51
- 230000005540 biological transmission Effects 0.000 abstract 1
- 238000004519 manufacturing process Methods 0.000 description 7
- 238000000034 method Methods 0.000 description 5
- 238000011161 development Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000012827 research and development Methods 0.000 description 2
- 230000000052 comparative effect Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000011010 flushing procedure Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses an automatic test method for refreshing IO firmware, which relates to the field of memory test.A server end is connected with an I/O serial port of a memory and a network cable data transmission line through an automatic test program written by using perl language under linux, and the automatic test program reads firmware version information through the I/O serial port; and then, scanning the external bar code of the product to capture database information, comparing the database information with the information, judging whether the firmware is the latest version, if so, passing the test, and if not, starting the automatic test program to automatically refresh the firmware to the latest version. The invention has convenient use and simple operation, and can be suitable for any memory product; the test efficiency and the accurate positioning problem of the test can be improved, the labor and the time are saved, and the product shipment quality can be ensured.
Description
Technical field
The present invention relates to memory test field, a kind of automatic test side refreshing IO firmware
Method.
Background technology
Along with the development in server memory field, and improve the most rapidly, the market demand to memorizer
Measure the most increasing.So, memory product shipment amount is increasing, and the test request for research and development and production is more and more higher,
Field tests is faced with stern challenge.The production punctual shipment of deploying can be reached on time, directly reflect a company
Production capacity is related to company reputation, also contributes to the satisfaction of client simultaneously.Therefore, the research and development section of either memory product
Or the test phase of production line, is efficiently completed the test job of product it is critical that a link.
Summary of the invention
The present invention is directed to demand and the weak point of current technology development, it is provided that a kind of refresh the automatic of IO firmware
Change method of testing.
A kind of automated testing method refreshing IO firmware of the present invention, solves what above-mentioned technical problem used
Technical scheme is as follows: described a kind of automated testing method refreshing IO firmware, by using perl language under linux
The automatic test program that speech is write, connects memory I/O serial ports and netting twine data carrying wires, automatic test at server end
Program reads firmware version information by I/O serial ports;Again by the scanning outside bar code of product capture database information and its
Contrast, it is judged that whether firmware is latest edition, if latest edition is then by test, if not latest edition is then certainly
Dynamicization test program starts automatically to refresh firmware to latest edition.
Preferably, if firmware version is not latest edition, then automatic test program starts automatically to refresh
Firmware is to latest edition;And after refreshing completes, automatically restart I/O, contrast firmware version, confirms as the most again
Test after up-to-date firmware version and terminate.
Preferably, connecting memory I/O serial ports and netting twine data carrying wires at server end, automatic test program is passed through
Serial ports reads the IP address of I/O automatically, and automatic test program carries out automatic refresh work by netting twine.
It is useful that the automated testing method of a kind of IO of refreshing firmware of the present invention compared with prior art has
Effect is: the present invention is applied to all memory products, can test the I/O in all types memorizer, if scanning product
Outside bar code just can be rapidly completed refreshing and the part of detecting of I/O firmware, decreases unnecessary interactive process,
Saving the resources such as manpower, time, cost, test speed is fast, and orientation problem is accurate, the test that test coverage height has had again
Log preserves;Any defective product all can be blocked and be accurately positioned problem, largely improves speed of production, and
And no one is mistake, the mistake such as leakage being likely to occur during configuration.Therefore, automated testing method of the present invention operation
Simply, practicality is relatively strong, has preferable marketing use value.
Figure of description
Accompanying drawing 1 is the schematic block diagram of the automated testing method refreshing IO firmware.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with specific embodiment, to this
Bright described a kind of automated testing method refreshing IO firmware further describes.
In order to improve testing efficiency and the coverage rate of memorizer, the present invention proposes a kind of refreshing IO firmware
Automated testing method, whole test process is all automatically to be captured information, comparative information by automatic test formula, it is judged that letter
Breath, and problem is generated fail log be printed upon terminal, also preserve on the server simultaneously, allow test have absolute guarantee.
Embodiment:
A kind of automated testing method refreshing IO firmware described in the present embodiment, as shown in Figure 1, under linux
Use the automatic test program that perl language is write, connect memory I/O serial ports and netting twine data carrying wires at server end,
Automatic test program reads firmware version information by I/O serial ports;Data are captured again by the outside bar code of scanning product
Storehouse information contrasts with it, it is judged that whether firmware is latest edition, if latest edition is then by test, if not
Redaction then automatic test program starts automatically to refresh firmware to latest edition;Automatically I/O is restarted, so after having refreshed
After again contrast firmware version, test after confirming as up-to-date firmware version and terminate.
As shown in Figure 1, refresh in the automated testing method of IO firmware described in the present embodiment, at server end
Connecting memory I/O serial ports and netting twine data carrying wires, automatic test program reads the IP address of I/O automatically by serial ports,
Further, automatic test program carries out automatic refresh work by netting twine.
Refreshing the automated testing method of IO firmware described in the present embodiment, its specific implementation process is as follows:
1) first, install automatic test formula at server end, and connect the serial ports of memory I/O end and netting twine to clothes
Business device end, the most directly runs automatic test program, then according to the terminal notifying outside bar code of scanning product, automatic test
Program reads the firmware version of present product by serial ports, and contrast judges that this memory product needs the firmware refreshed
File;If firmware version is up-to-date, need not refresh, automatically tie after automatic test program prompting test pass
Bundle;If firmware version is not latest edition, then automatic test Automatic Program performs refresh work;
2) then, automatic test program starts automatically to refresh file, cannot plug netting twine and serial ports in refresh process;
After Flushing success, automatic test Automatic Program is restarted I/O refreshing is come into force, and after start, file contrasts again, if refreshing into
Merit automatic test program prompting test pass, refreshing terminates.
In the automated testing method of this refreshing IO firmware, use perl language to write automatization under linux and survey
Examination program, the particular content of described automatic test program is as follows:
The present invention refreshes the automated testing method of IO firmware, can test the I/O in all types memorizer,
Test speed is fast, and orientation problem is accurate, and test coverage is high;I/O can be rapidly completed by this automatic test program
The refreshing of firmware and part of detecting, largely improve speed of production, and no one is to be likely to occur during configuration
Mistake, the mistake such as leakage.Therefore, automated testing method of the present invention is simple to operate, and practicality is relatively strong, for memorizer
In product, some case studies and location, production speed-raising etc. have well effect.
Above-mentioned detailed description of the invention is only the concrete case of the present invention, and the scope of patent protection of the present invention includes but not limited to
Above-mentioned detailed description of the invention, any that meet claims of the present invention and any person of an ordinary skill in the technical field
The suitably change being done it or replacement, all should fall into the scope of patent protection of the present invention.
Claims (3)
1. the automated testing method refreshing IO firmware, it is characterised in that by using perl language under linux
The automatic test program that speech is write, connects memory I/O serial ports and netting twine data carrying wires, automatic test at server end
Program reads firmware version information by I/O serial ports;Again by the scanning outside bar code of product capture database information and its
Contrast, it is judged that whether firmware is latest edition, if latest edition is then by test, if not latest edition is then certainly
Dynamicization test program starts automatically to refresh firmware to latest edition.
A kind of automated testing method refreshing IO firmware, it is characterised in that if
Firmware version is not latest edition, then automatic test program starts automatically to refresh firmware to latest edition;And
Automatically restart I/O, the most again contrast firmware version after having refreshed, confirm as test knot after up-to-date firmware version
Bundle.
A kind of automated testing method refreshing IO firmware, it is characterised in that in service
Device end connects memory I/O serial ports and netting twine data carrying wires, and automatic test program reads the IP ground of I/O automatically by serial ports
Location, and automatic test program carries out automatic refresh work by netting twine.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610585896.3A CN106227663A (en) | 2016-07-22 | 2016-07-22 | Automatic test method for refreshing IO firmware |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610585896.3A CN106227663A (en) | 2016-07-22 | 2016-07-22 | Automatic test method for refreshing IO firmware |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106227663A true CN106227663A (en) | 2016-12-14 |
Family
ID=57531574
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610585896.3A Pending CN106227663A (en) | 2016-07-22 | 2016-07-22 | Automatic test method for refreshing IO firmware |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106227663A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106649020A (en) * | 2017-01-22 | 2017-05-10 | 郑州云海信息技术有限公司 | Detecting method and device for storage case burn information |
CN107102924A (en) * | 2017-04-28 | 2017-08-29 | 郑州云海信息技术有限公司 | A kind of method of automatic test server serial communication stability under Linux |
CN107346256A (en) * | 2017-06-29 | 2017-11-14 | 郑州云海信息技术有限公司 | A kind of firmware refreshes the detection method and device to IO influence times |
CN107506307A (en) * | 2017-09-29 | 2017-12-22 | 郑州云海信息技术有限公司 | DMI method for refreshing and system in a kind of storage product test |
CN110389779A (en) * | 2019-07-15 | 2019-10-29 | 合肥移瑞通信技术有限公司 | The upgrade method and upgrade-system of communication module |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040078693A1 (en) * | 2002-03-22 | 2004-04-22 | Kellett Stephen Richard | Software testing |
CN104133772A (en) * | 2014-08-13 | 2014-11-05 | 广东电网公司信息中心 | Automatic test data generation method |
CN104317617A (en) * | 2014-10-23 | 2015-01-28 | 浪潮电子信息产业股份有限公司 | Method for refreshing BMC Firmware in batch |
-
2016
- 2016-07-22 CN CN201610585896.3A patent/CN106227663A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040078693A1 (en) * | 2002-03-22 | 2004-04-22 | Kellett Stephen Richard | Software testing |
CN104133772A (en) * | 2014-08-13 | 2014-11-05 | 广东电网公司信息中心 | Automatic test data generation method |
CN104317617A (en) * | 2014-10-23 | 2015-01-28 | 浪潮电子信息产业股份有限公司 | Method for refreshing BMC Firmware in batch |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106649020A (en) * | 2017-01-22 | 2017-05-10 | 郑州云海信息技术有限公司 | Detecting method and device for storage case burn information |
CN107102924A (en) * | 2017-04-28 | 2017-08-29 | 郑州云海信息技术有限公司 | A kind of method of automatic test server serial communication stability under Linux |
CN107346256A (en) * | 2017-06-29 | 2017-11-14 | 郑州云海信息技术有限公司 | A kind of firmware refreshes the detection method and device to IO influence times |
CN107346256B (en) * | 2017-06-29 | 2020-06-16 | 苏州浪潮智能科技有限公司 | Method and device for detecting IO (input/output) influence time caused by firmware refreshing |
CN107506307A (en) * | 2017-09-29 | 2017-12-22 | 郑州云海信息技术有限公司 | DMI method for refreshing and system in a kind of storage product test |
CN110389779A (en) * | 2019-07-15 | 2019-10-29 | 合肥移瑞通信技术有限公司 | The upgrade method and upgrade-system of communication module |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106227663A (en) | Automatic test method for refreshing IO firmware | |
CN103927255B (en) | Method for testing software, cloud test macro and its client based on cloud test macro | |
CN105652183A (en) | Vehicle-mounted system PCB mainboard automated testing method | |
WO2019214109A1 (en) | Monitoring device and method for testing process, and computer readable storage medium | |
CN102684927A (en) | Method and device for inspecting network device | |
CN109656205B (en) | Defective product control method and device, electronic device and readable storage medium | |
CN104038381A (en) | Applied cloud testing method and system, client and server | |
CN109032887A (en) | A kind of faulty hard disk method for rapidly positioning and system | |
CN104535953A (en) | Automatic detection system and method of liquid crystal display screen of intelligent ammeter | |
CN110956713A (en) | Equipment point inspection system and method | |
CN111885437A (en) | Commercial power failure monitoring method, system, equipment and storage medium | |
CN108810525B (en) | Combined intelligent set top box mass production test method and system | |
CN107506307A (en) | DMI method for refreshing and system in a kind of storage product test | |
CN107592525B (en) | Set top box WIFI function detection and number burning method and device | |
BR112020004013A2 (en) | battery specification query and aggregation method | |
CN103336935B (en) | A kind of probe card identification apparatus and method | |
CN108304203B (en) | Multi-meter firmware upgrading method and device | |
CN103217949A (en) | System and method for tracing welding quality | |
CN205091416U (en) | Many car wiring harness detection device | |
CN111400193B (en) | Test case generation method, device, equipment and storage medium | |
JP2014045189A (en) | Apparatus and method for inspection of marking | |
CN105933925A (en) | Throughput test method for electronic equipment to be tested and method for remote refreshing of network card | |
CN109783263B (en) | Method and system for processing aging test fault of server | |
CN203191794U (en) | Welding quality tracing system | |
CN106101693A (en) | TV method of testing and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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: 20161214 |