CN116955264A - Communication connection establishment method and device, storage medium and electronic equipment - Google Patents

Communication connection establishment method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN116955264A
CN116955264A CN202310945394.7A CN202310945394A CN116955264A CN 116955264 A CN116955264 A CN 116955264A CN 202310945394 A CN202310945394 A CN 202310945394A CN 116955264 A CN116955264 A CN 116955264A
Authority
CN
China
Prior art keywords
hard disk
backboard
connector
communication connection
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
CN202310945394.7A
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 CN202310945394.7A priority Critical patent/CN116955264A/en
Publication of CN116955264A publication Critical patent/CN116955264A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Multi Processors (AREA)

Abstract

The embodiment of the application provides a method and a device for establishing communication connection, a storage medium and electronic equipment, wherein the method comprises the following steps: under the condition that the server is provided with N hard disk backplates, the communication connection between the ith hard disk backplate and the (i+1) th hard disk backplate in the N hard disk backplates is established through the i-th board-to-board connector, so that the N hard disk backplates are in serial communication connection, wherein N is an integer greater than 1, i is an integer greater than or equal to 1 and less than or equal to N-1, and the communication connection between the computer motherboard and the first hard disk backplate in the N hard disk backplates is established through the backplate connector, so that the communication connection between the computer motherboard and the N hard disk backplates is established. By adopting the technical scheme, the problems that cables are complicated and complicated, the placement position of the hard disk backboard is limited, the space arrangement is difficult and the like are easily caused when different hard disk backboard is connected to a computer main board through backboard connectors.

Description

Communication connection establishment method and device, storage medium and electronic equipment
Technical Field
The embodiment of the application relates to the field of computers, in particular to a method and a device for establishing communication connection, a storage medium and electronic equipment.
Background
In recent years, with rapid development of internet technology, cloud services and cloud computing are rapidly rising, and servers are also becoming more and more important as key devices supporting various applications of the current internet. The server products are classified into a plurality of types, basically all general servers need storage media, hard disks are matched, and mainly the storage media such as the hard disks are used for OS installation, APP installation, service software deployment and the like.
The main function of the hard disk backboard of the server is to support the interconnection between the main board and the storage device and provide a data transmission channel for the supported main board. With the development of the era, the requirements for the storage capacity of the server are gradually increased, the types of the hard disks are also gradually diversified, and in order to adapt to different application scenes, the server is often provided with a plurality of hard disk back plates on the main board so as to switch various hard disks.
As shown in fig. 1, in the present server for configuring a plurality of hard disk backplates, a plurality of connectors are mainly arranged on a motherboard, different connectors are correspondingly connected with different hard disk backplates respectively, and a baseboard management controller (Baseboard Management Controller, abbreviated as BMC) of the motherboard distinguishes the position of each backplate in a system according to the connectors, so that the corresponding hard disk backplates can be accessed, but the arrangement of the plurality of connectors occupies more physical space, and the different hard disk backplates are connected to different connectors of the motherboard through cables, so that the number of cables such as power cables, high-speed cables and the like between the motherboard and the backplate is greatly increased, and the problems of cable complexity, limited placement position of the hard disk backplates, difficult space arrangement and the like are easily generated; in addition, the method also needs to occupy more pins of BMC and complex programmable logic devices (Complex Programmable Logic Device, CPLD for short), and has the problem of insufficient pins of the main board BMC and CPLD.
In the related art, different hard disk backplates are connected to a computer motherboard through a backplate connector, so that the problems of cable complexity, limited placement positions of the hard disk backplates, difficult space arrangement and the like are easily generated, and no effective solution is proposed at present.
Accordingly, there is a need for improvements in the related art to overcome the drawbacks of the related art.
Disclosure of Invention
The embodiment of the application provides a method and a device for establishing communication connection, a storage medium and electronic equipment, which are used for at least solving the problems that different hard disk backplates are connected to a computer motherboard through a backplate connector, so that cable complexity is easy to generate, the placement position of the hard disk backplates is limited, space arrangement is difficult and the like.
According to an embodiment of the present application, there is provided a method for establishing a communication connection, including: under the condition that the server is provided with N hard disk back plates, establishing communication connection between an ith hard disk back plate and an (i+1) th hard disk back plate in the N hard disk back plates through an ith board-to-board connector so as to realize serial communication connection of the N hard disk back plates, wherein N is an integer greater than 1, and i is an integer greater than or equal to 1 and less than or equal to N-1; and establishing communication connection between the computer main board and a first hard disk backboard in the N hard disk backboard through a backboard connector so as to establish communication connection between the computer main board and the N hard disk backboard.
Optionally, establishing a communication connection between the computer motherboard and the first hard disk backplane through a backplane connector includes: and arranging the backboard connector on the first hard disk backboard, wherein the backboard connector comprises the following components: the microcontroller inputs and outputs an MCIO connector, a Slimline connector, an integrated circuit bus I2C connector and a virtual parallel port VPP connector; and establishing a connection relation between the backboard connector and the computer main board so as to establish communication connection between the computer main board and the first hard disk backboard.
Optionally, after the communication connection between the computer motherboard and the first hard disk backplane is established through the backplane connector, the method further includes: acquiring the backboard address of each of the N hard disk backboard through a complex programmable logic device CPLD on the first hard disk backboard to obtain N backboard addresses; and the CPLD is used for sending the N backboard addresses to a Baseboard Management Controller (BMC) of the computer mainboard by using the backboard connector.
Optionally, after the communication connection between the computer motherboard and the first hard disk backplane is established through the backplane connector, the method further includes: acquiring backboard state information of each of the N hard disk backboard and hard disk state information corresponding to each hard disk backboard through the CPLD on the first hard disk backboard, and obtaining N backboard state information and N hard disk state information; and the CPLD is used for transmitting the N backboard state information and the N hard disk state information to the BMC of the computer main board by using the backboard connector.
Optionally, after the communication connection between the computer motherboard and the first hard disk backplane is established through the backplane connector, the method further includes: receiving a control instruction sent by the computer main board through a backboard connector on the first hard disk backboard; forwarding the control instruction to a second hard disk backboard through a first board-to-board controller under the condition that the first hard disk backboard determines that the control object of the control instruction is not the hard disk corresponding to the first hard disk backboard; and under the condition that the first hard disk backboard determines that the control object of the control instruction is the hard disk corresponding to the first hard disk backboard, operating the hard disk corresponding to the first hard disk backboard according to the control instruction.
Optionally, after the communication connection between the computer motherboard and the first hard disk backplane is established through the backplane connector, the method further includes: acquiring lighting information sent by the BMC of the computer main board through an I2C connector on the first hard disk backboard, wherein the lighting information carries a backboard address of a target hard disk backboard, the lighting information is used for indicating a target light-emitting diode of a hard disk corresponding to the target hard disk backboard to be lightened, and the backboard connector comprises the I2C connector; analyzing the lighting information through the CPLD on the first hard disk backboard, and determining the backboard address of the target hard disk backboard; forwarding the lighting information to the target hard disk backboard through one or more board-to-board connectors between the first hard disk backboard and the target hard disk backboard under the condition that the first hard disk backboard determines that the target hard disk backboard is not the first hard disk backboard, so as to instruct the target hard disk backboard to light a target light-emitting diode of a hard disk corresponding to the target hard disk backboard; and under the condition that the first hard disk backboard determines that the target hard disk backboard is the first hard disk backboard, the first hard disk backboard is used for lighting the target light-emitting diode of the hard disk corresponding to the first hard disk backboard.
Optionally, before establishing a communication connection between the ith hard disk backplane and the (i+1) th hard disk backplane in the N hard disk backplates through the ith board-to-board connector, the method further includes: and determining a first hard disk backboard from the N hard disk backboard, wherein the first hard disk backboard supports N transmission protocols, and the N transmission protocols are used by N hard disks corresponding to the N hard disk backboard.
According to another embodiment of the present application, there is provided an apparatus for establishing a communication connection, including: the first establishing module is used for establishing communication connection between an ith hard disk backboard and an (i+1) th hard disk backboard in the N hard disk backboard through an ith board-to-board connector under the condition that the server is provided with N hard disk backboard, so that the N hard disk backboard realizes serial communication connection, wherein N is an integer greater than 1, i is an integer greater than or equal to 1 and less than or equal to N-1; the second establishing module is used for establishing communication connection between the computer main board and a first hard disk backboard in the N hard disk backboard through the backboard connector so as to establish communication connection between the computer main board and the N hard disk backboard.
According to a further embodiment of the application, there is also provided a computer readable storage medium having stored therein a computer program, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
According to a further embodiment of the application there is also provided an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
According to the application, under the condition that the server is provided with N hard disk backplates, the communication connection between the ith hard disk backplate and the (i+1) th hard disk backplate in the N hard disk backplates is established through the ith plate-to-plate connector, and the communication connection between the computer motherboard and the first hard disk backplate in the N hard disk backplates is established through the backplate connector, so that the communication connection between the computer motherboard and the N hard disk backplates is established. Because the N hard disk backplates are cascaded through the board-to-board connector, the communication connection between the N hard disk backplates and the computer motherboard can be established only by using one backplate connector, the problems that cables are complicated and easy to generate, the placement positions of the hard disk backplates are limited, the space arrangement is difficult and the like are solved, and the effect of reducing the use of cables for connecting the hard disk backplates with the computer motherboard in a server is achieved.
Drawings
FIG. 1 is a diagram of the connection structure between a host computer and a plurality of hard disk backplates in the prior art;
fig. 2 is a block diagram of a hardware structure of a mobile terminal according to a method for establishing a communication connection according to an embodiment of the present application;
FIG. 3 is a flow chart of a method of establishing a communication connection in accordance with an embodiment of the present application;
FIG. 4 is a topology diagram of a cascade connection of N hard disk backplates using a board-to-board connector in accordance with an embodiment of the present application;
FIG. 5 is a schematic diagram of a cascaded hard disk backplane according to an embodiment of the present disclosure;
fig. 6 is a block diagram of a communication connection establishment apparatus according to an embodiment of the present application.
Detailed Description
Embodiments of the present application will be described in detail below with reference to the accompanying drawings in conjunction with the embodiments.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order.
The method embodiments provided in the embodiments of the present application may be performed in a mobile terminal, a computer terminal or similar computing device. Taking the operation on the mobile terminal as an example, fig. 2 is a block diagram of a hardware structure of the mobile terminal according to an embodiment of the present application. As shown in fig. 2, the mobile terminal may include one or more (only one is shown in fig. 2) processors 202 (the processors 202 may include, but are not limited to, a microprocessor MCU or a processing device such as a programmable logic device FPGA) and a memory 204 for storing data, wherein the mobile terminal may further include a transmission device 206 for communication functions and an input-output device 208. It will be appreciated by those skilled in the art that the structure shown in fig. 2 is merely illustrative and not limiting of the structure of the mobile terminal described above. For example, the mobile terminal may also include more or fewer components than shown in fig. 2, or have a different configuration than shown in fig. 2.
The memory 204 may be used to store a computer program, for example, a software program of application software and a module, such as a computer program corresponding to a method for establishing a communication connection in an embodiment of the present application, and the processor 202 executes the computer program stored in the memory 204 to perform various functional applications and data processing, that is, to implement the above-described method. Memory 204 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 204 may further include memory remotely located relative to the processor 202, which may be connected to the mobile terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 206 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 206 includes a network adapter (Network Interface Controller, simply referred to as NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission device 206 may be a Radio Frequency (RF) module, which is used to communicate with the internet wirelessly. In order to solve the above-mentioned problem, in this embodiment, a method for establishing a communication connection is provided, and fig. 3 is a flowchart of a method for establishing a communication connection according to an embodiment of the present application, as shown in fig. 3, where the flowchart includes the following steps:
Step S302, when the server is provided with N hard disk back plates, the communication connection between the ith hard disk back plate and the (i+1) th hard disk back plate in the N hard disk back plates is established through the ith board-to-board connector, so that the N hard disk back plates are in serial communication connection, wherein N is an integer greater than 1, i is an integer greater than or equal to 1 and less than or equal to N-1;
the value of i in the above step S302 is 1,2,3 … N-1 in this order. The communication connection between the 1 st hard disk backboard and the 2 nd hard disk backboard is established through the 1 st board-to-board connector, the communication connection between the 2 nd hard disk backboard and the 3 rd hard disk backboard is established through the 2 nd board-to-board connector, so that the N hard disk backboard realizes serial communication connection …, and the communication connection between the N-1 th hard disk backboard and the N hard disk backboard is established through the N-1 th board-to-board connector, so that the serial communication connection between the N hard disk backboard is realized.
It should be noted that the N hard disk backplates include, but are not limited to: serial attached SCSI (Serial Attached SCSI, abbreviated as SAS) hard disk backplane, serial ATA (Serial Advanced Technology Attachment, SATA) hard disk backplane, fast nonvolatile storage (Non-Volatile Memory Express, abbreviated as NVME) hard disk backplane.
It should be noted that the board-to-board connector is a connector for implementing a communication connection between two backplane hardboards, and the board-to-board connector may transmit signals of a peripheral component interconnect express (Peripheral Component Interconnect Express, abbreviated as PCIe), SAS/SATA, serial dual line (Inter-Integrated Circuit, abbreviated as I2C), a harddisk status, lighting, and the like. As an alternative example, a plurality of hard disk backplates are cascaded to obtain a cascaded hard disk backplate, as shown in fig. 5, and fig. 5 illustrates a schematic structural diagram of the cascaded hard disk backplate.
As an alternative example, the board-to-board connectors between different types of hard disk backplates may be the same or different. In an exemplary embodiment, before the step S302, a first hard disk backplane needs to be determined from the N hard disk backplanes, where the first hard disk backplane supports N transport protocols, and the N transport protocols are transport protocols used by N hard disks corresponding to the N hard disk backplanes.
That is, in this embodiment, if the N hard disk backboards are SAS hard disk backboards, SATA hard disk backboards, and NVME hard disk backboards, a base backboard (the first hard disk backboard) needs to be selected from the N hard disk backboards, and the hard disk backboards need to support SAS/SATA/NVME protocols, and the hard disk backboards are designed according to standard backboards.
Step S304, a communication connection between the computer main board and a first hard disk backboard of the N hard disk backboard is established through a backboard connector, so that the communication connection between the computer main board and the N hard disk backboard is established.
It should be noted that, since the N hard disk backplates are cascaded together through the N-1 board-to-board connectors, the communication connection between the computer motherboard and the N hard disk backplates can be established only by using the backplane connector to establish the communication connection between the computer motherboard and the first hard disk backplate.
Through the steps S302-S304, in the case that the server has N hard disk backplates, a communication connection between the ith hard disk backplate and the (i+1) th hard disk backplate of the N hard disk backplates is established through the ith board-to-board connector, and a communication connection between the computer motherboard and the first hard disk backplate of the N hard disk backplates is established through the backplate connector, so as to establish a communication connection between the computer motherboard and the N hard disk backplates. Because the N hard disk backplates are cascaded through the board-to-board connector, the communication connection between the N hard disk backplates and the computer motherboard can be established only by using one backplate connector, the problems that cables are complicated and easy to generate, the placement positions of the hard disk backplates are limited, the space arrangement is difficult and the like are solved, and the effect of reducing the use of cables for connecting the hard disk backplates with the computer motherboard in a server is achieved.
In an exemplary embodiment, the above step S304 may be implemented by the following steps S11-S12:
step S11: and arranging the backboard connector on the first hard disk backboard, wherein the backboard connector comprises the following components: the microcontroller inputs and outputs an MCIO connector, a Slimline connector, an integrated circuit bus I2C connector and a virtual parallel port VPP connector;
step S12: and establishing a connection relation between the backboard connector and the computer main board so as to establish communication connection between the computer main board and the first hard disk backboard.
That is, in this embodiment, devices such as a microcontroller input/Output (MCIO) connector, a Slimline connector, an I2C connector, a virtual parallel port (Virtual Parallel Port, VPP) connector, etc. on the first hard disk back plate are required to be connected to the computer motherboard through a cable, so as to perform signal interaction with the computer motherboard.
It should be noted that the MCIO connector is a connector for connecting to a microcontroller. It provides an input/output channel from the microcontroller to the external device, enabling the microcontroller to communicate and control with other electronic devices; slimline connector is a thinner connector that provides power, data and signal transmission, etc., so that the internal components can be connected to a motherboard or other device; the I2C connector is a connector for connecting an I2C bus, and the I2C bus is a serial communication protocol, and is commonly used for connecting a plurality of devices, so as to realize data exchange and communication between the devices; the VPP connector is a virtual parallel port connector for connecting parallel devices in a computer system, such as a printer or scanner, which emulates a physical parallel port by software so that the computer can communicate with the parallel devices.
In an exemplary embodiment, after the backplane connector establishes a communication connection between the computer motherboard and the first hard disk backplane, the following steps S21-S22 are further provided:
step S21: acquiring a backboard address of each of the N hard disk backboard on a complex programmable logic device CPLD on a first hard disk backboard to obtain N backboard addresses;
it should be noted that, a complex programmable logic device CPLD needs to be set on the first hard disk backboard, and then the first hard disk backboard obtains the backboard address of each hard disk backboard in the N hard disk backboard through the CPLD; in addition, since the CPLD and the backboard connector are already arranged on the first hard disk backboard, the CPLD and the backboard connector are not required to be arranged on the rest hard disk backboard except the first hard disk backboard in the cascade hard disk backboard.
It should be noted that, the backplate addresses corresponding to the N hard disk backplates have uniqueness, that is, each hard disk backplate has a unique backplate address.
Step S22: the N backplane addresses are sent to a baseboard management controller (Baseboard Management Controller, abbreviated as BMC) of the computer motherboard by the CPLD using the backplane connector.
That is, the first hard disk backplane may use the CPLD to send the acquired N backplane addresses to the BMC of the computer motherboard via the backplane connector. Furthermore, the computer main board can know the backboard address corresponding to each of the N hard disk backboard through the mode.
In one exemplary embodiment: after the backplane connector establishes a communication connection between the computer motherboard and the first hard disk backplane, the method further comprises the following steps S31-S32:
step S31: acquiring backboard state information of each of the N hard disk backboard and hard disk state information of a hard disk corresponding to each hard disk backboard through the CPLD on the first hard disk backboard, and obtaining N backboard state information and N hard disk state information;
it should be noted that the back plate status information includes, but is not limited to, temperature information of the hard disk back plate. And each hard disk backboard is provided with a temperature sensor, so that the temperature information of each hard disk backboard can be monitored.
It should be noted that the hard disk status information includes, but is not limited to, whether the hard disk is operating normally, the capacity status of the hard disk, and the like.
It should be noted that, the rest of the N hard disk backplanes except the first hard disk backplane send the backplane address, the backplane status information and the hard disk status information to the first hard disk backplane through VPP/SGPIO signals. Furthermore, the CPLD of the first hard disk backboard can acquire and analyze backboard state information of different hard disk backboard through backboard addresses of different hard disk backboard, and mainly aims at acquired VPP/SGPIO signals in the analysis process.
Step S32: and the CPLD is used for transmitting the N backboard state information and the N hard disk state information to the BMC of the computer main board by using the backboard connector.
That is, in this embodiment, the first hard disk backplane may use the CPLD to send the acquired N backplane status information and the N hard disk status information to the BMC of the computer motherboard through the backplane connector. Furthermore, the computer main board can know the back plate state information corresponding to each hard disk back plate in the N hard disk back plates and the hard disk state information of the hard disk connected with each hard disk back plate through the mode.
As an optional example, the BMC of the motherboard may access the hard disk backboard according to address information of the hard disk backboard, and monitor and manage the backboard status of the hard disk backboard and the corresponding hard disk, which is specifically characterized in that, through an indicator light or a software interface on the backboard, the working status of the hard disk is monitored in real time, and whether the hard disk works normally or not and whether there is a fault or not is judged.
In an exemplary embodiment, after the backplane connector establishes a communication connection between the computer motherboard and the first hard disk backplane, the following steps S41-S43 are further provided:
step S41: receiving a control instruction sent by the computer main board through a backboard connector on the first hard disk backboard;
And step S42, forwarding the control instruction to a second hard disk backboard through a first board-to-board controller under the condition that the first hard disk backboard determines that the control object of the control instruction is not the hard disk corresponding to the first hard disk backboard.
It should be noted that, when the second hard disk back plate determines that the control object of the control instruction is not the hard disk corresponding to the second hard disk back plate, the control instruction is forwarded to the third hard disk back plate through the second board-to-board controller. That is, in this embodiment, in the case where the current hard disk backplate determines that the control object of the control instruction is not the hard disk corresponding to the current hard disk backplate, the control instruction is forwarded to the next hard disk backplate connected to itself.
As an optional example, the current hard disk backboard determines that the control object of the control instruction is not the hard disk corresponding to the current hard disk backboard by judging the protocol corresponding to the control instruction, if the protocol used by the control instruction is different from the protocol used by the hard disk of the current hard disk backboard.
And step S43, operating the hard disk corresponding to the first hard disk backboard according to the control instruction under the condition that the first hard disk backboard determines that the control object of the control instruction is the hard disk corresponding to the first hard disk backboard.
It should be noted that, the judgment of the control object of the control instruction can be implemented in the board-to-board connector, and further in this embodiment, the computer motherboard can implement control of the cascaded hard disk back board through the above manner.
In one exemplary embodiment: after the backplane connector establishes a communication connection between the computer motherboard and the first hard disk backplane, the method further includes the following steps S51-S54:
step S51, lighting information sent by the BMC of the computer main board is obtained through an I2C connector on the first hard disk backboard, wherein the lighting information carries a backboard address of a target hard disk backboard, the lighting information is used for indicating to light a target light-emitting diode of a hard disk corresponding to the target hard disk backboard, and the backboard connector comprises the I2C connector;
step S52: analyzing the lighting information through the CPLD on the first hard disk backboard, and determining the backboard address of the target hard disk backboard;
the lighting information is mainly used to indicate the position or error state of the device by lighting the LED lamp.
Step S53: forwarding the lighting information to the target hard disk backboard through one or more board-to-board connectors between the first hard disk backboard and the target hard disk backboard under the condition that the first hard disk backboard determines that the target hard disk backboard is not the first hard disk backboard, so as to instruct the target hard disk backboard to light a target light-emitting diode of a hard disk corresponding to the target hard disk backboard;
In an exemplary embodiment, in a case that the CPLD on the first hard disk backplane determines that the lighting information is not for controlling the light emitting diode corresponding to the own hard disk through the backplane address carried in the lighting information, the lighting information may be forwarded by the first hard disk backplane to the second hard disk backplane, and then, after the second hard disk backplane determines whether the light emitting diode … corresponding to the own hard disk needs to be turned on until the target hard disk backplane determines to turn on the target light emitting diode corresponding to the own hard disk.
Step S54: and under the condition that the first hard disk backboard determines that the target hard disk backboard is the first hard disk backboard, the first hard disk backboard is used for lighting the target light-emitting diode of the hard disk corresponding to the first hard disk backboard.
In this embodiment, through the above steps, the lighting operation of the computer host on the cascade hard disk backboard is realized.
It will be apparent that the embodiments described above are merely some, but not all, embodiments of the invention. For better understanding of the above method, the following description will explain the above process with reference to the examples, but is not intended to limit the technical solution of the embodiments of the present invention, specifically:
As an alternative example, fig. 4 illustrates a topology diagram of implementing cascading of N hard disk backplates with board-to-board connectors, and fig. 5 illustrates a schematic structural diagram of a cascading hard disk backplate.
As an optional example, in the case that the N hard disk backplanes are SAS hard disk backplanes, SATA hard disk backplanes, and NVME hard disk backplanes, the SAS hard disk backplanes, SATA hard disk backplanes, and NVME hard disk backplanes are connected into a whole through board-to-board connectors, a special space is reserved in the server to place the cascaded hard disk backplanes, only one hard disk backplane is selected, devices such as a CPLD logic chip, an MCIO connector, a Slimline connector, an I2C connector, and a VPP connector are added on the dedicated hard disk backplanes, and these connectors are connected to the motherboard through cables to perform signal interaction with the motherboard, and other hard disk backplanes transmit signals such as PCIe, SAS/SATA, I2C, hard disk states, and lighting through board-to-board connectors, which simplifies the backplane design to a certain extent, plays a role of saving space, and makes the layout more regular.
It should be noted that, a unique backplane address may be set for each hard disk backplane, different hard disk backplanes are connected to one path of I2C bus of the motherboard through board-to-board connectors, the baseboard management controller of the motherboard may access the corresponding hard disk backplane according to different addresses to perform different hard disk backplane status monitoring and management (the hard disk backplanes may provide hard disk status monitoring and management functions, through an indicator light or a software interface on the hard disk backplanes, an administrator may monitor the working status of the hard disk in real time, for example, whether the hard disk works normally, whether there is a fault or an Error, etc.), obtain temperature information detected by a hard disk thermal sensor, etc., after the CPLD obtains different backplane addresses, obtain status information of SAS/SATA/NVME hard disk, analyze VPP/SGPIO signals, communicate with the motherboard BMC, analyze I2C lighting information issued by the BMC, and perform functions such as location/Error LED of the SAS/SATA/NVME hard disk.
Specifically, the application optimizes and develops the current SAS/SATA/NVME hard disk backboard and server, designs a system for realizing a plurality of SAS/SATA/NVME hard disk cascading systems by using board-to-board connectors, and specifically comprises the following steps:
step one: and selecting a hard disk backboard from the SAS/SATA/NVME hard disk backboard as a base backboard, wherein the hard disk backboard is required to support an SAS/SATA/NVME protocol, and devices such as a CPLD programmable logic device, an MCIO connector, a Slimline connector, an I2C connector and a VPP connector are added on the hard disk backboard according to the standard backboard design and are connected to a main board through cables to perform signal interaction with the main board.
Step two: the board-to-board connectors are added on each SAS/SATA/NVME backboard, and besides the hard disk backboard selected in the first step, the other backboard does not need to contain MCIO, slimline, I2C, VPP connectors or CPLD logic chips, so that the cost is saved to a certain extent. Signals such as PCIe, SAS/SATA, I2C, hard disk status, lighting, etc. are transferred through the board-to-board connector. The plurality of SAS/SATA/NVME hard disk backplates are connected into a whole through the board-to-board connector, are arranged in the space where the cascading hard disk backplates are specially arranged and planned on the server, are more regular in layout and higher in space utilization, and are convenient for people to determine each backplate more quickly.
Step three: each hard disk backboard is provided with a unique backboard address, different hard disk backboard is connected to one I2C bus of the main board through a board-to-board connector, and a baseboard management controller of the main board can access the corresponding hard disk backboard according to different addresses to monitor and manage different hard disk backboard states, acquire temperature information of a hard disk backboard thermal sensor temperature sensor and the like.
Step four: after the CPLD acquires different back board addresses, the functions of acquiring state information of the SAS/SATA/NVME hard disk, analyzing VPP/SGPIO signals, communicating with a main board BMC, analyzing I2C lighting information issued by the BMC, lighting a location/Error LED of the SAS/SATA/NVME hard disk and the like are realized.
The application optimally develops the current SAS/SATA/NVME hard disk backboard and the server, and designs a cascading system for realizing a plurality of SAS/SATA/NVME hard disks by using a board-to-board connector.
By this design, the following effect can be achieved:
1. the number of the hard disk back plates is expanded, and the working condition that a plurality of hard disk back plates are required by a server to be configured with various hard disks can be met.
2. The use of cables and connectors is reduced, and the situation that a plurality of cables are staggered is avoided. The whole formed by cascading the board-to-board connectors is placed at a special position of the server, so that the layout is more regular, and the space utilization rate is improved.
3. The design of the hard disk backboard is optimized, and only one hard disk backboard is required to be provided with a CPLD logic chip, MCIO, slimline, I, C, VPP and other connectors, so that the cost is saved to a certain extent.
4. Different hard disk backboard is connected to one path of I2C bus of the main board through the board-to-board connector, and the BMC and the CPLD access the corresponding hard disk backboard according to different addresses, so that the use of pins of the BMC and the CPLD is reduced, and the situation that the pins of the BMC and the CPLD are insufficient due to excessive backboard is avoided.
In short, the application connects a plurality of SAS/SATA/NVME hard disk back plates into a whole through the board-to-board connector, transmits signals of PCIe, SAS/SATA, I2C, hard disk states, lighting and the like through the board-to-board connector, only needs to arrange CPLD logic chips, MCIO, slimline, I2C, VPP and other connectors on one hard disk back plate, connects a plurality of SAS/SATA/NVME hard disk back plates into a whole through the board-to-board connector, and is arranged in a planned space specially for placing cascade back plates on a server, thereby improving the space utilization of the server and reducing the occupation of main board BMC and CPLD pins.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiment also provides a device for establishing a communication connection, which is used for implementing the foregoing embodiments and preferred embodiments, and is not described in detail. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
Fig. 6 is a block diagram of a communication connection establishment apparatus according to an embodiment of the present application, as shown in fig. 6, the apparatus includes:
the first establishing module 62 is configured to establish, in a case where the server has N hard disk backplates, a communication connection between an ith hard disk backplate and an (i+1) th hard disk backplate of the N hard disk backplates through an ith board-to-board connector, so that the N hard disk backplates are connected in series in a communication manner, where N is an integer greater than 1, i is an integer greater than or equal to 1 and less than or equal to N-1;
the second establishing module 64 is configured to establish a communication connection between the computer motherboard and a first one of the N hard disk backplates through a backplane connector, so as to establish a communication connection between the computer motherboard and the N hard disk backplates.
By the device, under the condition that the server is provided with N hard disk backplates, the communication connection between the ith hard disk backplate and the (i+1) th hard disk backplate in the N hard disk backplates is established through the ith board-to-board connector, and the communication connection between the computer motherboard and the first hard disk backplate in the N hard disk backplates is established through the backplate connector, so that the communication connection between the computer motherboard and the N hard disk backplates is established. Because the N hard disk backplates are cascaded through the board-to-board connector, the communication connection between the N hard disk backplates and the computer motherboard can be established only by using one backplate connector, the problems that cables are complicated and easy to generate, the placement positions of the hard disk backplates are limited, the space arrangement is difficult and the like are solved, and the effect of reducing the use of cables for connecting the hard disk backplates with the computer motherboard in a server is achieved.
In an exemplary embodiment, the second establishing module is further configured to set the backplane connector on the first hard disk backplane, where the backplane connector includes: the microcontroller inputs and outputs an MCIO connector, a Slimline connector, an integrated circuit bus I2C connector and a virtual parallel port VPP connector; and establishing a connection relation between the backboard connector and the computer main board so as to establish communication connection between the computer main board and the first hard disk backboard.
In an exemplary embodiment, the apparatus further comprises: the first processing module is used for obtaining the backboard address of each of the N hard disk backboard through the complex programmable logic device CPLD on the first hard disk backboard after the communication connection between the computer main board and the first hard disk backboard is established through the backboard connector, so as to obtain N backboard addresses; and the CPLD is used for sending the N backboard addresses to a Baseboard Management Controller (BMC) of the computer mainboard by using the backboard connector.
In an exemplary embodiment, the apparatus further comprises: the second processing module is used for acquiring the backboard state information of each hard disk backboard in the N hard disk backboard and the hard disk state information of the hard disk corresponding to each hard disk backboard through the CPLD on the first hard disk backboard after the communication connection between the computer main board and the first hard disk backboard is established through the backboard connector, so as to obtain N backboard state information and N hard disk state information; and the CPLD is used for transmitting the N backboard state information and the N hard disk state information to the BMC of the computer main board by using the backboard connector.
In an exemplary embodiment, the apparatus further comprises: the third processing module is used for receiving a control instruction sent by the computer mainboard through the backboard connector on the first hard disk backboard after the communication connection between the computer mainboard and the first hard disk backboard is established through the backboard connector; forwarding the control instruction to a second hard disk backboard through a first board-to-board controller under the condition that the first hard disk backboard determines that the control object of the control instruction is not the hard disk corresponding to the first hard disk backboard; and under the condition that the first hard disk backboard determines that the control object of the control instruction is the hard disk corresponding to the first hard disk backboard, operating the hard disk corresponding to the first hard disk backboard according to the control instruction.
In an exemplary embodiment, the apparatus further comprises: a fourth processing module, configured to obtain lighting information sent by a BMC of a computer motherboard through an I2C connector on the first hard disk backplane after establishing a communication connection between the computer motherboard and the first hard disk backplane through a backplane connector, where the lighting information carries a backplane address of a target hard disk backplane, the lighting information is used to indicate a target light emitting diode that lights a hard disk corresponding to the target hard disk backplane, and the backplane connector includes the I2C connector; analyzing the lighting information through the CPLD on the first hard disk backboard, and determining the backboard address of the target hard disk backboard; forwarding the lighting information to the target hard disk backboard through one or more board-to-board connectors between the first hard disk backboard and the target hard disk backboard under the condition that the first hard disk backboard determines that the target hard disk backboard is not the first hard disk backboard, so as to instruct the target hard disk backboard to light a target light-emitting diode of a hard disk corresponding to the target hard disk backboard; and under the condition that the first hard disk backboard determines that the target hard disk backboard is the first hard disk backboard, the first hard disk backboard is used for lighting the target light-emitting diode of the hard disk corresponding to the first hard disk backboard.
In an exemplary embodiment, the apparatus further comprises: the device comprises a determining module, a first hard disk backboard, a second hard disk backboard and a third hard disk backboard, wherein the determining module is used for determining a first hard disk backboard from the N hard disk backboard before the communication connection between the ith hard disk backboard and the (i+1) th hard disk backboard is established through the ith board-to-board connector, the first hard disk backboard supports N transmission protocols, and the N transmission protocols are transmission protocols used by N hard disks corresponding to the N hard disk backboard. It should be noted that each of the above modules may be implemented by software or hardware, and for the latter, it may be implemented by, but not limited to: the modules are all located in the same processor; alternatively, the above modules may be located in different processors in any combination.
The computer readable storage medium has stored therein a computer program, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
In one exemplary embodiment, the computer readable storage medium may include, but is not limited to: a usb disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing a computer program.
An embodiment of the application also provides an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
In an exemplary embodiment, the electronic device may further include a transmission device connected to the processor, and an input/output device connected to the processor.
Specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the exemplary implementation, and this embodiment is not described herein.
It will be appreciated by those skilled in the art that the modules or steps of the application described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may be implemented in program code executable by computing devices, so that they may be stored in a storage device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than that shown or described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps of them may be fabricated into a single integrated circuit module. Thus, the present application is not limited to any specific combination of hardware and software.
The above description is only of the preferred embodiments of the present application and is not intended to limit the present application, but various modifications and variations can be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the principle of the present application should be included in the protection scope of the present application.

Claims (10)

1. A method for establishing a communication connection, comprising:
under the condition that the server is provided with N hard disk back plates, establishing communication connection between an ith hard disk back plate and an (i+1) th hard disk back plate in the N hard disk back plates through an ith board-to-board connector so as to realize serial communication connection of the N hard disk back plates, wherein N is an integer greater than 1, and i is an integer greater than or equal to 1 and less than or equal to N-1;
and establishing communication connection between the computer main board and a first hard disk backboard in the N hard disk backboard through a backboard connector so as to establish communication connection between the computer main board and the N hard disk backboard.
2. The method of claim 1, wherein establishing a communication connection of a computer motherboard to the first hard disk backplane via a backplane connector comprises:
and arranging the backboard connector on the first hard disk backboard, wherein the backboard connector comprises the following components: the microcontroller inputs and outputs an MCIO connector, a Slimline connector, an integrated circuit bus I2C connector and a virtual parallel port VPP connector;
And establishing a connection relation between the backboard connector and the computer main board so as to establish communication connection between the computer main board and the first hard disk backboard.
3. The method of claim 1, wherein after establishing a communication connection between a computer motherboard and the first hard disk backplane via a backplane connector, the method further comprises:
acquiring the backboard address of each of the N hard disk backboard through a complex programmable logic device CPLD on the first hard disk backboard to obtain N backboard addresses;
and the CPLD is used for sending the N backboard addresses to a Baseboard Management Controller (BMC) of the computer mainboard by using the backboard connector.
4. The method of claim 1, wherein after establishing a communication connection between a computer motherboard and the first hard disk backplane via a backplane connector, the method further comprises:
acquiring backboard state information of each of the N hard disk backboard and hard disk state information of a hard disk corresponding to each hard disk backboard through the CPLD on the first hard disk backboard, and obtaining N backboard state information and N hard disk state information;
And the CPLD is used for transmitting the N backboard state information and the N hard disk state information to the BMC of the computer main board by using the backboard connector.
5. The method of claim 1, wherein after establishing a communication connection between a computer motherboard and the first hard disk backplane via a backplane connector, the method further comprises:
receiving a control instruction sent by the computer main board through a backboard connector on the first hard disk backboard;
forwarding the control instruction to a second hard disk backboard through a first board-to-board controller under the condition that the first hard disk backboard determines that the control object of the control instruction is not the hard disk corresponding to the first hard disk backboard;
and under the condition that the first hard disk backboard determines that the control object of the control instruction is the hard disk corresponding to the first hard disk backboard, operating the hard disk corresponding to the first hard disk backboard according to the control instruction.
6. The method of claim 1, wherein after establishing a communication connection between a computer motherboard and the first hard disk backplane via a backplane connector, the method further comprises:
Acquiring lighting information sent by the BMC of the computer main board through an I2C connector on the first hard disk backboard, wherein the lighting information carries a backboard address of a target hard disk backboard, the lighting information is used for indicating a target light-emitting diode of a hard disk corresponding to the target hard disk backboard to be lightened, and the backboard connector comprises the I2C connector;
analyzing the lighting information through the CPLD on the first hard disk backboard, and determining the backboard address of the target hard disk backboard;
forwarding the lighting information to the target hard disk backboard through one or more board-to-board connectors between the first hard disk backboard and the target hard disk backboard under the condition that the first hard disk backboard determines that the target hard disk backboard is not the first hard disk backboard, so as to instruct the target hard disk backboard to light a target light-emitting diode of a hard disk corresponding to the target hard disk backboard;
and under the condition that the first hard disk backboard determines that the target hard disk backboard is the first hard disk backboard, the first hard disk backboard is used for lighting the target light-emitting diode of the hard disk corresponding to the first hard disk backboard.
7. The method of claim 1, wherein prior to establishing a communication connection between an i-th hard disk backplane and an i+1-th hard disk backplane of the N hard disk backplanes through the i-th board-to-board connector, the method further comprises:
And determining a first hard disk backboard from the N hard disk backboard, wherein the first hard disk backboard supports N transmission protocols, and the N transmission protocols are used by N hard disks corresponding to the N hard disk backboard.
8. An apparatus for establishing a communication connection, comprising:
the first establishing module is used for establishing communication connection between an ith hard disk backboard and an (i+1) th hard disk backboard in the N hard disk backboard through an ith board-to-board connector under the condition that the server is provided with N hard disk backboard, so that the N hard disk backboard realizes serial communication connection, wherein N is an integer greater than 1, i is an integer greater than or equal to 1 and less than or equal to N-1;
the second establishing module is used for establishing communication connection between the computer main board and a first hard disk backboard in the N hard disk backboard through the backboard connector so as to establish communication connection between the computer main board and the N hard disk backboard.
9. A computer readable storage medium, characterized in that a computer program is stored in the computer readable storage medium, wherein the computer program, when being executed by a processor, implements the steps of the method according to any of the claims 1 to 7.
10. 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 processor implements the steps of the method of any one of claims 1 to 7 when the computer program is executed.
CN202310945394.7A 2023-07-28 2023-07-28 Communication connection establishment method and device, storage medium and electronic equipment Pending CN116955264A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310945394.7A CN116955264A (en) 2023-07-28 2023-07-28 Communication connection establishment method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310945394.7A CN116955264A (en) 2023-07-28 2023-07-28 Communication connection establishment method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN116955264A true CN116955264A (en) 2023-10-27

Family

ID=88446072

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310945394.7A Pending CN116955264A (en) 2023-07-28 2023-07-28 Communication connection establishment method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN116955264A (en)

Similar Documents

Publication Publication Date Title
CN107818021B (en) Method for providing NVM subsystem to host using BMC as proxy NVMEOF discovery controller
CN107832087B (en) Self-configuring Baseboard Management Controller (BMC)
US10127170B2 (en) High density serial over LAN management system
US10394573B2 (en) Host bus adapter with built-in storage for local boot-up
US20030079074A1 (en) Method and apparatus for controlling communications in data storage complexes
CN116501681B (en) CXL data transmission board card and method for controlling data transmission
CN112286857A (en) Server I2C bus allocation method and system supporting multi-backplane cascade
WO2016082522A1 (en) Management path determination method and device
CN116032746B (en) Information processing method and device of resource pool, storage medium and electronic device
US11157427B2 (en) Configurable method to associate drive slot to bus number
CN113177018B (en) Server using double-slot CPU
US10853213B2 (en) Validation of installation of removeable computer hardware components
US20070237071A1 (en) Input-output fabric conflict detection and resolution in a blade compute module system
CN111475431A (en) Mainboard, backboard, identification system and identification method
CN107506323B (en) Hot plug processing method and device
US10891847B2 (en) Visible indication of a port as configured to management functionality
CN116009785A (en) Hard disk management method and computing device
CN116166855A (en) Method and device for identifying serial numbers of hard disks
CN116955264A (en) Communication connection establishment method and device, storage medium and electronic equipment
CN114116415B (en) Hard disk backboard, hard disk lighting control system, method, device and medium
CN114201439B (en) Server signal identification optimization method, system and storage medium
CN110321263B (en) Hard disk monitoring system
CN112069108A (en) Flexible server configuration system and method based on PCIE Switch
CN118568032A (en) Information sending method and device, storage medium and electronic equipment
CN117648239A (en) Misplug detection method of external equipment and computing equipment

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