Method for achieving automatic switching between DOS and other test platforms

An automatic switching and testing platform technology, applied in the detection of faulty computer hardware, error detection/correction, instruments, etc., can solve problems such as difficulty in automatically entering Linux, affecting test quality, and prone to missing tests, etc., to achieve automation Effects of switching, saving test time, and improving test efficiency

Inactive Publication Date: 2016-06-08
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] DOS can automatically enter Windows by modifying the Grub boot method, but it is difficult to automatically enter Linux and UEFI, so most factories divide the test into two steps. The first step is to test under DOS first. After the test under DOS is passed, The tester manually switches the call and then performs the test under the Linux or UEFI pl

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for achieving automatic switching between DOS and other test platforms

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0021] A method for automatically switching between DOS and other test platforms, the method uses UEFIShell to identify Windows and Linux operating system boot partitions in UEFI mode, calls the operating system boot file, and starts the operating system; when the server product is produced and tested, the DOS is first started The disk is booted into UEFIShell, and a PASS mark file will be written after the test is passed, and then the DOS test PASS mark file exists under UEFIShell to realize automatic switching between UEFI and DOS, Windows and Linux platforms.

Embodiment 2

[0023] like figure 1 As shown, on the basis of embodiment 1, the method operation steps described in this embodiment are as follows:

[0024] a) Make the U disk into a DOS boot disk and put it into the DOS platform test tool. After the test tool passes the test, it will write a PASS mark file, and then execute the restart command;

[0025] b) Write the efi program, named scan.efi, which is used to prompt the operator to scan the product serial number, and judge whether the serial number product DOS test PASS mark file exists in the U disk. If it does not exist, execute the exit command and automatically enter DOS platform; returns 0 if present;

[0026] c) Write the uefishell self-starting script STARTUP.NSH, first call scan.efi, if the program scan.efi returns 0, it means that the product has passed the DOS test, start the UEFI platform test, or boot the Windows, Linux and other operating systems Boot file (\efi\boot\bootx64.efi for Linux operating system, \EFI\Microsoft\Bo...

Embodiment 3

[0030] On the basis of Embodiment 2, in this embodiment, in step a), when other operating systems need to be started from the U disk, the corresponding operating system files are copied to the U disk.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for achieving automatic switching between a DOS and other test platforms. The method includes: using UEFI (unified extensible firmware interface) Shell for recognizing operating system boot partitions under a UEFI mode, invoking operating system boot files and starting an operating system; booting a DOS boot disk into the UEFI Shell during testing, writing a PASS marker file after test passes, and judging whether DOS PASS marker file exists or not under UEFI Shell to achieve automatic switching between UEFI and DOS, Windows as well as Linux platforms. The method for achieving automatic switching between the DOS and other test platforms has the advantages that manual operation of testers during platform switching is avoided, and testers' operating actions are reduced, so that automatic switching is achieved; particularly, when one tester tests multiple machines, testing time can be saved and testing efficiency can be improved; entering the DOS from the UEFI Shell platform, testing on the UEFI Shell platform or invoking the operating system boot files to enter the operating system is judged by programs automatically, and accordingly human error and testing missing can be avoided and testing quality is guaranteed.

Description

technical field [0001] The invention relates to the technical field of server product testing, in particular to a method for automatically switching between DOS and other test platforms, in particular, using UEFIShell to identify the boot partitions of operating systems such as Windows and Linux in UEFI mode, and calling the operating system boot files to start operating system. During the production test of server products, first guide the DOS boot disk into UEFIShell, and judge whether there is a DOS test PASS mark file under UEFIShell, so as to realize the automatic switching between UEFI and DOS, Windows and Linux platforms. The operation action and test time of the tester are reduced, the test efficiency is improved, and the test quality is guaranteed. Background technique [0002] In the current factory production test of server products, most of the online tests are conducted on platforms such as DOS, Windows, Linux or UEFI. Due to the limitations of test tools and t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F11/22
CPCG06F11/2247
Inventor 郭毅王佩孙连震
Owner LANGCHAO ELECTRONIC INFORMATION IND CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products