CN115729756A - Test-accompanied hard disk, and method and system for test-accompanied server based on test-accompanied hard disk - Google Patents

Test-accompanied hard disk, and method and system for test-accompanied server based on test-accompanied hard disk Download PDF

Info

Publication number
CN115729756A
CN115729756A CN202211357283.6A CN202211357283A CN115729756A CN 115729756 A CN115729756 A CN 115729756A CN 202211357283 A CN202211357283 A CN 202211357283A CN 115729756 A CN115729756 A CN 115729756A
Authority
CN
China
Prior art keywords
server
hard disk
accompanied
real
test
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211357283.6A
Other languages
Chinese (zh)
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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202211357283.6A priority Critical patent/CN115729756A/en
Publication of CN115729756A publication Critical patent/CN115729756A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The application discloses an accompanied test hard disk, a method and a system for accompanying test servers based on the accompanied test hard disk, and relates to the field of servers; the M.2 module is connected with the golden finger interface through a protocol and used for realizing data interaction between the accompanied test hard disk and the server; the load module is in communication connection with the golden finger interface and is used for adjusting parameter changes of the server to realize testing of the server; the controller module is connected with the golden finger interface through a protocol and is in communication connection with the load module, and the controller module is used for controlling the load module to adjust load change and collecting parameter information of the server in the load change process. Interface conversion and carry out the protocol simulation can be carried out to this application to the realization utilizes the process of the test of accompanying the testing frock completion frock in this application, has both reduced test cost, has accomplished the test of server again, makes the application that utilizes this hard disk to carry out the test more extensive.

Description

Test-accompanied hard disk, and method and system for test-accompanied server based on test-accompanied hard disk
Technical Field
The application relates to the technical field of servers, in particular to an accompanying hard disk, and a method and a system for accompanying the server based on the accompanying hard disk.
Background
At present, a large-capacity hard disk pushed out in the market can be configured when a server configures the hard disk, but the large-capacity hard disk pushed out in the market is different from a conventional SFF-8639 interface hard disk, so that an accompanying device capable of realizing a large-capacity hard disk testing function can be required when the server performs factory testing, and the large-capacity hard disk is narrow in application range and not beneficial to test popularization because the number of the hard disks required to be consumed in the testing process is large and the testing cost is high due to the use of the large-capacity hard disk.
Although the existing test hard disk can also be connected with a server for carrying out related tests, wherein the test hard disk is a solid state hard disk and comprises a control unit and a storage unit, but the test hard disk cannot be compatible with a transmission protocol in a large-capacity hard disk, so that the test of the server is not completely met, and therefore, a tool test of the server is urgently needed, wherein the tool test of the server is higher in cost performance and can be compatible with the functions of the hard disk.
Disclosure of Invention
In order to solve at least one problem mentioned in the background art, the application provides a method, a system, an electronic device and a medium for accompanying and testing a server based on an accompanying and testing hard disk, which can perform interface conversion and protocol simulation, so that the process of testing the tool by utilizing an accompanying and testing tool in the application is realized, the testing cost is reduced, the testing of the server is also completed, and the application of testing by utilizing the hard disk is wider.
The embodiment of the application provides the following specific technical scheme:
in a first aspect, a hard disk for accompanying measurement is provided, the hard disk comprising:
the golden finger interface is used for being connected with a server;
the M.2 module is connected with the golden finger interface through a protocol and is used for realizing data interaction between the accompanied and tested hard disk and the server;
the load module is in communication connection with the golden finger interface and is used for adjusting parameter change of the server so as to realize testing of the server;
the controller module is connected with the golden finger interface through a protocol and is in communication connection with the load module, and the controller module is used for controlling the load module to adjust load change and collecting parameter information of the server in the load change process.
In a second aspect, a method for accompanying a server based on an accompanying hard disk is provided, where the method includes:
accessing the accompanied and tested hard disk into a server interface, and controlling the server interface to supply power;
carrying out data interaction with the accompanied hard disk through a mounting link of the M.2 module in the accompanied hard disk;
adjusting the load change in the accompanied and tested hard disk, monitoring the real-time parameters of the server in the load change process, judging the real-time parameter state of the server, and outputting a detection result;
and detecting the fixed parameters of the server through the accompanied and tested hard disk, storing the fixed parameters and sending the BMC according to a protocol.
In a specific embodiment, after controlling the power supply of the server interface, the method further includes:
detecting whether the accompanied test hard disk is accessed to an M.2 hard disk, if so, continuously detecting whether other modules in the accompanied test hard disk are normal;
if the access of the M.2 hard disk is abnormal or at least one module is abnormal, stopping testing;
and if all the modules in the accompanied test hard disk are normal, starting to detect the real-time parameters of the server.
In a specific embodiment, the load change in the accompanied and tested hard disk is adjusted, the real-time parameters of the server in the load change process are monitored, the real-time parameter state of the server is judged, and a detection result is output; the method specifically comprises the following steps:
adjusting the load change in the accompanied and tested hard disk, and detecting the real-time parameters of the server in the load change process;
judging whether the real-time parameters of the server exceed a preset range or not;
if the real-time parameters of the server exceed a preset range, outputting a detection result and controlling the server to disconnect the load;
and if the real-time parameter of the server does not exceed the preset range, outputting the detection result of the real-time parameter of the server.
In a specific embodiment, if the real-time parameter of the server exceeds a preset range, outputting a detection result and controlling the server to disconnect the load, and then:
detecting the temperature of a server at intervals of preset time, and judging whether the temperature of the server is lower than a preset threshold value or not;
if the temperature of the server is lower than the preset threshold value, controlling to start the load;
and if the temperature of the server is higher than or equal to the preset threshold, controlling to disconnect the load and continuously monitoring the temperature of the server.
In a specific embodiment, the method further comprises:
and converting the real-time parameter data of the server into a data format of a response protocol, and sending the data format to the BMC.
In a specific embodiment, the method further comprises:
setting the identification in-place signal of the accompanied test hard disk to be high; and setting the type signal of the accompanied and tested hard disk to be low.
In a specific embodiment, before controlling the power supply of the server interface, the method further includes:
detecting whether the identification in-place signal and the type signal are normal or not;
if the identified in-place signal and the type signal are normal, controlling the server interface to supply power;
and if the in-place signal or the type signal is not normal, stopping power supply of the server interface.
In a second aspect, a system based on a test hard disk test server, the system includes:
the power supply module is used for connecting the accompanied and tested hard disk to the server interface and controlling the server interface to supply power;
the connecting module is used for carrying out data interaction with the server through the mounting link of the M.2 module in the accompanied and tested hard disk;
the first monitoring module is used for adjusting the load change in the accompanied and tested hard disk, monitoring the real-time parameters of the server in the load change process, judging the real-time parameter state of the server and outputting a detection result;
and the second monitoring module is used for storing the fixed parameters and sending the BMC according to a protocol through the fixed parameters of the accompanied and tested hard disk detection server.
In a third aspect, an electronic device is provided, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor implements the following steps when executing the computer program:
step A: accessing the accompanied and tested hard disk into a server interface, and controlling the server interface to supply power;
and B: carrying out data interaction with the accompanied test hard disk through a mounting link of the M.2 module in the accompanied test hard disk;
step C: adjusting the load change in the accompanied and tested hard disk, monitoring the real-time parameters of the server in the load change process, judging the real-time parameter state of the server, and outputting a detection result;
step D: and detecting the fixed parameters of the server through the testing assistant hard disk, storing the fixed parameters and sending the BMC according to a protocol.
In a fourth aspect, there is provided a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
step A: accessing the accompanied and tested hard disk into a server interface, and controlling the server interface to supply power;
and B, step B: carrying out data interaction with the accompanied hard disk through a mounting link of the M.2 module in the accompanied hard disk;
and C: adjusting the load change in the accompanied and tested hard disk, monitoring the real-time parameters of the server in the load change process, judging the real-time parameter state of the server, and outputting a detection result;
step D: and detecting the fixed parameters of the server through the accompanied and tested hard disk, storing the fixed parameters and sending the BMC according to a protocol.
The embodiment of the application has the following beneficial effects:
1. in the embodiment of the application, an accompanied and tested hard disk is connected to a server interface, the server interface is controlled to supply power, data interaction is carried out between the accompanied and tested hard disk and the server through a mounting link of an M.2 module in the accompanied and tested hard disk, so that interaction between the accompanied and tested hard disk and the server is realized, the load in the accompanied and tested hard disk is adjusted to change, the real-time parameter of the server in the load change process is monitored through the accompanied and tested hard disk, the real-time parameter state of the server is judged, and a detection result is output; detecting fixed parameters of the server through the accompanied and tested hard disk, storing the fixed parameter data through the control of the controller, and sending the fixed parameter data to the BMC according to a protocol; through the setting, can carry out interface conversion and carry out the agreement simulation to the realization utilizes the process of the test of accompanying the test frock completion frock in this application, has both reduced test cost, has accomplished the test of server again, makes the application that utilizes this hard disk to test more extensive.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 shows a schematic structural diagram of a companion hard disk according to the present application;
fig. 2 shows a schematic diagram of a method for a cosy-based hard disk cosy server according to the present application;
FIG. 3 shows a schematic diagram of a system based on a companion hard disk companion server according to the present application;
fig. 4 shows a schematic diagram of an electronic device in the present application.
Detailed Description
In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
As described in the background art, although the existing test hard disk may also be connected to a server for performing related tests, where the test hard disk is a solid state hard disk including a control unit and a storage unit, but the test hard disk cannot combine with a transmission protocol inside a large-capacity hard disk, so that the test of the server is not completely satisfied. Based on the problems, the method, the system, the electronic equipment and the medium for accompanying and testing the server based on the accompanying and testing hard disk can perform interface conversion and protocol simulation, so that the process of testing the tool by utilizing the accompanying and testing tool in the application is realized, the testing cost is reduced, the testing of the server is also completed, and the application of testing by utilizing the hard disk is wider.
Example one
A companion hard disk, as shown in fig. 1, the companion hard disk comprising: the device comprises a golden finger interface, an M.2 module, a load module and a controller module, wherein the golden finger interface is used for being connected with a server and is used for realizing a standard interface of a hard disk. The M.2 module is connected with the golden finger interface through a protocol and used for realizing data interaction between the accompanied test hard disk and a server; the load module is in communication connection with the golden finger interface and is used for adjusting parameter changes of the server to realize the test of the server; the controller module is connected with the golden finger interface through a protocol and is in communication connection with the load module, and the controller module is used for controlling the load module to adjust load change and collecting parameter information of the server in the load change process.
In a specific embodiment, the m.2 module is a M-Key hard disk hung on a PCIe-NVNe hard disk, and is used for implementing PCIe data interaction of a cash finger interface, thereby implementing normal hard disk operation under an operating system. Meanwhile, the testing-accompanied hard disk in the embodiment is compatible with a server Interface through modules of an NVM (non volatile memory) express Management Interface review 1.1 protocol and an Intel Solid State Drive Data Center P4500/P4600 Series SSD protocol, so as to realize the test of the server.
In a specific embodiment, the device further comprises a power supply module, a sensor module, a load module and a burning interface, wherein the power supply module is used for realizing power supply conversion of the accompanied and tested hard disk; the sensor module is used for detecting information such as temperature, voltage, hard disk access condition and the like of the accompanied and measured hard disk and feeding the information back to the controller; the load module is used for adjusting load change and simulating different load sizes; and the burning interface is used for burning the controller program.
In a specific embodiment, the controller module receives data collected by the sensor module, specifically, when it is detected that the m.2 module is not normally connected or abnormal, the controller module controls the device to stop working, so as to prevent the server from obtaining wrong feedback information. And when the voltage of the power supply supplied by the golden finger interface is detected to be abnormal, the module stops working so as to cause the server to test errors.
Example two
A method for accompanying a server based on an accompanying hard disk, as shown in fig. 2, the method includes the following steps:
step S1: and accessing the accompanied and tested hard disk into a server interface, and controlling the server interface to supply power.
Accompany and survey and be provided with the golden finger interface on the hard disk, the golden finger interface is used for realizing the data interaction with the server to and realize the normal hard disk operation under the operating system, the staff will accompany and survey the hard disk before carrying out the server frock test and insert the server interface after, set up for coordinating the identification logic of server to accompany and survey the hard disk, specifically, set up the discernment that accompanies and survey the hard disk and be in the position signal PRSNT high, set up hard disk type signal FI _ DEF low. And then detecting the two signals, and judging whether to start power supply according to the two signals. Specifically, before controlling the power supply of the server interface, the method further includes: detecting whether the identification in-place signal and the type signal are normal or not; if the identified in-place signal and the identified type signal are normal, controlling the server interface to supply power; and if the identification on-site signal or the type signal is abnormal, stopping power supply of the server interface.
Specifically, when the server detects that the identification in-place signal and the hard disk type signal of the accompanied and tested hard disk are both normal in the power-on stage, the hard disk interface of the server is controlled to supply power.
Step S2: and carrying out data interaction with a server through the mounting link of the M.2 module in the accompanied testing hard disk.
After controlling the power supply of the server interface, the method further comprises the following steps: detecting whether the accompanied test hard disk is accessed to the M.2 hard disk, if so, continuously detecting whether other modules in the accompanied test hard disk are normal; if the access of the M.2 hard disk is abnormal or at least one module is abnormal, stopping testing; and if all the modules in the accompanied test hard disk are normal, starting to detect the real-time parameters of the server.
Specifically, after power is supplied, the controller in the accompanied test hard disk first detects whether the m.2 module is connected to the m.2 hard disk, if the m.2 hard disk does not exist, the test is stopped, and the controller controls the on-site signal to be pulled down, so as to notify the server that the hard disk information is lost. If the hard disk exists, whether the functions of the sensor module, the load module and the like are normal or not is continuously detected, if any one of the modules is abnormal, the controller controls the on-site signal to be pulled down, and the server is informed of the loss of the hard disk information. And if all the modules are normal, the controller controls the load module to work.
And step S3: and adjusting the load change in the accompanied and tested hard disk, monitoring the real-time parameters of the server in the load change process, judging the real-time parameter state of the server, and outputting a detection result.
The method specifically comprises the following steps: adjusting the load change in the accompanied and tested hard disk, and detecting the real-time parameters of the server in the load change process; judging whether the real-time parameters of the server exceed a preset range or not; if the real-time parameters of the server exceed a preset range, outputting a detection result and controlling the server to disconnect the load; and if the real-time parameters of the server do not exceed the preset range, outputting the detection result of the real-time parameters of the server. Specifically, the real-time parameter of the acquisition server is a power parameter of 280W, the preset range is set to be a power parameter of less than 400W, and the real-time parameter of the server does not exceed the preset range and is not adjusted because the real-time power parameter is less than the preset range of 400W; and if the acquired real-time parameters of the server are 450W, and the real-time parameters of the server exceed the preset range, controlling the server to disconnect the load.
In a specific embodiment, if the real-time parameter of the server exceeds the preset range, outputting the detection result and controlling the server to disconnect the load, and then: detecting the temperature of a server at intervals of preset time, and judging whether the temperature of the server is lower than a preset threshold value or not; if the temperature of the server is lower than the preset threshold value, controlling to start a load; and if the temperature of the server is higher than or equal to the preset threshold, controlling to disconnect the load and continuously monitoring the temperature of the server.
The controller controls the load module to adjust the load, and the load starts to increase the consumed power of the whole server. Meanwhile, the sensor module can monitor the heat generated by the load module after the load module is connected in real time and feed the heat back to the controller, and after the set safety range is exceeded, the controller disconnects the load module and starts the load module after the temperature is recovered to be normal, so that the load of the dynamic adjusting device is adjusted. Meanwhile, the server can detect information such as voltage during load change through the accompanying hard disk, and when the load changes, if the voltage is suddenly changed abnormally, the controller can control the hard disk of the device to be off. The hard disk is lost on the test representation for the test feedback function.
And step S4: and detecting the fixed parameters of the server through the testing assistant hard disk, storing the fixed parameters and sending the BMC according to a protocol.
In a specific embodiment, the method further comprises converting the real-time parameter data of the server into a data format of a response protocol, and sending the data format to the BMC.
Specifically, the server detects fixed parameters of the server, such as the size of the storage space of the hard disk and information of a required interface protocol, by testing the hard disk. The BMC of the server executes command access to the tested hard disk, the device takes over a data link of the BMC at the moment, and when the controller detects that the BMC issues a command, if real-time parameters of the hard disk, such as power, temperature and the like, are acquired, the controller arranges the current information into a data format of a response protocol and feeds back the data format to the BMC to realize interaction of the BMC. When the detected parameters of the server are common fixed parameters, the controller directly feeds back the stored information to the BMC according to the protocol.
In a specific embodiment, in the above description, regarding the use of the NVM expression Management Interface review 1.1 protocol and the Intel Solid State Drive Data Center P4500/P4600 Series, the present embodiment is compatible with the 0xD4 and 0xA6 protocol formats in the protocol, where 0xD4 is a SSD (Solid State Disk) basic information register unit, which contains the information of the SSD such as the on-site status, the temperature information, the vendor, and the factory code. 0xA6 is an FRU information register unit of SSD, which contains FRU information of SSD and some function enabling information thereof.
By the method in the embodiment, interface conversion and protocol simulation can be performed, so that the process of testing the tool by using the accompanied testing tool in the application is realized, the testing cost is reduced, the testing of the server is completed, and the application of testing by using the hard disk is wider.
Example two
Corresponding to the above embodiment, a system based on an accompanied hard disk accompanied test server is shown in fig. 3, and the system includes:
the power supply module is used for connecting the accompanied and tested hard disk to the server interface and controlling the server interface to supply power;
the connection module is used for carrying out data interaction with a server through a mounting link of the M.2 module in the accompanied test hard disk;
the first monitoring module is used for adjusting the load change in the accompanied and tested hard disk, monitoring the real-time parameters of the server in the load change process, judging the real-time parameter state of the server and outputting a detection result;
and the second monitoring module is used for storing the fixed parameters and sending the BMC according to a protocol through the fixed parameters of the accompanied and tested hard disk detection server.
In a specific embodiment, after controlling the server interface to supply power, the power supply module further includes: detecting whether the accompanied test hard disk is accessed to an M.2 hard disk, if so, continuously detecting whether other modules in the accompanied test hard disk are normal; if the access of the M.2 hard disk is abnormal or at least one module is abnormal, stopping testing; and if all the modules in the accompanied test hard disk are normal, starting to detect the real-time parameters of the server.
In a specific embodiment, the first monitoring module specifically adjusts a load change in the accompanied and tested hard disk, and detects a real-time parameter of the server in a load change process; judging whether the real-time parameters of the server exceed a preset range or not; if the real-time parameters of the server exceed a preset range, outputting a detection result and controlling the server to disconnect the load; and if the real-time parameter of the server does not exceed the preset range, outputting the detection result of the real-time parameter of the server.
In a specific embodiment, the first monitoring module outputs a detection result and controls the server to disconnect the load if the real-time parameter of the server exceeds a preset range, and then includes: detecting the temperature of a server at intervals of preset time, and judging whether the temperature of the server is lower than a preset threshold value or not; if the temperature of the server is lower than the preset threshold value, controlling to start the load; and if the temperature of the server is higher than or equal to the preset threshold value, controlling to disconnect the load and continuously monitoring the temperature of the server.
In a specific embodiment, the method further comprises converting the real-time parameter data of the server into a data format of a response protocol, and sending the data format to the BMC.
In a specific embodiment, the method further comprises setting an identification in-place signal of the accompanied test hard disk to be high; and setting the type signal of the accompanied and tested hard disk to be low.
In a specific embodiment, before controlling the power supply to the server interface, the method further includes: detecting whether the identification in-place signal and the type signal are normal or not; if the identified in-place signal and the identified type signal are normal, controlling the server interface to supply power; and if the in-place signal or the type signal is not normal, stopping power supply of the server interface.
EXAMPLE III
There is provided an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
step 101: and accessing the accompanied and tested hard disk into a server interface, and controlling the server interface to supply power.
Step 102: and carrying out data interaction with the accompany-tested hard disk through the mounting link of the M.2 module in the accompany-tested hard disk.
Step 103: adjusting the load change in the accompanied and tested hard disk, monitoring the real-time parameters of the server in the load change process, judging the real-time parameter state of the server, and outputting a detection result;
step 104: and detecting the fixed parameters of the server through the testing assistant hard disk, storing the fixed parameters of the server and sending the BMC according to a protocol.
In a specific embodiment, step 101 further includes, after controlling the server interface to supply power, further including: detecting whether the accompanied test hard disk is accessed to an M.2 hard disk, if so, continuously detecting whether other modules in the accompanied test hard disk are normal; if the access of the M.2 hard disk is abnormal or at least one module is abnormal, stopping testing; and if all the modules in the accompanied test hard disk are normal, starting to detect the real-time parameters of the server.
In a specific embodiment, the step 103 includes real-time parameters of the server, determining a real-time parameter state of the server, and outputting a detection result, which specifically includes: adjusting the load change in the accompanied and tested hard disk, and detecting the real-time parameters of the server in the load change process; judging whether the real-time parameters of the server exceed a preset range or not; if the real-time parameters of the server exceed a preset range, outputting a detection result and controlling the server to disconnect the load; and if the real-time parameter of the server does not exceed the preset range, outputting the detection result of the real-time parameter of the server.
In a specific embodiment, if the real-time parameter of the server exceeds a preset range, outputting a detection result and controlling the server to disconnect the load, and then: detecting the temperature of a server at intervals of preset time, and judging whether the temperature of the server is lower than a preset threshold value or not; if the temperature of the server is lower than the preset threshold value, controlling to start a load; and if the temperature of the server is higher than or equal to the preset threshold value, controlling to disconnect the load and continuously monitoring the temperature of the server.
In a specific embodiment, the method further comprises converting the real-time parameter data of the server into a data format of a response protocol, and sending the data format to the BMC.
In a specific embodiment, the method further comprises setting an identification in-place signal of the accompanied test hard disk to be high; and setting the type signal of the accompanied and tested hard disk to be low.
In a specific embodiment, before controlling the power supply of the server interface, the method further includes: detecting whether the identification in-place signal and the type signal are normal or not; if the identified in-place signal and the identified type signal are normal, controlling the server interface to supply power; and if the identification on-site signal or the type signal is abnormal, stopping power supply of the server interface.
In one embodiment, an electronic device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 4. The electronic device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the electronic device is configured to provide computing and control capabilities. The memory of the electronic equipment comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operating system and the computer program to run on the non-volatile storage medium. The database of the electronic device is used for storing fixed parameter data. The network interface of the electronic device is used for connecting and communicating with an external terminal through a network. The computer program is executed by a processor to implement a method for a companion hard disk based companion server.
Those skilled in the art will appreciate that the configuration shown in fig. 4 is a block diagram of only a portion of the configuration associated with the present application, and does not constitute a limitation on the electronic device to which the present application is applied, and a particular electronic device may include more or less components than those shown in the drawings, or combine certain components, or have a different arrangement of components.
Example four
In one embodiment, there is provided a computer readable storage medium having a computer program stored thereon, the computer program when executed by a processor implementing the steps of:
step 201: and accessing the accompanied and tested hard disk into a server interface, and controlling the server interface to supply power.
Step 202: and carrying out data interaction with the accompanied and tested hard disk through the mounting link of the M.2 module in the accompanied and tested hard disk.
Step 203: adjusting the load change in the accompanied and tested hard disk, monitoring the real-time parameters of the server in the load change process, judging the real-time parameter state of the server, and outputting a detection result;
step 204: and detecting the fixed parameters of the server through the accompanied and tested hard disk, storing the fixed parameters of the server and sending the BMC according to a protocol.
In a specific embodiment, step 201 further includes, after controlling the power supply of the server interface, further including: detecting whether the accompanied test hard disk is accessed to an M.2 hard disk, if so, continuously detecting whether other modules in the accompanied test hard disk are normal; if the access of the M.2 hard disk is abnormal or at least one module is abnormal, stopping testing; and if all the modules in the accompanied test hard disk are normal, starting to detect the real-time parameters of the server.
In a specific embodiment, the step 203 includes real-time parameters of the server, determining a real-time parameter state of the server, and outputting a detection result, which specifically includes: adjusting the load change in the accompanied and tested hard disk, and detecting the real-time parameters of the server in the load change process; judging whether the real-time parameters of the server exceed a preset range or not; if the real-time parameters of the server exceed a preset range, outputting a detection result and controlling the server to disconnect the load; and if the real-time parameter of the server does not exceed the preset range, outputting the detection result of the real-time parameter of the server.
In a specific embodiment, if the real-time parameter of the server exceeds the preset range, outputting the detection result and controlling the server to disconnect the load, and then: detecting the temperature of a server at intervals of preset time, and judging whether the temperature of the server is lower than a preset threshold value or not; if the temperature of the server is lower than the preset threshold value, controlling to start the load; and if the temperature of the server is higher than or equal to the preset threshold value, controlling to disconnect the load and continuously monitoring the temperature of the server.
In a specific embodiment, the method further comprises converting the real-time parameter data of the server into a data format of a response protocol, and sending the data format to the BMC.
In a specific embodiment, the method further comprises setting the identification in-place signal of the accompanied test hard disk to be high; and setting the type signal of the accompanied test hard disk to be low.
In a specific embodiment, before controlling the power supply of the server interface, the method further includes: detecting whether the identification in-place signal and the type signal are normal or not; if the identified in-place signal and the identified type signal are normal, controlling the server interface to supply power; and if the in-place signal or the type signal is not normal, stopping power supply of the server interface.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
While preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all changes and modifications that fall within the scope of the embodiments of the present application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. The utility model provides an accompany and survey hard disk, its characterized in that accompanies and survey the hard disk and include:
the golden finger interface is used for being connected with a server;
the M.2 module is connected with the golden finger interface through a protocol and is used for realizing data interaction between the accompanied testing hard disk and the server;
the load module is in communication connection with the golden finger interface and is used for adjusting parameter change of the server so as to realize testing of the server;
the controller module is connected with the golden finger interface through a protocol and is in communication connection with the load module, and the controller module is used for controlling the load module to adjust load change and collecting parameter information of the server in the load change process.
2. A method for accompanying a hard disk drive according to claim 1, wherein the method comprises:
accessing the accompanied test hard disk into a server interface, and controlling the server interface to supply power;
carrying out data interaction with the accompanied test hard disk through a mounting link of the M.2 module in the accompanied test hard disk;
adjusting the load change in the accompanied and tested hard disk, monitoring the real-time parameters of the server in the load change process, judging the real-time parameter state of the server, and outputting a detection result;
and detecting the fixed parameters of the server through the testing assistant hard disk, storing the fixed parameters of the server and sending the BMC according to a protocol.
3. A method for accompanying a hard disk drive test server according to claim 1, wherein after controlling the power supply of the server interface, the method further comprises:
detecting whether the accompanied test hard disk is accessed to an M.2 hard disk, if so, continuously detecting whether other modules in the accompanied test hard disk are normal;
if the access of the M.2 hard disk is abnormal or at least one module is abnormal, stopping testing;
and if all the modules in the accompanied test hard disk are normal, starting to detect the real-time parameters of the server.
4. A method for accompanying and testing a server based on an accompanying and testing hard disk according to claim 3, wherein the method for adjusting the load change in the accompanying and testing hard disk, monitoring the real-time parameters of the server in the process of the load change, judging the real-time parameter state of the server, and outputting the detection result specifically comprises:
adjusting the load change in the accompanied and tested hard disk, and detecting the real-time parameters of the server in the load change process;
judging whether the real-time parameters of the server exceed a preset range or not;
if the real-time parameters of the server exceed a preset range, outputting a detection result and controlling the server to disconnect the load;
and if the real-time parameter of the server does not exceed the preset range, outputting the detection result of the real-time parameter of the server.
5. A method for accompany testing a hard disk based on a server as claimed in claim 4, wherein if the real-time parameter of the server exceeds a preset range, the detection result is outputted and the server is controlled to disconnect the load, and then comprising:
detecting the temperature of a server at intervals of preset time, and judging whether the temperature of the server is lower than a preset threshold value or not;
if the temperature of the server is lower than the preset threshold value, controlling to start the load;
and if the temperature of the server is higher than or equal to the preset threshold value, controlling to disconnect the load and continuously monitoring the temperature of the server.
6. The method for accompany-testing hard disk based on accompany-testing server as claimed in claim 5, characterized in that said method further comprises:
and converting the real-time parameter data of the server into a data format of a response protocol, and sending the data format to the BMC.
7. The method for accompany testing server based on accompany testing hard disk according to claim 6, characterized by that before controlling the power supply of the server interface, it further comprises:
setting the identification in-place signal of the accompanied hard disk to be high, and setting the type signal of the accompanied hard disk to be low;
detecting whether the identification in-place signal and the type signal are normal or not;
if the identified in-place signal and the identified type signal are normal, controlling the server interface to supply power;
and if the in-place signal or the type signal is not normal, stopping power supply of the server interface.
8. A system based on accompany and survey hard disk accompany and survey server, its characterized in that, the system includes:
the power supply module is used for connecting the accompanied and tested hard disk to the server interface and controlling the server interface to supply power;
the connection module is used for the server to perform data interaction with the tested hard disk through a mounting link of an M.2 module in the tested hard disk;
the first monitoring module is used for adjusting the load change in the accompanied and tested hard disk, monitoring the real-time parameters of the server in the load change process, judging the real-time parameter state of the server and outputting a detection result;
and the second monitoring module is used for storing the fixed parameters and sending the BMC according to a protocol through the fixed parameters of the accompanied and tested hard disk detection server.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method according to any of claims 1 to 7 are implemented when the computer program is executed by the processor.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN202211357283.6A 2022-11-01 2022-11-01 Test-accompanied hard disk, and method and system for test-accompanied server based on test-accompanied hard disk Pending CN115729756A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211357283.6A CN115729756A (en) 2022-11-01 2022-11-01 Test-accompanied hard disk, and method and system for test-accompanied server based on test-accompanied hard disk

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211357283.6A CN115729756A (en) 2022-11-01 2022-11-01 Test-accompanied hard disk, and method and system for test-accompanied server based on test-accompanied hard disk

Publications (1)

Publication Number Publication Date
CN115729756A true CN115729756A (en) 2023-03-03

Family

ID=85294295

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211357283.6A Pending CN115729756A (en) 2022-11-01 2022-11-01 Test-accompanied hard disk, and method and system for test-accompanied server based on test-accompanied hard disk

Country Status (1)

Country Link
CN (1) CN115729756A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116701150A (en) * 2023-06-19 2023-09-05 深圳市银闪科技有限公司 Storage data safety supervision system and method based on Internet of things

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116701150A (en) * 2023-06-19 2023-09-05 深圳市银闪科技有限公司 Storage data safety supervision system and method based on Internet of things
CN116701150B (en) * 2023-06-19 2024-01-16 深圳市银闪科技有限公司 Storage data safety supervision system and method based on Internet of things

Similar Documents

Publication Publication Date Title
US20130166243A1 (en) Test device and method for testing stability of electronic devices
CN103377115A (en) System event log management system and system event log management method
CN113552840A (en) Machining control system
CN115729756A (en) Test-accompanied hard disk, and method and system for test-accompanied server based on test-accompanied hard disk
CN115128429A (en) Chip testing system and testing method thereof
CN112485572A (en) System, method, equipment and storage medium for testing radiation anti-interference degree of server
CN113672306B (en) Server component self-checking abnormity recovery method, device, system and medium
CN211148838U (en) Air conditioner internal unit testing device
CN111239514A (en) Method and device for testing overvoltage protection function of server power supply
CN116185737A (en) DC abnormal power failure detection method and device based on notebook computer and computer equipment
US20200089290A1 (en) Pulse width modulation fan
CN112650099B (en) Control method and control system of battery monitoring platform
US11762033B2 (en) Power failure monitoring device and power failure monitoring method
CN114593814A (en) Method and device for detecting fault of eddy current sensor
CN115144016A (en) Equipment alarm system, method, terminal and storage medium
CN114490213A (en) Method, system, device and storage medium for monitoring and diagnosing computer mainboard faults
CN113010423A (en) Method and device for detecting reliability of electric energy meter software, computer equipment and medium
CN110781043B (en) Quality detection method and device for storage product, storage medium and equipment
CN113808727A (en) Equipment monitoring method and device, computer equipment and readable storage medium
CN113125938A (en) Aging test monitoring method and system
CN114356061B (en) Power failure detection method, device, system and detection equipment
CN114356617B (en) Error injection testing method, device, system and computing equipment
CN112396015B (en) Supercooling signal identification method and device for nuclear power unit of nuclear power plant
CN111124804B (en) Test method and device
CN114884021B (en) Power supply control method of power supply circuit and related components

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination