CN101201776A - Method for integrating and testing platform of multiple operating systems - Google Patents

Method for integrating and testing platform of multiple operating systems Download PDF

Info

Publication number
CN101201776A
CN101201776A CNA2006101646933A CN200610164693A CN101201776A CN 101201776 A CN101201776 A CN 101201776A CN A2006101646933 A CNA2006101646933 A CN A2006101646933A CN 200610164693 A CN200610164693 A CN 200610164693A CN 101201776 A CN101201776 A CN 101201776A
Authority
CN
China
Prior art keywords
operating system
test
under
efi
environment
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.)
Granted
Application number
CNA2006101646933A
Other languages
Chinese (zh)
Other versions
CN100524241C (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.)
Nanjing ability tree information technology Co., Ltd
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CNB2006101646933A priority Critical patent/CN100524241C/en
Publication of CN101201776A publication Critical patent/CN101201776A/en
Application granted granted Critical
Publication of CN100524241C publication Critical patent/CN100524241C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

An integrated test method of a platform with a plurality of operating systems, which is used for realizing comprehensive test on the file system and disk performance under the platform with various operating system on computer equipment provided with EFI system environment. The method consists essentially of the following steps: the sectors of entire real hard disks of the system are scanned under the EFI environment to carry out low-level hardware test on disk equipment; an operating system is chosen to load and the environment of the operating system is accessed, disk performance of the file system and the disk is tested under the operating system environment; the operating system is quit and the EFI environment is returned to, so as to summarize the test results; whether other operating systems are needed to be loaded is determined, if so, other operating systems are loaded by returning, if not, then the summarized test results are sent to a server-end for analysis.

Description

Method for integrating and testing platform of multiple operating systems
Technical field
The present invention relates to a kind of method of in platform of multiple operating systems, hardware device in the system being tested, relate in particular to a kind of method of on computer equipment, the bottom hardware and the disk performance of file system under the several operation systems platform and disk unit being carried out integration test with EFI (Extended Firmware Interface, Extensible Firmware Interface) system environments.
Background technology
At present, during hardware devices such as system testing personnel conducting disk diagnosis (diagnostic) test, for different operating system (Operating System, be called for short: OS) test platform, for example: Windows, Linux, Dos etc., because the difference of operating system, the emphasis of its test also is not quite similar under each operating system platform.For the Windows system, because it has more and more higher security, we are difficult in the hardware capability property testing that under its system environments all hardware devices is carried out bottom, therefore testing staff's test emphasis is more prone to use test with aspect of performance under the Windows system environments, for example file system (File System) test, CPU (Central Processing Unit, central processing unit) occupancy test or the like.And because Linux, Dos and EFI (EFI, Extended FirmwareInterface, Extensible Firmware Interface) system is a kind of brand-new miniature type operating system platform, its final purpose is to replace existing BIOS (Basic Input Output System, Basic Input or Output System (BIOS), can be in order to realize the initialization and the relevant configuration of system hardware) the startup guiding of platform complete operation system, and it is more perfect than traditional B IOS that EFI provides, function more fully, it is equivalent to a small-sized operating system, it has and linux system (a kind of multi-user's that can freely use computer operating system simultaneously, can run on the general personal computer) similar hardware opening, because EFI and BIOS are in same rank, so EFI is close to hardware device level more, the system testing personnel can fully control hardware devices such as disks by it, and can carry out the functional test of hardware device level.In addition, because EFI supports the C/C++ program language, the tester can finish the test of more bottom hardware functions like a cork under EFI shell (Shell) program (the EFI shell is the interface routine of linking up with the external operation personnel that EFI provides), simultaneously by coding, the tester can also load various operating systems and enter corresponding system environments and finish the different system testing flow processs and the test function of test logic under the EFI environment.System environments has better hardware opening, and the testing staff can carry out the more hardware capability property testing of bottom.Characteristics at different operating system self, the tester need constantly restart computer equipment, entering different operating system platforms respectively tests, will certainly increase the complicacy of test and tester's workload like this, prolonged the test duration, and the test emphasis under each operating system platform is also incomplete same, if only under a kind of operating system environment, test, may make the coverage rate of test not enough again, can not carry out comprehensively complete test to hardware device, thereby with low precision of test result.
Summary of the invention
In order to solve above-mentioned the problems of the prior art and defective, the object of the present invention is to provide a kind of method for integrating and testing platform of multiple operating systems, in order to realize on the computer equipment with EFI system environments that file system under the several operation systems platform and disk performance are carried out comprehensive, comprehensive test.
A kind of method for integrating and testing platform of multiple operating systems provided by the present invention is to comprise following steps: (a) at the computer equipment Power-On Self-Test and after entering the EFI system, start the EFI shell; (b) sector to the whole entity hard disk of system is scanned under EFI shell environment, disk unit is carried out the hardware bottom layer test; (c) generate a journal file that records test result after the hardware bottom layer end of test (EOT); (d) select to load an operating system and enter under the environment of this operating system, the disk performance under this system environments is tested to file system under this operating system environment and disk; (e) generate a journal file that records test result after the end of test (EOT); (f) withdraw from this operating system and be back under the EFI shell environment above-mentioned each journal file that records test result collected and gather; And (g) judge whether also to need to load other operating system, if then return step (d), if otherwise the journal file after will gathering is sent to server end carries out file and understand and subsequent analysis processing.
In sum, the invention has the advantages that:
A kind of method for integrating and testing platform of multiple operating systems of the present invention can be integrated the several operation systems platform, the characteristics that fully utilize each operating system platform self are tested the hardware devices such as disk in the computer equipment, realize of the comprehensive test of hardware device slave unit functions such as disk with this to application performance, for example under the Windows operating system platform, be more suitable for carrying out upper layer application and performance test, and at EFI, Linux, be more suitable for carrying out bottom hardware functional test etc. under the Dos system platform, and then the coverage rate of test is improved greatly, significantly promoted precision of test result.
Simultaneously, the present invention can be implemented in different Test Operating System platforms and test configurations script between switch automatically, and finish corresponding testing program automatically, make whole testing process not need the external world or manual intervention, thereby simplified complicated testing process, shortened the test duration, and also reduced tester's workload, reduced because the unnecessary negative effect that manual operation brought.
In addition, a kind of method for integrating and testing platform of multiple operating systems of the present invention is by different os starting configurations and test item configuration, the dirigibility and the configurability of test have been increased, simultaneously, method of the present invention can be collected, gather the test result under a plurality of operating system platforms, for example generate a comprehensive daily record (LOG) file, the functional test of hardware devices such as disk and the integration test result's that application performance is tested information have been comprised in this journal file, can send to server end by the Internet then and carry out journal file deciphering and subsequent analysis processing, so will be more comprehensively, the information that represents hardware device more intuitively is convenient to problem and performance that the tester analyzes hardware device.
Description of drawings
Fig. 1 is the method flow diagram of a kind of method for integrating and testing platform of multiple operating systems of the present invention.
Wherein, description of reference numerals is as follows:
Step 100 computer equipment Power-On Self-Test
Step 101 enters the EFI system
Step 102 starts the EFI shell
All sectors of the whole entity hard disk of step 103 pair system are scanned disk unit is carried out the hardware bottom layer test
Step 104 generates a journal file that records test result
Step 105 is selected to load an operating system and enter under the environment of operating system, and file system under the operating system environment and disk are tested at the disk performance under the system environments
Step 106 generates a journal file that records test result
Step 107 withdraws from operating system and is back under the EFI shell environment each journal file that records test result collected and gathers
Step 108 judges whether also to need to load other operating system
Journal file after step 109 will gather is sent to server end and carries out file deciphering and subsequent analysis processing
Embodiment
Below in conjunction with the accompanying drawing part preferred implementation of the present invention is elaborated.
Please refer to Fig. 1 now, this figure is the method flow diagram of a kind of method for integrating and testing platform of multiple operating systems of the present invention.As shown in the figure, a kind of method for integrating and testing platform of multiple operating systems of the present invention comprises following steps:
At computer equipment Power-On Self-Test (step 100) and enter EFI system (step 101) afterwards, start EFI shell (step 102);
All sectors to the whole entity hard disk of system under EFI shell environment are scanned, disk unit is carried out hardware bottom layer test (step 103);
Generate a journal file (step 104) that records test result after the hardware bottom layer end of test (EOT);
Select to load an operating system and enter under the environment of this operating system, disk performance under this system environments is tested (step 105) to file system under this operating system environment and disk, wherein, method of the present invention can provide a cover platform of multiple operating systems integration testing program under EFI shell environment, and provide a configurable interface to the user, freely dispose the order that starts which operating system platform and startup by the user, and the flow process and the logic of definition test, automatically load with starting according to user's configuration by the integration testing platform program then and enter different Test Operating System platforms and (can under EFI shell environment, load different disk partition, realize visiting different operating system partitions with this), and finish the different system testing flow processs and the test function of test logic, because method of the present invention is to realize under EFI shell environment, and the EFI shell provides strong functions, the system testing personnel can oneself write application program and driver under EFI shell environment, therefore can realize above-mentioned function fully, and because EFI has replaced BIOS, that is to say that the tester tests in the BIOS one-level, therefore will have bigger freedom, for example can select several operation systems the platform loading and the startup of (can comprise the Windows operating system of various version or even up-to-date Windows Vista operating system and (SuSE) Linux OS and Dos operating system or the like), and this can't realize in the prior art by coding;
Generate a journal file (step 106) that records test result after the end of test (EOT);
Withdraw from this operating system and be back under the EFI shell environment above-mentioned each journal file that records test result collected and gather (step 107), wherein, the integration testing platform program will be collected each journal file that records the dependence test result that is generated under each operating system testing platform and the test logic automatically, and is aggregated into a comprehensive journal file; And
Judge whether also to need to load other operating system (step 108), if then return step 105; If not, the journal file after then will gathering is sent to deciphering and the subsequent analysis processing (step 109) that server end carries out journal file by the Internet.
In addition, what also need remark additionally is: because the effect of EFI is equivalent to the BIOS of system, so it can replace the work of BIOS in the past, also can provide more strong functions simultaneously.For example: all sectors that can the access system hard disk under the EFI environment; EFI can keep a zone and be used for the operation of self and the preservation of data on system disk; and be to visit these sector zone that EFI keeps under Windows and linux system environment; all sectors that the tester could not visit or revise hard disk under Windows and linux system environment simultaneously; for example its protection to C subregion (being system's dish) is strict more under Windows Vista system environments; content under some file can't be visited at all; therefore even it is illegal that read operation also can be considered to, just the test under EFI Test program and the Windows system environments can be combined by method tester of the present invention and carry out hybrid test under the platform of multiple operating systems.
In sum, after adopting the testing process of the inventive method, the system testing personnel can be from the bottom to the upper strata, from to the detection of disk hardware device and scanning of sector to the test of the file system under each operating system platform and the detection of disk performance, realize comprehensive integrated testability of system disk equipment, and then broken through the restriction of each operating system platform in the prior art, and testing scheme of the present invention is incorporate, the flow process of its test can be counted as an integral body and not need artificial intervention, it combines the characteristics of several operation systems platform, realized a comprehensive complete test, and the tester wants to finish such test in the prior art, must rely on artificial configuration script and manually select different operating system to be started the test that could realize different levels respectively.
Though the present invention discloses as above with aforementioned preferred implementation, yet it is not in order to limit the present invention.Those skilled in the art will realize that the change of being carried out all belongs within the scope of patent protection of the present invention with retouching under the situation of the scope and spirit of the present invention that do not break away from appending claims of the present invention and disclosed.Please refer to appending claims about the protection domain that the present invention defined.

Claims (5)

1. method for integrating and testing platform of multiple operating systems, in order to realize on the computer equipment with EFI system environments that file system under the several operation systems platform and disk performance are carried out integration test, the method includes the steps of:
(a), start the EFI shell at this computer equipment Power-On Self-Test and after entering the EFI system;
(b) sector to the whole entity hard disk of system is scanned under described EFI shell environment, disk unit is carried out the hardware bottom layer test;
(c) generate a journal file that records test result after this hardware bottom layer end of test (EOT);
(d) select to load an operating system and enter under the environment of this operating system, the disk performance under this system environments is tested to file system under this operating system environment and disk;
(e) generate a journal file that records test result after the end of test (EOT);
(f) withdraw from this operating system and be back under the described EFI shell environment described each journal file that records test result collected and gather; And
(g) judge whether also to need to load other operating system, if then return step (d); If not, the journal file after then this being gathered is sent to server end and carries out file and understand and subsequent analysis processing.
2. method for integrating and testing platform of multiple operating systems as claimed in claim 1 wherein is that journal file after by the Internet this being gathered is sent to server end and carries out file and understand and subsequent analysis processing in this step (g).
3. method for integrating and testing platform of multiple operating systems as claimed in claim 1, wherein said operating system are Windows operating system.
4. method for integrating and testing platform of multiple operating systems as claimed in claim 1, wherein said operating system are (SuSE) Linux OS.
5. method for integrating and testing platform of multiple operating systems as claimed in claim 1, wherein said operating system are Dos operating system.
CNB2006101646933A 2006-12-14 2006-12-14 Method for integrating and testing platform of multiple operating systems Expired - Fee Related CN100524241C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006101646933A CN100524241C (en) 2006-12-14 2006-12-14 Method for integrating and testing platform of multiple operating systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006101646933A CN100524241C (en) 2006-12-14 2006-12-14 Method for integrating and testing platform of multiple operating systems

Publications (2)

Publication Number Publication Date
CN101201776A true CN101201776A (en) 2008-06-18
CN100524241C CN100524241C (en) 2009-08-05

Family

ID=39516951

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006101646933A Expired - Fee Related CN100524241C (en) 2006-12-14 2006-12-14 Method for integrating and testing platform of multiple operating systems

Country Status (1)

Country Link
CN (1) CN100524241C (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063326A (en) * 2010-12-31 2011-05-18 中国传媒大学 System for testing file system capacity based on virtualization and method thereof
CN102222042A (en) * 2011-06-28 2011-10-19 北京新媒传信科技有限公司 Automatic software testing method based on cloud computing
CN102479131A (en) * 2010-11-23 2012-05-30 英业达股份有限公司 Test method
CN105653414A (en) * 2016-04-01 2016-06-08 浪潮电子信息产业股份有限公司 Method for realizing automatic switching between DOS and other test platforms
CN105700978A (en) * 2016-01-13 2016-06-22 浪潮电子信息产业股份有限公司 Method for carrying out double-system unattended automatic aging test on server
CN107066372A (en) * 2017-03-03 2017-08-18 九次方大数据信息集团有限公司 Backstage resource monitoring method and device in system performance testing
CN108038033A (en) * 2017-12-12 2018-05-15 中标软件有限公司 Test method and system based on linux system
CN109460342A (en) * 2018-11-02 2019-03-12 郑州云海信息技术有限公司 Method, apparatus, equipment and the storage medium of a kind of testing hard disk performance and collector journal
CN110471809A (en) * 2019-07-31 2019-11-19 深圳中电长城信息安全系统有限公司 A kind of method and test device of test
CN111367574A (en) * 2014-02-06 2020-07-03 英特尔公司 Media protection policy enforcement for multiple operating system environments

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI461906B (en) * 2011-09-09 2014-11-21 Hon Hai Prec Ind Co Ltd Method for analyzing the data of hard discs

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102479131A (en) * 2010-11-23 2012-05-30 英业达股份有限公司 Test method
CN102063326B (en) * 2010-12-31 2013-01-02 中国传媒大学 System for testing file system capacity based on virtualization and method thereof
CN102063326A (en) * 2010-12-31 2011-05-18 中国传媒大学 System for testing file system capacity based on virtualization and method thereof
CN102222042A (en) * 2011-06-28 2011-10-19 北京新媒传信科技有限公司 Automatic software testing method based on cloud computing
CN102222042B (en) * 2011-06-28 2014-04-23 北京新媒传信科技有限公司 Automatic software testing method based on cloud computing
CN111367574A (en) * 2014-02-06 2020-07-03 英特尔公司 Media protection policy enforcement for multiple operating system environments
CN111367574B (en) * 2014-02-06 2023-09-12 英特尔公司 Method, system, device and medium for implementing medium protection policy for multi-operating system environment
CN105700978A (en) * 2016-01-13 2016-06-22 浪潮电子信息产业股份有限公司 Method for carrying out double-system unattended automatic aging test on server
CN105653414A (en) * 2016-04-01 2016-06-08 浪潮电子信息产业股份有限公司 Method for realizing automatic switching between DOS and other test platforms
CN107066372A (en) * 2017-03-03 2017-08-18 九次方大数据信息集团有限公司 Backstage resource monitoring method and device in system performance testing
CN108038033A (en) * 2017-12-12 2018-05-15 中标软件有限公司 Test method and system based on linux system
CN108038033B (en) * 2017-12-12 2021-02-26 中标软件有限公司 Test method and system based on Linux system
CN109460342A (en) * 2018-11-02 2019-03-12 郑州云海信息技术有限公司 Method, apparatus, equipment and the storage medium of a kind of testing hard disk performance and collector journal
CN110471809A (en) * 2019-07-31 2019-11-19 深圳中电长城信息安全系统有限公司 A kind of method and test device of test

Also Published As

Publication number Publication date
CN100524241C (en) 2009-08-05

Similar Documents

Publication Publication Date Title
CN100524241C (en) Method for integrating and testing platform of multiple operating systems
CN105938450B (en) The method and system that automatic debugging information is collected
US20080229046A1 (en) Unified support for solid state storage
CN106875980A (en) Method for testing hard disk and device
US7673128B2 (en) Methods and apparatus to facilitate fast restarts in processor systems
CN101458754B (en) Method and apparatus for monitoring application program action
EP3047378B1 (en) Dynamic discovery of applications, external dependencies, and relationships
CN105468482B (en) Hard disk position identification and fault diagnosis method and server equipment thereof
CN105808399A (en) Method and device for remote debugging
US20110029816A1 (en) Personal computer diagnostic test before executing operating system
CN103678096B (en) The adaptation method of testing and device of client application
JP6266008B2 (en) Method of applying virtual machine image to computer system, information processing system, and computer program
CN105678160A (en) System and method for providing access to original routines of boot drivers
US8108358B2 (en) File management method of server
CN110597704A (en) Application program pressure testing method, device, server and medium
US8949588B1 (en) Mobile telephone as bootstrap device
CN110515758A (en) A kind of Fault Locating Method, device, computer equipment and storage medium
US10802947B2 (en) Filter trace based on function level
US20140280544A1 (en) Dynamically Managing Social Networking Groups
CN111782474A (en) Log processing method and device, electronic equipment and medium
US20060129354A1 (en) Method, system, and article of manufacture for running diagnostics related to a device
KR20130019432A (en) Replaying architectural execution with a probeless trace capture
US20080004857A1 (en) Restoring base configuration on software testing computer
US20080281992A1 (en) Method for detecting order of attached devices and computer readable storage media storing program thereof
CN108563552B (en) Method, equipment and storage medium for recording peripheral operation behaviors

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20191212

Address after: 15-1 huilongqiao, Gulou District, Nanjing City, Jiangsu Province

Patentee after: Nanjing ability tree information technology Co., Ltd

Address before: Taipei City, Taiwan, China

Patentee before: Yingda Co., Ltd.

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

Granted publication date: 20090805

Termination date: 20191214