CN118708035B - Equipment slot position identification method, electronic equipment and storage medium - Google Patents
Equipment slot position identification method, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN118708035B CN118708035B CN202411213459.XA CN202411213459A CN118708035B CN 118708035 B CN118708035 B CN 118708035B CN 202411213459 A CN202411213459 A CN 202411213459A CN 118708035 B CN118708035 B CN 118708035B
- Authority
- CN
- China
- Prior art keywords
- expansion
- slot
- positioning
- group
- positioning contact
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/18—Packaging or power distribution
- G06F1/183—Internal mounting support structures, e.g. for printed circuit boards, internal connecting means
- G06F1/185—Mounting of expansion boards
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4063—Device-to-bus coupling
- G06F13/409—Mechanical coupling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
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)
- Power Engineering (AREA)
- Human Computer Interaction (AREA)
- Details Of Connecting Devices For Male And Female Coupling (AREA)
- Mounting Of Printed Circuit Boards And The Like (AREA)
Abstract
The embodiment of the application provides an equipment slot position identification method, electronic equipment and a storage medium, wherein the method comprises the following steps: under the condition that mounted expansion ports of mounted expansion equipment exist in a plurality of expansion ports, obtaining slot indication information stored in a designated register of an associated adapter card to obtain target slot indication information, wherein the associated adapter card is an adapter card for connecting the mounted expansion ports and the mounted expansion equipment on the mounted expansion ports, the target slot indication information is generated based on the position of a positioning contact contacted with a metal copper exposure area of the associated adapter card in a first positioning contact group, and the target slot indication information is used for identifying the slot position of the expansion slot where the associated adapter card is mounted; and analyzing the target slot indication information to determine the extension slot in which the associated adapter card is arranged in the plurality of extension slots. The application solves the problem of poor flexibility of equipment use in the equipment slot position identification method in the related technology.
Description
Technical Field
The embodiment of the application relates to the field of computers, in particular to an equipment slot position identification method, electronic equipment and a storage medium.
Background
Some electronic devices have many expansion slots for installing expansion devices required by users, and the installed expansion devices can be mounted on expansion ports of the electronic devices. The positions of the expansion devices need to be known during maintenance and assembly of the electronic devices, so that the identification of the device slots of the server is needed.
In order to facilitate the identification of the slot positions of the devices, a fixed topology structure may be adopted in the related art, that is, the expansion ports of the electronic devices are in one-to-one correspondence with the expansion slot positions on the device chassis, and all configurations of the electronic devices use the correspondence. However, in the above-mentioned device slot identification manner, all configurations of the electronic device must be used according to a predetermined topology, which limits flexibility of use of the device.
Therefore, the device slot position identification method in the related art has the problem of poor flexibility of device use.
Disclosure of Invention
The embodiment of the application provides an equipment slot position identification method, electronic equipment and a storage medium, which at least solve the problem that the equipment slot position identification method in the related technology has poor flexibility in equipment use.
According to an aspect of an embodiment of the present application, there is provided an equipment slot identification method, applied to an electronic equipment, where the electronic equipment includes a processing unit and a structural support, the processing unit includes a plurality of expansion slots, the structural support has a plurality of expansion slots, an adapter card is installed on an expansion slot of the plurality of expansion slots, the expansion ports of the plurality of expansion slots are used for connecting expansion equipment installed on an expansion port of the plurality of expansion ports through an adapter card installed on a corresponding expansion slot of the plurality of expansion slots, the structural support has a plurality of first positioning contact groups corresponding to the plurality of expansion slots, and positions of positioning contacts of the adapter card installed on different expansion slots of the plurality of expansion slots in the first positioning contact groups to which the metal copper exposure area is contacted are at least partially different; the method comprises the following steps: under the condition that mounted expansion ports of mounted expansion equipment exist in the expansion ports, slot indication information stored in a designated register of an associated transfer card is obtained, and target slot indication information is obtained, wherein the associated transfer card is a transfer card connecting the mounted expansion ports and the mounted expansion equipment on the mounted expansion ports, the target slot indication information is generated based on the position of a positioning contact contacted with a metal copper exposure area of the associated transfer card in a first positioning contact group, and the target slot indication information is used for marking the slot position of an expansion slot where the associated transfer card is mounted; and analyzing the target slot indication information to determine the expansion slot in which the associated adapter card is arranged in the expansion slots.
According to another aspect of the embodiment of the present application, there is provided an electronic device including a processing unit and a structural support, where the processing unit includes a plurality of expansion slots, an expansion slot of the plurality of expansion slots is provided with a switch card, the expansion ports of the plurality of expansion slots are used to connect the expansion device mounted on the expansion port of the plurality of expansion ports through the switch card mounted on the corresponding expansion slot of the plurality of expansion slots, the structural support has a plurality of first positioning contact groups corresponding to the plurality of expansion slots, and a metal copper exposure area of the switch card mounted on a different expansion slot of the plurality of expansion slots is at least partially different from a position of a positioning contact contacted by the corresponding first positioning contact group in the first positioning contact group, where the electronic device further includes: the execution component is used for acquiring the slot indication information stored in the designated register of the associated switching card to obtain target slot indication information under the condition that the mounted expansion ports of the mounted expansion equipment exist in the plurality of expansion ports, wherein the associated switching card is a switching card for connecting the mounted expansion ports and the expansion equipment mounted on the mounted expansion ports, the target slot indication information is generated based on the position of a positioning contact contacted with a metal copper exposure area of the associated switching card in a first positioning contact group, and the target slot indication information is used for identifying the slot position of an expansion slot where the associated switching card is mounted; and analyzing the target slot indication information to determine the expansion slot in which the associated adapter card is arranged in the expansion slots.
According to still another aspect of the embodiment of the present application, there is further provided a structural support for fixing adapter cards mounted on a plurality of expansion slots on the structural support and expansion devices mounted through the adapter cards mounted on the plurality of expansion slots; the structure support is provided with a plurality of first positioning contact sets corresponding to the plurality of expansion slots, and the positions of positioning contacts used for being contacted with a metal copper exposure area of the adapter card installed on the corresponding expansion slots in different first positioning contact sets in the plurality of first positioning contact sets are at least partially different.
According to still another aspect of the embodiment of the present application, there is further provided a patch card, where the patch card is configured to be mounted on an expansion slot on a structural support of an electronic device, and connect an expansion port on a processing unit of the electronic device and an expansion device mounted through the expansion slot on which the patch card is mounted; the transfer card is provided with a metal copper exposure area, wherein the metal copper exposure area is used for being in contact with a positioning contact in a first positioning contact set on a structural support of the electronic equipment, and the transfer card is also used for generating slot position indication information based on the position of the positioning contact contacted by the metal copper exposure area in the first positioning contact set and storing the generated slot position indication information into a designated register of the transfer card.
According to a further embodiment of the application, there is also provided a computer readable storage medium having stored therein a computer program, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
According to the application, the mode that the positions of the positioning contacts contacted by the metal copper exposure areas of the adapter cards installed on different expansion slots in the positioning contact groups are at least partially different is adopted, so that the adapter card can generate slot indication information based on the positions of the positioning contacts contacted by the metal copper exposure areas in the positioning contact groups, and the generated slot indication information can indicate the installed expansion slots (the slot positions of the expansion slots); when the expansion port is loaded with expansion equipment, the expansion slot position of the associated adapter card can be determined through the slot position indication information stored in the adapter card associated with the loaded expansion equipment, so that equipment slot position identification is realized, the equipment slot position identification mode is not required to fix the connection relation between the expansion port and the expansion slot position, and only when the expansion port is provided with the loaded expansion equipment, the expansion slot position connected with the expansion port is identified, so that the problem that the equipment slot position identification method in the related art has poor flexibility in equipment use can be solved, and the effect of improving the equipment use flexibility is achieved.
Drawings
Fig. 1 is a hardware block diagram of a server device of a device slot identification method according to an embodiment of the present application.
FIG. 2 is a schematic diagram of an alternative server PCIe slot in accordance with an embodiment of the application.
Fig. 3 is a schematic diagram of an alternative port-slot correspondence according to an embodiment of the present application.
FIG. 4 is a schematic diagram of an alternative enclosure and PCIe module in accordance with an embodiment of the application.
Fig. 5 is a schematic view of an alternative first set of positioning contacts according to an embodiment of the application.
FIG. 6 is a flow chart of an alternative device slot identification method according to an embodiment of the application.
Fig. 7 is a schematic view of an alternative structural brace according to an embodiment of the application.
FIG. 8 is a schematic diagram of an alternative identification circuit in a Riser card according to an embodiment of the present application.
Fig. 9 is a block diagram of the architecture of a computer system of an alternative electronic device in accordance with an embodiment of the present application.
Detailed Description
Embodiments of the present application will be described in detail below with reference to the accompanying drawings in conjunction with the embodiments.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order.
The method embodiments provided in the embodiments of the present application may be performed in a server apparatus or similar electronic device. Taking the operation on the server device as an example, fig. 1 is a hardware structural block diagram of the server device of a device slot identification method according to an embodiment of the present application. As shown in fig. 1, the server device may include one or more (only one is shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a microprocessor MCU, a programmable logic device FPGA, or the like processing means) and a memory 104 for storing data, wherein the server device may further include a transmission device 106 for communication functions and an input-output device 108. It will be appreciated by those of ordinary skill in the art that the architecture shown in fig. 1 is merely illustrative and is not intended to limit the architecture of the server apparatus described above. For example, the server device may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store a computer program, for example, a software program of application software and a module, such as a computer program corresponding to the device slot identification method in the embodiment of the present application, and the processor 102 executes the computer program stored in the memory 104 to perform various functional applications and data processing, that is, implement the method described above. Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory remotely located with respect to the processor 102, which may be connected to the server device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of a server device. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, simply referred to as a NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is configured to communicate with the internet wirelessly.
The embodiment provides a device slot identification method, which can be applied to electronic devices such as a server and terminal equipment. The electronic equipment can be used for installing the expansion equipment required by a user through the expansion slot, and the installed expansion equipment can be mounted on an expansion port of the electronic equipment. The positions of the expansion devices need to be known during maintenance and assembly of the electronic devices, so that the identification of the device slots of the server is needed. The expansion port may be a PCIe (PERIPHERAL COMPONENT INTERCONNECT EXPRESS ) port. Correspondingly, the expansion slot may be a PCIe slot (PCIe expansion slot), and the expansion device mounted through the PCIe slot may be a PCIe expansion device (for example, a network card or the like may be referred to as a PCIe peripheral), and for other types of expansion ports, expansion slots, and expansion devices, the device slot identification method in this embodiment is also applicable. The expansion port may be an expansion port of a processing unit of the electronic device, for example, an expansion port of a CPU (Central Processing Unit ), or an expansion port of another processing unit (for example, a micro control unit), which is not limited in this embodiment.
With the development of the internet industry and the large-scale application of cloud computing and big data technology, the demand of servers is greatly increased. The scalability of a server is an important technical index of the server. The extensible peripherals of the current server mainly comprise a hard disk and PCIe devices. Wherein various expansion cards conforming to the PCIe standard add a variety of features to the server. Typically, the server will have many PCIe slots for installing PCIe expansion devices required by the user. The identification of PCIe device slots is an important requirement in server operation and maintenance and reconfiguration (configuration modification) of the server because the locations where these PCIe devices are located need to be known.
For example, as shown in fig. 2, a server has 6 PCIe slots, that is, PCIe1 to PCIe6 (that is, PCIe slots 1 to PCIe slots 6), and 6 PCIe standard network cards may be installed. When a certain network card fails, the network card needs to be known to be installed on which PCIe slot position so as to be convenient for operation and maintenance personnel to maintain and replace. Thus, there is a need for a management system of a server that can identify the PCIe slots on the server to which each PCIe expansion device is installed.
In the related art, in order to perform device slot identification, a fixed topology structure may be adopted, that is, the expansion ports of the electronic device are in one-to-one correspondence with the expansion slots on the device chassis, and all configurations of the electronic device use the correspondence. However, in the above device slot identification manner, all configurations of the electronic device need to be used according to a given topology, which limits flexibility of device use.
Taking a server as an example, in the design of the server, a fixed PCIe topology may be adopted, that is, PCIe ports of a CPU on a motherboard of the server and PCIe slots on a chassis of the server are in one-to-one correspondence, and all configurations of the server use this correspondence. As shown in fig. 3, there are two CPUs on the motherboard, each with 3 x16 bandwidth PCIe ports (ports). In the server design, the PCIe ports of the CPU are fixed to PCIe slots on the chassis one by wires, connectors or cables on the PCB (Printed Circuit Board ), i.e., in all configurations, PCIe peripherals are plugged into PCIe slots 1, and the device is connected to PCIe port 1 of CPU 0. Through the fixed mapping relationship, the management system can know which PCIe slot the PCIe expansion device is installed on.
However, although PCIe slot identification can be implemented by the above solution, flexibility of server use is limited, all configurations need to be used according to a given PCIe topology, and obvious disadvantages exist in a multi-purpose requirement environment of the server.
In order to solve the above problem, an FRU (Field Replaceable Unit ) unit may be added to the riser card extending the slot, and slot information in which the corresponding riser card is installed is stored in the FRU. And designing a corresponding number of transfer cards according to the number of the expansion slots. Therefore, the expansion port of the processing component on the main board can be connected to any adapter card (equivalent to being connected to the corresponding expansion slot) through the cable, and the expansion slot can be known by acquiring the slot information stored by the FRU, so that the expansion device is known to be mounted on which expansion slot.
For example, an FRU unit may be added to a Riser (an example of a Riser card) card, where slot information of PCIe slots in which a corresponding Riser card is installed is stored, and how many Riser cards are designed with how many PCIe slots. Therefore, the PCIe port of the CPU on the main board can be connected to any Riser card (namely to any PCIe slot) through a cable, and the control system can know which expansion slot the Riser card is mounted on by acquiring FRU information, so that the PCIe expansion device is hung on which expansion slot. Here, the Riser card is a PCB adapter board, fixed on a PCIe slot bracket, and PCIe peripherals are installed on the Riser card.
The scheme is flexible in topology, can meet the requirements of various configurations of the server, but needs to design various adapter cards (for example, riser cards), and is easy to produce material stagnation, so that the production and maintenance cost of the electronic equipment is increased.
In order to at least partially solve the above-mentioned problem, in this embodiment, a manner that a metal copper exposure area is set on an adapter card installed on an expansion slot and a positioning contact group is set on a structural support, and positions of positioning contacts contacted by the metal copper exposure area of the adapter card installed on different expansion slots in the positioning contact group are at least partially different is adopted, the adapter card may generate slot indication information based on positions of positioning contacts contacted by the metal copper exposure area in the positioning contact group, and the generated slot indication information may indicate the expansion slot (the slot position of the expansion slot) installed therein; when the expansion port is loaded with expansion equipment, the expansion slot position where the associated adapter card is installed can be determined through the slot position indication information stored in the adapter card associated with the mounted expansion equipment, so that equipment slot position identification is realized. The equipment slot position identification mode does not need to fix the connection relation between the expansion port and the expansion slot position, does not need to design various adapter cards, can increase the flexibility of equipment use, is convenient to carry out equipment maintenance, and has small influence on production and maintenance cost.
The device slot position identification method in the embodiment can be applied to electronic devices, the electronic devices comprise a processing component and a structural support, the processing component comprises a plurality of expansion ports, the structural support is provided with a plurality of expansion slots, and adapter cards are arranged on the expansion slots in the expansion slots, namely, the corresponding relations among the expansion ports, the expansion slots and the adapter cards can be one-to-one correspondence. For each expansion port, the expansion port can be used for connecting the mounted expansion equipment through the transfer card mounted on the corresponding expansion slot, and the corresponding relationship among the expansion port, the expansion slot, the transfer card and the expansion setting can be one-to-one correspondence.
The structural support is used for fixing the adapter card and the expansion equipment, can provide position information besides the supporting function, and the provided position information can be slot position indication information which can be used for indicating the slot position of the expansion slot position where the adapter card corresponding to the identification is installed. For this purpose, a plurality of first positioning contact groups may be provided on the structural support, each of the expansion slots may correspond to one of the first positioning contact groups, and expansion slots among the plurality of expansion slots may have a one-to-one correspondence with the first positioning contact groups among the plurality of first positioning contact groups. The positions of the metal copper exposure areas of the adapter cards installed on different expansion slots in the expansion slots are at least partially different from the positions of the positioning contacts contacted by the corresponding first positioning contact sets in the corresponding first positioning contact sets. Here, the structural support may be fixed to the chassis of the electronic device, and thus, the expansion slot on the structural support may also be understood as an expansion slot on the chassis.
Alternatively, the Riser card may be a Riser card (i.e., PCIe Riser card, PCIe add-on card) that may convert PCIe signals on the motherboard to their corresponding PCIe slots. When a golden finger (referring to a row of contacts on a PCIe peripheral device) on a PCIe peripheral device (i.e., a PCIe expansion device) is inserted on the PCIe slot of the Riser card, PCIe signals on the motherboard may be connected to the PCIe peripheral device. PCIe peripheral equipment, the Riser card and the structural support are assembled and fixed on the case for use. As shown in fig. 4, fig. 4 illustrates an exemplary positional relationship among PCIe peripherals, fabric supports, and chassis. Here, the PCIe slots are locations on the fabric support where PCIe expansion devices may be installed. The structural support can be made of metal, and PCIe peripheral equipment and a Riser card are fixed on the chassis through screws or bayonets.
Alternatively, the number of point contacts included in each first positioning contact set may be the same, for example, as shown in fig. 5, where M Riser cards are allowed to be installed on the side wall of the structural support, each Riser card corresponds to one first positioning contact set, each first positioning contact set includes N positioning contacts, and each first positioning contact set allows positioning contacts (positioning contacts marked gray in fig. 5) contacted by metal copper exposure areas of the corresponding adapter card to be at least partially different in positions in the first positioning contact set. Here, the contact of the metal copper-exposed region with the positioning contact may be achieved by forming a via with the positioning contact. Correspondingly, the positioning contact which is not allowed to be contacted with the metal copper exposure area of the corresponding adapter card can be omitted. In this case, the number of positioning contacts included in the different first positioning contact sets may be different as long as the corresponding adapter card can be made to recognize different slot indication information.
Fig. 6 is a schematic flow chart of an alternative device slot identification method according to an embodiment of the present application, as shown in fig. 6, the flow includes the following steps S602 to S604.
Step S602, when there is a mounted expansion port of the mounted expansion device in the plurality of expansion ports, slot indication information stored in a designated register of the associated adapter card is obtained, and target slot indication information is obtained.
In this embodiment, when there is an identification requirement, an expansion port on which an expansion device is mounted in a plurality of expansion ports may be detected, and if an expansion port on which an expansion device is mounted is detected, that is, an expansion port on which an expansion device is mounted, slot indication information stored in a designated register of an associated switch card may be obtained, so as to obtain target slot indication information. Here, the associated patch card is a patch card that connects the mounted expansion port and the expansion device mounted on the mounted expansion port, and the expansion slot in which the associated patch card is mounted may be an associated expansion slot. The mounted expansion port and the associated transit card may be connected by a communication bus, through which the slot indication information stored in the associated transit card, i.e., the target slot indication information, may be obtained from a designated register of the associated transit card.
The target slot position indication information is generated based on the positions of the positioning contacts contacted with the metal copper exposure areas of the associated adapter cards in the first positioning contact groups, and the generated slot position indication information can be distinguished because the positions of the positioning contacts contacted with the metal copper exposure areas of different adapter cards in the first positioning contact groups are at least partially different, so that the slot position positions of the expansion slots where the corresponding associated cards are installed can be identified through the slot position indication information. For the target slot indication information, it may be used to identify the slot position of the associated extended slot. Alternatively, the above specified register may be an IO (Input/Output) Expander register, or may be another specified register, as long as the above slot indication information can be stored.
Step S604, determining an expansion slot position in which the associated adapter card is installed in the expansion slots by analyzing the target slot position indication information.
After the target slot indication information is acquired, the acquired target slot indication information may be parsed, where the parsing may be based on a correspondence between the slot indication information and a slot position of the extended slot. For example, for extended slots arranged in a matrix, part of the indication information indicates row information of the extended slots, and part of the indication information indicates column information of the extended slots. Through the analysis process, the expansion slot positions where the associated adapter cards are installed in the expansion slots, namely the slot positions of the associated expansion slots, can be determined.
It should be noted that, in order to realize automatic identification of an extended slot (e.g., PCIe slot), in this embodiment, slot information (i.e., slot indication information) is obtained through a chassis structure and a hardware circuit, and a slot position where an extended device (e.g., PCIe peripheral) is located is deduced through an identification system (a system running the device slot identification method in this embodiment, which may be referred to as a slot identification system), so as to realize automatic identification of an extended slot by an electronic device (e.g., automatic identification of a PCIe slot by a server), which increases flexibility of use of the device, facilitates operation and maintenance of a user, and is low in cost.
Under the condition that mounted expansion ports of mounted expansion equipment exist in a plurality of expansion ports, slot indication information stored in a designated register of an associated adapter card is obtained to obtain target slot indication information, wherein the associated adapter card is an adapter card for connecting the mounted expansion ports and the expansion equipment mounted on the mounted expansion ports, the target slot indication information is generated based on the position of a positioning contact contacted with a metal copper exposure area of the associated adapter card in a first positioning contact group, and the target slot indication information is used for identifying the slot position of the expansion slot where the associated adapter card is mounted; by analyzing the target slot indication information, the expansion slots in which the associated adapter cards are arranged in the expansion slots are determined, the problem that the equipment slot identification method in the related technology has poor flexibility in equipment use is solved, and the equipment use flexibility is improved.
In some exemplary embodiments, the plurality of expansion slots are divided into a plurality of expansion slot groups, and the division of the expansion slot groups may be based on slot positions of the expansion slots. For example, the plurality of expansion slot groups may correspond to a plurality of bracket areas, and the plurality of bracket areas may be divided by dividing the structural bracket into a plurality of bracket portions, or may be divided into a plurality of expansion slot groups according to the slot positions of the expansion slots, and divided based on the slot positions of the expansion slots in each expansion slot group.
For example, as shown in fig. 2, PCIe1 to PCIe6 on the server may be divided into two expansion slot groups, where PCIe1 to PCIe3 are a group, PCIe4 to PCIe6 are a group, a location area on the structural support corresponding to PCIe1 to PCIe3 may be a support area (which may be a left support), and a location area corresponding to PCIe4 to PCIe6 may be a support area (which may be a right support).
For each first positioning contact set, it can be divided into a first sub positioning contact set for identifying the position of the corresponding expansion slot in the corresponding expansion slot group and a second sub positioning contact set for identifying the expansion slot group to which the corresponding expansion slot belongs. Accordingly, the slot indication information of one extended slot may be determined based on the position of the positioning contact allowed to contact the metal copper exposure area in the corresponding first sub-positioning contact set in the first sub-positioning contact set to which the positioning contact allowed to contact the metal copper exposure area in the corresponding second sub-positioning contact set in the second sub-positioning contact set to which the positioning contact allowed to contact the metal copper exposure area in the corresponding first sub-positioning contact set is located, and may be a positioning code, where the number of bits of the code is identical to the number of positioning contacts included in the corresponding first positioning contact set. The positioning contacts here are contacts for positioning the expansion slots, which can be realized by protruding contacts and non-protruding contacts.
Optionally, the positions of the metal copper exposure area of the adapter card installed on the expansion slot in the same expansion slot group and the positioning contact contacted by the corresponding first sub-positioning contact group in the first sub-positioning contact group are at least partially different, and the positions of the metal copper exposure area of the adapter card installed on the expansion slot in the same expansion slot group and the positioning contact contacted by the corresponding second sub-positioning contact group in the second sub-positioning contact group are the same. The positions of the metal copper exposure areas of the adapter cards arranged on the expansion slots in different expansion slot groups and the positioning contacts contacted by the corresponding second sub-positioning contact groups in the second sub-positioning contact groups are at least partially different. The extended slot may be uniquely identified by a combination of the first and second sub-set of locating contacts.
Optionally, the structural support may be fixed on a chassis of the electronic device, and the structural support is further provided with a plurality of second positioning contact sets corresponding to the plurality of expansion slot bit groups one by one, where, in the second sub positioning contact sets included in the first positioning contact set corresponding to each expansion slot bit group, a positioning contact used for contacting with a metal copper exposure area of the adapter card contacts with a chassis bottom of the chassis through a positioning contact in the second positioning contact set corresponding to each expansion slot bit group. The chassis and the internal support of the electronic equipment are both made of metal, and the electronic equipment is connected with the ground after being put on the support. The circuit in the circuit board inside the chassis is equivalent to grounding after being contacted with the chassis or the metal structural part, through the design, the positioning contacts used for being contacted with the metal copper exposure area of the adapter card are grounded through the positioning contacts (hereinafter referred to as effective positioning contacts) in the second positioning contact set corresponding to each expansion slot group (can be understood as a bracket area), so that the level of the contact position of the metal copper exposure area of the adapter card and the effective positioning contacts is different from the level of other positions, and the convenience of identifying the slot indication information is improved.
For example, the structural support plays a role of fixing and supporting, the Riser card is fixed on the side wall of the structural support, and the structural support is fixed on the chassis. For the structural support, when the Riser card is arranged on the side wall of the support, the metal reed or the contact point is in contact with the Riser card on the side wall of the support, the metal reed or the contact point is also in contact with the bottom of the case at the lower end of the side wall of the support, and the metal reed or the contact point on the support is used for providing position information.
As shown in fig. 7, the server has 6 PCIe slots, which are divided into left and right groups (3 PCIe slots per group) and distributed on left and right brackets (corresponding to the bracket areas described above). If the server system recognizes that there is a PCIe device plugged in, it needs to determine which slot in 1-6 the PCIe device is installed in. For this purpose, the column and row positioning of the expansion slot can be determined first, i.e. it is known at which position (column positioning) of the expansion slot on the structural support and whether the left support or the right support is located (row positioning).
Taking a left bracket as an example, PCIe 1-3 are arranged on the left bracket, and three dotted frames on the side wall of the bracket in FIG. 7 are the mounting positions of three Riser cards, corresponding to the three PCIe slots. The Riser card and PCIe slots in fig. 7 are in one-to-one correspondence, i.e., one PCIe slot on each Riser card. Here, the structural support has, in addition to the function of the conventional support, three sets of positioning contacts, namely, a Riser card column positioning contact (an example of a first sub-positioning contact set), a Riser card row positioning contact (an example of a second sub-positioning contact set), and a support row positioning contact (an example of a second positioning contact set), each set of positioning contacts having 3 bits (the number of slots of the positioning contacts can be increased or decreased as required, as long as the number of slots can be covered by the code).
The Riser card column alignment contacts have a total of three bits, column 1, column 2 and column 3, respectively, from left to right (indicating the position in a column). When the Riser card is installed in the PCIe1 position, contact column 1 (gray-marked positioning contact of the Riser card column positioning contacts in fig. 7) is in contact with the Riser card, and column 2 and column 3 (white-marked positioning contact of the Riser card column positioning contacts in fig. 7) contacts are not in contact with the Riser card; when the Riser card is installed in the PCIe2 position, contact column 2 is in contact with the Riser card and columns 1 and 3 are not in contact with the Riser card. When the Riser card is installed at different positions in the column direction, the contacted contacts are different and can be used as column identifiers of PCIe slot positions.
The Riser card row positioning contacts have a total of three bits, row 1, row 2 and row 3, respectively, from left to right. When a Riser card is installed at any one of the positions PCIe1, 2, 3, contact row 1 (grey marked ones of the Riser card row positioning contacts in fig. 7) is in contact with the Riser card, and row 2 and row 3 (white marked ones of the Riser card row positioning contacts in fig. 7) contacts are not in contact with the Riser card. Since the Riser cards in these 3 positions are all on the same shelf, their corresponding rows are identical (here, the left shelf is defined as row 1). The three PCIe slot rows 1 are all connected together and are connected with the bracket row positioning contacts.
The support row positioning contacts have three bits in total, namely row 1, row 2 and row 3 from left to right. When the bracket is mounted on the chassis, the bracket row positioning contacts will contact the chassis base. After the left bracket in fig. 7 is installed, the contact row 1 is in contact with the chassis base, and the contact rows 2 and 3 are not in contact with the chassis base. Thus, the structural supports are arranged at different positions in the row direction of the chassis base, and the row identifications of the contacts are different.
With the positioning contact configuration in this embodiment, the slot indication information stored in the designation register of the riser card mounted on each expansion slot is a positioning code generated based on the positioning contact point contacted by the metal copper exposure area of the riser card mounted on each expansion slot, that is, a positioning code generated based on the position of the positioning contact point contacted by the metal copper exposure area of the riser card mounted on each expansion slot in the belonging positioning contact point group.
In this embodiment, for each expansion slot, the corresponding slot indication information is fixed, and does not depend on the connection relationship with the expansion port or whether the adapter card is installed, so a code mapping table may be preconfigured to record the correspondence relationship between the expansion slot in the plurality of expansion slots and the corresponding positioning code. Correspondingly, through analyzing the target slot indication information, the extension slot in which the associated adapter card is installed in the plurality of extension slots is determined, and the method comprises the following steps: and inquiring a preset coding mapping table by using target slot indication information, and determining the inquired expansion slot as the expansion slot on which the associated adapter card is installed.
Alternatively, for each riser card, after the riser card is mounted to the corresponding expansion slot, the slot indication information required to be stored can be determined, and thus, the slot indication information can be determined and stored in the designated register at any time after the riser card is mounted to the expansion slot.
For example, the Riser card not only provides a function of connecting the PCIe peripheral device with the PCIe port of the CPU, but also converts the position information on the structural support into a digital signal through a circuit and sends the digital signal to the slot identification system, and the slot identification system can determine the slot position where the PCIe peripheral device is located through the position information. When the Riser cards are installed at the positions of PCIe 1-6 slots, the corresponding positioning codes of each Riser card can be determined. The encoded information for the 6 PCIe slots on the server may be stored in a slot code mapping table as shown in table 1.
TABLE 1
As can be seen from Table 1, PCIe slots are in one-to-one correspondence with the rank locating codes of the slots. The PCIe slot position of the Riser card can be known only by the identification system acquiring the positioning code transmitted by the Riser card, so that the position of the PCIe peripheral device arranged on the Riser card is known.
Through this embodiment, through the extension slot group that different positioning contact group identification adapter card was installed to belongs to and the position in the extension slot group that belongs to, can conveniently carry out extension slot location, improve extension slot identification's convenience and accuracy.
In some exemplary embodiments, the first set of positioning contacts of the plurality of first positioning contact sets corresponding to the associated riser card is an associated positioning contact set, and the metallic copper-exposed area of the associated riser card includes a set of first contact points for contacting positioning contacts of a first subset of the associated positioning contact sets, and a set of second contact points for contacting positioning contacts of a second subset of the associated positioning contact sets. For the associated riser card, it may determine slot position information corresponding to the associated expansion slot, i.e., target slot position information, after being mounted to the associated expansion slot, and store the determined target slot position information in a designated register thereon. The steps described above may be performed by a processing chip associated with the transit card. Alternatively, the processing chip may be an IO Expander chip, and the register is designated as an IO Expander register.
The processing chip may include a first set of pins corresponding to a first sub-set of positioning contacts in the associated set of positioning contacts, which may be connected to a first set of contact points, and a second set of pins corresponding to a second sub-set of positioning contacts in the associated set of positioning contacts, which may be connected to a second set of contact points. Because the level of the positioning contact contacted with the metal copper exposure area of the associated adapter card is different from the level of the positioning contact not contacted with the metal copper exposure area of the associated adapter card, the pin level of the first pin, which is contacted with the corresponding positioning contact, of the connected first contact point is different from the pin level of the first pin, which is not contacted with the corresponding positioning contact, of the connected first contact point; for a set of second pins, the pin level of the second pin of the connected second contact point in contact with the corresponding positioning contact point is different from the pin level of the second pin of the connected second contact point not in contact with the corresponding positioning contact point.
In this embodiment, the extended slot group to which the associated extended slot belongs may be determined according to the pin levels of different second pins in the set of second pins, and the position of the associated extended slot in the extended slot group to which the associated extended slot belongs may be determined based on the pin levels of different first pins in the set of first pins, so as to implement slot identification. Correspondingly, before the slot indication information stored in the designated register of the associated transit card is acquired, the method further comprises the steps of: determining, by the processing chip, a set of pin levels of the first pin and a set of pin levels of the second pin; and generating target slot indicating information according to the pin level of the first pin and the pin level of the second pin.
For example, the Riser card not only provides the function of connecting the PCIe peripheral device to the CPU PCIe port, but also converts the location information on the structural support into a digital signal through a circuit and sends the digital signal to the identification system. When the Riser card is arranged on the support, a metal copper exposure area exists at a position on the PCB corresponding to the row-column contact on the support, and after the metal copper exposure area contacts with the support contact, a closed loop is formed between the metal copper exposure area and a related circuit group on the Riser card, so that position information is converted into a digital coding signal and sent to the identification system. The server case and the internal support are both made of metal, the server is connected with the ground after being put on the shelf, and the circuit board in the case is equivalent to the ground after being contacted with the case or the metal structural part.
In combination with the identification circuit in the Riser card shown in fig. 8, when the Riser card is installed at the PCIe1 to 6 slot positions, pin levels of the IO Expander chip on the Riser card are different, and coding information read through the I2C (Inter-INTEGRATED CIRCUIT, integrated circuit bus) is also different. The encoded information for the 6 slots on the server is shown in table 1.
When the Riser card is mounted at the uppermost PCIe slot position of the left bracket, pins Pin1 and Pin4 of the Riser card circuit IO Expander are in contact with a Riser card column positioning contact_column 1 and a Riser card row positioning contact_row1 on the structural bracket, the pins are equivalent to the ground, the level is pulled down, and the level is still high due to the existence of a pull-up resistor in other bits. If the Riser card is installed at the middle position of the right bracket, pins Pin2 and Pin5 of the Riser card circuit IO Expander are contacted with a Riser card column positioning contact_column 2 and a Riser card row positioning contact_row2 on the structural bracket, the pins are equivalent to the ground, the level is pulled down, and the level of other bits is still high due to the existence of a pull-up resistor. Thus, when the Riser is mounted on the structural support, the pin level of the IO Expander chip in the Riser card changes. The level change is transmitted as digital information to a slot identification system through an I2C bus to carry out slot identification. The slot recognition system herein may be a system that performs device slot recognition, which may be the aforementioned management system.
Here, the position identifier (i.e., position information) is automatically formed according to the positions where the Riser card and the structural support are installed, and the position identifier is converted into digital code information through a designed circuit (as shown in fig. 8), and the slot identification system completes automatic identification of the PCIe slot through the code information. The structural support and the Riser card in the scheme can be arranged at any position of the design, and PCIe ports on the main board can be connected to any PCIe slots according to actual needs without fixing, so that the server is very flexible to use. Meanwhile, the Riser card and the structural support can be used at any PCIe slot position without one PCIe slot position, and as only one Riser card and one structural support are needed, the production and the installation are convenient, the production cost is saved, and the boring and stagnation problem caused by excessive materials is avoided.
Through this embodiment, through setting up the pin that corresponds with different sub-location contact sets to carry out the slot identification based on the pin level that detects, can improve convenience and the efficiency of slot identification.
In some example embodiments, determining that there is a mounted expansion port of the mounted expansion devices in the plurality of expansion ports may be at any desired time. Alternatively, in this embodiment, each expansion port in the plurality of expansion slots may be scanned by a BIOS (Basic Input/Output System) to determine whether an expansion device is mounted on each expansion port when the electronic device is turned on.
For example, after the server is powered on, the BIOS may scan all PCIe ports of the CPU for mounted PCIe devices.
According to the embodiment, the expansion slot position on which the expansion equipment is mounted is detected when the equipment is started, so that the expansion equipment can be conveniently and conveniently used based on the slot position identification result in the running process of the equipment, and the timeliness of information acquisition is improved.
In some exemplary embodiments, the expansion port and the riser card mounted on the expansion slot may be connected by a sideband signal bus. Correspondingly, for a scenario that a mounted expansion port of the mounted expansion device exists in the plurality of expansion ports, slot indication information stored in a designated register of the associated adapter card is obtained, and target slot indication information is obtained, including: accessing a designated register of the associated transit card through a sideband signal bus of the mounted expansion port to acquire slot indication information stored in the designated register of the associated transit card, thereby acquiring target slot indication information.
The sideband signal bus described above may be a bus for transmitting sideband signals between an expansion port and a riser card, the sideband signals being signals for transmitting specific information between devices, these signals typically being used to assist a primary communication protocol. The sideband signal buses used may be the same or different for different expansion ports and riser card types, and may include, but are not limited to, at least one of the following: I2C, I3C (Improved I2C, improved integrated circuit bus) may also include other buses, which are not limited in this embodiment.
For example, the IO Expander register on the corresponding Riser card may be accessed through a sideband signal bus of the PCIe port on which the PCIe device is mounted, thereby reading the location encoding information stored therein.
According to the embodiment, the appointed register of the transfer card is accessed through the sideband signal bus to acquire the slot indication information stored in the appointed register, so that the influence of slot identification on the operation of the electronic equipment can be reduced, and the performance of the operation of the equipment is improved.
In some exemplary embodiments, determining whether an expansion port of the mounted expansion device exists may be performed by the BIOS, acquiring the slot indication information may be performed by the BMC (Baseboard Management Controller ), and in this manner, slot identification may be performed by the BMC without affecting operation of the main operating system, in which case the foregoing slot identification system may be operated by the BMC.
Correspondingly, for the case that the mounted expansion port of the mounted expansion device exists in the expansion ports, accessing the designated register of the associated transit card through the sideband signal bus of the mounted expansion port comprises: sending a notification message to the baseboard management controller through the basic input output system; in response to receiving the notification message, the designated register of the first riser card is accessed by the baseboard management controller via the sideband signal bus of the mounted expansion port. The notification message may be used to notify the baseboard management controller to access a designated register of the associated riser card, which may be a specific instruction that may be sent to the BMC via an interrupt signal.
For example, if a device mounted on a PCIe port is scanned, the BIOS informs the BMC to access the IO Expander register on the corresponding Riser through the sideband signal bus of the PCIe port. The BMC acquires the coding information stored in the IO Expander register on the corresponding Riser card and compares the coding information with the mapping table shown in the table 1, so that the PCIe slot bit installed by the corresponding Riser card is obtained.
According to the embodiment, when the existence of the expansion port on which the expansion device is mounted is detected, the BMC performs slot identification without affecting the operation of the main operating system, so that the influence of the slot identification on the operation of the electronic device can be reduced, and the operation performance of the device is improved.
In some exemplary embodiments, the sideband signal bus used to access the expansion card's designated registers may be an integrated circuit bus, which may allow for other signals transmitted on the electronic device (the integrated circuit bus may transmit multiple signals), while allowing for existing device versions, reducing device upgrade costs.
Correspondingly, for the case that the mounted expansion port of the mounted expansion device exists in the expansion ports, accessing the designated register of the associated transit card through the sideband signal bus of the mounted expansion port comprises: the designated registers of the associated riser card are accessed via the integrated circuit bus on which the expansion port has been mounted.
For example, the BIOS informs the BMC to access the IO Expander register on the corresponding Riser card via the I2C bus on which the PCIe port of the device is mounted.
Through the embodiment, the appointed register of the transfer card is accessed through the integrated circuit bus, other signals transmitted on the electronic equipment can be considered, the existing equipment version is considered, the equipment upgrading cost can be reduced, and the compatibility of slot identification is improved.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present application.
In another aspect of the embodiment of the present application, an electronic device is further provided, where the electronic device is configured to implement the foregoing embodiments and preferred implementations, and the description is omitted herein. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
In this embodiment, the electronic device includes a processing unit and a structural support, where the processing unit includes a plurality of expansion ports, the structural support has a plurality of expansion slots, an adapter card is installed on an expansion slot of the plurality of expansion slots, the expansion ports of the plurality of expansion ports are used to connect the expansion device installed on the expansion port of the plurality of expansion ports through the adapter card installed on a corresponding expansion slot of the plurality of expansion slots, the structural support has a plurality of first positioning contact sets corresponding to the plurality of expansion slots, and positions of metal copper exposure areas of the adapter card installed on different expansion slots of the plurality of expansion slots are at least partially different from positions of positioning contacts contacted by the corresponding first positioning contact sets in the corresponding first positioning contact sets. The component for performing device slot identification may be an execution component of the electronic device, where the execution component may be the aforementioned processing component, or may be another component independent of the processing component (for example, the processing component is a CPU, and the execution component is a BMC). Correspondingly, step S602 and step S604 in the foregoing embodiments may be performed by the execution means.
For the executing component, the executing component can be used for acquiring the slot indication information stored in the designated register of the associated transit card under the condition that the mounted expansion ports of the mounted expansion equipment exist in the plurality of expansion ports to obtain target slot indication information, wherein the associated transit card is a transit card for connecting the mounted expansion ports and the mounted expansion equipment mounted on the mounted expansion ports, and the target slot indication information is generated based on the position of a positioning contact contacted with a metal copper exposure area of the associated transit card in a first positioning contact group to which the positioning contact is attached, and is used for identifying the slot position of an expansion slot where the associated transit card is mounted; and analyzing the target slot indication information to determine the extension slot in which the associated adapter card is arranged in the plurality of extension slots.
According to the embodiment, under the condition that mounted expansion ports of mounted expansion equipment exist in a plurality of expansion ports, slot indication information stored in a designated register of an associated adapter card is obtained, and target slot indication information is obtained, wherein the associated adapter card is an adapter card for connecting the mounted expansion ports and the expansion equipment mounted on the mounted expansion ports, the target slot indication information is generated based on the position of a positioning contact contacted with a metal copper exposure area of the associated adapter card in a first positioning contact group, and the target slot indication information is used for identifying the slot position of the expansion slot where the associated adapter card is mounted; by analyzing the target slot indication information, the expansion slots in which the associated adapter cards are arranged in the expansion slots are determined, the problem that the equipment slot identification method in the related technology has poor flexibility in equipment use is solved, and the equipment use flexibility is improved.
In some exemplary embodiments, the plurality of expansion slots are divided into a plurality of expansion slot groups, each first positioning contact group of the plurality of first positioning contact groups is divided into a first sub-positioning contact group and a second sub-positioning contact group, the first sub-positioning contact group of each first positioning contact group is used for identifying the position of the corresponding expansion slot in the corresponding expansion slot group, the second sub-positioning contact group of each first positioning contact group is used for identifying the expansion slot group to which the corresponding expansion slot belongs, the metal exposure area of the switching card mounted on the expansion slot in the same expansion slot group is at least partially different from the position of the positioning contact in the corresponding first sub-positioning contact group, the metal exposure area of the switching card mounted on the same expansion slot group is the same as the position of the positioning contact in the corresponding second sub-positioning contact group, the metal exposure area of the switching card mounted on the different expansion slot groups is at least partially different from the position of the metal exposure area of the switching card mounted on the corresponding second sub-positioning contact group, and each contact of the contact in the different expansion slot groups is coded based on the position of the metal exposure area of the switching card mounted on the second sub-positioning contact group.
Optionally, the executing unit is further configured to query a preset coding mapping table by using the target slot indication information, and determine the queried extension slot as the extension slot in which the associated adapter card is installed, where the coding mapping table is used to record a correspondence between the extension slot in the plurality of extension slots and the corresponding positioning code.
In some exemplary embodiments, among the plurality of first positioning contact sets, the first positioning contact set corresponding to the associated riser card is an associated positioning contact set, the associated riser card includes a processing chip including a set of first pins connected to a set of first contact points on the metal copper-exposed area of the associated riser card for contacting positioning contacts in a first sub-positioning contact set of the associated positioning contact sets, and a set of second pins connected to a set of second contact points on the metal copper-exposed area of the associated riser card for contacting positioning contacts in a second sub-positioning contact set of the associated positioning contact sets.
Optionally, the processing chip determines a pin level of a set of first pins and a pin level of a second pin, wherein in the set of first pins, the pin level of a first pin of a connected first contact point contacting a corresponding positioning contact is different from the pin level of a first pin of a connected first contact point not contacting a corresponding positioning contact, and the pin level of a second pin of a connected second contact point contacting a corresponding positioning contact is different from the pin level of a second pin of a connected second contact point not contacting a corresponding positioning contact; and generating target slot indicating information according to the pin level of the first pin and the pin level of the second pin.
In some exemplary embodiments, the structural support is fixed on a chassis of the electronic device, and the structural support is further provided with a plurality of second positioning contact sets corresponding to the plurality of expansion slot bit groups one by one, wherein the positioning contact for being in contact with the metal copper exposure area of the riser card is in contact with the chassis bottom of the chassis through the positioning contact in the second positioning contact set corresponding to each expansion slot bit group in the second sub positioning contact set included in the first positioning contact set corresponding to each expansion slot bit group in the plurality of expansion slot bit groups.
In some exemplary embodiments, the executing unit is further configured to, when there is a mounted expansion port of the mounted expansion devices in the plurality of expansion ports, access a designated register of the associated riser card via a sideband signal bus of the mounted expansion port to obtain slot indication information stored in the designated register of the associated riser card, and obtain target slot indication information.
In some exemplary embodiments, the electronic device has a basic input output system running thereon, and the execution component is a baseboard management controller; the basic input/output system is used for sending a notification message to the baseboard management controller under the condition that the mounted expansion ports of the mounted expansion equipment exist in the expansion ports, wherein the notification message is used for notifying the baseboard management controller to access a designated register of the associated transfer card; and the baseboard management controller is used for responding to the received notification message and accessing the designated register of the first transit card through the sideband signal bus of the mounted expansion port.
In some exemplary embodiments, the execution means is further for accessing, in the presence of a mounted expansion port of the mounted expansion device of the plurality of expansion ports, a designated register of the associated riser card via an integrated circuit bus of the mounted expansion port.
In some exemplary embodiments, a basic input output system is operated on the electronic device, wherein the basic input output system is used for scanning each expansion port in the plurality of expansion slots to determine whether the expansion device is mounted on each expansion port when the electronic device is started.
In some exemplary embodiments, the electronic device is a server, the processing component is a central processing unit, the expansion ports of the plurality of expansion ports are PCIe ports, the expansion slots of the plurality of expansion slots are PCIe slots, and the riser cards installed on the expansion slots of the plurality of expansion slots are PCIe riser cards.
It should be noted that each of the above modules may be implemented by software or hardware, and for the latter, it may be implemented by, but not limited to: the modules are all located in the same processor; or the above modules may be located in different processors in any combination.
In still another aspect of the embodiment of the present application, a structural support is provided, and the structural support is used to implement the foregoing embodiment and the preferred implementation manner, and is not described in detail.
In one exemplary embodiment, the structural support is used for fixing adapter cards mounted on a plurality of expansion slots on the structural support and expansion devices mounted through the adapter cards mounted on the plurality of expansion slots; the structure support is provided with a plurality of first positioning contact sets corresponding to the plurality of expansion slots, and the positions of the positioning contacts used for being contacted with the metal copper exposing area of the adapter card installed on the corresponding expansion slots in different first positioning contact sets in the plurality of first positioning contact sets are at least partially different.
Specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the exemplary implementation, and this embodiment is not described herein.
In still another aspect of the embodiment of the present application, an adapter card is provided, and the adapter card is used to implement the foregoing embodiment and the preferred implementation manner, and is not described again.
In one exemplary embodiment, the adapter card is used for being installed on an expansion slot on a structural support of the electronic device, and is connected with an expansion port on a processing component of the electronic device and the expansion device installed on the expansion slot for mounting through the adapter card; the transfer card is provided with a metal copper exposure area, wherein the metal copper exposure area is used for being contacted with a positioning contact in a first positioning contact set on a structural support of the electronic equipment, and is also used for generating slot position indication information based on the position in the first positioning contact set of the positioning contact contacted by the metal copper exposure area and storing the generated slot position indication information into a designated register of the transfer card.
Specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the exemplary implementation, and this embodiment is not described herein.
According to a further aspect of the embodiments of the present application, there is also provided a computer readable storage medium comprising a stored program, wherein the program when run performs the steps of any of the method embodiments described above.
In one exemplary embodiment, the above-described computer-readable storage medium may include, but is not limited to, at least one of: a usb disk, a RAM (Random Access Memory), a ROM (Read-Only Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media in which a computer program can be stored.
According to a further aspect of embodiments of the present application there is also provided an electronic device comprising a memory in which a computer program is stored and a processor arranged to perform the steps of any of the method embodiments described above by means of the computer program.
In an exemplary embodiment, the electronic device may further include a transmission device connected to the processor, and an input/output device connected to the processor.
Specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the exemplary implementation, and this embodiment is not described herein.
According to yet another aspect of an embodiment of the present application, a computer program product is provided, comprising a computer program/instruction containing program code for performing the method shown in the flow chart. In such an embodiment, referring to fig. 9, the computer program can be downloaded and installed from the network through the communication section 909 and/or installed from the removable medium 911. When the computer program is executed by the central processor 901, various functions provided by the embodiments of the present application are performed. The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
Referring to fig. 9, fig. 9 is a block diagram of a computer system of an alternative electronic device according to an embodiment of the application. Fig. 9 schematically shows a block diagram of a computer system of an electronic device for implementing an embodiment of the application. As shown in fig. 9, the computer system 900 includes a central processing unit 901 (Central Processing Unit, CPU) that can perform various appropriate actions and processes according to a program stored in a Read-Only Memory 902 (ROM) or a program loaded from a storage portion 908 into a random access Memory 903 (Random Access Memory, RAM). In the random access memory 903, various programs and data required for system operation are also stored. The cpu 901, the rom 902, and the ram 903 are connected to each other via a bus 904. An Input/Output interface 905 (i.e., an I/O interface) is also connected to bus 904.
The following components are connected to the input/output interface 905: an input section 906 including a keyboard, a mouse, and the like; an output portion 907 including a speaker and the like, such as a Cathode Ray Tube (CRT), a Liquid crystal display (Liquid CRYSTAL DISPLAY, LCD), and the like; a storage portion 908 including a hard disk or the like; and a communication section 909 including a network interface card such as a local area network card, a modem, or the like. The communication section 909 performs communication processing via a network such as the internet. The drive 910 is also connected to the input/output interface 905 as needed. A removable medium 911 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is installed as needed on the drive 910 so that a computer program read out therefrom is installed into the storage section 908 as needed.
In particular, the processes described in the various method flowcharts may be implemented as computer software programs according to embodiments of the application. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from the network via the communication portion 909 and/or installed from the removable medium 911. When executed by the central processor 901, performs various functions defined in the system of the present application.
It should be noted that, the computer system 900 of the electronic device shown in fig. 9 is only an example, and should not impose any limitation on the functions and the application scope of the embodiments of the present application.
It will be appreciated by those skilled in the art that the modules or steps of the embodiments of the application described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may be implemented in program code executable by computing devices, so that they may be stored in a memory device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than what is shown or described, or they may be separately fabricated into individual integrated circuit modules, or a plurality of modules or steps in them may be fabricated into a single integrated circuit module. Thus, embodiments of the application are not limited to any specific combination of hardware and software.
The above is only a preferred embodiment of the present application and is not intended to limit the embodiment of the present application, and various modifications and variations can be made to the embodiment of the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the principle of the embodiments of the present application should be included in the protection scope of the embodiments of the present application.
Claims (15)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202411213459.XA CN118708035B (en) | 2024-08-30 | 2024-08-30 | Equipment slot position identification method, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202411213459.XA CN118708035B (en) | 2024-08-30 | 2024-08-30 | Equipment slot position identification method, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN118708035A CN118708035A (en) | 2024-09-27 |
CN118708035B true CN118708035B (en) | 2024-11-08 |
Family
ID=92818931
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202411213459.XA Active CN118708035B (en) | 2024-08-30 | 2024-08-30 | Equipment slot position identification method, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118708035B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112306938A (en) * | 2020-10-27 | 2021-02-02 | 苏州浪潮智能科技有限公司 | Hot plug method and device for OCP card and multi-host card |
CN114979905A (en) * | 2021-02-22 | 2022-08-30 | 华为技术有限公司 | Wireless audio equipment assembly, communication method and device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020062075A1 (en) * | 2018-09-28 | 2020-04-02 | Intel Corporation | Error reporting in link extension devices |
CN209281382U (en) * | 2018-12-07 | 2019-08-20 | 东莞立华海威网联科技有限公司 | The extension of more expansion slot is multiplexed PCIE bus control system |
TWI767392B (en) * | 2020-11-04 | 2022-06-11 | 英業達股份有限公司 | SYSTEM AND METHOD FOR AUTOMATIC ALLOCATING PCIe BANDWIDTH |
-
2024
- 2024-08-30 CN CN202411213459.XA patent/CN118708035B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112306938A (en) * | 2020-10-27 | 2021-02-02 | 苏州浪潮智能科技有限公司 | Hot plug method and device for OCP card and multi-host card |
CN114979905A (en) * | 2021-02-22 | 2022-08-30 | 华为技术有限公司 | Wireless audio equipment assembly, communication method and device |
Also Published As
Publication number | Publication date |
---|---|
CN118708035A (en) | 2024-09-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA1327410C (en) | Dual personal computer architecture peripheral adapter board and circuit | |
US5163833A (en) | Dual personal computer architecture peripheral adapter board | |
US8176207B2 (en) | System debug of input/output virtualization device | |
US7433983B2 (en) | Method for supporting riser card by basic input/output system | |
CN111289922B (en) | Cable plugging detection method and related equipment | |
CN114860271A (en) | PXE starting method, system and device and readable storage medium | |
CN118568032A (en) | Information sending method and device, storage medium and electronic equipment | |
CN116737640A (en) | Information acquisition method, device, equipment and storage medium | |
US11308002B2 (en) | Systems and methods for detecting expected user intervention across multiple blades during a keyboard, video, and mouse (KVM) session | |
CN118708035B (en) | Equipment slot position identification method, electronic equipment and storage medium | |
CN100498731C (en) | Method for supporting vertical card by basic input output system | |
CN117369903A (en) | Configuration processing method, device, equipment and storage medium of target equipment | |
CN113468027B (en) | Monitoring device address management method and device, substrate management controller and equipment | |
CN116303200A (en) | PCIE device location management method, system, terminal and storage medium | |
CN116166855A (en) | Hard disk serial number recognition method and device | |
CN115269344A (en) | Back plate hard disk lighting method, device and equipment | |
CN114116027A (en) | Method, system, terminal and storage medium for automatically installing drive for PCIE equipment | |
CN102073510A (en) | high density server | |
CN113760810A (en) | Information processing method, information processing device, equipment and storage medium | |
CN118295945B (en) | Bandwidth allocation method, mainboard, device, storage medium and program product | |
US20050160207A1 (en) | Computing apparatus including a hardware management add-on card | |
CN117667818B (en) | Signal transmission structure, server and signal transmission method | |
CN116955264A (en) | Communication connection establishment method and device, storage medium, electronic equipment | |
CN119807106A (en) | Expansion card circuit and communication method insertable into external device | |
CN118689810A (en) | Method, device and equipment for transmitting location information of high-speed serial bus equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |