Equipment identification system and method, electronic equipment and storage medium

By designing a device identification system in the server and automatically identifying and configuring PCIE devices using microcontrollers and switching multiplexers, the problem of insufficient identification in the prior art is solved, and the adaptability and maintenance efficiency of the server are improved.

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

Patent Information

Application Number
CN202411045485.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

The prior art cannot intelligently identify PCIE devices in different configurations through hardware and firmware, resulting in insufficient server adaptation flexibility and difficult to meet customers' needs for efficient identification.

Method used

Design a device identification system, including motherboard, expansion board and data processor unit network card, through microcontroller unit, generate control instructions based on the on-site signals of PCIE slot, expansion board and data processor unit network card, and use switching multiplexing The device controls the connection between the motherboard and the data processor unit network card and the expansion board to realize the automatic identification and configuration of PCIE devices.

Benefits of technology

It improves the flexibility and scalability of the server, realizes automated equipment identification and configuration under different hardware configurations, and optimizes the server's performance and maintenance efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119201809A_ABST
    Figure CN119201809A_ABST
Patent Text Reader

Abstract

The invention provides a device identification system and method, an electronic device and a storage medium, and relates to the technical field of data processing, the device identification system comprises a mainboard, an expansion board and a data processor unit network card; the expansion board comprises a first high-speed connector, a second high-speed connector, a switching multiplexer, a micro-control unit and a PCIE slot. The expansion board is connected with the mainboard through a first high-speed connector, and the expansion board is connected with the data processor unit network card through a second high-speed connector; wherein the PCIE slot is used for loading PCIE equipment; wherein the micro-control unit is used for generating a control instruction according to in-place signals of the PCIE slot, the expansion board and the network card of the data processor unit after the server is powered on; wherein the switching multiplexer is used for controlling the connection between the mainboard and the data processor unit network card and the expansion board according to the control instruction so as to determine the identification equipment of the PCIE equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a device identification system, method, electronic device and storage medium. Background Art

[0002] With the continuous development of technology, the continuous increase of big data and intelligent business, customers have more and more requirements for the compatibility of server configuration, and therefore the requirements for the adaptation flexibility of servers are also getting higher and higher.

[0003] In the related art, the compatibility of network cards with different configurations is usually achieved by reconfiguring cables and boards, and it is impossible to intelligently identify PCIE devices with different configurations through hardware and firmware.

[0004] Therefore, how to identify PCIE devices more efficiently has become a problem that needs to be solved urgently in the industry. Summary of the invention

[0005] The present invention provides a device identification system for solving the problem of how to more efficiently identify PCIE devices in the prior art.

[0006] The present invention provides a device identification system, comprising: A main board, an expansion board, and a data processor unit network card; the expansion board comprises: a first high-speed connector, a second high-speed connector, a switching multiplexer, a micro control unit, and a PCIE slot; the expansion board is connected to the main board via the first high-speed connector, and the expansion board is connected to the data processor unit network card via the second high-speed connector; wherein the PCIE slot is used to load a PCIE device; Wherein, the micro control unit is used to generate control instructions according to the presence signals of the PCIE slot, the expansion board and the network card of the data processor unit after the server is powered on; The switching multiplexer is used to control the connection between the mainboard and the data processor unit network card and the expansion board according to the control instruction to determine the identification device of the PCIE device.

[0007] According to a device identification system provided by the present invention, the control unit is specifically used for: When the in-position signals of the PCIE slot, the expansion board and the data processor unit network card are all at low levels, the control unit sends a first control instruction to the switch multiplexer; The first control instruction is used to instruct the switching multiplexer to connect the second high-speed connector with the PCIE slot, so that the high-speed PCIE signal, 100M clock, frequency reduction signal, reset signal and Wake signal of the PCIE slot are transmitted to the data processor unit network card through the switching multiplexer and the second high-speed connector; When the in-place signals of the PCIE slot and the expansion board are at a low level and the in-place signal of the data processor unit network card is at a high level, the control unit sends a second control instruction to the switching multiplexer; Among them, the second control instruction is used to instruct the switching multiplexer to connect the second high-speed connector with the PCIE slot, so that the high-speed PCIE signal, 100M clock, frequency reduction signal, reset signal and Wake signal of the PCIE slot are transmitted to the mainboard through the switching multiplexer via the first high-speed connector.

[0008] According to a device identification system provided by the present invention, the control unit is specifically used for: When the in-place signal of the PCIE slot is at a high level and the in-place signals of the expansion board and the network card of the data processor unit are at a low level, the control unit does not send a control signal; Or, when the presence signal of the expansion board is at a low level and the presence signals of the PCIE slot and the network card of the data processor unit are at a high level, the control unit does not send a control signal; Or, when the presence signal of the expansion board is at a high level, the control unit does not send a control signal.

[0009] According to a device identification system provided by the present invention, the control unit is further used for: When the presence signals of the expansion board and the PCIE slot are at a low level and the presence signal of the data processor unit network card is at a high level, control the switch multiplexer to connect the first high-speed connector with the PCIE slot; The mainboard identifies the PCIE device and sends a debugging control signal to the control unit through the first high-speed connector, so that the control unit latches the debugging control signal; When the server is restarted, the control unit controls the connection between the main board and the network card of the data processor unit and the expansion board according to the configuration indicated by the debugging control signal.

[0010] According to a device identification system provided by the present invention, the expansion board further includes: a power supply module and an electrically erasable programmable read-only memory; When the server is powered on, the power supply module supplies power to the switch multiplexer and the micro control unit; The micro control unit obtains the presence signals of the PCIE slot, the expansion board and the network card of the data processor unit.

[0011] The present invention also provides an identification method based on the above device identification system, comprising: After the server is powered on, the micro control unit generates a control instruction according to the in-place signals of the PCIE slot, the expansion board and the network card of the data processor unit; The switch multiplexer controls the connection between the mainboard and the data processor unit network card and the expansion board according to the control instruction to determine the identification device of the PCIE device.

[0012] Optionally, the micro control unit generates a control instruction according to the presence signals of the PCIE slot, the expansion board and the network card of the data processor unit, including: When the in-position signals of the PCIE slot, the expansion board and the data processor unit network card are all at low levels, the control unit generates a first control instruction and sends the first control instruction to the switch multiplexer; The first control instruction is used to instruct the switching multiplexer to connect the second high-speed connector with the PCIE slot, so that the high-speed PCIE signal, 100M clock, frequency reduction signal, reset signal and Wake signal of the PCIE slot are transmitted to the data processor unit network card through the switching multiplexer and the second high-speed connector; When the in-place signals of the PCIE slot and the expansion board are at a low level and the in-place signal of the data processor unit network card is at a high level, the control unit generates a second control instruction, and the control unit sends the second control instruction to the switching multiplexer; Among them, the second control instruction is used to instruct the switching multiplexer to connect the second high-speed connector with the PCIE slot, so that the high-speed PCIE signal, 100M clock, frequency reduction signal, reset signal and Wake signal of the PCIE slot are transmitted to the mainboard through the switching multiplexer via the first high-speed connector.

[0013] Optionally, the method further includes: When the presence signals of the expansion board and the PCIE slot are at a low level and the presence signal of the data processor unit network card is at a high level, control the switch multiplexer to connect the first high-speed connector with the PCIE slot; The mainboard identifies the PCIE device and sends a debugging control signal to the control unit through the first high-speed connector, so that the control unit latches the debugging control signal; When the server is restarted, the control unit controls the connection between the main board and the network card of the data processor unit and the expansion board according to the configuration indicated by the debugging control signal.

[0014] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any of the above-mentioned identification methods is implemented.

[0015] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the identification method described above is implemented.

[0016] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements any of the above-mentioned identification methods.

[0017] The device identification system, method, electronic device and storage medium provided by the present invention start working after the server is powered on. The microcontroller unit generates control instructions according to the in-place signals of the PCIE slot, the expansion board and the data processor unit network card. The switching multiplexer controls the connection mode between the mainboard and the data processor unit network card and the expansion board according to the control instructions generated by the microcontroller unit. The connection mode can be determined by connecting the device in the PCIE slot, that is, determining which component will communicate with the PCIE device, and then identifying the PCIE device. The embodiment of the present application improves the flexibility and scalability of the server, allowing automatic device identification and configuration under different hardware configurations, thereby optimizing the performance and maintenance efficiency of the server. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0019] Figure 1 A schematic diagram of the structure of a device identification system provided in an embodiment of the present application; Figure 2 A schematic diagram of the identification method flow provided in the embodiment of the present application; Figure 3 This is a schematic diagram of the identification process of an embodiment of the present application; Figure 4 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0020] Figure 1 A schematic diagram of the device identification system structure provided in the embodiment of the present application is shown in FIG. Figure 1 As shown, it includes: a mainboard 11, an expansion board 12, and a data processor unit network card 13; the expansion board 12 includes: a first high-speed connector 120, a second high-speed connector 121, a switching multiplexer 122, a micro control unit 123, and a PCIE slot 124; the expansion board 12 is connected to the mainboard 11 through the first high-speed connector 120, and the expansion board 12 is connected to the data processor unit network card 13 through the second high-speed connector 121; wherein the PCIE slot 124 is used to load a PCIE device; The micro control unit 123 is used to generate control instructions according to the in-place signals of the PCIE slot 124, the expansion board 12 and the data processor unit network card 13 after the server is powered on; The switch multiplexer 122 is used to control the connection between the mainboard 11 and the data processor unit network card 13 and the expansion board 12 according to the control instruction to determine the identification device of the PCIE device.

[0021] In an embodiment of the present application, the motherboard (MB) is the main circuit board of the server, which includes core components such as CPU, memory, and provides expansion slots and other interfaces. Specifically, it may include: a programmable logic device for implementing specific logic functions, such as signal control and interface management. PCH (Platform Controller Hub) is responsible for managing the input / output functions on the motherboard, such as SATA, USB and other interfaces. BMC (Baseboard Management Controller) is responsible for monitoring, management and maintenance tasks of the server, such as remote control, hardware status monitoring, etc. The MCIO high-speed connector is used for high-speed data transmission between the motherboard and other components (such as the riser board).

[0022] In the embodiment of the present application, the expansion board provides additional PCIe slots and other functions, and two MCIO high-speed connectors are used for high-speed connection with the main board and the data processor unit network card. The first high-speed connector: connected to the main board, for data and signal transmission. The second high-speed connector: connected to the data processor unit network card, also for data and signal transmission.

[0023] In an embodiment of the present application, the data processor unit network card (data processor unit network card) has a main control chip and can independently run business processing tasks.

[0024] The switching multiplexer (PCI Express Multiplexer) switches the signal path according to the control instructions and connects the motherboard or data processor unit network card. The MCU (Microcontroller Unit) is responsible for logical judgment and generating control instructions. The EEPROM (Electrically Erasable Programmable Read-Only Memory) is used to store firmware or configuration data. The PCIE slot is used to insert PCIe devices, such as network cards, graphics cards, etc.

[0025] In the embodiment of the present application, after the server is powered on, the microcontroller unit starts working. The MCU generates control instructions according to the in-place signals of the PCIE slot, the expansion board and the data processor unit network card. The in-place signal is a signal indicating whether the corresponding device is correctly installed in place.

[0026] The switch multiplexer controls the connection mode between the motherboard and the data processor unit network card and the expansion board according to the control instructions generated by the MCU. This connection mode is determined to identify the device connected to the PCIE slot, that is, to determine which component (motherboard or data processor unit network card) will communicate with the PCIE device.

[0027] In this way, the system can automatically identify the device connected to the PCIE slot and configure the corresponding communication path based on the identification result.

[0028] In an embodiment of the present application, after the server is powered on, the microcontroller unit starts working. The microcontroller unit generates control instructions according to the in-place signals of the PCIE slot, the expansion board, and the data processor unit network card. The switching multiplexer controls the connection mode between the mainboard and the data processor unit network card and the expansion board according to the control instructions generated by the microcontroller unit. The connection mode is determined by the device connected to the PCIE slot, that is, which component will communicate with the PCIE device, and then the PCIE device is identified. The embodiment of the present application improves the flexibility and scalability of the server, allowing automated device identification and configuration under different hardware configurations, thereby optimizing the performance and maintenance efficiency of the server.

[0029] Optionally, the control unit is specifically used to: When the in-position signals of the PCIE slot, the expansion board and the data processor unit network card are all at low levels, the control unit sends a first control instruction to the switch multiplexer; The first control instruction is used to instruct the switching multiplexer to connect the second high-speed connector with the PCIE slot, so that the high-speed PCIE signal, 100M clock, frequency reduction signal, reset signal and Wake signal of the PCIE slot are transmitted to the data processor unit network card through the switching multiplexer and the second high-speed connector; When the in-place signals of the PCIE slot and the expansion board are at a low level and the in-place signal of the data processor unit network card is at a high level, the control unit sends a second control instruction to the switching multiplexer; Among them, the second control instruction is used to instruct the switching multiplexer to connect the second high-speed connector with the PCIE slot, so that the high-speed PCIE signal, 100M clock, frequency reduction signal, reset signal and Wake signal of the PCIE slot are transmitted to the mainboard through the switching multiplexer via the first high-speed connector.

[0030] In an embodiment of the present application, the micro control unit receives presence signals of the PCIE slot, the expansion board and the data processor unit network card, and generates corresponding control instructions according to these signals.

[0031] In the embodiment of the present application, a signal is used to indicate whether the PCIE slot, expansion board and data processor unit network card are correctly installed in place.

[0032] When the in-position signals of the PCIE slot, the expansion board, and the data processor unit network card are all low, the MCU controller sends a first control instruction to the switch multiplexer. The first control instruction instructs the switch multiplexer to connect the second high-speed connector to the PCIE slot, allowing the following signal transmissions: High-speed PCIE signal: data transmission; 100M clock signal: synchronization signal; frequency reduction signal: may be used to adjust the operating frequency of the device; reset signal: used to reset the device; Wake signal: wake up the device.

[0033] Through a second high-speed connector, these signals are transmitted to the data processor unit network card, enabling it to identify and communicate with the device in the PCIE slot.

[0034] In an embodiment of the present application, when the presence signals of the PCIE slot and the expansion board are at a low level, and the presence signal of the data processor unit network card is at a high level, the MCU controller sends a second control instruction.

[0035] The second control instruction instructs the switch multiplexer to connect the first high-speed connector to the PCIE slot, allowing signals to be transmitted through the switch multiplexer and the first high-speed connector. These signals are transmitted to the mainboard through the switch multiplexer and the first high-speed connector, so that the mainboard can identify and communicate with the device in the PCIE slot.

[0036] In the embodiment of the present application, the server system can automatically adjust the signal routing according to the installation status of the hardware components to ensure that the PCIE device can be recognized and used by the correct host device (mainboard or data processor unit network card). This design improves the flexibility and automation level of the system and allows more efficient hardware management and maintenance.

[0037] Optionally, the control unit is specifically used to: When the in-place signal of the PCIE slot is at a high level and the in-place signals of the expansion board and the network card of the data processor unit are at a low level, the control unit does not send a control signal; Or, when the presence signal of the expansion board is at a low level and the presence signals of the PCIE slot and the network card of the data processor unit are at a high level, the control unit does not send a control signal; Or, when the presence signal of the expansion board is at a high level, the control unit does not send a control signal.

[0038] In the embodiment of the present application, the control unit is responsible for monitoring the presence signals of the PCIE slot, expansion board and data processor unit network card, and decides whether to send a control signal to the switch multiplexer accordingly. The signal used to indicate whether the corresponding component has been correctly installed in the server, usually a low level indicates presence, and a high level indicates absence.

[0039] When the in-position signal of the PCIE slot is high, it means that no PCIE device is inserted or the device is not installed correctly. At this time, the MCU controller does not send a control signal because no device needs to be connected.

[0040] When the presence signal of the expansion board is low, it means that the expansion board has been installed correctly, but when the presence signals of the PCIE slot and the data processor unit network card are high, it means that these devices are not installed correctly or are not in place. At this time, the MCU controller does not send a control signal because no device can be connected to the expansion board.

[0041] When the presence signal of the expansion board is high, it means that the expansion board is not installed correctly or is not in place. In this case, the MCU controller also does not send a control signal because the expansion board is a key part of connecting other components.

[0042] In the embodiment of the present application, the MCU controller implements intelligent monitoring and control of the server hardware configuration, and device identification and connection are performed only when all key components are correctly installed, thereby ensuring the security and functionality of the system.

[0043] Optionally, the control unit is further configured to: When the presence signals of the expansion board and the PCIE slot are at a low level and the presence signal of the data processor unit network card is at a high level, control the switch multiplexer to connect the first high-speed connector with the PCIE slot; The mainboard identifies the PCIE device and sends a debugging control signal to the control unit through the first high-speed connector, so that the control unit latches the debugging control signal; When the server is restarted, the control unit controls the connection between the main board and the network card of the data processor unit and the expansion board according to the configuration indicated by the debugging control signal.

[0044] In an embodiment of the present application, when the presence signals of the expansion board and the PCIE slot are low, indicating that they are correctly installed in place, and the presence signal of the data processor unit network card is high, indicating that it is not in place or is not correctly installed, the MCU controller executes a specific control process.

[0045] The MCU controller sends a control instruction to the switch multiplexer, instructing it to connect the first high-speed connector with the PCIE slot, thereby allowing the mainboard to identify the PCIE device through this connection.

[0046] The motherboard identifies the device connected to the PCIE slot, which may include detecting the device type, configuring device parameters, etc. After the identification is completed, the motherboard sends debug control signals to the MCU controller through the first high-speed connector. These signals may contain specific configuration information or be used to trigger specific system behaviors.

[0047] After receiving the debug control signals, the MCU controller latches them. This means that the MCU controller can remember and maintain the status of these signals even after the system is powered off or restarted.

[0048] When the server restarts, the MCU controller controls the connection between the mainboard and the data processor unit network card and the expansion board again according to the configuration indicated by the previously latched debug control signal. By latching the debug control signal, the system configuration remains unchanged after the server restarts, ensuring the persistence of the configuration and the stability of the system.

[0049] In an optional embodiment, when the server is debugged and controlled or subjectively forced to be reconfigured, that is, when the presence signals of the expansion board and the PCIE slot are low, and the presence signal of the data processor unit network card is high, and the PCIE device identification is changed to be performed by the mainboard CPU, the CPLD in the mainboard outputs a debug control signal to the MCU controller through the high-speed connector MCIOA CONN for latching, so that when the server is restarted, the MCU controller outputs an enable signal at a high level to control the switching multiplexer to switch the channel to Y=A, so that the high-speed PCIE signal, 100M clock, frequency reduction signal, reset signal and Wake signal of the PCIE slot are connected to the high-speed connector MCIOA Conn through the switching multiplexer, the MCU controller switches PCIE_Slot_I2C to MB_I2C, and the MB mainboard is powered on to perform PCIE device identification.

[0050] In an embodiment of the present application, the MCU controller not only performs real-time control when the system is running, but also remembers specific configuration information and reconfigures hardware connections based on this information after the system is restarted, thereby achieving more flexible and reliable server management.

[0051] Figure 2 A schematic diagram of the identification method flow provided in the embodiment of the present application, such as Figure 2 As shown, including: Step 210, after the server is powered on, the micro control unit generates a control instruction according to the presence signals of the PCIE slot, the expansion board and the network card of the data processor unit; Step 220: the switch multiplexer controls the connection between the mainboard and the data processor unit network card and the expansion board according to the control instruction to determine the identification device of the PCIE device.

[0052] In the embodiment of the present application, after the server is powered on, the microcontroller unit starts working. The MCU generates control instructions according to the in-place signals of the PCIE slot, the expansion board and the data processor unit network card. The in-place signal is a signal indicating whether the corresponding device is correctly installed in place.

[0053] The switch multiplexer controls the connection mode between the motherboard and the data processor unit network card and the expansion board according to the control instructions generated by the MCU. This connection mode is determined to identify the device connected to the PCIE slot, that is, to determine which component (motherboard or data processor unit network card) will communicate with the PCIE device.

[0054] In this way, the system can automatically identify the device connected to the PCIE slot and configure the corresponding communication path based on the identification result.

[0055] In an embodiment of the present application, after the server is powered on, the microcontroller unit starts working. The microcontroller unit generates control instructions according to the in-place signals of the PCIE slot, the expansion board, and the data processor unit network card. The switching multiplexer controls the connection mode between the mainboard and the data processor unit network card and the expansion board according to the control instructions generated by the microcontroller unit. The connection mode is determined by the device connected to the PCIE slot, that is, which component will communicate with the PCIE device, and then the PCIE device is identified. The embodiment of the present application improves the flexibility and scalability of the server, allowing automated device identification and configuration under different hardware configurations, thereby optimizing the performance and maintenance efficiency of the server.

[0056] Optionally, the micro control unit generates a control instruction according to the presence signals of the PCIE slot, the expansion board and the network card of the data processor unit, including: When the in-position signals of the PCIE slot, the expansion board and the data processor unit network card are all at low levels, the control unit generates a first control instruction and sends the first control instruction to the switch multiplexer; The first control instruction is used to instruct the switching multiplexer to connect the second high-speed connector with the PCIE slot, so that the high-speed PCIE signal, 100M clock, frequency reduction signal, reset signal and Wake signal of the PCIE slot are transmitted to the data processor unit network card through the switching multiplexer and the second high-speed connector; When the in-place signals of the PCIE slot and the expansion board are at a low level and the in-place signal of the data processor unit network card is at a high level, the control unit generates a second control instruction, and the control unit sends the second control instruction to the switching multiplexer; Among them, the second control instruction is used to instruct the switching multiplexer to connect the second high-speed connector with the PCIE slot, so that the high-speed PCIE signal, 100M clock, frequency reduction signal, reset signal and Wake signal of the PCIE slot are transmitted to the mainboard through the switching multiplexer via the first high-speed connector.

[0057] Figure 3 This is a schematic diagram of the identification process of an embodiment of the present application, such as Figure 3 As shown, including: When the server's AC power is turned on, the system starts to power on. The power supply voltage is supplied to the MCU controller and the switching multiplexer, starting these components.

[0058] The MCU controller receives three key in-place signals: data processor unit network card in-place signal (data processor unit network card_PRSNT_N); PCIE slot in-place signal (PCIE_Slot_PRSNT_N); expansion board in-place signal (Riser_PRSNT_N).

[0059] The MCU controller makes a logical judgment based on the level status of these in-place signals. If all three signals are low, it means that the data processor unit network card, PCIE device and expansion board are correctly installed. The MCU controller determines that the data processor unit network card is interconnected with the PCIE device.

[0060] The MCU controller enables the switch multiplexer and switches it to channel B. Channel B is connected to the MCIOB Conn connector to ensure that the signal is transmitted to the data processor unit network card. The MCU controller switches the Slot I2C to the data processor unit network card I2C channel to ensure that the I2C communication path is set correctly. The data processor unit network card starts running and performs PCIE device recognition.

[0061] If the data processor unit network card is not in place, but the PCIE slot and expansion board are in place, the MCU controller enables the swap multiplexer and switches to the MCIOA Conn connector. The MCU controller switches the Slot I2C to the MB I2C to ensure that the I2C communication path is set correctly.

[0062] When the motherboard is powered on, the CPU starts to identify the PCIE device. If the combination of the in-position signal does not meet the above two conditions, the MCU controller does not perform any operation.

[0063] When the server is debugged and controlled or subjectively forced to be reconfigured, that is, when the expansion board is in place, the PCIE slot is in place, and the data processor unit network card is in place, the MB motherboard CPU is used to identify the PCIE device, and the motherboard CPLD outputs a debug control signal to the MCU controller through the high-speed connector MCIOA CONN for latching, so that when the server is restarted, the MCU controller outputs an enable signal at a high level to control the switching multiplexer to switch the channel to Y=A, so that the high-speed PCIE signal, 100M clock, frequency reduction signal, reset signal and Wake signal of the PCIE slot are connected to the high-speed connector MCIOA Conn through the switching multiplexer, the MCU controller switches PCIE_Slot_I2C to MB_I2C, and the motherboard is powered on to identify the PCIE device.

[0064] In the embodiments of the present application, the problem that when customers need to adapt PCIE devices for both the server and the smart network card, they can only reconfigure them by changing the boards and cables is solved, the flexibility and scalability of the server configuration are improved, the design workload and configuration complexity are reduced, the convenience of customer application is improved, and the customer's business needs can be greatly met. At the same time, the server configuration can be optimized.

[0065] Figure 4 is a schematic diagram of the structure of the electronic device provided by the present invention, such as Figure 4 As shown, the electronic device may include: a processor 410, a communication interface 420, a memory 430 and a communication bus 440, wherein the processor 410, the communication interface 420 and the memory 430 communicate with each other through the communication bus 440. The processor 410 may call the logic instructions in the memory 430 to execute the identification method, which includes: after the server is powered on, the micro control unit generates a control instruction according to the in-place signals of the PCIE slot, the expansion board and the data processor unit network card; The switching multiplexer controls the connection between the mainboard and the data processor unit network card and the expansion board according to the control instruction to determine the identification device of the PCIE device.

[0066] In addition, the logic instructions in the above-mentioned memory 430 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0067] On the other hand, the present invention further provides a computer program product, the computer program product includes a computer program, the computer program can be stored on a non-transitory computer-readable storage medium, when the computer program is executed by a processor, the computer can execute the identification method provided by the above methods, the method comprising: after the server is powered on, the micro control unit generates a control instruction according to the in-place signals of the PCIE slot, the expansion board and the data processor unit network card; The switching multiplexer controls the connection between the mainboard and the data processor unit network card and the expansion board according to the control instruction to determine the identification device of the PCIE device.

[0068] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the computer program is executed by a processor to perform the identification method provided by the above methods, the method comprising: after the server is powered on, the micro control unit generates a control instruction according to the in-place signals of the PCIE slot, the expansion board and the data processor unit network card; The switching multiplexer controls the connection between the mainboard and the data processor unit network card and the expansion board according to the control instruction to determine the identification device of the PCIE device.

[0069] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0070] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

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

Claims

1. A device identification system, characterized in that: include: A main board, an expansion board, and a data processor unit network card; the expansion board comprises: a first high-speed connector, a second high-speed connector, a switching multiplexer, a micro control unit, and a PCIE slot; the expansion board is connected to the main board via the first high-speed connector, and the expansion board is connected to the data processor unit network card via the second high-speed connector; wherein the PCIE slot is used to load a PCIE device; Wherein, the micro control unit is used to generate control instructions according to the presence signals of the PCIE slot, the expansion board and the network card of the data processor unit after the server is powered on; The switching multiplexer is used to control the connection between the mainboard and the data processor unit network card and the expansion board according to the control instruction to determine the identification device of the PCIE device.

2. The device identification system according to claim 1, characterized in that: The control unit is specifically used for: When the in-position signals of the PCIE slot, the expansion board and the data processor unit network card are all at low levels, the control unit sends a first control instruction to the switch multiplexer; The first control instruction is used to instruct the switching multiplexer to connect the second high-speed connector with the PCIE slot, so that the high-speed PCIE signal, 100M clock, frequency reduction signal, reset signal and Wake signal of the PCIE slot are transmitted to the data processor unit network card through the switching multiplexer and the second high-speed connector; When the in-place signals of the PCIE slot and the expansion board are at a low level and the in-place signal of the data processor unit network card is at a high level, the control unit sends a second control instruction to the switching multiplexer; Among them, the second control instruction is used to instruct the switching multiplexer to connect the second high-speed connector with the PCIE slot, so that the high-speed PCIE signal, 100M clock, frequency reduction signal, reset signal and Wake signal of the PCIE slot are transmitted to the mainboard through the switching multiplexer via the first high-speed connector.

3. The device identification system according to claim 1, characterized in that: The control unit is specifically used for: When the in-place signal of the PCIE slot is at a high level and the in-place signals of the expansion board and the network card of the data processor unit are at a low level, the control unit does not send a control signal; Or, when the presence signal of the expansion board is at a low level and the presence signals of the PCIE slot and the network card of the data processor unit are at a high level, the control unit does not send a control signal; Or, when the presence signal of the expansion board is at a high level, the control unit does not send a control signal.

4. The device identification system according to claim 1, characterized in that: The control unit is further specifically used for: When the presence signals of the expansion board and the PCIE slot are at a low level and the presence signal of the data processor unit network card is at a high level, control the switch multiplexer to connect the first high-speed connector with the PCIE slot; The mainboard identifies the PCIE device and sends a debugging control signal to the control unit through the first high-speed connector, so that the control unit latches the debugging control signal; When the server is restarted, the control unit controls the connection between the main board and the network card of the data processor unit and the expansion board according to the configuration indicated by the debugging control signal.

5. The device identification system according to claim 1, characterized in that: The expansion board also includes: a power supply module and an electrically erasable programmable read-only memory; When the server is powered on, the power supply module supplies power to the switch multiplexer and the micro control unit; The micro control unit obtains the presence signals of the PCIE slot, the expansion board and the network card of the data processor unit.

6. An identification method based on the device identification system according to any one of claims 1 to 5, characterized in that: include: After the server is powered on, the micro control unit generates a control instruction according to the in-place signals of the PCIE slot, the expansion board and the network card of the data processor unit; The switching multiplexer controls the connection between the mainboard and the data processor unit network card and the expansion board according to the control instruction to determine the identification device of the PCIE device.

7. The identification method according to claim 6, characterized in that: The micro control unit generates a control instruction according to the in-place signals of the PCIE slot, the expansion board and the network card of the data processor unit, including: When the in-position signals of the PCIE slot, the expansion board and the data processor unit network card are all at low levels, the control unit generates a first control instruction and sends the first control instruction to the switch multiplexer; The first control instruction is used to instruct the switching multiplexer to connect the second high-speed connector with the PCIE slot, so that the high-speed PCIE signal, 100M clock, frequency reduction signal, reset signal and Wake signal of the PCIE slot are transmitted to the data processor unit network card through the switching multiplexer and the second high-speed connector; When the in-place signals of the PCIE slot and the expansion board are at a low level and the in-place signal of the data processor unit network card is at a high level, the control unit generates a second control instruction, and the control unit sends the second control instruction to the switching multiplexer; Among them, the second control instruction is used to instruct the switching multiplexer to connect the second high-speed connector with the PCIE slot, so that the high-speed PCIE signal, 100M clock, frequency reduction signal, reset signal and Wake signal of the PCIE slot are transmitted to the mainboard through the switching multiplexer via the first high-speed connector.

8. The identification method according to claim 6, characterized in that: The method further comprises: When the presence signals of the expansion board and the PCIE slot are at a low level and the presence signal of the data processor unit network card is at a high level, control the switch multiplexer to connect the first high-speed connector with the PCIE slot; The mainboard identifies the PCIE device and sends a debugging control signal to the control unit through the first high-speed connector, so that the control unit latches the debugging control signal; When the server is restarted, the control unit controls the connection between the main board and the network card of the data processor unit and the expansion board according to the configuration indicated by the debugging control signal.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the identification method according to any one of claims 6 to 8 is implemented.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the identification method according to any one of claims 6 to 8 is implemented.

Citation Information

Cited By

  • Server mainboard and link management method

    CN120596425A