CN101145121B - Computer test method - Google Patents

Computer test method Download PDF

Info

Publication number
CN101145121B
CN101145121B CN2006100625696A CN200610062569A CN101145121B CN 101145121 B CN101145121 B CN 101145121B CN 2006100625696 A CN2006100625696 A CN 2006100625696A CN 200610062569 A CN200610062569 A CN 200610062569A CN 101145121 B CN101145121 B CN 101145121B
Authority
CN
China
Prior art keywords
image file
measured
computing machine
server
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.)
Expired - Fee Related
Application number
CN2006100625696A
Other languages
Chinese (zh)
Other versions
CN101145121A (en
Inventor
吴健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hongfujin Precision Electronics Tianjin Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN2006100625696A priority Critical patent/CN101145121B/en
Publication of CN101145121A publication Critical patent/CN101145121A/en
Application granted granted Critical
Publication of CN101145121B publication Critical patent/CN101145121B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

A computer test method is used to test a computer. The tested computer comprises a memory and a storage device. The computer test method comprises the following procedure that a kernel file, an image file, a storage device image file and a test modular are respectively stored in the storage device; wherein, the image file comprises a system driving modular of the tested computer, a device file and a plurality of commands; the storage device image file comprises a driving modular of the storage device of the tested computer; the tested computer is started up from the storage device, and the kernel file and the storage device image file are respectively loaded on the memory; the tested computer copies the test modular from the storage device to the memory and runs the test modular for testing.

Description

Computer test method
[technical field]
The present invention relates to a kind of method of testing, refer to a kind of method of testing that is applicable to test computer especially.
[background technology]
Test product in batch often all is to come operation according to certain testing process on the production line, with the raising testing efficiency, and the quality of assurance product.The method of test computer product (as personal computer, server etc.) was to adopt PXE (Pre-boot Execution Environment in the past, the remote boot technology) starts, hard disk from PXE downloaded test image file to computing machine to be measured, computer starting to be measured then and operation test module, its concrete steps are as follows: set up a PXE server 1.; 2. set up a test data storage server; 3. the server admin personnel make different test image files according to the hardware configuration of difference computing machine to be measured; 4. set up a DHCP (DynamicHost Configure Protocol, DHCP) server; 5. the hard disk from PXE downloaded test image file to computing machine to be measured, operation test module is tested the UUT (unit under test is at test cell) of product to be measured; 6. upload test result to the test data storage server; 7. empty the content of the hard disk at test image file place.
Because test the time is an operation test module on hard disk, if sudden power or operator's maloperation in the test process then can cause the file system corruption on the hard disk and have to reinstall system, incured loss through delay the test duration, reduced testing efficiency.
[summary of the invention]
In view of above content, be necessary to provide a kind of stable and computer test method conveniently.
A kind of computer test method, be used to test a computing machine to be measured, described computing machine to be measured comprises an internal memory and a memory device, described computer test method may further comprise the steps: a kernel file, an image file, a storage device image file and a test module are stored to this memory device respectively, this image file comprises that this system for computer to be measured drives module, device file and various command, and this storage device image file comprises the driving module of the memory device of this computing machine to be measured; Described computing machine to be measured starts from this memory device, and this kernel file and this storage device image file are respectively loaded on this internal memory; Described computing machine to be measured copies to internal memory with the test module in this memory device, moves this test module and begins test.
Relative prior art, the present invention is at internal memory operation test module, when not only having avoided on hard disk, moving the test module, file system corruption on the hard disk that causes owing to sudden power or operator's maloperation, the situation of the system that reinstalls that has to, and it is shorter that the required time of module is tested in operation on internal memory, improved testing efficiency, guaranteed the stability of test.
[description of drawings]
Fig. 1 is for realizing the test system hardware pie graph of computer test method better embodiment of the present invention.
Fig. 2 is the process flow diagram of computer test method better embodiment of the present invention.
[embodiment]
See also Fig. 1, realize that the test macro of computer test method better embodiment of the present invention comprises that one has computing machine to be measured 10, a Dynamic Host Configuration Protocol server 20 and a PXE server 30 of an internal memory 11 and a memory device 13.Described Dynamic Host Configuration Protocol server 20 is used for the IP address of network is distributed automatically so that the network manager can manage a network system concentratedly.Store kernel file 31, image file 33, storage device image file 35 and test module 37 in the described PXE server 30.In the present embodiment, this memory device 13 is a hard disk, and this storage device image file 35 is a hard disk image file.Described computing machine to be measured 10 links to each other by network 40 respectively with between described Dynamic Host Configuration Protocol server 20 and the PXE server 30.In implementation process, described Dynamic Host Configuration Protocol server 20 and PXE server 30 also can be integrated into a station server, and the function of Dynamic Host Configuration Protocol server 20 and PXE server 30 is provided simultaneously.Described kernel file 31 is used for the input-output operation of memory management, data of control system and Interrupt Process etc.Described image file 33 comprises system drive module, device file and the various command of this computing machine 10 to be measured.Described hard disk image file comprises the driving module of the hard disk of this computing machine 10 to be measured.Described test module 37 is used for this computing machine 10 to be measured is tested.
Before computing machine 10 tests to be measured to this, earlier compiled kernel file 31 is placed on this PXE server 30, this image file 33, this hard disk image file and this test module 37 are stored to respectively on this PXE server 30.Should be to be measured after computing machine 10 opens, this computing machine 10 to be measured is downloaded to this kernel file 31, image file 33, hard disk image file and test module 37 respectively the hard disk of this computing machine 10 to be measured from PXE server 30.This computing machine 10 to be measured has been downloaded and will have been restarted, and when treating that this computing machine 10 to be measured is restarted automatically, owing to stored various files in the hard disk of this computing machine 10 to be measured, then system will be from this hard disk startup.After the startup, at first this kernel file 31 is loaded on the internal memory 11 of this computing machine 10 to be measured, again this hard disk image file copy is arrived this internal memory 11, the driving module that is about in this hard disk image file is loaded on internal memory 11, should test module 37 at last copies in this internal memory 11, move this test module 37 and begin test, and test result is uploaded to the data storage center of described PXE server 30 or described Dynamic Host Configuration Protocol server 20.
See also Fig. 2, utilize the method for above-mentioned test system and test computing machine 10 to be measured may further comprise the steps:
S10: described computing machine 10 to be measured obtains the IP address by this Dynamic Host Configuration Protocol server 20.
S20: described computing machine 10 to be measured is downloaded to the kernel file 31 in the described PXE server 30, image file 33, hard disk image file and test module 37 respectively in the hard disk of this computing machine 10 to be measured.
S30: described computing machine 10 to be measured is restarted automatically.
S40: described computing machine to be measured 10 is from hard disk startup, and this kernel file 31 is loaded on the internal memory 11 of this computing machine 10 to be measured, again the driving module in this hard disk image file is loaded on internal memory 11.
S50: described computing machine 10 to be measured copies to the test module 37 in this hard disk in this internal memory 11.
S60: the test module 37 in described computing machine 10 these internal memories 11 of operation to be measured begins test.
S70: test result is uploaded to a data in server storage center.
End of test (EOT) empties the content in the hard disk of described computing machine 10 to be measured.
In another embodiment, before the S40 step, need not and to be connected with this Dynamic Host Configuration Protocol server 20 and this PXE server 30 by computing machine 10 to be measured, earlier this kernel file 31, image file 33, storage device image file 35 and test module 37 directly are stored in this memory device 13, directly start and carry out the step of back during test from this memory device 13.
Computer test method of the present invention is compared to traditional method of testing, when internal memory 11 is tested, if sudden power or operator's maloperation, only need again the step after hard disk startup and operation to test, can not cause the damage of system, when having avoided on hard disk, moving test module 37, file system corruption on the hard disk that causes owing to sudden power or operator's maloperation, the situation of the system that reinstalls that has to, and on internal memory 11 required time of operation test module 37 shorter, improve testing efficiency, guaranteed the stability of test.

Claims (5)

1. a computer test method is used to test a computing machine to be measured, and described computing machine to be measured comprises an internal memory and a memory device, and described computer test method may further comprise the steps:
A. a kernel file, an image file, a storage device image file and a test module are stored to this memory device respectively, this image file comprises that this system for computer to be measured drives module, device file and various command, and this storage device image file comprises the driving module of the memory device of this computing machine to be measured;
B. described computing machine to be measured starts from this memory device, and this kernel file and this storage device image file are respectively loaded on this internal memory; And
C. described computing machine to be measured copies to internal memory with the test module in this memory device, moves this test module and begins test.
2. computer test method as claimed in claim 1, its step also comprises: before step a described computing machine to be measured is connected in a Dynamic Host Configuration Protocol server, described computing machine to be measured obtains the IP address from this Dynamic Host Configuration Protocol server.
3. computer test method as claimed in claim 1, its step also comprises: before step a described computing machine to be measured is connected in a PXE server, store this kernel file, this image file, this storage device image file and this test module in this PXE server, this kernel file, this image file, this storage device image file and this test module are downloaded in this memory device from this PXE server.
4. computer test method as claimed in claim 1, its step also comprises: before step a described computing machine to be measured is connected in a station server, this server provides the function of Dynamic Host Configuration Protocol server and PXE server simultaneously, store this kernel file, this image file, this storage device image file and this test module in this server, described computing machine to be measured obtains the IP address from this server, and this kernel file, this image file, this storage device image file and this test module are downloaded in this memory device from this server.
5. computer test method as claimed in claim 1, it is characterized in that: before step a, described computing machine to be measured is connected in a Dynamic Host Configuration Protocol server and a PXE server, described computing machine to be measured obtains the IP address from this Dynamic Host Configuration Protocol server, store this kernel file in this PXE server, this image file, this storage device image file and this test module, this kernel file, this image file, this storage device image file and this test module are downloaded in this memory device from this PXE server, and described computer test method also comprises test result data is uploaded to the step of storing in described PXE server or the described Dynamic Host Configuration Protocol server.
CN2006100625696A 2006-09-13 2006-09-13 Computer test method Expired - Fee Related CN101145121B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2006100625696A CN101145121B (en) 2006-09-13 2006-09-13 Computer test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2006100625696A CN101145121B (en) 2006-09-13 2006-09-13 Computer test method

Publications (2)

Publication Number Publication Date
CN101145121A CN101145121A (en) 2008-03-19
CN101145121B true CN101145121B (en) 2010-09-22

Family

ID=39207659

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006100625696A Expired - Fee Related CN101145121B (en) 2006-09-13 2006-09-13 Computer test method

Country Status (1)

Country Link
CN (1) CN101145121B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102457405A (en) * 2010-10-26 2012-05-16 鸿富锦精密工业(深圳)有限公司 PXE (Pre-boot Execution Environment) test device and PXE test method
CN104850475B (en) * 2015-05-29 2018-11-13 浙江宇视科技有限公司 A kind of test method and device of equipment
CN105930239A (en) * 2016-04-20 2016-09-07 浪潮电子信息产业股份有限公司 Computer PXE test method
CN108763004A (en) * 2018-05-29 2018-11-06 郑州云海信息技术有限公司 One kind interconnecting test method and system from server duplexed system
CN109582373A (en) * 2018-11-26 2019-04-05 郑州云海信息技术有限公司 A kind of starting method and device of system test system
CN110491440A (en) * 2019-07-02 2019-11-22 深圳市金泰克半导体有限公司 A kind of internal storage testing method and system
CN113485921B (en) * 2021-06-30 2023-08-08 网易(杭州)网络有限公司 File system testing method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1035018A (en) * 1988-01-27 1989-08-23 约翰弗兰克制造公司 In device, be used for memory is carried out the method and system of the functional test of high speed pin-point accuracy based on microprocessor
US5974547A (en) * 1998-03-20 1999-10-26 3Com Corporation Technique for reliable network booting of an operating system to a client computer
CN1329337A (en) * 2001-05-24 2002-01-02 盖内蒂克瓦尔有限公司 Method for repairing defect of dynamic random access internal memory and state display

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1035018A (en) * 1988-01-27 1989-08-23 约翰弗兰克制造公司 In device, be used for memory is carried out the method and system of the functional test of high speed pin-point accuracy based on microprocessor
US5974547A (en) * 1998-03-20 1999-10-26 3Com Corporation Technique for reliable network booting of an operating system to a client computer
CN1329337A (en) * 2001-05-24 2002-01-02 盖内蒂克瓦尔有限公司 Method for repairing defect of dynamic random access internal memory and state display

Also Published As

Publication number Publication date
CN101145121A (en) 2008-03-19

Similar Documents

Publication Publication Date Title
CN101145121B (en) Computer test method
CN105740094B (en) Electronic equipment and firmware restorative procedure
CN105808270B (en) firmware variable updating method
CN102629206B (en) A kind of method for updating embedded system software and system
CN101055539A (en) Computer test system and method
US8533444B2 (en) Booting system, image forming apparatus having the system and control method thereof
US20130166958A1 (en) Software burning system and burning control method
US20060224874A1 (en) Method for updating system management basic input output system (SMBIOS) data
CN103246534A (en) Method and device for migrating operating system
CN105653405B (en) A kind of fault handling method and system of Generic Bootstrap
US9836417B2 (en) Bridge configuration in computing devices
CN110556155B (en) Method and device for testing diskless started SSD product and computer equipment
WO2019041662A1 (en) Dram test device and method
US9032262B2 (en) Memory test method, memory test device, and adapter thereof
TWI591479B (en) Apparatus and method for initializing port of electronic device
CN102880479B (en) A kind of method of remotely modifying BIOS property parameters and device
CN107247596A (en) Starting-up method, device and electronic equipment
WO2017173924A1 (en) Method and device for switching between file systems
CN111124786A (en) Batch detection method, batch detection device and computer readable storage medium
CN104459515A (en) Mainboard production testing method
CN107506271A (en) A kind of method of testing and device
CN103777955A (en) Method and device for installing and operating Unix-like in Windows environment
CN111063387B (en) Method, device and equipment for testing performance of solid state disk and storage medium
US7369958B1 (en) System and method for setting motherboard testing procedures
CN114691180A (en) Software upgrading method and device for processor chip, processor and processor system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: HONGFUJIN PRECISION ELECTRONICS (TIANJIN) CO., LTD

Free format text: FORMER OWNER: HONGFUJIN PRECISION INDUSTRY (SHENZHEN) CO., LTD.

Effective date: 20111017

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 518109 SHENZHEN, GUANGDONG PROVINCE TO: ECONOMIC AND TECHNOLOGICAL DEVELOPMENT ZONE, TIANJIN

TR01 Transfer of patent right

Effective date of registration: 20111017

Address after: Haiyun street, Tianjin economic and Technological Development Zone No. 80

Co-patentee after: Hon Hai Precision Industry Co., Ltd.

Patentee after: Hongfujin Precision Electronics (Tianjin) Co., Ltd.

Address before: 518109 Guangdong city of Shenzhen province Baoan District Longhua Town Industrial Zone tabulaeformis tenth East Ring Road No. 2 two

Co-patentee before: Hon Hai Precision Industry Co., Ltd.

Patentee before: Hongfujin Precise Industry (Shenzhen) Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100922

Termination date: 20140913

EXPY Termination of patent right or utility model