CN117234817A - Hard disk backboard code dialing method, device, equipment and medium - Google Patents

Hard disk backboard code dialing method, device, equipment and medium Download PDF

Info

Publication number
CN117234817A
CN117234817A CN202311107376.8A CN202311107376A CN117234817A CN 117234817 A CN117234817 A CN 117234817A CN 202311107376 A CN202311107376 A CN 202311107376A CN 117234817 A CN117234817 A CN 117234817A
Authority
CN
China
Prior art keywords
dialing
hard disk
tested
information
disk backboard
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
CN202311107376.8A
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 CN202311107376.8A priority Critical patent/CN117234817A/en
Publication of CN117234817A publication Critical patent/CN117234817A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The application discloses a hard disk backboard code dialing method, a device, equipment and a medium, which relate to the technical field of computers and comprise the following steps: acquiring current characteristic information of a hard disk backboard to be tested, which is sent by a server main board; the current characteristic information is information corresponding to the hard disk backboard to be tested under a current storage link; searching a target dialing state corresponding to the current characteristic information from a local storage area; and sending the target dialing state to a complex programmable logic device of the hard disk backboard to be tested, so that the complex programmable logic device controls a dialing switch to perform corresponding dialing operation based on the target dialing state. The application can realize automatic dialing operation of the hard disk backboard to be tested under different storage links, reduces the repeated disassembling condition in the testing process, and simultaneously avoids the risks of damage to other components on the backboard, caused by manual dialing misoperation of a screwdriver, and the like.

Description

Hard disk backboard code dialing method, device, equipment and medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a medium for dialing a hard disk back plate.
Background
With diversification of server products, the types of server products supporting backboards are more and more, such as a hard disk backboard supporting SATA (Serial Advanced Technology Attachment hard disk, serial hard disk)/SAS (Serial Attached Small Computer System Interface ), a hard disk backboard supporting NVME (Non Volatile Memory Host Controller Interface Specification, non-volatile memory host controller interface specification), and the like, and in addition, various combinations and storage topologies of backboards are more and more, such as a connection mode of an on-board SATA controller through PCH (Platform Controller Hub, south bridge chip), a connection mode of a CPU (Central Processing Unit, a central processing unit) and a connection mode of an expander card (i.e., an expansion card), and the like, in order to meet the requirements in various scenes, the backboards need to be dialed to match different connection modes.
In the related art, one method is to adjust the distance between the top plate and the bottom of the switch by using the piston rod of the electric telescopic rod to control the dial state of the switch, however, many dial switches on the back plate are components welded on the back plate, so that the distance cannot be adjusted by using the telescopic rod. The other is to set up a virtual dial switch on the BMC (Baseboard Management Controller ) page, but the BMC is a system completely independent of the server, when the motherboard and the backboard normally operate in the server, and the BMC system is down, blue screen or hung up, the user cannot perform any operation on the server, and the function of the backboard cannot be verified.
Currently, when testing different storage links, a tester needs to disassemble the case, pull out the back plates, dial the dial switch on each back plate by using a screwdriver, and after the test is completed, the case needs to be disassembled to recover the dial switch to the dial state before the test. Then for different memory links, repeated dialing is required, the initial state is repeatedly restored, and each time a test is performed, the dialing is performed once. Therefore, if the machine with more storage links and more types and projects are encountered, the machine needs to be repeatedly disassembled to dial the backboard, the backboard is extremely easy to damage, and when the screwdriver is used for dialing, other components on the backboard are easy to miss-touch, so that the backboard is short-circuited, the board burning risk is brought, the process is completely dependent on manual operation of a tester, and a great amount of time and energy are occupied for the tester.
In summary, how to realize the automatic dialing operation of the hard disk backboard to be tested under different storage links, so as to reduce the situations of backboard damage or short circuit and the like caused by repeated disassembly in the testing process, and save the labor cost is the problem to be solved at present.
Disclosure of Invention
Accordingly, the present invention is directed to a method, apparatus, device and medium for dialing a hard disk back plate, which can realize automatic dialing operation of the hard disk back plate to be tested under different storage links, so as to reduce the damage or short circuit of the back plate caused by repeated disassembly in the testing process, and save the labor cost. The specific scheme is as follows:
In a first aspect, the application discloses a hard disk backboard code dialing method, which comprises the following steps:
acquiring current characteristic information of a hard disk backboard to be tested, which is sent by a server main board; the current characteristic information is information corresponding to the hard disk backboard to be tested under a current storage link;
searching a target dialing state corresponding to the current characteristic information from a local storage area;
and sending the target dialing state to a complex programmable logic device of the hard disk backboard to be tested, so that the complex programmable logic device controls a dialing switch to perform corresponding dialing operation based on the target dialing state.
Optionally, the hard disk backboard dialing method further includes:
the method comprises the steps of obtaining corresponding dialing information of the hard disk backboard to be tested under different storage links in advance, and storing the dialing information in a local storage area; the dialing information comprises characteristic information and corresponding dialing states corresponding to the hard disk backboard to be tested under different storage links; the characteristic information comprises a unique identification code of the hard disk backboard to be tested, backboard serial numbers, position information and hard disk state information.
Optionally, the searching the target dial state corresponding to the current feature information from the local storage area includes:
Searching whether an information record corresponding to the current characteristic information exists in the dialing information stored in the local storage area;
if the information record corresponding to the current characteristic information does not exist in the local storage area, under the condition that the fact that the to-be-detected hard disk backboard is installed correctly is determined, acquiring a first dialing state corresponding to the current characteristic information through a preset user input interface, and storing the current characteristic information and the first dialing state into the local storage area;
if the local storage area has the information record corresponding to the current characteristic information, comparing whether the information record is consistent with the current characteristic information or not;
if the information record is consistent with the current characteristic information, acquiring a target dialing state corresponding to the current characteristic information from the dialing information;
if the information record is inconsistent with the current characteristic information, acquiring a second dialing state corresponding to the current characteristic information through the preset user input interface under the condition that the installation of the hard disk backboard to be detected is correct, and updating the local storage area by utilizing the current characteristic information and the second dialing state.
Optionally, the sending the target dial state to the complex programmable logic device of the to-be-tested hard disk backboard, so that the complex programmable logic device controls the dial switch to perform corresponding dial operation based on the target dial state, including:
and sending the target dialing state to a complex programmable logic device of the hard disk backboard to be tested through a preset cable, so that the complex programmable logic device sends a dialing instruction corresponding to the target dialing state to a dialing switch, and the dialing instruction is used for controlling the dialing switch to perform corresponding dialing operation.
Optionally, the obtaining the current feature information of the hard disk backboard to be tested sent by the server main board includes:
acquiring current characteristic information of a hard disk backboard to be tested, which is sent by a server main board through a universal serial bus interface; the server main board obtains the current characteristic information sent by the complex programmable logic device of the hard disk backboard to be tested through a preset cable.
Optionally, the hard disk backboard dialing method further includes:
if the hard disk backboard to be tested is a serial hard disk, the server main board and the complex programmable logic device are communicated through a thin line cable and a serial universal input/output cable;
If the hard disk backboard to be tested is a hard disk backboard based on a nonvolatile memory host controller interface specification protocol, the server main board and the complex programmable logic device communicate through the thin line cable and the virtual pin interface;
and if the hard disk backboard to be tested is a hard disk backboard based on a serial connection small computer system interface protocol, the server main board and the complex programmable logic device communicate through a port of a disk array card.
Optionally, the hard disk backboard dialing method further includes:
after the completion of the dialing operation is monitored, prompt information for representing the completion of the dialing is displayed on a preset display interface, so that an operator can carry out lighting operation on the hard disk backboard to be tested to verify whether the dialing is successful or not;
if the hard disk backboard to be tested still has a storage link which is not subjected to the dialing operation, after the storage link is replaced by the hard disk backboard to be tested, taking the replaced storage link as a current storage link, and re-executing the step of acquiring the current characteristic information of the hard disk backboard to be tested, which is sent by the server main board.
In a second aspect, the present application discloses a hard disk backboard dialing device, which includes:
The information acquisition interface is used for acquiring the current characteristic information of the hard disk backboard to be tested, which is sent by the server main board; the current characteristic information is information corresponding to the hard disk backboard to be tested under a current storage link;
the state searching module is used for searching a target dialing state corresponding to the current characteristic information from a local storage area;
and the information sending interface is used for sending the target dialing state to the complex programmable logic device of the hard disk backboard to be tested, so that the complex programmable logic device controls the dialing switch to perform corresponding dialing operation based on the target dialing state.
In a third aspect, the present application discloses an electronic device, comprising:
a memory for storing a computer program;
and the processor is used for executing the computer program to realize the steps of the hard disk backboard dialing method disclosed above.
In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program; the method comprises the steps of a hard disk backboard dialing method, wherein the steps of the hard disk backboard dialing method are realized when the computer program is executed by a processor.
Therefore, the present characteristic information of the hard disk backboard to be tested, which is sent by the server main board, is obtained; the current characteristic information is information corresponding to the hard disk backboard to be tested under a current storage link; searching a target dialing state corresponding to the current characteristic information from a local storage area; and sending the target dialing state to a complex programmable logic device of the hard disk backboard to be tested, so that the complex programmable logic device controls a dialing switch to perform corresponding dialing operation based on the target dialing state. Therefore, after the current characteristic information of the hard disk backboard to be tested, which is sent by the server main board, under the current storage link is obtained, the target dialing state corresponding to the current characteristic information is searched in the local storage area, and it can be understood that the dialing states corresponding to different characteristic information are stored in the local storage area, and then the searched target dialing state is sent to the complex programmable logic device of the hard disk backboard to be tested, so that the complex programmable logic device controls the dialing switch to perform corresponding dialing operation based on the target dialing state. According to the scheme, the corresponding dialing state can be searched from the local storage area according to the characteristic information of the hard disk backboard to be tested under different storage links, and then corresponding dialing operation is executed. Therefore, the automatic dialing of the hard disk backboard to be tested under different storage links is realized, the repeated disassembling condition in the testing process is reduced, and meanwhile, the risks of damage to other components on the backboard, caused by the wrong dialing operation of a screwdriver, and the like are avoided.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for dialing a hard disk back plate;
FIG. 2 is a flow chart of a specific dialing state search according to the present disclosure;
FIG. 3 is a schematic diagram of a hard disk backplane dialing process according to the present disclosure;
FIG. 4 is a flowchart of a method for dialing a hard disk back plate according to the present application;
FIG. 5 is a schematic diagram of a specific device connection relationship disclosed in the present application;
fig. 6 is a schematic structural diagram of a hard disk back plate dialing device disclosed in the present application;
fig. 7 is a block diagram of an electronic device according to the present disclosure.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Currently, when testing different storage links, a tester needs to disassemble the case, pull out the back plates, dial the dial switch on each back plate by using a screwdriver, and after the test is completed, the case needs to be disassembled to recover the dial switch to the dial state before the test. Then for different memory links, repeated dialing is required, the initial state is repeatedly restored, and each time a test is performed, the dialing is performed once. Therefore, if the machine with more storage links and more types and projects are encountered, the machine needs to be repeatedly disassembled to dial the backboard, the backboard is extremely easy to damage, and when the screwdriver is used for dialing, other components on the backboard are easy to miss-touch, so that the backboard is short-circuited, the board burning risk is brought, the process is completely dependent on manual operation of a tester, and a great amount of time and energy are occupied for the tester. Therefore, the embodiment of the application discloses a hard disk backboard dialing method, a device, equipment and a medium, which can realize automatic dialing operation of a hard disk backboard to be tested under different storage links, so as to reduce the situations of backboard damage or short circuit and the like caused by repeated disassembly in the testing process, and save the labor cost.
Referring to fig. 1, the embodiment of the application discloses a hard disk backboard dialing method, which comprises the following steps:
Step S11: acquiring current characteristic information of a hard disk backboard to be tested, which is sent by a server main board; and the current characteristic information is information corresponding to the hard disk backboard to be tested under the current storage link.
In this embodiment, it should be noted first that the method steps of this embodiment may be applied to a hard disk backplate dialing device, which is a separate hardware device that may be installed on a server to be tested and communicate with a motherboard and a backplate. After the server is powered on and started, current characteristic information of the hard disk backboard to be tested, which is sent by the server main board, is firstly obtained, wherein the current characteristic information refers to information corresponding to the hard disk backboard to be tested under a current storage link.
Step S12: and searching a target dial state corresponding to the current characteristic information from a local storage area.
In this embodiment, after obtaining the current feature information of the hard disk backboard to be tested under the current storage link sent by the server motherboard, the target dialing state corresponding to the current feature information is searched in the local storage area of the hard disk backboard dialing device.
It will be appreciated that the local storage area stores therein dialing states corresponding to different characteristic information. Thus, the above method further comprises: the method comprises the steps of obtaining corresponding dialing information of the hard disk backboard to be tested under different storage links in advance, and storing the dialing information in a local storage area; the dialing information comprises characteristic information and corresponding dialing states corresponding to the hard disk backboard to be tested under different storage links; the characteristic information comprises a unique identification code of the hard disk backboard to be tested, backboard serial numbers, position information and hard disk state information. That is, after the hard disk backboard to be tested is installed according to the storage link topology, the dialing information corresponding to all the storage link topologies of the hard disk backboard to be tested needs to be imported into the local storage area of the hard disk backboard dialing device, and the importing mode can be in a form of a Bluetooth or WIFI interface so as to realize importing of external data. The dialing information comprises corresponding characteristic information and corresponding dialing states of the hard disk backboard to be tested under different storage links; the characteristic information includes, but is not limited to, a unique identification code of the hard disk backplate to be tested, a backplate serial Number, position information and hard disk state information, wherein the unique identification code can be a PN (Part Number) code.
Further, as shown in fig. 2 and fig. 3, when searching the target dial state corresponding to the current feature information from the local storage area, the method specifically includes the following steps:
step S121: and searching whether an information record corresponding to the current characteristic information exists in the dial information stored in the local storage area.
Step S122: if the information record corresponding to the current characteristic information does not exist in the local storage area, under the condition that the fact that the to-be-detected hard disk backboard is installed correctly is determined, acquiring a first dialing state corresponding to the current characteristic information through a preset user input interface, and storing the current characteristic information and the first dialing state into the local storage area.
Step S123: and if the local storage area has the information record corresponding to the current characteristic information, comparing whether the information record is consistent with the current characteristic information.
Step S124: and if the information record is consistent with the current characteristic information, acquiring a target dialing state corresponding to the current characteristic information from the dialing information.
Step S125: if the information record is inconsistent with the current characteristic information, acquiring a second dialing state corresponding to the current characteristic information through the preset user input interface under the condition that the installation of the hard disk backboard to be detected is correct, and updating the local storage area by utilizing the current characteristic information and the second dialing state.
That is, in this embodiment, whether an information record corresponding to the current feature information exists in the dial information stored in the local storage area is first searched, if no corresponding information record exists, it is indicated that the dial information maintained in the local storage area is incomplete, so that after the condition that the to-be-detected hard disk backboard is correctly installed is determined, the current feature information and the first dial state are stored into the local storage area after the first dial state corresponding to the current feature information is obtained through the preset user input interface. In addition, if the local storage area has the information record corresponding to the current characteristic information, whether the information record is consistent with the current characteristic information or not needs to be compared, if so, the target dialing state corresponding to the current characteristic information can be directly obtained from the dialing information, if not, two conditions are described, namely, the dialing information stored in the local storage area is wrong, and the storage link on the current hard disk backboard to be tested is installed wrong, so that when the fact that the installation of the hard disk backboard to be tested is correct is determined, the second dialing state corresponding to the current characteristic information is obtained through a preset user input interface, the current characteristic information and the second dialing state are utilized to update the local storage area, if the storage link is installed wrong, the steps are executed again after the installation of the storage link is wrong.
Step S13: and sending the target dialing state to a complex programmable logic device of the hard disk backboard to be tested, so that the complex programmable logic device controls a dialing switch to perform corresponding dialing operation based on the target dialing state.
In this embodiment, the searched target dialing state is sent to a complex programmable logic device (Complex Programmable Logic Device, i.e., CPLD) of the hard disk backplate to be tested, so that the complex programmable logic device controls the dialing switch to perform corresponding dialing operation based on the target dialing state.
Therefore, the present characteristic information of the hard disk backboard to be tested, which is sent by the server main board, is obtained; the current characteristic information is information corresponding to the hard disk backboard to be tested under a current storage link; searching a target dialing state corresponding to the current characteristic information from a local storage area; and sending the target dialing state to a complex programmable logic device of the hard disk backboard to be tested, so that the complex programmable logic device controls a dialing switch to perform corresponding dialing operation based on the target dialing state. Therefore, after the current characteristic information of the hard disk backboard to be tested, which is sent by the server main board, under the current storage link is obtained, the target dialing state corresponding to the current characteristic information is searched in the local storage area, and it can be understood that the dialing states corresponding to different characteristic information are stored in the local storage area, and then the searched target dialing state is sent to the complex programmable logic device of the hard disk backboard to be tested, so that the complex programmable logic device controls the dialing switch to perform corresponding dialing operation based on the target dialing state. According to the scheme, the corresponding dialing state can be searched from the local storage area according to the characteristic information of the hard disk backboard to be tested under different storage links, and then corresponding dialing operation is executed. Therefore, the automatic dialing of the hard disk backboard to be tested under different storage links is realized, the repeated disassembling condition in the testing process is reduced, and meanwhile, the risks of damage to other components on the backboard, caused by the wrong dialing operation of a screwdriver, and the like are avoided.
Referring to fig. 4, an embodiment of the present application discloses a specific hard disk backboard dialing method, and compared with the previous embodiment, the present embodiment further describes and optimizes a technical scheme. The method specifically comprises the following steps:
step S21: acquiring current characteristic information of a hard disk backboard to be tested, which is sent by a server main board through a universal serial bus interface; the server main board acquires the current characteristic information sent by the complex programmable logic device of the hard disk backboard to be tested through a preset cable; and the current characteristic information is information corresponding to the hard disk backboard to be tested under the current storage link.
In this embodiment, the hard disk backboard dialing device is connected with the server main board through a universal serial bus interface (Universal Serial Bus, i.e., a USB interface), so that the server main board sends current characteristic information of the hard disk backboard to be tested to the hard disk backboard dialing device through the universal serial bus interface. Further, the server main board obtains current characteristic information sent by the complex programmable logic device of the hard disk backboard to be tested through a preset cable. Therefore, after the server is powered on and started, each storage link of the server main board is communicated with the backboard CPLD through the cable of the controller, current characteristic information such as backboard PN codes, backboard serial numbers, position information, hard disk states and the like sent by the backboard CPLD is obtained, and then the current characteristic information is transmitted to the hard disk backboard dial device through the USB interface.
In a specific embodiment, if the hard disk backboard to be tested is a serial hard disk, the server main board and the complex programmable logic device communicate through a thin line cable and a serial universal input/output cable; if the hard disk backboard to be tested is a hard disk backboard based on a nonvolatile memory host controller interface specification protocol, the server main board and the complex programmable logic device communicate through the thin line cable and the virtual pin interface; and if the hard disk backboard to be tested is a hard disk backboard based on a serial connection small computer system interface protocol, the server main board and the complex programmable logic device communicate through a port of a disk array card. It can be understood that the present embodiment provides a link connection manner between a server motherboard and a complex programmable logic device of a hard disk backboard to be tested under different types of hard disk backboard, which is specifically as follows: if the to-be-tested hard disk backboard uses a serial hard disk (namely, SATA disk), the server main board and the complex programmable logic device are communicated through a thin wire cable (namely, slimline) and a serial general input/Output cable (Serial General Purpose Input/Output, SGPIO); if the hard disk backboard to be tested uses the hard disk backboard based on the interface standard protocol of the nonvolatile memory host controller (namely NVME disk), the server main board and the complex programmable logic device are communicated through a thin line cable and a virtual pin interface (namely virtual pin port, vpp); if the hard disk backboard to be tested uses the hard disk backboard based on the serial connection small computer system interface protocol (namely, SAS disk), the server main board and the complex programmable logic device communicate through the port of the disk array (Redundant Arrays of Independent Disks, namely, RAID) card.
It should be noted that, before the server is powered on, the hardware of the server to be tested needs to be configured according to the test requirement, and an automatic test management system is installed on the test computer to complete the basic environment configuration before the test. The hard disk backplane dialing device is specifically required to be installed on a server, and cables, controllers (such as SAS cards) and storage media (such as SATA/SAS/NVME hard disks) required for installing the hard disk backplane to be tested and testing the storage link are required. And the hard disk backboard dialing device and the server main board are connected through the USB interface, and after the connection is successful, the visual interface of the hard disk backboard dialing device prompts that the connection is successful. And transmitting the dialing information of all the hard disk backboard to be tested under different storage links to the hard disk backboard dialing device through the interaction module of the test computer.
Step S22: and searching a target dial state corresponding to the current characteristic information from a local storage area.
Step S23: and sending the target dialing state to a complex programmable logic device of the hard disk backboard to be tested through a preset cable, so that the complex programmable logic device sends a dialing instruction corresponding to the target dialing state to a dialing switch, and the dialing instruction is used for controlling the dialing switch to perform corresponding dialing operation.
In this embodiment, the hard disk backboard dialing device and the complex programmable logic device of the hard disk backboard to be tested perform unidirectional communication through a preset cable, and the preset cable may be a cable, so after the target dialing state is found, the target dialing state is sent to the complex programmable logic device of the hard disk backboard to be tested through the cable. After the complex programmable logic device obtains the corresponding target dialing state, a corresponding dialing instruction is issued to the dialing switch through an internal link, so that corresponding pins on the dialing switch SW1 are connected, and automatic dialing operation is completed.
Step S24: after the completion of the dialing operation is monitored, prompt information for representing the completion of the dialing is displayed on a preset display interface, so that an operator can carry out lighting operation on the hard disk backboard to be tested to verify whether the dialing is successful or not.
In this embodiment, after the completion of the dialing operation is monitored, prompt information for representing the completion of the dialing is displayed on a preset display interface, so that an operator performs lighting operation on the hard disk backboard to be tested under an OS (Operating System) System to verify whether the dialing is successful or not, and if the dialing is successful, further starting the function test of the hard disk backboard. Specifically, after receiving the prompt of successful dialing, the tester performs the back board lighting positioning test on the back board with successful dialing through the OS system, and when the active indicator light of the hard disk on the back board lights up a green light, the success of the dialing of the back board is proved, and the subsequent back board functional test verification can be executed.
Further, the foregoing displaying, on a preset display interface, prompt information for indicating that dialing is completed, so that an operator performs a lighting operation on the to-be-tested hard disk backboard to verify whether the dialing is successful, and the method further includes: if the hard disk backboard to be tested still has a storage link which is not subjected to the dialing operation, after the storage link is replaced by the hard disk backboard to be tested, taking the replaced storage link as a current storage link, and re-executing the step of acquiring the current characteristic information of the hard disk backboard to be tested, which is sent by the server main board. It can be understood that if the hard disk backboard to be tested still has a storage link that has not been subjected to the dialing operation, after the storage link of the hard disk backboard to be tested is replaced, the replaced storage link is used as the current storage link, and the step of obtaining the current characteristic information of the hard disk backboard to be tested, which is sent by the server main board, is re-performed. That is, after the hard disk backboard installed on the server completes the test of one storage link, the tester replaces other storage media or controllers, and after the replacement is completed, the test computer continues to issue the test task.
For more specific processing in step S22, reference may be made to the corresponding content disclosed in the foregoing embodiment, and no further description is given here.
In the embodiment of the application, after the server is powered on and started, each storage link of the server main board is communicated with the backboard CPLD through the cable of the controller, so that the current characteristic information such as the backboard PN code, the backboard serial number, the position information, the hard disk state and the like sent by the backboard CPLD is obtained, and then the current characteristic information is transmitted to the hard disk backboard dial device through the USB interface. After the corresponding target dialing state is found in the local storage area, the hard disk backboard dialing device sends the target dialing state to the complex programmable logic device of the hard disk backboard to be tested through the cable. After the complex programmable logic device obtains the corresponding target dialing state, a corresponding dialing instruction is issued to the dialing switch through an internal link, so that corresponding pins on the dialing switch SW1 are connected, and automatic dialing operation is completed. After the completion of the dialing operation is monitored, the hard disk backboard dialing device also displays prompt information for representing the completion of the dialing on a preset display interface, so that an operator can carry out lighting operation on the hard disk backboard to be tested under the OS system to verify whether the dialing is successful or not. Therefore, the scheme of automatically dialing the same hard disk backboard under different storage links is realized, the machine is frequently disassembled and assembled in the test process according to the dialing state corresponding to the current characteristic information, the hard disk backboard is disassembled and assembled, the hard disk backboard is damaged or burned and other abnormal conditions caused by dialing the hard disk backboard by using a screwdriver are solved, and the test accuracy and test efficiency are improved.
The following is a specific description of the steps taking the 3.5×4sas_sata_nvme hard disk back plate as an example, and can be seen in fig. 5:
when the backboard is used on the A project and is used as an on-board storage link, the front 4 ports of the SATA controller of the PCH are connected, and the dialing state of a dialing switch SW1 on the corresponding hard disk backboard is 5671;
when the backboard is used in the item B, the storage link of the CPU is directly connected, and the dialing state of the corresponding hard disk backboard dialing switch SW1 is 4678;
when the backplane is used in item C, as a storage link of a RAID (Redundant Arrays of Independent Disks, i.e. disk array) card, port 1 of the RAID card controller is connected, and the dial state of the dial switch SW1 of the corresponding hard disk backplane is 5628.
Firstly, PN codes of a 3.5 x 4SAS_SATA_NVME hard disk backboard: characteristic information such as YZBB-03117-101 and the corresponding dialing state are recorded into the hard disk backboard dialing device and temporarily stored in a local storage area of the hard disk backboard dialing device.
When the SATA disk is used for the hard disk backboard, and the PCH controller is carried by the connecting plate, a Slimline (namely a thin wire cable) and an SGPIO (Serial General Purpose Input/Output, namely serial universal input Output) cable on the main board are communicated with the backboard CPLD, and information such as backboard PN, backboard serial number and the like in a FRU (Field Replace Unit field replaceable unit) of the backboard CPLD is obtained; when the NVME disk is used by the hard disk backboard, and the NVME disk is directly connected through the CPU, a Slimine and Vpp (virtual pin port) cable on the main board is communicated with the backboard CPLD, and backboard PN and backboard serial numbers in the FRU of the backboard CPLD are obtained; when the hard disk backboard uses an SAS disk and is connected with the RAID card controller, backboard PN and backboard serial numbers in the backboard CPLD FRU are obtained through the communication between the high-speed information number of the first port of the RAID card and the backboard CPLD.
All information acquired by a server main board is transmitted to a hard disk backboard dial device through a USB interface for storage, in the test process, the hard disk backboard dial device inquires a corresponding dial state through the acquired backboard feature information, the corresponding dial state is transmitted to a backboard CPLD through a cable, after the corresponding dial state is acquired by the CPLD of the backboard, a corresponding stitch on a dial switch SW1 is connected through an internal link, meanwhile, the hard disk backboard dial device displays the success of dial on a visual interface, after receiving a prompt of success of dial, a tester performs backboard lighting positioning test on a backboard with success of dial through an OS system, and when active lights of a hard disk on the backboard, the success of backboard dial is proved, and the subsequent backboard function test verification can be executed.
Referring to fig. 6, an embodiment of the present application discloses a hard disk backboard dialing device, which includes:
the information acquisition interface 11 is used for acquiring the current characteristic information of the hard disk backboard to be tested, which is sent by the server main board; the current characteristic information is information corresponding to the hard disk backboard to be tested under a current storage link;
a state searching module 12, configured to search a local storage area for a target dial state corresponding to the current feature information;
And the information sending interface 13 is used for sending the target dialing state to the complex programmable logic device of the hard disk backboard to be tested, so that the complex programmable logic device controls the dialing switch to perform corresponding dialing operation based on the target dialing state.
It should be noted that, the information acquisition interface is specifically a USB interface, the information sending interface is specifically a cable interface, and the state searching module may be specifically a built-in processing chip in the device.
Therefore, the present characteristic information of the hard disk backboard to be tested, which is sent by the server main board, is obtained; the current characteristic information is information corresponding to the hard disk backboard to be tested under a current storage link; searching a target dialing state corresponding to the current characteristic information from a local storage area; and sending the target dialing state to a complex programmable logic device of the hard disk backboard to be tested, so that the complex programmable logic device controls a dialing switch to perform corresponding dialing operation based on the target dialing state. Therefore, after the current characteristic information of the hard disk backboard to be tested, which is sent by the server main board, under the current storage link is obtained, the target dialing state corresponding to the current characteristic information is searched in the local storage area, and it can be understood that the dialing states corresponding to different characteristic information are stored in the local storage area, and then the searched target dialing state is sent to the complex programmable logic device of the hard disk backboard to be tested, so that the complex programmable logic device controls the dialing switch to perform corresponding dialing operation based on the target dialing state. According to the scheme, the corresponding dialing state can be searched from the local storage area according to the characteristic information of the hard disk backboard to be tested under different storage links, and then corresponding dialing operation is executed. Therefore, the automatic dialing of the hard disk backboard to be tested under different storage links is realized, the repeated disassembling condition in the testing process is reduced, and meanwhile, the risks of damage to other components on the backboard, caused by the wrong dialing operation of a screwdriver, and the like are avoided.
In some embodiments, the hard disk backboard dialing device further includes:
the dial information storage unit is used for acquiring the dial information corresponding to the hard disk backboard to be tested under different storage links in advance and storing the dial information in a local storage area; the dialing information comprises characteristic information and corresponding dialing states corresponding to the hard disk backboard to be tested under different storage links; the characteristic information comprises a unique identification code of the hard disk backboard to be tested, backboard serial numbers, position information and hard disk state information.
In some embodiments, the state lookup module 12 specifically includes:
the record searching unit is used for searching whether an information record corresponding to the current characteristic information exists in the dialing information stored in the local storage area;
the storage unit is used for acquiring a first dialing state corresponding to the current characteristic information through a preset user input interface and storing the current characteristic information and the first dialing state into the local storage area if the information record corresponding to the current characteristic information does not exist in the local storage area and the fact that the to-be-detected hard disk backboard is correctly installed is determined;
The information comparison unit is used for comparing whether the information record is consistent with the current characteristic information or not if the information record corresponding to the current characteristic information exists in the local storage area;
the state acquisition unit is used for acquiring a target dialing state corresponding to the current characteristic information from the dialing information if the information record is consistent with the current characteristic information;
and the updating unit is used for acquiring a second dialing state corresponding to the current characteristic information through the preset user input interface and updating the local storage area by utilizing the current characteristic information and the second dialing state under the condition that the installation of the hard disk backboard to be tested is determined to be correct if the information record is inconsistent with the current characteristic information.
In some embodiments, the information sending interface 13 may be specifically configured to send the target dialing state to a complex programmable logic device of the hard disk backboard to be tested through a preset cable, so that the complex programmable logic device sends a dialing instruction corresponding to the target dialing state to a dialing switch, so as to control the dialing switch to perform a corresponding dialing operation by using the dialing instruction.
In some embodiments, the information obtaining interface 11 may be specifically configured to obtain current feature information of the hard disk backboard to be tested, where the current feature information is sent by the server motherboard through the universal serial bus interface; the server main board obtains the current characteristic information sent by the complex programmable logic device of the hard disk backboard to be tested through a preset cable.
In some embodiments, in the information obtaining interface 11, if the hard disk backboard to be tested is a serial hard disk, the server motherboard and the complex programmable logic device communicate through a thin line cable and a serial universal input/output cable; if the hard disk backboard to be tested is a hard disk backboard based on a nonvolatile memory host controller interface specification protocol, the server main board and the complex programmable logic device communicate through the thin line cable and the virtual pin interface; and if the hard disk backboard to be tested is a hard disk backboard based on a serial connection small computer system interface protocol, the server main board and the complex programmable logic device communicate through a port of a disk array card.
In some embodiments, the hard disk backboard dialing device further includes:
The display module is used for displaying prompt information for representing the completion of the dialing on a preset display interface after the completion of the dialing operation is monitored, so that an operator can carry out lighting operation on the to-be-tested hard disk backboard to verify whether the dialing is successful or not;
and the link updating module is used for taking the replaced storage link as the current storage link after the storage link is replaced by the hard disk backboard to be tested if the storage link which is not subjected to the dialing operation exists in the hard disk backboard to be tested, and re-executing the step of acquiring the current characteristic information of the hard disk backboard to be tested, which is sent by the server main board.
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application. Specifically, the method comprises the following steps: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input output interface 25, and a communication bus 26. The memory 22 is configured to store a computer program, where the computer program is loaded and executed by the processor 21 to implement relevant steps in the hard disk backplate dialing method performed by the electronic device disclosed in any of the foregoing embodiments.
In this embodiment, the power supply 23 is configured to provide an operating voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and an external device, and the communication protocol to be followed is any communication protocol applicable to the technical solution of the present application, which is not specifically limited herein; the input/output interface 25 is used for acquiring external input data or outputting external output data, and the specific interface type thereof may be selected according to the specific application requirement, which is not limited herein.
Processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 may be implemented in at least one hardware form of DSP (Digital Signal Processing ), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array ). The processor 21 may also comprise a main processor, which is a processor for processing data in an awake state, also called CPU (Central Processing Unit ); a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 21 may integrate a GPU (Graphics Processing Unit, image processor) for rendering and drawing of content required to be displayed by the display screen. In some embodiments, the processor 21 may also include an AI (Artificial Intelligence ) processor for processing computing operations related to machine learning.
The memory 22 may be a carrier for storing resources, such as a read-only memory, a random access memory, a magnetic disk, or an optical disk, and the resources stored thereon include an operating system 221, a computer program 222, and data 223, and the storage may be temporary storage or permanent storage.
The operating system 221 is used for managing and controlling various hardware devices on the electronic device 20 and the computer program 222, so as to implement the operation and processing of the processor 21 on the mass data 223 in the memory 22, which may be Windows, unix, linux. The computer program 222 may further include a computer program that can be used to perform other specific tasks in addition to the computer program that can be used to perform the hard disk backplane dialing method performed by the electronic device 20 as disclosed in any of the previous embodiments. The data 223 may include, in addition to data received by the electronic device and transmitted by the external device, data collected by the input/output interface 25 itself, and so on.
Further, the embodiment of the application also discloses a computer readable storage medium, wherein the storage medium stores a computer program, and when the computer program is loaded and executed by a processor, the steps of the hard disk backboard dialing method disclosed in any embodiment are realized.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, so that the same or similar parts between the embodiments are referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. The software modules may be disposed in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing describes in detail a method, apparatus, device and storage medium for dialing a hard disk back plate, and specific examples are applied to illustrate the principles and embodiments of the present invention, and the above examples are only used to help understand the method and core idea of the present invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.

Claims (10)

1. The hard disk backboard code dialing method is characterized by comprising the following steps of:
acquiring current characteristic information of a hard disk backboard to be tested, which is sent by a server main board; the current characteristic information is information corresponding to the hard disk backboard to be tested under a current storage link;
searching a target dialing state corresponding to the current characteristic information from a local storage area;
and sending the target dialing state to a complex programmable logic device of the hard disk backboard to be tested, so that the complex programmable logic device controls a dialing switch to perform corresponding dialing operation based on the target dialing state.
2. The hard disk backplane dialing method according to claim 1, further comprising:
The method comprises the steps of obtaining corresponding dialing information of the hard disk backboard to be tested under different storage links in advance, and storing the dialing information in a local storage area; the dialing information comprises characteristic information and corresponding dialing states corresponding to the hard disk backboard to be tested under different storage links; the characteristic information comprises a unique identification code of the hard disk backboard to be tested, backboard serial numbers, position information and hard disk state information.
3. The method for dialing a hard disk back plate according to claim 2, wherein said searching for a target dialing state corresponding to said current feature information from a local storage area comprises:
searching whether an information record corresponding to the current characteristic information exists in the dialing information stored in the local storage area;
if the information record corresponding to the current characteristic information does not exist in the local storage area, under the condition that the fact that the to-be-detected hard disk backboard is installed correctly is determined, acquiring a first dialing state corresponding to the current characteristic information through a preset user input interface, and storing the current characteristic information and the first dialing state into the local storage area;
if the local storage area has the information record corresponding to the current characteristic information, comparing whether the information record is consistent with the current characteristic information or not;
If the information record is consistent with the current characteristic information, acquiring a target dialing state corresponding to the current characteristic information from the dialing information;
if the information record is inconsistent with the current characteristic information, acquiring a second dialing state corresponding to the current characteristic information through the preset user input interface under the condition that the installation of the hard disk backboard to be detected is correct, and updating the local storage area by utilizing the current characteristic information and the second dialing state.
4. The method for dialing a hard disk back plate according to claim 1, wherein said sending the target dialing state to the complex programmable logic device of the hard disk back plate to be tested so that the complex programmable logic device controls the dialing switch to perform a corresponding dialing operation based on the target dialing state comprises:
and sending the target dialing state to a complex programmable logic device of the hard disk backboard to be tested through a preset cable, so that the complex programmable logic device sends a dialing instruction corresponding to the target dialing state to a dialing switch, and the dialing instruction is used for controlling the dialing switch to perform corresponding dialing operation.
5. The method for dialing a hard disk back plate according to claim 1, wherein the obtaining the current feature information of the hard disk back plate to be tested sent by the server main board includes:
acquiring current characteristic information of a hard disk backboard to be tested, which is sent by a server main board through a universal serial bus interface; the server main board obtains the current characteristic information sent by the complex programmable logic device of the hard disk backboard to be tested through a preset cable.
6. The hard disk backplane dialing method according to claim 5, further comprising:
if the hard disk backboard to be tested is a serial hard disk, the server main board and the complex programmable logic device are communicated through a thin line cable and a serial universal input/output cable;
if the hard disk backboard to be tested is a hard disk backboard based on a nonvolatile memory host controller interface specification protocol, the server main board and the complex programmable logic device communicate through the thin line cable and the virtual pin interface;
and if the hard disk backboard to be tested is a hard disk backboard based on a serial connection small computer system interface protocol, the server main board and the complex programmable logic device communicate through a port of a disk array card.
7. The hard disk backplane dialing method according to any one of claims 1 to 6, further comprising:
after the completion of the dialing operation is monitored, prompt information for representing the completion of the dialing is displayed on a preset display interface, so that an operator can carry out lighting operation on the hard disk backboard to be tested to verify whether the dialing is successful or not;
if the hard disk backboard to be tested still has a storage link which is not subjected to the dialing operation, after the storage link is replaced by the hard disk backboard to be tested, taking the replaced storage link as a current storage link, and re-executing the step of acquiring the current characteristic information of the hard disk backboard to be tested, which is sent by the server main board.
8. A hard disk backplate dialling device, characterized in that it comprises:
the information acquisition interface is used for acquiring the current characteristic information of the hard disk backboard to be tested, which is sent by the server main board; the current characteristic information is information corresponding to the hard disk backboard to be tested under a current storage link;
the state searching module is used for searching a target dialing state corresponding to the current characteristic information from a local storage area;
and the information sending interface is used for sending the target dialing state to the complex programmable logic device of the hard disk backboard to be tested, so that the complex programmable logic device controls the dialing switch to perform corresponding dialing operation based on the target dialing state.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the steps of the hard disk backplane dialing method according to any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program; wherein the computer program when executed by a processor implements the steps of the hard disk backplane dialing method according to any one of claims 1 to 7.
CN202311107376.8A 2023-08-30 2023-08-30 Hard disk backboard code dialing method, device, equipment and medium Pending CN117234817A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311107376.8A CN117234817A (en) 2023-08-30 2023-08-30 Hard disk backboard code dialing method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311107376.8A CN117234817A (en) 2023-08-30 2023-08-30 Hard disk backboard code dialing method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN117234817A true CN117234817A (en) 2023-12-15

Family

ID=89090296

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311107376.8A Pending CN117234817A (en) 2023-08-30 2023-08-30 Hard disk backboard code dialing method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN117234817A (en)

Similar Documents

Publication Publication Date Title
CN105573743B (en) Chip burning system and method and electronic equipment
CN106648958B (en) Basic input output system replys management system and its method and program product
US10860425B2 (en) Method for recovering basic input/output system image file of a computer system and the computer system
CN103942061A (en) Battery firmware updating method, portable electronic device and rechargeable battery module
CN103412769A (en) External card parameter configuration method, equipment and system
CN112463689B (en) OCP card hot plug device, method and computer readable storage medium
CN102662701A (en) Online CPLD (Complex Programmable Logic Devices) upgrading method, device and business veneer
CN112000351B (en) Updating method, updating device, updating equipment and storage medium of BMC (baseboard management controller) firmware
CN110618918A (en) Control method, control device and control equipment for hard disk status lamp in PCH
CN105094895A (en) Method and device for installing multiple display card drivers
CN109308236A (en) A kind of warm connection function test method, device and relevant device
CN111831495A (en) Production automation test method and system
US20150100298A1 (en) Techniques for validating functionality of backplane controller chips
CN113703792A (en) Firmware remote upgrade test method, device, server and medium
CN113094256B (en) BMS software testing method and electronic equipment
CN117234817A (en) Hard disk backboard code dialing method, device, equipment and medium
CN106484442A (en) Server system and the method for updating start image shelves
CN109002318A (en) A kind of firmware update of CPLD, device, equipment and medium
CN109614279B (en) Industrial personal computer self-checking system and control method thereof and related equipment
CN114594970A (en) DSP software remote upgrading system and method
CN112445670B (en) eMMC test method and device
CN102955755A (en) Data card and method for repairing abnormal communication between data card and main unit
CN102243601B (en) Debugging system and relevant method for detecting and controlling state of computer host
CN116302844B (en) Method and device for acquiring hard disk information, computer equipment and storage medium
CN113900890B (en) Method, device, equipment and medium for collecting server component information

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