CN111190849A - Selection device and method based on Expander FW configuration file - Google Patents

Selection device and method based on Expander FW configuration file Download PDF

Info

Publication number
CN111190849A
CN111190849A CN201911404932.1A CN201911404932A CN111190849A CN 111190849 A CN111190849 A CN 111190849A CN 201911404932 A CN201911404932 A CN 201911404932A CN 111190849 A CN111190849 A CN 111190849A
Authority
CN
China
Prior art keywords
cpld
expander
chip
switch
disk
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911404932.1A
Other languages
Chinese (zh)
Inventor
张�杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN201911404932.1A priority Critical patent/CN111190849A/en
Publication of CN111190849A publication Critical patent/CN111190849A/en
Pending legal-status Critical Current

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/4004Coupling between buses
    • G06F13/4022Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0016Inter-integrated circuit (I2C)

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Mathematical Physics (AREA)
  • Computer Hardware Design (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to the technical field of servers, and provides a selecting device based on an Expander FW configuration file, which comprises a CPLD (complex programmable logic device) arranged on a hard disk backboard, an Expander chip, a selecting Switch, an I2C Switch and a plurality of memory chips, wherein the selecting Switch is used for providing a corresponding register value for the CPLD according to the logic programming of the CPLD; each memory chip stores a corresponding FW configuration file; the I2C Switch is used for selecting an I2C channel connected with the storage chip according to the configuration requirements of the quantity and the disk order of the hard disks acquired by the CPLD; the I2C Switch is connected with the Expander chip, so that the flexible switching of the FW configuration files of the Expander chip is realized, a plurality of single boards are not needed to distinguish different Expander FW configuration files, and the cost is low.

Description

Selection device and method based on Expander FW configuration file
Technical Field
The invention belongs to the technical field of servers, and particularly relates to a selecting device and method based on an Expander FW configuration file.
Background
With the continuous expansion of the construction scale of cloud computing, data centers and the like and the continuous increase of the demand of high-density data storage, a storage server has become an application trend. For a server, it is also a currently popular mode to expand the storage capacity by expanding and connecting a larger number of hard disks on a server hard disk backplane. The Expander chip can directly expand a certain number of hard disk connectors through the hard disk backboard for connecting hard disks in the downlink, and can also connect the hard disk connectors from the cascade backboard to connect a certain number of hard disks through cascading other backboards. The number of the hard disks connected with the Expander chip of the hard disk backboard of the server and the number of the cascaded hard disks can be selected according to different configuration requirements, and the configuration of the hard disks with different numbers can cause the change of the disk sequence of the hard disks. The number and the disk order of the hard disks are configured in configuration files of an Expander chip FW, and different configurations correspond to different FW files. How to select different FW configuration files generated according to the configuration of the number of hard disks and the disk order of the hard disk backplanes with the same hardware brings a difficult problem to hardware design.
At present, in order to distinguish the number of external hard disks from the configuration of the disk sequence, a scheme of selecting different FW configuration files is as follows: in the hard disk back plates with the same hardware, due to the fact that FW configuration files of Expander chips are different due to the fact that the number of hard disks externally connected to the Expander is different from the configuration of disk sequences, the back plates are required to be used as different back plates to be distinguished, different back plate PN numbers are applied, different bill of materials and PCB material numbers are established, processing requirements are required to be provided independently, the back plates are used as completely independent hard disk back plates to be processed and manufactured, a plurality of complicated application processes, processing and maintenance processes are increased, and processing cost is increased. After the processing is finished, the laboratory veneer management and the veneer material receiving cause troubles correspondingly.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a selecting device based on Expander FW configuration files, aiming at solving the problems that a plurality of fussy application flows, processing and maintenance flows are added in the process of selecting different FW configuration files in the prior art, and the processing cost is increased.
The technical scheme provided by the invention is as follows: a kind of selector based on Expander FW configuration file, including CPLD and Expander chip set in hard disk slab, also include:
the selector switch is connected with the CPLD and used for providing corresponding register values for the CPLD according to the logic programming of the CPLD, and the register values correspond to the quantity of the hard disks and the configuration requirements of the disk sequences one by one;
each memory chip stores a corresponding FW configuration file;
the I2C Switch is connected with the CPLD, and the I2C Switch is used for selecting an I2C channel connected with the storage chip according to the configuration requirements of the quantity and the disk order of the hard disks acquired by the CPLD, wherein an FW configuration file stored in the storage chip corresponding to the selected I2C channel is adapted to the configuration requirements of the quantity and the disk order of the hard disks acquired by the CPLD;
the I2C Switch is connected to the Expander chip.
As an improved solution, the selector switch is a dial switch, and the CPLD obtains from the dial switch a value corresponding to the configuration requirements of the number of hard disks and the disk order.
As an improvement, the memory chip is a SEEPROM chip.
As an improved scheme, the I2C Switch comprises an upstream I2C interface and a downstream I2C interface;
the downlink I2C interface is respectively connected with the corresponding SEEPROM chip through an I2C channel;
the uplink I2C interface is connected with the Expander chip.
Another object of the present invention is to provide a method for selecting based on an Expander FW profile, the method comprising the steps of:
the CPLD acquires register values from the selector switch, wherein the register values correspond to the number of the hard disks and the configuration requirements of the disk sequences one by one;
the CPLD analyzes the acquired register value to obtain the configuration requirements of the number of hard disks and the disk order;
according to the acquired configuration requirements of the number and the sequence of the hard disks, the CPLD addresses the I2C Switch;
according to the acquired configuration requirements of the number of the hard disks and the disk order, the I2C Switch acquires an FW configuration file matched with the acquired configuration requirements of the number of the hard disks and the disk order from a storage chip through a corresponding I2C channel;
and the I2C Switch feeds the obtained FW configuration file back to the Expander chip.
As an improved scheme, the selection switch is a dial switch;
the method further comprises the steps of:
setting dial switches on a hard disk backboard in advance, connecting the dial switches to the CPLD, programming the CPLD to realize the configuration of register values of different dial switches corresponding to different hard disk numbers and disk orders, and acquiring the corresponding values of the configuration requirements of the hard disk numbers and the disk orders by the CPLD from the dial switches.
As an improved scheme, the I2C Switch comprises an upstream I2C interface and a downstream I2C interface;
the downlink I2C interface is respectively connected with the corresponding SEEPROM chip through an I2C channel;
the uplink I2C interface is connected with the Expander chip.
As an improved scheme, the memory chip is an SEEPROM chip;
the method further comprises the steps of:
a plurality of SEEPROM chips are arranged on a hard disk backboard in advance, and a corresponding FW configuration file is saved in each SEEPROM chip.
In the embodiment of the invention, the selecting device based on the Expander FW configuration file comprises a CPLD (complex programmable logic device), an Expander chip, a selecting Switch, an I2C Switch and a plurality of memory chips, wherein the CPLD, the Expander chip, the selecting Switch, the I2C Switch and the memory chips are arranged on a hard disk backboard, and the selecting Switch is used for providing a corresponding register value for the CPLD according to the logic programming of the CPLD; each memory chip stores a corresponding FW configuration file; the I2C Switch is used for selecting an I2C channel connected with the storage chip according to the configuration requirements of the quantity and the disk order of the hard disks acquired by the CPLD; the I2C Switch is connected with the Expander chip, so that the flexible switching of the FW configuration files of the Expander chip is realized, a plurality of single boards are not needed to distinguish different Expander FW configuration files, and the cost is low.
Drawings
In order to more clearly illustrate the detailed description of the invention or the technical solutions in the prior art, the drawings that are needed in the detailed description of the invention or the prior art will be briefly described below. Throughout the drawings, like elements or portions are generally identified by like reference numerals. In the drawings, elements or portions are not necessarily drawn to scale.
FIG. 1 is a schematic structural diagram of a selecting apparatus based on an Expander FW profile provided by the present invention;
FIG. 2 is a flow chart of an implementation of the method for selecting based on the Expander FW configuration file according to the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. The following examples are merely for illustrating the technical solutions of the present invention more clearly, and therefore are only examples, and the protection scope of the present invention is not limited thereby.
Fig. 1 is a schematic structural diagram of a selecting apparatus based on an Expander FW profile provided by the present invention, and for convenience of description, only the parts related to the present invention are shown in the diagram.
The selecting device based on the Expander FW configuration file comprises a CPLD and an Expander chip which are arranged on a hard disk backboard, and further comprises:
the selector switch is connected with the CPLD and used for providing corresponding register values for the CPLD according to the logic programming of the CPLD, and the register values correspond to the quantity of the hard disks and the configuration requirements of the disk sequences one by one;
each memory chip stores a corresponding FW configuration file;
the I2C Switch is connected with the CPLD, and the I2C Switch is used for selecting an I2C channel connected with the storage chip according to the configuration requirements of the quantity and the disk order of the hard disks acquired by the CPLD, wherein an FW configuration file stored in the storage chip corresponding to the selected I2C channel is adapted to the configuration requirements of the quantity and the disk order of the hard disks acquired by the CPLD;
the I2C Switch is connected to the Expander chip.
The CPLD acquires a corresponding value which is required by the configuration of the number of hard disks and the disk sequence from the dial switch;
the dial switches on the hard disk backboard are connected to the CPLD of the hard disk backboard, and the configuration of the values of different dial switches corresponding to different hard disk quantities and disk sequences is realized through CPLD logic programming. The CPLD acquires the configuration requirements of the number of hard disks and the disk sequence by identifying the value of the dial switch.
In the embodiment of the invention, the storage chips are SEEPROM chips, a corresponding number of SEEPROM chips are added on the backboard according to the number of FW configuration files of the Expander chips required by the hard disk backboard, and each SEEPROM stores one FW configuration file.
In the embodiment of the invention, an I2C Switch chip on a hard disk backplane is used for selecting an I2C channel of an FW configuration file, an uplink I2C interface of the I2C Switch is connected to an I2C bus of an Expander chip, and downlink I2C interfaces are respectively connected to SEEPROMs storing different FW configuration files.
In the embodiment of the invention, the address signal of the I2C Switch chip is connected to the CPLD chip, the CPLD obtains the configuration requirement by reading the value of the dial Switch, and the FW configuration file of the SEEPROM of the I2C Switch chip in the same channel is selected according to the configuration requirement.
In the embodiment of the invention, the flexible switching of the FW configuration files of the Expander chip can be realized only by one server hard disk backboard, and a plurality of single boards are not needed to distinguish different Expander FW configuration files. A plurality of back plate PN numbers are not required to be applied, and a plurality of material lists, a plurality of processing files and the like are manufactured; the single veneer can be processed on line at one time, so that the processing cost is saved; meanwhile, the laboratory management cost is saved, and the veneer material taking is convenient.
Fig. 2 is a flowchart of an implementation of the method for selecting based on the Expander FW profile, which includes the following steps:
in step S101, the CPLD obtains register values from the selector switch, where the register values correspond to the number of hard disks and the configuration requirements of disk orders one to one;
in step S102, the CPLD analyzes the acquired register values to obtain the configuration requirements of the number of hard disks and the disk order;
in step S103, according to the obtained configuration requirements of the number of hard disks and the disk order, the CPLD addresses the I2 CSwitch;
in step S104, according to the obtained configuration requirements of the number of hard disks and the disk order, the I2C Switch obtains an FW configuration file matching the obtained configuration requirements of the number of hard disks and the disk order from the storage chip through a corresponding I2C channel;
in step S105, the I2C Switch feeds back the acquired FW configuration file to the Expander chip.
In the embodiment of the invention, the selecting device based on the Expander FW configuration file comprises a CPLD (complex programmable logic device), an Expander chip, a selecting Switch, an I2C Switch and a plurality of memory chips, wherein the CPLD, the Expander chip, the selecting Switch, the I2C Switch and the memory chips are arranged on a hard disk backboard, and the selecting Switch is used for providing a corresponding register value for the CPLD according to the logic programming of the CPLD; each memory chip stores a corresponding FW configuration file; the I2C Switch is used for selecting an I2C channel connected with the storage chip according to the configuration requirements of the quantity and the disk order of the hard disks acquired by the CPLD; the I2C Switch is connected with the Expander chip, so that the flexible switching of the FW configuration files of the Expander chip is realized, a plurality of single boards are not needed to distinguish different Expander FW configuration files, and the cost is low.
The above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the present invention, and they should be construed as being included in the following claims and description.

Claims (8)

1. A kind of selector based on Expander FW configuration file, including CPLD and Expander chip set in hard disk slab, characterized by that, also include:
the selector switch is connected with the CPLD and used for providing corresponding register values for the CPLD according to the logic programming of the CPLD, and the register values correspond to the quantity of the hard disks and the configuration requirements of the disk sequences one by one;
each memory chip stores a corresponding FW configuration file;
the I2C Switch is connected with the CPLD, and the I2C Switch is used for selecting an I2C channel connected with the storage chip according to the configuration requirements of the quantity and the disk order of the hard disks acquired by the CPLD, wherein an FW configuration file stored in the storage chip corresponding to the selected I2C channel is adapted to the configuration requirements of the quantity and the disk order of the hard disks acquired by the CPLD;
the I2C Switch is connected to the Expander chip.
2. The Expander FW profile-based selection device according to claim 1, wherein the selection switch is a dial switch, and the CPLD obtains from the dial switch a value corresponding to the configuration requirements of the number of hard disks and the disk order.
3. The Expander FW profile-based selection apparatus as claimed in claim 2, wherein the memory chip is a SEEPROM chip.
4. The Expander FW profile based selection apparatus of claim 3, wherein the I2CSwitch comprises an upstream I2C interface and a downstream I2C interface;
the downlink I2C interface is respectively connected with the corresponding SEEPROM chip through an I2C channel;
the uplink I2C interface is connected with the Expander chip.
5. A method for selecting based on an Expander FW profile, the method comprising the steps of:
the CPLD acquires register values from the selector switch, wherein the register values correspond to the number of the hard disks and the configuration requirements of the disk sequences one by one;
the CPLD analyzes the acquired register value to obtain the configuration requirements of the number of hard disks and the disk order;
according to the acquired configuration requirements of the number and the sequence of the hard disks, the CPLD addresses the I2C Switch;
according to the acquired configuration requirements of the number of the hard disks and the disk order, the I2C Switch acquires an FW configuration file matched with the acquired configuration requirements of the number of the hard disks and the disk order from a storage chip through a corresponding I2C channel;
and the I2C Switch feeds the obtained FW configuration file back to the Expander chip.
6. The Expander FW profile-based selection method according to claim 5, wherein the selection switch is a dial switch;
the method further comprises the steps of:
setting dial switches on a hard disk backboard in advance, connecting the dial switches to the CPLD, programming the CPLD to realize the configuration of register values of different dial switches corresponding to different hard disk numbers and disk orders, and acquiring the corresponding values of the configuration requirements of the hard disk numbers and the disk orders by the CPLD from the dial switches.
7. The Expander FW profile based selection method of claim 5, wherein the I2CSwitch comprises an upstream I2C interface and a downstream I2C interface;
the downlink I2C interface is respectively connected with the corresponding SEEPROM chip through an I2C channel;
the uplink I2C interface is connected with the Expander chip.
8. The Expander FW profile-based selection method as claimed in claim 5, wherein the memory chip is a SEEPROM chip;
the method further comprises the steps of:
a plurality of SEEPROM chips are arranged on a hard disk backboard in advance, and a corresponding FW configuration file is saved in each SEEPROM chip.
CN201911404932.1A 2019-12-31 2019-12-31 Selection device and method based on Expander FW configuration file Pending CN111190849A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911404932.1A CN111190849A (en) 2019-12-31 2019-12-31 Selection device and method based on Expander FW configuration file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911404932.1A CN111190849A (en) 2019-12-31 2019-12-31 Selection device and method based on Expander FW configuration file

Publications (1)

Publication Number Publication Date
CN111190849A true CN111190849A (en) 2020-05-22

Family

ID=70709661

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911404932.1A Pending CN111190849A (en) 2019-12-31 2019-12-31 Selection device and method based on Expander FW configuration file

Country Status (1)

Country Link
CN (1) CN111190849A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113254087A (en) * 2021-05-14 2021-08-13 山东英信计算机技术有限公司 Method and system for rapidly switching Expander configuration

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080313658A1 (en) * 2007-06-14 2008-12-18 Brian James Cagno Intelligent Dynamic Multi-Zone Single Expander Connecting Dual Ported Drives
CN104182367A (en) * 2014-07-28 2014-12-03 英业达科技有限公司 Storage control device and calling method thereof
CN105573670A (en) * 2015-12-11 2016-05-11 英业达科技有限公司 Configuration device and method for configuration file of extender of storage system
CN105912265A (en) * 2016-04-01 2016-08-31 浪潮电子信息产业股份有限公司 Method and device for configuration files adapted to Expanders
CN106502948A (en) * 2016-10-25 2017-03-15 郑州云海信息技术有限公司 A kind of optionally onboard FPGA design method in I2C addresses
CN110489367A (en) * 2019-07-29 2019-11-22 苏州浪潮智能科技有限公司 A kind of flexible method and system deployed and be easy to CPLD management backboard

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080313658A1 (en) * 2007-06-14 2008-12-18 Brian James Cagno Intelligent Dynamic Multi-Zone Single Expander Connecting Dual Ported Drives
CN104182367A (en) * 2014-07-28 2014-12-03 英业达科技有限公司 Storage control device and calling method thereof
CN105573670A (en) * 2015-12-11 2016-05-11 英业达科技有限公司 Configuration device and method for configuration file of extender of storage system
CN105912265A (en) * 2016-04-01 2016-08-31 浪潮电子信息产业股份有限公司 Method and device for configuration files adapted to Expanders
CN106502948A (en) * 2016-10-25 2017-03-15 郑州云海信息技术有限公司 A kind of optionally onboard FPGA design method in I2C addresses
CN110489367A (en) * 2019-07-29 2019-11-22 苏州浪潮智能科技有限公司 A kind of flexible method and system deployed and be easy to CPLD management backboard

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113254087A (en) * 2021-05-14 2021-08-13 山东英信计算机技术有限公司 Method and system for rapidly switching Expander configuration

Similar Documents

Publication Publication Date Title
US9026863B2 (en) Replacement of storage responsive to remaining life parameter
CN105359120B (en) The memory and controller of multiple PCIE link widths are supported using double PHY
CN103078747B (en) PCIe switch and method of work thereof
CN111324303B (en) SSD garbage recycling method, SSD garbage recycling device, computer equipment and storage medium
KR20120055563A (en) Controller for reading data from non-volatile memory
CN105242879A (en) Data storage method and protocol server
CN104298583A (en) Mainboard management system and method based on baseboard management controller
CN111190849A (en) Selection device and method based on Expander FW configuration file
CN105468122A (en) Method and device for off-peak boot of nodes and whole cabinet server
US7444437B2 (en) Input/output device and method of setting up identification information in input/output device
US7032102B2 (en) Signal processing device and method for supplying a signal processing result to a plurality of registers
CN117033251B (en) Regression testing method and device for multi-version system of mobile electronic equipment
CN115662492B (en) Mass production test method and device for data storage equipment
US9798550B2 (en) Memory access for a vector processor
CN104750547A (en) Input-output (IO) request processing method and device of virtual machines
CN101471792B (en) Modularized server and management method for processor die set and MAC address
US20090172234A1 (en) Apparatus and method for identifying system style
CN113641613A (en) Backboard, hard disk pool, server and communication method
CN114443445A (en) Hard disk lighting method and device, electronic equipment and storage medium
US10572403B1 (en) Complex programmable logic device with capability of performing multi-address response and operation method thereof
CN110704300A (en) TPC-DS automatic test method and TPC-DS test system
CN104036082A (en) Design technique allowing ID numbers of all stages in cascade system to be indicated
CN117591300B (en) Multi-thread communication method and device for testing machine and testing machine
US11321204B2 (en) Complex programmable logic device and operation method thereof
CN110046120B (en) Data processing method, device and system based on IIC protocol and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200522