Matching method and device for screen printing information, electronic equipment and expansion card
By reading the cached data of the expansion card when the server starts up, the association between the motherboard slot and the expansion card slot is established, which solves the problem of poor flexibility of silkscreen information and realizes the flexibility of device management and the scalability of the system.
Patent Information
- Application Number
- CN202511226289.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-29
- Publication Date
- 2025-11-21
- Estimated Expiration
- 2045-08-29
AI Technical Summary
In existing technologies, the silkscreen information on servers lacks flexibility, leading to inconvenience in device management.
By reading the cached data of the expansion card using the BIOS during server startup, the association between the motherboard slot and the expansion card slot is established, thus matching the silkscreen information with the device port information.
It improves the server's system scalability and portability, reduces the consumption of hardware and software resources, and enhances the system's flexibility and maintainability.
Smart Images

Figure CN120743817B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the computer field, in particular, to a silk screen information matching method and device, electronic equipment, computer readable storage medium, computer program product and expansion card. BACKGROUND
[0002] In the field of servers, the design of the server needs to pay attention to the support for devices conforming to the Peripheral Component Interconnect Express (PCIe) protocol, and the PCIe device plays an important role in various functional scenarios of the server. The management of the PCIe device usually depends on the silk screen information, that is, the corresponding identification between the slot and the port, and the address where the device is located is identified through the silk screen information.
[0003] However, the silk screen information in the related art has the problem of poor flexibility. SUMMARY
[0004] The present application provides a silk screen information matching method and device, electronic equipment, computer readable storage medium and computer program product to at least solve the problem of poor flexibility of the silk screen information in the related art.
[0005] The present application provides a silk screen information matching method, which comprises: reading the cache data of an expansion card when it is detected that at least one mainboard slot on a mainboard is connected with the expansion card, wherein the cache data of the expansion card comprises the port information of the device port of the expansion device connected with at least one expansion slot of the expansion card; establishing an association between the silk screen information of at least one mainboard slot and the port information of the device port connected with at least one expansion slot of the expansion card, so as to match the silk screen information and the port information.
[0006] An expansion card, comprising: a plurality of expansion slots, the expansion slots being used to connect with external expansion devices through a preset first protocol link; a plurality of cache modules, the plurality of cache modules corresponding to the plurality of expansion slots one by one, the cache modules being used to cache the port information of the device port of the expansion device connected with the corresponding expansion slot; and a main connector, the main connector being used to connect with a mainboard slot of a mainboard through a preset second protocol link, and the mainboard being able to read the cache data in the plurality of cache modules of the expansion card through the main connector.
[0007] The application further provides a matching device of silk screen information, comprising: a detection reading module, configured to read cache data of an expansion card when at least one mainboard slot on a mainboard is connected with the expansion card, wherein the cache data of the expansion card comprises port information of a device port of an expansion device connected with at least one expansion slot of the expansion card; and a matching module, configured to establish an association between silk screen information of the at least one mainboard slot and the port information of the device port connected with the at least one expansion slot of the expansion card, so as to match the silk screen information and the port information.
[0008] The application further provides an electronic device, comprising: a memory, configured to store a computer program; and a processor, configured to execute the computer program to implement the steps of the matching method of silk screen information.
[0009] The application further provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the steps of the matching method of silk screen information.
[0010] The application further provides a computer program product, comprising a computer program, and the computer program is executed by a processor to implement the steps of the matching method of silk screen information.
[0011] The application provides a method for automatically identifying and managing connection information between a mainboard slot and an expansion card, which is controlled by a software layer. The system can dynamically detect and read cache data of the expansion card, and then determine detailed information of a device port, and match the information with silk screen information of the mainboard slot, so as to form a complete silk screen information, reduce complexity of hardware design, avoid dependence on a large number of fixed configurations, improve expandability and portability of the system, and reduce occupation of software and hardware resources. The adaptive identification of the device port is realized by software logic, without dependence on a fixed hardware configuration, and flexibility and maintainability of the system are improved. BRIEF DESCRIPTION OF DRAWINGS
[0012] In order to more clearly illustrate the embodiments of the application, the following will briefly introduce the drawings needed to be used in the embodiments. Obviously, the drawings described in the following are only some embodiments of the application, and other drawings can be obtained by those skilled in the art without any creative effort on the basis of these drawings.
[0013] Figure 1 is a hardware structure block diagram of a server device according to the matching method of silk screen information of the embodiments of the application;
[0014] Figure 2 is a flowchart of the matching method of silk screen information according to the embodiments of the application;
[0015] Figure 3 FIG. 2 is a flowchart of a method for matching silk-screen information according to an embodiment of the present application;
[0016] Figure 4 FIG. 3 is a flowchart of a method for matching silk-screen information according to an embodiment of the present application;
[0017] Figure 5 FIG. 4 is a flowchart of a method for matching silk-screen information according to an embodiment of the present application;
[0018] Figure 6 FIG. 5 is a flowchart of a method for matching silk-screen information according to an embodiment of the present application;
[0019] Figure 7 FIG. 6 is a flowchart of a method for matching silk-screen information according to an embodiment of the present application;
[0020] Figure 8 FIG. 7 is a flowchart of a method for matching silk-screen information according to an embodiment of the present application;
[0021] Figure 9 FIG. 8 is a flowchart of a method for matching silk-screen information according to an embodiment of the present application;
[0022] Figure 10 FIG. 9 is a flowchart of a method for matching silk-screen information according to an embodiment of the present application;
[0023] Figure 11 FIG. 10 is a flowchart of a method for matching silk-screen information according to an embodiment of the present application;
[0024] Figure 12 FIG. 11 is a flowchart of a method for matching silk-screen information according to an embodiment of the present application;
[0025] Figure 13 FIG. 12 is a flowchart of a method for matching silk-screen information according to an embodiment of the present application;
[0026] Figure 14 FIG. 13 is a flowchart of a method for matching silk-screen information according to an embodiment of the present application;
[0027] Figure 15 FIG. 14 is a flowchart of a method for matching silk-screen information according to an embodiment of the present application;
[0028] Figure 16 FIG. 15 is a structural diagram of an expansion card according to an embodiment of the present application;
[0029] Figure 17 FIG. 16 is a structural block diagram of a device for matching silk-screen information according to an embodiment of the present application. DETAILED DESCRIPTION
[0030] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative effort belong to the protection scope of the present application.
[0031] It should be noted that, in the description of the present application, the terms “comprise”, “contain” or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such a process, method, article or device. The terms “first”, “second” and the like in the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence.
[0032] In order for those skilled in the art to better understand the present application, the present application will be further described in detail below with reference to the drawings and specific embodiments.
[0033] In combination with the specific application environment architecture or specific hardware architecture on which the matching method of the silk screen printing information is dependent for execution, the specific application environment architecture or specific hardware architecture is described herein.
[0034] The matching method of the silk screen printing information provided in the embodiments of the present application can be executed in a server device or similar computing device. Taking the case of running on a server device, Figure 1 is a hardware structure block diagram of a server device of a matching method of silk screen printing information according to an embodiment of the present application. As Figure 1 shown, the server device can include one or more (only one is shown in Figure 1 ) processor 102 (the processor 102 can include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the above-mentioned server device can further include a transmission device 106 for communication function and an input and output device 108. Those skilled in the art can understand that Figure 1 The structure shown is only schematic, which does not limit the structure of the above-mentioned server device. For example, the server device can further include more or fewer components than Figure 1 shown, or have a different configuration from Figure 1 shown.
[0035] The memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the silkscreen information matching method in this embodiment. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, thus implementing the above-described method. The memory 104 may include high-speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to server devices via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0036] The transmission device 106 is used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider for the server device. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 may be a Radio Frequency (RF) module used for wireless communication with the Internet.
[0037] This application provides a method for matching silkscreen information, applied to the aforementioned server device. The method is described in detail below, along with its execution flow. Figure 2 As shown, the method includes the following steps S200-220:
[0038] Step S200: If at least one motherboard slot on the motherboard is detected to be connected to an expansion card, read the cache data of the expansion card.
[0039] The cached data of the expansion card includes port information of the device port of the expansion device to which at least one expansion slot of the expansion card is connected.
[0040] Specifically, in the early stages of server startup (e.g., the pre-execution initialization (PEI) phase), the server's Basic Input Output System (BIOS) needs to detect which slots on the motherboard have expansion cards connected, such as Peripheral Component Interconnect Express (PCIe) expansion cards (riser cards).
[0041] Exemplarily, the BIOS utilizes a System Management Bus (SMBus) controller to traverse a list of preset addresses through an Inter-Integrated Circuit (I2C) interface to check whether there is a response of an expansion card, and then determine whether the expansion card is detected to be connected to the motherboard slot. This operation is usually completed in the system Bootloader stage, and is ensured to be performed after all necessary hardware initialization is completed.
[0042] Specifically, after detecting that the motherboard slot is successfully connected to the expansion card, the BIOS further reads detailed information of the device from a cache (e.g., a Flash) or a memory on the expansion card, in particular, data related to the PCIe port.
[0043] Exemplarily, the BIOS reads the Flash memory on each connected expansion card through the SMBus controller using the I2C interface. The memory contains identification information of the device and configuration information of the PCIe port. The SMBus controller is a component on the server motherboard, which can control the SMBus bus and manage communication with devices on the motherboard or expansion cards. The I2C is a bidirectional synchronous serial bus used to connect low-speed microcontroller devices such as Flash memory. It communicates through two lines (data line and clock line), and is commonly used for simple data transmission within a device.
[0044] Among them, the motherboard slot is a physical slot on the server motherboard, which is used to install various expansion cards to connect expansion devices such as PCIe devices through the expansion cards. The expansion card is a hardware device inserted into the motherboard slot of the server, which can provide interface expansion functions and can access additional external expansion devices such as Graphics Processing Units (GPUs) and network cards. The port information of the device port is identification information of a specific PCIe port used when the expansion device (such as GPU, network card) is connected to the server.
[0045] Step S210, establish an association between the silk screen information of at least one motherboard slot and the port information of the device port connected to at least one expansion slot of the expansion card, to match the silk screen information and the port information.
[0046] Specifically, the execution subject of the method is the BIOS, which matches the silk screen information of the motherboard slot with the port information of the device read from the expansion card to form a coherent mapping relationship.
[0047] Exemplarily, the BIOS associates the read PCIe port information with the physical identification (silkscreen information) of the motherboard slot to form a mapping table. This usually involves resolving the addresses of the device port and the motherboard slot to ensure that the information of each device port can be correctly matched with the corresponding motherboard slot information. The silkscreen information is the physical identification printed on the motherboard slot, which is usually used to indicate the association of the slot with a specific function or device.
[0048] wherein the SMBus (System Management Bus) is a low-speed, bidirectional serial communication protocol based on the Inter-Integrated Circuit (I2C) protocol. The I2C is a simple, bidirectional two-wire synchronous serial bus, and the Riser card is a functional expansion card or adapter card inserted into the PCIE interface, which is a new generation of bus interface.
[0049] The Basic Input Output System (BIOS) is the most basic and direct hardware setting and control manager of the server motherboard, and can provide more simple and easy-to-use functions for the server. The BIOS is a set of programs fixed to a ROM chip on the motherboard, which stores the most important basic input and output programs, system setting information, self-checking programs after startup, and system self-starting programs. Its main function is to provide the most basic and direct hardware setting and control for the computer.
[0050] In the embodiment, a method for automatically identifying and managing the connection information between the server motherboard slot and the expansion card controlled by the software layer is provided. The system can dynamically detect and read the cache data of the expansion card, and then determine the detailed information of the device port and match it with the silkscreen information of the motherboard slot to form a complete silkscreen information, which reduces the complexity of hardware design, avoids the dependence on a large number of fixed configurations, and improves the expandability, portability of the system, and reduces the occupation of software and hardware resources. Through software logic, adaptive identification of the device port is realized without relying on pre-fixed hardware configuration, which improves the flexibility and maintainability of the system.
[0051] In one embodiment, as shown in FIG. 2, Figure 3 S200, in the case where at least one motherboard slot on the motherboard is connected with an expansion card, the cache data of the expansion card is read. It includes steps S300-S320:
[0052] S300, the control information in the expansion card is read to determine the address information of the cache space corresponding to each expansion slot of the expansion card.
[0053] Specifically, the BIOS reads the control information in the expansion card to determine the address information of the cache spaces corresponding to the plurality of expansion slots of the expansion card.
[0054] Illustratively, the BIOS initiates and detects all devices on the PCIe expansion cards when the server starts, and reads the control information in the Flash chip associated with each expansion slot (such as Slot0, Slot1, Slot2) on the Riser card through the SMBus protocol. These control information contains details about how the expansion slots are mapped to the PCIe ports of a specific Central Processing Unit (CPU) and the cache space addresses of these ports. Since each Flash chip has a fixed I2C address, the BIOS locates and obtains the corresponding data through these addresses.
[0055] Step S310, according to the address information of the cache corresponding to the plurality of expansion slots of the expansion card, the cache corresponding to the plurality of expansion slots is accessed in turn to obtain the cache data corresponding to the plurality of expansion slots.
[0056] Specifically, according to the address information of the cache corresponding to the plurality of expansion slots of the expansion card, the cache corresponding to the plurality of expansion slots is accessed in turn to obtain the cache data corresponding to the plurality of expansion slots.
[0057] Illustratively, after determining the mapping relationship between the expansion slots and the cache spaces, the BIOS accesses these caches in a certain order to obtain the cache data related to each slot. The access order can be based on the physical location of the slot or a preset logical order. The BIOS will use the read and write commands in the PCIe protocol to read data from each known address cache space to confirm which devices are connected to the corresponding slots and their status and configuration information.
[0058] Step S320, according to the cache data corresponding to the plurality of expansion slots, determining the port information of the device ports connected by the plurality of expansion slots.
[0059] Specifically, according to the cache data corresponding to the plurality of expansion slots, determining the port information of the device ports connected by the plurality of expansion slots.
[0060] Illustratively, the BIOS parses the data read from the cache to identify which type of device each expansion slot on the Riser card is connected to and how these devices are connected to the CPU ports of the server. This process can involve a data parsing algorithm that can extract information such as the type, bandwidth, and physical connection location of the device ports from the cache data, and then update the configuration table inside the server to reflect the correct physical connection state.
[0061] In this embodiment, by reading the control information on the PCIe expansion card, the BIOS can intelligently identify the correspondence between each expansion slot and the cache space without human intervention or complex hardware connections, reducing system design complexity, improving startup speed and resource management efficiency. By directly accessing the cache data associated with the expansion card slot, the BIOS can quickly and accurately identify and configure external devices connected to the server, reducing uncertainty and waiting time during system startup, while also improving the diagnostic capabilities of the BIOS and the intelligent level of system management. By analyzing the cache data, the BIOS can not only automatically detect and report all connected external devices and their port information, but also dynamically adjust the topology configuration of the server to adapt to changes in the connection of different types and quantities of devices. This enhanced adaptability and flexibility of the server reduces maintenance costs and improves overall system performance.
[0062] In one embodiment, as shown in Figure 4 Step S310, according to the address information of the cache corresponding to each expansion slot of the expansion card, access the cache corresponding to each expansion slot in turn to obtain the cache data corresponding to each expansion slot. Including steps S400-S420:
[0063] Step S400, send control instructions to the link switcher of the expansion card through the preset protocol link, so as to switch the cache corresponding to each expansion slot to a reading channel through the link switcher.
[0064] Specifically, send commands to the link switcher (such as IC MUX at I2C address) on the expansion card through a specific communication protocol (such as SMBus) to switch the cache or storage unit associated with the expansion slot to a state that can be read. Ensure that the necessary data can be accessed in the subsequent steps.
[0065] Exemplarily, when the server starts, the BIOS enters the PEI (Pre-EFI Initialization) phase, at which time the BIOS initializes the SMBus controller and starts traversing the predefined I2C address list to find the link switcher associated with each expansion slot. When the I2C address is detected to be connected, it indicates that the communication with the link switcher of the expansion card has been established. The BIOS then sends a series of control instructions, which are designed to change the state of the link switcher to switch the cache connected to the expansion slot to the reading mode.
[0066] Step S410, according to the address information of the cache corresponding to each expansion slot, connect the preset protocol link with the cache corresponding to the current expansion slot through the link switcher.
[0067] In the case that the passage between the preset protocol link and the cache corresponding to the expansion slot is in communication, the cache corresponding to the expansion slot is accessed through the preset protocol link to obtain cache data corresponding to the expansion slot.
[0068] Specifically, through the link switcher, the BIOS ensures that the cache of each expansion slot can be accessed through the preset protocol link, and further obtains port information, etc.
[0069] Specifically, through the link switcher, the BIOS ensures that the cache of each expansion slot can be accessed through the preset protocol link, and further obtains port information, etc.
[0070] Step S420, in the case that the cache data of the current expansion slot is read and there is an expansion slot in the plurality of expansion slots whose cache data is not read, the preset protocol link is connected to the cache corresponding to the next expansion slot through the link switcher until the cache data corresponding to the plurality of expansion slots is read.
[0071] Specifically, in order to ensure that the relevant information of all expansion slots is completely read. Once the cache data of a certain slot is read, the system will automatically turn to the next expansion slot that has not been read, repeat the above reading process until the data of all expansion slots is covered.
[0072] Specifically, in order to ensure that the relevant information of all expansion slots is completely read. Once the cache data of a certain slot is read, the system will automatically turn to the next expansion slot that has not been read, repeat the above reading process until the data of all expansion slots is covered.
[0073] In this embodiment, data reading is performed via a software-controlled link switch, allowing the server to more flexibly adapt to changes in hardware layout and configuration. Using the SMBus protocol for communication via an I2C link significantly reduces hardware resource consumption compared to traditional multi-wire coding methods, improving the economics and practicality of the server design. Since the main logic is software-controlled and not limited by hardware design, this solution can be easily migrated between different generations of CPUs and different server platforms, enhancing portability and ease of long-term maintenance. This decoupling of hardware and software design better adapts to future hardware technology development, reducing the software change costs associated with hardware upgrades.
[0074] In one embodiment, such as Figure 5 As shown, in step S200, before reading the cached data of the expansion card when at least one motherboard slot on the motherboard is detected to be connected to the expansion card, the method includes: steps S500-S520:
[0075] Step S500: When the motherboard is powered on and started, determine the address of the preset protocol link corresponding to each motherboard slot connected to the motherboard.
[0076] Specifically, during the initial startup phase of the motherboard, the system needs to identify and determine the association between all motherboard slots and preset protocol link addresses. Here, motherboard slots typically refer to the interfaces used to insert expansion cards, while protocol link addresses refer to the device addresses that can be accessed through specific communication protocols (such as I2C, SMBus, etc.).
[0077] For example, when the motherboard powers on and enters the boot phase (PEI phase), the BIOS system initializes the SMBus controller and begins traversing a pre-defined list of I2C addresses. These addresses are connected to the various expansion card slots on the motherboard via hardware (such as the I2C bus), with each slot corresponding to one or more addresses. For each available slot location, the BIOS checks if there is a hardware response (such as a Flash chip) at the preset I2C address. If an address responds, it indicates that an expansion card is connected to that slot.
[0078] Step S510: Send read commands to the addresses of the preset protocol links corresponding to the motherboard slots respectively.
[0079] The expansion card is used to issue a feedback command when a read command is received.
[0080] Specifically, a read command is sent to the expansion card in the slot via a preset protocol link address. After receiving the command, the expansion card sends a feedback command through the same link to confirm its existence and communicable status.
[0081] Exemplarily, after determining all possible protocol link addresses, the BIOS sends a read instruction to each address through the SMBus controller. If there is an expansion card on the motherboard slot, and there is a component (such as a Flash chip) on the expansion card that can respond to SMBus communication, it will return a feedback instruction, which is usually some form of response signal indicating that it has received the instruction and can communicate.
[0082] Step S520, in the case where the motherboard receives the feedback instruction, determining that the motherboard slot corresponding to the address of the protocol link that sends the feedback instruction is connected with an expansion card.
[0083] Specifically, after the motherboard receives the feedback instruction, it will analyze these instructions and judge which motherboard slots are connected with expansion cards according to the feedback instructions.
[0084] Exemplarily, when the BIOS receives the feedback instruction through the SMBus protocol, it will record which I2C address the feedback instruction is sent from. Since each address is associated with a specific motherboard slot, the BIOS can determine which slots are actually connected with expansion cards. This step realizes the identification of the hardware connection state through software logic, without relying on complex hardware detection circuits, improving the flexibility and efficiency of the system.
[0085] In this embodiment, by determining the preset protocol link addresses when starting up, and sending read instructions to these addresses to obtain feedback instructions, the motherboard can intelligently identify which slots are connected with expansion cards, without relying on complex hardware detection or fixed configuration tables. This method not only reduces the occupation of hardware resources, because only two I2C lines are needed for communication, but also improves the maintainability and portability of the software.
[0086] In one embodiment, as shown in Figure 6 After step S520, in the case where the motherboard receives the feedback instruction, determining that the motherboard slot corresponding to the address of the protocol link that sends the feedback instruction is connected with an expansion card, the method further includes steps S600-S620:
[0087] Step S600, determining the target address of the protocol link corresponding to the motherboard slot connected with the expansion card.
[0088] Specifically, the BIOS needs to identify the riser card connected to the motherboard after booting, and determine which motherboard slot the riser card is connected to. Specifically, the BIOS uses the I2C protocol through the SMBus controller to traverse all preset I2C addresses to detect which addresses can be accessed, thereby determining the motherboard slot to which the riser card is connected. The target address is the I2C address of the Flash chip on the riser card used to store information, through which the BIOS can communicate with the Flash to obtain or write information related to the topology. This step realizes automatic recognition of the motherboard topology, without relying on fixed hardware signals or complex configuration tables, thereby improving the flexibility and scalability of the system.
[0089] At step S610, a preset silk screen mapping table is called.
[0090] The silk screen mapping table is used to indicate the physical silk screen information corresponding to each motherboard slot of the motherboard.
[0091] Specifically, after confirming the motherboard slot connected to the riser card, the BIOS will call a preset silk screen mapping table. The table records the correspondence between all physical slots on the motherboard and their silk screen information. The silk screen information is information used to intuitively indicate the device installation position to the user, and through the mapping table, the BIOS can know the physical identification of each slot, facilitating subsequent configuration and management.
[0092] Illustratively, the BIOS maintains a silk screen mapping table in the memory, which uses the I2C address of the motherboard slot as an index to store the corresponding physical silk screen information. When the BIOS detects the motherboard slot connected to the riser card through I2C communication, it looks up the corresponding silk screen information in the silk screen mapping table according to the detected I2C address. Since the address is fixed, the lookup operation is simple and fast.
[0093] At step S620, the physical silk screen information of the motherboard slot connected to the riser card is determined according to the silk screen mapping table and the target address.
[0094] Specifically, after the determination of the target address and the calling of the silk screen mapping table are completed, the BIOS will determine the physical silk screen information of the motherboard slot to which the riser card is connected in combination with the two pieces of information. Specifically, the BIOS will look up the corresponding silk screen information in the silk screen mapping table according to the target address, so as to accurately know which physical slot on the motherboard the riser card is connected to and what the silk screen information of the slot is.
[0095] For example, after determining the target address, the BIOS uses that address as an index to access the corresponding location in the silkscreen mapping table and read the stored silkscreen information. This process ensures that the BIOS can accurately obtain the physical identifier of the slot connected to the expansion card, and can correctly identify and configure the location information of the expansion card even when the server hardware configuration or topology changes.
[0096] In this embodiment, the target address of the protocol link corresponding to the motherboard slot connected to the expansion card is first determined. Then, by using the combination of the silkscreen mapping table and the target address, the BIOS can quickly and accurately locate and identify the motherboard slot, simplifying the configuration process and improving the speed of device identification and configuration.
[0097] In one embodiment, such as Figure 7 As shown, in step S520, when the motherboard receives a feedback command, it is determined that an expansion card is connected to the motherboard slot corresponding to the address of the protocol link that issued the feedback command. This includes steps S700-S720:
[0098] Step S700: Trace the protocol link that transmitted the feedback command to determine the address of the protocol link that issued the feedback command.
[0099] Specifically, identifying and locating the source of the feedback command, i.e. determining which protocol link sent the command, allows us to determine which expansion card on the motherboard is connected to that slot and issued the feedback command.
[0100] For example, in a system, each protocol link (such as I2C, SMBus) has its unique address. When an expansion card sends feedback through these links, the system can identify the link from which the command was sent by querying or traversing all known protocol link addresses. This typically involves reading and parsing information on the SMBus or I2C to find the sender's address.
[0101] Step S710: Parse the feedback instruction to determine whether the feedback instruction contains the status information of the expansion card.
[0102] Specifically, the system needs to further analyze the feedback instructions to determine whether they contain detailed information about the current status of the expansion card, such as whether it is connected, its working status, or its error status.
[0103] For example, the structure of the feedback command is parsed to identify specific parts of the command, such as status flags and error codes, which carry the status information of the expansion card. The system can accomplish this task using predefined status information parsing functions or modules.
[0104] Step S720: If the feedback instruction contains the status information of the expansion card, determine that the motherboard slot corresponding to the address of the protocol link that issued the feedback instruction is connected to the expansion card, and update the status of the motherboard slot in the internal management table.
[0105] The internal management table is used to indicate whether an expansion card is connected to the motherboard slot.
[0106] Specifically, once the system confirms that the feedback command carries the status information of the expansion card, it will use the address of the protocol link to determine which motherboard slot has the expansion card connected, and update the internal management table of the system to reflect this change.
[0107] For example, the system has an internal management table that records the current status of all motherboard slots (such as whether a device is connected, device type, working status, etc.). When a feedback instruction containing status information is received, the system will look up the corresponding slot based on the address information in the instruction and update the status information of that slot in the management table.
[0108] In this embodiment, by tracing the protocol link of the feedback command, the system can accurately locate the motherboard slot to which the expansion card that issued the feedback is connected. This is the foundation for subsequent status judgment and resource management. Only after confirming that the feedback command contains status information can the system continue with subsequent processing. This avoids processing useless or erroneous commands, improving system stability and efficiency. Updating the internal management table ensures that the system monitors and accurately records the motherboard slot status in real time, which is a prerequisite for resource allocation, error detection, and system optimization. The system can quickly respond to changes in the connection status of the expansion card, avoiding resource allocation errors or performance degradation caused by inaccurate status information.
[0109] In one embodiment, such as Figure 8 As shown, the method further includes steps S800-S810:
[0110] In step S800, when the expansion device is connected to the expansion slot of the expansion card, a control command is sent to the link switch of the expansion card to switch the cache corresponding to the expansion slot to a write channel through the link switch.
[0111] Specifically, when a server's expansion device (such as a GPU, network card, etc.) establishes a physical connection with an expansion slot on an expansion card (such as a Riser card), the server's BIOS sends a control signal or command to the link switch on the expansion card. The purpose of this control command is to cause the link switch to switch the cache associated with that expansion slot to write channel mode.
[0112] For example, the system communicates with the link switch via the I2C interface using the SMBus protocol. Upon booting, after detecting the connection between the expansion device and the expansion card slot, the BIOS sends specific control bytes or command sequences to the link switch, instructing it to switch the corresponding cache to write mode. Subsequently, the BIOS further writes detailed information about the expansion device port to the cache now switched to write mode via the same I2C channel. This information can be stored in binary format and includes one or more fields for subsequent identification and hardware matching. The link switch refers to a module that can control and manage the I2C communication lines, switching the cache's read or write channel according to control commands.
[0113] Step S810: Write the port information of the device port of the expansion device into the cache corresponding to the expansion slot to which the expansion device is connected.
[0114] Specifically, once the cache is switched to the write channel, the system can write detailed information about the device ports (such as PCIe ports) of the current extended device into the cache. This information includes, but is not limited to, device type, port identifier (identity, ID), bandwidth parameters, etc., for subsequent identification and configuration.
[0115] In this embodiment, since cache write operations are automatically controlled by the BIOS, the server can flexibly adapt to the addition of various expansion devices without the need for a pre-defined detailed hardware configuration table. When the topology between the expansion device and the motherboard changes, the device port information is updated and recorded in a plug-and-play manner without complex hardware adjustments or manual configuration.
[0116] In one embodiment, such as Figure 9 As shown, step S810 involves writing the port information of the expansion device's device port into the cache corresponding to the expansion slot to which the expansion device is connected. This includes steps S900-S920:
[0117] Step S900: Obtain the processor number of the expansion device connected to the expansion slot of the expansion card and the port information of the multiple ports included in the expansion device.
[0118] Specifically, during the initial server startup, the BIOS (Basic Input / Output System) needs to identify detailed information about expansion devices (such as graphics cards and network cards) connected to expansion slots on the server motherboard. This information mainly includes the unique identifier of the processor (CPU) to which the expansion device is connected, and which PCIe (Peripheral Component Interconnect) ports the expansion device communicates with the server through. This identification process ensures that the system can correctly assign the appropriate functions to each slot, such as graphics cards and network interfaces.
[0119] Step S910, encode the processor number of the same expansion device and the port information of the plurality of ports into device data in a preset format.
[0120] Specifically, the BIOS needs to encode the processor number and PCIe port information into a preset format to form "device data". This encoding method aims to compress complex information into a form that can be stored and easily retrieved, facilitating the processing and utilization of information in subsequent processes.
[0121] Illustratively, the BIOS uses an encoding mechanism to convert the processor number and PCIe port information into binary or hexadecimal format data, which is organized into a specific structure, such as a byte or a group of bytes, to meet the requirements of subsequent storage. The encoding rules should be defined in advance, and all components involved in this process (such as BIOS and Riser card controller) need to comply with them to ensure data consistency and intelligibility.
[0122] Step S920, write the device data of the expansion device into the cache corresponding to the expansion slot connected by the expansion device.
[0123] In this embodiment, first, the BIOS can automatically detect and obtain the processor number and PCIe port information of the device connected to the expansion slot at startup, which eliminates the need for manual configuration and reduces the risk of human error. Second, the encoding and storage of information not only saves storage space, but also simplifies data management and retrieval, improving system efficiency. Finally, writing device data into the cache of the expansion slot ensures that these information can be accessed immediately and efficiently during server operation, reducing system latency and improving overall performance, and the port information can be accurately determined according to the data in the cache. This implementation realizes automatic identification and information storage of expansion devices, improves the flexibility and scalability of the system.
[0124] In one embodiment, step S920, write the device data of the expansion device into the cache corresponding to the expansion slot connected by the expansion device. Including: transmitting device data from the expansion device to the connected expansion slot through a preset protocol link to write device data into the cache corresponding to the connected expansion slot.
[0125] The addresses of the protocol links corresponding to the different device ports of different expansion devices are different. Each port of each expansion device has its own unique protocol link address, thereby distinguishing and identifying different ports of different devices. A unique SMBus address can be assigned to each port of each expansion device. For example, the address of the PE1 port of CPU0 is 0x21. The address of the PE1 port of CPU1 is 0x22. In this way, when the server is started, the BIOS can accurately identify which devices and ports are connected by detecting different SMBus addresses.
[0126] In the embodiment, by using the SMBus protocol, the expansion device can communicate with the Riser board on the server motherboard and write device data into the Flash on the Riser board. In this way, the BIOS on the motherboard does not need to rely on complex hardware configuration or a large configuration table, but only needs to perform a simple read-write operation to obtain the information of the expansion device, thereby reducing the complexity of software and hardware design. By independently assigning an SMBus address to each port, even when the server configuration changes (such as adding or replacing a device), the BIOS can accurately identify and process the port information of each device, avoid address conflicts, and make the solution more flexible and portable.
[0127] In one embodiment, as shown in FIG. 9, after the device data of the expansion device is written into the cache corresponding to the expansion slot to which the expansion device is connected in step S920, the method further includes steps S1000-S1030: Figure 10
[0128] Step S1000: issuing a control instruction to the link switch of the expansion card to switch the caches corresponding to the plurality of expansion slots to reading channels through the link switch.
[0129] Specifically, during the server startup process, the BIOS (Basic Input Output System) needs to identify the expansion card slots connected to the PCIe (Peripheral Component Interconnect) ports and confirm the device information on these slots. To achieve this goal, the BIOS sends a control signal to the link switch on the Riser card (a hardware component used to expand PCIe slots). The cache connected to each slot on the Riser card is switched from write mode to read mode. This step ensures that the BIOS can read device data from the cache, because only after being switched to a reading channel, the data in the cache can be read.
[0130] For example, the BIOS sends specific control commands to the link switch on the Riser card via the SMBus (System Management Bus) protocol. SMBus allows devices to communicate with other devices via a simple I2C (Internal Integrated Circuit) bus, so only two control lines are needed to send commands to the link switch to switch the cache to the read channel.
[0131] Step S1010: Obtain the addresses of the protocol links corresponding to the multiple device ports of the extended device.
[0132] Specifically, after the cache has switched to read mode, the BIOS needs to know how to access the protocol link on each expansion card slot, i.e., the address of each PCIe device port. These addresses are obtained through SMBus protocol communication and are used for subsequent read operations. By obtaining the addresses, the BIOS can locate the cache on each device port, thereby reading device information.
[0133] Step S1020: Send read commands to the addresses of the protocol links corresponding to the multiple device ports of the expansion device, respectively, to read the device data in the cache corresponding to the expansion slots connected to the multiple device ports.
[0134] Step S1030: Compare the read device data with the pre-written device data to determine whether the device data for multiple device ports has been correctly written.
[0135] Specifically, after reading the device data, the BIOS compares this data with the data previously written to the cache to verify the integrity and correctness of the data. This step ensures that the device information read by the BIOS matches the actual connected device, preventing data transmission errors or incomplete cache reads.
[0136] In this embodiment, by switching the cache to a read channel, the BIOS can read device data previously written to the cache without relying on the specific topology or complex configuration tables of the hardware design, thus improving the system's flexibility and scalability. By accurately obtaining the protocol link address corresponding to each device port, the BIOS can effectively locate the cache storing device data, thereby ensuring the accuracy and efficiency of subsequent read operations. By sending read commands to the protocol link address, the BIOS can obtain the device data of the expansion card slot connected to each device port. By comparing the read device data with the pre-written data, the BIOS can ensure the accuracy of device information and avoid device identification problems caused by data errors.
[0137] In one embodiment, such as Figure 11 As shown, the method further includes steps S1100-S1110:
[0138] Step S1100: Obtain the number of ports of the expansion devices that need to be connected to the expansion card.
[0139] Specifically, it involves identifying and determining the actual or expected number of ports for expansion devices (such as GPUs and network cards) connected to a specific expansion card (such as a Riser board). This is because in a server architecture, the connectivity and functional allocation of expansion devices can vary depending on the server configuration, necessitating the acquisition of port numbers to accommodate any increase in the number of ports.
[0140] Step S1110: Adjust the data structure of the expansion card's cache data according to the number of ports so that the data structure matches the number of ports.
[0141] Specifically, after determining the number of ports that need to be connected to the expansion card, the next step is to adjust the data structure of the cached data on the expansion card to reflect the correct port information. For example, a system design initially supporting a maximum of 4 CPUs can use 2 bits to represent these CPUs because 2 bits can represent numbers from 0 to 3, i.e., 4 different CPUs. If each CPU has 16 PCIe ports, another 4 bits can be used to represent these ports. However, if the number of PCIe ports per CPU increases from 16 to 32, 5 bits are needed instead of 4 bits to represent the port numbers because 4 bits can only represent numbers from 0 to 15, while 5 bits can represent numbers from 0 to 31.
[0142] In this embodiment, by dynamically detecting the number of ports, the system can adapt to changes in server configuration without requiring pre-hard coding or relying on a fixed configuration table, thus enhancing the system's adaptability. Based on the number of ports, the size of the cached data structure is dynamically adjusted. If the number of ports increases, the data structure is expanded to accommodate the additional elements. This dynamic adjustment capability of the data structure allows the system to adapt to changes in the number of ports without changing the hardware, increasing the flexibility of system design and the convenience of future port expansion. It can meet the needs of CPU and port growth; when the number of ports increases, no hardware adjustments are required, only the cached data structure needs to be adjusted to represent the increased number of ports.
[0143] In one embodiment, such as Figure 12 As shown, step S1110 involves adjusting the data structure of the expansion card's cache data according to the number of ports to match the number of ports. This includes steps S1200-S1230:
[0144] Step S1200: Determine the first data structure used by the current storage cache data of the expansion card.
[0145] The first data structure includes the first byte.
[0146] Specifically, the cache data structure currently used by the expansion card, i.e., the first data structure, is identified. The definition of the first data structure is directly related to the number of expansion card ports and contains a number of bytes equal to the first number of bits used to represent the number of ports.
[0147] For example, the software can check the storage structure by reading the configuration information of the expansion card or directly accessing the Flash area storing the cache data. For example, if the expansion card uses 8-bit bytes (i.e., the first number of bits is 8) to represent the number of PCIe ports, the system can determine the maximum representation range of the current number of ports by reading these bytes.
[0148] Step S1210, determine whether the first data structure can support the representation requirement of the number of ports.
[0149] Specifically, after determining the current data structure, the system needs to evaluate whether this structure can effectively represent the current or future number of ports. If the number of ports exceeds the range that can be represented by the current data structure, the first data structure needs to be adjusted.
[0150] For example, the system checks the current number of ports and the number of ports that can be added in the future to ensure that these numbers can be represented by the current data structure (i.e., the number of bytes of the first number of bits). For example, if the first number of bits is 8, the current data structure can only represent 256 or fewer ports, and if the expected number of ports exceeds this range, the data structure must be upgraded.
[0151] Step S1220, in the case where it is determined that the first data structure cannot support the representation requirement of the number of ports, determine a second data structure according to the representation requirement of the number of ports.
[0152] The second data structure includes a number of bytes equal to a second number of bits, and the second number of bits is greater than the first number of bits.
[0153] Specifically, if the evaluation shows that the first data structure cannot meet the representation requirement of the number of ports, the system will design and adopt a new data structure, i.e., the second data structure, to more accurately represent and store the increased number of port information. The number of bytes of the second data structure (i.e., the second number of bits) should be more than the number of bytes of the original data structure to accommodate more information.
[0154] For example, the system can upgrade the data structure from 8-bit bytes to 16-bit bytes, which can represent 65536 ports, thus meeting a wider range of requirements. The Flash storage area can be re-planned, and the logic of data writing and reading can be adjusted to ensure that the new data structure is correctly implemented and used.
[0155] Step S1230, adjust the data structure of the cache data of the expansion card to the second data structure.
[0156] Specifically, after determining that the second data structure is more suitable for representing the existing or future number of ports, the storage of the cached data is converted from the first data structure to the second data structure to ensure the correctness and integrity of the data.
[0157] Illustratively, the software iterates through all the cached data and rewrites the data according to the format of the new data structure (i.e., the second data structure). This can involve upgrading the encoding method, such as from binary encoding to hexadecimal encoding, or adding additional fields in the data structure to represent a larger number of ports.
[0158] In this embodiment, by identifying the current data structure, the system can accurately understand the storage method of the cached data, providing a basis for subsequent judgment of whether the data structure needs to be adjusted. The upgraded data structure can support more port number information, improving the scalability and compatibility of the system, and reducing the modification cost due to the growth of the number of ports in the future. The data structure of the expansion card cached data can be dynamically adjusted to adapt to the changing hardware configuration and port number requirements. This mechanism ensures that the accuracy of data representation and the efficiency of storage are not affected even in the case of a significant increase in the number of ports. In addition, it also reduces the dependence on hardware resources, reduces the cost of hardware modification due to data structure limitations, and improves the maintainability and upgradability of the entire system.
[0159] In one embodiment, as shown in FIG. 10, after establishing the association between the silk screen information of at least one mainboard slot and the port information of the device port connected by at least one expansion slot of the expansion card in step S210, the method further includes steps S1300-S1320: Figure 13
[0160] Step S1300: aggregate the association between each mainboard slot on the mainboard and the port information of the device port connected by at least one expansion slot of the expansion card to construct a silk screen information relationship table.
[0161] Among them, the silk screen information relationship table is used to indicate the device port corresponding to the physical silk screen corresponding to each mainboard slot on the mainboard.
[0162] Specifically, when the server starts, the BIOS automatically detects the connection relationship between the slots on the mainboard and the slots of the connected expansion card and the internal device port (such as PCIe port) of the server. These information will be sorted and formed into a silk screen information relationship table, which is used to clearly mark the correspondence between each slot (usually marked by physical silk screen) on the mainboard and the actual connected internal device port.
[0163] Exemplarily, the BIOS initializes the SMBus controller during the boot process, and then traverses all the predetermined I2C addresses to check whether each address is connected. In this way, it is determined whether the PCIe port is connected to the slot of the Riser card. If the connection is detected, the BIOS writes the corresponding information to the specified location of the Flash on the Riser card according to the CPU number and the PCIe port number. Then, the BIOS switches the communication path of the Flash from writing to reading mode, so as to read out the information of each Riser card slot and construct a complete silk screen information relationship table.
[0164] Step S1310, in the case that a new device port is connected to at least one expansion slot of the expansion card, a new association relationship between the new device port and the physical silk screen on the mainboard slot is established.
[0165] Specifically, when a new device (such as a GPU, a network card, etc.) is inserted into a slot of the expansion card during the running of the server, the BIOS needs to dynamically identify the new device and associate it with the physical silk screen of a specific slot on the mainboard to form a new association relationship. The purpose of this is to ensure that the server system can accurately know the specific location of the new device and the device port information connected thereto.
[0166] Exemplarily, when it is detected that a new device is connected to a slot of the expansion card, the BIOS starts the detection process again, reads the information in the Flash of the slot where the new device is located through the SMBus / I2C, updates the silk screen information relationship table according to the read information, and ensures that the location information of the new device is correctly recorded. This process can be dynamically performed during the running of the system, and is realized by continuously monitoring the state of the SMBus controller.
[0167] Step S1320, the silk screen information relationship table is updated using the new association relationship.
[0168] Specifically, after the BIOS establishes the association relationship between the new device port and the physical silk screen of the mainboard slot, it integrates these information and updates the previous silk screen information relationship table. This ensures that the relationship table always reflects the latest device configuration state, whether at the time of system startup or after hot plugging of the device.
[0169] Exemplarily, the BIOS compares the newly read device information with the current silk screen information relationship table, and if it is found that the information in the table does not match the connection of the new device, an update operation is performed. The updating process can include adding a new record in the table or modifying the existing record to reflect the actual connection of the device port. By continuously updating the silk screen information relationship table, the server system can always maintain a record table of the latest and accurate device connection state.
[0170] In the embodiment, by constructing and maintaining a dynamically updated silk screen printing information relationship table, accurate management and real-time tracking of the connection state between the server internal device port and the mainboard slot are realized.
[0171] In one embodiment, as shown in FIG. 10, step S210, an association relationship between the silk screen printing information of at least one mainboard slot and the port information of the device port connected to at least one expansion slot of the expansion card is established. It includes steps S1400-S1420: Figure 14
[0172] Step S1400, read the port information of the device port connected to at least one expansion slot of the expansion card to determine the first address information of the device port in the link of the preset protocol.
[0173] Specifically, when the server starts, the BIOS determines the unique address of the device port in the network or system, i.e. the first address information, by reading the device port information connected to each slot on the PCIe expansion card. This is achieved by using the I2C bus to access the Flash memory on the Riser card through the SMBus controller to obtain the device port information stored therein.
[0174] Illustratively, the BIOS initializes the SMBus controller during the startup process, then iterates through all known I2C addresses to check if there is a response from the Flash on the Riser card. If there is a response, the BIOS reads the data in the preset position from the Flash through the standard SMBus read operation, and these data contain the CPU number and PCIe number of the device port. Since the I2C address of each Flash is fixed, the BIOS can directly locate a specific Riser card slot through the address to obtain the device port information connected to the slot.
[0175] Step S1410, determine the second address information of at least one mainboard slot in the link of the preset protocol according to the preset link mapping table.
[0176] Specifically, the server BIOS will look up the link mapping table to determine the unique address of all mainboard slots on the mainboard in the network or system, i.e. the second address information. These information is used for subsequent device identification and configuration.
[0177] Illustratively, the BIOS will store a link mapping table in advance according to the hardware design of the server, which records the physical position (physical silk screen printing) of each mainboard slot on the mainboard and the link address in the link bus.
[0178] Step S1420, establish a first association relationship between the first address information and the second address information.
[0179] The second address information indicates silk screen information of the at least one mainboard slot.
[0180] Specifically, the server BIOS associates the first address information obtained from the device port with the actual physical location information of the mainboard slot, i.e., the second address information, to generate complete silk screen information.
[0181] In this embodiment, by associating the first address information of the device port with the second address information of the mainboard slot, the server BIOS can obtain complete silk screen information of each device port, which contains the correspondence between the device port and the mainboard slot of all connected devices.
[0182] In one embodiment, the method further comprises steps S1500-S1530:
[0183] Step S1500, monitoring the change of the device port connected to the at least one expansion slot.
[0184] Specifically, the server system needs to monitor in real time whether the device port (such as the PCIe port on the CPU) connected to the expansion slot (such as the PCIe slot) has changed during operation, such as plugging in or out of the device, or moving the device from one port to another. This step is to ensure that the server can recognize and adapt to any dynamic changes in hardware configuration, so as to dynamically adjust system resources and functions.
[0185] Exemplarily, a BIOS can perform a scan at the start of the server to record the initial connection state of all expansion slots and device ports, and then periodically or at a specific event trigger (such as a hot plug event) during server operation, the connection state is scanned again, and the current state is compared with the initial state or the previous state to determine whether there is a change. This comparison can be achieved by reading the information on the I2C bus and checking whether the port information in the Flash memory on each expansion slot is consistent with the expected or previously recorded information.
[0186] Step S1510, in the case where it is determined that the device port connected to the at least one expansion slot has changed, obtaining the new port information of the current device port that has changed from the cache data corresponding to the at least one expansion slot.
[0187] Specifically, after monitoring that the connection between the expansion slot and the device port has changed, the server system needs to read the latest device port information from the cache data of the relevant slot. These cache data are usually stored in the Flash chip of the expansion slot, which contains detailed information of the current device port, such as port number, bandwidth, etc., which is crucial for the system to identify the type of device and allocate appropriate resources.
[0188] Exemplarily, the BIOS accesses the Flash memory on the Riser board through the I2C interface, reads the port information stored therein. These information is updated into the Flash through the write procedure above when the expansion device is connected. After reading, the system integrates the new port information with the existing system topology information to ensure the accurate identification and management of the system to the new hardware configuration.
[0189] Step S1520, determining the third address information of the changed device port in the link of the preset protocol according to the new port information.
[0190] Specifically, after obtaining the new port information, the system needs to determine the new address of the port in the network or link according to the preset communication protocol (such as SMBus protocol). Address information is the key of network communication, used for identification and data transmission between devices. In a server system, each device port has a unique address in the protocol link, through which the system can locate and control the corresponding device.
[0191] Exemplarily, the system maps the CPU code and PCIe port code in the read new port information to the preset protocol address table to find the corresponding link address. This mapping process can involve algorithm processing, such as bit operation or table lookup, to convert physical port information into address information in the protocol link.
[0192] Step S1530, establishing a second association relationship between the first address information and the third address information, and updating the first association relationship using the second association relationship.
[0193] Specifically, in a server system, a kind of association relationship needs to be established between physical port (device port) and address in protocol link (third address information), so that the system can control and access physical port through link address. This association relationship is dynamic, updated with the change of hardware configuration, keeping the system synchronized with the hardware.
[0194] Exemplarily, the system updates its internal physical port to link address mapping table (first association relationship) according to the new link address information (third address information). This updating process can be real-time, or can be performed when the system is started or the system state changes.
[0195] Exemplarily, the workflow of the present application is described as follows. First, in the server startup process, the BIOS initializes the SMBus controller, detects the connection state of the motherboard slot and the Riser card through the I2C bus, and then determines the motherboard slot where the expansion card is located, i.e., determines the silk screen information of the motherboard slot connected with the expansion card, determines the port information of the expansion device connected with the expansion card through the cache data of the expansion card, so as to match the port information and the silk screen information, determine the association relationship between the motherboard slot and the device port, and construct the silk screen information relationship table. In the case of change of the device port, the BIOS monitors the change and updates the data in the cache module to update the association relationship in the silk screen information relationship table in real time. The whole process fully utilizes the advantages of the I2C bus and the SMBus protocol, realizes the decoupling of software and hardware, improves the flexibility, expandability, portability and optimization of resource occupation of the system, and provides an efficient and accurate solution for the device recognition and management of the server.
[0196] In the present embodiment, monitoring the dynamic changes of the expansion slot enables the server system to respond to changes in hardware configuration in real time, maintaining the stability and efficiency of the system. By obtaining new port information from the cache data, the server system can update its internal hardware topology in real time, ensuring that all system functions and management operations are based on the latest hardware connection state, thereby improving the flexibility and response speed of the system and optimizing resource allocation. Determining the link address information of the device port enables the server to identify and locate new devices in the network, providing a necessary basis for subsequent data transmission and control operations. By updating the mapping relationship between the physical port and the link address, the server system can respond to hardware changes and accurately access and control the device port in any case.
[0197] In one embodiment, as shown in Figure 16 , an expansion card 100 is provided, which is the expansion card 100 in any of the above embodiments. The expansion card 100 comprises a plurality of expansion slots 10, a plurality of cache modules 20, and a main connector 30, wherein:
[0198] The expansion slot 10 is used to connect with the external expansion device 40 through a preset first protocol link.
[0199] The expansion slot 10 is the core component of the expansion card 100, which is used to connect with the external expansion device 40, such as a GPU card, a network card or other PCIe devices. These slots ensure high-speed data transmission with the expansion device through a preset first protocol link. Each expansion slot 10 includes necessary power pins, data transmission pins and clock signal pins, which together constitute a physical interface for interaction with the expansion device.
[0200] The plurality of cache modules 20 correspond to the plurality of expansion slots 10 one-to-one, and the cache module 20 is used to cache the port information of the device port of the expansion device 40 connected to the corresponding expansion slot 10.
[0201] The cache module 20 as a storage unit corresponds to the expansion slot 10 one-to-one, and functions to store and retain the port information of the device port of the expansion device 40 connected to the corresponding expansion slot 10. This includes important parameters such as device type, port number, speed level, configuration state, etc. The cache module is connected to the SMBus controller of the expansion card through the I2C bus, allowing the BIOS or the SMBus controller to read and write it. From the SMBus controller, through the I2C bus to the expansion slot 10 and then to the corresponding cache module 20, a data writing path is formed. When the main connector 30 is connected to the mainboard slot 50, the motherboard can read the data in the cache module through another I2C bus connected to the main connector 30, and then through the group connector 30 connected to the cache module 20, forming a data reading path.
[0202] The main connector 30 is used to connect to the mainboard slot 50 of the motherboard through a preset second protocol link, and the motherboard can read the cache data in the plurality of cache modules 20 of the expansion card through the main connector 30.
[0203] The main connector 30 is a bridge between the expansion card and the motherboard, which establishes a connection with the mainboard slot 50 on the motherboard through a preset second protocol link (the second protocol link is different from the first protocol link, that is, the link for writing data to the cache module 20 is different from the link for reading data from the cache module 20). The motherboard can access the cache module 20 on the expansion card through this connection to obtain necessary port information and status, thereby realizing management and control of the entire system.
[0204] In this embodiment, the presence of the cache module allows the port information of the expansion device to be quickly recorded and stored once it is connected to the expansion slot, and the information integrity is maintained even after the system is powered off, without the need for additional hardware pins for static coding of device information. Using the I2C bus instead of multiple dedicated signal lines for information transmission greatly saves hardware resources on the expansion card, reduces design complexity and manufacturing cost. The BIOS or management software on the motherboard can directly read the information in the cache module without relying on complex hardware logic, simplifying the software algorithm of system management and enhancing the flexibility and portability of the scheme. Since the cache module can independently store device information and be read and written through software, the topology of the system can be more dynamic, facilitating software upgrades without changing the hardware, improving the support capability for different types or quantities of expansion devices, and simplifying the fault diagnosis and device replacement process.
[0205] In one embodiment, the method further comprises intelligently predicting the future device port requirements of the server based on the server's workload, device usage frequency, and data traffic patterns.
[0206] Specifically, an artificial intelligence algorithm is used to analyze the server's workload, device usage frequency, and data traffic patterns to intelligently predict the future device port requirements of the server. When changes in the device ports connected to the expansion slots are detected, the system not only reads the new port information but also dynamically adjusts the PCIe link bandwidth allocation based on the device type, performance parameters, and historical usage to optimize device performance and system resource usage.
[0207] Illustratively, the system periodically collects server workload data, device usage, and data traffic patterns, analyzes them using machine learning algorithms, and predicts the server's device port requirements for a future period of time. Based on the prediction results, the link configuration between the server CPU and PCIe devices is dynamically adjusted, such as increasing or decreasing link bandwidth, optimizing link paths, etc., to match the predicted device requirements and alleviate server bottlenecks. After the configuration is adjusted, the system continuously monitors its effectiveness and collects feedback data for subsequent training and optimization of the prediction model, forming a closed loop to improve the accuracy of the prediction and the rationality of the configuration.
[0208] When changes in the device ports on the expansion card are detected, the link address information of the device ports is updated, and the cache configuration corresponding to the updated device ports is adjusted based on the device type and expected usage.
[0209] Specifically, based on intelligent dynamic configuration, the system introduces a predictive cache update mechanism. That is, when the server BIOS detects changes in the device ports on the expansion card, not only is the link address information of the device updated, but also relevant data and configuration information are pre-loaded in the cache space of the target device port based on the device type and expected usage to reduce the delay caused by remote access and improve the performance of the device during initial use.
[0210] Illustratively, when an expansion device is connected to an expansion slot, the system reads the device type and performance parameters to determine the data access mode that the device can support. Based on the device type and expected usage, the BIOS predicts which data and configuration information are most likely to be frequently accessed by the newly connected device and loads this data into the corresponding cache space in advance.
[0211] In the embodiment, the intelligent dynamic configuration ensures that the device port link bandwidth matches the actual demand, reduces resource waste, and improves the overall performance and efficiency of the server. The system can adjust the link configuration according to real-time work load and device demand, improving the performance of the server. Predictive cache updating enables new access devices to quickly access the required data during the initialization phase, shortening the device preparation time and improving user experience. By preloading data into the local cache, the number of remote data access across processing nodes is greatly reduced, the overall system delay is reduced, and the system performance is improved.
[0212] Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be realized by means of software and the necessary general hardware platform, of course, it can also be realized by hardware, but in many cases the former is a better embodiment.
[0213] The embodiment of the application also provides a matching device of silk screen information, Figure 17 is a structure block diagram of a silk screen information matching device according to an embodiment of the application, the device comprises:
[0214] The detection reading module 1701 is configured to read the cache data of the expansion card when it is detected that the at least one mainboard slot on the mainboard is connected with the expansion card, wherein the cache data of the expansion card comprises port information of device ports of expansion devices connected with the at least one expansion slot of the expansion card.
[0215] The matching module 1702 is configured to establish an association between the silk screen information of the at least one mainboard slot and the port information of the device ports connected with the at least one expansion slot of the expansion card, so as to match the silk screen information and the port information.
[0216] In an exemplary embodiment, the detection reading module 1701 is further configured to read control information in the expansion card to determine address information of cache spaces corresponding to a plurality of expansion slots of the expansion card. According to the address information of the caches corresponding to the plurality of expansion slots of the expansion card, the plurality of expansion slots are accessed in sequence to obtain cache data corresponding to the plurality of expansion slots. According to the cache data corresponding to the plurality of expansion slots, the port information of the device ports connected with the plurality of expansion slots is determined.
[0217] In an example embodiment, the detection reading module 1701 is further configured to send a control instruction to a link switcher of the expansion card through a preset protocol link to switch the cache corresponding to each of the plurality of expansion slots to a reading channel through the link switcher. According to the address information of the cache corresponding to each of the plurality of expansion slots, the preset protocol link is connected to the cache corresponding to the current expansion slot through the link switcher. When the path between the preset protocol link and the cache corresponding to the expansion slot is connected, the cache corresponding to the expansion slot is accessed through the preset protocol link to obtain the cache data of the expansion slot. When the cache data of the current expansion slot is read completely and there is an expansion slot with unread cache data in the plurality of expansion slots, the preset protocol link is connected to the cache corresponding to the next expansion slot through the link switcher until the cache data corresponding to each of the plurality of expansion slots is read completely.
[0218] In an example embodiment, the device is further configured to: when the mainboard is powered on, determine the address of the preset protocol link corresponding to each mainboard slot connected to the mainboard. Send a reading instruction to the address of the preset protocol link corresponding to each mainboard slot, respectively, wherein the expansion card is configured to send a feedback instruction when receiving the reading instruction. When the mainboard receives the feedback instruction, determine that the mainboard slot corresponding to the address of the protocol link sending the feedback instruction is connected to the expansion card.
[0219] In an example embodiment, the device is further configured to: determine the target address of the protocol link corresponding to the mainboard slot connected to the expansion card. Call a preset silk screen mapping table, wherein the silk screen mapping table is used to indicate the physical silk screen information corresponding to each mainboard slot of the mainboard. According to the silk screen mapping table and the target address, determine the physical silk screen information of the mainboard slot connected to the expansion card.
[0220] In an example embodiment, the device is further configured to: trace the protocol link transmitting the feedback instruction to determine the address of the protocol link sending the feedback instruction. Analyze the feedback instruction to determine whether the state information of the expansion card is contained in the feedback instruction. When it is determined that the state information of the expansion card is contained in the feedback instruction, it is determined that the mainboard slot corresponding to the address of the protocol link sending the feedback instruction is connected to the expansion card, and the state of the mainboard slot in the internal management table is updated, wherein the internal management table is used to indicate whether the mainboard slot is connected to the expansion card.
[0221] In an example embodiment, the device is further configured to: when the expansion device is connected to the expansion slot of the expansion card, send a control instruction to the link switcher of the expansion card to switch the cache corresponding to the expansion slot to a writing channel through the link switcher. Write the port information of the device port of the expansion device into the cache corresponding to the expansion slot connected to the expansion device.
[0222] In an example embodiment, the apparatus is further configured to obtain a processor number of an expansion device connected to the expansion slot of the expansion card and port information of a plurality of ports included in the expansion device. Encode the processor number and the port information of the plurality of ports of the same expansion device into device data in a preset format. Write the device data of the expansion device into the corresponding cache of the expansion slot to which the expansion device is connected.
[0223] In an example embodiment, the apparatus is further configured to transmit the device data from the expansion device to the connected expansion slot through a preset protocol link to write the device data into the corresponding cache of the expansion slot, wherein the addresses of the protocol links corresponding to different device ports of different expansion devices are different.
[0224] In an example embodiment, the apparatus is further configured to issue a control instruction to the link switcher of the expansion card to switch the caches corresponding to the plurality of expansion slots into reading channels through the link switcher. Obtain the addresses of the protocol links corresponding to the plurality of device ports of the expansion device respectively. Issue reading instructions to the addresses of the protocol links corresponding to the plurality of device ports of the expansion device respectively to read the device data in the caches corresponding to the expansion slots connected to the plurality of device ports. Compare the read device data with the pre-written device data to determine whether the device data of the plurality of device ports have been correctly written.
[0225] In an example embodiment, the apparatus is further configured to obtain the number of ports of the expansion device that needs to be connected to the expansion card. Adjust the data structure of the cache data of the expansion card according to the number of ports to match the data structure with the number of ports.
[0226] In an example embodiment, the apparatus is further configured to determine a first data structure adopted by the expansion card to store the cache data, wherein the first data structure includes a first number of bytes. Determine whether the first data structure can support the representation requirement of the number of ports. In the case where it is determined that the first data structure fails to support the representation requirement of the number of ports, determine a second data structure according to the representation requirement of the number of ports, wherein the second data structure includes a second number of bytes, and the second number is greater than the first number.
[0227] Adjust the data structure of the cache data of the expansion card to the second data structure.
[0228] In an example embodiment, the apparatus is further configured to aggregate the association between each mainboard slot on the mainboard and the port information of the device port connected to the at least one expansion slot of the expansion card to construct a silk screen information relationship table, wherein the silk screen information relationship table is used to indicate the device port corresponding to the physical silk screen corresponding to each mainboard slot on the mainboard. In the case that the at least one expansion slot of the expansion card is connected to a new device port, a new association between the new device port and the physical silk screen of the mainboard slot on the mainboard is established. The silk screen information relationship table is updated using the new association.
[0229] In an example embodiment, the matching module 1702 is further configured to read the port information of the device port connected to the at least one expansion slot of the expansion card to determine first address information of the device port in a link of a preset protocol. The second address information of the at least one mainboard slot in the link of the preset protocol is determined according to a preset link mapping table. A first association between the first address information and the second address information is established, wherein the second address information indicates the silk screen information of the at least one mainboard slot.
[0230] In an example embodiment, the apparatus is further configured to monitor the change of the device port connected to the at least one expansion slot. In the case that it is determined that the device port connected to the at least one expansion slot changes, the new port information of the changed current device port is obtained from the cache data corresponding to the at least one expansion slot. The third address information of the changed device port in the link of the preset protocol is determined according to the new port information. A second association between the first address information and the third address information is established, and the first association is updated using the second association.
[0231] The features of the embodiments of the silk screen information matching apparatus can be referred to the related descriptions of the embodiments of the silk screen information matching method, which will not be repeated here.
[0232] Embodiments of the present application further provide an electronic device, comprising a memory and a processor, the memory stores a computer program, and the processor is configured to run the computer program to perform the steps in any of the above-mentioned silk screen information matching method embodiments.
[0233] Embodiments of the present application further provide a computer readable storage medium, which stores a computer program, wherein the computer program is configured to perform the steps in any of the above-mentioned silk screen information matching method embodiments when running.
[0234] In an example embodiment, the computer readable storage medium described above can include, but is not limited to, a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and various media that can store computer programs.
[0235] Embodiments of the present application also provide a computer program product, which comprises a computer program. The computer program is executed by a processor to implement the steps in any of the above-described methods for matching screen-printed information.
[0236] Embodiments of the present application also provide another computer program product, which comprises a non-volatile computer readable storage medium. The non-volatile computer readable storage medium stores a computer program. The computer program is executed by a processor to implement the steps in any of the above-described methods for matching screen-printed information.
[0237] Those skilled in the art will further appreciate that the functions implemented in the example embodiments described herein can be implemented using electronic hardware, computer software, or any combination thereof. To clearly illustrate this interchangeability of hardware and software, various components will be described herein generally in terms of their functionality, without reference to the particular manner in which they are implemented. Those skilled in the art will appreciate that the functions could be implemented using either hardware or software, and that the techniques described herein are not limited to any particular implementation. Skilled persons can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0238] The above provides a method, device, and computer readable storage medium for matching screen-printed information. The principles and implementation manners of the present application are described by using specific examples. The above descriptions of the embodiments are only used to help understand the method of the present application and its core idea. It should be noted that, for those skilled in the art, without departing from the principles of the present application, some improvements and modifications can be made to the present application. These improvements and modifications also fall within the scope of protection of the claims of the present application.
Claims
1. A matching method of screen printed information, characterized by, The method comprises: In the case of detecting that at least one mainboard slot on the mainboard is connected with the expansion card, reading control information in the expansion card to determine address information of cache spaces corresponding to a plurality of expansion slots of the expansion card respectively; according to the address information of the cache spaces corresponding to the plurality of expansion slots of the expansion card respectively, sequentially accessing the cache spaces corresponding to the plurality of expansion slots respectively to obtain cache data corresponding to the plurality of expansion slots respectively, wherein the cache data of the expansion card comprises port information of a device port of an expansion device connected with at least one expansion slot of the expansion card; Reading the port information of the device port connected with at least one expansion slot of the expansion card to determine first address information of the device port in a link of a preset protocol; determining second address information of the at least one mainboard slot in the link of the preset protocol according to a preset link mapping table; establishing a first association relationship between the first address information and the second address information to match the silk screen information and the port information, wherein the second address information indicates the silk screen information of the at least one mainboard slot.
2. The matching method of screen-printed information according to claim 1, characterized in that, The sequentially accessing the cache spaces corresponding to the plurality of expansion slots respectively to obtain cache data corresponding to the plurality of expansion slots respectively comprises: Issuing a control instruction to a link switcher of the expansion card through a preset protocol link to switch the cache spaces corresponding to the plurality of expansion slots to reading channels through the link switcher; According to the address information of the cache spaces corresponding to the plurality of expansion slots, connecting the preset protocol link with the cache corresponding to the current expansion slot through the link switcher, wherein in the case that a passage between the preset protocol link and the cache corresponding to the expansion slot is communicated, accessing the cache corresponding to the expansion slot through the preset protocol link to obtain cache data corresponding to the expansion slot; In the case that the cache data of the current expansion slot is read completely and there is an expansion slot with unread cache data in the plurality of expansion slots, connecting the preset protocol link with the cache corresponding to the next expansion slot through the link switcher until the cache data corresponding to the plurality of expansion slots are all read completely.
3. The matching method of screen-printed information according to claim 1, characterized in that, Before reading the cache data of the expansion card in the case of detecting that at least one mainboard slot on the mainboard is connected with the expansion card, the method comprises: In the case of starting the mainboard after power-on, determining addresses of preset protocol links corresponding to each mainboard slot connected with the mainboard respectively; Issuing reading instructions to the addresses of the preset protocol links corresponding to the mainboard slots respectively, wherein the expansion card is configured to issue feedback instructions in the case of receiving the reading instructions; In the case that the mainboard receives the feedback instructions, determining that the mainboard slot corresponding to the address of the protocol link from which the feedback instructions are issued is connected with the expansion card.
4. The matching method of screen-printed information according to claim 3, characterized in that, In the case that the mainboard receives the feedback instruction, the method further comprises: determining that the mainboard slot corresponding to the address of the protocol link sending the feedback instruction is connected with the expansion card; determining the target address of the protocol link corresponding to the mainboard slot connected with the expansion card; calling a preset silk screen mapping table, wherein the silk screen mapping table is used to indicate the physical silk screen information corresponding to each mainboard slot of the mainboard; 5. The matching method of screen-printed information according to claim 4, characterized in that, determining the physical silk screen information of the mainboard slot connected with the expansion card according to the silk screen mapping table and the target address. In the case that the mainboard receives the feedback instruction, the method further comprises: tracing the protocol link transmitting the feedback instruction to determine the address of the protocol link sending the feedback instruction; analyzing the feedback instruction to determine whether the state information of the expansion card is contained in the feedback instruction; 6. The matching method of screen-printed information according to any one of claims 1-5, characterized in that, in the case that the state information of the expansion card is contained in the feedback instruction, determining that the mainboard slot corresponding to the address of the protocol link sending the feedback instruction is connected with the expansion card, and updating the state of the mainboard slot in the internal management table, wherein the internal management table is used to indicate whether the mainboard slot is connected with the expansion card. The method further comprises: in the case that the expansion device is connected with the expansion slot of the expansion card, sending a control instruction to the link switcher of the expansion card to switch the cache corresponding to the expansion slot to a write channel through the link switcher; 7. The matching method of screen-printed information according to claim 6, characterized in that, writing the port information of the device port of the expansion device into the cache corresponding to the expansion slot connected by the expansion device. The writing of the port information of the device port of the expansion device into the cache corresponding to the expansion slot connected by the expansion device comprises: obtaining the processor number of the expansion device connected with the expansion slot of the expansion card and the port information of the plurality of ports included in the expansion device; encoding the processor number and the port information of the plurality of ports of the same expansion device into device data in a preset format; 8. The matching method of screen-printed information according to claim 7, characterized in that, writing the device data of the expansion device into the cache corresponding to the expansion slot connected by the expansion device. The writing of the device data of the expansion device into the cache corresponding to the expansion slot connected by the expansion device comprises:
9. The matching method of screen-printed information according to claim 8, characterized in that, transmitting the device data to the connected expansion slot through the expansion device through a preset protocol link to write the device data into the cache corresponding to the connected expansion slot, wherein the addresses of the protocol links corresponding to different device ports of different expansion devices are different. After writing the device data of the expansion device into the cache corresponding to the expansion slot connected by the expansion device, the method further comprises: sending a control instruction to the link switcher of the expansion card to switch the caches corresponding to the plurality of expansion slots to read channels through the link switcher; obtaining the addresses of the protocol links corresponding to the plurality of device ports of the expansion device respectively; sending read instructions to the addresses of the protocol links corresponding to the plurality of device ports of the expansion device respectively to read the device data in the caches corresponding to the expansion slots connected by the plurality of device ports; The read device data is compared with the pre-written device data to determine whether device data of the plurality of device ports has been correctly written.
10. The matching method of screen-printed information according to any one of claims 1-5, characterized in that, The method further comprises: obtaining a number of ports of an expansion device that needs to be connected with the expansion card; adjusting a data structure of the cache data of the expansion card according to the number of ports, so that the data structure matches the number of ports.
11. The matching method of screen-printed information according to claim 10, characterized in that, The adjusting of the data structure of the cache data of the expansion card according to the number of ports, so that the data structure matches the number of ports, comprises: determining a first data structure currently adopted by the expansion card to store the cache data, wherein the first data structure comprises bytes of a first number of bits; determining whether the first data structure can support the representation requirement of the number of ports; in a case where it is determined that the first data structure fails to support the representation requirement of the number of ports, determining a second data structure according to the representation requirement of the number of ports, wherein the second data structure comprises bytes of a second number of bits, and the second number of bits is greater than the first number of bits; adjusting the data structure of the cache data of the expansion card to the second data structure.
12. The matching method of screen-printed information according to any one of claims 1-5, characterized in that, After the association between the silk screen printing information of the at least one mainboard slot and the port information of the device port connected with the at least one expansion slot of the expansion card is established, the method further comprises: summarizing the association between each mainboard slot on the mainboard and the port information of the device port connected with the at least one expansion slot of the expansion card, to construct a silk screen printing information relationship table, wherein the silk screen printing information relationship table is used to indicate the device port corresponding to the physical silk screen printing corresponding to each mainboard slot on the mainboard; in a case where the at least one expansion slot of the expansion card accesses a new device port, establishing a new association between the new device port and the physical silk screen printing of the mainboard slot on the mainboard; updating the silk screen printing information relationship table by using the new association.
13. The matching method of screen-printed information according to any one of claims 1-5, characterized in that, The method further comprises: monitoring the change of the device port connected with the at least one expansion slot; in a case where it is determined that the device port connected with the at least one expansion slot changes, obtaining new port information of the changed current device port from the cache data corresponding to the at least one expansion slot; determining third address information of the changed device port in a link of a preset protocol according to the new port information; establishing a second association between the first address information and the third address information, and updating the first association by using the second association.
14. An expansion card, comprising: The expansion card is the expansion card described in any one of claims 1 to 13, and the expansion card comprises: a plurality of expansion slots, the expansion slots being used to connect with an external expansion device through a preset first protocol link; a plurality of cache modules, the plurality of cache modules corresponding to the plurality of expansion slots one by one, and the cache modules being used to cache port information of a device port of an expansion device connected with a corresponding expansion slot; A main connector is configured to connect with a mainboard slot of a mainboard via a preset second protocol link, and the mainboard is capable of reading cache data in a plurality of cache modules of the expansion card via the main connector.
15. A matching device for silk-screened information, characterized in that The application further discloses a computer readable storage medium and a computer program product. The detection reading module is configured to read control information in the expansion card to determine address information of cache spaces corresponding to a plurality of expansion slots of the expansion card in a case that at least one mainboard slot on the mainboard is detected to be connected with the expansion card, and sequentially access the caches corresponding to the plurality of expansion slots according to the address information of the caches corresponding to the plurality of expansion slots to obtain cache data corresponding to the plurality of expansion slots, wherein the cache data of the expansion card comprises port information of device ports of expansion devices connected with at least one expansion slot of the expansion card. The matching module is configured to read the port information of the device ports connected with at least one expansion slot of the expansion card to determine first address information of the device ports in a link of a preset protocol, determine second address information of the at least one mainboard slot in the link of the preset protocol according to a preset link mapping table, and establish a first association relationship between the first address information and the second address information to match the silk screen information and the port information, wherein the second address information indicates silk screen information of the at least one mainboard slot.
16. An electronic device, comprising: The application further discloses a computer readable storage medium and a computer program product. The memory is configured to store a computer program. The processor is configured to implement the steps of the method according to any one of claims 1 to 13 when executing the computer program.
17. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program is configured to implement the steps of the method according to any one of claims 1 to 13 when executed by a processor.
18. A computer program product comprising a computer program, characterized in that, The computer program is configured to implement the steps of the method according to any one of claims 1 to 13 when executed by a processor.
Citation Information
Patent Citations
Port slot screen printing information updating method and device, computer equipment and storage medium
CN119961276A
Identification information recognizing method for extended interface board
JP1995013916A