Peripheral configuration identification method and apparatus for server, peripheral screen printing layout method and apparatus, and server

By identifying the server's PCIE interface and peripheral ID signals, it generates hard disk configuration identification and silk screen layout, which solves the problem of low configuration identification efficiency under mixed insertion and reduction of hard disk configurations, and achieves unified processing and efficient identification of hard disk configurations.

WO2024183337A1PCT designated stage expired Publication Date: 2024-09-12INSPUR SUZHOU INTELLIGENT TECH CO LTD

Patent Information

Application Number
PCT/CN2023/133031
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-09
Filing Date
2023-11-21
Publication Date
2024-09-12

AI Technical Summary

Technical Problem

Existing server hard disk configuration identification methods cannot meet the situation of mixed insertion and reduction of hard disk configurations, resulting in low configuration identification efficiency and feasibility.

Method used

By determining the PCIE external interface under the central processor, determining the peripheral type and bandwidth according to the level status of the peripheral ID signal, generating peripheral silk screen, and sending it to BIOS and BMC, unified hard disk configuration identification and silk screen layout are realized .

Benefits of technology

It improves the efficiency and feasibility of server hard disk configuration identification, enables unified processing of software screen printing under different models and configurations, and adapts to the flexible needs of mixed insertion and reduction of hard disk configurations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023133031_12092024_PF_FP_ABST
    Figure CN2023133031_12092024_PF_FP_ABST
Patent Text Reader

Abstract

A peripheral configuration identification method and apparatus for a server, a peripheral screen printing layout method and apparatus, and a server, relating to the technical field of servers. The peripheral configuration identification method comprises: determining a PCIE external interface under each central processing unit on the basis of configuration demand information of a server to be identified; according to the level state of each peripheral ID signal transmitted by each PCIE external interface, determining a peripheral type which can be configured under a peripheral bandwidth corresponding to the peripheral ID signal, and allocating corresponding serial numbers to peripherals of different peripheral types, so as to generate peripheral screen printing containing all peripheral orders managed by said server; and sending the peripheral screen printing to a basic input / output system and / or a baseboard management controller, such that the basic input / output system and / or the baseboard management controller unify respective default screen printing into the peripheral screen printing. According to the peripheral configuration identification method and apparatus for a server, the peripheral screen printing layout method and apparatus, and the server, the peripheral configuration identification efficiency and feasibility can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Method, device and server for identifying and silk-screening layout of peripheral configuration of server

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to the Chinese patent application filed with the China Patent Office on March 9, 2023, with application number 202310220527.4, and entitled “Peripheral configuration identification, silk screen layout method, device and server for servers”, the entire contents of which are incorporated by reference into this application. Technical Field

[0003] The present application relates to the field of server technology, and in particular to a method and device for identifying and silk-screening the configuration of peripheral devices of a server, and a server. Background Art

[0004] In server applications, a single product model often has multiple configurations. Different configurations may have different chassis shapes and support different numbers of hard drives. Certain models may support tri-mode, or anybay. Anybay indicates that the server's hard drive backplane can accommodate different types of hard drives, including SATA (solid-state drives using the SATA (Serial ATA) interface) and NVME (Non-Volatile Memory Express, a hard drive based on the PCI Express (Peripheral Component Interconnect Express) protocol).

[0005] To meet the flexible needs of business, hardware must be flexibly adapted to support requirements such as hard drive mixing and configuration reduction. In common designs, the Basic Input Output System (BIOS) management software must identify the current configuration, allocate bandwidth to peripherals connected via the high-speed serial computer expansion bus standard (Peripheral Component Interconnect Express, PCIE), assign a BIOS silkscreen to each peripheral, and display the device silkscreen on the BIOS execution interface. Simultaneously, basic device information is transmitted to the Baseboard Management Controller (BMC), which prints the device location information on the device list interface under the web, thereby ensuring hardware and software alignment.

[0006] The configuration identification method used in the related art requires first setting the ID[1:0] signal in the high-speed connector on the motherboard that leads out the PCIE cable. The signal is pulled down on the motherboard and adjusted up and down on the hard disk backplane or PCIE riser backplane according to the bandwidth of the PCIE peripheral. For example, when the ID[1:0] level on a certain MCIO connector is 00, it means that the current PCIE peripheral is set to x4 bandwidth (nvme hard disk). 01 represents x8 bandwidth (riser card), 10 represents x16 bandwidth (riser card), and 11 means not connected. Then, the current configuration identification code is formed based on the peripheral ID signal combination, and the BIOS software uses the identification code to judge the current configuration, perform PCIE bandwidth allocation, and allocate the corresponding silk screen of the peripheral connected to each interface under the BIOS.

[0007] According to the current detailed identification scheme, in order to meet the needs of hard drive mixing and reduction, each model needs to sort out a matrix of different combinations based on the type and number of hard drives. The overall design must cover all possible configurations for detailed sorting. All situations of each hard drive quantity must be listed, and each situation needs to generate a unique identification code so that the BIOS can accurately display the silkscreen of the current configuration. The decomposed configuration will produce hundreds of identification combinations, which is difficult to achieve in theory and impossible to achieve in reality due to cost. However, in cases where users require flexible configuration, this configuration identification method is no longer applicable. Therefore, the configuration identification method of the relevant technology cannot meet the application scenarios where servers have mixed hard drives, resulting in low efficiency and feasibility of its configuration identification.

[0008] Summary of the Invention

[0009] The present application provides a server peripheral configuration identification and silk screen layout method, device and server, which are used to solve the defect that the configuration identification method in the related art cannot meet the application scenario where the server has mixed hard disk insertion, resulting in low efficiency and feasibility of its configuration identification.

[0010] This application provides a server peripheral configuration identification method, including:

[0011] Based on the configuration requirement information of the server to be identified, determining the PCIE external interface under each central processing unit; wherein the server to be identified is configured with an AnyBay hard disk interface; the configuration requirement information at least includes the configuration information of the central processing unit and the design requirement information of each hard disk interface;

[0012] According to the level status of each peripheral ID signal transmitted by each PCIE external interface, the peripheral type that can be configured under the peripheral bandwidth corresponding to the peripheral ID signal is determined, and corresponding serial numbers are assigned to peripherals of different peripheral types to generate a peripheral silk screen containing the order of all peripherals managed by the server to be identified, and the peripheral silk screen is sent to the basic input and output system and / or the baseboard management controller, so that the basic input and output system and / or the baseboard management controller can unify their respective default silk screens into the peripheral silk screen.

[0013] According to a server peripheral configuration identification method provided by the present application, the type of peripherals that can be configured under the peripheral bandwidth corresponding to the peripheral ID signal is determined in sequence according to the level state of each peripheral ID signal transmitted by each PCIE external interface, and corresponding serial numbers are assigned to peripherals of different types to generate a peripheral silk screen containing the order of all peripherals managed by the server to be identified, including:

[0014] Traverse the design requirement information of each hard disk interface in all servers to be identified, obtain the slot quantity and position of the anybay hard disk interface in each server to be identified, and the slot silkscreen of each server to be identified under the basic input and output system;

[0015] According to all peripheral ID signals transmitted by each server to be identified, the type of peripherals supported by each server to be identified is determined by the correspondence between the peripheral ID signals and the peripheral bandwidth;

[0016] The slot numbers of all peripherals with NVME type in the server to be identified are configured starting from the target PCIE external interface under the target CPU. The optional implementation steps of the configuration are:

[0017] Based on the number and position of the anybay hard disk interface in the server to be identified, a PCIE external interface set having N PCIE external interfaces is sequentially configured starting from the target PCIE external interface;

[0018] After allocating slot numbers of peripherals with the peripheral type of nvme under each PCIE external interface in the PCIE external interface set from 0 to M, the allocated slot numbers are sequentially filled into the corresponding silk screen templates to generate the peripheral silk screen of the peripheral with the peripheral type of nvme;

[0019] Among them, M is a positive integer, M represents the number of nvme hard drives supported by a configuration that supports the most nvme hard drives after traversing all server configurations to be identified; N is a positive integer, N represents the number of PCIE external interfaces of the central processing unit used by a configuration that supports the most nvme hard drives after traversing all server configurations; the correspondence between N and M is determined according to the number of PCIE buses supported by each PCIE external interface of the central processing unit, and the value of N is derived by deduction after the value of M is determined; the set of PCIE external interfaces configured for the server to be identified with a small number of peripherals of nvme type is a subset of the set of PCIE external interfaces configured for the server to be identified with a large number of peripherals of nvme type.

[0020] According to a server peripheral configuration identification method provided by the present application, based on the number and position of the slots of the AnyBay hard disk interface in the server to be identified, a PCIE external interface set with a number N of PCIE external interfaces is sequentially configured starting from the target PCIE external interface, including:

[0021] The N PCIE external interfaces in the PCIE external interface set are evenly distributed in each central processing unit.

[0022] According to a server peripheral configuration identification method provided by the present application, after determining the peripheral bandwidth of each peripheral under the PCIE external interface based on the peripheral ID signal, the method further includes:

[0023] When it is determined that two peripherals have the same peripheral bandwidth and different peripheral silkscreens under the currently identified PCIE external interface, the peripheral configuration is identified according to the peripheral ID signals transmitted by the remaining PCIE external interfaces, and then the peripheral silkscreen is allocated to the currently identified PCIE external interface.

[0024] According to a server peripheral configuration identification method provided by the present application, the peripheral bandwidth is divided according to the peripheral type;

[0025] The peripheral types include an NVMe hard disk corresponding to a peripheral bandwidth of x4, a riser hard disk corresponding to a peripheral bandwidth of x8, a riser hard disk or an 0CP hard disk corresponding to a peripheral bandwidth of x16, and a null value.

[0026] According to a server peripheral configuration identification method provided by this application, the peripheral silk screen is determined according to the peripheral type;

[0027] Among them, the peripheral silk screen includes the NVME silk screen corresponding to the peripheral type of NVME, and the PCIE slot silk screen corresponding to the peripheral type other than NVME.

[0028] This application also provides a peripheral silk screen layout method, including:

[0029] Based on any of the above server peripheral configuration identification methods, obtain peripheral configuration information under each PCIE external interface;

[0030] Generate silkscreen distribution based on the peripheral silkscreen carried in the peripheral configuration information under each PCIE external interface.

[0031] According to a peripheral silk screen layout method provided by this application, based on the peripheral silk screen carried in the peripheral configuration information under each PCIE external interface, a silk screen distribution is generated, including:

[0032] Generate a first arrangement distribution and a second arrangement distribution in the horizontal direction based on the configuration requirement information of the server to be identified and the nvme silk screen included in the peripheral silk screen;

[0033] The first arrangement distribution and the second arrangement distribution are spliced ​​up and down to generate the silk screen distribution.

[0034] According to a peripheral silk screen layout method provided by the present application, a first arrangement distribution and a second arrangement distribution in the horizontal direction are generated based on the configuration requirement information of the server to be identified and the NVME silk screen contained in the peripheral silk screen, including:

[0035] Determining a first distribution range and a second distribution range based on the configuration requirement information;

[0036] Fill in the first distribution range from left to right, starting from 0, to generate the first permutation distribution;

[0037] Fill the slot numbers in the nvme silkscreen from left to right into the second distribution range to generate the second permutation distribution;

[0038] Among them, the number of layout units included in the first distribution range is determined according to the total number of chassis slots included in the configuration requirement information; the starting layout unit of the second distribution range and the target layout unit in the first distribution range are aligned vertically; the target layout unit is determined according to the chassis slot corresponding to the first anybay hard disk interface in the server to be identified.

[0039] According to a peripheral silk screen layout method provided by the present application, after generating a silk screen distribution situation based on the peripheral silk screen carried in the peripheral configuration information under each PCIE external interface, the method further includes:

[0040] Generate a silk screen layout diagram based on the silk screen distribution;

[0041] The silk screen layout drawing is transmitted to a printing output device, so that the printing output device prints out the silk screen layout drawing in the form of a label sticker;

[0042] The label sticker is used to be attached to the surface of the chassis ear plate of the server to be identified to clearly indicate the peripheral configuration of the server to be identified.

[0043] According to a peripheral silk screen layout method provided by the present application, a silk screen layout diagram is generated based on the silk screen distribution, including:

[0044] Set different font colors for the first and second arrangement distributions in the silk screen distribution;

[0045] When it is determined that the configuration requirement information indicates that all hardware interfaces in the server to be identified are anybay hard disk interfaces, vertical partitions corresponding to the number of CPUs (Central Processing Units) of the server to be identified are generated in the canvas;

[0046] In each vertical partition, the corresponding first arrangement distribution and second arrangement distribution are filled with different font colors to generate a silk screen layout diagram.

[0047] According to a peripheral device silk screen layout method provided by the present application, after setting different font colors for the first arrangement distribution and the second arrangement distribution in the silk screen distribution situation, the method further includes:

[0048] When it is determined that the configuration requirement information indicates that at least one hardware interface of the to-be-identified server is not an anybay hard disk interface, generating independent partitions corresponding to the number of layout units distributed in the first arrangement in the canvas;

[0049] Fill each element in the first permutation distribution after setting the font color into each independent partition in turn;

[0050] After setting the font color, fill each element in the second permutation distribution from the target independent partition to the last independent partition in sequence to generate a silk screen layout diagram;

[0051] The target independent partition is an independent partition corresponding to the target layout unit in the first arrangement distribution.

[0052] According to a peripheral silk screen layout method provided by the present application, after generating a silk screen layout diagram based on the silk screen distribution, the method further includes:

[0053] If it is determined based on the configuration requirement information that the server to be identified is configured with only one hardware interface, a new label partition is created below the silkscreen layout diagram;

[0054] According to the type of a configured hardware interface, corresponding label content is set in the label partition.

[0055] The present application also provides a server peripheral configuration identification device, comprising:

[0056] The port identification module is configured to determine the PCIE external interface of each central processing unit based on configuration requirement information of the server to be identified; wherein the server to be identified is configured with an AnyBay hard disk interface; the configuration requirement information includes at least configuration information of the central processing unit and design requirement information of each hard disk interface;

[0057] The configuration identification module is configured to determine the type of peripherals that can be configured under the peripheral bandwidth corresponding to the peripheral ID signal based on the level state of each peripheral ID signal transmitted by each PCIE external interface, and assign corresponding serial numbers to peripherals of different types to generate a peripheral silk screen containing the order of all peripherals managed by the server to be identified;

[0058] The silk screen synchronization module is configured to send the peripheral silk screen to the basic input and output system and / or the baseboard management controller, so that the basic input and output system and / or the baseboard management controller can unify their respective default silk screens into the peripheral silk screen.

[0059] This application also provides a peripheral silk screen layout device, including:

[0060] The configuration acquisition module is configured to acquire peripheral configuration information of each PCIE external interface based on any of the above server peripheral configuration identification methods;

[0061] The silk screen layout module is configured to generate a silk screen distribution situation based on the peripheral silk screen carried in the peripheral configuration information under each PCIE external interface.

[0062] The present application also provides a server, including a server body, the server body including a basic input and output system and a baseboard management controller, the basic input and output system being configured to implement any of the above server peripheral configuration identification methods;

[0063] The baseboard management controller is configured to receive peripheral configuration information identified by the basic input and output system and unify the peripheral configuration information using the peripheral silk screen carried in the peripheral configuration information.

[0064] The present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and runnable on the processor. When the processor executes the program, it implements any of the above-mentioned server peripheral configuration identification methods, or any of the above-mentioned peripheral silk screen layout methods.

[0065] The present application also provides a non-volatile readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it implements any of the above-mentioned server peripheral configuration identification methods, or any of the above-mentioned peripheral silk screen layout methods.

[0066] The present application also provides a computer program product, including a computer program, which, when executed by a processor, implements any of the above-mentioned server peripheral configuration identification methods, or any of the above-mentioned peripheral silk screen layout methods.

[0067] The server peripheral configuration identification and silkscreen layout method, device, and server provided in this application determine the distribution of PCIE external interfaces under each central processing unit based on the server's configuration requirement information. Through the peripheral configuration information represented by the peripheral ID signal of each PCIE external interface in all configurations, the PE port of each CPU is uniformly assigned to the same BIOS setup silkscreen and BMC web silkscreen. This achieves unified processing of software silkscreens for servers with anybay hard drive interfaces under different models and configurations, avoiding overly complex software configurations. Even in the face of flexible requirements such as mixed hard drive insertion and hard drive reduction, it can still be fully adapted, improving the efficiency and feasibility of peripheral configuration identification. BRIEF DESCRIPTION OF THE DRAWINGS

[0068] In order to more clearly illustrate the technical solutions in this application or related technologies, the following is a brief introduction to the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0069] FIG1 is a flow chart of a method for identifying a server peripheral configuration in some embodiments of the present application;

[0070] FIG2 is a schematic diagram of the physical structure of a server to be identified in some embodiments of the present application;

[0071] FIG3 is a flow chart of a peripheral device silk screen layout method in some embodiments of the present application;

[0072] FIG4 is a schematic diagram of the arrangement of physical silk screens in some embodiments of the present application;

[0073] FIG5 is a schematic diagram of the arrangement of silk screen layout diagrams in some embodiments of the present application;

[0074] FIG6 is a schematic diagram of the structure of a server peripheral configuration identification device in some embodiments of the present application;

[0075] FIG7 is a schematic structural diagram of a peripheral screen printing layout device in some embodiments of the present application;

[0076] FIG8 is a schematic diagram of the structure of a server in some embodiments of the present application;

[0077] FIG9 is a schematic structural diagram of an electronic device in some embodiments of the present application. DETAILED DESCRIPTION

[0078] To make the objectives, technical solutions, and advantages of this application more clear, the technical solutions of this application will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments of this application, all other embodiments obtained by ordinary technicians in this field without making any creative efforts are within the scope of protection of this application.

[0079] The terms "first," "second," and the like in this application are used to distinguish similar objects, and are not used to describe a particular order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in orders other than those illustrated or described herein. Furthermore, the objects distinguished by "first," "second," and the like generally refer to a class of objects and do not limit the number of objects. For example, the first object may be one or more.

[0080] It should be understood that the terms used in this specification are only for the purpose of describing specific embodiments and are not intended to limit this application. As used in this application, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include the plural forms.

[0081] The terms “include” and “comprising” indicate the presence of described features, integers, steps, operations, elements and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof.

[0082] Figure 1 is a flow chart of a server peripheral configuration identification method in some embodiments of the present application. As shown in Figure 1, the server peripheral configuration identification method provided in the embodiment of the present application includes: Step 101, based on the configuration requirement information of the server to be identified, determining the PCIE external interface under each central processing unit.

[0083] The server to be identified is configured with an Anybay hard disk interface. The configuration requirement information at least includes the configuration information of the central processing unit and the design requirement information of each hard disk interface.

[0084] It should be noted that the execution entity of the server peripheral configuration identification method provided in the embodiment of the present application is a server peripheral configuration identification device set in the server.

[0085] The application scenario of the server peripheral configuration identification method provided in the embodiment of the present application is that after the basic input and output system (BIOS) of the server is started, starting from the PCIE external interface of the central processing unit (CPU), all configurations of the current server product are listed, and all situations in which the PCIE external interface of each CPU needs to support peripherals.

[0086] It should be noted that, before step 101 , the user needs to clarify the configuration requirement information of the server to be identified based on actual design requirements.

[0087] The configuration requirement information includes but is not limited to the configuration information of the central processing unit and the design requirement information of each hard disk interface.

[0088] The CPU configuration information may be information about the CPU configuration of the server to be identified. For example, the CPU configuration information may indicate that the server to be identified is a dual-socket server, meaning that the motherboard has two CPU sockets, and both CPUs are running simultaneously. The CPU configuration information may also indicate that the server to be identified is a single-socket server, meaning that the motherboard has only one CPU socket, and only this single CPU is running.

[0089] The design requirement information of each hard disk interface may be information about the hard disk configuration in the server to be identified and the configuration of the slots where the hard disks are located on the backplane.

[0090] For example, Figure 2 is a schematic diagram of the physical structure of a server to be identified in some embodiments of the present application. As shown in Figure 2, the physical device of the server to be identified has a slot distribution. The server will open a PCIE external interface to mount the connected data disk to the cloud service, and the data will be distributed in blocks to each hard disk. If the disk data of a data disk peripheral is damaged, the remaining data and the corresponding parity information are used to recover the damaged data.

[0091] Each PCIE external interface supports different hard drive types. You can limit a single PCIE external interface to only one type of hard drive that can be connected, or you can make the PCIE external interface support the AnyBay interface protocol so that the interface can support multiple hard drive types. For example, in the case of mixed hard drive insertion, taking the example of a 16-disk server supporting 8 SATA slots + 8 AnyBay slots according to the design requirement information of each hard drive interface, as an example, for the case of full hard drive configuration, the hard drive combination of the connected peripherals can be deduced from 8 SAS / SATA + 8 NVME to 9 combinations of 16 SAS / SATA + 0 NVME.

[0092] Optionally, in step 101, the server peripheral configuration identification device determines the PE port (PCIE external interface) under each CPU according to configuration requirement information corresponding to the actual design requirement of the server to be identified.

[0093] For example, consider the Intel Xeon series CPUs, commonly referred to as PE ports in Intel systems. Hereinafter, the PCIE external interface is referred to as a PE port. Each CPU has five PE ports, each supporting x16 PCIE lanes, which can be flexibly allocated to different bandwidths. A typical dual-socket server has a total of 2 * 5 = 10 PE ports. Each PE port allocates peripheral bandwidth based on the level of its corresponding ID[1:0] signal.

[0094] Step 102: Determine the type of peripherals that can be configured at the peripheral bandwidth corresponding to the peripheral ID signal based on the level status of each peripheral ID signal transmitted by each PCIE external interface, and assign corresponding serial numbers to peripherals of different types to generate a peripheral silk screen containing the order of all peripherals managed by the server to be identified.

[0095] It should be noted that before step 102, the server peripheral configuration identification device pre-formulates a mapping rule for the peripheral ID signal, which reflects the correspondence between the peripheral bandwidth and peripheral type allocated to a certain peripheral type and the level state of the peripheral ID signal.

[0096] Optionally, in step 102, the server peripheral configuration identification device sequentially determines the peripheral bandwidth allocated by the current CPU PE port to all peripherals managed by the interface based on the level status of each peripheral ID signal transmitted under each PE port, and determines the peripheral type that can be configured under the corresponding peripheral bandwidth in combination with a pre-established mapping relationship, and allocates corresponding peripheral silk screens to different peripheral types, and integrates the peripheral type, peripheral bandwidth and peripheral type identified by the peripheral ID signal under each PE port into the peripheral configuration information corresponding to the PE port.

[0097] The peripheral ID signal transmitted under each PE port is determined by the system shipping configuration of the server to be identified.

[0098] The embodiment of the present application does not limit the output format of the peripheral configuration information under each PCIE external interface.

[0099] For example, in the embodiment of the present application, the server to be identified is a single-socket server with four PE ports. The PE ports are sorted starting from 0, and the corresponding peripheral configuration information can be as shown in Table 1.

[0100] Table 1 Peripheral configuration information diagram 1

[0101] The peripheral ID signals listed in the row for any PE port in Table 1 represent the bandwidth supported by that PE port. In principle, each PE port supports bandwidth access of x16 or less. Ultimately, the peripheral ID signals of that PE port must be assigned corresponding level values ​​based on the device's actual shipping configuration to uniquely represent the allocated bandwidth.

[0102] It is understandable that the physical identification of external plug-in cards occurs in the later stages of BIOS startup. In the early stages, it is only necessary to identify the bandwidth to be allocated to the CPU's PE port and the relevant silkscreen.

[0103] Step 103 : Send the peripheral silk screen to the basic input / output system and / or the baseboard management controller, so that the basic input / output system and / or the baseboard management controller can unify their respective default silk screens into the peripheral silk screen.

[0104] Optionally, in step 103, the server peripheral configuration identification device transmits the peripheral silk screen configured for the peripheral to the BIOS, so that the BIOS can unify all BIOS silk screens to be displayed in the SETUP interface into the peripheral silk screen.

[0105] At the same time, the server peripheral configuration identification device can also pass the peripheral configuration information to the BMC, so that the BMC can unify all the BMC silk screens displayed in the device list under its WEB interface into the peripheral silk screens in the peripheral configuration information, so as to print the device location information on the WEB interface for software and hardware correspondence.

[0106] In related technologies, the following method is commonly used to identify peripheral configurations: First, the ID[1:0] signals are set on the MCIO connector on the motherboard that leads to the PCIE cable. The signals are pulled down on the motherboard and then adjusted up or down on the hard drive backplane or PCIE riser backplane based on the bandwidth of the PCIE peripheral. For example, if the ID[1:0] level on a certain MCIO connector is 00, it means the current PCIE peripheral is set to x4 bandwidth (NVMe hard drive). 01 represents x8 bandwidth (riser card), 10 represents x16 bandwidth (riser card), and 11 indicates that it is not connected.

[0107] Taking Intel's Xeon series CPUs as an example, each CPU has five PE ports, each supporting x16 PCIe lanes, which can be flexibly allocated to different bandwidths. A typical dual-socket server has a total of 2*5=10 PE ports. Each PE port allocates different peripheral bandwidths based on its corresponding ID[1:0] signal level. Therefore, in a specific configuration, a total of 10 sets of peripheral ID signals are generated.

[0108] These 10 peripheral ID signal combinations form the current configuration's identification code. Each configuration has its own unique identification code. The BIOS determines the current configuration based on the identification code formed by the 10 peripheral ID signal combinations. After determining the current configuration, it allocates PCIE bandwidth and assigns the corresponding BIOS silkscreen (e.g., nvme0, 1, 2, 3, etc.) to each CPU PE port connected to the peripheral. The implementation is shown in Table 2.

[0109] Table 2 Peripheral configuration information diagram 2

[0110] The existing solution uses ID combinations to accurately match the current configuration. However, this configuration identification method is no longer applicable when users require flexible configuration. When the user scenario involves mixed hard drive insertion, for example, a 16-drive model supports 8 SATA slots and 8 AnyBay slots. For a fully configured hard drive configuration alone, there are 9 possible combinations. Another example is a 16-drive, fully AnyBay configuration. For a fully configured hard drive configuration alone, there are 17 possible scenarios. When hard drives are reduced and mixed, each possible combination of SATA and NVMe hard drives needs to be accurately identified separately.

[0111] The current detailed identification scheme, to accommodate the mixing and reduction of hard drive configurations, requires a matrix of different configurations for each model, based on hard drive type and quantity. The overall design must cover all possible configurations and detail them, listing every possible hard drive quantity. Each scenario requires a unique identification code composed of 10 sets of peripheral ID signals, allowing the BIOS to accurately display the current configuration's silkscreen. This resulting configuration would yield hundreds of possible identification combinations, making it both theoretically difficult to implement and practically impossible due to cost constraints.

[0112] This design abandons the previous identification code formed by combining 10 sets of peripheral ID signals and refines the method for determining each configuration. Starting with the CPU's PE Port, this design lists all the peripherals that each CPU PE port needs to support in all configurations of current server products. The system directly allocates all possible bandwidth, peripherals, and screens to each PE port based on the ID[1:0] value of each CPU's PE port. It no longer distinguishes the identification codes formed by the 10 sets of peripheral ID signals for each configuration, nor does it use the identification codes to search the pre-listed configuration breakdown table to assign screens to each peripheral. Instead, the peripheral screens are fixedly assigned.

[0113] Based on the server's configuration requirements, the present embodiment determines the distribution of PCIE external interfaces under each central processing unit. Using the peripheral configuration information represented by the peripheral ID signal of each PCIE external interface in all configurations, the PE port of each CPU is uniformly assigned to the same BIOS setup silkscreen and BMC web silkscreen. This enables unified processing of software silkscreens for servers with anybay hard drive interfaces under different models and configurations, avoiding overly complex software configurations. Even with flexible requirements such as mixed hard drive insertion and hard drive reduction, the system can fully adapt, improving the efficiency and feasibility of peripheral configuration identification.

[0114] Based on any of the above embodiments, the type of peripherals that can be configured under the peripheral bandwidth corresponding to the peripheral ID signal is determined in sequence according to the level state of each peripheral ID signal transmitted by each PCIE external interface, and corresponding serial numbers are assigned to peripherals of different peripheral types to generate a peripheral silk screen containing the order of all peripherals managed by the server to be identified, including: traversing the design requirement information of each hard disk interface in all servers to be identified, obtaining the slot number and position of the anybay hard disk interface in each server to be identified, and the slot silk screen of each server to be identified under the basic input and output system.

[0115] Optionally, in step 102, the silk screen allocation strategy corresponding to the server peripheral configuration identification device can be established on a new general rule. Therefore, first responding to the user operation, the design requirement information of the hard disk interface of all servers to be identified is integrated and sorted out, and the number and slot position of each server to be identified that supports the anybay hard disk interface are clarified, and the default slot silk screen of the corresponding server to be identified under the BOIS system is obtained.

[0116] According to all peripheral device ID signals transmitted by each server to be identified, the peripheral device type supported by each server to be identified is determined through the correspondence between the peripheral device ID signals and the peripheral device bandwidth.

[0117] Optionally, the server peripheral configuration identification device determines the peripheral bandwidth allocated by the current CPU PE port to all the peripherals it manages based on the level status of the peripheral ID signal transmitted by each interface of the currently identified server, and determines the peripheral type that each server to be identified can support based on the correspondence between the peripheral ID signal and the peripheral bandwidth.

[0118] The slot numbers of all peripherals with NVME type in the server to be identified are configured starting from the target PCIE external interface under the target CPU. The configuration implementation steps are as follows:

[0119] Based on the number and position of the slots of the anybay hard disk interface in the server to be identified, a PCIE external interface set having N PCIE external interfaces is sequentially configured starting from the target PCIE external interface.

[0120] After allocating slot numbers of peripherals with a peripheral type of nvme under each PCIE external interface in the PCIE external interface set from 0 to M in sequence, the allocated slot numbers are sequentially filled into corresponding silk screen templates to generate peripheral silk screens of peripherals with a peripheral type of nvme.

[0121] Wherein, M is a positive integer, M represents the number of nvme hard drives supported by a configuration that supports the most nvme hard drives after traversing all the server configurations to be identified. N is a positive integer, N represents the number of PCIE external interfaces of the central processing unit used by a configuration that supports the most nvme hard drives after traversing all the server configurations. The correspondence between N and M is determined according to the number of PCIE buses supported by each PCIE external interface of the central processing unit, and the value of N is derived by inference after the value of M is determined. The set of PCIE external interfaces configured for the server to be identified with a small number of peripherals of the nvme type is a subset of the set of PCIE external interfaces configured for the server to be identified with a large number of peripherals of the nvme type.

[0122] Optionally, a CPU PE port may be used as a hard disk backplane corresponding to a certain peripheral type in different models. However, due to differences in models, the peripheral silkscreens assigned by BIOS to the CPU PE port may be inconsistent.

[0123] Taking the NVMe hard drive backplane as an example, for a 16-drive model that supports all AnyBays, the starting position of the chassis silkscreen corresponding to NVMe is slot 0. Therefore, the silkscreens assigned to the four NVMe hard drives corresponding to the PE port in the BIOS are 0, 1, 2, and 3.

[0124] If only the last two slots of a 12-drive model support AnyBay, the starting position of the nvme silkscreen corresponding to the chassis is slot 10, and the silkscreens assigned to the corresponding PE ports in the BIOS are 10 and 11.

[0125] If the last two slots of a 9-drive model support AnyBay, the NVMe chassis silkscreen starts at slot 7, and the corresponding PE port silkscreens assigned in the BIOS are 7 and 8. Therefore, if a CPU PE port needs to be assigned to an NVMe drive in different model configurations, the method of allocating PCIE bandwidth and silkscreen based solely on the peripheral ID signal value needs further adjustment.

[0126] In view of this situation, the technical solution of the embodiment of the present application should be considered accordingly during design. Taking the 9-disk, 12-disk, and 16-disk models with NVME hard disk requirements as an example, the PCIE output lines of the NVME backplane involved in each model are all started from a fixed PE port (i.e., the target PCIE external interface) under a fixed CPU (i.e., the target central processing unit), and in all configurations, NVME is guaranteed to be allocated from the same target PCIE external interface:

[0127] First, after determining the number and position of the AnyBay hard disk interface slots supported by the servers to be identified of different models, as well as the number of NVMe disks that are explicitly supported, we start with the PE Port that is ranked highest in the currently identified server and determine whether it can fully accommodate the bandwidth required by the NVMe peripherals. If so, we use that PE port as the target PCIE external interface so that the PCIE output lines of the NVMe peripherals in each model are all drawn out from the same PE port, until N PE ports that also meet the conditions are selected from front to back and integrated into a PCIE external interface set.

[0128] If not, the same judgment is performed on the next PE port of the PE port until the first target PCIE external interface that meets the bandwidth allocation is found.

[0129] Next, the slot numbers of the NVMe peripherals managed by the PCIE external interfaces included in the PCIE external interface set are sorted starting from 0 with an equal interval of 1, and incremented up to the number M of NVMe hard drives supported by the server with the largest number of NVMe hard drives among all the servers to be identified. Then, according to the silk screen printing rules corresponding to the NVMe peripherals, the corresponding slot number combinations are sequentially filled into the corresponding silk screen templates, and finally the peripheral silk screen of the NVMe peripherals in the currently identified server is obtained.

[0130] Since NVMe hard drive recognition uses a granularity of 4 hard drives, if a backplane is in place but not fully populated with hard drives, the silkscreen will display the entire backplane (in units of 4 hard drives). The actual hard drive presence can be determined in the next menu.

[0131] It is understandable that since different models support different numbers of NVMe disks, it is necessary to ensure that the PCIE external interface set configured for a server with a small number of NVMe hard disks is a subset of the PCIE external interface set configured for a server with a large number of NVMe hard disks.

[0132] If both 9-drive and 12-drive models require two NVMe ports, support is provided by CPU0PE0. If a 16-drive model requires 16 NVMe ports, the NVMe drives need to be evenly distributed across the PE ports of the two CPUs, with support provided by CPU0_PE0, CPU0_PE2, CPU1_PE0, and CPU1_PE2. Table 3 shows the NVMe silkscreen in the peripheral configuration information for a fully configured 16-drive model.

[0133] Table 3 Peripheral configuration information diagram 3

[0134] Among them, nvme8, 9, 10, and 11 are allocated to CPU1_PE0, and nvme12, 13, 14, and 15 are allocated to CPU1_PE2, which are not detailed in Table 3.

[0135] Furthermore, because each model supports different AnyBay backplane slots, each configuration requires a different number of NVMe drives, and the slot locations on the chassis are also different. For example, a 16-drive model requires NVMe support from slots 015 (as indicated by the chassis silkscreen). A 12-drive configuration only requires NVMe support from slots 10 and 11, and a 9-drive configuration only requires NVMe support from slots 7 and 8.

[0136] The silk screen template corresponds to the peripheral type one by one, and the silk screen template is composed of a combination of the silk screen type corresponding to the peripheral type and the slot number.

[0137] It is understandable that in the case of mixed insertion of hard drives, it is necessary to indicate one or more chassis slots to support target peripherals of different peripheral types according to the configuration requirement information, and to avoid the misalignment of the silk screens of peripherals of different peripheral types by allocating the silk screens of target peripherals of different peripheral types starting from 0.

[0138] The embodiment of the present application sequentially selects target PCIE external interfaces that meet actual design requirements from the port sequence, makes decisions based on the total number of target PCIE external interfaces and the total number of PCIE external interfaces, sorts the slot numbers of the target peripherals starting from 0 in both full and reduced configuration situations, and then fills the sorted slot numbers with the target silkscreen template corresponding to the peripheral type of the target peripheral to generate the peripheral silkscreen of the target peripheral under the corresponding target PCIE external interface. It can uniformly sort the peripheral silkscreens when facing requirements such as mixed insertion of hard drives and reduced hard drive configuration on different models, avoiding inaccurate configuration recognition caused by large differences in the peripheral silkscreens of different peripheral types.

[0139] On the basis of any of the above embodiments, based on the design requirement information of each hard disk interface, the target PCIE external interface is screened out in the port sequence, including: when it is determined that the target peripheral type is an NVMe hard disk, the target PCIE external interface is evenly distributed in each central processor.

[0140] Optionally, when determining that the target peripheral type is an NVMe hard disk, the server peripheral configuration identification device needs to evenly distribute the target PCIE external interfaces adapted for the NVMe disk to the PE ports of all CPUs included in the server to be identified.

[0141] When the target peripheral type is determined to be an NVMe hard drive, the embodiment of the present application decides to evenly distribute the target PCIE external interfaces among the central processing units. This satisfies the load balancing of multiple CPUs and ensures that the NVMe silkscreen of each configuration remains consistent in the BIOS regardless of the number of hard drives.

[0142] On the basis of any of the above embodiments, after determining the peripheral bandwidth of each peripheral under the PCIE external interface based on the peripheral ID signal, it also includes: when it is determined that there are two peripherals with the same peripheral bandwidth and different peripheral silk screens under the currently identified PCIE external interface, the peripheral configuration is identified according to the peripheral ID signals transmitted by the remaining PCIE external interfaces, and then the peripheral silk screen is allocated to the currently identified PCIE external interface.

[0143] Optionally, if the server peripheral configuration identification device determines under a certain CPU PE port that different peripheral silk screens are assigned to the same ID level value (i.e., the same PCIE bandwidth) based on the peripheral ID signal transmitted by it, it is necessary to identify the characteristics of the interface configuration that are different from other interface configurations based on the peripheral ID signal allocation of other CPU PE ports, and then assign the corresponding peripheral silk screen to the currently identified CPU PE port row based on the different characteristics of a certain peripheral under multiple CPU PE ports.

[0144] When determining that the same peripheral ID signal is assigned to different silkscreens on the same CPU PE port, the embodiment of the present application first determines the peripheral configuration of the peripheral ID signals transmitted by the other PCIE external interfaces. After comparing the unique characteristics of the port configuration with those of other ports, the unique characteristics are used to configure the peripheral silkscreen for the current CPU PE port. This can prevent the CPU PE port from having two peripherals with the same peripheral bandwidth assigned duplicate peripheral silkscreens.

[0145] Based on any of the above embodiments, the peripheral bandwidth is divided according to the peripheral type.

[0146] The peripheral types include an NVMe hard disk corresponding to a peripheral bandwidth of x4, a riser hard disk corresponding to a peripheral bandwidth of x8, a riser hard disk or an OCP hard disk corresponding to a peripheral bandwidth of x16, and a null value.

[0147] Optionally, before step 102, the server peripheral configuration identification device classifies the peripheral types according to the PCIE peripheral scalability type into NVMe hard disks with a peripheral bandwidth of x4, riser hard disks with a peripheral bandwidth of x8, riser hard disks or OCP hard disks with a peripheral bandwidth of x16, and a null value corresponding to when no peripheral is connected. The signal values ​​00, 01, 10, and 11 of the ID[1:0] signal are used to correspond to the above four bandwidth allocation situations, respectively.

[0148] Among them, there are two types of peripherals corresponding to the peripheral bandwidth of x16. In addition to the ID value, the identification of the OCP hard disk also requires the OCP presence signal.

[0149] The embodiment of the present application divides peripheral bandwidth into four categories based on the scalable peripheral types. Furthermore, during configuration identification, the peripheral type and peripheral bandwidth supported by each interface can be uniquely determined based on the peripheral ID signal, and the corresponding silkscreen can be assigned. The silkscreen corresponding to each peripheral type can be unified to start at 0, avoiding the deviation between the silkscreen under different configurations of the BIOS and the hardware chassis silkscreen due to the original chassis silkscreen having only one row of fixed slot silkscreen numbers from 0 to x.

[0150] Based on any of the above embodiments, the peripheral silk screen is determined according to the peripheral type.

[0151] Among them, the peripheral silk screen includes the NVME silk screen corresponding to the peripheral type of NVME, and the PCIE slot silk screen corresponding to the peripheral type other than NVME.

[0152] Optionally, before step 102, the server peripheral configuration identification device classifies the corresponding peripheral silk screen into NVME silk screen corresponding to NVME and PCIE slot silk screen corresponding to peripheral types other than NVME according to the PCIE peripheral scalable type.

[0153] Correspondingly, as shown in Table 1 and Table 2, if the peripheral bandwidth of the target peripheral is x4, the corresponding silk screen type is nvme, and the silk screen template corresponding to the nvme silk screen is nvme x1.

[0154] Among them, x1 is the slot number combination corresponding to the nvme silkscreen.

[0155] For example, as shown in Table 1 and Table 3, if the peripheral bandwidth of the target peripheral is a value other than x4, the corresponding silk screen type is a peripheral type other than nvme, and the silk screen template corresponding to the PCIE slot silk screen is slot x2.

[0156] Among them, x2 is the slot number combination corresponding to the PCIE slot silkscreen.

[0157] If the PE port is assigned an x16 bandwidth, it only supports one x16 slot, and its PCIE slot silkscreen is slot x2. If the PE port is assigned two x8 bandwidths, it supports two x8 slots, and its PCIE slot silkscreen is slot x3 / x4.

[0158] The embodiment of the present application divides the peripheral silk screen into two categories based on the scalable peripheral types. This allows the user to uniquely determine the peripheral type and bandwidth supported by each interface based on the peripheral ID signal during configuration identification and uniquely assign the corresponding silk screen. The silk screens corresponding to each peripheral type can be unified to start at 0, avoiding the discrepancy between the silk screens in different BIOS configurations and the silk screens in the hardware chassis, as the original chassis silk screen only has one row of fixed slot silk screen numbers from 0 to x.

[0159] FIG3 is a flow chart of a peripheral silkscreen layout method in some embodiments of the present application. As shown in FIG3, based on any of the above embodiments, the peripheral silkscreen layout method provided in the embodiments of the present application includes: Step 301, based on the above server peripheral configuration identification method, obtaining peripheral configuration information under each PCIE external interface.

[0160] It should be noted that the execution entity of the peripheral silk screen layout method provided in the embodiment of the present application is a peripheral silk screen layout device set in the server.

[0161] The application scenario of the peripheral silk screen layout method provided in the embodiment of the present application is to perform physical silk screen layout after the server peripheral configuration identification device identifies the configuration of the processor to be identified.

[0162] Optionally, in step 301, the peripheral silk screen layout apparatus obtains peripheral configuration information under each PCIE external interface identified by the server peripheral configuration identification apparatus when executing the server peripheral configuration identification method for the service to be identified.

[0163] Step 302: Generate silk screen distribution information based on the peripheral silk screen carried in the peripheral configuration information under each PCIE external interface.

[0164] Optionally, in step 302, the peripheral silk screen layout device extracts all peripheral silk screens from the peripheral configuration information under each PCIE external interface, layouts the peripheral silk screens, and generates silk screen distribution information.

[0165] Silkscreen distribution, including the independent arrangement of peripheral silkscreens of the same silkscreen type according to the slot numbers they contain.

[0166] The embodiment of the present application arranges the peripheral configuration information of each PCIE external interface identified by the server peripheral configuration identification device independently and in parallel, thereby perfectly matching the hard disk location numbers in the BIOS silk screen and the BMC WEB device list.

[0167] On the basis of any of the above embodiments, a silk screen distribution is generated based on the peripheral silk screen carried in the peripheral configuration information under each PCIE external interface, including: generating a first arrangement distribution and a second arrangement distribution in the horizontal direction based on the configuration requirement information of the server to be identified and the NVME silk screen contained in the peripheral silk screen.

[0168] Optionally, in step 302, the entity silk screen on the chassis is divided into two rows of SATA entity silk screen and NVME entity silk screen by the peripheral silk screen layout device, and each row of entity silk screen is independent and parallel. Meanwhile, according to which slots of the hard disk interface indicated by the configuration requirement information support anybay hard disk interface, the arrangement of SAS (a kind of hard disk based on SCSI (Small Computer System Interface) protocol) / SATA hard disk interface is converted, and sorted from 0, and sequentially filled into the horizontal row where SATA entity silk screen is located, forming the first arrangement distribution. The nvme silk screen in the peripheral silk screen on the software level is also filled into the horizontal row where NVME entity silk screen is located, forming the second arrangement distribution.

[0169] Among them, the physical silk screen on the chassis panel includes the SATA physical silk screen and the NVME physical silk screen:

[0170] (1) SATA physical silkscreens start from the leftmost side of the chassis panel. The total number of SATA drives that need to be supported varies depending on the model. For example, a 16-drive configuration has SATA silkscreens divided into 015 to support 16 SATA hard drives. A 9-drive configuration has SATA silkscreens divided into 08 to support 9 SATA hard drives. A 12-drive configuration has SATA silkscreens divided into 011 to support 12 SATA hard drives.

[0171] (2) NVME physical silk screen. Since different models support different numbers of NVME disks and the slot positions supporting AnyBay on the chassis are also inconsistent, the starting layout unit of the NVME silk screen on the chassis (that is, the starting position of NVME0) needs to be aligned with the corresponding SAS / SATA silk screen.

[0172] The first arrangement distribution and the second arrangement distribution are spliced ​​up and down to generate the silk screen distribution.

[0173] Optionally, the external silk-screen layout device parallelly splices the first arrangement distribution and the second arrangement distribution up and down, and aligns them both with the right side, to obtain the silk-screen distribution.

[0174] The embodiment of the present application determines the hard disk slot distribution based on the server configuration and directly sorts it to generate a first arrangement distribution. Then, the NVME silk screen contained in the peripheral silk screen is directly filled into the physical silk screen position arranged horizontally in advance to obtain a second arrangement distribution. The first arrangement distribution and the second arrangement distribution formed are then spliced ​​up and down to obtain the silk screen distribution. By dividing the chassis silk screen into two rows of SATA silk screen and NVME silk screen, and each row of silk screen is independently parallel, the physical silk screen on the chassis can be adapted separately for each model, so that the silk screen distribution at the software level is consistent with the physical silk screen on the chassis panel under different models and configurations.

[0175] Based on any of the above embodiments, a first arrangement distribution and a second arrangement distribution in the horizontal direction are generated based on the configuration requirement information of the server to be identified and the NVME silk screen contained in the peripheral silk screen, including: determining the first distribution range and the second distribution range based on the configuration requirement information.

[0176] The number of layout units within the first distribution range is determined based on the total number of chassis slots specified in the configuration requirement information. The starting layout unit of the second distribution range is aligned vertically with the target layout unit in the first distribution range. The target layout unit is determined based on the chassis slot corresponding to the first anybay hard drive interface in the server to be identified.

[0177] Optionally, the peripheral silk screen layout device opens up a corresponding number of continuous layout units in the horizontal direction of the canvas according to the number of chassis slots carried in the configuration requirement information of the server to be identified, and the type of hard disk supported by each chassis slot, to form a first distribution range, so as to use each layout unit in the first distribution range to indicate whether the corresponding chassis slot supports SAS / SATA hard disk.

[0178] At the same time, the target layout unit in the first distribution range is determined according to the sequence of the chassis slot where the first AnyBay hard disk interface is located in the configuration requirement information, and a corresponding number of continuous layout units are opened up directly below the target layout unit to form a second distribution range, so as to use each layout unit in the second distribution range to indicate whether the corresponding chassis slot supports NVMe hard disks.

[0179] If both layout units in a row are assigned corresponding silkscreens, it means that the chassis slot corresponding to that row supports the AnyBay hard drive interface. If only one layout unit in a row is assigned a silkscreen, it means that the chassis slot corresponding to that row only supports the single hard drive interface corresponding to that silkscreen type.

[0180] Fill in the first distribution range from left to right starting from 0 to generate the first permutation distribution.

[0181] Optionally, the peripheral silk screen layout device can determine the SAS / SATA hard disk slot distribution based on the distribution of the anybay hard disk interface on the backplane indicated by the configuration requirements, and fill it directly from 0, from left to right, into the layout units within the first distribution range to form a first arrangement distribution.

[0182] Because the AnyBay hard drive interface supports both SATA and NVMe hard drives, the AnyBay and non-AnyBay hard drive interface distributions can be used to deduce the SAS / SATA hard drive slot distribution. In particular, when fully configured, the number of SAS / SATA hard drive slots equals the total number of chassis slots.

[0183] Fill in the slot numbers in the nvme silkscreen from left to right in the corresponding second distribution range to generate the second arrangement distribution.

[0184] Optionally, the peripheral silk screen layout device fills the slot numbers carried in the nvme silk screen on the software layer into the layout units within the second distribution range from left to right to form a second arrangement distribution.

[0185] For example, Figure 4 is a schematic diagram of the arrangement of physical silk screens in some embodiments of the present application. As shown in Figure 4, the embodiments of the present application take servers with 16 disks, 12 disks, and 9 disks as examples, and provide a corresponding arrangement distribution method for the silk screen distribution:

[0186] For example, if a 16-drive, all-anybay backplane needs to support 16 NVMe slots, a first distribution range consisting of 16 horizontally arranged layout units is generated starting from the leftmost side of the canvas. The first arrangement is then generated based on the SAS / SATA drive slot distribution, resulting in a first arrangement of 015. Similarly, if the second distribution range contains the same number of units and the NVMe silkscreen is filled in sequentially from the peripheral silkscreen, the resulting second arrangement is identical to the first.

[0187] For example, if 12 hard drives are supported, the configuration would be 10 SATA interfaces + 2 AnyBay interfaces. Therefore, a maximum of 12 SATA interfaces and 2 NVMe interfaces are required. Since the AnyBay interfaces (those requiring NVMe support) are located at interfaces 10 / 11 on the backplane, at the rear of the chassis, the second arrangement is divided into 01, and the NVMe0 silkscreen on the chassis panel must be aligned with the SATA10 silkscreen.

[0188] For example, 9 hard drives support 7 SATA interfaces and 2 AnyBay interfaces. Therefore, a maximum of 9 SATA interfaces and 2 NVMe interfaces are required. Since the AnyBay interfaces (those that require NVMe support) are located at the 7th / 8th interface on the backplane, at the rear of the chassis, the second arrangement is divided into 01, and the NVMe0 silkscreen on the chassis panel must be aligned with the SATA7 silkscreen.

[0189] In this embodiment of the application, while determining the first distribution range based on the configuration requirement information, the target layout unit of the chassis slot corresponding to the first AnyBay hard drive interface in the first distribution range is used as the starting layout unit of the second distribution range for spatial expansion, and the NVMe silkscreen included in the SAS / SATA hard drive slot distribution and the peripheral silkscreen is respectively filled into the first distribution range and the second distribution range to form the first and second distribution ranges. It can adapt to any reduction and mixing of any model and flexible plug-in methods, and can ensure that the BIOS software silkscreen is consistent with the physical silkscreen on the chassis panel.

[0190] Based on any of the above embodiments, after generating the silk screen distribution based on the peripheral silk screen carried in the peripheral configuration information under each PCIE external interface, the method further includes: generating a silk screen layout diagram based on the silk screen distribution.

[0191] Optionally, after step 302, the peripheral silk screen layout device may further adjust the silk screen distribution according to built-in graphic design software to generate a silk screen layout diagram.

[0192] The silk screen layout drawing is transferred to a print output device, so that the print output device prints out the silk screen layout drawing in the form of a label sticker.

[0193] The label sticker is used to be attached to the surface of the chassis ear plate of the server to be identified to clearly indicate the peripheral configuration of the server to be identified.

[0194] Optionally, the peripheral silk screen layout device transmits the designed silk screen layout diagram to the base printing output device.

[0195] The print output device receives the silk screen layout diagram, controls the print output device to respond to the print signal, and prints the silk screen layout diagram into a label sticker.

[0196] The label sticker can be manually attached to the surface of the chassis ear plate of the server to be identified by the user to identify the relevant peripheral configuration of the corresponding server.

[0197] The forms of label stickers include but are not limited to adhesive stickers, magnetic stickers, etc., which are not limited in the embodiments of the present application.

[0198] The embodiment of the present application generates a silkscreen layout diagram by adjusting the silkscreen distribution, and sends the silkscreen layout diagram to a printing device to output the silkscreen layout diagram in the physical form of a label sticker. It can output the corresponding physical silkscreen for the software silkscreen of servers under different models and configurations, and attach the physical silkscreen to the corresponding server chassis in the form of a label sticker to accurately display the current hard drive status supported by each slot, and perfectly correspond to the hard drive location number in the BIOS silkscreen and the device list of the BMC web.

[0199] On the basis of any of the above embodiments, generating a silk screen layout diagram based on the silk screen distribution includes: setting different font colors for the first arrangement distribution and the second arrangement distribution in the silk screen distribution.

[0200] Optionally, the peripheral silk screen layout device sets different font colors for the first arrangement distribution and the second arrangement distribution in the silk screen distribution situation respectively.

[0201] When it is determined that the configuration requirement information indicates that all hardware interfaces in the server to be identified are anybay hard disk interfaces, vertical partitions corresponding to the number of CPUs in the server to be identified are generated in the canvas.

[0202] Optionally, if the peripheral silk screen layout device determines according to the configuration requirement information that all hardware interfaces in the server to be identified support the Anybay hard disk interface, a vertical partition corresponding to the number of CPUs of the server to be identified is generated in the canvas corresponding to the label sticker.

[0203] In each vertical partition, the corresponding first arrangement distribution and second arrangement distribution are filled with different font colors to generate a silk screen layout diagram.

[0204] Optionally, the peripheral silk screen layout device fills the parts corresponding to the PE Port on the same CPU in the first arrangement distribution and the second arrangement distribution with the font color of the setting number to the vertical partition corresponding to the CPU according to the CPU PE Port where the peripheral silk screen is located, so as to generate the final silk screen layout diagram.

[0205] In this embodiment, different font colors are set for the first and second arrangement distributions based on actual display requirements. When it is determined based on configuration requirement information that all hardware interfaces in the server support AnyBay, the first and second arrangement distributions are filled with corresponding font colors in the corresponding vertical partitions to obtain the final silkscreen layout diagram before printing. The supported hard drive slots can be displayed in different colors based on the AnyBay slot location requirements of different models, and each model can be individually adapted.

[0206] Based on any of the above embodiments, after setting different font colors for the first arrangement distribution and the second arrangement distribution in the silk-screen distribution situation, it also includes: when it is determined that the configuration requirement information indicates that at least one hardware interface in the server to be identified is not an anybay hard disk interface, generating independent partitions corresponding to the number of layout units of the first arrangement distribution in the canvas.

[0207] Optionally, if the peripheral silk screen layout device determines according to the configuration requirement information that all hardware interfaces in the server to be identified support the Anybay hard disk interface, an independent partition corresponding to the number of layout units distributed in the first arrangement is generated in the canvas corresponding to the label sticker.

[0208] Among them, all independent partitions can be arranged in the form of multiple rows and columns.

[0209] Each element in the first permutation distribution after setting the font color is sequentially filled into each independent partition.

[0210] Optionally, the peripheral silk screen layout device fills each bit element in the first arrangement distribution with a set font color in the corresponding independent partition.

[0211] Each element in the second arrangement distribution after setting the font color is filled starting from the target independent partition and sequentially filling to the last independent partition to generate a silk screen layout diagram.

[0212] The target independent partition is an independent partition corresponding to the target layout unit in the first arrangement distribution.

[0213] It should be noted that the target independent partition refers to the independent partition corresponding to the target layout unit in the first arrangement distribution.

[0214] Optionally, the external silk screen layout device fills each element in the second arrangement distribution with a font color that is different from the first arrangement distribution, starting from the target independent partition, and sequentially fills it to the last independent partition, and arranges it behind the elements of the first arrangement distribution under the corresponding independent partition to generate the final silk screen layout diagram.

[0215] In the embodiment of the present application, different font colors are set for the first and second arrangement distributions according to actual display requirements. When it is determined based on the configuration requirement information that only some hardware interfaces in the server support anybay, an equal number of independent partitions are opened according to the number of units in the first arrangement distribution. After the first arrangement distribution is filled with the corresponding font color in each independent partition, the second arrangement distribution is then compatible-filled starting from the target independent partition with the corresponding font color to obtain the final silk screen layout before printing. It can display the supported hard drive slots in different colors according to the anybay slot position requirements of different models, and adapt to each model separately.

[0216] Based on any of the above embodiments, after generating a silk screen layout diagram based on the silk screen distribution, it also includes: when it is determined according to the configuration requirement information that the server to be identified is only configured with one hardware interface, a new label partition is created below the silk screen layout diagram.

[0217] Optionally, if the peripheral silk-screen layout device determines according to the configuration requirement information that the server to be identified is configured with only one hardware interface, a label partition is opened directly below the silk-screen layout diagram.

[0218] The width of the label partition is equal to the width of the silk screen layout diagram, and the length of the label partition is less than the length of the silk screen layout diagram.

[0219] According to the type of a configured hardware interface, corresponding label content is set in the label partition.

[0220] Optionally, the peripheral silk-screen layout device sets label content corresponding to the type of the hardware interface configured on the server to be identified in the label partition to generate a final silk-screen layout diagram.

[0221] For example, Figure 5 is a schematic diagram of the arrangement of the silk screen layout diagram in some embodiments of the present application. As shown in Figure 5, the embodiments of the present application take servers with 16 disks, 12 disks, and 9 disks as examples to provide a corresponding arrangement and distribution method of the silk screen layout diagram:

[0222] It should be understood that the bold part in Figure 5 only illustrates a situation of distinguishing between NVME silk screen printing and SATA silk screen printing. In addition to using bold fonts to distinguish, different font colors can also be set.

[0223] For example, if a 16-disk full anybay backplane needs to support 16 NVMes, the silkscreen layout diagram includes two adjacent vertical partitions. In each vertical partition, the peripherals included in the CPU are silkscreened in different font colors in the parts corresponding to the first and second arrangement distributions, and arranged parallel to each other.

[0224] For example, if the 12-disk support format is 10 SATA interfaces + 2 AnyBay interfaces, the silkscreen layout includes 12 independent partitions arranged in three rows and four columns. For the first arrangement and distribution, the SATA physical silkscreen is filled in the order of 011 with the corresponding font color. Then, for the second arrangement and distribution, the NVMe physical silkscreen is filled in with the 10 and 11 in the NVMe silkscreen in different font colors in the independent partitions where SATA10 and SATA11 are located.

[0225] For example, if 9 drives support 7 SATA interfaces and 2 AnyBay interfaces, the silkscreen layout includes 9 independent partitions arranged in three rows and three columns. For the first arrangement and distribution, the SATA physical silkscreen is filled in in the order of 08 with the corresponding font color. For the second arrangement and distribution, the NVMe physical silkscreen is filled in with the 7 and 8 in the NVMe silkscreen in different font colors in the independent partitions where SATA7 and SATA8 are located.

[0226] In addition, taking the 16-disk full AnyBay backplane as an example, there may be three situations: full SATA, mixed SATA / NVMe, and full NVMe. If only SATA is supported, and the NVMe physical silkscreen is also there, it may mislead the operation and maintenance personnel. Based on this situation, the design adds another label under the silkscreen layout diagram. If there is a situation where only one type of hard drive needs to be installed when the AnyBay backplane is shipped, SAS / SATA ONLY or NVME ONLY can be affixed according to the shipping situation. It means that the current model only supports a single type of hard drive. When mixed insertion is required, this extra label can be omitted.

[0227] It is understood that this label is optional. It can be attached according to the installation of the hard drive, or it can be left unattached, depending on the user's needs.

[0228] In accordance with actual display requirements, the embodiment of the present application creates a new label partition below the silkscreen layout diagram when it is determined based on the configuration requirement information that only one hardware interface is configured in the server. This is used to fill in the label content corresponding to the type of the currently configured hardware interface. When the hard disk is flexibly selected and only a certain type of hard disk is installed, a new label is designed to be created below the silkscreen layout diagram to indicate that the current model only supports a certain type of hard disk. This avoids misleading operation and maintenance personnel due to the presence of chassis silkscreens indicating other interfaces when only one interface is supported.

[0229] FIG6 is a schematic diagram of the structure of a server peripheral configuration identification device in some embodiments of the present application. Based on any of the above embodiments, as shown in FIG6 , the server peripheral configuration identification device provided in the embodiment of the present application includes a port identification module 610, a configuration identification module 620, and a silk screen synchronization module 630, wherein:

[0230] The port identification module 610 is configured to determine the PCIE external interface of each central processing unit based on the configuration requirement information of the server to be identified. The server to be identified is configured with an AnyBay hard drive interface. The configuration requirement information includes at least the configuration information of the central processing unit and the design requirement information of each hard drive interface.

[0231] The configuration identification module 620 is configured to determine the type of peripherals that can be configured under the peripheral bandwidth corresponding to the peripheral ID signal according to the level state of each peripheral ID signal transmitted by each PCIE external interface, and assign corresponding serial numbers to peripherals of different peripheral types to generate a peripheral silk screen containing the order of all peripherals managed by the server to be identified.

[0232] The silk screen synchronization module 630 is configured to send the peripheral silk screen to the basic input and output system and / or the baseboard management controller, so that the basic input and output system and / or the baseboard management controller can unify their respective default silk screens into the peripheral silk screen.

[0233] Optionally, the port identification module 610 , the configuration identification module 620 and the silk screen synchronization module 630 are electrically connected in sequence.

[0234] The port identification module 610 determines the PE port under each CPU according to the configuration requirement information corresponding to the actual design requirement of the server to be identified.

[0235] The configuration identification module 620 sequentially determines the level status of each peripheral ID signal transmitted under each PE port based on a pre-established mapping rule to determine the peripheral type, peripheral bandwidth, and peripheral type to be assigned to the current CPU PE port according to the peripheral ID signal. It then integrates the peripheral type, peripheral bandwidth, and peripheral type identified by the peripheral ID signal under each PE port into the peripheral configuration information corresponding to the PE port.

[0236] The silk screen synchronization module 630 transmits the peripheral configuration information to the BIOS, so that the BIOS can unify all BIOS silk screens to be displayed in the SETUP interface into the peripheral silk screens in the peripheral configuration information.

[0237] At the same time, the server peripheral configuration identification device can also transmit the peripheral configuration information to the BMC, so that the BMC can unify all the BMC silk screens displayed in the device list under its WEB interface into the peripheral silk screens in the peripheral configuration information.

[0238] Optionally, the configuration identification module 620 includes a traversal configuration unit, a peripheral allocation unit, and a silk screen allocation unit, wherein:

[0239] The traversal configuration unit is configured to traverse the design requirement information of each hard disk interface in all servers to be identified, and obtain the slot quantity and position of the anybay hard disk interface in each server to be identified, as well as the slot silkscreen of each server to be identified under the basic input and output system.

[0240] The peripheral allocation unit is configured to determine the peripheral type supported by each server to be identified based on all peripheral ID signals transmitted by each server to be identified and the correspondence between the peripheral ID signals and the peripheral bandwidth.

[0241] The silk screen allocation unit is configured to configure the slot numbers of all peripherals with NVME type in the server to be identified starting from the target PCIE external interface under the target central processor. The configuration implementation steps are as follows:

[0242] Based on the number and position of the anybay hard disk interface in the server to be identified, a PCIE external interface set having N PCIE external interfaces is sequentially configured starting from the target PCIE external interface;

[0243] After allocating slot numbers of peripherals with the peripheral type of nvme under each PCIE external interface in the PCIE external interface set from 0 to M, the allocated slot numbers are sequentially filled into the corresponding silk screen templates to generate the peripheral silk screen of the peripheral with the peripheral type of nvme;

[0244] Wherein, M is a positive integer, M represents the number of nvme hard drives supported by a configuration that supports the most nvme hard drives after traversing all the server configurations to be identified. N is a positive integer, N represents the number of PCIE external interfaces of the central processing unit used by a configuration that supports the most nvme hard drives after traversing all the server configurations. The correspondence between N and M is determined according to the number of PCIE buses supported by each PCIE external interface of the central processing unit, and the value of N is derived by inference after the value of M is determined. The set of PCIE external interfaces configured for the server to be identified with a small number of peripherals of the nvme type is a subset of the set of PCIE external interfaces configured for the server to be identified with a large number of peripherals of the nvme type.

[0245] Optionally, the silk screen distribution unit is configured to evenly distribute N PCIE external interfaces in the PCIE external interface set in each central processing unit.

[0246] Optionally, the device further includes a bandwidth allocation module, wherein:

[0247] The bandwidth allocation module is configured to, when it is determined that there are two peripherals with the same peripheral bandwidth and different peripheral silk screens under the currently identified PCIE external interface, identify the peripheral configuration according to the peripheral ID signals transmitted by the remaining PCIE external interfaces, and then allocate the peripheral silk screen to the currently identified PCIE external interface.

[0248] Optionally, the peripheral bandwidth is divided according to the peripheral type.

[0249] The peripheral types include an NVMe hard disk corresponding to a peripheral bandwidth of x4, a riser hard disk corresponding to a peripheral bandwidth of x8, a riser hard disk or an OCP (Open Compute Project) hard disk corresponding to a peripheral bandwidth of x16, and a null value.

[0250] Optionally, the peripheral silkscreen is determined according to the peripheral type.

[0251] Among them, the peripheral silk screen includes the NVME silk screen corresponding to the peripheral type of NVME, and the PCIE slot silk screen corresponding to the peripheral type other than NVME.

[0252] The server peripheral configuration identification device provided in the embodiment of the present application is configured to execute the above-mentioned server peripheral configuration identification method of the present application. Its implementation method is consistent with the implementation method of the server peripheral configuration identification method provided in the present application, and can achieve the same beneficial effects, which will not be repeated here.

[0253] Based on the server's configuration requirements, the present embodiment determines the distribution of PCIE external interfaces under each central processing unit. Using the peripheral configuration information represented by the peripheral ID signal of each PCIE external interface in all configurations, the PE port of each CPU is uniformly assigned to the same BIOS setup silkscreen and BMC web silkscreen. This enables unified processing of software silkscreens for servers with anybay hard drive interfaces under different models and configurations, avoiding overly complex software configurations. Even with flexible requirements such as mixed hard drive insertion and hard drive reduction, the system can fully adapt, improving the efficiency and feasibility of peripheral configuration identification.

[0254] FIG7 is a schematic diagram of the structure of the peripheral silk screen layout device in some embodiments of the present application. Based on any of the above embodiments, as shown in FIG7, the server peripheral configuration identification device provided in the embodiment of the present application includes a configuration information acquisition module 710 and a silk screen layout module 720, wherein:

[0255] The configuration information acquisition module 710 is configured to acquire the peripheral configuration information of each PCIE external interface based on the above server peripheral configuration identification method.

[0256] The silk screen layout module 720 is configured to generate a silk screen distribution based on the peripheral silk screens carried in the peripheral configuration information under each PCIE external interface.

[0257] Optionally, the configuration information acquisition module 710 and the silk screen layout module 720 are electrically connected in sequence.

[0258] The configuration information acquisition module 710 acquires the peripheral configuration information of each PCIE external interface identified by the server peripheral configuration identification device when executing the server peripheral configuration identification method on the service to be identified.

[0259] The silk screen layout module 720 extracts all peripheral silk screens from the peripheral configuration information under each PCIE external interface, and arranges the peripheral silk screens in the front-end display interface to generate silk screen distribution information.

[0260] Silkscreen distribution, including the independent arrangement of peripheral silkscreens of the same silkscreen type according to the slot numbers they contain.

[0261] Optionally, the silk screen layout module 720 includes an arrangement distribution submodule and a silk screen layout submodule, wherein:

[0262] The arrangement and distribution submodule is configured to generate a first arrangement and distribution and a second arrangement and distribution in the horizontal direction based on the configuration requirement information of the server to be identified and the nvme silk screen included in the peripheral silk screen.

[0263] The silk screen layout submodule is configured to splice the first arrangement distribution and the second arrangement distribution up and down to generate a silk screen distribution.

[0264] Optionally, the arrangement and distribution submodule includes a distribution range determination unit, a first arrangement and distribution unit, and a second arrangement and distribution unit, wherein:

[0265] The distribution range determining unit is configured to determine a first distribution range and a second distribution range based on the configuration requirement information.

[0266] The first permutation distribution unit is configured to fill the first distribution range from left to right in sequence starting from 0 to generate a first permutation distribution.

[0267] The second arrangement and distribution unit is configured to fill the slot numbers in the nvme silk screen from left to right in the corresponding second distribution range to generate a second arrangement and distribution.

[0268] The number of layout units within the first distribution range is determined based on the total number of chassis slots specified in the configuration requirement information. The starting layout unit of the second distribution range is aligned vertically with the target layout unit in the first distribution range. The target layout unit is determined based on the chassis slot corresponding to the first anybay hard drive interface in the server to be identified.

[0269] Optionally, the server peripheral configuration identification device further includes a silk screen layout adjustment module and a printing module, wherein:

[0270] The silk screen layout adjustment module is configured to generate a silk screen layout diagram based on the silk screen distribution situation.

[0271] The printing module is configured to transmit the silk screen layout diagram to a print output device, so that the print output device prints out the silk screen layout diagram in the form of a label sticker.

[0272] The label sticker is used to be attached to the surface of the chassis ear plate of the server to be identified to clearly indicate the peripheral configuration of the server to be identified.

[0273] Optionally, the silk screen layout adjustment module includes a font color setting submodule, a first partition submodule, and a first partition filling submodule, wherein:

[0274] The font color setting submodule is configured to set different font colors for the first arrangement distribution and the second arrangement distribution in the silk screen distribution situation.

[0275] The first partitioning submodule is configured to generate vertical partitions corresponding to the number of CPUs of the server to be identified in the canvas when it is determined that the configuration requirement information indicates that all hardware interfaces in the server to be identified are anybay hard disk interfaces.

[0276] The first partition filling submodule is configured to fill the corresponding first arrangement distribution and second arrangement distribution in each longitudinal partition with different font colors to generate a silk screen layout diagram.

[0277] Optionally, the silk screen layout adjustment module further includes a second partition submodule, a second partition filling submodule and a third partition filling submodule, wherein:

[0278] The second partitioning submodule is configured to generate independent partitions corresponding to the number of layout units of the first arrangement distribution in the canvas when it is determined that the configuration requirement information indicates that at least one hardware interface in the to-be-identified server is not an anybay hard disk interface.

[0279] The second partition filling submodule is configured to sequentially fill each element in the first arrangement distribution after the font color is set into each independent partition.

[0280] The third partition filling submodule is configured to fill each element in the second arrangement distribution after the font color is set from the target independent partition to the last independent partition in sequence to generate a silk screen layout diagram.

[0281] The target independent partition is an independent partition corresponding to the target layout unit in the first arrangement distribution.

[0282] Optionally, the silk screen layout adjustment module further includes a label partition creation submodule and a fourth partition filling submodule, wherein:

[0283] The label partition creation submodule is configured to create a new label partition below the silkscreen layout diagram when it is determined according to the configuration requirement information that the server to be identified is configured with only one hardware interface.

[0284] The fourth partition filling submodule is configured to set corresponding label content in the label partition according to the type of a configured hardware interface.

[0285] The peripheral silk screen layout device provided in the embodiment of the present application is configured to execute the above-mentioned peripheral silk screen layout method of the present application. Its implementation method is consistent with the implementation method of the peripheral silk screen layout method provided in the present application, and can achieve the same beneficial effects, which will not be repeated here.

[0286] The embodiment of the present application arranges the peripheral configuration information of each PCIE external interface identified by the server peripheral configuration identification device independently and in parallel, thereby perfectly matching the hard disk location numbers in the BIOS silk screen and the BMC WEB device list.

[0287] FIG8 is a schematic diagram of the structure of a server in some embodiments of the present application. Based on any of the above embodiments, as shown in FIG8 , the server provided in the embodiments of the present application includes a server body 800, which includes a basic input / output system 810 and a baseboard management controller 820. The basic input / output system 810 is configured to implement the above server peripheral configuration identification method.

[0288] The baseboard management controller 820 is configured to receive the peripheral configuration information identified by the basic input and output system 810 and unify the peripheral configuration information using the peripheral silk screen carried in the peripheral configuration information.

[0289] Optionally, the server is composed of at least a basic input / output system 810 and a baseboard management controller 820, wherein:

[0290] Based on actual user needs, such as hard drive intermixing and hard drive reduction, the BIOS 810 determines the peripheral bandwidth allocated to the current CPU PE port and peripheral configuration information, including the associated silkscreen, based on the status of the peripheral ID signal. After identifying the peripheral configuration, the BIOS unifies all BIOS silkscreens displayed in the SETUP interface with the peripheral configuration information. Simultaneously, the obtained peripheral configuration information is sent to the baseboard management controller 820.

[0291] The baseboard management controller 820 unifies all the BMC silk screens displayed in the device list under its WEB interface into the peripheral silk screens in the peripheral configuration information, so as to print the device location information on the WEB interface for software and hardware correspondence.

[0292] Based on the server's configuration requirements, the present embodiment determines the distribution of PCIE external interfaces under each central processing unit. Using the peripheral configuration information represented by the peripheral ID signal of each PCIE external interface in all configurations, the PE port of each CPU is uniformly assigned to the same BIOS setup silkscreen and BMC web silkscreen. This enables unified processing of software silkscreens for servers with anybay hard drive interfaces under different models and configurations, avoiding overly complex software configurations. Even with flexible requirements such as mixed hard drive insertion and hard drive reduction, the system can fully adapt, improving the efficiency and feasibility of peripheral configuration identification.

[0293] Figure 9 is a structural diagram of an electronic device in some embodiments of the present application. As shown in Figure 9, the electronic device may include: a processor (processor) 910, a communication interface (Communications Interface) 920, a memory (memory) 930 and a communication bus 940, wherein the processor 910, the communication interface 920, and the memory 930 communicate with each other through the communication bus 940. The processor 910 can call logic instructions in the memory 930 to execute a server peripheral configuration identification method, the method comprising: determining the PCIE external interface under each central processing unit based on the configuration requirement information of the server to be identified; determining the peripheral configuration information under the PCIE external interface based on the peripheral ID signal transmitted by each PCIE external interface; sending the peripheral configuration information to the basic input and output system and / or the baseboard management controller so that the basic input and output system and / or the baseboard management controller can unify the respective default silk screens into the peripheral silk screens carried in the peripheral configuration information; wherein the server to be identified is configured with an AnyBay hard disk interface; the configuration requirement information at least includes the configuration information of the central processing unit and the design requirement information of each hard disk interface; the peripheral configuration information includes the peripheral bandwidth, peripheral type, and peripheral silk screen of at least one peripheral. A peripheral silk screen layout method can also be executed, the method comprising: obtaining the peripheral configuration information under each PCIE external interface based on any of the server peripheral configuration identification methods described above; and generating a silk screen distribution based on the peripheral silk screens carried in the peripheral configuration information under each PCIE external interface.

[0294] In addition, the logic instructions in the above-mentioned memory 930 can be implemented in the form of a software functional unit and can be stored in a non-volatile readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the relevant technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a non-volatile readable storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned non-volatile readable storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code.

[0295] On the other hand, the present application also provides a computer program product, which includes a computer program, which can be stored on a non-volatile readable storage medium. When the computer program is executed by a processor, the computer can execute the server peripheral configuration identification method provided by the above methods, the method including: determining the PCIE external interface under each central processing unit based on the configuration requirement information of the server to be identified; wherein the server to be identified is configured with an anybay hard disk interface; the configuration requirement information includes at least the configuration information of the central processing unit and the design requirement information of each hard disk interface; determining the type of peripherals that can be configured under the peripheral bandwidth corresponding to the peripheral ID signal according to the level state of each peripheral ID signal transmitted by each PCIE external interface, and assigning corresponding serial numbers to peripherals of different peripheral types to generate a peripheral silk screen containing the order of all peripherals managed by the server to be identified; sending the peripheral silk screen to the basic input and output system and / or the baseboard management controller, so that the basic input and output system and / or the baseboard management controller unify their respective default silk screens into the peripheral silk screen. A peripheral silk screen layout method can also be executed, which includes: based on any of the above server peripheral configuration identification methods, obtaining peripheral configuration information under each PCIE external interface; generating a silk screen distribution based on the peripheral silk screen carried in the peripheral configuration information under each PCIE external interface.

[0296] On the other hand, the present application also provides a non-volatile readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the server peripheral configuration identification method provided by the above-mentioned methods, the method comprising: determining the PCIE external interface under each central processing unit based on the configuration requirement information of the server to be identified; wherein the server to be identified is configured with an anybay hard disk interface; the configuration requirement information includes at least the configuration information of the central processing unit and the design requirement information of each hard disk interface; determining the type of peripherals that can be configured under the peripheral bandwidth corresponding to the peripheral ID signal according to the level state of each peripheral ID signal transmitted by each PCIE external interface, and assigning corresponding serial numbers to peripherals of different peripheral types to generate a peripheral silk screen containing the order of all peripherals managed by the server to be identified; sending the peripheral silk screen to the basic input and output system and / or the baseboard management controller so that the basic input and output system and / or the baseboard management controller can unify their respective default silk screens into the peripheral silk screen. A peripheral silk screen layout method can also be executed, which includes: based on any of the above server peripheral configuration identification methods, obtaining peripheral configuration information under each PCIE external interface; generating a silk screen distribution based on the peripheral silk screen carried in the peripheral configuration information under each PCIE external interface.

[0297] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units. That is, they may be located in one place or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.

[0298] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, or of course, by hardware. Based on this understanding, the above technical solution, in essence, or the part that contributes to the relevant technology, can be embodied in the form of a software product. This computer software product can be stored in a non-volatile readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of each embodiment or certain parts of the embodiment.

[0299] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for identifying server peripheral configuration, characterized in that: include: Based on the configuration requirement information of the server to be identified, determine the high-speed serial computer expansion bus standard PCIE external interface under each central processing unit; wherein the server to be identified is configured with an anybay hard disk interface; the configuration requirement information at least includes the configuration information of the central processing unit and the design requirement information of each hard disk interface; According to the level state of each peripheral ID signal transmitted by each PCIE external interface, the type of peripherals that can be configured under the peripheral bandwidth corresponding to the peripheral ID signal is determined in turn, and corresponding serial numbers are assigned to peripherals of different peripheral types to generate a peripheral silk screen containing the order of all peripherals managed by the server to be identified; the peripheral silk screen is sent to the basic input and output system and / or the baseboard management controller, so that the basic input and output system and / or the baseboard management controller can unify their respective default silk screens into the peripheral silk screen.

2. The server peripheral configuration identification method according to claim 1, characterized in that: The method sequentially determines the type of peripherals that can be configured under the peripheral bandwidth corresponding to the peripheral ID signal according to the level state of each peripheral ID signal transmitted by each PCIE external interface, and assigns corresponding serial numbers to peripherals of different types to generate a peripheral silk screen containing the order of all peripherals managed by the server to be identified, including: Traversing the design requirement information of each hard disk interface in all servers to be identified, obtaining the number and position of the slots of the anybay hard disk interface in each server to be identified, and the slot silk screen of each server to be identified under the basic input and output system; According to all peripheral ID signals transmitted in each server to be identified, the type of peripherals supported by each server to be identified is determined through the correspondence between the peripheral ID signals and the peripheral bandwidth; The slot numbers of all peripherals of the server to be identified whose peripheral types are non-volatile storage access nvme are configured starting from the target PCIE external interface under the target central processor. The configuration implementation steps are as follows: Based on the number and position of the slots of the anybay hard disk interface in the server to be identified, sequentially configuring a PCIE external interface set having N PCIE external interfaces starting from the target PCIE external interface; After sequentially allocating slot numbers of peripherals with a peripheral type of nvme under each PCIE external interface in the PCIE external interface set to 0 to M, the allocated slot numbers are sequentially filled into corresponding silk screen templates to generate a peripheral silk screen of the peripheral with a peripheral type of nvme; Among them, M is a positive integer, M represents the number of nvme hard disks supported by a configuration that supports the most nvme hard disks after traversing all server configurations to be identified; N is a positive integer, N represents the number of PCIE external interfaces of the central processing unit used by a configuration that supports the most nvme hard disks after traversing all server configurations; the correspondence between N and M is determined according to the number of PCIE buses supported by each PCIE external interface of the central processing unit, and the value of N is derived by inference after the value of M is determined; the set of PCIE external interfaces configured for the servers to be identified with a small number of peripherals of the nvme type is a subset of the set of PCIE external interfaces configured for the servers to be identified with a large number of peripherals of the nvme type.

3. The server peripheral configuration identification method according to claim 2, characterized in that: The method of sequentially configuring a PCIE external interface set having N PCIE external interfaces based on the number and position of the anybay hard disk interface in the server to be identified, starting from the target PCIE external interface, comprises: The N PCIE external interfaces in the PCIE external interface set are evenly distributed in each central processing unit.

4. The server peripheral configuration identification method according to claim 1, characterized in that: After receiving the peripheral ID signal transmitted by each of the PCIE external interfaces, the method further includes: When it is determined according to the peripheral ID signal transmitted by the currently identified PCIE external interface that there are two peripherals with the same peripheral bandwidth and different peripheral silk screens under the currently identified PCIE external interface, after the peripheral configuration is identified according to the peripheral ID signal transmitted by the remaining PCIE external interfaces, the peripheral silk screen is allocated to the currently identified PCIE external interface.

5. The server peripheral configuration identification method according to any one of claims 1 to 4, characterized in that: The peripheral bandwidth is the peripheral type is divided according to; Among them, the peripheral type includes an NVME hard disk corresponding to the peripheral bandwidth of x4, a riser hard disk corresponding to the peripheral bandwidth of x8, a riser hard disk or an open computing project OCP hard disk corresponding to the peripheral bandwidth of x16, and a null value.

6. The server peripheral configuration identification method according to claim 5, characterized in that: The peripheral silk screen is determined according to the peripheral type; Among them, the peripheral silk screen includes the nvme silk screen corresponding to the peripheral type of nvme, and the PCIE slot silk screen corresponding to the peripheral type other than nvme.

7. A peripheral screen printing layout method, characterized in that: include: Based on the server peripheral configuration identification method according to any one of claims 1 to 6, obtaining peripheral configuration information under each PCIE external interface; Based on the peripheral silk screen carried in the peripheral configuration information under each PCIE external interface, the silk screen distribution is generated.

8. The peripheral screen printing layout method according to claim 7, characterized in that: The generating of the silk screen distribution based on the peripheral silk screen carried in the peripheral configuration information under each PCIE external interface includes: Based on the configuration requirement information of the server to be identified and the nvme silk screen included in the peripheral silk screen, a first arrangement distribution and a second arrangement distribution in the horizontal direction are generated respectively; The first arrangement distribution and the second arrangement distribution are spliced ​​up and down to generate the silk-screen distribution.

9. The peripheral screen printing layout method according to claim 8, characterized in that: The step of splicing the first arrangement distribution and the second arrangement distribution up and down to generate the silk screen distribution includes: The first arrangement distribution and the second arrangement distribution are parallelly spliced ​​up and down, and both are aligned with the right side to generate the silk screen distribution.

10. The peripheral screen printing layout method according to claim 8, characterized in that: The first arrangement distribution and the second arrangement distribution in the horizontal direction are generated based on the configuration requirement information of the server to be identified and the nvme silk screen included in the peripheral silk screen, respectively, including: Based on the configuration requirement information, determining a first distribution range and a second distribution range; Filling the first distribution range from left to right in sequence starting from 0 to generate the first permutation distribution; Fill the slot numbers in the nvme silk screen from left to right in the second distribution range to generate the second arrangement distribution; Among them, the number of layout units included in the first distribution range is determined according to the total number of chassis slots corresponding to the anybay hard disk interface; the starting layout unit of the second distribution range is aligned vertically with the target layout unit in the first distribution range; the target layout unit is determined according to the chassis slot corresponding to the first anybay hard disk interface in the server to be identified.

11. The peripheral screen printing layout method according to claim 10, characterized in that: The determining the first distribution range and the second distribution range based on the configuration requirement information includes: Based on the number of chassis slots carried in the configuration requirement information and the hard disk type supported by each chassis slot, a corresponding number of continuous layout units are created in the horizontal direction of the canvas to form a first distribution range, wherein each of the layout units in the first distribution range is used to indicate whether the corresponding chassis slot supports a SAS hard disk or a SATA hard disk; According to the sequence of the chassis slot where the first anybay hard disk interface is located in the configuration requirement information, the target layout unit in the first distribution range is determined, and a corresponding number of continuous layout units are created directly below the target layout unit to form a second distribution range, wherein each of the layout units in the second distribution range is used to indicate whether the corresponding chassis slot supports NVMe hard disks.

12. The peripheral screen printing layout method according to claim 8, characterized in that: After the peripheral silk screen carried in the peripheral configuration information under each PCIE external interface is generated based on the silk screen distribution, the method further includes: Based on the silk screen distribution, generate a silk screen layout diagram; The silk-screen layout diagram is transmitted to a print-out device, so that the print-out device prints out the silk-screen layout diagram in the form of a label sticker; The label sticker is used to be attached to the surface of the chassis ear plate of the server to be identified to clearly indicate the peripheral configuration of the server to be identified.

13. The peripheral screen printing layout method according to claim 12, characterized in that: The step of generating a silk screen layout diagram based on the silk screen distribution includes: Setting different font colors for the first arrangement distribution and the second arrangement distribution in the silk-screen distribution; In a case where it is determined that the configuration requirement information indicates that all hardware interfaces in the server to be identified are anybay hard disk interfaces, generating a vertical partition corresponding to the number of CPUs of the server to be identified in the canvas; The corresponding first arrangement distribution and second arrangement distribution are filled with different font colors in each of the longitudinal partitions to generate the silk-screen layout diagram.

14. The peripheral screen printing layout method according to claim 13, characterized in that: After setting different font colors for the first arrangement distribution and the second arrangement distribution in the silk-screen distribution, the method further includes: In a case where it is determined that the configuration requirement information indicates that at least one hardware interface in the to-be-identified server is not an anybay hard disk interface, generating independent partitions in the canvas corresponding to the number of layout units of the first arrangement distribution; Fill each bit element in the first arrangement distribution after setting the font color into each of the independent partitions in sequence; Fill each element in the second arrangement distribution after setting the font color from the target independent partition to the last independent partition in sequence to generate the silk screen layout diagram; The target independent partition is an independent partition corresponding to the target layout unit in the first arrangement distribution.

15. The peripheral screen printing layout method according to claim 12, characterized in that: After generating a silk screen layout diagram based on the silk screen distribution, the method further includes: In the case where it is determined according to the configuration requirement information that the server to be identified is only configured with one hardware interface, a new label partition is created below the silk-screen layout diagram; According to the type of a configured hardware interface, corresponding label content is set in the label partition.

16. A server peripheral configuration identification device, characterized in that: include: The port identification module is configured to determine the PCIE external interface under each central processing unit based on the configuration requirement information of the server to be identified; wherein the server to be identified is configured with an anybay hard disk interface; the configuration requirement information at least includes the configuration information of the central processing unit and the design requirement information of each hard disk interface; The configuration identification module is configured to determine the type of peripherals that can be configured under the peripheral bandwidth corresponding to the peripheral ID signal according to the level state of each peripheral ID signal transmitted by each PCIE external interface in turn, and assign corresponding serial numbers to peripherals of different peripheral types to generate a peripheral silk screen containing the sequence of all peripherals managed by the server to be identified; The silk screen synchronization module is configured to send the peripheral silk screen to the basic input output system and / or the baseboard management controller, so that the basic input output system and / or the baseboard management controller can unify their respective default silk screens into the peripheral silk screen.

17. A peripheral screen printing layout device, characterized in that: include: A configuration acquisition module, configured to acquire peripheral configuration information under each PCIE external interface based on the server peripheral configuration identification method according to any one of claims 1 to 6; The silk screen layout module is configured to generate silk screen distribution based on the peripheral silk screen carried in the peripheral configuration information under each PCIE external interface.

18. A server, comprising a server body, wherein the server body comprises a basic input and output system and a baseboard management controller, wherein: The basic input and output system is configured to implement the server peripheral configuration identification method according to any one of claims 1 to 6; The baseboard management controller is configured to receive the peripheral configuration information identified by the basic input and output system, and unify the peripheral configuration information using the peripheral silk screen carried in the peripheral configuration information.

19. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the server peripheral configuration identification method according to any one of claims 1 to 6 or the peripheral silk screen layout method according to any one of claims 7 to 15 is implemented.

20. A non-volatile readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the server peripheral configuration identification method according to any one of claims 1 to 6 or the peripheral silk screen layout method according to any one of claims 7 to 15 is implemented.

Citation Information

Patent Citations

  • Device and method for realizing multiuser access to USB equipment

    CN102098309A

  • method for sending PCIE screen printing information to a BMC

    CN109828798A

  • PCIE screen printing information updating method and device in BIOS setup, controlled terminal and storage medium

    CN109933376A

  • Management method and management system of PCIE equipment and related device

    CN110399280A

  • Equipment regulation and control method and device, equipment and storage medium

    CN112732615A

Cited By

  • Equipment detection method, electronic equipment, readable storage medium and program product

    CN119226064A

  • Equipment positioning method and device, positioning equipment and storage medium

    CN119356760A