Storage device testing method, electronic device and storage medium
By generating installation configuration files and combining them with technologies such as Dynamic Host Configuration Protocol (DHCP), the system automates the installation and testing of the operating system, solving the problem of low efficiency in compatibility testing of storage devices on bare metal and achieving highly efficient compatibility testing.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHENZHEN LONGSYS ELECTRONICS CO LTD
- Filing Date
- 2024-11-18
- Publication Date
- 2026-05-19
AI Technical Summary
When performing storage device compatibility testing on bare metal without an operating system installed, it is necessary to pre-install the operating system and test software on the bare metal, resulting in low testing efficiency.
By generating installation configuration files and utilizing preset operating system images and configurations, the system automates the installation of the operating system and performs compatibility testing. This includes a combination of Dynamic Host Configuration Protocol (DHCP), Simple File Transfer Protocol (SLTP), and Hypertext Transfer Protocol (HTTP) to achieve automated installation and testing of the bare-metal operating system.
There is no need to perform compatibility testing after the operating system is installed, which significantly improves the efficiency of compatibility testing for storage devices, simplifies the testing process, and reduces labor costs.
Smart Images

Figure CN122064537A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of storage device technology, and in particular to a storage device testing method, electronic device, and storage medium. Background Technology
[0002] Compatibility testing is a crucial step in the manufacturing process of storage devices, ensuring they function correctly under varying hardware and software environments. While compatibility testing is typically performed on platforms with an operating system pre-installed, conducting it on bare metal without one requires pre-installing the operating system and testing software, making the process time-consuming and inefficient. Summary of the Invention
[0003] In view of this, it is necessary to provide a storage device testing method, electronic device, and storage medium to solve the problem that when performing compatibility testing on a bare metal machine without an operating system installed, it is necessary to pre-install an operating system and testing software on the bare metal machine, which leads to low testing efficiency for the compatibility testing of storage devices.
[0004] In a first aspect, embodiments of this application provide a storage device testing method applied to electronic devices. The method includes: generating an installation configuration file based on an image of a preset operating system and a preset configuration; if a bare-metal storage device under test boots into a pre-boot execution environment, sending the installation configuration file to the bare-metal storage device and controlling the bare-metal storage device to install the preset operating system based on the installation configuration file; if the preset operating system is successfully installed, determining that the storage device under test has passed a first compatibility test.
[0005] In one possible implementation, generating the installation configuration file based on a preset operating system and preset configuration includes: determining the preset operating system corresponding to the bare machine, using the image of the preset operating system as the installation file of the installation configuration file; and generating an answer file of the installation configuration file based on the preset configuration.
[0006] In one possible implementation, sending the installation configuration file to the bare metal and controlling the bare metal to install the preset operating system based on the installation configuration file includes: assigning an IP address to the bare metal via Dynamic Host Configuration Protocol (DHCP); sending a boot file to the bare metal via File Transfer Protocol Simple (FTP); and while the bare metal obtains the boot file to boot and install the operating system, sending the installation configuration file to the bare metal via Hypertext Transfer Protocol (HTTP), the bare metal obtaining an image of the preset operating system from the installation file, and installing the preset operating system based on the image and the response file.
[0007] In one possible implementation, the method further includes: if the bare metal completes the installation of the preset operating system, controlling the bare metal to restart; if the bare metal restarts successfully, determining that the preset operating system is successfully installed, and determining that the storage device under test passes the first compatibility test; or if the bare metal restart fails, determining that the preset operating system installation fails, and determining that the storage device under test fails the first compatibility test.
[0008] In one possible implementation, the method further includes: performing a preset operation on the bare metal based on user configuration; controlling the bare metal to start a preset test project based on the preset operation to perform a second compatibility test on the storage device under test.
[0009] In one possible implementation, performing preset operations on the bare metal based on user configuration includes: obtaining the user configuration, controlling the bare metal to disable the firewall, and installing a preset application corresponding to the preset test item.
[0010] In one possible implementation, controlling the bare metal to start a preset test item based on the preset operation to perform a second compatibility test on the storage device under test includes: controlling the bare metal to open the preset application and performing a compatibility test corresponding to the preset test item on the storage device under test.
[0011] In one possible implementation, the method further includes: performing preset control on the bare machine based on a remote management service or a secure shell protocol service, wherein the preset control includes network connection detection, network driver mapping, and driver installation.
[0012] Secondly, embodiments of this application provide an electronic device, which includes a processor and a memory. The memory is used to store instructions, and the processor is used to call the instructions in the memory to cause the electronic device to execute the above-described storage device testing method.
[0013] Thirdly, embodiments of this application provide a computer-readable storage medium including computer instructions that, when executed on an electronic device, cause the electronic device to perform the aforementioned storage device testing method.
[0014] The storage device testing method, electronic device, and storage medium provided in this application embodiment can test the compatibility of the storage device during the operating system installation process by installing an operating system on the bare metal storage device, without having to perform compatibility testing after the operating system is installed, thus effectively improving the efficiency of storage device compatibility testing. Attached Figure Description
[0015] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0016] Figure 1 This is a schematic diagram illustrating an application scenario of a storage device testing method provided in an embodiment of this application.
[0017] Figure 2 A flowchart of a storage device testing method provided in an embodiment of this application.
[0018] Figure 3 This is a schematic diagram of a preset configuration provided in an embodiment of this application.
[0019] Figure 4 A flowchart of a storage device testing method provided in another embodiment of this application.
[0020] Figure 5 This is a schematic diagram illustrating preset control of a bare machine according to an embodiment of this application.
[0021] Figure 6 This is a schematic diagram of the structure of a storage device testing apparatus provided in an embodiment of this application.
[0022] Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0023] To make the objectives, technical solutions, and advantages of this application clearer, the application will be described in detail below with reference to the accompanying drawings and specific embodiments.
[0024] It should be noted that in this application, "at least one" means one or more, and "more than one" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The terms "first," "second," "third," "fourth," etc. (if present) in the specification, claims, and drawings of this application are used to distinguish similar objects, not to describe a specific order or sequence.
[0025] In the embodiments of this application, the terms "exemplary" or "for example" are used to indicate that something is being described as an example, illustration, or illustration. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be construed as being better or more advantageous than other embodiments or designs. Specifically, the use of the terms "exemplary" or "for example" is intended to present the relevant concepts in a specific manner. Unless otherwise specified, the following embodiments and features can be combined with each other.
[0026] Compatibility testing is a crucial step in the manufacturing process of storage devices, ensuring they function correctly under varying hardware and software environments. While compatibility testing is typically performed on platforms with an operating system already installed, testing on bare metal without one requires pre-installing the operating system and testing software. However, compatibility issues may arise during the operating system installation process for storage devices. Furthermore, the hardware environments of different platforms vary significantly, making compatibility testing for storage devices time-consuming and labor-intensive, resulting in low efficiency.
[0027] This application provides a storage device testing method that can test the compatibility of the storage device during the operating system installation process by installing an operating system on the bare metal storage device, eliminating the need to perform compatibility testing after the operating system is installed, thus effectively improving the efficiency of storage device compatibility testing.
[0028] See Figure 1 The diagram shown is an application scenario illustration of a storage device testing method provided in an embodiment of this application. Figure 1 The storage device testing system 100 shown includes an electronic device 1 and multiple bare machines 2. The electronic device 1 and the bare machines 2 are connected via network communication, such as a wired network or a wireless network. In some embodiments of this application, the electronic device 1 and the bare machines 2 constitute the hardware architecture of the storage device testing system. The electronic device 1 can be a personal computer or a server, and the bare machines 2 can be servers. The server can be a single server, a cloud server, or a server cluster. The electronic device 1 can deploy a computer program product (e.g., software code, computer-readable instructions, etc.) programmed and implemented according to the storage device testing method provided in the embodiments of this application, thereby providing storage device testing services for compatibility testing of the storage devices in the bare machines 2.
[0029] See Figure 2 The diagram shown is a flowchart of a storage device testing method provided in an embodiment of this application. The storage device testing method in this embodiment can be applied to, for example... Figure 1The electronic device 1 shown. The storage device testing method includes the following steps: S101 generates an installation configuration file based on a preset operating system image and preset configuration.
[0030] In one embodiment of this application, the preset operating system may be a Windows operating system, a Linux operating system, etc. See also... Figure 3 The diagram shown is a schematic of a preset configuration provided in an embodiment of this application. The preset configuration includes, but is not limited to: computer room number, server computer name, server IP, network card segment, network segment subnet mask, computer name, MAC address, IP address, operating system type, processor architecture, language, region, keyboard layout, operating system version, time zone, operating system disk installation location, partition table format, ESP partition size, and partition details. For example, the server room number is 409, the server computer name is SAI-409, the server IP is 10.2.176.2, the network card segment is 10.254, the subnet mask is 255.255.255.0, the computer name is A-NOTE-004, the MAC address is 00-E0-4C-36-00-C8, the IP address is 10.2.176.11, the operating system type is Win11_23H2_en_us, the processor architecture is amd64, the language is English, the region is English (United States), the keyboard layout is United States-English, the operating system version is Pro for Workstation, the time zone is UTC (+8:00) Beijing, the operating system installation disk location is (0, 3), where 0 is the disk number, 3 is the partition number, the partition table format is GPT (GUID Partition Table, globally unique identifier partition table), and ESP (EFI) is used. The SystemPartition (EFI system partition) has a capacity of 100MB and its details are: {(0, “512G”): (“EFI”:(100,None, “fat32”, None) ), (“MSR”: (16, None, None, “msr”, “system”): (“50%”,“C”, “ntfs”, “primary”))}.
[0031] In one embodiment of this application, at least one preset operating system corresponding to a bare machine is determined, and the image of the preset operating system is used as the installation file of the installation configuration file, wherein the installation file is in IPXE format. An answer file of the installation configuration file is generated based on the preset configuration, wherein the answer file is in XML format. The installation file and the answer file form the installation configuration file.
[0032] S102, if the bare metal device including the storage device under test boots into the pre-boot execution environment, the installation configuration file is sent to the bare metal device, and the bare metal device is controlled to install the preset operating system based on the installation configuration file.
[0033] In one embodiment of this application, the electronic device can control the bare-metal boot process by sending Intelligent Platform Management Interface (IPMI) commands. In other embodiments of this application, the user can also manually control the bare-metal boot process. After the bare-metal boots up, it enters the Pre-boot Execution Environment (PXE). The electronic device assigns an IP address to the bare-metal via Dynamic Host Configuration Protocol (DHCP) service and sends the bootloader file to the bare-metal via TFTP service. While the bare-metal obtains the bootloader file to install the operating system, it sends the installation configuration file to the bare-metal via HTTP service. The bare-metal obtains an image of the preset operating system from the installation file and installs the preset operating system based on the image and an answer file. Specifically, the preset operating system is installed using the installation image file, and the basic configuration of the operating system, such as language, time zone, keyboard layout, disk partitioning, and installation location, is set based on the answer file. Alternatively, a configuration script is generated based on the answer file for performing storage device compatibility testing after the operating system is installed.
[0034] S103, determine whether the preset operating system was installed successfully. If the preset operating system was installed successfully, proceed to S104. If the preset operating system failed to install, proceed to S105.
[0035] In one embodiment of this application, if the bare metal completes the installation of a preset operating system, the bare metal is controlled to restart. If the bare metal restarts successfully, it is determined that the preset operating system was installed successfully. If the bare metal restart fails, it is determined that the preset operating system installation failed.
[0036] S104, Determine that the storage device under test has passed the first compatibility test.
[0037] In one embodiment of this application, if the bare metal reboot is successful, it indicates that the operating system of the bare metal has been successfully installed on the storage device under test, and the storage device under test can cooperate with the hardware of the bare metal to boot the operating system. It can be determined that the storage device under test has passed the first compatibility test, which is the compatibility test corresponding to the installation of the operating system.
[0038] S105, It has been determined that the storage device under test has failed the first compatibility test.
[0039] In one embodiment of this application, if the bare metal reboot fails, it indicates that the operating system of the bare metal has not been successfully installed on the storage device under test, or the storage device under test cannot cooperate with the hardware of the bare metal to complete the boot of the operating system, and it can be determined that the storage device under test has failed the first compatibility test.
[0040] Through the above embodiments of this application, operating systems can be installed on multiple bare metals simultaneously, and the compatibility test of the storage devices on multiple bare metals can be determined based on whether the operating system is successfully installed, thereby realizing batch storage device compatibility testing. In addition, there is no need to perform storage device compatibility testing after installing the operating system, which effectively improves the efficiency of storage device compatibility testing.
[0041] See Figure 4 The diagram shown is a flowchart of a storage device testing method provided in another embodiment of this application. The storage device testing method in this embodiment can be applied to, for example... Figure 1 The electronic device 1 shown. The storage device testing method includes the following steps: S201 generates an installation configuration file based on a preset operating system image and preset configuration.
[0042] S202: If the bare metal device including the storage device under test boots into the pre-boot execution environment, the installation configuration file is sent to the bare metal device, and the bare metal device is controlled to install the preset operating system based on the installation configuration file.
[0043] S203, determine whether the preset operating system was installed successfully. If the preset operating system was installed successfully, proceed to S204. If the preset operating system failed to install, proceed to S205.
[0044] In one embodiment of this application, if the bare metal completes the installation of a preset operating system, the bare metal is controlled to restart. If the bare metal restarts successfully, it is determined that the preset operating system was installed successfully. If the bare metal restart fails, it is determined that the preset operating system installation failed.
[0045] S204, confirming that the storage device under test has passed the first compatibility test.
[0046] S205, It has been determined that the storage device under test has failed the first compatibility test.
[0047] S206 performs preset operations on the bare metal based on user configuration.
[0048] In one embodiment of this application, the electronic device can pre-store user configuration, which includes preset operations to be performed on the bare metal by the user. These preset operations include disabling the firewall and installing a preset application corresponding to a preset test item. For example, the preset test item is a stress test, and the corresponding preset application is the BurnInTest application. The electronic device can send the pre-stored user configuration to the bare metal that has successfully installed the operating system, parse the user configuration, and then obtain and execute the preset operations.
[0049] S207, control the bare metal to start preset test items based on preset operations, and perform a second compatibility test on the storage device under test.
[0050] In one embodiment of this application, the preset test items include, but are not limited to: stress testing, read / write performance testing, data integrity testing, security testing, and power consumption testing. A preset application is launched on the bare metal device to perform compatibility tests corresponding to the preset test items. For example, the preset application for stress testing is BurnInTest, the preset application for read / write performance testing is CrystalDiskMark, the preset application for data integrity testing is fio, and the preset application for power consumption testing is AIDA64.
[0051] In one embodiment of this application, the second compatibility test of the storage device under test includes performing compatibility tests on the storage device under test using multiple preset parameters. These preset parameters include corresponding stress parameters, read / write performance parameters, data integrity parameters, security parameters, and power consumption parameters. For example, the stress parameter may include the data transmission accuracy of the storage device under test under high temperature, high load read / write, or long-term operation. If the data transmission accuracy is greater than or equal to a first preset threshold, the storage device under test is determined to have passed the stress test; if the data transmission accuracy is less than the first preset threshold, the storage device under test is determined to have failed the stress test. As another example, the read / write performance parameters may include the bandwidth, read / write latency, and IOPS (input / output operations per second) of the storage device under test. If the IOPS of the storage device under test is greater than or equal to a second preset threshold, the storage device under test is determined to have passed the read / write performance test; if the IOPS of the storage device under test is less than the first preset threshold, the storage device under test is determined to have failed the read / write performance test.
[0052] In one embodiment of this application, the method further includes: performing preset controls on the bare machine based on the remote management service WinRM or the Secure Shell protocol SSH service. Preset controls include, but are not limited to, network connection detection, network drive mapping, and driver installation.
[0053] See Figure 5 The diagram shown is a schematic of preset control of a bare machine according to an embodiment of this application. For example, a user can execute the ping command on multiple bare machines to detect the network connection status of each bare machine. If the network connection is normal, network driver mapping is performed on each bare machine. After successful network driver mapping, the driver is installed to the driver folder of each storage device (e.g., disk).
[0054] See Figure 6The diagram shown is a schematic representation of a memory testing apparatus provided in one embodiment of this application. In one embodiment of this application, the memory testing apparatus 200 may include multiple functional modules composed of computer program segments. The computer program segments in the memory testing apparatus 200 may be stored in the memory of an electronic device and executed by at least one processor to perform memory device testing functions.
[0055] In one embodiment of this application, the memory testing device 200 can be divided into multiple functional modules according to the functions it performs. The functional modules of the memory testing device 200 may include: a generation module 201, an installation module 202, a judgment module 203, a determination module 204, an execution module 205, and a testing module 206. In this embodiment, a module refers to a series of computer program segments that can be executed by at least one processor and perform a fixed function, and which are stored in memory.
[0056] The generation module 201 is used to generate an installation configuration file based on the image of the preset operating system and the preset configuration.
[0057] The installation module 202 is used to send the installation configuration file to the bare metal when the bare metal, which includes the storage device under test, boots into the pre-boot execution environment, and controls the bare metal to install a preset operating system based on the installation configuration file.
[0058] The judgment module 203 is used to determine whether the preset operating system has been successfully installed.
[0059] The determination module 204 is used to determine if the storage device under test passes the first compatibility test if the preset operating system is successfully installed. The determination module 204 is also used to determine if the storage device under test fails the first compatibility test if the preset operating system installation fails.
[0060] The execution module 205 is used to perform preset operations on the bare metal based on user configuration.
[0061] The test module 206 is used to control the bare metal to start preset test items based on preset operations and perform a second compatibility test on the storage device under test.
[0062] See Figure 7 The diagram shown is a structural schematic of an electronic device according to an embodiment of this application. The electronic device 1 includes, but is not limited to, a processor 10, a memory 20, and a computer program stored in the memory 20 and executable on the processor 10. For example, the computer program is a storage device testing program. When the processor 10 executes the computer program, it implements the steps in a storage device testing method.
[0063] For example, the computer program may be divided into one or more modules / units, which are respectively stored in the memory 20 and executed by the processor 10 to complete this application. The one or more modules / units may be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used to describe the execution process of the computer program in the electronic device 1.
[0064] Those skilled in the art will understand that the schematic diagram is merely an example of electronic device 1 and does not constitute a limitation on electronic device 1. It may include more or fewer components than shown in the diagram, or combine certain components, or different components. For example, electronic device 1 may also include input / output devices, network access devices, buses, etc.
[0065] The processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor. The processor is the control center of the electronic device 1, connecting all parts of the electronic device 1 via various interfaces and lines.
[0066] The memory can be used to store the firmware program and / or modules / units. The processor implements various functions of the electronic device 1 by running or executing the computer programs and / or modules / units stored in the memory, and by calling data stored in the memory. The memory may mainly include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device 1, etc. In addition, the memory may include volatile and non-volatile memory, such as hard disk, memory, plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, at least one disk storage device, flash memory device, or other storage devices.
[0067] If the modules / units integrated in the electronic device 1 are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), or a random access memory (RAM).
[0068] The extended content of the specific embodiments of the computer-readable storage medium described in this application is basically the same as the embodiments of the storage device testing method described above, and will not be repeated here.
[0069] The storage device testing method, electronic device, and storage medium provided in this application embodiment can test the compatibility of the storage device during the operating system installation process by installing an operating system on the bare metal storage device, without having to perform compatibility testing after the operating system is installed, thus effectively improving the efficiency of storage device compatibility testing.
[0070] It will be apparent to those skilled in the art that this application is not limited to the details of the exemplary embodiments described above, and that this application can be implemented in other specific forms without departing from the spirit or essential characteristics of this application. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of this application is defined by the appended claims rather than the foregoing description. Thus, all variations falling within the meaning and scope of equivalents of the claims are intended to be embraced within this application. No reference numerals in the claims should be construed as limiting the scope of the claims. Furthermore, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices recited in the apparatus claims may also be implemented by the same unit or device in software or hardware. The terms "first," "second," etc., are used to indicate names and do not indicate any particular order.
[0071] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application and are not intended to limit it. Although this application has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of this application without departing from the spirit and scope of the technical solutions of this application.
Claims
1. A method for testing storage devices, applied to electronic devices, characterized in that, The method includes: An installation configuration file is generated based on the image of the preset operating system and the preset configuration. If the bare metal device including the storage device under test boots into the pre-boot execution environment, the installation configuration file is sent to the bare metal device, and the bare metal device is controlled to install the preset operating system based on the installation configuration file; If the preset operating system is successfully installed, the storage device under test is determined to have passed the first compatibility test.
2. The storage device testing method as described in claim 1, characterized in that, The process of generating an installation configuration file based on a preset operating system and preset configuration includes: Determine the preset operating system corresponding to the bare metal, and use the image of the preset operating system as the installation file of the installation configuration file; The response file for the installation configuration file is generated based on the preset configuration.
3. The storage device testing method as described in claim 2, characterized in that, Sending the installation configuration file to the bare metal and controlling the bare metal to install the preset operating system based on the installation configuration file includes: The bare metal is assigned an IP address via Dynamic Host Configuration Protocol (DHCP) service. The boot file is sent to the bare metal via Simple File Transfer Protocol (SLTP) service; When the bare metal obtains the boot file to install the operating system, the installation configuration file is sent to the bare metal via Hypertext Transfer Protocol Service. The bare metal obtains the image of the preset operating system from the installation file and installs the preset operating system based on the image and the response file.
4. The storage device testing method as described in claim 1, characterized in that, The method further includes: If the bare metal completes the installation of the preset operating system, control the bare metal to restart; If the bare-metal reboot is successful, it is determined that the preset operating system was successfully installed, and that the storage device under test passed the first compatibility test; or If the bare-metal reboot fails, it is determined that the preset operating system installation failed, and the storage device under test has failed the first compatibility test.
5. The storage device testing method as described in claim 1, characterized in that, The method further includes: Perform preset operations on the bare metal based on user configuration; The bare metal is controlled to start a preset test project based on the preset operation to perform a second compatibility test on the storage device under test.
6. The storage device testing method as described in claim 5, characterized in that, The preset operation performed on the bare metal based on user configuration includes: The system obtains the user configuration and controls the bare machine to disable the firewall and install the preset application corresponding to the preset test item.
7. The storage device testing method as described in claim 5, characterized in that, The control of the bare metal to initiate a preset test item based on the preset operation, and to perform a second compatibility test on the storage device under test, including: The bare metal is controlled to start the preset application and perform compatibility tests corresponding to the preset test items on the storage device under test.
8. The storage device testing method as described in claim 1, characterized in that, The method further includes: The bare machine is subject to preset control based on remote management services or secure shell protocol services. The preset control includes network connection detection, network driver mapping, and driver installation.
9. An electronic device, characterized in that, The electronic device includes a processor and a memory, the memory being used to store instructions, and the processor being used to invoke the instructions in the memory, causing the electronic device to execute the storage device testing method according to any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that, Includes computer instructions that, when executed on an electronic device, cause the electronic device to perform the storage device testing method as described in any one of claims 1 to 8.