WO2025102717A1 - Procédé de détection de défaut d'insertion pour dispositif externe, et dispositif informatique - Google Patents

Procédé de détection de défaut d'insertion pour dispositif externe, et dispositif informatique Download PDF

Info

Publication number
WO2025102717A1
WO2025102717A1 PCT/CN2024/099306 CN2024099306W WO2025102717A1 WO 2025102717 A1 WO2025102717 A1 WO 2025102717A1 CN 2024099306 W CN2024099306 W CN 2024099306W WO 2025102717 A1 WO2025102717 A1 WO 2025102717A1
Authority
WO
WIPO (PCT)
Prior art keywords
expansion
connector
dock
connection relationship
controller
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
PCT/CN2024/099306
Other languages
English (en)
Chinese (zh)
Inventor
朱继文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
XFusion Digital Technologies Co Ltd
Original Assignee
XFusion Digital Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by XFusion Digital Technologies Co Ltd filed Critical XFusion Digital Technologies Co Ltd
Publication of WO2025102717A1 publication Critical patent/WO2025102717A1/fr
Anticipated expiration legal-status Critical
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/327Alarm or error message display
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3041Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is an input/output interface

Definitions

  • the embodiments of the present application relate to the field of server technology, and more particularly to a method for detecting misinsertion of an external device and a computing device.
  • Common ways to increase hardware resources in a server include: connecting a Switch chip in the server to an expansion dock via a cable, and then inserting the hardware resources to be expanded into slots provided by the expansion dock, thereby increasing the total amount of the hardware resources to be expanded in the server.
  • the server system will report an error, thereby preventing the server from normally using the hardware resources to be expanded.
  • the embodiments of the present application provide a method for detecting mis-insertion of an external device and a computing device, which are used to ensure the correct connection between an expansion dock and a computing device, so that the computing device can normally use a hardware device to be expanded installed on the expansion dock.
  • an embodiment of the present application provides a computing device, which includes: a controller, multiple adapter connectors and at least two expansion docks, each expansion dock including at least two expansion connectors; one adapter connector among the multiple adapter connectors is connected to an expansion connector; the multiple adapter connectors are respectively connected to the above-mentioned controller; the controller is used to determine the current connection relationship of the expansion dock, and the connection relationship includes: the connection relationship between each expansion connector of the expansion dock and the adapter connector; and, when the current connection relationship of the expansion dock is different from the preset connection relationship of the expansion dock, output an alarm message, and the alarm message is used to indicate that the current connection relationship of the expansion dock is wrong.
  • the embodiment of the present application provides a computing device, in which an adapter connector in the computing device is connected to an expansion connector in an expansion dock, and the multiple adapter connectors are respectively connected to a controller in the computing device; the controller is used to determine the current connection relationship of the expansion dock, and the connection relationship includes: the connection relationship between each expansion connector of the expansion dock and the adapter connector; the controller is also used to output an alarm message indicating that the current connection relationship of the expansion dock is wrong when the current connection relationship of the expansion dock is different from the preset connection relationship of the expansion dock.
  • the above-mentioned controller will compare the current connection relationship of the expansion dock with the preset connection relationship of the expansion dock, and judge the correctness of the current connection relationship of the expansion dock; when the current connection relationship of the expansion dock is wrong, the controller outputs an alarm message so that the user can promptly know the current connection relationship error of the expansion dock, and correct the wrong connection relationship, thereby ensuring the correct connection of the expansion dock, thereby solving the problem that the server cannot normally use the hardware resources to be expanded.
  • the controller is used to determine the current connection relationship of the expansion dock, including: the controller is used to obtain the identifier of the expansion connector connected to the adapter connector through each adapter connector; the controller is used to determine the current connection relationship of the expansion dock based on the obtained identifiers of multiple expansion connectors.
  • the first position mark and the second position mark of the expansion connector are used as the mark of the expansion connector, so that the controller can
  • the identifier of the connector determines the target expansion dock where the expansion connector is located and the position information of the expansion connector in the target expansion dock; that is, the controller can not only determine the target expansion dock to which the adapter connector is connected, but also determine which specific expansion connector in the target expansion dock the adapter connector is connected to, based on the identifier of the expansion connector, thereby improving the accuracy of the controller in determining the expansion connector.
  • the identifier of the expansion connector further includes: a type identifier of the target expansion dock; the expansion connector further includes: a third pin; the third pin is configured with the type identifier of the target expansion dock.
  • a first pin, a second pin and a third pin are set on each expansion connector, and a first position identifier of the expansion connector is configured on the first pin, and the first position identifier is used to indicate the position information of the expansion connector in the expansion dock (i.e., the target expansion dock) where the expansion connector is located; a second position identifier of the expansion connector is configured on the second pin, and the second position identifier is used to indicate the position information of the target expansion dock in at least two expansion docks in the computing device; the third pin is configured with a type identifier of the target expansion dock, and the first position identifier, the second position identifier and the type identifier of the target expansion dock are used as the identifier of the expansion connector.
  • the controller obtains the identifier of the expansion connector connected to it through each adapter connector, and determines the current connection relationship of the expansion dock according to the identifiers of multiple expansion connectors; when the current connection relationship of the expansion dock is different from the preset connection relationship of the expansion dock, the controller outputs an alarm message, thereby ensuring that the type of the connected expansion dock is correct while ensuring that the expansion dock cable is correctly connected, thereby solving the problem that the server cannot normally use the hardware resource to be expanded.
  • the computing device further includes a plurality of processors, and any one of the plurality of processors is connected to at least two of the plurality of adapter connectors; the processor sends communication resources to an expansion dock connected to the processor via the adapter connector connected to the processor.
  • the computing device includes a mainboard and an adapter board, and the adapter connector is provided on the adapter board;
  • the controller includes a programmable logic device and a baseboard management controller, wherein the programmable logic device is arranged on the adapter board, the baseboard management controller is arranged on the main board, and the baseboard management controller is connected to a plurality of adapter connectors through the programmable logic device;
  • the programmable logic device is used to determine the current connection relationship of the expansion dock; the baseboard management controller is used to output alarm information when the current connection relationship of the expansion dock is different from the preset connection relationship of the expansion dock.
  • the controller further includes a storage unit connected to the baseboard management controller, and the storage unit stores a preset connection relationship of the expansion dock.
  • the controller in the above embodiment includes a storage unit connected to the BMC on the basis of a programmable logic device CPLD and a baseboard management controller BMC.
  • the storage unit is used to store the preset connection relationship of the expansion dock. Therefore, before the BMC determines whether the preset connection relationship of the expansion dock is the same as the current connection relationship of the expansion dock, the BMC can obtain the preset connection relationship of the expansion dock from the storage unit; compared with the solution in which the preset connection relationship of the expansion dock is stored in the BMC, the storage space of the BMC is saved.
  • the types of the above-mentioned docking station include at least: a first type and a second type, the first type of docking station is a docking station for providing a slot for a hard disk, and the second type of docking station is a docking station for providing a slot for a network card.
  • an embodiment of the present application provides a method for detecting misinsertion of an external device, the method being applied to a computing device, the computing device comprising: a controller, a plurality of adapter connectors and at least two expansion docks, each expansion dock comprising at least two expansion connectors; an adapter connector among the plurality of adapter connectors is connected to an expansion connector, and the plurality of adapter connectors are respectively connected to the controller; the method comprising: the controller determining a current connection relationship of the above-mentioned expansion dock, the connection relationship comprising: a connection relationship between each expansion connector in the expansion dock and the adapter connector; when the current connection relationship of the expansion dock is different from a preset connection relationship of the expansion dock, the controller outputs an alarm message, the alarm message being used to indicate that the current connection relationship of the expansion dock is wrong.
  • a controller in the method obtains a current connection relationship of an expansion dock, where the connection relationship includes: a connection relationship between an expansion connector and an adapter connector on the expansion dock; then, when the current connection relationship of the expansion dock is different from a preset connection relationship of the expansion dock, the controller outputs an alarm message indicating that the current connection relationship of the expansion dock is wrong, so that a user can be informed of the current connection relationship error of the expansion dock in a timely manner and correct the erroneous connection relationship, thereby ensuring the correct connection of the expansion dock, thereby solving the problem that the server cannot normally use the hardware resources to be expanded.
  • the controller determines the current connection relationship of the expansion dock, specifically including: the controller obtains the identifier of the expansion connector connected to each adapter connector through each adapter connector; the controller determines the current connection relationship of the expansion dock based on the obtained identifiers of multiple expansion connectors.
  • the identifier of the expansion connector includes: a first position identifier and a second position identifier of the expansion connector, the first position identifier is used to indicate the position information of the expansion connector on the target expansion dock, and the second position identifier is used to indicate the position information of the target expansion dock in the at least two expansion docks, and the target expansion dock is the expansion dock where the expansion connector is located.
  • the controller uses the first position identifier and the second position identifier of the expansion connector as the identifier of the expansion connector, so that the controller can determine the target expansion dock where the expansion connector is located and the position information of the expansion connector in the target expansion dock according to the identifier of the expansion connector; that is, the controller can not only determine the target expansion dock to which the target adapter connector (i.e., the adapter connector connected to the expansion connector) is connected, but also determine which specific expansion connector in the target expansion dock the target adapter connector is connected to, according to the identifier of the expansion connector, thereby improving the accuracy of the controller in determining the expansion connector.
  • the target adapter connector i.e., the adapter connector connected to the expansion connector
  • the identifier of the expansion connector further includes: a type identifier of a target expansion dock.
  • the first position identifier, the second position identifier and the type identifier of the target expansion dock are used as the identifier of the expansion connector, so that the controller determines the type of the target expansion dock on the basis of determining the position of the expansion connector. Therefore, the controller can not only determine the specific position of the expansion connector but also determine the type of the target expansion dock where the expansion connector is located according to the identifier of the expansion connector, thereby improving the accuracy of the controller in determining the expansion connector.
  • the controller includes a programmable logic device and a baseboard management controller; the method specifically includes: the programmable logic device determines the current connection relationship of the expansion dock and sends the current connection relationship of the expansion dock to the baseboard management controller; the baseboard management controller receives the current connection relationship of the expansion dock and outputs an alarm message when the current connection relationship of the expansion dock is different from the preset connection relationship of the expansion dock.
  • the BMC receives the current connection relationship of the expansion dock sent by the CPLD, and determines whether the current connection relationship of the expansion dock is the same as the preset connection relationship of the expansion dock. When the current connection relationship of the expansion dock is different from the preset connection relationship of the expansion dock, the BMC outputs an alarm message. It can be seen that the above CPLD is only used to obtain the current connection relationship of the expansion dock, while the actions of determining whether the current connection relationship of the expansion dock is the same as the preset connection relationship of the expansion dock and outputting the alarm message are all performed by the BMC, thereby reducing the utilization rate of the processing resources in the CLPD.
  • the controller includes a programmable logic device and a baseboard management controller; the method specifically includes: the programmable logic device determines the current connection relationship of the expansion dock; when the current connection relationship of the expansion dock is different from the preset connection relationship of the expansion dock, sends alarm indication information to the baseboard management controller; the baseboard management controller responds to the alarm indication information and outputs the alarm information.
  • the CPLD obtains the current connection relationship of the expansion dock, and determines whether the current connection relationship of the expansion dock is the same as the preset connection relationship of the expansion dock. In the case where the current connection relationship of the expansion dock is different from the preset connection relationship of the expansion dock, the CPLD sends an alarm indication information to the BMC, and the BMC outputs an alarm information in response to the alarm indication information. It can be seen that the above BMC is only used to output the alarm information, and does not need to determine whether the current connection relationship of the expansion dock is the same as the preset connection relationship of the expansion dock, thereby reducing the utilization rate of the processing resources in the BMC.
  • the controller further includes a storage unit, in which a preset connection relationship of the expansion dock is stored; the method further includes: the baseboard management controller acquiring the preset connection relationship of the expansion dock from the storage unit.
  • an embodiment of the present application provides a controller, comprising: a determination unit and an output unit, the determination unit being used to determine a current connection relationship of the expansion dock, the connection relationship comprising: a connection relationship between each expansion connector in the expansion dock and the adapter connector; the output unit being used to output an alarm message when the current connection relationship of the expansion dock is different from a preset connection relationship of the expansion dock, the alarm message being used to indicate that the current connection relationship of the expansion dock is incorrect.
  • the controller further includes: an acquisition unit; the acquisition unit is used to acquire the identification of the expansion connector connected to the adapter connector through each adapter connector; the determination unit is specifically used to determine the current expansion dock according to the acquired identifications of the multiple expansion connectors. connection relationship.
  • the controller includes: a first processing unit and a second processing unit; the first processing unit is used to determine the current connection relationship of the expansion dock and send the current connection relationship of the expansion dock to the second processing unit; the second processing unit is used to receive the current connection relationship of the expansion dock and output an alarm message when the current connection relationship of the expansion dock is different from the preset connection relationship of the expansion dock.
  • the first processing unit is used to determine the current connection relationship of the expansion dock; when the current connection relationship of the expansion dock is different from the preset connection relationship of the expansion dock, an alarm indication information is sent to the second processing unit; and the second processing unit is used to output an alarm information in response to the alarm indication information.
  • the acquiring unit is specifically configured to acquire the preset connection relationship of the expansion dock from the storage unit.
  • an embodiment of the present application provides a computing device cluster, which includes a computing device according to any one of the first aspect and possible implementations thereof.
  • FIG1 is a schematic diagram of a computing device provided in an embodiment of the present application.
  • FIG2 is a second schematic diagram of a computing device provided in an embodiment of the present application.
  • FIG3 is a third schematic diagram of a computing device provided in an embodiment of the present application.
  • FIG4 is a fourth schematic diagram of a computing device provided in an embodiment of the present application.
  • FIG5 is a flow chart of a method for detecting misinsertion of an external device provided in an embodiment of the present application.
  • FIG6 is a second flow chart of a method for detecting misinsertion of an external device provided in an embodiment of the present application.
  • FIG. 7 is a third flow chart of a method for detecting misinsertion of an external device provided in an embodiment of the present application.
  • FIG8 is a fourth flow chart of a method for detecting misinsertion of an external device provided in an embodiment of the present application.
  • FIG. 9 is a schematic diagram of the structure of a controller provided in an embodiment of the present application.
  • a and/or B in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist.
  • a and/or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
  • first and second in the description and claims of the embodiments of the present application are used to distinguish different objects rather than to describe a specific order of the objects.
  • a first position pin and a second position pin are used to distinguish different position pins rather than to describe a specific order of the position pins.
  • words such as “exemplary” or “for example” are used to indicate examples, illustrations or descriptions. Any embodiment or design described as “exemplary” or “for example” in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as “exemplary” or “for example” is intended to present related concepts in a specific way.
  • multiple refers to two or more than two.
  • multiple processors refer to two or more processors; multiple adapter connectors refer to two or more adapter connectors.
  • Pin Also called pin, in English, it is the connection from the internal circuit of the integrated circuit (chip) to the peripheral circuit. All the pins constitute the interface of this chip. The end of the lead wire is soldered to form a solder joint with the pad on the printed circuit board.
  • Single host Also called single-host, it is used to indicate a scenario where a device (such as a network card) is connected to a single processor or device at the same time.
  • Multi-host Also called multi-host, it is used to indicate a scenario where a device (such as a network card) is connected to multiple processors or devices at the same time.
  • an embodiment of the present application provides a computing device, wherein a controller in the computing device is connected to a plurality of adapter connectors in the computing device; the adapter connector is connected to an expansion connector in an expansion dock.
  • the controller is used to determine a current connection relationship of the expansion dock, the connection relationship including: a connection relationship between each expansion connector in the expansion dock and the adapter connector; and, when the current connection relationship of the expansion dock is different from a preset connection relationship of the expansion dock, outputting an alarm message indicating that the current connection relationship of the expansion dock is wrong.
  • An embodiment of the present application provides a computing device, which includes: a controller, a plurality of adapter connectors, and at least two expansion docks, each of which includes at least two expansion connectors.
  • the computing device includes: 1 controller, 4 adapter connectors, and 2 expansion docks, each of which includes 2 expansion connectors.
  • the number of controllers in the computing device is 1, the number of adapter connectors is 4, the number of expansion docks is 2, and the number of expansion connectors in each expansion dock is 2.
  • the computing device is shown in Figure 1.
  • adapter connector_1, adapter connector_2, adapter connector_3 and adapter connector_4 are respectively connected to the controller; wherein, the controller can be at least one of the devices with processing capabilities such as baseboard management controller (BMC), complex programmable logic device (CPLD), FPGA, DSP, etc.
  • BMC baseboard management controller
  • CPLD complex programmable logic device
  • FPGA field-programmable gate array
  • DSP digital signal processor
  • connection between any two devices in the computing device in the embodiment of the present application is an electrical connection (ie, a cable connection), which will not be described in detail later.
  • the expansion dock is a device for providing a slot for the device to be expanded of the computing device, and can be understood as a circuit board with a connection slot.
  • the expansion dock is a riser card that provides a network card slot
  • the expansion dock is a hard disk backplane that provides a hard disk slot.
  • the docking station corresponding to the OCP (open compute project) network card is different from the docking station corresponding to the DPU (data processing unit) network card
  • the docking station corresponding to the solid-state drive is different from the docking station corresponding to the mechanical hard drive.
  • the types of the above-mentioned adapter connector and the expansion connector are the same, such as: when the adapter connector is a unified bus connector (UBC) connector, the expansion connector is also a UBC connector; when the adapter connector is a slimline_x8 connector, the expansion connector is also a slimline_x8 connector.
  • UBC unified bus connector
  • the adapter connector is a slimline_x8 connector
  • the embodiment of the present application is described by taking the adapter connector and the expansion connector as UBC connectors as an example, and will not be repeated later.
  • the controller is used to determine the current connection relationship of the expansion dock (i.e., expansion dock_1 and expansion dock_2); wherein the current connection relationship of the expansion dock includes: the connection relationship between each expansion connector in the expansion dock and the adapter connector; that is, the current connection relationship of the expansion dock is used to indicate which adapter connectors the expansion connector in the expansion dock is actually connected to.
  • the current connection relationship of the expansion dock_1 includes: the connection between the expansion connector_1 and the adapter connector_1 and the connection between the expansion connector_2 and the adapter connector_2.
  • a specific implementation of the controller determining the current connection relationship of an expansion dock includes: the controller obtains, through each adapter connector (such as adapter connector_1), the identifiers of multiple expansion connectors (such as adapter connector_1 connected to expansion connector_1) connected to each adapter connector, wherein the identifier of the expansion connector is used to indicate the expansion dock where the expansion connector is located, and the position of the expansion connector on the expansion dock, and then, through the identifiers of the above multiple expansion connectors, the controller can determine which expansion connector on which expansion dock each adapter connector is connected to; then, the controller determines the current connection relationship between the expansion connector on the expansion dock and each adapter connector according to the identifiers of the multiple expansion connectors.
  • the adapter connector 1 in the computing device is connected to the expansion connector 1, the adapter connector 2 is connected to the expansion connector 2, the adapter connector 3 is connected to the expansion connector 3, and the adapter connector 4 is connected to the expansion connector 4;
  • _1 includes: expansion connector _1 and expansion connector _2; therefore, the current connection relationship of expansion dock _1 includes: adapter connector _1 is connected to expansion connector _1, and adapter connector _2 is connected to expansion connector _2.
  • expansion dock _2 includes expansion connector _3 and expansion connector _4; therefore, the current connection relationship of expansion dock _2 includes: adapter connector _3 is connected to expansion connector _3, and adapter connector _4 is connected to expansion connector _4.
  • the identifier of the expansion connector in the computing device shown in FIG1 includes: a first position identifier and a second position identifier
  • the expansion connector includes: a first pin and a second pin; wherein the first pin is configured with a first position identifier, and the first position identifier is used to indicate the position information of the expansion connector in the target expansion dock, and the target expansion dock is the expansion dock where the above expansion connector is located.
  • the second pin is configured with a second position identifier, and the second position identifier is used to indicate the position information of the target expansion dock in at least two expansion docks; that is, the first position identifier is the position identifier of the expansion connector in the target expansion dock, and the second position identifier is the position identifier of the target expansion dock in multiple expansion docks; then, the controller can determine the target expansion dock from multiple expansion docks in the computing device according to the second position identifier, and then, according to the first position identifier, the above expansion connector can be determined from multiple expansion connectors in the target expansion dock, so the controller can determine the specific position of the expansion connector according to the above first position identifier and the second position identifier.
  • the expansion connector_1 includes: a first pin and a second pin; wherein the first pin is configured with a first position mark "0", and the first position mark "0" is used to indicate that the expansion connector_1 is located at the left position in the expansion dock where it is located.
  • the second pin is configured with a second position mark "0", and the second position mark "0" is used to indicate that the expansion dock where the expansion connector_1 is located is the expansion dock located at the left position between the expansion dock_1 and the expansion dock_2.
  • the expansion dock where the expansion connector_1 is located is the expansion dock_1; and since the expansion connector_1 is located at the left position in the expansion dock_1, it is determined that the expansion connector is the expansion connector_1 in the expansion dock_1.
  • the controller Based on the first pin and the second pin on the expansion connector, the controller obtains an identifier of the expansion connector connected thereto (e.g., the identifier of the expansion connector_1) through an adapter connector (e.g., the adapter connector_1), wherein the identifier of the expansion connector_1 includes: a first position identifier and a second position identifier of the expansion connector_1; then, the controller determines the connection relationship between the expansion connector having the same second position identifier among the obtained multiple expansion connector identifiers and the adapter connector as the connection relationship of the expansion dock indicated by the second position identifier.
  • an identifier of the expansion connector connected thereto e.g., the identifier of the expansion connector_1
  • the adapter connector_1 e.g., the adapter connector_1
  • the controller can determine the target expansion dock where the expansion connector is located and the position information of the expansion connector in the target expansion dock according to the identifier of the expansion connector; that is, the controller can not only determine the target expansion dock to which the adapter connector is connected, but also determine which specific expansion connector in the target expansion dock the adapter connector is connected to according to the identifier of the expansion connector, thereby improving the accuracy of the controller in determining the expansion connector.
  • the identifier of the expansion connector obtained by the controller through the adapter connector_1 is ⁇ the identifier of the expansion connector_1: (0, 0) ⁇ ; wherein, the first "0" in (0, 0) is the position identifier of the expansion connector_1 in the expansion dock (i.e., expansion dock_1) where it is located, i.e., the first "0” is the first position identifier of the expansion connector_1; the second "0” is the position identifier of the expansion dock_1, i.e., the second "0” is the second position identifier of the expansion connector_1.
  • the identifier of the expansion connector obtained by the controller through the adapter connector_2 is ⁇ the identifier of the expansion connector_2: (1, 0) ⁇ ;
  • the identifier of the expansion connector obtained by the controller through the adapter connector_3 is ⁇ the identifier of the expansion connector_3: (0, 1) ⁇ ;
  • the identifier of the expansion connector obtained by the controller through the adapter connector_4 is ⁇ the identifier of the expansion connector_4: (1, 1) ⁇ .
  • the controller obtains the identifier (0, 0) of adapter connector_1 through adapter connector_1, indicating that adapter connector_1 is connected to expansion connector_1 in docking station_1. That is, the expansion connector identifier obtained by the controller through adapter connector_1 indicates that adapter connector_1 is connected to the expansion connector.
  • the controller transmits the second position identifiers of the expansion connector_1 and the expansion connector_2 to the adapter connector_1 and the adapter connector_2 respectively.
  • the controller determines the current connection relationship of the expansion dock_1 as the expansion dock_1 is connected to the adapter connector_1 and the adapter connector_2, and can further confirm that the expansion connector_1 on the expansion dock_1 is connected to the adapter connector_1, and the expansion connector_2 on the expansion dock_2 is connected to the adapter connector_2.
  • the controller determines the current connection relationship of the expansion dock_2 as the expansion dock_2 is connected to the adapter connector_3 and the adapter connector_4, and can further confirm that the expansion connector_3 on the expansion dock_2 is connected to the adapter connector_3, and the expansion connector_4 on the expansion dock_2 is connected to the adapter connector_4.
  • the controller is also used to output an alarm message when the current connection relationship of the expansion dock is different from the preset connection relationship of the expansion dock, and the alarm message is used to indicate that the current connection relationship of the expansion dock is wrong.
  • the preset connection relationship of the above-mentioned expansion dock can be obtained by the controller locally, or it can be obtained by the controller from other devices or equipment.
  • the specific embodiment of the present application does not limit the specific implementation method of the controller obtaining the preset connection relationship of the expansion dock.
  • the current connection relationship of the expansion dock_1 is as shown in FIG1
  • the current connection relationship of the expansion dock_1 is a single-host mode
  • the current connection relationship of the expansion dock_1 includes: the expansion connector_1 is connected to the adapter connector_1, and the expansion connector_2 is connected to the adapter connector_2.
  • the preset connection relationship of the expansion dock_1 is a multi-host mode, as shown in FIG2, specifically including: the expansion connector_1 is connected to the adapter connector_1, and the expansion connector_2 is connected to the adapter connector_4.
  • the controller Since the expansion connector_2 is connected to the adapter connector_4 in the preset connection relationship of the expansion dock_1, if the expansion connector_2 is connected to the adapter connector_2 in the current connection relationship of the expansion dock_1; then the current connection relationship of the expansion dock_1 is different from the preset connection relationship of the expansion dock_1, at this time, the controller outputs an alarm message, and the content of the alarm message is "The current connection relationship of the expansion dock_1 is wrong, please correct it in time!!!".
  • the embodiment of the present application provides a computing device, in which an adapter connector in the computing device is connected to an expansion connector in an expansion dock, and the multiple adapter connectors are respectively connected to a controller in the computing device; the controller is used to determine the current connection relationship of the expansion dock, and the connection relationship includes: the connection relationship between each expansion connector of the expansion dock and the adapter connector; the controller is also used to output an alarm message indicating that the current connection relationship of the expansion dock is wrong when the current connection relationship of the expansion dock is different from the preset connection relationship of the expansion dock.
  • the above-mentioned controller will compare the current connection relationship of the expansion dock with the preset connection relationship of the expansion dock, and judge the correctness of the current connection relationship of the expansion dock; when the current connection relationship of the expansion dock is wrong, the controller outputs an alarm message so that the user can promptly know the current connection relationship error of the expansion dock, and correct the wrong connection relationship, thereby ensuring the correct connection of the expansion dock, thereby solving the problem that the server cannot normally use the hardware resources to be expanded.
  • the identifier of the above-mentioned expansion connector also includes the type identifier of the target expansion dock where the expansion connector is located.
  • the above-mentioned expansion connector also includes: a third pin; the third pin is configured with the type identifier of the target expansion dock.
  • the types of the above-mentioned docking station include at least: a first type and a second type, wherein the first type of docking station is a docking station for providing a slot for a hard disk, and the second type of docking station is a docking station for providing a slot for a network card.
  • the controller Based on the first pin, the second pin and the third pin on the expansion connector, the controller obtains the identifier of the expansion connector_1 connected thereto through an adapter connector (such as adapter connector_1), wherein the identifier of the expansion connector_1 includes: the first position identifier of the expansion connector_1, the second position identifier and the type identifier of the expansion dock_1 where the expansion connector_1 is located; then, the controller determines the connection relationship between the expansion connector having the same second position identifier and the type identifier of the expansion dock among the obtained multiple expansion connector identifiers and the adapter connector as the connection relationship of the expansion dock_1.
  • an adapter connector such as adapter connector_1
  • FIG1 Exemplarily, the connection relationship between adapter connectors 1 to 4 and the expansion connectors is shown in FIG1 , where adapter connector 1 is connected to expansion connector 1 in expansion dock 1, adapter connector 2 is connected to expansion connector 2 in expansion dock 1, adapter connector 3 is connected to expansion connector 3 in expansion dock 2, and adapter connector 4 is connected to expansion connector 4 in expansion dock 2; wherein, the first position identifier of expansion connector 1 is “0” (i.e., located on the left), and the first position identifier of expansion connector 2 is “1” (i.e., located on the right); if the position identifier of expansion dock 1 is “0”, then the second position identifiers of expansion connector 1 and expansion connector 2 are both “0”; the type identifier of expansion dock 1 is “0”; the type identifier “0” indicates that expansion dock 1 is an expansion dock for providing a slot for a network card; the first position identifier of expansion connector 3 is "0", the first position of the expansion connector_4 is marked as "1"; the position of the
  • the identifier obtained by the controller through the adapter connector_1 is ⁇ the identifier of the expansion connector_1: (0, 0, 0) ⁇ , wherein the first "0" in the identifier of the expansion connector_1 (0, 0, 0) is the first position identifier of the expansion connector_1, the second "0” is the second position identifier of the expansion connector_1, and the third "0” is the type identifier of the expansion dock_1 where the expansion connector_1 is located.
  • the identifier obtained by the controller through the adapter connector_2 is ⁇ the identifier of the expansion connector_2: (1, 0, 0) ⁇ ;
  • the identifier obtained by the controller through the adapter connector_3 is ⁇ the identifier of the expansion connector_3: (0, 1, 1) ⁇ ;
  • the identifier obtained by the controller through the adapter connector_4 is ⁇ the identifier of the expansion connector_4: (1, 1, 1) ⁇ .
  • the controller determines that the current connection relationship of the expansion dock_1 is that the expansion dock_1 is connected to the adapter connector_1 and the adapter connector_2; and it can be further confirmed that the expansion connector_1 on the expansion dock_1 is connected to the adapter connector_1, the expansion connector_2 on the expansion dock_2 is connected to the adapter connector_2, and the type of the expansion dock_1 is a network card.
  • the controller determines that the current connection relationship of the expansion dock_2 is that the expansion dock_2 is connected to the adapter connector_3 and the adapter connector_4, and can further confirm that the expansion connector_3 on the expansion dock_2 is connected to the adapter connector_3, and the expansion connector_4 on the expansion dock_2 is connected to the adapter connector_4.
  • a first pin, a second pin and a third pin are set on each expansion connector, and a first position identifier of the expansion connector is configured on the first pin, and the first position identifier is used to indicate the position information of the expansion connector in the expansion dock (i.e., the target expansion dock) where the expansion connector is located; a second position identifier of the expansion connector is configured on the second pin, and the second position identifier is used to indicate the position information of the target expansion dock in at least two expansion docks in the computing device; the third pin is configured with a type identifier of the target expansion dock, and the first position identifier, the second position identifier and the type identifier of the target expansion dock are used as the identifier of the expansion connector.
  • the controller obtains the identifier of the expansion connector connected to it through each adapter connector, and determines the current connection relationship of the expansion dock according to the identifiers of multiple expansion connectors; when the current connection relationship of the expansion dock is different from the preset connection relationship of the expansion dock, the controller outputs an alarm message, thereby ensuring that the type of the connected expansion dock is correct while ensuring that the expansion dock cable is correctly connected, thereby solving the problem that the server cannot normally use the hardware resource to be expanded.
  • the computing device also includes multiple processors (central processing unit, CPU).
  • the computing device includes 2 CPUs; any one of the 2 CPUs is connected to 2 of the above-mentioned 4 adapter connectors (such as: CPU1 is respectively connected to adapter connector_1 and adapter connector_2, and CPU2 is respectively connected to adapter connector_3 and adapter connector_4); one of the above-mentioned 4 adapter connectors is connected to an expansion connector of the above-mentioned 2 expansion docks (such as: adapter connector_1 is connected to expansion connector_1, adapter connector_2 is connected to expansion connector_2, adapter connector_3 is connected to expansion connector_3, and adapter connector_4 is connected to expansion connector_4).
  • adapter connector_1 is connected to expansion connector_1, adapter connector_2 is connected to expansion connector_2, adapter connector_3 is connected to expansion connector_3, and adapter connector_4 is connected to expansion connector_4.
  • the CPU sends communication resources to the expansion dock connected to the CPU through the adapter connector connected thereto, wherein the communication resources may be bandwidth resources, high-speed signals, etc. for the CPU to communicate with the expansion dock connected to the CPU.
  • CPU1 sends communication resources to expansion dock_1 through adapter connector_1 and adapter connector_2;
  • CPU2 sends communication resources to expansion dock_2 through adapter connector_3 and adapter connector_4.
  • the computing device further includes: a main board and an adapter board, wherein a plurality of processors in the computing device are disposed on the main board, and a plurality of adapter connectors in the computing device are disposed on the adapter board.
  • the controller comprises: a CPLD and a BMC; wherein the CPLD is arranged on an adapter board, the BMC is arranged on a main board, and the BMC is connected to the plurality of adapter connectors via the CPLD.
  • the controller determines that the expansion connector indicated by the identifier of the expansion connector is the expansion connector connected to the adapter connector. Based on this, the controller determines multiple connection relationships between multiple adapter connectors and multiple expansion connectors, and determines all connection relationships of the same expansion dock where the expansion connector is located among the multiple connection relationships as the current connection relationship of the expansion dock.
  • the above-mentioned BMC is used to output alarm information when the current connection relationship of the expansion dock is different from the preset connection relationship of the expansion dock, wherein the alarm information can be the BMC outputting the alarm information in the management interface of the BMC, or the BMC sending the alarm information to other devices, which then output the alarm information.
  • the specific embodiment of the present application does not limit the specific output method of the alarm information.
  • the CPLD is used to determine the current connection relationship of the docking station and send the connection relationship to the BMC;
  • the BMC is used to determine whether the current connection relationship of the docking station is the same as the preset connection relationship of the docking station, and output an alarm message if they are different; see the following embodiment 1 for details, which will not be repeated here.
  • the CPLD is used to determine the current connection relationship of the docking station, and if the current connection relationship of the docking station is different from the preset connection relationship of the docking station, send an alarm indication message to the BMC; the BMC outputs an alarm message in response to the alarm indication message; see the following embodiment 2 for details, which will not be repeated here.
  • each of the above-mentioned CPUs is connected to the above-mentioned adapter connector_1 to adapter connector_4 through a retimer card (not shown in the figure); specifically, CPU1 is connected to retimer_1, and retimer_1 is respectively connected to adapter connector_1 and adapter connector_2; CPU2 is connected to retimer_2, and retimer_2 is respectively connected to adapter connector_3 and adapter connector_4; the retimer card is used to enhance the signal of the CPU sending communication resources to the expansion dock.
  • the controller further includes a storage unit connected to the BMC, which is used to store a preset connection relationship of the expansion dock; that is, the BMC is specifically used to obtain the preset connection relationship of the expansion dock from the storage unit, and output the above-mentioned alarm information when the preset connection relationship of the expansion dock is different from the current connection relationship of the expansion dock.
  • a storage unit connected to the BMC, which is used to store a preset connection relationship of the expansion dock; that is, the BMC is specifically used to obtain the preset connection relationship of the expansion dock from the storage unit, and output the above-mentioned alarm information when the preset connection relationship of the expansion dock is different from the current connection relationship of the expansion dock.
  • the above-mentioned storage unit can be a device with storage function such as a solid-state hard disk, a field replaceable unit (field replace unit, FRU) and a non-volatile memory (non volatile memory express, NVME); the specific embodiment of the present application does not limit the specific form of the above-mentioned storage unit.
  • the controller in the above embodiment includes a storage unit connected to the BMC on the basis of the CPLD and the BMC.
  • the storage unit is used to store the preset connection relationship of the expansion dock. Therefore, before the BMC determines whether the preset connection relationship of the expansion dock is the same as the current connection relationship of the expansion dock, the BMC can obtain the preset connection relationship of the expansion dock from the storage unit; compared with the solution in which the preset connection relationship of the expansion dock is stored in the BMC, the storage space of the BMC is saved.
  • the embodiments of the present application provide two methods for detecting misinsertion of external devices, which are specifically described through schemes 1 and 2.
  • An embodiment of the present application provides a method for detecting misinsertion of an external device.
  • the method is applied to any computing device as shown in FIG. 1 to FIG. 3 , and as shown in FIG. 5 , includes: S110 - S130 .
  • the current connection relationship of the expansion dock includes: the connection relationship between each expansion connector and the adapter connector in the expansion dock.
  • the expansion dock_1 in the computing device includes: an expansion connector_1 and an expansion connector_2; wherein the expansion connector_1 is connected to the adapter connector_1, and the expansion connector_2 is connected to the adapter connector_2.
  • the current connection relationship of the expansion dock_1 includes: the expansion connector_1 is connected to the adapter connector_1, and the expansion connector_2 is connected to the adapter connector_2.
  • S110a - S110b The specific implementation of the above S110, as shown in FIG6 , includes: S110a - S110b.
  • S110a The controller obtains, through each adapter connector, an identifier of an expansion connector connected to each adapter connector.
  • the identifier of the above-mentioned extension connector is used to indicate the extension connector connected to the above-mentioned adapter connector, that is, when the controller obtains the identifier of the extension connector_1 through the adapter connector_1, it indicates that the adapter connector_1 is connected to the extension connector_1; the identifier of the extension connector includes the pin information of the extension connector, and the pin information is used to determine whether the extension connector actually connected to the adapter connector is the preset extension connector, so as to determine whether the cable between the adapter connector and the extension connector is correctly connected.
  • the controller determines that the adapter connector_1 is connected to the wrong extension connector.
  • the above-mentioned controller is respectively connected to multiple adapter connectors in the computing device where the controller is located, wherein the multiple adapter connectors are respectively connected one-to-one with different expansion connectors; based on this, the above-mentioned controller obtains the identification of the expansion connector connected to each adapter connector through multiple adapter connectors.
  • the identifier of the expansion connector obtained by the controller through the adapter connector_1 includes the pin information of the expansion connector_1.
  • the identifier of the expansion connector includes: a first position identifier and a second position identifier of the expansion connector; wherein the first position identifier is used to indicate the position information of the expansion connector in a target expansion dock, and the target expansion dock is the expansion dock where the expansion connector is located; and the second position identifier is used to indicate the position information of the target expansion dock in at least two expansion docks in the computing device.
  • the above-mentioned expansion connector includes: a first pin and a second pin, wherein the first pin is configured with the above-mentioned first position identifier, and the second pin is configured with the above-mentioned second position identifier; the above-mentioned controller obtains the first position identifier from the first pin of the expansion connector through the above-mentioned adapter connector, and obtains the above-mentioned second position identifier from the second pin of the expansion connector, and determines the first position identifier and the second position identifier as the identifiers of the expansion connector.
  • the adapter connector 1 in the computing device shown in FIG. 1 is connected to the expansion connector 1 in the expansion dock 1
  • the adapter connector 2 is connected to the expansion connector 2 in the expansion dock 1
  • the adapter connector 3 is connected to the expansion connector 3 in the expansion dock 2
  • the adapter connector 4 is connected to the expansion connector 4 in the expansion dock 2.
  • the first pin of the expansion connector 1 is configured with a first position mark "0"
  • the second pin of the expansion connector 1 is configured with a second position mark "0”
  • the first pin of the expansion connector 2 is configured with a first position mark "1”
  • the second pin of the expansion connector 2 is configured with a second position mark "0”
  • the first pin of the expansion connector 3 is configured with a first position mark "0”
  • the second pin of the expansion connector 3 is configured with a second position mark "1”
  • the first pin of the expansion connector 4 is configured with a first position mark "1”
  • the second pin of the expansion connector 4 is configured with a second position mark "1”.
  • the identifier obtained by the controller through the adapter connector_1 is ⁇ the identifier of the expansion connector_1: (0, 0) ⁇ , wherein the first "0" in the identifier of the expansion connector_1 (0, 0) represents the first position identifier of the expansion connector_1, and the second "0" represents the second position identifier of the expansion connector_1;
  • the identifier obtained through the adapter connector_2 is ⁇ the identifier of the expansion connector_2: (1, 0) ⁇
  • the identifier obtained through the adapter connector_3 is ⁇ the identifier of the expansion connector_3: (0, 1) ⁇
  • the identifier obtained through the adapter connector_4 is ⁇ the identifier of the expansion connector_4: (1, 1 ⁇ .
  • the controller uses the first position identifier and the second position identifier of the expansion connector as the identifier of the expansion connector, so that the controller can determine the target expansion dock where the expansion connector is located and the position information of the expansion connector in the target expansion dock according to the identifier of the expansion connector; that is, the controller can not only determine the target expansion dock to which the target adapter connector (i.e., the adapter connector connected to the expansion connector) is connected, but also determine which specific expansion connector in the target expansion dock the target adapter connector is connected to, according to the identifier of the expansion connector, thereby improving the accuracy of the controller in determining the expansion connector.
  • the target adapter connector i.e., the adapter connector connected to the expansion connector
  • the identifier of the expansion connector includes not only the first position identifier and the second position identifier of the expansion connector, but also includes: a type identifier of a target expansion dock, wherein the target expansion dock is the expansion dock where the expansion connector is located.
  • the above-mentioned expansion connector includes: on the basis of including: the first pin and the second pin, the above-mentioned expansion connector also includes: a third pin, on which the type identification of the target expansion dock is configured; the above-mentioned controller obtains the type identification of the target expansion dock from the third pin of the above-mentioned expansion connector through the adapter connector, and determines the first position identification, the second position identification and the type identification of the target expansion dock as the identification of the above-mentioned expansion connector.
  • the types of the above-mentioned target expansion docks include: a first type and a second type; wherein the first type of expansion dock is an expansion dock for providing a slot for a hard disk, and the second type of expansion dock is an expansion dock for providing a slot for a network card; or, the first type of expansion dock is a riser card for providing a slot for an OCP network card, and the second type of expansion dock is an NVME backplane for providing a slot for NVME.
  • the first position of the expansion connector is identified as "0"
  • the second position of the expansion connector in the expansion dock is identified as "0"
  • the second position of the expansion connector in the expansion dock is identified as "1”
  • the type of an expansion dock is identified as "0”
  • the type of the expansion dock is identified as "0”
  • the type of an expansion dock is identified as "1”
  • the type of the expansion dock_1 in the computing device shown in FIG. 1 is identified as "0”
  • the type of the expansion dock_2 is identified as "1".
  • the identifier obtained by the controller in the computing device through the adapter connector_1 is ⁇ the identifier of the expansion connector_1: (0, 0, 0) ⁇ , wherein the first "0" in (0, 0, 0) is the first position identifier of the expansion connector_1, the second "0” is the second position identifier of the expansion connector_1, and the third "0” is the type identifier of the expansion dock_1 where the expansion connector_1 is located.
  • the identifier obtained through the adapter connector_2 is ⁇ the identifier of the expansion connector_2: (1, 0, 0) ⁇
  • the identifier obtained through the adapter connector_3 is ⁇ the identifier of the expansion connector_3: (0, 1, 1) ⁇
  • the identifier obtained through the adapter connector_4 is ⁇ the identifier of the expansion connector_4: (1, 1, 1) ⁇ .
  • the first position identifier, the second position identifier and the type identifier of the target expansion dock are used as the identifier of the expansion connector, so that the controller determines the type of the target expansion dock on the basis of determining the position of the expansion connector. Therefore, the controller can not only determine the specific position of the expansion connector but also determine the type of the target expansion dock where the expansion connector is located according to the identifier of the expansion connector, thereby improving the accuracy of the controller in determining the expansion connector.
  • S110b The controller determines a current connection relationship of the expansion dock according to the acquired identifiers of the multiple expansion connectors.
  • the specific implementation of the above S110b includes: the controller determines the connection relationship between all expansion connectors with the same second position identifier among the acquired multiple expansion connector identifiers and the adapter connector as the current connection relationship of the above expansion dock.
  • the current connection relationship of the expansion dock includes the connection relationship between all expansion connectors and adapter connectors on the expansion dock.
  • the multiple expansion connector identifiers acquired by the controller include: ⁇ extension connector_1 identifier: (0, 0) ⁇ , wherein the first “0” in the extension connector_1 identifier (0, 0) represents the first position identifier of the extension connector_1, and the second “0” represents the second position identifier of the extension connector_1; ⁇ extension connector_2 identifier: (1, 0) ⁇ , ⁇ extension connector_3 identifier: (0, 1) ⁇ , and ⁇ extension connector_4 identifier: (1, 1) ⁇ .
  • the controller determines that the current connection relationship of the expansion dock_1 includes: the adapter connector_1 is connected to the expansion connector_1, and the adapter connector_2 is connected to the expansion connector_2. Similarly, the controller determines that the current connection relationship of the expansion dock_2 includes: the adapter connector_3 is connected to the expansion connector_3, and the adapter connector_4 is
  • a specific implementation of S110b includes: the controller determines, as the current connection relationship of the expansion dock, a connection relationship between an expansion connector and an adapter connector having the same second position identifier and the same type identifier of the expansion dock among the identifiers of multiple expansion connectors.
  • the identifiers of the multiple expansion connectors acquired by the controller in the computing device include: ⁇ identifier of expansion connector_1: (0, 0, 0) ⁇ , The first "0" in (0, 0, 0) is the first position identifier of the expansion connector_1, the second "0” is the second position identifier of the expansion connector_1, and the third "0" is the type identifier of the expansion dock_1 where the expansion connector_1 is located; ⁇ identifier of expansion connector_2: (1, 0, 0) ⁇ , ⁇ identifier of expansion connector_3: (0, 1, 1) ⁇ and ⁇ identifier of expansion connector_4: (1, 1, 1) ⁇ .
  • the controller determines that the current connection relationship of the expansion dock_1 includes: the adapter connector_1 is connected to the expansion connector_1, the adapter connector_2 is connected to the expansion connector_2, and the expansion dock_1 type is a network
  • S120 The controller determines whether the current connection relationship of the docking station is the same as the preset connection relationship of the docking station.
  • the preset connection relationship of the above-mentioned expansion dock can be obtained by the controller directly from the local, or obtained by the controller from other devices in the computing device, or obtained by the controller from other devices.
  • the specific embodiment of the present application does not limit the specific method of obtaining the preset connection relationship of the expansion dock.
  • the adapter connector_1 is connected to the extension connector_1, that is, the identifier obtained by the controller through the adapter connector_1 is (0, 0, 0), and the (0, 0, 0) is the identifier of the extension connector_1, wherein the first "0" in (0, 0, 0) is the first position identifier of the extension connector_1, the second "0” is the second position identifier of the extension connector_1, and the third "0” is the type identifier of the expansion dock_1 where the extension connector_1 is located.
  • the controller determines that the current connection relationship of the expansion dock_1 is the same as the preset connection relationship of the expansion dock_1.
  • the expansion connector identifier obtained by the controller through adapter connector_1 is (1, 0, 0). Since the expansion connector identifier (1, 0, 0) currently obtained through adapter connector_1 is different from the expansion connector identifier (0, 0, 0) preset through adapter connector_1, the controller determines that the current connection relationship of the expansion dock_1 is different from the preset connection relationship of the expansion dock_1.
  • the controller determines that the current connection relationship of the expansion dock_1 is different from the preset connection relationship of the expansion dock_1.
  • the controller executes an ending action to end the current method.
  • the controller executes the following S130.
  • the controller outputs an alarm message.
  • the above-mentioned warning information is used to indicate that the current connection relationship of the above-mentioned docking station is wrong.
  • the current connection relationship of the expansion dock 1 is a single-host mode.
  • the current connection relationship of the expansion dock 1 includes: the expansion connector 1 is connected to the adapter connector 1, and the expansion connector 2 is connected to the adapter connector 2; assuming that the preset connection relationship of the expansion dock 1 is a multi-host mode as shown in FIG2 , which specifically includes: the expansion connector 1 is connected to the adapter connector 1, and the expansion connector 2 is connected to the adapter connector 4.
  • the controller since in the preset connection relationship of the expansion dock_1, the expansion connector_2 is connected to the adapter connector_4, and in the current connection relationship of the expansion dock_1, the expansion connector_2 is connected to the adapter connector_2; so the current connection relationship of the expansion dock_1 is different from the preset connection relationship of the expansion dock_1, at this time, the controller outputs an alarm message, and the content of the alarm message is "The current connection relationship of the expansion dock_1 is wrong, please correct it in time!!!".
  • a controller in the method obtains a current connection relationship of an expansion dock, where the connection relationship includes: a connection relationship between an expansion connector and an adapter connector on the expansion dock; then, when the current connection relationship of the expansion dock is different from a preset connection relationship of the expansion dock, the controller outputs an alarm message indicating that the current connection relationship of the expansion dock is wrong, so that a user can be informed of the current connection relationship error of the expansion dock in a timely manner and correct the erroneous connection relationship, thereby ensuring the correct connection of the expansion dock, thereby solving the problem that the server cannot normally use the hardware resources to be expanded.
  • the computing device shown in FIG4 includes: a mainboard and an adapter board, wherein the multiple processors in the computing device are arranged on the mainboard, and the multiple adapter connectors in the computing device are arranged on the adapter board.
  • the controller in the computing device includes: a CPLD and a BMC; wherein the CPLD is arranged on the adapter board, and the BMC is arranged on the mainboard, and the BMC is connected to the multiple adapter connectors through the CPLD.
  • the present application provides a method for detecting misinsertion of an external device, which is applied to a computing device as shown in FIG4 .
  • the method is described below through two embodiments, which are as follows:
  • An embodiment of the present application provides a method for detecting misinsertion of an external device. As shown in FIG. 7 , the method includes: S210 - S240 .
  • the CPLD determines the current connection relationship of the expansion dock.
  • S220 The CPLD sends the current connection relationship of the expansion dock to the BMC.
  • the CPLD is connected to the BMC, so the CPLD in S220 sends the current connection relationship of the expansion dock to the BMC through the connection.
  • S230 The BMC determines whether the current connection relationship of the expansion dock is the same as the preset connection relationship of the expansion dock.
  • the preset connection relationship of the expansion dock may be obtained by the BMC locally, or may be obtained by the BMC from other devices or equipment.
  • the BMC further includes, before executing S230: the BMC obtains the preset connection relationship of the expansion dock from the storage unit.
  • the BMC When the current connection relationship of the docking station is the same as the preset connection relationship of the docking station, the BMC performs an ending action to end the current method.
  • the BMC executes the following S240.
  • the BMC outputs alarm information in response to the alarm indication information.
  • the BMC receives the current connection relationship of the expansion dock sent by the CPLD, and determines whether the current connection relationship of the expansion dock is the same as the preset connection relationship of the expansion dock. When the current connection relationship of the expansion dock is different from the preset connection relationship of the expansion dock, the BMC outputs an alarm message. It can be seen that the above CPLD is only used to obtain the current connection relationship of the expansion dock, while the actions of determining whether the current connection relationship of the expansion dock is the same as the preset connection relationship of the expansion dock and outputting the alarm message are all performed by the BMC, thereby reducing the utilization rate of the processing resources in the CLPD.
  • An embodiment of the present application provides a method for detecting mis-insertion of an external device. As shown in FIG8 , the method includes: S310 - S340 .
  • S320 The CPLD determines whether the current connection relationship of the expansion dock is the same as the preset connection relationship of the expansion dock.
  • the preset connection relationship of the expansion dock may be obtained by the CPLD locally, or may be obtained by the CPLD from other devices or equipment.
  • the process further includes: the BMC obtains the preset connection relationship of the expansion dock from the storage unit, and sends the preset connection relationship of the expansion dock to the CPLD.
  • the CPLD When the current connection relationship of the expansion dock is the same as the preset connection relationship of the expansion dock, the CPLD performs an ending action to end the current method.
  • the CPLD executes the following S330.
  • CPLD sends alarm indication information to BMC.
  • S340 The BMC outputs alarm information in response to the alarm indication information.
  • the CPLD obtains the current connection relationship of the expansion dock, and determines whether the current connection relationship of the expansion dock is the same as the preset connection relationship of the expansion dock. In the case where the current connection relationship of the expansion dock is different from the preset connection relationship of the expansion dock, the CPLD sends an alarm indication information to the BMC, and the BMC outputs an alarm information in response to the alarm indication information. It can be seen that the above BMC is only used to output the alarm information, and does not need to determine whether the current connection relationship of the expansion dock is the same as the preset connection relationship of the expansion dock, thereby reducing the utilization rate of the processing resources in the BMC.
  • the controller includes a hardware structure and/or software module corresponding to the execution of each function.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.
  • the embodiment of the present application can divide the functional modules of the above-mentioned controller according to the above-mentioned method.
  • the controller can include various functional modules corresponding to the various functional divisions, or two or more functions can be integrated into one processing module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical functional division. There may be other division methods in actual implementation.
  • FIG9 shows a schematic diagram of the structure of a controller, which includes: a determination unit 901 and an output unit 902 .
  • the determining unit 901 is used to determine the current connection relationship of the docking station, for example, by executing step S110 in the above method embodiment.
  • the output unit 902 is used for the controller to output warning information when the current connection relationship of the docking station is different from the preset connection relationship of the docking station, for example, to execute step S130 in the above method embodiment.
  • the controller further includes: an acquisition unit 903, wherein the acquisition unit 903 is configured to acquire, through each adapter connector, an identification of an extension connector connected to the adapter connector, for example, executing step S110a in the above method embodiment.
  • the determining unit 901 is specifically configured to determine the current connection relationship of the expansion dock according to the acquired identifiers of the multiple expansion connectors, for example, by executing step S110b in the above method embodiment.
  • the controller further includes a first processing unit 904 and a second processing unit 905; the first processing unit 904 is used to determine the current connection relationship of the docking station and send the current connection relationship of the docking station to the second processing unit 905, for example, executing steps S210-S220 in the above method embodiment.
  • the second processing unit 905 is used to receive the current connection relationship of the docking station, and compare the current connection relationship of the docking station with the preset connection relationship of the docking station. When the relationship is different, an alarm message is output, for example, step S240 in the above method embodiment is executed.
  • the first processing unit 904 is used to determine the current connection relationship of the docking station; when the current connection relationship of the docking station is different from the preset connection relationship of the docking station, send an alarm indication information to the second processing unit 905, for example, execute steps S310-S330 in the above method embodiment.
  • the second processing unit 905 is used to output alarm information in response to the alarm indication information, for example, executing step S340 in the above method embodiment.
  • the acquiring unit 903 is specifically configured to acquire a preset connection relationship of the docking station from a storage unit.
  • Each unit of the above-mentioned controller can also be used to execute other actions in the above-mentioned method embodiment. All relevant contents of each step involved in the above-mentioned method embodiment can be referred to the functional description of the corresponding functional unit and will not be repeated here.
  • An embodiment of the present application further provides a computing device, which is any one of the computing devices shown in FIG. 1 to FIG. 4 above.
  • An embodiment of the present application further provides a computing device cluster, which includes any one of the computing devices shown in FIG. 1 to FIG. 4 above.
  • An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored.
  • the computer program is executed on a computer, the computer is enabled to execute any of the methods executed by the computer devices provided above.
  • the computer program product includes one or more computer instructions.
  • the computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device.
  • the computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
  • the computer instructions can be transmitted from a website site, a computer, a computing device or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, computing device or data center.
  • the computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a computing device, a data center, etc. that includes one or more available media integrated.
  • the available medium can be a magnetic medium (e.g., floppy disks, magnetic disks, tapes), an optical medium (e.g., digital video discs (DVD)), or a semiconductor medium (e.g., solid state drives (SSD)), etc.
  • a magnetic medium e.g., floppy disks, magnetic disks, tapes
  • an optical medium e.g., digital video discs (DVD)
  • DVD digital video discs
  • SSD solid state drives
  • the disclosed systems, devices and methods can be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.
  • Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
  • the technical solution of the present application is essentially or the part that contributes to the prior art or all or 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 to enable a computer device (which can be a personal computer, a computing device, or a network device, etc.) or a processor to perform all or part of the steps of the method described in each embodiment of the present application.
  • the aforementioned storage medium includes: various media that can store program codes, such as flash memory, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Details Of Connecting Devices For Male And Female Coupling (AREA)
  • Debugging And Monitoring (AREA)

Abstract

L'invention concerne un procédé de détection de défaut d'insertion pour un dispositif externe, ainsi qu'un dispositif informatique, ayant trait au domaine technique des serveurs, destinés à assurer la connexion correcte entre une station d'accueil et un dispositif informatique, de sorte que le dispositif informatique puisse utiliser normalement un dispositif matériel à étendre qui est inséré dans la station d'accueil. Le dispositif informatique comprend un contrôleur, une pluralité de connecteurs d'adaptateur et au moins deux stations d'accueil; chaque station d'accueil comprend au moins deux connecteurs d'extension; l'un des connecteurs d'adaptateur est connecté à un connecteur d'extension; la pluralité de connecteurs d'adaptateur sont connectés séparément au contrôleur; et le contrôleur est configuré pour : déterminer la relation de connexion en cours de chaque station d'accueil, la relation de connexion comprenant une relation de connexion entre chaque connecteur d'extension de la station d'accueil et le connecteur d'adaptateur correspondant; et émettre des informations d'alarme lorsque la relation de connexion en cours de la station d'accueil est différente d'une relation de connexion prédéfinie de ladite station, les informations d'alarme servant à indiquer que la relation de connexion en cours de la station d'accueil est incorrecte.
PCT/CN2024/099306 2023-11-15 2024-06-14 Procédé de détection de défaut d'insertion pour dispositif externe, et dispositif informatique Pending WO2025102717A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202311525586.9A CN117648239A (zh) 2023-11-15 2023-11-15 一种外接设备的误插检测方法及计算设备
CN202311525586.9 2023-11-15

Publications (1)

Publication Number Publication Date
WO2025102717A1 true WO2025102717A1 (fr) 2025-05-22

Family

ID=90042542

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2024/099306 Pending WO2025102717A1 (fr) 2023-11-15 2024-06-14 Procédé de détection de défaut d'insertion pour dispositif externe, et dispositif informatique

Country Status (2)

Country Link
CN (1) CN117648239A (fr)
WO (1) WO2025102717A1 (fr)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN120596425A (zh) * 2025-08-08 2025-09-05 苏州元脑智能科技有限公司 服务器主板及链路管理方法
CN121029542A (zh) * 2025-10-28 2025-11-28 苏州元脑智能科技有限公司 线缆连接检测电路和服务器

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117648239A (zh) * 2023-11-15 2024-03-05 超聚变数字技术有限公司 一种外接设备的误插检测方法及计算设备

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104516399A (zh) * 2013-09-26 2015-04-15 联想(北京)有限公司 一种便携式移动设备、主机及扩展坞
US20190303335A1 (en) * 2018-03-28 2019-10-03 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Bmc coupled to an m.2 slot
CN114443552A (zh) * 2021-12-30 2022-05-06 苏州浪潮智能科技有限公司 一种自动检查通信线缆连接关系的系统、方法
CN218547412U (zh) * 2022-07-22 2023-02-28 北京百度网讯科技有限公司 扩展装置及计算机
CN116048889A (zh) * 2022-11-30 2023-05-02 超聚变数字技术有限公司 一种机柜服务器线缆连接的检测方法及相关装置
CN116361088A (zh) * 2023-03-06 2023-06-30 超聚变数字技术有限公司 节点误插检测方法和服务器
CN116820193A (zh) * 2023-05-29 2023-09-29 苏州浪潮智能科技有限公司 线缆连接正确性识别系统、方法、装置、设备和存储介质
CN117648239A (zh) * 2023-11-15 2024-03-05 超聚变数字技术有限公司 一种外接设备的误插检测方法及计算设备

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104516399A (zh) * 2013-09-26 2015-04-15 联想(北京)有限公司 一种便携式移动设备、主机及扩展坞
US20190303335A1 (en) * 2018-03-28 2019-10-03 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Bmc coupled to an m.2 slot
CN114443552A (zh) * 2021-12-30 2022-05-06 苏州浪潮智能科技有限公司 一种自动检查通信线缆连接关系的系统、方法
CN218547412U (zh) * 2022-07-22 2023-02-28 北京百度网讯科技有限公司 扩展装置及计算机
CN116048889A (zh) * 2022-11-30 2023-05-02 超聚变数字技术有限公司 一种机柜服务器线缆连接的检测方法及相关装置
CN116361088A (zh) * 2023-03-06 2023-06-30 超聚变数字技术有限公司 节点误插检测方法和服务器
CN116820193A (zh) * 2023-05-29 2023-09-29 苏州浪潮智能科技有限公司 线缆连接正确性识别系统、方法、装置、设备和存储介质
CN117648239A (zh) * 2023-11-15 2024-03-05 超聚变数字技术有限公司 一种外接设备的误插检测方法及计算设备

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN120596425A (zh) * 2025-08-08 2025-09-05 苏州元脑智能科技有限公司 服务器主板及链路管理方法
CN121029542A (zh) * 2025-10-28 2025-11-28 苏州元脑智能科技有限公司 线缆连接检测电路和服务器

Also Published As

Publication number Publication date
CN117648239A (zh) 2024-03-05

Similar Documents

Publication Publication Date Title
WO2025102717A1 (fr) Procédé de détection de défaut d'insertion pour dispositif externe, et dispositif informatique
CN207529373U (zh) 连接器、NVMe存储设备及计算机设备
US7543191B2 (en) Method and apparatus for isolating bus failure
WO2025123552A1 (fr) Système et procédé de détection de micrologiciel à capacité de reprise après défaillance, support de stockage et serveur
US20060140211A1 (en) Blade server system with a management bus and method for managing the same
US8832501B2 (en) System and method of processing failure
CN117873853B (zh) 数据记录方法、装置、电子设备及介质
US20050223181A1 (en) Integrated circuit capable of copy management
CN118708519B (zh) 服务器拓展模组、服务器、配置方法、设备及介质
CN115509978A (zh) 一种外插设备物理位置确定方法、装置、设备及存储介质
CN115686998A (zh) 一种识别硬盘背板的方法及装置
CN116126613A (zh) 一种PCIe设备的位置检测方法、装置、电子设备及存储介质
CN106484549A (zh) 一种交互方法、NVMe设备、HOST及物理机系统
CN114020670B (zh) 一种pcie卡的管理方法、系统、设备及存储介质
CN116155712A (zh) 一种网卡配置方法、网卡及计算设备
CN117667818B (zh) 信号传输结构、服务器以及信号传输方法
TW200813707A (en) Error management topologies
WO2025077411A1 (fr) Architecture d'extension d'e/s, commutateur d'e/s et dispositif pcie
CN105549696A (zh) 具有机箱管理功能的机架式服务器系统
CN105487609A (zh) 一种服务器
WO2024239573A1 (fr) Procédé de branchement à chaud et système informatique
CN116841927A (zh) 计算设备
CN100498723C (zh) 一种避免总线故障的方法、通信设备及总线监控装置
CN118377738A (zh) 一种服务器系统及内存扩展卡的日志抓取系统
CN108108254A (zh) 交换器错误排除方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 24890086

Country of ref document: EP

Kind code of ref document: A1