Server equipment location positioning method and device, server and medium

Through the design of the server board, the communication link expansion switch and connector identification information are used, and the device information is obtained in combination with in-band scanning, and the server device location is automatically identified and displayed, which solves the time-consuming, labor-intensive and poor compatibility of manual writing of information in the prior art. The problem of automatic positioning and display is realized, saving manpower and reducing error rate.

CN119200761APending Publication Date: 2024-12-27INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 11 Cited by

Patent Information

Application Number
CN202411307380.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-19
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

After assembly, existing server systems need to manually write on-site replacement unit information, which is time-consuming and labor-intensive and error-prone, and cannot be compatible with multiple configurations, resulting in large labor investment and high error rate.

Method used

Through the design of the server board, the communication link expansion switch is used to obtain the silkscreen information list of external devices, combine the connector identification information and the preset correspondence list to automatically identify the device location, and obtain the device information through in-band scanning to construct physical information. Implement automatic positioning and display.

Benefits of technology

There is no need to burn on-site replacement unit information after the hardware board is assembled. It is compatible with various server configurations and automatically recognizes the device location. It is simple and efficient, avoids manual operation errors and saves manpower.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119200761A_ABST
    Figure CN119200761A_ABST
Patent Text Reader

Abstract

The invention discloses a server equipment location positioning method and device, a server and a medium, and relates to the technical field of server configuration. The method is applied to a server board card, and comprises the following steps: acquiring field replaceable unit information on external equipment to obtain corresponding silk-screen information lists when slots on the external equipment are connected with different channels of a switch, and determining case silk-screen positions of the slots on the equipment according to the silk-screen information lists; determining a communication bus interface correspondingly connected with each slot on the external equipment from a preset corresponding relation list according to connector identification information transmitted by the mainboard through the connector; equipment information of a processing device on a mainboard is obtained through in-band scanning, and then entity information of server equipment under current configuration is constructed by utilizing the equipment information, information of a case silk-screen position and information of a communication bus interface so as to position the server equipment. Through the technical scheme of the invention, various server configurations are compatible, and the server equipment can be automatically identified and positioned.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of server configuration, and in particular to a method, device, server and medium for locating a server device position. Background Art

[0002] In order to meet the increasing needs of users, server systems often need to be equipped with a variety of external cards and storage hard disks. At present, the server chassis will design a chassis silk screen for each configured external card and hard disk. As the configuration of customer needs becomes more and more diverse, more and more customers require that the device information corresponding to the position of each chassis silk screen can be obtained in the user interface, including the physical location of each device in the chassis, the device's own information, and the upstream ports connected to each slot on the device. Therefore, how to accurately and automatically locate the physical location of the server device in the server's corresponding chassis, and correctly display the physical location of each device in the chassis, the device's own information, and the upstream ports connected to each slot on the device in the user interface are crucial to the current server design. Summary of the invention

[0003] In view of this, the purpose of the present invention is to provide a server device location positioning method, device, server and medium, which can accurately and automatically locate the physical location of the server device in the chassis corresponding to the server, and correctly display the chassis physical location of each device, the device's own information, and the uplink port connected to each slot on the device on the user interface. The specific scheme is as follows:

[0004] In a first aspect, the present application discloses a method for locating a server device, which is applied to a server card, wherein the server card includes a mainboard, an external device, a connector, and a communication link expansion switch, wherein the method includes:

[0005] Acquire, through the communication link expansion switch, field replaceable unit information transmitted by the connected external device through the connector, so as to obtain a list of silk screen information corresponding to each slot on the external device when connected to different channels of the communication link expansion switch, and determine the chassis silk screen position of each slot on the external device according to the silk screen information list;

[0006] Acquire connector identification information transmitted by the connector from the mainboard connected to the port expander on the external device through a cable, and determine the communication bus interface corresponding to each slot on the external device from a preset correspondence list according to the connector identification information;

[0007] The device information of the processing device on the mainboard is obtained through in-band scanning, and then the entity information of the server device under the current configuration is constructed using the device information, the information of the chassis silk screen position and the information of the communication bus interface, so as to locate the position of the server device according to the entity information.

[0008] Optionally, the acquiring, through the communication link expansion switch, field replaceable unit information transmitted by the connected external device through the connector includes:

[0009] Accessing the dual-channel communication arbiter in sequence based on the integrated circuit bus protocol through the processing device and the control device on the mainboard respectively, so as to open each channel under the communication link extension switch;

[0010] The first external device communication connector on the mainboard is connected to the second external device communication connector on the external device to obtain the field replaceable unit information transmitted by the external device connected to each channel.

[0011] Optionally, the acquiring connector identification information transmitted by the connector through the mainboard connected to the port expander on the external device through a cable, and determining, according to the connector identification information, from a preset correspondence list, the communication bus interface corresponding to each slot on the external device, including:

[0012] Acquire connector identification information transmitted by the mainboard connected to the port expander on the external device through a high-speed cable through a high-speed connector;

[0013] The connector identification information is transmitted to the first external device communication connector via the second external device communication connector, so that the control device on the mainboard can determine the communication bus interface corresponding to each slot on the external device from a preset correspondence list according to the connector identification information.

[0014] Optionally, the server device location positioning method further includes:

[0015] Configuring different pull-up and pull-down states for different physical connection interfaces on the high-speed connector to obtain different connector identification information;

[0016] The corresponding target high-speed connector is determined according to the connector identification information, and the connector identification information is corresponded to the communication bus interface corresponding to the processing device on the mainboard connected to the target high-speed connector, and then the preset correspondence list is generated based on the correspondence between the target high-speed connector, the connector identification information and the communication bus interface.

[0017] Optionally, acquiring the field replaceable unit information of the connected external device transmitted through the connector through the communication link expansion switch to obtain a list of silk screen information corresponding to each slot on the external device when connected to different channels of the communication link expansion switch, and determining the chassis silk screen position of each slot on the external device according to the silk screen information list, includes:

[0018] Acquire field replaceable unit information transmitted by the connected external card and / or storage hard disk through the integrated circuit bus connector through the communication link expansion switch to obtain a list of silk screen information corresponding to each slot on the external card and / or the storage hard disk when connected to different channels of the communication link expansion switch, and determine the chassis silk screen position of each slot on the external card and / or the storage hard disk according to the silk screen information list;

[0019] Correspondingly, the acquiring of connector identification information transmitted by the connector through the mainboard connected to the port expander on the external device through a cable, and determining, according to the connector identification information, from a preset correspondence list, the communication bus interface corresponding to each slot on the external device, including:

[0020] Obtain connector identification information transmitted by the mainboard connected to the port expander on the external card and / or the storage hard disk through a cable through the integrated circuit bus connector, and determine the communication bus interface corresponding to each slot on the external card and / or the storage hard disk from a preset correspondence list based on the connector identification information.

[0021] Optionally, acquiring device information of the processing device on the mainboard by in-band scanning, and then constructing entity information of the server device under the current configuration by using the device information, information of the screen printing position of the chassis, and information of the communication bus interface, so as to locate the position of the server device according to the entity information, includes:

[0022] Acquire device information of the processing device on the mainboard through in-band scanning, and then construct entity information of the server device under the current configuration using the device information, information of the screen printing position of the chassis, and information of the communication bus interface;

[0023] The entity information is displayed through a web page interface corresponding to a baseboard management controller, a system setting interface corresponding to a basic input and output system, and a computer management control program interface, and the server device is located according to the entity information.

[0024] In a second aspect, the present application discloses a server device location positioning device, which is applied to a server card, wherein the server card includes a mainboard, an external device, a connector, and a communication link expansion switch, wherein the method includes:

[0025] a chassis silk-screen position determination module, used to obtain, through the communication link expansion switch, field replaceable unit information transmitted by the connected external device through the connector, so as to obtain a list of silk-screen information corresponding to each slot on the external device when connected to different channels of the communication link expansion switch, and determine the chassis silk-screen position of each slot on the external device according to the silk-screen information list;

[0026] a communication bus interface determination module, configured to obtain connector identification information transmitted by the motherboard connected to the port expander on the external device through a cable through the connector, and determine the communication bus interface corresponding to each slot on the external device from a preset correspondence list according to the connector identification information;

[0027] A device information acquisition module, used for acquiring device information of processing devices on the mainboard through in-band scanning;

[0028] The device location positioning module is used to construct the entity information of the server device under the current configuration by using the device information, the information of the chassis silk screen position and the information of the communication bus interface, so as to locate the position of the server device according to the entity information.

[0029] In a third aspect, the present application discloses a server, which includes a server board, which includes a mainboard, an external device, a connector and a communication link expansion switch, and the server board also includes a processor and a memory; wherein the memory is used to store a computer program, and the computer program is loaded and executed by the processor to implement the server device location positioning method as described above.

[0030] Optionally, the mainboard connects the processing device on the mainboard to the first high-speed connector via a communication bus interface, and connects to the external device via a high-speed cable;

[0031] The external device connects a first external device communication connector on the external device to a port expander through an external device communication cable, and connects the port expander to a second high-speed connector on the external device, so that the control device on the mainboard determines the communication bus interface corresponding to each slot according to a preset correspondence list; the second high-speed connector is connected to the first high-speed connector through the high-speed cable;

[0032] The communication link expansion switch is connected to the processing device and the control device respectively through a dual-channel communication arbitrator, and each channel under the communication link expansion switch is connected to the first external device communication connector through a second external device communication connector to obtain field replaceable unit information of the external device; the second external device communication connector is located on the main board and is connected to the first external device communication connector through the external device communication cable.

[0033] In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program; wherein the computer program, when executed by a processor, implements the server device location positioning method as described above.

[0034] The present application provides a method for locating a server device, which is applied to a server board, wherein the server board includes a mainboard, an external device, a connector and a communication link expansion switch, wherein the method includes: obtaining field replaceable unit information transmitted by the external device through the connector through the communication link expansion switch to obtain a list of silk screen information corresponding to each slot on the external device when connected to different channels of the communication link expansion switch, and determining the chassis silk screen position of each slot on the external device according to the silk screen information list; obtaining connector identification information transmitted by the mainboard connected to the port expander on the external device through a cable through the connector, and determining the communication bus interface corresponding to each slot on the external device from a preset correspondence list according to the connector identification information; obtaining device information of a processing device on the mainboard through in-band scanning, and then using the device information, the information of the chassis silk screen position and the information of the communication bus interface to construct entity information of the server device under the current configuration, so as to locate the server device according to the entity information.

[0035] The beneficial technical effect of the present application is: through reasonable server board design, with different connection methods, it can automatically adapt to various configuration servers without changing the field replaceable unit information. After the server system is powered on, first, the chassis silk screen position of each slot on the external device can be identified according to the channel of the communication link expansion switch to which the external device is connected, so as to automatically and accurately obtain the corresponding relationship between each external device and the physical position of the chassis; secondly, a preset relationship list is reasonably defined, in which the corresponding relationship between the connector identification information corresponding to the connector on the mainboard and the communication bus interface is recorded, so that the uplink communication bus interface connected to the external device can be obtained according to the connector identification information corresponding to each slot read from the external device; finally, the device information of the processing device on the mainboard is obtained through in-band scanning, and the physical information of the server device under the current configuration is further constructed using the device information, the information of the chassis silk screen position and the information of the communication bus interface to realize the location of the server device. It can be seen that through the technical solution of the present application, there is no need to burn the field replaceable unit information after the server hardware board is assembled, but it is compatible with various server configurations; and the external device can be used in multiple positions, and the chassis silk screen position of each external device on the hardware board can be automatically identified by only defining the wiring method, which is simple and efficient and there is no need to worry about errors. Compared with the method of manually writing the field replaceable unit information to each board after the server is assembled, the step of manually writing the field replaceable unit information can be completely eliminated, which greatly saves manpower and also avoids problems such as errors that may be caused by manual operation.

[0036] In addition, the present application provides a server device location positioning apparatus, a server, and a medium, which correspond to the above-mentioned server device location positioning method and have the same effect as above. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0038] Figure 1 A flow chart of a method for locating a server device disclosed in this application;

[0039] Figure 2 A schematic diagram of a motherboard hardware design disclosed in this application;

[0040] Figure 3 A schematic diagram of a riser card hardware design disclosed in this application;

[0041] Figure 4 A schematic diagram of a hard disk backplane hardware design disclosed in this application;

[0042] Figure 5 A schematic diagram of the silk screen position information corresponding to each slot of a riser connected to different I2C SW channels disclosed in this application;

[0043] Figure 6 A schematic diagram of the silk-screen position information corresponding to each hard disk slot of a backplane connected to different I2C SW Channels disclosed in this application;

[0044] Figure 7 A schematic diagram of a preset correspondence list disclosed in this application;

[0045] Figure 8 This is a schematic diagram of information identification of a specific server device disclosed in this application;

[0046] Fig. 9 A schematic diagram of a rear window 10 card configuration and physical silk screen disclosed in this application;

[0047] Fig.10 A rear window 5-card configuration and physical silk-screen schematic diagram disclosed in this application;

[0048] Fig.11 A rear window 4GPU configuration and physical silk-screen schematic diagram disclosed in this application;

[0049] Fig.12 A schematic diagram of chassis silk screen identification of each riser slot in different configurations disclosed in this application;

[0050] Fig.13 A schematic diagram of the configuration and physical silk screen printing of 24 small plates on the front window disclosed in this application;

[0051] Fig.14 A schematic diagram of the chassis silk screen identification of each backplane slot under different configurations disclosed in this application;

[0052] Fig.15 A rear window 8-disc configuration and physical silk-screen schematic diagram disclosed in this application;

[0053] Fig.16 This is a schematic diagram of the structure of a server equipment location positioning device disclosed in this application;

[0054] Fig.17 A schematic diagram of a server board connection relationship disclosed in this application;

[0055] Fig.18 This is a server structure diagram disclosed in this application. DETAILED DESCRIPTION

[0056] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0057] With the increase in cloud services, big data, artificial intelligence and other business types, users have more and more configuration requirements for core computing platforms. Customers often require servers to be compatible with multiple configurations to support business types in different scenarios. In order to meet the increasing needs of users, server systems often need to be equipped with multiple external cards and storage hard disks, such as network cards, GPUs (Graphics Processing Units), DPUs (Data Processing Units), RAID (Redundant Arrays of Independent Disks) cards, HBA (Host Bus Adapter) cards and multiple hard disks. At present, the server chassis will design chassis silk screens for each configured PCIE (Peripheral Component Interconnect Express) external card and hard disk. The chassis physical silk screen is usually formulated in a certain order to indicate the location of the PCIE card for easy installation and maintenance; the chassis physical silk screen can be printed on the chassis structure or affixed to the structure using labels. Usually, according to the position of the chassis, the physical silk screen of the chassis will be printed in increasing order from left to right and from top to bottom to indicate the silk screen of the external cards and hard disks; for example, you can usually see the structural parts on the rear window / front window of the server marked with PCIe0, PCIe1, PCIe2..., and SSD0, SSD1, SSD..., etc., indicating the physical position of the external cards and hard disks, and the silk screen is different in different configurations.

[0058] As customer configuration requirements become more and more diverse, more and more customers require that the device information corresponding to the position of each chassis physical silk screen be obtained in the user interface, including the device information of the PCIE card / hard disk at the position of each physical chassis physical silk screen, the upstream CPU PCIE Port to which the device is connected, etc. How to correctly display the silk screen information and device information of all PCIE plug-in cards / hard disks in the user interface in different configurations is becoming increasingly important for improving the maintainability of the server and improving the customer's user experience.

[0059] At present, the method for determining the location of the external card / hard disk device in the server chassis is to assemble a server of a certain configuration, that is, assemble all the boards in the server chassis, including the mainboard, management board, riser adapter card, hard disk backplane, etc., and fix the positions of each riser adapter card and hard disk backplane. Then, connect to the server BMC (Baseboard Management Controller) through the server serial port, access the field replaceable unit (Field Replace Unit, FRU) on each riser adapter card / hard disk backplane through the BMC serial port, and manually write the chassis location information corresponding to different slots (slots) / hard disk slots on the riser / hard disk backplane under the current configuration to the FRU on each riser adapter card / hard disk backplane. After the server is powered on, the BMC / BIOS (Basic Input Output System) accesses the FRU on each riser / hard disk backplane to obtain the chassis location information corresponding to each PCIE slot / hard disk slot on each riser card / hard disk backplane.

[0060] The current method of manually writing chassis position information corresponding to different slots / hard disk slots on the riser / hard disk backplane under the current configuration into the FRU of each riser card / hard disk backplane with a fixed physical position after the server boards are assembled is time-consuming, labor-intensive and error-prone. Furthermore, if the riser / hard disk backplane is replaced after the writing is completed, the writing needs to be rewritten, which increases the manpower investment and is prone to errors.

[0061] To this end, the present application provides a server device location positioning solution, the purpose of which is to silk-screen each external device with the physical location of the chassis in a one-to-one correspondence in the user interface such as BMC / BIOS / OS (Operating System, Computer Management Control Program), and to display the physical location of the chassis of each device, the device's own information, the upstream port connected to each slot on the device, etc. under different front and rear window configurations on the user interface. For example, the location of PCIe0 under a certain configuration is displayed on the BMC web interface (WEB): "CPU0_PE5_PCIe0_MCX6_x8"; "CPU0_PE5" indicates that the device is connected to the PCIE Root Port of PCIE5 of the upstream CPU0; "PCIe0" indicates that the device is located at the physical location of PCIe0 in the chassis; "MCX6" is the specific device model of the device, and "x8" is the device bandwidth of the device.

[0062] The embodiment of the present invention discloses a method for locating a server device position. Figure 1 As shown, it is applied to a server card, and the server card includes a mainboard, an external device, a connector, and a communication link expansion switch. In a feasible implementation, the external device is illustrated by taking a riser card and / or a storage hard disk as an example. Therefore, the position of the server device is located by a reasonable hardware design of the server card of the mainboard, riser, and hard disk backplane.

[0063] First, in the server system, the CPU PCIE on the motherboard is connected to each riser card and each backplane through a high-speed connector, so that it can be connected to various PCIE cards / GPU devices through PCIE slots on the riser card and to each hard disk through hard disk slots on the backplane. The riser I2C connector on the motherboard is connected to each riser card through a riser I2C cable, and the backplane I2C connector on the motherboard is connected to the backplane through a backplane I2C cable. The CPU BIOS and BMC are connected to the communication link expansion switch I2C Switch through a dual-channel communication arbitrator. Each channel of the I2C Switch is connected to a riser I2C connector or a backplane I2C connector. Both the CPU BIOS and BMC can access each riser card and backplane through the I2C Switch.

[0064] The following describes the hardware board designs for the mainboard, riser card, and hard disk backplane.

[0065] like Figure 2 The figure shows a hardware design diagram of a mainboard provided in this embodiment, wherein the mainboard connects the processing device on the mainboard to the first high-speed connector via a communication bus interface, and is connected to the external device via a high-speed cable.

[0066] Specifically, the motherboard connects the CPU on the motherboard to each high-speed connector through PCIE, and the high-speed connector is connected to the Riser plug-in card and / or the hard disk backplane through a high-speed cable. The CPU and BMC (control device) on the motherboard are connected to two dual-channel communication arbiters through two I2C (Inter-Integrated Circuit, integrated circuit bus) channels, corresponding to Figure 2The dual-channel I2C host arbiter in the system. The dual-channel I2C host arbiter can avoid conflicts caused by two host maters accessing the slave device at the same time, ensuring that only one host accesses the slave device at the same time. The dual-channel I2C host arbiter can use chips such as PCA9641. Each dual-channel I2C host arbiter is connected to a communication link expansion switch (I2C switch) to expand the I2C links of multiple channels; each I2C link corresponding to each channel under the I2C switch is connected to a Riser I2C connector or a backplane I2C connector. The server system selects the number of Riser I2C connectors and backplane I2C connectors and selects I2C switch chips with different channel numbers according to actual needs. The second Riser I2C connector on the motherboard is connected to each Riser card through a Riser I2C cable, and the second backplane I2C connector on the motherboard is connected to the backplane through a backplane I2C cable.

[0067] like Figure 3 The schematic diagram of the hardware design of a riser card provided in this embodiment is shown. The external device connects the first external device communication connector on the external device to the port expander through an external device communication cable, and connects the port expander to the second high-speed connector on the external device, so that the control device on the mainboard determines the communication bus interface corresponding to each slot according to a preset correspondence list; the second high-speed connector is connected to the first high-speed connector through the high-speed cable.

[0068] Specifically, a first riser I2C connector is placed on the riser card, which is connected to the second riser I2C connector on the mainboard. The first riser I2C connector is also connected to the port expander (IO Expander), I2C switch, FRU (Field Replace Unit) and thermal sensor on the riser card. Multiple second high-speed connectors are placed on the riser, which are connected to different PCIE Slot slots. The PCIE slots can be inserted with different PCIE devices, such as network cards, GPUs, DPUs, RAID cards, HBA cards, etc. The second high-speed connector on the riser is connected to the first high-speed connector on the mainboard through a high-speed cable. When connected to different first high-speed connectors on the mainboard, the corresponding connector identification information (Connector ID) is different. Through the Connector ID, it can be known which first high-speed connector on the mainboard each second high-speed connector on the riser is connected to, and which upstream CPU PCIE PORT corresponds to. Since the BMC on the motherboard is connected to the IO Expander of the Riser card through the I2C connector, the BMC / BIOS can know which motherboard high-speed connector the upstream high-speed connector of each slot on the Riser is connected to, and then know the CPU PCIE PORT to which each slot is connected.

[0069] like Figure 4 The figure shows a hardware design schematic diagram of a hard disk backplane provided in this embodiment. Similar to the Riser, a first backplane I2C connector is also placed on the backplane, which is connected to the second backplane I2C connector on the mainboard. The first backplane I2C connector is respectively connected to the IO Expander, I2C SWITCH, FRU and thermal sensor, and CPLD (Complex Programmable Logic Device) on the backplane. The high-speed connectors on the backplane are also respectively connected to different hard disk slots, and the hard disk slots can be inserted with hard disk devices of different sizes, different capacities, and different manufacturers. The second high-speed connector on the backplane is connected to the first high-speed connector on the mainboard through a high-speed cable. The IOExpander on the backplane is still used to obtain which mainboard high-speed connector each hard disk slot on the backplane is connected to, and then to know which upstream CPU PCIE PORT each hard disk is connected to.

[0070] Secondly, the method for locating the position of a server device is applied to the server card disclosed in the above content. In the process of realizing the location of the server device, the server card of this embodiment performs the following steps:

[0071] Step S11: Obtain the field replaceable unit information of the connected external device transmitted through the connector through the communication link expansion switch to obtain a list of silk screen information corresponding to each slot on the external device when connected to different channels of the communication link expansion switch, and determine the chassis silk screen position of each slot on the external device according to the silk screen information list.

[0072] In the embodiment of the present application, the BMC / BIOS will first access the FRU chip on the external device to obtain the FRU information of the external device, thereby obtaining a list of all the silkscreen information of each slot on the external device when connected to various different I2C SW channels. According to the silkscreen information list, the chassis silkscreen position of each slot on the external device can be determined, such as the PCIe0 position in a certain configuration: "PCIe0" in "CPU0_PE5_PCIe0_MCX6_x8" is the chassis silkscreen position of the device located at the chassis PCIe0.

[0073] In a specific implementation, the FRU on the riser card stores the card number, card information, high-speed connector information on the riser, slot information on the riser, the corresponding information between the connector ID of each slot on the riser and the IOPORT of the IO Expander (that is, telling the BMC / BIOS which IO ports on the IOExpander are connected to the high-speed connector Connector ID of each slot, and the BMC / BIOS knows which CPU PCIE PORT each slot on the riser is connected to by reading the value of each connector ID on the IO Expander), and chassis silk screen information (all possible silk screen positions of each slot connected to different motherboard I2C SWChannels, and the BMC / BIOS confirms the silk screen position of each slot on the riser according to the motherboard I2C SW channel to which the riser is connected). Figure 5 The figure shows the silkscreen position information corresponding to each slot of the riser connected to different I2C SW channels. The table shows a set of FRU silkscreen information examples of 3 slot risers, 2 slot risers, 1 slot risers and 1 slot GPU risers commonly used in server systems. Each riser card may be connected to a different I2C SW channel under the motherboard. The table lists the silkscreen information corresponding to each slot on different risers. It should be understood that the specific application should cover all I2C SW channels that the riser may be connected to, and the slot silkscreen information of all slots under different I2C SW channels.

[0074] In addition, the BMC / CPU BIOS can access each PCIE plug-in card device through I2C SWITCH, and access the temperature sensor to obtain the temperature information of the riser card, and execute the corresponding cooling strategy based on the temperature information.

[0075] In another specific implementation, the FRU on the backplane is also used to store backplane information, including the backplane board number, board information, high-speed connector information on the backplane, information on each hard disk slot on the backplane, corresponding information between the Connector ID corresponding to each hard disk slot and the IO PORT of the IO Expander, and chassis silk screen information; the chassis silk screen information also includes the hard disk slot silk screen information of all hard disk slots under different I2C SW Channels when the backplane is connected to different I2C SW Channels.

[0076] like Figure 6 The following table shows an example of FRU silkscreen information for an 8-port hard disk backplane that is often used in a set of server systems. The backplane may be connected to different I2C SW Channels on the motherboard. This table lists the silkscreen information corresponding to each hard disk slot on the backplane. It should be understood that the specific application should cover all I2C SW Channels that the backplane may be connected to, and the slot silkscreen information of all hard disk slots under different I2C SW Channels.

[0077] It should be pointed out that after the server system is powered on, before obtaining the FRU of the external device, the BMC / BIOS accesses the dual-channel I2C arbiter in sequence through BMCI2C and CPU I2C, opens all channels such as channel 0, channel 1...channel n under I2C SWITCH in sequence, and accesses the riser card or backplane connected to different I2C SW channels. Specifically, the dual-channel communication arbiter is accessed in sequence based on the integrated circuit bus protocol through the processing device and the control device on the mainboard to open each channel under the communication link expansion switch; the first external device communication connector on the mainboard is connected to the second external device communication connector on the external device to obtain the field replaceable unit information transmitted by the external device connected to each channel.

[0078] Because each channel under the I2C SWITCH on the motherboard is connected to a Riser I2C connector or a backplane I2C connector, the BMC / BIOS opens each I2C Channel in turn and accesses the Riser card or backplane connected to the I2C SW Channel. During this process, the BMC / BIOS will match the motherboard I2C SW Channel number with the Riser / backplane attached to it, and obtain the motherboard I2C SW Channel number connected to each Riser / backplane; then the BMC / BIOS, based on the silkscreen information list in the FRU read from the Riser / backplane, obtains the chassis silkscreen corresponding to each slot on the Riser / backplane under this I2C SW Channel through the I2C SW Channel number.

[0079] It can be seen that the physical location of the chassis of each device can be accurately obtained through step S11.

[0080] Step S12: obtaining connector identification information transmitted by the connector of the motherboard connected to the port expander on the external device via a cable, and determining the communication bus interface corresponding to each slot on the external device from a preset correspondence list according to the connector identification information.

[0081] In the embodiment of the present application, the first high-speed connector on the motherboard configures different pull-up and pull-down states for a number of PINs (Physical Interface Connector) to indicate the connector identification information corresponding to different high-speed connectors. It should be noted that the connector identification information corresponds to the CPU PCIE PORT one by one.

[0082] Based on the connection relationship disclosed in the above embodiments, it can be known that the high-speed connector on the riser connects the corresponding ConnectorID PIN to the IO expander on the riser card, and the high-speed connector on the riser is connected to the high-speed connector of the motherboard through a cable. When connected to different motherboard high-speed connectors, the corresponding Connector ID is different. Since the IO expander on the riser card is also connected to the I2C connector on the motherboard through the I2C connector, the BMC can know which motherboard high-speed connector each slot upstream high-speed connector on the riser is connected to based on this connection, and determine the corresponding connector identification information. Then, according to the connector identification information, the CPU PCIE PORT to which each slot is connected is obtained from the preset correspondence list.

[0083] Similarly, the high-speed connector on the hard disk backplane connects the corresponding Connector ID PIN to the IO expander on the hard disk backplane. The high-speed connector on the hard disk backplane is connected to the high-speed connector on the motherboard through a cable. When connected to different motherboard high-speed connectors, the corresponding Connector ID is different. Since the IO expander on the hard disk backplane is also connected to the I2C connector on the motherboard through the I2C connector, the BMC can know which motherboard high-speed connector each slot upstream high-speed connector on the hard disk backplane is connected to based on this connection, and determine the corresponding connector identification information. Then, according to the connector identification information, the CPU PCIE PORT to which each hard disk slot is connected is obtained from the preset correspondence list.

[0084] Specifically, connector identification information transmitted by the high-speed connector of the mainboard connected to the port expander on the external device through a high-speed cable is obtained; the connector identification information is transmitted to the first external device communication connector through the second external device communication connector, so that the control device on the mainboard can determine the communication bus interface corresponding to each slot on the external device from a preset correspondence list according to the connector identification information.

[0085] It should be noted that the preset relationship list records the correspondence between the connector identification information corresponding to the connector on the motherboard and the communication bus interface. In a specific implementation process, the specific process of generating the preset correspondence list includes: configuring different pull-up and pull-down states for different physical connection interfaces on the high-speed connector to obtain different connector identification information; determining the corresponding target high-speed connector according to the connector identification information, and matching the connector identification information with the communication bus interface corresponding to the processing device on the motherboard connected to the target high-speed connector, and then generating the preset correspondence list based on the correspondence between the target high-speed connector, the connector identification information and the communication bus interface.

[0086] like Figure 7 The figure shows a specific example of the correspondence between the high-speed connector, the connector ID, and the connector upstream CPU PCIE PORT. It is understandable that the number of bits of the high-speed connector ID can be appropriately increased or decreased according to the CPU and the number of PCIE PORTs supported by the CPU, as long as the conn ID covers all different CPU PCIE PORTs.

[0087] In this way, the BMC / BIOS accesses the IO Expander on the Riser card / backplane and obtains the upstream CPU PCIE PORT connected to each slot on each Riser card / backplane based on the correspondence between the slot and the position of the corresponding Connector ID on the IO Expander stored in the FRU, as well as the correspondence list between the Connector ID and the CPU PCIE PORT.

[0088] It can be seen that through step S12, the uplink port connected to each slot on each device can be accurately known.

[0089] Step S13: Acquire device information of the processing device on the mainboard through in-band scanning, and then use the device information, the information of the chassis silk screen position and the information of the communication bus interface to construct the entity information of the server device under the current configuration, so as to locate the position of the server device according to the entity information.

[0090] In the embodiment of the present application, the BIOS will also scan the CPU BDF in-band to obtain BUS / Device / Function information. Among them, BUS refers to the bus number where the device is located, including the location information of the CPU PCIE PORT where the device is located; Device refers to the device, including device information such as device type and device bandwidth; Function refers to the function information of the device. The BIOS scans the BDF in-band and passes the information to the BMC, so that the BMC / BIOS will obtain the corresponding relationship between the device and the CPU PCIE PORT to which the device is connected.

[0091] Then the BMC / BIOS will match the Riser / backplane slot where the device is located with the chassis silkscreen number, the CPUPCIE PORT to which the device is connected, and the device information. The BMC can display the physical information of the server device under the current server system configuration in the BMC WEB interface, and the BIOS can display the physical information of the server device in the setup interface and OS interface.

[0092] Specifically, the device information of the processing device on the mainboard is obtained through in-band scanning, and then the entity information of the server device under the current configuration is constructed using the device information, the information of the silk-screen position of the chassis and the information of the communication bus interface; the entity information is displayed through a web page interface corresponding to a baseboard management controller, a system setting interface corresponding to a basic input and output system, and a computer management control program interface, and the server device is located according to the entity information.

[0093] It can be seen that the device information corresponding to each device can be accurately obtained through step S13.

[0094] The present application provides a method for locating a server device, which is applied to a server board, wherein the server board includes a mainboard, an external device, a connector and a communication link expansion switch, wherein the method includes: obtaining field replaceable unit information transmitted by the external device through the connector through the communication link expansion switch to obtain a list of silk screen information corresponding to each slot on the external device when connected to different channels of the communication link expansion switch, and determining the chassis silk screen position of each slot on the external device according to the silk screen information list; obtaining connector identification information transmitted by the mainboard connected to the port expander on the external device through a cable through the connector, and determining the communication bus interface corresponding to each slot on the external device from a preset correspondence list according to the connector identification information; obtaining device information of a processing device on the mainboard through in-band scanning, and then using the device information, the information of the chassis silk screen position and the information of the communication bus interface to construct entity information of the server device under the current configuration, so as to locate the server device according to the entity information.

[0095] The beneficial technical effect of the present application is: through reasonable server board design, with different connection methods, it can automatically adapt to various configuration servers without changing the field replaceable unit information. After the server system is powered on, first, the chassis silk screen position of each slot on the external device can be identified according to the channel of the communication link expansion switch to which the external device is connected, so as to automatically and accurately obtain the corresponding relationship between each external device and the physical position of the chassis; secondly, a preset relationship list is reasonably defined, in which the corresponding relationship between the connector identification information corresponding to the connector on the mainboard and the communication bus interface is recorded, so that the uplink communication bus interface connected to the external device can be obtained according to the connector identification information corresponding to each slot read from the external device; finally, the device information of the processing device on the mainboard is obtained through in-band scanning, and the physical information of the server device under the current configuration is further constructed using the device information, the information of the chassis silk screen position and the information of the communication bus interface to realize the location of the server device. It can be seen that through the technical solution of the present application, there is no need to burn the field replaceable unit information after the server hardware board is assembled, but it is compatible with various server configurations; and the external device can be used in multiple positions, and the chassis silk screen position of each external device on the hardware board can be automatically identified by only defining the wiring method, which is simple and efficient and there is no need to worry about errors. Compared with the method of manually writing the field replaceable unit information to each board after the server is assembled, the step of manually writing the field replaceable unit information can be completely eliminated, which greatly saves manpower and also avoids problems such as errors that may be caused by manual operation.

[0096] like Figure 8The figure shows a schematic diagram of information identification of a server device based on the content disclosed in the above embodiment. After the server system is powered on, the BMC / BIOS accesses the dual-channel I2C arbiter through the BMC I2C and CPU I2C in sequence, opens all channels such as channel 0, channel 1...channel n under the I2C SWITCH in sequence, and accesses the riser cards or backplanes respectively connected under different I2C SW channels. The BMC / BIOS first accesses the FRU chip on the riser card or backplane to obtain the FRU information of each riser card / backplane, so as to obtain a list of all silk-screen information of each slot on each riser card / backplane when connected to various different I2C SW channels. The BMC / BIOS also accesses the IO Expander on the riser card / backplane, and obtains the upstream CPU PCIE PORT connected to each slot on each riser card / backplane according to the corresponding relationship between the slot stored in the FRU and the position of the corresponding Connector ID on the IO Expander, and the corresponding relationship list between the Connector ID and the CPU PCIEPORT.

[0097] Because each channel under the I2C SWITCH on the motherboard is connected to a Riser I2C connector or a backplane I2C connector, the BMC / BIOS opens each I2C Channel in turn and accesses the Riser card or backplane connected to the I2C SW Channel. During this process, the BMC / BIOS will match the motherboard I2C SW Channel number with the Riser / backplane attached to it, and obtain the motherboard I2C SW Channel number connected to each Riser / backplane. Then, based on the silkscreen information list in the FRU read from the Riser / backplane in the previous step, the BMC / BIOS obtains the chassis silkscreen corresponding to each slot on the Riser / backplane under this I2C SW Channel through the I2C SW Channel number.

[0098] BIOS will also scan the CPU BDF in-band to obtain BUS / Device / Function information, where BUS refers to the bus number where the device is located, including the location information of the CPU PCIE PORT where the device is located; Device refers to the device, including device information such as device type and device bandwidth; Function refers to the function information of the device. BIOS scans BDF in-band and passes the information to BMC, so that BMC / BIOS will obtain the corresponding relationship between the device and the CPU PCIE PORT to which the device is connected.

[0099] Then the BMC / BIOS will match the Riser / backplane slot where the device is located with the chassis silk-screen number, the CPUPCIE PORT to which the device is connected, and the device information. In addition, the BMC can display the device information at each physical location under the current server system configuration, the device's upstream CPUPCIE PORT information, etc. on the BMC WEB interface, and the BIOS can display the device information at each physical location and the device's upstream CPUPCIE PORT information on the setup interface and OS interface.

[0100] It can be seen that through reasonable board hardware design of the motherboard, riser and hard disk backplane, and reasonable board FRU information definition, based on this hardware system, under different configurations, each riser / hard disk backplane and each riser I2C connector / backplane I2C connector on the motherboard are matched with different connection methods, and the server can automatically adapt to various configurations. After power-on, the BMC / BIOS can automatically and accurately obtain the corresponding relationship between each device and the physical position of the chassis, and correctly display the physical position of the chassis of each device and the device's own information in the user interface, and display the uplink CPU PCIE Port and other information connected to the device according to the motherboard connector ID corresponding to each riser slot / hard disk slot read in the FRU. The silk screen identification method, system and device of a server device proposed by the present invention do not need to burn the FRU after assembling each board of the server, but are compatible with various server configurations, and each board can be used in various positions. Only by defining the wiring method, the physical position of the chassis of each external device on the board can be automatically identified, which is simple and efficient and does not need to worry about errors.

[0101] Furthermore, in order to more clearly describe the implementation of the present invention, this embodiment lists the implementation effects of silk screen recognition of each slot under different configurations.

[0102] Fig. 9 , Fig.10 , Fig.11 Represents the server rear window diagram under different configurations. Fig. 9For a 10-card configuration, the PCIE card's physical chassis silk screen increases from top to bottom and from left to right, namely PCIe0, PCIe1, ... PCIe9. In this configuration, two 3-slot Risers are used in the left and left-center areas, and two 2-slot Risers are used in the area above the PSU (Power Supply Unit). Among them, Riser 0 (3 slot Risers) at the far left is connected to the motherboard I2C SW Channel 0 through a Riser I2C cable, Riser 1 (3 slot Risers) at the middle left is connected to the motherboard I2C SW Channel 1 through a Riser I2C cable, Riser 2 (2 slot Risers) on the left above the PSU is connected to the motherboard I2C SW Channel 2 through a Riser I2C cable, and Riser 3 (2 slot Risers) on the right above the PSU is connected to the motherboard I2C SW Channel 3 through a Riser I2C cable. Figure 5 Example of silkscreen position information corresponding to each slot of the riser connected to different I2C SW Channels. BMC / BIOS obtains the chassis silkscreen information of each slot on each riser under the current configuration from each riser FRU. Fig.12 As shown in Configuration 1, it can be seen that the chassis silkscreen information of each slot in this configuration identified by BMC / BIOS is consistent with the physical silkscreen position of each external card.

[0103] Fig.10 For the rear window 5-card configuration, the chassis silk screen of the PCIE card increases from top to bottom and from left to right, namely PCIe0, PCIe1, ... PCIe4. In this configuration, the 5 cards are connected to a 1-slot Riser respectively, that is, this configuration uses a total of 5 1slot Risers. Among them, the external card of Riser 0 is PCIe0, the external card of Riser 1 is PCIe1, ..., the external card of Riser 4 is PCIe4; and, Riser 0 is connected to the motherboard I2C SW Channel 0 through the Riser I2C cable, Riser 1 is connected to the motherboard I2C SW Channel 1 through the Riser I2C cable, ... Riser 4 is connected to the motherboard I2C SW Channel 4 through the Riser I2C cable; refer to Figure 5 Example of silkscreen position information corresponding to each slot of the riser connected to different I2C SW Channels. BMC / BIOS obtains the chassis silkscreen information of each slot on each riser under the current configuration from each riser FRU. Fig.12As shown in Configuration 2, it can be seen that the chassis silkscreen information of each slot in this configuration identified by BMC / BIOS is consistent with the physical silkscreen position of each external card.

[0104] Fig.11 For the rear window 4 GPU configuration, the chassis silkscreen of the GPU card is GPU0, GPU1, GPU2, GPU3 from left to right; the chassis silkscreen of the two PCIE cards below the GPU is PCIe0 and PCIe1 from left to right. In this configuration, the 4 GPUs are connected to a GPU Riser respectively, and the 4 GPU Risers are connected to the motherboard I2C SW Channel 0, channel1, channel2, channel3 from left to right, and the 2 PCIE external cards are inserted into a 1 slot Riser respectively, and the two 1slot Risers are connected to the motherboard I2C SW Channel 5 and channel6 from left to right; refer to Figure 5 Example of silkscreen position information corresponding to each slot of the riser connected to different I2C SW Channels. BMC / BIOS obtains the chassis silkscreen information of each slot on each riser under the current configuration from each riser FRU. Fig.12 As shown in Configuration 3, it can be seen that the chassis silkscreen information of each slot in this configuration identified by BMC / BIOS is consistent with the physical silkscreen position of each external card.

[0105] Fig.13 The front window of a server showing a typical 24-slot (2.5-inch) configuration. The SSD hard disks are printed on the chassis in increasing order from left to right, namely SSD 0, SSD 1, ..., SSD 23. This configuration uses three identical 8-port backplanes. The three 8-port backplanes are connected to the motherboard I2C SW Channel 0, channel 1, and channel 2 from left to right. Figure 6 An example of the silkscreen position information corresponding to each hard disk connected to different I2C SW Channels on the backplane. BMC / BIOS obtains the chassis silkscreen information corresponding to each hard disk slot on each backplane in the current configuration from each backplane FRU. Fig.14 As shown in the hard disk configuration 1, it can be seen that the chassis silk-screen information of each hard disk slot in this configuration identified by BMC / BIOS is consistent with the physical silk-screen position of each external card.

[0106] Fig.15The rear window of the server shows an eight-disk configuration (four 3.5-inch large disks and four 2.5-inch small disks). The SSDs are printed on the chassis in ascending order from top to bottom and from left to right: RBP-SSD 0, RBP-SSD1, ..., RBP-SSD 7. This configuration uses two identical 2-port large disk backplanes on the left and left center, and two identical 2-port small disk backplanes on the left and right above the PSU. The two identical 2-port large disk backplanes are connected to the motherboard I2C SW Channel 0 and channel 1 from left to right, respectively; the two identical 2-port small disk backplanes above the PSU are connected to the motherboard I2C SW Channel 2 and channel 3 from left to right, respectively; see Reference Figure 6 The following is an example of the silkscreen position information corresponding to each hard disk connected to different I2C SW Channels on the backplane. The BMC / BIOS obtains the chassis silkscreen information corresponding to each hard disk slot on each backplane under the current configuration from each backplane FRU. Fig.14 As shown in Hard Disk Configuration 2, it can be seen that the chassis silk-screen information of each hard disk slot in this configuration identified by BMC / BIOS is consistent with the physical silk-screen position of each external card.

[0107] like Fig.12 and Fig.14As shown in the table, multiple riser cards / backplanes are used in different configurations, each riser card / backplane may be used multiple times in the same configuration, and each riser card / backplane may also be used in different configurations. The present invention connects the riser card / backplane to different motherboard I2C SW channels, and defines the silkscreen position information of each slot / hard disk slot on the riser / backplane when the riser / backplane is connected to different I2C SW channels in the riser card / backplane. After that, the BMC / BIOS finds the corresponding silkscreen position of the hard disk slot on each slot / backplane of the riser through the motherboard I2C SW channel to which the riser is connected, and can correctly and automatically confirm the physical position of each external device. In addition, the present invention also defines different Connector IDs on each high-speed connector of the motherboard, so that the riser card / backplane is connected to the motherboard high-speed connector, and the corresponding Connector ID is transmitted to the BMC / BIOS through the IO Expander on the card, and the BMC / BIOS can know which motherboard connector each slot on the corresponding riser / BP is connected to, and further determine the uplink CPU PCIE PORT connected to each slot on the riser / backplane according to the relationship between the CPU PCIE PORT and the ConnectorID; further, the BIOS will also scan the BDF information in-band, obtain the device information of each device, the correspondence between the device and the CPU PCIE PORT, and transmit it to the BMC; in this way, the BMC / BIOS can correspond each external device to the device information read in-band, the physical chassis silk screen position of the device, and the uplink CPU PCIE PORT to which the device is connected, and display it in the user interface such as the BMC WEB / BIOS setup / OS.

[0108] It is worth noting that the present invention can also identify the external devices at various locations, that is, the presence of PCIE external cards and hard disks. The BMC can adjust the fan speeds in different areas to appropriate speed values ​​according to which external devices are identified, thereby realizing the server partition heat dissipation adjustment function.

[0109] Correspondingly, the embodiment of the present application also discloses a server device location positioning device, see Fig.16 As shown, it is applied to a server card, the server card includes a mainboard, an external device, a connector and a communication link expansion switch, and the device includes:

[0110] The chassis silk screen position determination module 11 is used to obtain the field replaceable unit information transmitted by the connected external device through the connector through the communication link expansion switch, so as to obtain a list of silk screen information corresponding to each slot on the external device when connected to different channels of the communication link expansion switch, and determine the chassis silk screen position of each slot on the external device according to the silk screen information list;

[0111] a communication bus interface determination module 12, configured to obtain connector identification information transmitted by the motherboard connected to the port expander on the external device through a cable through the connector, and determine the communication bus interface corresponding to each slot on the external device from a preset correspondence list according to the connector identification information;

[0112] A device information acquisition module 13, used to acquire device information of processing devices on the mainboard through in-band scanning;

[0113] The device location positioning module 14 is used to construct the entity information of the server device under the current configuration by using the device information, the information of the chassis silk screen position and the information of the communication bus interface, so as to locate the server device according to the entity information.

[0114] Among them, for more specific working processes of the above-mentioned modules, please refer to the corresponding contents disclosed in the aforementioned embodiments, which will not be repeated here.

[0115] It can be seen that the above scheme of this embodiment is applied to a server card, and the server card includes a mainboard, an external device, a connector and a communication link expansion switch, wherein the method includes: obtaining field replaceable unit information transmitted by the external device through the connector through the communication link expansion switch to obtain a list of silk screen information corresponding to each slot on the external device when connected to different channels of the communication link expansion switch, and determining the chassis silk screen position of each slot on the external device according to the silk screen information list; obtaining connector identification information transmitted by the mainboard connected to the port expander on the external device through a cable through the connector, and determining the communication bus interface corresponding to each slot on the external device from a preset correspondence list according to the connector identification information; obtaining device information of the processing device on the mainboard through in-band scanning, and then using the device information, the information of the chassis silk screen position and the information of the communication bus interface to construct the entity information of the server device under the current configuration, so as to locate the server device according to the entity information.

[0116] The beneficial technical effect of the present application is: through reasonable server board design, with different connection methods, it can automatically adapt to various configuration servers without changing the field replaceable unit information. After the server system is powered on, first, the chassis silk screen position of each slot on the external device can be identified according to the channel of the communication link expansion switch to which the external device is connected, so as to automatically and accurately obtain the corresponding relationship between each external device and the physical position of the chassis; secondly, a preset relationship list is reasonably defined, in which the corresponding relationship between the connector identification information corresponding to the connector on the mainboard and the communication bus interface is recorded, so that the uplink communication bus interface connected to the external device can be obtained according to the connector identification information corresponding to each slot read from the external device; finally, the device information of the processing device on the mainboard is obtained through in-band scanning, and the physical information of the server device under the current configuration is further constructed using the device information, the information of the chassis silk screen position and the information of the communication bus interface to realize the location of the server device. It can be seen that through the technical solution of the present application, there is no need to burn the field replaceable unit information after the server hardware board is assembled, but it is compatible with various server configurations; and the external device can be used in multiple positions, and the chassis silk screen position of each external device on the hardware board can be automatically identified by only defining the wiring method, which is simple and efficient and there is no need to worry about errors. Compared with the method of manually writing the field replaceable unit information to each board after the server is assembled, the step of manually writing the field replaceable unit information can be completely eliminated, which greatly saves manpower and also avoids problems such as errors that may be caused by manual operation.

[0117] Furthermore, an embodiment of the present application also discloses a server, wherein the server includes a server board, and the server board includes a mainboard, an external device, a connector, and a communication link expansion switch. Fig.17 The figure shows the interconnection relationship between the mainboard and the riser / backplane in the server board. Fig.18 This is a structural diagram of a server 20 according to an exemplary embodiment, and the content in the diagram cannot be regarded as any limitation on the scope of use of the present application.

[0118] In this embodiment, the server board includes at least one processor 21 and at least one memory 22, and the memory 22 is used to store a computer program. The computer program is loaded and executed by the processor 21 to implement the relevant steps in the server device location positioning method disclosed in any of the aforementioned embodiments.

[0119] In this embodiment, the mainboard connects the processing device on the mainboard to the first high-speed connector through a communication bus interface, and connects to the external device through a high-speed cable; the external device connects the first external device communication connector on the external device to the port expander through an external device communication cable, and connects the port expander to the second high-speed connector on the external device, so that the control device on the mainboard determines the communication bus interface corresponding to each slot according to a preset correspondence list; the second high-speed connector is connected to the first high-speed connector through the high-speed cable; the communication link expansion switch is respectively connected to the processing device and the control device through a dual-channel communication arbitrator, and each channel under the communication link expansion switch is connected to the first external device communication connector through a second external device communication connector to obtain the field replaceable unit information of the external device; the second external device communication connector is located on the mainboard, and is connected to the first external device communication connector through the external device communication cable.

[0120] Furthermore, the server 20 also includes a power supply 23, a communication interface 24, an input / output interface 25 and a communication bus 26. The memory 22 is used to store a computer program, and the computer program is loaded and executed by the processor 21 to implement the relevant steps in the server device location positioning method disclosed in any of the above embodiments.

[0121] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the server 20; the communication interface 24 can create a data transmission channel between the server 20 and external devices, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.

[0122] In addition, the memory 22 as a carrier for resource storage may be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon may include an operating system 221, a computer program 222 and data 223, etc. The data 223 may include various data. The storage method may be temporary storage or permanent storage.

[0123] The operating system 221 is used to manage and control the hardware devices and computer programs 222 on the server 20, which can be Windows Server, Netware, Unix, Linux, etc. In addition to including a computer program that can be used to complete the server device location positioning method executed by the server 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include a computer program that can be used to complete other specific tasks.

[0124] Furthermore, the embodiment of the present application also discloses a computer-readable storage medium, wherein the computer-readable storage medium mentioned here includes a random access memory (Random Access Memory, RAM), a memory, a read-only memory (Read-Only Memory, ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a magnetic disk or an optical disk, or any other form of storage medium known in the technical field. Wherein, when the computer program is executed by the processor, the aforementioned server device location positioning method is implemented. For the specific steps of the method, reference can be made to the corresponding contents disclosed in the aforementioned embodiment, and no further description will be given here.

[0125] Furthermore, an embodiment of the present application also provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements any one of the above-mentioned server device location positioning methods.

[0126] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0127] The steps of the server device location positioning method or algorithm described in conjunction with the embodiments disclosed herein can be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module can be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the technical field.

[0128] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0129] The above is a detailed introduction to a server device location positioning method, device, server and medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A method for locating a server device, characterized in that: Applied to a server card, the server card includes a mainboard, an external device, a connector and a communication link expansion switch, wherein the method includes: Acquire, through the communication link expansion switch, field replaceable unit information transmitted by the connected external device through the connector, so as to obtain a list of silk screen information corresponding to each slot on the external device when connected to different channels of the communication link expansion switch, and determine the chassis silk screen position of each slot on the external device according to the silk screen information list; Acquire connector identification information transmitted by the connector from the mainboard connected to the port expander on the external device through a cable, and determine the communication bus interface corresponding to each slot on the external device from a preset correspondence list according to the connector identification information; The device information of the processing device on the mainboard is obtained through in-band scanning, and then the entity information of the server device under the current configuration is constructed using the device information, the information of the chassis silk screen position and the information of the communication bus interface, so as to locate the position of the server device according to the entity information.

2. The method for locating the server device position according to claim 1, characterized in that: The acquiring, through the communication link expansion switch, the field replaceable unit information transmitted by the connected external device through the connector includes: Accessing the dual-channel communication arbiter in sequence based on the integrated circuit bus protocol through the processing device and the control device on the mainboard respectively, so as to open each channel under the communication link extension switch; The first external device communication connector on the mainboard is connected to the second external device communication connector on the external device to obtain the field replaceable unit information transmitted by the external device connected to each channel.

3. The method for locating the server device position according to claim 2, characterized in that: The acquiring connector identification information transmitted by the connector of the mainboard connected to the port expander on the external device through a cable, and determining the communication bus interface corresponding to each slot on the external device from a preset correspondence list according to the connector identification information, comprises: Acquire connector identification information transmitted by the mainboard connected to the port expander on the external device through a high-speed cable through a high-speed connector; The connector identification information is transmitted to the first external device communication connector via the second external device communication connector, so that the control device on the mainboard can determine the communication bus interface corresponding to each slot on the external device from a preset correspondence list according to the connector identification information.

4. The method for locating the server device position according to claim 3, characterized in that: Also includes: Configuring different pull-up and pull-down states for different physical connection interfaces on the high-speed connector to obtain different connector identification information; The corresponding target high-speed connector is determined according to the connector identification information, and the connector identification information is corresponded to the communication bus interface corresponding to the processing device on the mainboard connected to the target high-speed connector, and then the preset correspondence list is generated based on the correspondence between the target high-speed connector, the connector identification information and the communication bus interface.

5. The method for locating the server device position according to claim 1, characterized in that: The method of acquiring the field replaceable unit information of the connected external device transmitted through the connector through the communication link expansion switch to obtain a list of silk screen information corresponding to each slot on the external device when connected to different channels of the communication link expansion switch, and determining the chassis silk screen position of each slot on the external device according to the silk screen information list includes: Acquire field replaceable unit information transmitted by the connected external card and / or storage hard disk through the integrated circuit bus connector through the communication link expansion switch to obtain a list of silk screen information corresponding to each slot on the external card and / or the storage hard disk when connected to different channels of the communication link expansion switch, and determine the chassis silk screen position of each slot on the external card and / or the storage hard disk according to the silk screen information list; Correspondingly, the acquiring of connector identification information transmitted by the connector through the mainboard connected to the port expander on the external device through a cable, and determining, according to the connector identification information, from a preset correspondence list, the communication bus interface corresponding to each slot on the external device, including: Obtain connector identification information transmitted by the mainboard connected to the port expander on the external card and / or the storage hard disk through a cable through the integrated circuit bus connector, and determine the communication bus interface corresponding to each slot on the external card and / or the storage hard disk from a preset correspondence list based on the connector identification information.

6. The method for locating a server device according to any one of claims 1 to 5, characterized in that: The device information of the processing device on the mainboard is obtained by in-band scanning, and then the entity information of the server device under the current configuration is constructed by using the device information, the information of the screen printing position of the chassis and the information of the communication bus interface, so as to locate the position of the server device according to the entity information, including: Acquire device information of the processing device on the mainboard through in-band scanning, and then construct entity information of the server device under the current configuration using the device information, information of the screen printing position of the chassis, and information of the communication bus interface; The entity information is displayed through a web page interface corresponding to a baseboard management controller, a system setting interface corresponding to a basic input and output system, and a computer management control program interface, and the server device is located according to the entity information.

7. A server equipment location positioning device, characterized in that: Applied to a server card, the server card includes a mainboard, an external device, a connector and a communication link expansion switch, wherein the device includes: a chassis silk-screen position determination module, used to obtain, through the communication link expansion switch, field replaceable unit information transmitted by the connected external device through the connector, so as to obtain a list of silk-screen information corresponding to each slot on the external device when connected to different channels of the communication link expansion switch, and determine the chassis silk-screen position of each slot on the external device according to the silk-screen information list; a communication bus interface determination module, configured to obtain connector identification information transmitted by the motherboard connected to the port expander on the external device through a cable through the connector, and determine the communication bus interface corresponding to each slot on the external device from a preset correspondence list according to the connector identification information; A device information acquisition module, used for acquiring device information of processing devices on the mainboard through in-band scanning; The device location positioning module is used to construct the entity information of the server device under the current configuration by using the device information, the information of the chassis silk screen position and the information of the communication bus interface, so as to locate the position of the server device according to the entity information.

8. A server, characterized in that: The server includes a server board, which includes a mainboard, an external device, a connector and a communication link expansion switch, and the server board also includes a processor and a memory; wherein the memory is used to store a computer program, and the computer program is loaded and executed by the processor to implement the server device location positioning method as described in any one of claims 1 to 6.

9. The server according to claim 8, characterized in that: The mainboard connects the processing device on the mainboard to the first high-speed connector via a communication bus interface, and connects to the external device via a high-speed cable; The external device connects a first external device communication connector on the external device to a port expander via an external device communication cable, and connects the port expander to a second high-speed connector on the external device, so that the control device on the mainboard determines the communication bus interface corresponding to each slot according to a preset correspondence list; The second high-speed connector is connected to the first high-speed connector via the high-speed cable; The communication link expansion switch is connected to the processing device and the control device respectively through a dual-channel communication arbitrator, and each channel under the communication link expansion switch is connected to the first external device communication connector through a second external device communication connector to obtain field replaceable unit information of the external device; the second external device communication connector is located on the main board and is connected to the first external device communication connector through the external device communication cable.

10. A computer-readable storage medium, characterized in that: Used to store computer programs; wherein when the computer program is executed by the processor, the server device location positioning method according to any one of claims 1 to 6 is implemented.

Citation Information

Cited By

  • Computer serial bus equipment system, equipment silk-screen acquisition method, medium and program product

    CN120011285A

  • A computer serial bus device system, device silk screen acquisition method, medium and program product

    CN120011285B

  • Equipment management system and server

    CN120508520A

  • A device management system and server

    CN120508520B

  • Electronic device, data processing method, device, medium and program product

    CN120578624A