Method for testing operating system started by USB (Universal Serial Bus)

Through the SATA to USB interface and UEFI settings, the PC/IPC can automatically start the Windows operating system for testing without disassembling it, solving the problem of inconvenient operation in the existing technology, improving testing efficiency and deployment efficiency, and improving System security and compatibility.

CN118819979APending Publication Date: 2024-10-22ADVANTECH CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410866825.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-01
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

In the production and manufacturing process of PC/IPC complete machines or motherboards, the existing technology requires disassembling the machine to install or removing IDE/SATA/MSATA/M.2 devices for full-function testing of the Windows operating system, which is inconvenient and reduces production efficiency. This is especially complicated when the device comes with a lock.

Method used

Connect the SATA SSD to the USB port on the exposed IO surface of the PC/IPC through the SATA to USB interface. Use the built-in sysprep.exe application to automatically start the Windows operating system from USB after the computer is shut down, and use the packaging software Easy Sysprep for personalization. Customize settings and benchmarks, and generate detailed test reports.

Benefits of technology

It enables full-function testing of the Windows operating system without dismantling the machine, improves testing efficiency, improves startup speed and security through UEFI settings, simplifies system deployment and initialization settings, and improves user experience and deployment efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118819979A_ABST
    Figure CN118819979A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of PC / IPC complete machine or machine board production and manufacturing, in particular to a method for testing an operating system started through a USB, which comprises SATA-to-USB, SATA SSD and a PC / IPC complete machine exposed IO surface USB port, one end of the SATA-to-USB is connected with one end of the SATA SSD, one end of the SATA SSD is connected with the PC / IPC complete machine exposed IO surface USB port through the SATA-to-USB, S1, a computer is restarted, and S2, the computer is restarted; the method comprises the following steps: S1, connecting an SATA SSD (Serial Advanced Technology Attachment SATA Solid State Disk) with an SATA interface on a computer mainboard, and S2, after the computer is started, pressing a corresponding key to enter UEFI (Unified Extensible Firmware Interface) setting during starting, finding a'starting 'option in the UEFI setting, setting the SATA SSD as a preferred option of UEFI starting equipment, storing the UEFI setting, quitting, restarting the computer, waiting for the computer to be started from the UEFI starting equipment of the SATA SSD, and entering a Windows operating system installation interface. When the PC / IPC complete machine is started, the Windows operation system can be automatically started from the USB to SATA SSD, the purpose that the machine does not need to be disassembled for installation or the SATA SSD does not need to be pulled out is achieved, and the testing efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of PC / IPC complete machine or machine board production and manufacturing, in particular to a method for testing an operating system started via a USB. Background Art

[0002] With the rapid development of industrial automation, intelligent manufacturing and other fields, the demand for high-performance and high-reliability industrial PC / IPC machines or boards continues to grow.

[0003] When PC / IPC manufacturers conduct production tests, they usually use Microsoft Windows XP / 7 / 8 / 10 / 11 / 12 operating systems for full-function testing.

[0004] At present, when a PC or IPC complete machine or board is manufactured and tested for function, it is necessary to install a Windows XP / 7 / 8 / 10 / 11 / 12 operating system on an IDE / SATA / MSATA / M.2 device, and then assemble the IDE / SATA / MSATA / M.2 device on the internal board of the machine before starting the Windows XP / 7 / 8 / 10 / 11 / 12 operating system for full function testing. This process requires disassembling the machine to insert or remove the device, which is inconvenient to operate and reduces production efficiency. When the PC / IPC complete machine or PC / IPC board contains an IDE / SATA / MSATA / M.2 device with a shipping lock, the installation or removal operation during the functional test is more complicated, and the production efficiency will be further reduced.

[0005] Therefore, there is an urgent need for an operating system testing method started via USB to solve the problems of the prior art. Summary of the invention

[0006] The purpose of the present invention is to provide a method for testing an operating system started via a USB to solve the problems raised in the above background technology.

[0007] To achieve the above-mentioned purpose, the present invention provides an operating system testing method started by USB to solve the existing technical problems, including SATA to USB, SATA SSD and PC / IPC machine exposed IO surface USB port, one end of the SATA to USB is connected to one end of the SATA SSD, and one end of the SATA SSD is connected to the PC / IPC machine exposed IO surface USB port through the SATA to USB;

[0008] After the Windows operating system is installed, operate the "sysprep.exe" application that comes with the Windows operating system. When the computer is turned off, connect the SATA SSD to the USB port on the exposed IO surface of the PC / IPC. After the PC / IPC is turned on, it will automatically start the Windows operating system from the USB to the SATA SSD.

[0009] After the Windows operating system is started, use packaging software to repackage the Windows operating system, make personalized settings and save them, and complete the testing process of the Windows operating system;

[0010] Windows operating system testing: test the packaged Windows operating system through benchmark software and generate a detailed test report.

[0011] As a further improvement of this technical solution, the following steps are included before the Windows operating system is installed:

[0012] S1. Connect the SATA SSD to the SATA interface on the computer motherboard;

[0013] S2. In UEFI settings, set SATA SSD as the preferred option for UEFI boot device and install Windows operating system;

[0014] S3. After the Windows operating system is installed, execute the "sysprep.exe" application;

[0015] S4. After the execution of the "sysprep.exe" application is completed, shut down the computer.

[0016] As a further improvement of the technical solution, the packaging software is Easy Sysprep, and Easy Sysprep includes selecting tasks, configuring packaging options, and starting packaging.

[0017] As a further improvement of the technical solution, the option of disabling non-UEFI boot devices in UEFI settings ensures that only SATA SSD is selected as the boot device. UEFI is the hardware device responsible for initializing the computer during the startup process, and UEFI also provides a boot loader for loading the Windows operating system from a specified storage device. UEFI modifies the UEFI boot mode and the security options in the boot mode according to different Windows operating systems, and finally saves and exits UEFI, which can ensure that the Windows operating system is started in a safer, faster and more compatible manner.

[0018] As a further improvement of the present technical solution, the encapsulation options include user account settings, network settings, security updates, workgroup settings, OOBE settings and user profiles.

[0019] As a further improvement of the present technical solution, OOBE settings are various options and parameters that users can select and configure during the OOBE process. Through OOBE settings, users customize their new devices, and entering the system new experience (OOBE) is the setup and configuration process that users encounter when starting the Windows operating system for the first time. It is used for users to initialize the new device and complete the necessary settings so that users can start using the Windows operating system. OOBE settings and the system new experience (OOBE) are closely related because OOBE settings determine how the user's new device will be initialized and configured, which directly affects their Windows experience.

[0020] As a further improvement of the technical solution, the packaging software Easy Sysprep provides a graphical operation interface.

[0021] As a further improvement of the present technical solution, the OOBE setting of the operation interface will be run before the system new experience (OOBE) through the packaging software Easy Sysprep when large-scale deployment of the Windows operating system is required. After the computer starts, the "Enter the System New Experience (OOBE)" will be performed according to the OOBE settings configured in the packaging stage, so as to configure the Windows operating system image in the packaging stage, ensure that the target device can be automatically or customized according to the predetermined configuration when it is started for the first time. Initial settings, effectively improve deployment efficiency, reduce the workload of administrators, and ensure that all devices are configured according to unified standards.

[0022] As a further improvement of this technical solution, the security options in the UEFI boot mode set "Legacy Support" to "Disable" and "Secure Boot" to "Enable". Finally, after the UEFI settings are completed, select the "Save and Exit" option to save the settings and exit UEFI, which can significantly improve the security and boot efficiency of the system, reduce potential boot conflicts and malware risks, and provide faster boot speeds and better system stability.

[0023] As a further improvement of this technical solution, the benchmark software is PCMark.

[0024] Compared with the prior art, the present invention has the following beneficial effects:

[0025] 1. In the operating system test method started through USB, by connecting the SATA SSD to the USB port on the exposed IO surface of the PC / IPC machine through the SATA to USB converter, when the PC / IPC machine is started, the Windows operating system will be automatically started from the USB to SATA SSD, so that the Windows operating system can be fully tested without disassembling the machine to install or remove the SATA SSD, thereby improving the test efficiency.

[0026] 2. In the operating system test method started via USB, find the "Boot" option through UEFI, set SATA SSD as the preferred option for UEFI boot device, save UEFI settings and exit, restart the computer, wait for the computer to boot from the SATA SSD UEFI boot device, and enter the Windows operating system installation interface. The installation of the Windows operating system brings improved boot speed, support for larger hard drives, enhanced security, graphical interface, network boot support and good compatibility with the Windows operating system.

[0027] 3. In the operating system testing method started by USB, through Easy Sysprep and OOBE settings, on the one hand, through integration and optimization, the system packaging and deployment process is made simpler, more efficient and flexible; on the other hand, by simplifying the initialization settings, personalization, network synchronization and automatic settings, the user experience and deployment efficiency of the Windows operating system are improved. At the same time, when large-scale deployment of Windows operating systems is required, Easy Sysprep will run before the system new experience (OOBE) to configure the Windows 10 operating system image to ensure that when the target device is started for the first time, it can be automatically or customized according to the predetermined configuration. Initial settings, effectively improve deployment efficiency, reduce the workload of administrators, and ensure that all devices are configured according to unified standards. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 It is a flow chart of the "sysprep.exe" application program in the USB-started operating system testing method of the present invention;

[0029] Figure 2 This is a flow chart of packaging and detecting the Windows operating system of the present invention. DETAILED DESCRIPTION

[0030] The following will be combined with the accompanying drawings in the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0031] according to Figure 1 and Figure 2 As shown, an embodiment of the present invention provides a method for testing an operating system started through a USB, including a SATA to USB converter, a SATA SSD, and a USB port on an IO surface of a PC / IPC machine, one end of the SATA to USB converter is connected to one end of the SATA SSD, and one end of the SATA SSD is connected to the USB port on the IO surface of the PC / IPC machine through the SATA to USB converter, including the following steps:

[0032] S1. Restart the computer and connect the SATA SSD to the SATA interface on the computer motherboard;

[0033] S2. After the computer is turned on, press the corresponding key to enter the UEFI settings during startup. In the UEFI settings, find the "Boot" option and set the SATA SSD as the preferred option for the UEFI boot device. Save the UEFI settings and exit. Restart the computer, wait for the computer to boot from the SATA SSD UEFI boot device, and enter the Windows operating system installation interface for installation.

[0034] UEFI modifies the UEFI boot mode and security options in the boot mode according to different Windows operating systems, and finally saves and exits UEFI, which can ensure that the Windows operating system starts in a safer, faster, and more compatible way. The security options in the UEFI boot mode set "Legacy Support" to "Disable" and "SecureBoot" to "Enable". Finally, after the UEFI settings are completed, select the "Save and Exit" option to save the settings and exit UEFI, which can significantly improve the system security and boot efficiency, which can reduce potential boot conflicts and the risk of malware, and provide faster boot speeds and better system stability.

[0035] S3. After the Windows operating system is installed, install the PC / IPC driver, application and system software and settings and restart, enter the Windows operating system again, double-click "My Computer", enter "Local Disk (C:)", double-click to enter the "Windows" folder, and double-click the "System32" folder.

[0036] S4. After opening the "System32" folder, double-click the "sysprep.exe" application to pop up the "System Preparation Tool 3.14" interface, select "Enter System Out-of-Box Experience (OOBE)" under the system cleanup operation, and check the left box of "General" under "Enter System Out-of-Box Experience (OOBE)", and finally select "Shutdown" under the shutdown option.

[0037] S5. After clicking the "Confirm" option under "Shutdown", shut down the computer after the "sysprep.exe" application finishes running.

[0038] S6. After shutting down the computer, turn off the power and remove the SATA SSD, and then install the SATA SSD into the SATA to USB device.

[0039] S7, after one end of SATA SSD is connected to the USB port on the exposed IO surface of the PC / IPC through SATA to USB, the PC / IPC will automatically start the Windows operating system from the USB to SATA SSD after it is turned on;

[0040] S8. Download the packaging software. In the installed Windows operating system, enable the Administrator account and log off the current user. Log in to the Windows operating system with the Administrator account to run the packaging software. Perform tasks on the main interface of the packaging software to repackage the Windows operating system. Make personalized settings and save them to complete the testing process of the Windows operating system. The packaging software Easy Sysprep provides a graphical operation interface. The OOBE setting of the operation interface will run before the system new experience (OOBE) through the packaging software Easy Sysprep when the Windows operating system needs to be deployed on a large scale. After the computer starts, the "Enter the System New Experience (OOBE)" will be performed according to the OOBE settings configured in the packaging stage.

[0041] S9. Run the downloaded benchmark software installation package on the PC / IPC. After the installation is complete, start the benchmark software, perform configuration settings according to the prompts on the software interface, and start the test. When the test is completed, the benchmark software collects and analyzes the data during the test and generates a detailed test report.

[0042] Package options include user account settings, network settings, security updates, workgroup / domain settings, OOBE settings, and user profiles. OOBE settings are various options and parameters that users can select and configure during the OOBE process. Through OOBE settings, users customize their new devices. The Out-of-Box Experience (OOBE) refers to the setup and configuration process that users encounter when they first start the Windows operating system. It is used for users to initialize their new devices and complete the necessary settings so that they can start using the Windows operating system. OOBE settings and Out-of-Box Experience (OOBE) are closely related because OOBE settings determine how users' new devices will be initialized and configured, which directly affects their Windows experience.

[0043] When large-scale deployment of Windows operating systems is required, the OOBE settings of the operation interface will be run before the system new experience (OOBE) through the packaging software Easy Sysprep. After the computer starts, the "Enter the System New Experience (OOBE)" will be performed according to the OOBE settings configured in the packaging stage, so as to configure the Windows operating system image in the packaging stage, ensure that the target device can perform automated or customized initial settings according to the predetermined configuration when it is started for the first time, effectively improve deployment efficiency, reduce the workload of administrators, and ensure that all devices are configured according to unified standards.

[0044] Example 1:

[0045] When you need to deploy Windows 10 operating system on a large scale, restart the computer where you want to test Windows 10 operating system, connect SATA SSD to the SATA interface on the computer motherboard, open the packaging software Easy Sysprep, find OOBE settings in the packaging software Easy Sysprep operation interface, perform initial settings and configurations for Windows 10 operating system, save and shut down, turn on the computer, and press the corresponding key at startup to enter UEFI settings. In UEFI settings, find the "Boot" option and set SATA SSD as the preferred option for UEFI boot device, save UEFI settings and exit, restart the computer, and wait for the computer to boot from SATA. The UEFI boot device of the SSD is started, and the Windows 10 operating system installation interface is entered. After the Windows 10 operating system is installed normally on the computer, after the PC / IPC driver, related software and settings are installed and restarted, the Windows 10 operating system is entered again. Double-click the "My Computer", "Local Disk (C:)", "Windows" and "System32" folders in turn, find the "sysprep.exe" application, and select "Enter System New Experience (OOBE)", "General" and "Shutdown" options. Finally, click the "Confirm" option. After the program runs, shut down the computer, turn off the power and remove the SATA SSD, and install the SATA SSD into the SATA to USB device. After one end of the SATA SSD is connected to the USB port on the exposed IO surface of the PC / IPC machine through the SATA to USB, the PC / IPC machine will automatically start the Windows 10 operating system from the USB to SATA SSD after it is turned on, and then use the packaging software Easy Sysprep to package the Windows 10 operating system. After the Windows 10 operating system is re-packaged, make personalized settings and save them. Finally, send read and write requests to the SATA SSD through the benchmark software to test the SATA The performance of the SSD is monitored, data is collected and analyzed during the test, and a detailed test report is generated. The same is true for the installation of Windows XP / 7 / 8 / 11 / 12. Compared with the past, there is no need to disassemble the machine to install or remove the SATA SSD, which improves the testing efficiency.

[0046] Example 2:

[0047] When there is no need to deploy the Windows 10 operating system on a large scale, restart the computer for testing the Windows 10 operating system, connect the SATA SSD to the SATA interface on the computer motherboard, turn on the computer, and press the corresponding key to enter the UEFI settings during startup. In the UEFI settings, find the "Boot" option and set the SATA SSD as the preferred option for the UEFI boot device. Save the UEFI settings and exit, restart the computer, wait for the computer to start from the SATA SSD's UEFI boot device, and enter the Windows operating system installation interface. After installing the Windows 10 operating system on the computer normally, after installing the PC / IPC driver, related software and settings and restarting, enter the Windows 10 operating system again, double-click the "My Computer", "Local Disk (C:)", "Windows" and "System32" folders in turn, find the "sysprep.exe" application, and select "Enter System New Experience (OOBE)", "General" and "Shutdown" options. Finally, click the "Confirm" option. After the program runs, shut down the computer, turn off the power and remove the SATA SSD, and install the SATA SSD into the SATA to USB device. After one end of the SSD is connected to the USB port on the exposed IO surface of the PC / IPC machine through SATA to USB, the PC / IPC machine will automatically start the Windows 10 operating system from the USB to SATA SSD after it is turned on. The Windows 10 operating system is packaged through the packaging software Easy Sysprep. After the Windows 10 operating system is re-packaged, personalized settings are made and saved. Finally, read and write requests are sent to the SATA storage device through the benchmark software to test the performance of the storage device, collect and analyze data during the test, and generate a detailed test report. By analogy, the same is true for installing Windows XP / 7 / 8 / 11 / 12. Compared with the past, there is no need to disassemble the machine to install or remove the SATA SSD, which improves the test efficiency.

[0048] In summary, connect the SATA SSD to the USB port on the exposed IO surface of the PC / IPC machine through SATA to USB. When the PC / IPC machine is started, the Windows 10 operating system will be automatically started from the USB to SATA SSD. At the same time, the Windows 10 operating system can be fully tested, so that there is no need to disassemble the machine to install or remove the SATA SSD, which improves the test efficiency. By setting UEFI, find the "Startup" option, and set the SATA SSD as the preferred option for the UEFI boot device, save the UEFI settings and exit, restart the computer, wait for the computer to start from the SATA SSD UEFI boot device, and enter the Windows 10 operating system installation interface, which brings the installation of the Windows 10 operating system to the improvement of the boot speed, support for larger hard disks, enhanced security, graphical interface, network boot support and good compatibility with the Windows 10 operating system. The Easy Sysprep and OOBE settings set, on the one hand, make the packaging and deployment process of the Windows 10 operating system simpler, more efficient and flexible through integration and optimization, and on the other hand, by simplifying the initialization settings, personalization, network synchronization and automatic settings, etc., it improves the user experience and deployment efficiency of the Windows 10 operating system, and at the same time, Easy Sysprep configures the Windows 10 operating system image in the packaging stage according to the scale of the Windows 10 operating system deployment, ensuring that the initial settings can be automated or customized according to the predetermined configuration when the target device is started for the first time, effectively improving deployment efficiency, reducing the workload of administrators, and ensuring that all devices are configured according to unified standards.

[0049] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited by the above embodiments. The above embodiments and descriptions are only preferred examples of the present invention and are not intended to limit the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention to be protected. The scope of protection of the present invention is defined by the attached claims and their equivalents.

Claims

1. A method for testing an operating system started via USB. It is characterized in that It includes a SATA to USB converter, a SATA SSD and a USB port on the exposed IO surface of the PC / IPC machine, wherein one end of the SATA to USB converter is connected to one end of the SATA SSD, and one end of the SATA SSD is connected to the USB port on the exposed IO surface of the PC / IPC machine through the SATA to USB converter; After the Windows operating system is installed, the "sysprep.exe" application program in the Windows operating system is operated. When the computer is turned off, the SATA SSD is connected to the USB port on the exposed IO surface of the PC / IPC. After the PC / IPC is turned on, it will automatically start the Windows operating system from the USB to the SATA SSD; After the Windows operating system is started, the Windows operating system is repackaged using packaging software, and personalized settings are made and saved to complete the testing process of the Windows operating system; The Windows operating system test is to test the packaged Windows operating system through benchmark testing software and generate a detailed test report.

2. The method for testing an operating system started via USB according to claim 1, Features: The Windows operating system includes the following steps before installation: S1. Connect the SATA SSD to the SATA interface on the computer motherboard; S2. In UEFI settings, set SATA SSD as the preferred option for UEFI boot device to install Windows operating system; S3. After the Windows operating system is installed, execute the "sysprep.exe" application; S4. After the "sysprep.exe" application is executed, shut down the computer.

3. The method for testing an operating system started via USB according to claim 1, Features: The packaging software is Easy Sysprep, and Easy Sysprep includes selecting tasks, configuring packaging options, and starting packaging.

4. The method for testing an operating system started via USB according to claim 2, Features: The UEFI setting disables the option of non-UEFI boot devices to ensure that only SATA SSD is selected as the boot device. The UEFI is a hardware device responsible for initializing the computer during the boot process, and the UEFI also provides a boot loader for loading the Windows operating system from a specified storage device. The UEFI modifies the UEFI boot mode and the security options in the boot mode according to different Windows operating systems, and finally saves and exits the UEFI.

5. The method for testing an operating system started via USB according to claim 3, Features: The packaging options include user account settings, network settings, security updates, workgroup settings, OOBE settings, and user profiles.

6. The method for testing an operating system started via USB according to claim 5, Features: The OOBE settings are various options and parameters that users can select and configure during the OOBE process. Through the OOBE settings, users customize their new devices. The Out-of-Box Experience (OOBE) is the setup and configuration process that users encounter when starting the Windows operating system for the first time. It is used for users to initialize the new device and complete the necessary settings so that users can start using the Windows operating system.

7. The method for testing an operating system started via USB according to claim 3, Features: The packaging software Easy Sysprep provides a graphical operation interface.

8. The method for testing an operating system started via USB according to claim 7, Features: The OOBE settings of the operation interface will be run before the system new experience (OOBE) when the Windows operating system needs to be deployed on a large scale through the packaging software Easy Sysprep, and after the computer starts, the "Enter the System New Experience (OOBE)" will be performed according to the OOBE settings configured in the packaging stage.

9. The method for testing an operating system started via USB according to claim 4, Features: In the security options in the UEFI boot mode, set "Legacy Support" to "Disable" and "Secure Boot" to "Enable". Finally, after the UEFI settings are completed, select the "Save and Exit" option to save the settings and exit UEFI.

10. The method for testing an operating system started via USB according to claim 1, Features: The benchmark software is PCMark.