WO2020134340A1 - Hard drive extension system and electronic device - Google Patents

Hard drive extension system and electronic device Download PDF

Info

Publication number
WO2020134340A1
WO2020134340A1 PCT/CN2019/110425 CN2019110425W WO2020134340A1 WO 2020134340 A1 WO2020134340 A1 WO 2020134340A1 CN 2019110425 W CN2019110425 W CN 2019110425W WO 2020134340 A1 WO2020134340 A1 WO 2020134340A1
Authority
WO
WIPO (PCT)
Prior art keywords
connectors
connector
hard disk
assignment
correspondence
Prior art date
Application number
PCT/CN2019/110425
Other languages
French (fr)
Chinese (zh)
Inventor
邹鹏
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2020134340A1 publication Critical patent/WO2020134340A1/en

Links

Images

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/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/409Mechanical coupling
    • 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
    • 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
    • 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

Definitions

  • the present disclosure relates to the field of rack servers, and in particular, to a hard disk expansion system and an electronic device.
  • the rack server can support multiple high-performance CPUs, large-capacity memory, and large-capacity storage. It adopts high-density and modular design. It has the characteristics of high performance, high reliability, high scalability, and easy management. It is widely used in Internet and cloud computing. , Big data, NFV, SDN and other fields.
  • rack servers are generally grouped and modularly designed, consisting of processors, motherboards, memory, hard disk processors, hard disk backplanes, PCIE cards, chassis, power boards, etc. It is composed of other components, and each component is connected by various communication buses to realize the interconnection between the modules.
  • the hard disk control card [RAID (disk array) card or other hard disk pass-through card] passes Mini SAS HD (Mini Serial Attached SCSI (Hard Disk), which is a mini serial hard disk or mini serial high-definition hard disk) cable (in accordance with SFF-8643 standard, the same below) is a common design to connect to the hard disk backplane.
  • Each Mini SAS HD cable can support 4 high-speed LANE (LAN Emulation, LAN simulation or LAN simulation) channels, that is, 4 SAS (Serial Attached SCSI)/SATA (Serial ATA) hard drives can be directly connected through the backplane .
  • 4 SAS Serial Attached SCSI
  • SATA Serial ATA
  • the more Mini SAS HD cables are required. As shown in Figure 1, with the 16 SAS/SATA disks commonly used in rack servers directly connected, at least 4 Mini SAS HD cables are required.
  • the design requires that the connection sequence of each LANE and hard disk of the Mini SAS HD cable is fixed. Therefore, inside the rack server, between the hard disk processor and the hard disk backplane, the connection position of each Mini SAS HD cable needs to be fixed and cannot be connected at will, otherwise there may be confusion of hard disk slots on the management interface and incorrect processor connection And other abnormalities.
  • the present disclosure provides a hard disk expansion system that uses a universal cable to ensure that multiple cables on the server can be installed in the correct position.
  • the present disclosure provides a hard disk expansion system, including: a hard disk backplane with at least two first connectors; a hard disk control card with at least two second connections on the hard disk control card Connector, at least two first connectors correspond to at least two second connectors in one-to-one correspondence; at least two cables, and any one of the at least two cables connects one of the at least two first connectors to and from it A corresponding second connector; an assignment module, which is connected to at least two first connectors. When the assignment module is powered on, it assigns a value to each of the at least two first connectors. Among them, any two The assignments are different; the logic device is connected to at least two second connectors and receives the assignments to generate a comparison value.
  • the present disclosure provides an electronic device, including: the hard disk expansion system as described in any one of the above technical solutions; and a processor connected to a logic device to obtain a comparison value generated by the logic device; a memory, Connected with the processor for storing the correspondence between at least two first connectors, assignments and at least two second connectors; the processor determines at least two first connectors and at least two according to the correspondence and the comparison value Whether the connection of the second connector is a one-to-one connection.
  • Figure 1 is an installation diagram of the connection between the internal hard disk controller of the rack server and the hard disk backplane through four cables in some cases;
  • FIG. 2 is a schematic diagram of two bundles of customized cables in some cases
  • FIG. 3 is an installation diagram of the connection between a hard disk control card and a hard disk backplane through four cables in a hard disk expansion system according to an embodiment of the present disclosure
  • FIG. 4 is a schematic diagram of a hard disk control card and a hard disk backplane connected by a cable in a hard disk expansion system according to an embodiment of the present disclosure
  • FIG. 6 is a schematic structural diagram of a first connector of a hard disk expansion system according to an embodiment of the present disclosure
  • FIG. 7 is a schematic structural view of another direction of the first connector shown in FIG. 6;
  • FIG. 8 is a schematic block diagram of a hard disk expansion system provided by an embodiment of the present disclosure.
  • FIG. 9 is a diagram illustrating the definition of the position of a cable socket in a hard disk expansion system according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic block diagram of an electronic device according to an embodiment of the present disclosure.
  • FIG. 11 is a display interface of a cable insertion error in an electronic device provided by an embodiment of the present disclosure.
  • an embodiment of the first aspect of the present disclosure provides a hard disk expansion system 10, including: a hard disk backplane 102, at least two first connectors are provided on the hard disk backplane 102 Hard disk control card 104, hard disk control card 104 is provided with at least two second connectors, at least two first connectors and at least two second connectors one to one correspondence; at least two cables 122, at least two Any one of the cables is connected to one of the at least two first connectors and a corresponding second connector; the assignment module 124 is connected to at least two first connectors, and when the assignment module 124 is powered on, Each first connector of the at least two first connectors is assigned a value, wherein any two assignments are different; the logic device 126 is connected to at least two second connectors, and receives the assignment to generate a comparison value.
  • each first connector is assigned a value through the assignment module 124, so that each first connector carries a different assignment.
  • the 122 transmits the assignment to the logic device 126, and the logic device 126 generates a comparison value according to the received assignment.
  • the comparison value and the assignment value have a one-to-one correspondence. Therefore, according to the comparison value and the assignment value, the first connector and the first connector can be directly reflected.
  • the assignment module 124 includes: a high-level circuit 1242 and a low-level circuit 1244 provided on the hard disk backplane 102; wherein, the assignment module When the 124 is powered on, the high-level circuit 1242 and the low-level circuit 1244 provide level signals for at least two first connectors, and any two of the at least two first connectors receive different level signals.
  • the high-level circuit 1242 and the low-level circuit 1244 of the assignment module 124 realize the binary assignment effect when assigning values, for example: low level represents 0 and high level represents 1, which can achieve the first
  • the binary assignment of the connector the design is simple and easy, and conforms to the binary standard of the computer program, and the cost is low.
  • the high-level circuit 1242 and the low-level circuit can be printed directly on the hard disk backplane 102 1244, value assignment can also be realized through an external module.
  • any one of the at least two first connectors includes: a first pin connected to the high-level circuit; and / or
  • the second pin is connected to the low-level circuit.
  • the at least two first connectors include: a first pin connected to the high-level circuit 1242; a second pin connected to the low-level circuit 1244.
  • the first pin of the first connector is connected to the high-level circuit 1242.
  • a binary number 1 effect is provided for the first connector
  • the second pin of the first connector Connected with the low-level circuit 1244 when assigning, it provides the first connector with a binary number of 0, so as to provide different assignments for the first connector.
  • the number of assignments is determined by the number of the first pin and the second pin of each first connector.
  • the number of the first pin of each first connector is The range is 0 to 8.
  • the number of the second pins of each first connector ranges from 0 to 8.
  • the first pin and the first pin of each first connector The total number of two pins does not exceed 8, and the design directly connects the pins of the first connector to the assignment module 124, without the need to customize the first connector, which reduces the cost. All the first connectors include the first Pin and second pin.
  • the low-level circuit 1244 is a ground circuit.
  • the low-level circuit 1244 is a ground circuit, pull down the first pin of the first ground connection to the ground to achieve the effect of binary assignment of 0, and the ground circuit is safe and easy to set up, without adding other electronic components , Saving costs.
  • a resistive element 128 is provided between the high-level circuit and the first pin.
  • the second pin is pulled up by the resistive element 128 to reduce the current of the second pin to avoid short circuit or excessive current burnout.
  • the logic device 126 is provided on the hard disk control card 104; at least two pins of the second connector and the tube of the logic device 126 The pins are connected one by one.
  • the logic device 126 is soldered to the hard disk control card 104, and the pins of the second connector are connected to the pins of the logic device 126 in a one-to-one correspondence, so that the comparison value generated by the logic device 126 is the same as the first The connectors are in one-to-one correspondence.
  • the logic device 126 is a programmable logic device, that is, EPLD.
  • the purpose of the present disclosure is to provide a hard disk expansion system 10 for preventing misinsertion of Mini SAS HD cables 122 on a rack server, which can ensure that multiple Mini SAS HD cables 122 are installed on the server In the correct position, to avoid faults caused by incorrect insertion, this method can directly use ordinary Mini SAS HD cables 122 to achieve error-free connection of multiple hard disk cables 122 in the rack server.
  • the hard disk control card 104 is provided with four second connectors, including: a second connector A114, a second connector B116, a second connection Connector C118 and second connector D120, wherein the first connector A106 should be correspondingly connected to the second connector A114, the first connector B108 should be correspondingly connected to the second connector B116, and the first connector C110 should be connected to the second The connector C118 is correspondingly connected, and the first connector D112 should be correspondingly connected to the second connector D120.
  • An embodiment provided by the present disclosure is defined for the cable 122 signal according to the SFF-8643 standard, where A1, A2, B1, B2, C1, C2, D1, and D2 are reserved sidebands,
  • A1, A2, B1, B2, C1, C2, D1, and D2 are reserved sidebands
  • a part of the reserved sidebands are selected for definition, and the value is assigned to four first connectors, and the value of each first connector is transmitted to the first The second connector, and the second connector transmits the assignment to the logic device 126, the logic device 126 records the assignment transmitted by the second connector, generates a comparison value, and compares it with the assignment, thereby judging the first connector and the second connector Whether the cables 122 are connected in one-to-one correspondence.
  • the above-mentioned reserved sideband information is for illustrative purposes only, and is not a single case. In other embodiments of the present disclosure, other sidebands may be defined and assigned.
  • the first connector A106 (the first connector A106, the first connector B108, the first connector C110, the first connector D112, the second connector A114, the second connector B116 , The second connector C118 and the second connector D120 have the same structure), from top to bottom, the first row of signal pins from one end to the other end is D1 to D9; the second row of signal pins from one end to the other end is C1 To C9; the third row of signal pins from one end to the other end is B1 to B9; the fourth row of signal pins from one end to the other end is A1 to A9;
  • the three signal pins A2, C1, and D1 in the sideband pins of the first connector A106 are pulled down to ground, that is, the first pin of the first connector A106 is pulled down To ground, that is, the position information of the first connector A106 is defined as binary "000"; the three signal pins C1 and D1 in the side pins of the first connector B108 are pulled down to ground, and A2 is pulled up by a resistor, that is Pull down the first pin of the first connector B108 to the ground, the second pin is pulled up through the resistor, that is, define the position information of the first connector b108 as a binary "001"; for the first connector C110 side tube
  • the three signal pins A2 and D1 in the pin are pulled down to the ground, C1 is pulled up through the resistor, that is, the first pin of the first connector C110 is pulled down to the ground, and the second pin is pulled up through the resistor, which defines the first connection
  • the position information of the connector C110 is binary "010"
  • the three signals A1, C1, and D2 are connected to EPLD respectively.
  • the D2, C1 and A1 of the first connector A106 are respectively connected to the P2, P1 and P0 pins of the EPLD
  • the D2, C1 and A1 of the first connector B108 are respectively connected to the P5, P4 and P3 pins of the EPLD.
  • the D2, C1 and A1 of a connector C110 are respectively connected to the P8, P7 and P6 pins of the EPLD, and the D2, C1 and A1 of the first connector D112 are respectively connected to the P11, P10 and P9 pins of the EPLD.
  • the corresponding relationship between the sideband of the first connector and the pins of the logic device 126 is a distance description, and is not a single case. In other embodiments of the present disclosure, the first connector sideband and the logic device may be The other pins of 126 are connected.
  • an embodiment of the second aspect of the present disclosure provides a hard disk expansion system 10, an electronic device 1, including: the hard disk expansion system 10 as provided in any of the foregoing embodiments; and a processor 20, and a logic device 126 is connected to obtain the comparison value generated by the logic device 126; the memory is connected to the processor 20 for storing the correspondence between at least two first connectors, assignments and at least two second connectors; the processor 20 is based on The correspondence and the comparison value determine whether the connection between the at least two first connectors and the at least two second connectors is a one-to-one connection.
  • the electronic device 1 obtained by the embodiment of the present disclosure obtains the comparison value generated by the logic device 126 through the processor 20. Since the assigned value is transmitted to the logic device 126 one by one through the first connector, the cable 122, and the second connector, , The comparison value generated by the logic device 126 has a corresponding relationship with the assignment, so that the at least two first connectors can be judged according to the correspondence between the comparison value and at least two first connectors stored in the memory, and the assignment with at least two second connectors Whether the connection between one connector and at least two second connectors is a one-to-one correspondence.
  • determining whether the connection between the at least two first connectors and the at least two second connectors is a one-to-one connection according to the correspondence and the comparison value specifically includes: Judging whether the assignment value of the at least two first connectors and the comparison value corresponding to the at least two first connectors are equal; wherein, if the judgment result is equal, it means that the at least two first connectors corresponding to the assignment and the at least two first connectors The two connectors are connected in one-to-one correspondence; if the judgment result is not equal, it means that at least two first connectors corresponding to the assignment and at least two second connectors are not connected in one-to-one correspondence.
  • the comparison value is the direct transmission result of the assignment. Therefore, if the comparison value generated according to the assignment transmitted by the second connector is equal to the assignment assigned to the first connector corresponding to the second connector, then It means that the cable 122 is connected correctly. If the comparison value generated according to the value transmitted by the second connector is different from the value assigned to the first connector corresponding to the second connector, it means that the cable 122 is connected incorrectly.
  • the method further includes: when the processor 20 determines that the at least two first connectors and the at least two second connectors are not connected in one-to-one correspondence, the processor 20 further According to the corresponding relationship and the comparison value, it is recommended that at least two first connectors are connected to at least two second connectors.
  • the correct connection method of the cable 122 is recommended, that is, the connection method of the first connector and the second connector is recommended according to the correspondence relationship and the comparison value Specifically, according to the correspondence relationship and the comparison value, the connection method of the first connector and the second connector with the corresponding value and the assignment value is recommended.
  • four cables 122 are used to intercept four first connections
  • the first connector A106, the second connector A114, and the assignment A are the corresponding relationship
  • the first connector B108, the second connector B116, and the assignment B are the corresponding relationship
  • the first connection C110, second connector C118, and assignment C are the corresponding relationships
  • first connector D112, second connector D120, and assignment D are the corresponding relationships, if the comparison value and assignment B generated according to the assignment transmitted by the second connector A114 If they are equal, it is recommended that the cable 122 connected to the second connector A114 is connected to the second connector B116; if the comparison value generated according to the assignment transmitted by the second connector B116 is equal to the assignment A, it is recommended to connect the second connector now
  • the cable 122 of B116 is connected to the second connector A114; if the comparison value generated according to the assignment transmitted by the second connector C118 is equal to the assignment C, it means that the first connector C110 and the second connector C118 are connected correctly; if The comparison value generated according to the assignment transmitted by the
  • it further includes: a display device connected to the processor 20 for displaying the recommended connection of at least two first connectors and at least two second connectors the way.
  • the display device displays the connection manner of the at least two first connectors and at least two second connectors recommended by the processor 20, so that the user can adjust the cable 122 according to the display content.
  • the method further includes: at least two cue lights, connected to the processor 20, and corresponding to at least two second connectors in one-to-one;
  • at least two cue lights connected to the processor 20, and corresponding to at least two second connectors in one-to-one;
  • at least one of the at least two indicator lights issues a reminder to indicate that any one of the at least two second connectors is not connected to at least two second connectors.
  • One connector corresponds to one-to-one connection.
  • the indicator light corresponding to the incorrectly connected second connector issues a prompt to show which second connector is incorrectly connected, so that the user can easily find the wrong connection The cable 122.
  • the purpose of the present disclosure is to provide a hard disk expansion system 10 for preventing misinsertion of Mini SAS HD cables 122 on a rack server, which can ensure that multiple Mini SAS HD cables 122 are installed on the server In the correct position, to avoid faults caused by incorrect insertion, this method can directly use ordinary Mini SAS HD cables 122 to achieve error-free connection of multiple hard disk cables 122 in the rack server.
  • the hard disk control card 104 is provided with four second connectors, including: a second connector A114, a second connector B116, a second connection Connector C118 and second connector D120, wherein the first connector A106 should be correspondingly connected to the second connector A114, the first connector B108 should be correspondingly connected to the second connector B116, and the first connector C110 should be connected to the second The connector C118 is correspondingly connected, and the first connector D112 should be correspondingly connected to the second connector D120.
  • An embodiment provided by the present disclosure is defined for the cable 122 signal according to the SFF-8643 standard, where A1, A2, B1, B2, C1, C2, D1, and D2 are reserved sidebands,
  • A1, A2, B1, B2, C1, C2, D1, and D2 are reserved sidebands
  • a part of the reserved sidebands are selected for definition, and the value is assigned to four first connectors, and the value of each first connector is transmitted to the first The second connector, and the second connector transmits the assignment to the logic device 126, the logic device 126 records the assignment transmitted by the second connector, generates a comparison value, and compares it with the assignment, thereby judging the first connector and the second connector Whether the cables 122 are connected in one-to-one correspondence.
  • the above-mentioned reserved sideband information is for illustrative purposes only, and is not a single case. In other embodiments of the present disclosure, other sidebands may be defined and assigned.
  • the three signal pins A2, C1, and D1 in the sideband pins of the first connector A106 are pulled down to ground, that is, the first pin of the first connector A106 is pulled down To ground, that is, the position information of the first connector A106 is defined as binary "000"; the three signal pins C1 and D1 in the side pins of the first connector B108 are pulled down to ground, and A2 is pulled up by a resistor, that is Pull down the first pin of the first connector B108 to ground, the second pin is pulled up through the resistor, that is to define the position information of the first connector B108 as a binary "001"; for the first connector C110 sideband tube
  • the three signal pins A2 and D1 in the pin are pulled down to the ground, C1 is pulled up through the resistor, that is, the first pin of the first connector C110 is pulled down to the ground, and the second pin is pulled up through the resistor, which defines the first connection
  • the position information of the connector C110 is binary "010";
  • the D2, C2, and A1 of a connector C110 are respectively connected to the P8, P7, and P6 pins of the EPLD, and the D2, C2, and A1 of the first connector D112 are respectively connected to the P11, P10, and P9 pins of the EPLD.
  • the corresponding relationship between the sideband of the first connector and the pins of the logic device 126 is a distance description, and is not a single case. In other embodiments of the present disclosure, the first connector sideband and the logic device may be The other pins of 126 are connected.
  • the processor 20 of the rack server can pass through the bus 22 (in a In the embodiment, the bus 22 is an I2C bus), and reads the corresponding value in the EPLD, that is, the slot information corresponding to Mini SAS HD.
  • the BMC reads the values of P2-P0, P5-P3, P8-P6, and P11-P9 on the hard disk control card 104 as shown in Figure 9, it means that the cable 122 is connected correctly, otherwise it means that the cable 122 is connected incorrectly.
  • the BMC management module gives an error alarm on the graphical interface and indicates the correct position where the cable 122 should be connected Compared with the actual misconnected position, it is easy to replace.
  • the hard disk expansion system 10 and the electronic device 1 provided by the present disclosure are respectively reserved on the Mini SAS HD connectors on the hard disk control card 104 and the hard disk backplane 102 by using Mini SAS HD cables 122
  • the sideband signal defines the position information of each cable 122.
  • Through the I2C bus of the rack server BMC management module read the location information of the Mini SAS HD cable 122 from the existing EPLD (programmable logic device) of the hard disk control card 104 to determine whether the cable 122 has been inserted in the correct position .
  • the design of the present disclosure is flexible, reducing cost and design complexity, and the accuracy of misplugging of the detection cable 122 can reach 100%.
  • At least one signal of the sideband in the SFF-8643 standard Mini SAS HD cable 122 is used to detect the position of the cable 122, which can simultaneously accurately detect the misinsertion problem of at least two cables 122, wherein, in In one embodiment, the position of the cable 122 is detected by three signals, which can be notified to accurately detect the wrong insertion of 2 to 7 cables 122.
  • the hard disk expansion system 10 and the electronic device 1 provided by the present disclosure can select a desired sideband signal according to the number of cables 122 actually used in the rack server.
  • the present disclosure can provide a method for preventing misinsertion of the Mini SAS HD cable 122 on the rack server, and can check whether the Mini SAS HD cable 122 on the server is inserted in the wrong position in real time.
  • ordinary Mini SAS HD cables 122 can be directly used to realize error-free connection of multiple hard disk cables 122 in the rack server. By reducing errors and reducing costs, it plays a significant role in the intelligent generation and processing of rack servers.
  • the hard disk expansion system and the electronic device provided by the embodiments of the present disclosure assign values to each first connector through an assignment module, so that each first connector carries a different assignment value.
  • the assignment is transmitted to the logic device, and the logic device generates a comparison value according to the received assignment.
  • the comparison value and the assignment value have a one-to-one correspondence. Therefore, the first connector and the second connector can be directly reflected according to the comparison value and assignment Whether one-to-one correspondence is made, so as to realize the automatic judgment of whether the cable connection is correct, and the design is efficient and the judgment result is accurate. There is no need to use special cables, the cost is low, and it is easy to implement.

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)
  • Details Of Connecting Devices For Male And Female Coupling (AREA)

Abstract

A hard drive extension system (10) and an electronic device (1), the hard drive extension system (10) comprising: a hard drive back plate (102), the hard drive back plate (102) being provided thereon with at least two first connectors (106, 108, 110, 112); a hard drive controller card (104), the hard drive controller card (104) being provided thereon with at least two second connectors (114, 116, 118, 120), wherein the at least two first connectors (106, 108, 110, 112) correspond one-to-one to the at least two second connectors (114, 116, 118, 120); at least two cables, any one from among the at least two cables being connected to one of the at least two first connectors (106, 108, 110, 112) and to a second connector (114, 116, 118, 120) corresponding thereto; an assignment module (124), which is connected to the at least two first connectors (106, 108, 110, 112); when powered on, the assignment module (24) assigns a value to each first connector (106, 108, 110, 112) among the at least two first connectors (106, 108, 110, 112), any two assigned values being different; and a logic component, which is connected to the at least two second connectors (114, 116, 118, 120).

Description

一种硬盘扩展系统与电子设备Hard disk expansion system and electronic equipment
本公开要求享有2018年12月28日提交的名称为“一种硬盘扩展系统与电子设备”的中国专利申请CN201811626210.6的优先权,其全部内容通过引用并入本文中。This disclosure claims the priority of the Chinese patent application CN201811626210.6 entitled "A Hard Disk Expansion System and Electronic Equipment" filed on December 28, 2018, the entire contents of which are incorporated herein by reference.
技术领域Technical field
本公开涉及机架服务器领域,尤其涉及一种硬盘扩展系统与一种电子设备。The present disclosure relates to the field of rack servers, and in particular, to a hard disk expansion system and an electronic device.
背景技术Background technique
随着互联网的发展,全球对于服务器的需求显著提高,为了满足大型的数据中心或者网络中心需求,机架服务器已经大量用于数据中心及通信领域。With the development of the Internet, the global demand for servers has increased significantly. In order to meet the needs of large data centers or network centers, rack servers have been widely used in data centers and communication fields.
机架服务器可支持多颗高性能CPU、大容量内存、大容量存储,采用高密度、模块化设计,具有高性能、高可靠、高可扩展、易管理等特点,广泛适用于互联网、云计算、大数据、NFV、SDN等领域。The rack server can support multiple high-performance CPUs, large-capacity memory, and large-capacity storage. It adopts high-density and modular design. It has the characteristics of high performance, high reliability, high scalability, and easy management. It is widely used in Internet and cloud computing. , Big data, NFV, SDN and other fields.
出于组件化、易用性、易维护性等考虑,机架服务器一般为分组模块化设计,由处理器、主板、内存、硬盘处理器、硬盘背板、PCIE卡、机框、电源板等等部件组成,各部件之间由各种通讯总线相连,实现各模块之间的互联互通。Out of considerations such as componentization, ease of use, and ease of maintenance, rack servers are generally grouped and modularly designed, consisting of processors, motherboards, memory, hard disk processors, hard disk backplanes, PCIE cards, chassis, power boards, etc. It is composed of other components, and each component is connected by various communication buses to realize the interconnection between the modules.
为了应对越来越大的存储需求,机架服务器中支持的硬盘数量越来越多,对硬盘的性能要求越来越高。在机架服务器设计中,由于硬盘的IOPS(Input/Output Operations Per Second,即计算机存储设备)高性能要求,硬盘控制卡[RAID(磁盘阵列)卡或其它硬盘直通卡]通过Mini SAS HD(Mini Serial Attached SCSI Hard Disk,即迷你串行硬盘或迷你串行高清硬盘)线缆(符合SFF-8643标准,以下皆同)与硬盘背板连接是一种常见设计。每一根Mini SAS HD线缆可以支持4个高速LANE(LAN Emulation,即局域网仿真或LAN仿真)通道,也就是可以通过背板直接连接4个SAS(Serial Attached SCSI)/SATA(Serial ATA)硬盘。当机架服务器中硬盘控制卡和硬盘背板之间直连的SAS/SATA硬盘越多,需要的Mini SAS HD线缆越多。如图1所示,以机架服务器中常见的16个SAS/SATA盘直连计算,至少需要4根Mini SAS HD线缆。In order to cope with the increasing storage requirements, the number of hard drives supported in rack servers is increasing, and the performance requirements of hard drives are becoming higher and higher. In the design of rack servers, due to the high performance requirements of IOPS (Input/Output Operations, Per Second, computer storage equipment) of the hard disk, the hard disk control card [RAID (disk array) card or other hard disk pass-through card] passes Mini SAS HD (Mini Serial Attached SCSI (Hard Disk), which is a mini serial hard disk or mini serial high-definition hard disk) cable (in accordance with SFF-8643 standard, the same below) is a common design to connect to the hard disk backplane. Each Mini SAS HD cable can support 4 high-speed LANE (LAN Emulation, LAN simulation or LAN simulation) channels, that is, 4 SAS (Serial Attached SCSI)/SATA (Serial ATA) hard drives can be directly connected through the backplane . When more SAS/SATA hard drives are directly connected between the hard disk control card and the hard disk backplane in the rack server, the more Mini SAS HD cables are required. As shown in Figure 1, with the 16 SAS/SATA disks commonly used in rack servers directly connected, at least 4 Mini SAS HD cables are required.
出于机架服务器对硬盘管理的需要,设计中要求Mini SAS HD线缆每个LANE与硬盘的连接顺序固定。因此在机架服务器内部,硬盘处理器和硬盘背板之间,每根Mini SAS HD线缆的连接位置需要固定,不能随意连接,否则可能会出现管理界面上硬盘槽位混乱、处理器连接错误等异常。Due to the rack server's need for hard disk management, the design requires that the connection sequence of each LANE and hard disk of the Mini SAS HD cable is fixed. Therefore, inside the rack server, between the hard disk processor and the hard disk backplane, the connection position of each Mini SAS HD cable needs to be fixed and cannot be connected at will, otherwise there may be confusion of hard disk slots on the management interface and incorrect processor connection And other abnormalities.
当一台机架服务器内,多根Mini SAS HD线缆都需要插在固定位置时,线缆插错位置就成为大概率事件。When multiple Mini SAS HD cables need to be inserted in a fixed position in a rack server, the wrong position of the cable becomes a high probability event.
目前各服务器厂家为解决该问题,一般采用两种办法:At present, in order to solve this problem, various server manufacturers generally adopt two methods:
1、人工检测线缆安装顺序。此种办法效率低下,易出错,成本高,不适合于大批量生成。1. Manually detect the cable installation sequence. This method is inefficient, error-prone, and costly, and is not suitable for mass production.
2、如图2所示,通过定制线缆的方法解决,将多根线缆捆绑在一起,根据不同长度,限定插在指定位置。这种方式虽然可以缓解线缆误插问题,但同时也会导致线缆不通用,价格偏贵。2. As shown in Fig. 2, it is solved by customizing the cable, bundling multiple cables together, and limiting the insertion to the designated position according to different lengths. Although this method can alleviate the problem of cable misinsertion, it also causes the cable to be uncommon and expensive.
发明内容Summary of the invention
为了解决上述技术问题或者至少部分地解决上述技术问题,本公开提供了一种利用通用线缆,确保服务器上的多根线缆都能安装在正确位置的硬盘扩展系统。In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a hard disk expansion system that uses a universal cable to ensure that multiple cables on the server can be installed in the correct position.
第一方面,本公开提供了一种硬盘扩展系统,包括:硬盘背板,硬盘背板上设有至少两个第一连接器;硬盘控制卡,硬盘控制卡上设有至少两个第二连接器,至少两个第一连接器与至少两个第二连接器一一对应;至少两条线缆,至少两条线缆中的任一条连接至少两个第一连接器中的一个及与之对应的一个第二连接器;赋值模块,与至少两个第一连接器相连接,赋值模块上电时,为至少两个第一连接器中的每一个第一连接器赋值,其中,任意两个赋值不同;逻辑器件,与至少两个第二连接器相连接,接收赋值生成对比值。In a first aspect, the present disclosure provides a hard disk expansion system, including: a hard disk backplane with at least two first connectors; a hard disk control card with at least two second connections on the hard disk control card Connector, at least two first connectors correspond to at least two second connectors in one-to-one correspondence; at least two cables, and any one of the at least two cables connects one of the at least two first connectors to and from it A corresponding second connector; an assignment module, which is connected to at least two first connectors. When the assignment module is powered on, it assigns a value to each of the at least two first connectors. Among them, any two The assignments are different; the logic device is connected to at least two second connectors and receives the assignments to generate a comparison value.
第二方面,本公开提供了一种电子设备,包括:如上述技术方案中任一项所述的硬盘扩展系统;以及处理器,与逻辑器件相连接,获取逻辑器件生成的对比值;存储器,与处理器相连接,用于存储至少两个第一连接器、赋值与至少两个第二连接器的对应关系;处理器根据对应关系与对比值,判断至少两个第一连接器与至少两个第二连接器的连接是否为一一对应的连接。In a second aspect, the present disclosure provides an electronic device, including: the hard disk expansion system as described in any one of the above technical solutions; and a processor connected to a logic device to obtain a comparison value generated by the logic device; a memory, Connected with the processor for storing the correspondence between at least two first connectors, assignments and at least two second connectors; the processor determines at least two first connectors and at least two according to the correspondence and the comparison value Whether the connection of the second connector is a one-to-one connection.
附图说明BRIEF DESCRIPTION
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The drawings herein are incorporated into and constitute a part of this specification, show embodiments consistent with this disclosure, and are used together with the specification to explain the principles of this disclosure.
为了更清楚地说明本公开实施例现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly explain the technical solutions in the prior art of the embodiments of the present disclosure, the following will briefly introduce the drawings required in the embodiments or the description of the prior art. Obviously, for those of ordinary skill in the art On the premise of not paying creative labor, you can also obtain other drawings based on these drawings.
图1为在一些情况下中机架服务器内部硬盘控制器与硬盘背板之间通过4根线缆连接的安装图;Figure 1 is an installation diagram of the connection between the internal hard disk controller of the rack server and the hard disk backplane through four cables in some cases;
图2为在一些情况下中定制的2根线缆捆绑的示意图;FIG. 2 is a schematic diagram of two bundles of customized cables in some cases;
图3为本公开实施例提供的一种硬盘扩展系统中硬盘控制卡与硬盘背板之间通过4根线缆连接的安装图;3 is an installation diagram of the connection between a hard disk control card and a hard disk backplane through four cables in a hard disk expansion system according to an embodiment of the present disclosure;
图4为本公开实施例提供的一种硬盘扩展系统中硬盘控制卡与硬盘背板通过线缆连接的示意图;4 is a schematic diagram of a hard disk control card and a hard disk backplane connected by a cable in a hard disk expansion system according to an embodiment of the present disclosure;
图5为本公开实施例提供的一种硬盘扩展系统中线缆的信号定义;5 is a signal definition of a cable in a hard disk expansion system provided by an embodiment of the present disclosure;
图6为本公开实施例提供的一种硬盘扩展系统第一连接器的结构示意图;6 is a schematic structural diagram of a first connector of a hard disk expansion system according to an embodiment of the present disclosure;
图7为如图6所示的第一连接器的另一方向的结构示意图;7 is a schematic structural view of another direction of the first connector shown in FIG. 6;
图8为本公开实施例提供的一种硬盘扩展系统的原理图框图;8 is a schematic block diagram of a hard disk expansion system provided by an embodiment of the present disclosure;
图9为本公开实施例提供的一种硬盘扩展系统中线缆的插座位置定义图;9 is a diagram illustrating the definition of the position of a cable socket in a hard disk expansion system according to an embodiment of the present disclosure;
图10为本公开实施例提供的一种电子设备的原理图框图;10 is a schematic block diagram of an electronic device according to an embodiment of the present disclosure;
图11为本公开实施例提供的一种电子设备中的线缆插接错误的显示界面。FIG. 11 is a display interface of a cable insertion error in an electronic device provided by an embodiment of the present disclosure.
其中,图1至图11中附图标记与部件名称之间的对应关系为:Among them, the correspondence between the reference symbols and component names in Figures 1 to 11 is:
1电子设备,10硬盘扩展系统,102硬盘背板,104硬盘控制卡,106第一连接器A,108第一连接器B,110第一连接器C,112第一连接器D,114第二连接器A,116第二连接器B,118第二连接器C,120第二连接器D,122线缆,124赋值模块,1242高电平电路,1244低电平电路,126逻辑器件,128阻性元件,20处理器,22总线。1 Electronic equipment, 10 hard disk expansion system, 102 hard disk backplane, 104 hard disk control card, 106 first connector A, 108 first connector B, 110 first connector C, 112 first connector D, 114 second Connector A, 116 second connector B, 118 second connector C, 120 second connector D, 122 cable, 124 evaluation module, 1242 high level circuit, 1244 low level circuit, 126 logic device, 128 Resistive components, 20 processors, 22 buses.
具体实施方式detailed description
为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开的一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本公开保护的范围。To make the objectives, technical solutions, and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be described clearly and completely in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments It is a part of the embodiments of the present disclosure, but not all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present disclosure.
如图3、图4与图8所示,本公开的第一方面实施例提供了一种硬盘扩展系统10,包括:硬盘背板102,硬盘背板102上设有至少两个第一连接器;硬盘控制卡104,硬盘控制卡104上设有至少两个第二连接器,至少两个第一连接器与至少两个第二连接器一一对应;至少两条线缆122,至少两条线缆中的任一条连接至少两个第一连接器中的一个及与之对应的一个第二连接器;赋值模块124,与至少两个第一连接器相连接,赋值模块124上电时,为至少两个第一连接器中的每一个第一连接器赋值,其中,任意两个赋值不同;逻辑器件126,与至少两个第二连接器相连接,接收赋值生成对比值。As shown in FIGS. 3, 4 and 8, an embodiment of the first aspect of the present disclosure provides a hard disk expansion system 10, including: a hard disk backplane 102, at least two first connectors are provided on the hard disk backplane 102 Hard disk control card 104, hard disk control card 104 is provided with at least two second connectors, at least two first connectors and at least two second connectors one to one correspondence; at least two cables 122, at least two Any one of the cables is connected to one of the at least two first connectors and a corresponding second connector; the assignment module 124 is connected to at least two first connectors, and when the assignment module 124 is powered on, Each first connector of the at least two first connectors is assigned a value, wherein any two assignments are different; the logic device 126 is connected to at least two second connectors, and receives the assignment to generate a comparison value.
本公开实施例提供的该硬盘扩展系统10,通过赋值模块124为每个第一连接器赋值,使得每一个第一连接器携带一个不同的赋值,在进行线缆122的连接时,通过线缆122将赋值传输至逻辑器件126,逻辑器件126根据接收到的赋值,生成对比值,对比值与赋值为一一对应的关系,因此,根据对比值与赋值可直接反映出第一连接器与第二连接器是否进行了一一对应的连接,以此实现了线缆122连接是否正确的自动化判断,且该设计高效,且判断结果准确,无需采用特制线缆122,成本低,易于实现。In the hard disk expansion system 10 provided by the embodiment of the present disclosure, each first connector is assigned a value through the assignment module 124, so that each first connector carries a different assignment. When the cable 122 is connected, the 122 transmits the assignment to the logic device 126, and the logic device 126 generates a comparison value according to the received assignment. The comparison value and the assignment value have a one-to-one correspondence. Therefore, according to the comparison value and the assignment value, the first connector and the first connector can be directly reflected. Whether the two connectors are connected in a one-to-one correspondence, so as to realize the automatic judgment of whether the cable 122 is connected correctly, and the design is efficient and the judgment result is accurate, without using a special cable 122, the cost is low, and it is easy to implement.
在本公开的一个实施例中,在一实施方式中,如图8所示,赋值模块124包括:设置在硬盘背板102上的高电平电路1242与低电平电路1244;其中,赋值模块124上电时,通过高电平电路1242与低电平电路1244为至少两个第一连接器提供电平信号,至少两个第一连接器任意两个接收到的电平信号不同。In an embodiment of the present disclosure, in an implementation manner, as shown in FIG. 8, the assignment module 124 includes: a high-level circuit 1242 and a low-level circuit 1244 provided on the hard disk backplane 102; wherein, the assignment module When the 124 is powered on, the high-level circuit 1242 and the low-level circuit 1244 provide level signals for at least two first connectors, and any two of the at least two first connectors receive different level signals.
在该实施例中,赋值模块124高电平电路1242与低电平电路1244,在赋值时,实现二进制赋值效果,例如:低电平代表0,高电平代表1,即可实现对第一连接器的二进制赋值,该设计简单易行,且符合计算机程序的二进制标准,且成本低,在具体实施例时,可以直接在硬盘背板102上印制高电平电路1242与低电平电路1244,也可以通过外接模块实现赋值。In this embodiment, the high-level circuit 1242 and the low-level circuit 1244 of the assignment module 124 realize the binary assignment effect when assigning values, for example: low level represents 0 and high level represents 1, which can achieve the first The binary assignment of the connector, the design is simple and easy, and conforms to the binary standard of the computer program, and the cost is low. In specific embodiments, the high-level circuit 1242 and the low-level circuit can be printed directly on the hard disk backplane 102 1244, value assignment can also be realized through an external module.
在本公开的一个实施例中,在一实施方式中,如图8所示,所述至少两个第一连接器中的任一个包括:第一引脚,与所述高电平电路连接;和/或In an example of the present disclosure, in an implementation manner, as shown in FIG. 8, any one of the at least two first connectors includes: a first pin connected to the high-level circuit; and / or
第二引脚,与所述低电平电路连接。The second pin is connected to the low-level circuit.
至少两个第一连接器包括:第一引脚,与高电平电路1242连接;第二引脚,与低电平电路1244连接。The at least two first connectors include: a first pin connected to the high-level circuit 1242; a second pin connected to the low-level circuit 1244.
在该实施例中,通过第一连接器的第一引脚与高电平电路1242连接,在赋值时,为第一连接器提供一个二进制数1的效果,第一连接器的第二引脚与低电平电路1244连接,在赋值时,为第一连接器提供一个二进制数0的效果,从而实现为第一连接器提供不同的赋值,在具体实施过程中,为每个第一连接器的赋值数,通过为每一个第一连接器的第一引脚与第二引脚的数量决定,其中,在一实施方式中,每个第一连接器的第一引脚的数量的取值范围为0至8个;每个第一连接器的第二引脚的数量的取值范围为0至8个,进一步在一实施方式中,每个第一连接器中第一引脚与第二引脚的数量总和不超过8个,且该设计直接将第一连接器的引脚与赋值模块124进行连接,无需定制第一连接器,降低了成本,全部第一连接器中包括第一引脚与第二引脚。In this embodiment, the first pin of the first connector is connected to the high-level circuit 1242. When the value is assigned, a binary number 1 effect is provided for the first connector, and the second pin of the first connector Connected with the low-level circuit 1244, when assigning, it provides the first connector with a binary number of 0, so as to provide different assignments for the first connector. In the specific implementation process, for each first connector The number of assignments is determined by the number of the first pin and the second pin of each first connector. In one embodiment, the number of the first pin of each first connector is The range is 0 to 8. The number of the second pins of each first connector ranges from 0 to 8. In an embodiment, the first pin and the first pin of each first connector The total number of two pins does not exceed 8, and the design directly connects the pins of the first connector to the assignment module 124, without the need to customize the first connector, which reduces the cost. All the first connectors include the first Pin and second pin.
在本公开的一个实施例中,在一实施方式中,如图8所示,低电平电路1244为接地电路。In an example of the present disclosure, in an implementation, as shown in FIG. 8, the low-level circuit 1244 is a ground circuit.
在该实施例中,低电平电路1244为接地电路,将第一连接地的第一引脚下拉到地,以实现二进制赋值0的效果,并且,接地电路安全易设置,无需添加其他电子元件,节约了成本。In this embodiment, the low-level circuit 1244 is a ground circuit, pull down the first pin of the first ground connection to the ground to achieve the effect of binary assignment of 0, and the ground circuit is safe and easy to set up, without adding other electronic components , Saving costs.
在本公开的一个实施例中,在一实施方式中,如图8所示,高电平电路与第一引脚之间设置有阻性元件128。In an example of the present disclosure, in an implementation, as shown in FIG. 8, a resistive element 128 is provided between the high-level circuit and the first pin.
在该实施例中,第二引脚通过阻性元件128上拉,以降低第二引脚的电流,避免出现短路或电流过大“烧坏”等问题。In this embodiment, the second pin is pulled up by the resistive element 128 to reduce the current of the second pin to avoid short circuit or excessive current burnout.
在本公开的一个实施例中,在一实施方式中,如图8与图9所示,逻辑器件126设于硬盘控制卡104;至少两个第二连接器的引脚与逻辑器件126的管脚一一对应连接。In an embodiment of the present disclosure, in an implementation manner, as shown in FIGS. 8 and 9, the logic device 126 is provided on the hard disk control card 104; at least two pins of the second connector and the tube of the logic device 126 The pins are connected one by one.
在该实施例中,逻辑器件126焊接于硬盘控制卡104上,并且,第二连接器的引脚与逻辑器件126的管脚一一对应连接,以使逻辑器件126生成的对比值与第一连接器一一对 应。In this embodiment, the logic device 126 is soldered to the hard disk control card 104, and the pins of the second connector are connected to the pins of the logic device 126 in a one-to-one correspondence, so that the comparison value generated by the logic device 126 is the same as the first The connectors are in one-to-one correspondence.
其中,逻辑器件126为可编程逻辑器件,即EPLD。The logic device 126 is a programmable logic device, that is, EPLD.
在一实施方式中,本公开的目的在于,提供一种机架服务器上Mini SAS HD线缆122的防误插的硬盘扩展系统10,可确保服务器上的多根Mini SAS HD线缆122都安装在正确位置,避免误插导致故障,利用这这种方法,可直接利用普通Mini SAS HD线缆122,实现机架服务器内的多根硬盘线缆122无错连接。In one embodiment, the purpose of the present disclosure is to provide a hard disk expansion system 10 for preventing misinsertion of Mini SAS HD cables 122 on a rack server, which can ensure that multiple Mini SAS HD cables 122 are installed on the server In the correct position, to avoid faults caused by incorrect insertion, this method can directly use ordinary Mini SAS HD cables 122 to achieve error-free connection of multiple hard disk cables 122 in the rack server.
如图3与图4所示,以4条线缆122连接第一连接器与第二连接器为例,即硬盘背板102上设置有4个第一连接器,包括:第一连接器A106、第一连接器B108、第一连接器C110、第一连接器D112;硬盘控制卡104上设置有4个第二连接器,包括:第二连接器A114、第二连接器B116、第二连接器C118、第二连接器D120,其中,第一连接器A106应与第二连接器A114对应连接,第一连接器B108应与第二连接器B116对应连接,第一连接器C110应与第二连接器C118对应连接,第一连接器D112应与第二连接器D120对应连接。而在实际操作的过程中,极易出现第一连接器A106与第二连接器B116连接的或者其他类似的错误连接,而这种错误连接会导致机架服务器的硬盘管理出现混乱,容易引发误操作从而导致服务异常。As shown in FIGS. 3 and 4, taking four cables 122 to connect the first connector and the second connector as an example, that is, four first connectors are provided on the hard disk backplane 102, including: the first connector A106 , The first connector B108, the first connector C110, the first connector D112; the hard disk control card 104 is provided with four second connectors, including: a second connector A114, a second connector B116, a second connection Connector C118 and second connector D120, wherein the first connector A106 should be correspondingly connected to the second connector A114, the first connector B108 should be correspondingly connected to the second connector B116, and the first connector C110 should be connected to the second The connector C118 is correspondingly connected, and the first connector D112 should be correspondingly connected to the second connector D120. In the actual operation process, it is very easy for the first connector A106 and the second connector B116 to be connected or other similar wrong connections, and this wrong connection will lead to confusion in the hard disk management of the rack server, which is likely to cause errors. The operation caused an abnormal service.
本公开提供的一个实施例,如图5所示,按SFF-8643标准,为线缆122信号定义,其中,A1、A2、B1、B2、C1、C2、D1、D2为预留边带,而本公开提供的实施例基于SFF-8643标准的情况下,选取部分预留边带进行定义,实现为4个第一连接器赋值,每个第一连接器的赋值通过线缆122传输至第二连接器,而第二连接器再将赋值传输至逻辑器件126,逻辑器件126记录第二连接器传输的赋值,生成对比值,与赋值进行对比,从而判断第一连接器与第二连接器之间的线缆122是否一一对应的连接。需要说明的是上述预留边带信息仅作为说明需要,并非单一的情况,在本公开的其他实施例中,可以对其他边带进行定义,实现赋值。An embodiment provided by the present disclosure, as shown in FIG. 5, is defined for the cable 122 signal according to the SFF-8643 standard, where A1, A2, B1, B2, C1, C2, D1, and D2 are reserved sidebands, Whereas the embodiment provided by the present disclosure is based on the SFF-8643 standard, a part of the reserved sidebands are selected for definition, and the value is assigned to four first connectors, and the value of each first connector is transmitted to the first The second connector, and the second connector transmits the assignment to the logic device 126, the logic device 126 records the assignment transmitted by the second connector, generates a comparison value, and compares it with the assignment, thereby judging the first connector and the second connector Whether the cables 122 are connected in one-to-one correspondence. It should be noted that the above-mentioned reserved sideband information is for illustrative purposes only, and is not a single case. In other embodiments of the present disclosure, other sidebands may be defined and assigned.
如图6与图7所示,第一连接器A106(第一连接器A106、第一连接器B108、第一连接器C110、第一连接器D112、第二连接器A114、第二连接器B116、第二连接器C118、第二连接器D120结构相同),由上至下,其信号脚第一排由一端向另一端为D1至D9;其信号脚第二排由一端向另一端为C1至C9;其信号脚第三排由一端向另一端为 B1至B9;其信号脚第四排由一端向另一端为A1至A9;As shown in FIGS. 6 and 7, the first connector A106 (the first connector A106, the first connector B108, the first connector C110, the first connector D112, the second connector A114, the second connector B116 , The second connector C118 and the second connector D120 have the same structure), from top to bottom, the first row of signal pins from one end to the other end is D1 to D9; the second row of signal pins from one end to the other end is C1 To C9; the third row of signal pins from one end to the other end is B1 to B9; the fourth row of signal pins from one end to the other end is A1 to A9;
在一实施方式中,如图8所示,对第一连接器A106边带管脚中的3个信号脚A2、C1、D1下拉到地,即对第一连接器A106的第一引脚下拉到地,即定义第一连接器A106的位置信息为二进制的“000”;对第一连接器B108边带管脚中的3个信号脚C1、D1下拉到地,A2通过电阻上拉,即对第一连接器B108的第一引脚下拉到地,第二引脚通过电阻上拉,即定义第一连接器b108的位置信息为二进制的“001”;对第一连接器C110边带管脚中的3个信号脚A2、D1下拉到地,C1通过电阻上拉,即对第一连接器C110的第一引脚下拉到地,第二引脚通过电阻上拉,即定义第一连接器C110的位置信息为二进制的“010”;对第一连接器D112边带管脚中的3个信号脚D1下拉到地,A2、C1通过电阻上拉,即对第一连接器D112的第一引脚下拉到地,第二引脚通过电阻上拉,即定义第一连接器d112的位置信息为二进制的“011”。In an embodiment, as shown in FIG. 8, the three signal pins A2, C1, and D1 in the sideband pins of the first connector A106 are pulled down to ground, that is, the first pin of the first connector A106 is pulled down To ground, that is, the position information of the first connector A106 is defined as binary "000"; the three signal pins C1 and D1 in the side pins of the first connector B108 are pulled down to ground, and A2 is pulled up by a resistor, that is Pull down the first pin of the first connector B108 to the ground, the second pin is pulled up through the resistor, that is, define the position information of the first connector b108 as a binary "001"; for the first connector C110 side tube The three signal pins A2 and D1 in the pin are pulled down to the ground, C1 is pulled up through the resistor, that is, the first pin of the first connector C110 is pulled down to the ground, and the second pin is pulled up through the resistor, which defines the first connection The position information of the connector C110 is binary "010"; pull down the three signal pins D1 in the sideband pins of the first connector D112 to the ground, A2 and C1 are pulled up through the resistance, that is, the first connector D112 One pin is pulled down to the ground, and the second pin is pulled up through the resistor, that is, the position information of the first connector d112 is defined as binary "011".
通过硬盘控制卡104上的EPLD(可编程逻辑器件),将硬盘控制卡104上第一连接器A106、第一连接器B108、第一连接器C110、第一连接器D112的边带(sideband)中的3个信号A1、C1、D2分别接入EPLD。其中第一连接器A106的D2、C1、A1分别接入EPLD的P2、P1、P0管脚,第一连接器B108的D2、C1、A1分别接入EPLD的P5、P4、P3管脚,第一连接器C110的D2、C1、A1分别接入EPLD的P8、P7、P6管脚,第一连接器D112的D2、C1、A1分别接入EPLD的P11、P10、P9管脚。需要说明的是,上述第一连接器的边带与逻辑器件126管脚的对应关系为距离说明,并非单一情况,在本公开的其他实施例中,可以将第一连接器边带与逻辑器件126的其他管脚相连。Sidebands of the first connector A106, the first connector B108, the first connector C110, and the first connector D112 on the hard disk control card 104 through EPLD (programmable logic device) on the hard disk control card 104 The three signals A1, C1, and D2 are connected to EPLD respectively. Among them, the D2, C1 and A1 of the first connector A106 are respectively connected to the P2, P1 and P0 pins of the EPLD, and the D2, C1 and A1 of the first connector B108 are respectively connected to the P5, P4 and P3 pins of the EPLD. The D2, C1 and A1 of a connector C110 are respectively connected to the P8, P7 and P6 pins of the EPLD, and the D2, C1 and A1 of the first connector D112 are respectively connected to the P11, P10 and P9 pins of the EPLD. It should be noted that the corresponding relationship between the sideband of the first connector and the pins of the logic device 126 is a distance description, and is not a single case. In other embodiments of the present disclosure, the first connector sideband and the logic device may be The other pins of 126 are connected.
如图10所示,本公开的第二方面实施例提供了一种硬盘扩展系统10,电子设备1,包括:如上述任一实施例提供的硬盘扩展系统10;以及处理器20,与逻辑器件126相连接,获取逻辑器件126生成的对比值;存储器,与处理器20相连接,用于存储至少两个第一连接器、赋值与至少两个第二连接器的对应关系;处理器20根据对应关系与对比值,判断至少两个第一连接器与至少两个第二连接器的连接是否为一一对应的连接。As shown in FIG. 10, an embodiment of the second aspect of the present disclosure provides a hard disk expansion system 10, an electronic device 1, including: the hard disk expansion system 10 as provided in any of the foregoing embodiments; and a processor 20, and a logic device 126 is connected to obtain the comparison value generated by the logic device 126; the memory is connected to the processor 20 for storing the correspondence between at least two first connectors, assignments and at least two second connectors; the processor 20 is based on The correspondence and the comparison value determine whether the connection between the at least two first connectors and the at least two second connectors is a one-to-one connection.
本公开实施例提供的该电子设备1,通过处理器20获取逻辑器件126生成的对比值,由于赋值为通过第一连接器、线缆122、与第二连接器逐一传输至逻辑器件126,因此,逻辑器件126生成的对比值与赋值存在对应关系,从而能够根据对比值与存储器中存储 的至少两个第一连接器、赋值与至少两个第二连接器的对应关系,判断至少两个第一连接器与至少两个第二连接器的连接是否为一一对应的连接。The electronic device 1 provided by the embodiment of the present disclosure obtains the comparison value generated by the logic device 126 through the processor 20. Since the assigned value is transmitted to the logic device 126 one by one through the first connector, the cable 122, and the second connector, , The comparison value generated by the logic device 126 has a corresponding relationship with the assignment, so that the at least two first connectors can be judged according to the correspondence between the comparison value and at least two first connectors stored in the memory, and the assignment with at least two second connectors Whether the connection between one connector and at least two second connectors is a one-to-one correspondence.
在本公开的一个实施例中,在一实施方式中,根据对应关系与对比值,判断至少两个第一连接器与至少两个第二连接器的连接是否为一一对应的连接具体包括:判断至少两个第一连接器的赋值与至少两个第一连接器对应的对比值是否相等;其中,若判断结果为相等,则说明赋值对应的至少两个第一连接器与至少两个第二连接器是一一对应连接;若判断结果为不等,则说明赋值对应的至少两个第一连接器与至少两个第二连接器未一一对应连接。In an embodiment of the present disclosure, in an implementation manner, determining whether the connection between the at least two first connectors and the at least two second connectors is a one-to-one connection according to the correspondence and the comparison value specifically includes: Judging whether the assignment value of the at least two first connectors and the comparison value corresponding to the at least two first connectors are equal; wherein, if the judgment result is equal, it means that the at least two first connectors corresponding to the assignment and the at least two first connectors The two connectors are connected in one-to-one correspondence; if the judgment result is not equal, it means that at least two first connectors corresponding to the assignment and at least two second connectors are not connected in one-to-one correspondence.
在该实施例中,对比值为赋值的直接传输结果,因此,若根据第二连接器传输的赋值生成的对比值与,第二连接器所对应的第一连接器应被赋予的赋值相等则说明线缆122连接正确,若根据第二连接器传输的赋值生成的对比值与,第二连接器所对应的第一连接器应被赋予的赋值不等则说明线缆122连接错误。In this embodiment, the comparison value is the direct transmission result of the assignment. Therefore, if the comparison value generated according to the assignment transmitted by the second connector is equal to the assignment assigned to the first connector corresponding to the second connector, then It means that the cable 122 is connected correctly. If the comparison value generated according to the value transmitted by the second connector is different from the value assigned to the first connector corresponding to the second connector, it means that the cable 122 is connected incorrectly.
在本公开的一个实施例中,在一实施方式中,还包括:处理器20在判断至少两个第一连接器与至少两个第二连接器未一一对应的连接时,处理器20还根据对应关系,以及对比值,推荐至少两个第一连接器与至少两个第二连接器的连接方式。In an embodiment of the present disclosure, in an implementation manner, the method further includes: when the processor 20 determines that the at least two first connectors and the at least two second connectors are not connected in one-to-one correspondence, the processor 20 further According to the corresponding relationship and the comparison value, it is recommended that at least two first connectors are connected to at least two second connectors.
在该实施例中,在处理器20判断线缆122连接错误后,推荐线缆122正确的连接方式,即,根据对应关系,以及对比值,推荐第一连接器与第二连接器的连接方式具体为,根据对应关系,以及对比值,推荐对应值与赋值相等的第一连接器与第二连接器的连接方式,在一实施方式中,下面以4条线缆122拦截4个第一连接器与4个第二连接器为例:第一连接器A106、第二连接器A114、赋值A为对应关系;第一连接器B108、第二连接器B116、赋值B为对应关系;第一连接器C110、第二连接器C118、赋值C为对应关系;第一连接器D112、第二连接器D120、赋值D为对应关系,若根据第二连接器A114传输的赋值生成的对比值与赋值B相等,则推荐现连接第二连接器A114的线缆122连接至第二连接器B116;若根据第二连接器B116传输的赋值生成的对比值与赋值A相等,则推荐现连接第二连接器B116的线缆122连接至第二连接器A114;若根据第二连接器C118传输的赋值生成的对比值与赋值C相等,则说明第一连接器C110与第二连接器C118的连接正确;若根据第二连接器D120传输的赋值生成的对比值与赋值D相等,则说明第一 连接器D112与第二连接器D120的连接正确。In this embodiment, after the processor 20 determines that the cable 122 is connected incorrectly, the correct connection method of the cable 122 is recommended, that is, the connection method of the first connector and the second connector is recommended according to the correspondence relationship and the comparison value Specifically, according to the correspondence relationship and the comparison value, the connection method of the first connector and the second connector with the corresponding value and the assignment value is recommended. In an embodiment, four cables 122 are used to intercept four first connections For example, the first connector A106, the second connector A114, and the assignment A are the corresponding relationship; the first connector B108, the second connector B116, and the assignment B are the corresponding relationship; the first connection C110, second connector C118, and assignment C are the corresponding relationships; first connector D112, second connector D120, and assignment D are the corresponding relationships, if the comparison value and assignment B generated according to the assignment transmitted by the second connector A114 If they are equal, it is recommended that the cable 122 connected to the second connector A114 is connected to the second connector B116; if the comparison value generated according to the assignment transmitted by the second connector B116 is equal to the assignment A, it is recommended to connect the second connector now The cable 122 of B116 is connected to the second connector A114; if the comparison value generated according to the assignment transmitted by the second connector C118 is equal to the assignment C, it means that the first connector C110 and the second connector C118 are connected correctly; if The comparison value generated according to the assignment transmitted by the second connector D120 is equal to the assignment D, which means that the connection between the first connector D112 and the second connector D120 is correct.
在本公开的一个实施例中,在一实施方式中,还包括:显示装置,与处理器20相连接,用于显示推荐的至少两个第一连接器与至少两个第二连接器的连接方式。In an example of the present disclosure, in an implementation manner, it further includes: a display device connected to the processor 20 for displaying the recommended connection of at least two first connectors and at least two second connectors the way.
在该实施例中,通过显示装置显示处理器20推荐的至少两个第一连接器与至少两个第二连接器的连接方式,以便用户根据显示内容调整线缆122。In this embodiment, the display device displays the connection manner of the at least two first connectors and at least two second connectors recommended by the processor 20, so that the user can adjust the cable 122 according to the display content.
在本公开的一个实施例中,在一实施方式中,还包括:至少两个提示灯,与处理器20相连接,并与至少两个第二连接器一一对应;在判断至少两个第一连接器与至少两个第二连接器未一一对应的连接时,至少两个提示灯中的至少一个发出提示,以提示至少两个第二连接器中的任一个未与至少两个第一连接器一一对应连接。In an embodiment of the present disclosure, in an implementation manner, the method further includes: at least two cue lights, connected to the processor 20, and corresponding to at least two second connectors in one-to-one; When a connector and at least two second connectors are not connected in one-to-one correspondence, at least one of the at least two indicator lights issues a reminder to indicate that any one of the at least two second connectors is not connected to at least two second connectors. One connector corresponds to one-to-one connection.
在该实施例中,在处理器20判断线缆122连接错误时,连接错误的第二连接器所对应的指示灯发出提示,以显示哪一第二连接器连接错误,便于用户查找连接错误的线缆122。In this embodiment, when the processor 20 determines that the cable 122 is connected incorrectly, the indicator light corresponding to the incorrectly connected second connector issues a prompt to show which second connector is incorrectly connected, so that the user can easily find the wrong connection The cable 122.
在一实施方式中,本公开的目的在于,提供一种机架服务器上Mini SAS HD线缆122的防误插的硬盘扩展系统10,可确保服务器上的多根Mini SAS HD线缆122都安装在正确位置,避免误插导致故障,利用这这种方法,可直接利用普通Mini SAS HD线缆122,实现机架服务器内的多根硬盘线缆122无错连接。In one embodiment, the purpose of the present disclosure is to provide a hard disk expansion system 10 for preventing misinsertion of Mini SAS HD cables 122 on a rack server, which can ensure that multiple Mini SAS HD cables 122 are installed on the server In the correct position, to avoid faults caused by incorrect insertion, this method can directly use ordinary Mini SAS HD cables 122 to achieve error-free connection of multiple hard disk cables 122 in the rack server.
如图3与图4所示,以4条线缆122连接第一连接器与第二连接器为例,即硬盘背板102上设置有4个第一连接器,包括:第一连接器A106、第一连接器B108、第一连接器C110、第一连接器D112;硬盘控制卡104上设置有4个第二连接器,包括:第二连接器A114、第二连接器B116、第二连接器C118、第二连接器D120,其中,第一连接器A106应与第二连接器A114对应连接,第一连接器B108应与第二连接器B116对应连接,第一连接器C110应与第二连接器C118对应连接,第一连接器D112应与第二连接器D120对应连接。而在实际操作的过程中,极易出现第一连接器A106与第二连接器B116连接的或者其他类似的错误连接,而这种错误连接会导致机架服务器的硬盘管理出现混乱,容易引发误操作从而导致服务异常。As shown in FIGS. 3 and 4, taking four cables 122 to connect the first connector and the second connector as an example, that is, four first connectors are provided on the hard disk backplane 102, including: the first connector A106 , The first connector B108, the first connector C110, the first connector D112; the hard disk control card 104 is provided with four second connectors, including: a second connector A114, a second connector B116, a second connection Connector C118 and second connector D120, wherein the first connector A106 should be correspondingly connected to the second connector A114, the first connector B108 should be correspondingly connected to the second connector B116, and the first connector C110 should be connected to the second The connector C118 is correspondingly connected, and the first connector D112 should be correspondingly connected to the second connector D120. In the actual operation process, it is very easy for the first connector A106 and the second connector B116 to be connected or other similar wrong connections, and this wrong connection will lead to confusion in the hard disk management of the rack server, which is likely to cause errors. The operation caused an abnormal service.
本公开提供的一个实施例,如图5所示,按SFF-8643标准,为线缆122信号定义,其中,A1、A2、B1、B2、C1、C2、D1、D2为预留边带,而本公开提供的实施例基于 SFF-8643标准的情况下,选取部分预留边带进行定义,实现为4个第一连接器赋值,每个第一连接器的赋值通过线缆122传输至第二连接器,而第二连接器再将赋值传输至逻辑器件126,逻辑器件126记录第二连接器传输的赋值,生成对比值,与赋值进行对比,从而判断第一连接器与第二连接器之间的线缆122是否一一对应的连接。需要说明的是上述预留边带信息仅作为说明需要,并非单一的情况,在本公开的其他实施例中,可以对其他边带进行定义,实现赋值。An embodiment provided by the present disclosure, as shown in FIG. 5, is defined for the cable 122 signal according to the SFF-8643 standard, where A1, A2, B1, B2, C1, C2, D1, and D2 are reserved sidebands, Whereas the embodiment provided by the present disclosure is based on the SFF-8643 standard, a part of the reserved sidebands are selected for definition, and the value is assigned to four first connectors, and the value of each first connector is transmitted to the first The second connector, and the second connector transmits the assignment to the logic device 126, the logic device 126 records the assignment transmitted by the second connector, generates a comparison value, and compares it with the assignment, thereby judging the first connector and the second connector Whether the cables 122 are connected in one-to-one correspondence. It should be noted that the above-mentioned reserved sideband information is for illustrative purposes only, and is not a single case. In other embodiments of the present disclosure, other sidebands may be defined and assigned.
在一实施方式中,如图8所示,对第一连接器A106边带管脚中的3个信号脚A2、C1、D1下拉到地,即对第一连接器A106的第一引脚下拉到地,即定义第一连接器A106的位置信息为二进制的“000”;对第一连接器B108边带管脚中的3个信号脚C1、D1下拉到地,A2通过电阻上拉,即对第一连接器B108的第一引脚下拉到地,第二引脚通过电阻上拉,即定义第一连接器B108的位置信息为二进制的“001”;对第一连接器C110边带管脚中的3个信号脚A2、D1下拉到地,C1通过电阻上拉,即对第一连接器C110的第一引脚下拉到地,第二引脚通过电阻上拉,即定义第一连接器C110的位置信息为二进制的“010”;对第一连接器D112边带管脚中的3个信号脚D1下拉到地,A2、C1通过电阻上拉,即对第一连接器D112的第一引脚下拉到地,第二引脚通过电阻上拉,即定义第一连接器D112的位置信息为二进制的“011”。In an embodiment, as shown in FIG. 8, the three signal pins A2, C1, and D1 in the sideband pins of the first connector A106 are pulled down to ground, that is, the first pin of the first connector A106 is pulled down To ground, that is, the position information of the first connector A106 is defined as binary "000"; the three signal pins C1 and D1 in the side pins of the first connector B108 are pulled down to ground, and A2 is pulled up by a resistor, that is Pull down the first pin of the first connector B108 to ground, the second pin is pulled up through the resistor, that is to define the position information of the first connector B108 as a binary "001"; for the first connector C110 sideband tube The three signal pins A2 and D1 in the pin are pulled down to the ground, C1 is pulled up through the resistor, that is, the first pin of the first connector C110 is pulled down to the ground, and the second pin is pulled up through the resistor, which defines the first connection The position information of the connector C110 is binary "010"; pull down the three signal pins D1 in the sideband pins of the first connector D112 to the ground, A2 and C1 are pulled up through the resistance, that is, the first connector D112 One pin is pulled down to the ground, and the second pin is pulled up through the resistor, that is, the position information of the first connector D112 is defined as binary "011".
通过硬盘控制卡104上的EPLD(可编程逻辑器件),将硬盘控制卡104上第一连接器A106、第一连接器B108、第一连接器C110、第一连接器D112的边带(sideband)中的3个信号A1、C2、D2分别接入EPLD。其中第一连接器A106的D2、C2、A1分别接入EPLD的P2、P1、P0管脚,第一连接器B108的D2、C2、A1分别接入EPLD的P5、P4、P3管脚,第一连接器C110的D2、C2、A1分别接入EPLD的P8、P7、P6管脚,第一连接器D112的D2、C2、A1分别接入EPLD的P11、P10、P9管脚。需要说明的是,上述第一连接器的边带与逻辑器件126管脚的对应关系为距离说明,并非单一情况,在本公开的其他实施例中,可以将第一连接器边带与逻辑器件126的其他管脚相连。Sidebands of the first connector A106, the first connector B108, the first connector C110, and the first connector D112 on the hard disk control card 104 through EPLD (programmable logic device) on the hard disk control card 104 The three signals A1, C2, and D2 are connected to EPLD respectively. Among them, D2, C2 and A1 of the first connector A106 are respectively connected to the P2, P1 and P0 pins of the EPLD, and D2, C2 and A1 of the first connector B108 are respectively connected to the P5, P4 and P3 pins of the EPLD. The D2, C2, and A1 of a connector C110 are respectively connected to the P8, P7, and P6 pins of the EPLD, and the D2, C2, and A1 of the first connector D112 are respectively connected to the P11, P10, and P9 pins of the EPLD. It should be noted that the corresponding relationship between the sideband of the first connector and the pins of the logic device 126 is a distance description, and is not a single case. In other embodiments of the present disclosure, the first connector sideband and the logic device may be The other pins of 126 are connected.
当硬盘控制卡104和硬盘背板102,通过Mini SAS HD线缆122连接时,机架服务器的处理器20(在一实施方式中,处理器20为BMC管理模块)可以通过总线22(在一实施方式中,总线22为I2C总线),读取EPLD中的对应值,即Mini SAS HD对应的槽位 信息。当BMC读取到硬盘控制卡104上P2-P0、P5-P3、P8-P6、P11-P9数值如图9所示,则表示线缆122正确连接,否则代表线缆122连接错误。如图11所示,出现错误时,可以读取到A、B、C、D各插座的误接线位置,BMC管理模块在图形界面上给出错误告警,并指出线缆122应连接的正确位置与实际误接位置对比,便于更换。When the hard disk control card 104 and the hard disk backplane 102 are connected by a Mini SAS HD cable 122, the processor 20 of the rack server (in one embodiment, the processor 20 is a BMC management module) can pass through the bus 22 (in a In the embodiment, the bus 22 is an I2C bus), and reads the corresponding value in the EPLD, that is, the slot information corresponding to Mini SAS HD. When the BMC reads the values of P2-P0, P5-P3, P8-P6, and P11-P9 on the hard disk control card 104 as shown in Figure 9, it means that the cable 122 is connected correctly, otherwise it means that the cable 122 is connected incorrectly. As shown in Figure 11, when an error occurs, you can read the wrong wiring position of each socket of A, B, C, and D. The BMC management module gives an error alarm on the graphical interface and indicates the correct position where the cable 122 should be connected Compared with the actual misconnected position, it is easy to replace.
相对于相关技术而言,本公开提供的硬盘扩展系统10与电子设备1,分别在位于硬盘控制卡104和硬盘背板102的Mini SAS HD连接器上,利用Mini SAS HD线缆122中预留的边带(sideband)信号,定义每根线缆122的位置信息。通过机架服务器BMC管理模块的I2C总线,从硬盘控制卡104已有的EPLD(可编程逻辑器件)中读取Mini SAS HD线缆122的位置信息,判断线缆122是否已插在正确的位置。本公开的设计灵活,减少成本与设计复杂度,检测线缆122误插准确率可达100%。Relative to the related art, the hard disk expansion system 10 and the electronic device 1 provided by the present disclosure are respectively reserved on the Mini SAS HD connectors on the hard disk control card 104 and the hard disk backplane 102 by using Mini SAS HD cables 122 The sideband signal defines the position information of each cable 122. Through the I2C bus of the rack server BMC management module, read the location information of the Mini SAS HD cable 122 from the existing EPLD (programmable logic device) of the hard disk control card 104 to determine whether the cable 122 has been inserted in the correct position . The design of the present disclosure is flexible, reducing cost and design complexity, and the accuracy of misplugging of the detection cable 122 can reach 100%.
本公开中利用了SFF-8643标准Mini SAS HD线缆122中边带(sideband)的至少一个信号进行线缆122位置检测,可以同时准确检测至少2根线缆122的误插问题,其中,在一实施方式中,通过3个信号进行线缆122的位置检测,可以通知准确检测2至7根线缆122的误插问题。本公开提供的硬盘扩展系统10与电子设备1可以根据机架服务器中实际使用的线缆122数量,自行选择所需边带(sideband)信号。In this disclosure, at least one signal of the sideband in the SFF-8643 standard Mini SAS HD cable 122 is used to detect the position of the cable 122, which can simultaneously accurately detect the misinsertion problem of at least two cables 122, wherein, in In one embodiment, the position of the cable 122 is detected by three signals, which can be notified to accurately detect the wrong insertion of 2 to 7 cables 122. The hard disk expansion system 10 and the electronic device 1 provided by the present disclosure can select a desired sideband signal according to the number of cables 122 actually used in the rack server.
在此需要说明的是,在不同的场合边带(sideband)信号用作其它用途。It should be noted here that sideband signals are used for other purposes in different situations.
本公开通过提供一种机架服务器上Mini SAS HD线缆122的防误插设计方法,可实时检查服务器上的Mini SAS HD线缆122是否插错位置。利用这这种方法,可直接利用普通Mini SAS HD线缆122,实现机架服务器内的多根硬盘线缆122无错连接。通过减少出错降低成本,对于机架服务器的智能化生成与加工,具有显著的作用。The present disclosure can provide a method for preventing misinsertion of the Mini SAS HD cable 122 on the rack server, and can check whether the Mini SAS HD cable 122 on the server is inserted in the wrong position in real time. Using this method, ordinary Mini SAS HD cables 122 can be directly used to realize error-free connection of multiple hard disk cables 122 in the rack server. By reducing errors and reducing costs, it plays a significant role in the intelligent generation and processing of rack servers.
本公开实施例提供的该硬盘扩展系统与电子设备,通过赋值模块为每个第一连接器赋值,使得每一个第一连接器携带一个不同的赋值,在进行线缆的连接时,通过线缆将赋值传输至逻辑器件,逻辑器件根据接收到的赋值,生成对比值,对比值与赋值为一一对应的关系,因此,根据对比值与赋值可直接反映出第一连接器与第二连接器是否进行了一一对应的连接,以此实现了线缆连接是否正确的自动化判断,且该设计高效,且判断结果准确,无需采用特制线缆,成本低,易于实现。The hard disk expansion system and the electronic device provided by the embodiments of the present disclosure assign values to each first connector through an assignment module, so that each first connector carries a different assignment value. The assignment is transmitted to the logic device, and the logic device generates a comparison value according to the received assignment. The comparison value and the assignment value have a one-to-one correspondence. Therefore, the first connector and the second connector can be directly reflected according to the comparison value and assignment Whether one-to-one correspondence is made, so as to realize the automatic judgment of whether the cable connection is correct, and the design is efficient and the judgment result is accurate. There is no need to use special cables, the cost is low, and it is easy to implement.
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个 实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these There is any such actual relationship or order between entities or operations. Moreover, the terms "include", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device that includes a series of elements includes not only those elements, but also those not explicitly listed Or other elements that are inherent to this process, method, article, or equipment. Without more restrictions, the element defined by the sentence "include one..." does not exclude that there are other identical elements in the process, method, article or equipment that includes the element.
以上所述仅是本公开的具体实施方式,使本领域技术人员能够理解或实现本公开。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本公开的精神或范围的情况下,在其它实施例中实现。因此,本公开将不会被限制于本文所示的这些实施例,而是要符合与本文所申请的原理和新颖特点相一致的最宽的范围。The above are only specific implementations of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments shown herein, but shall conform to the widest scope consistent with the principles and novel features applied herein.

Claims (11)

  1. 一种硬盘扩展系统,其中,包括:A hard disk expansion system, which includes:
    硬盘背板,所述硬盘背板上设有至少两个第一连接器;A hard disk backplane, at least two first connectors are provided on the hard disk backplane;
    硬盘控制卡,所述硬盘控制卡上设有至少两个第二连接器,所述至少两个第一连接器与所述至少两个第二连接器一一对应;A hard disk control card, at least two second connectors are provided on the hard disk control card, and the at least two first connectors correspond to the at least two second connectors in one-to-one correspondence;
    至少两条线缆,所述至少两条线缆中的任一条连接所述至少两个第一连接器中的一个及与之对应的一个第二连接器;At least two cables, and any one of the at least two cables is connected to one of the at least two first connectors and a second connector corresponding thereto;
    赋值模块,与所述至少两个第一连接器相连接,所述赋值模块上电时,为所述至少两个第一连接器中的每一个第一连接器赋值,其中,任意两个所述赋值不同;An assignment module is connected to the at least two first connectors. When the assignment module is powered on, it assigns a value to each of the at least two first connectors. Among them, any two The assignment is different;
    逻辑器件,与所述至少两个第二连接器相连接,接收所述赋值生成对比值。The logic device is connected to the at least two second connectors and receives the assignment to generate a comparison value.
  2. 根据权利要求1所述的硬盘扩展系统,其中,The hard disk expansion system according to claim 1, wherein
    所述赋值模块包括:设置在所述硬盘背板上的高电平电路与低电平电路;The evaluation module includes: a high-level circuit and a low-level circuit provided on the hard disk backplane;
    其中,所述赋值模块上电时,通过所述高电平电路与所述低电平电路为所述至少两个第一连接器提供电平信号,所述至少两个第一连接器任意两个接收到的所述电平信号不同。Wherein, when the evaluation module is powered on, the at least two first connectors are provided with level signals through the high level circuit and the low level circuit, and any two of the at least two first connectors The received level signals are different.
  3. 根据权利要求2所述的硬盘扩展系统,其中,The hard disk expansion system according to claim 2, wherein
    所述至少两个第一连接器中的任一个包括:Any one of the at least two first connectors includes:
    第一引脚,与所述高电平电路连接;和/或The first pin is connected to the high-level circuit; and/or
    第二引脚,与所述低电平电路连接。The second pin is connected to the low-level circuit.
  4. 根据权利要求2所述的硬盘扩展系统,其中,The hard disk expansion system according to claim 2, wherein
    所述低电平电路为接地电路。The low-level circuit is a ground circuit.
  5. 根据权利要求3所述的硬盘扩展系统,其中,The hard disk expansion system according to claim 3, wherein
    所述高电平电路与所述第一引脚之间设置有阻性元件。A resistive element is provided between the high-level circuit and the first pin.
  6. 根据权利要求1至5中任一项所述的硬盘扩展系统,其中,The hard disk expansion system according to any one of claims 1 to 5, wherein
    所述逻辑器件设于所述硬盘控制卡;The logic device is provided on the hard disk control card;
    所述至少两个第二连接器的引脚与所述逻辑器件的管脚一一对应连接。The pins of the at least two second connectors are connected to the pins of the logic device in a one-to-one correspondence.
  7. 一种电子设备,其中,包括:如上述权利要求1至6中任一项所述的硬盘扩展系统;以及An electronic device, comprising: the hard disk expansion system according to any one of claims 1 to 6; and
    处理器,与逻辑器件相连接,获取所述逻辑器件生成的对比值;The processor is connected to the logic device to obtain the comparison value generated by the logic device;
    存储器,与所述处理器相连接,用于存储所述至少两个第一连接器、所述赋值与所述至少两个第二连接器的对应关系;A memory, connected to the processor, for storing the correspondence between the at least two first connectors, the assignment, and the at least two second connectors;
    所述处理器根据所述对应关系与所述对比值,判断所述至少两个第一连接器与所述至少两个第二连接器的连接是否为一一对应的连接。The processor determines whether the connection between the at least two first connectors and the at least two second connectors is a one-to-one connection according to the correspondence and the comparison value.
  8. 根据权利要求7所述的电子设备,其中,所述根据所述对应关系与所述对比值,判断至少两个第一连接器与至少两个第二连接器的连接是否为一一对应的连接包括:The electronic device according to claim 7, wherein the judging whether the connection between the at least two first connectors and the at least two second connectors is a one-to-one connection according to the correspondence and the comparison value include:
    判断所述至少两个第一连接器的所述赋值与所述至少两个第一连接器对应的所述对比值是否相等;Judging whether the assignment value of the at least two first connectors and the comparison value corresponding to the at least two first connectors are equal;
    其中,若判断结果为相等,则说明所述赋值对应的所述至少两个第一连接器与所述至少两个第二连接器是一一对应连接;Wherein, if the judgment result is equal, it means that the at least two first connectors corresponding to the assignment and the at least two second connectors are connected in a one-to-one correspondence;
    若判断结果为不等,则说明所述赋值对应的所述至少两个第一连接器与所述至少两个第二连接器未一一对应连接。If the judgment results are not equal, it means that the at least two first connectors corresponding to the assignment and the at least two second connectors are not connected in a one-to-one correspondence.
  9. 根据权利要求8所述的电子设备,其中,还包括:The electronic device according to claim 8, further comprising:
    所述判断结果为不等,则说明所述赋值对应的所述至少两个第一连接器与至少两个第二连接器未一一对应连接后,所述处理器还根据所述对应关系以及所述对比值,推荐所述至少两个第一连接器与所述至少两个第二连接器的连接方式。If the judgment result is not equal, it means that after the at least two first connectors and the at least two second connectors corresponding to the assignment are not connected in a one-to-one correspondence, the processor may also The comparison value recommends a connection method of the at least two first connectors and the at least two second connectors.
  10. 根据权利要求9所述的电子设备,其中,还包括:The electronic device according to claim 9, further comprising:
    显示装置,与所述处理器相连接,用于显示推荐的所述至少两个第一连接器与所述至少两个第二连接器的连接方式。A display device, connected to the processor, is used to display the recommended connection mode of the at least two first connectors and the at least two second connectors.
  11. 根据权利要求7至10中任一项所述的电子设备,其中,还包括:The electronic device according to any one of claims 7 to 10, further comprising:
    至少两个提示灯,与所述处理器相连接,并与所述至少两个第二连接器一一对应;At least two cue lights connected to the processor and corresponding to the at least two second connectors;
    在判断所述至少两个第一连接器与所述至少两个第二连接器未一一对应的连接时,所述至少两个提示灯中的至少一个发出提示,以提示所述至少两个第二连接器中的任一个未与所述至少两个第一连接器一一对应连接。When it is judged that the at least two first connectors and the at least two second connectors are not connected in a one-to-one correspondence, at least one of the at least two prompt lights issues a prompt to prompt the at least two Any one of the second connectors is not connected to the at least two first connectors in a one-to-one correspondence.
PCT/CN2019/110425 2018-12-28 2019-10-10 Hard drive extension system and electronic device WO2020134340A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811626210.6 2018-12-28
CN201811626210.6A CN111382102A (en) 2018-12-28 2018-12-28 Hard disk expansion system and electronic equipment

Publications (1)

Publication Number Publication Date
WO2020134340A1 true WO2020134340A1 (en) 2020-07-02

Family

ID=71127338

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/110425 WO2020134340A1 (en) 2018-12-28 2019-10-10 Hard drive extension system and electronic device

Country Status (2)

Country Link
CN (1) CN111382102A (en)
WO (1) WO2020134340A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111176913A (en) * 2019-12-16 2020-05-19 苏州浪潮智能科技有限公司 Circuit and method for detecting Cable Port in server
CN112363878A (en) * 2020-11-13 2021-02-12 浪潮电子信息产业股份有限公司 Server assembly and cable connection correctness detection mechanism thereof
CN112596983A (en) * 2020-12-30 2021-04-02 苏州浪潮智能科技有限公司 Monitoring method for connector in server
CN113849234A (en) * 2021-09-24 2021-12-28 联想(北京)有限公司 Connection state identification method and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970644A (en) * 2013-02-04 2014-08-06 鸿富锦精密电子(天津)有限公司 Hard disk backboard and server system with same
US20140310441A1 (en) * 2011-09-21 2014-10-16 Kevin Mark Klughart Data Storage Architecture Extension System and Method
CN204028898U (en) * 2014-06-19 2014-12-17 浪潮(北京)电子信息产业有限公司 The server of a kind of hard disk, any mixed insertion of compatible multiple solid state hard disc
CN104635873A (en) * 2013-11-11 2015-05-20 鸿富锦精密电子(天津)有限公司 Hard disk expanding system
CN204650401U (en) * 2015-06-10 2015-09-16 浪潮电子信息产业股份有限公司 A kind of hard disk backboard of compatible NVME hard disk
CN107357753A (en) * 2017-07-12 2017-11-17 郑州云海信息技术有限公司 A kind of method and system for realizing PCIE port and hard disk Address automatic matching
CN108829619A (en) * 2018-05-23 2018-11-16 郑州云海信息技术有限公司 A kind of continuous topological structure of hard disk ID and hard disk ID localization method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140310441A1 (en) * 2011-09-21 2014-10-16 Kevin Mark Klughart Data Storage Architecture Extension System and Method
CN103970644A (en) * 2013-02-04 2014-08-06 鸿富锦精密电子(天津)有限公司 Hard disk backboard and server system with same
CN104635873A (en) * 2013-11-11 2015-05-20 鸿富锦精密电子(天津)有限公司 Hard disk expanding system
CN204028898U (en) * 2014-06-19 2014-12-17 浪潮(北京)电子信息产业有限公司 The server of a kind of hard disk, any mixed insertion of compatible multiple solid state hard disc
CN204650401U (en) * 2015-06-10 2015-09-16 浪潮电子信息产业股份有限公司 A kind of hard disk backboard of compatible NVME hard disk
CN107357753A (en) * 2017-07-12 2017-11-17 郑州云海信息技术有限公司 A kind of method and system for realizing PCIE port and hard disk Address automatic matching
CN108829619A (en) * 2018-05-23 2018-11-16 郑州云海信息技术有限公司 A kind of continuous topological structure of hard disk ID and hard disk ID localization method

Also Published As

Publication number Publication date
CN111382102A (en) 2020-07-07

Similar Documents

Publication Publication Date Title
WO2020134340A1 (en) Hard drive extension system and electronic device
JP3304292B2 (en) Automatic detection device for detecting attachment or identification of an external device, information processing device, and external device
US20070079032A1 (en) Serial signal ordering in serial general purpose input output (SGPIO)
US7490176B2 (en) Serial attached SCSI backplane and detection system thereof
CN107832199A (en) Hard disk monitoring system based on CPLD
CN104484264A (en) Hard disk state indication method and hard disk state indication device
WO2014082275A1 (en) Method and apparatus for detecting cable connection condition
CN110620677A (en) Network system and authentication method
CN111176913A (en) Circuit and method for detecting Cable Port in server
CN111475385A (en) NVME hard disk backboard lighting system and method supporting mixed insertion of cables
CN114443531A (en) System and method for automatically configuring PCIe port of server
CN110824387A (en) Device and method for detecting cable connection
US7113003B2 (en) Presence indication signal associated with an attachment
CN102841838B (en) Device, system and method for automatically detecting inter-integrated circuit (I2C) and SGPIO (serious general-purpose input/output)
CN115705270A (en) Hard disk in-place detection device and method
CN112579366B (en) Hard disk in-place detection system
TWI823378B (en) Hard drive indicator circuit and hard drive backplane
CN109753396A (en) A kind of cable self checking method, system and the server of storage system
CN117667818B (en) Signal transmission structure, server and signal transmission method
CN207473500U (en) A kind of direct-connected backboards of SAS for being used for 4 disk position storage servers
TWI796015B (en) Method for automatically identifying the pcie configuration of server and a server
US20110273829A1 (en) Non-Volatile Memory Controller Cable Arrangement
CN207473607U (en) A kind of direct-connected backboards of SAS of 8 disk position storage server
CN113505045B (en) Hard disk fault display method and device and server
CN213814665U (en) Double-control storage device VPD information writing structure

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19903323

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 12.11.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19903323

Country of ref document: EP

Kind code of ref document: A1