Hot plug control system, hot plug control method and computing system
By setting controllers on the adapter board and slave nodes, a hot-swappable control architecture is constructed, which solves the problem of hot-swapping slave nodes of the entire rack server and realizes a replacement process without impact.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-30
- Publication Date
- 2026-04-10
AI Technical Summary
Existing technology cannot achieve hot-swapping of slave nodes of a rack server, which affects the normal operation of other nodes in the rack.
A two-level hot-swappable control architecture is constructed by setting a first controller on the adapter board and a second controller on the slave node. The first controller is connected to the central processing unit, and the second controller is connected to the slave node device to realize the conversion and control of hot-swappable signals.
Without altering the original hardware architecture of the entire rack, hot-swap control of slave nodes is achieved, ensuring the normal operation of other nodes in the rack.
Smart Images

Figure CN121833581A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of computer, and in particular, to a hot plug control system, a hot plug control method and a computing system. BACKGROUND
[0002] A whole-cabinet server is a high-performance computing device installed in a cabinet, mainly used for providing data storage, processing and network communication functions, and widely used in various fields such as cloud computing, big data analysis, network services, etc. The whole-cabinet server is composed of master nodes and slave nodes, in order to ensure the stability and continuity of the whole-cabinet server, the slave node that fails needs to be hot-plugged to replace the slave node without affecting the normal work of other nodes in the whole-cabinet.
[0003] How to realize the hot plug control of the slave node of the whole-cabinet is a technical problem to be solved by those skilled in the art. SUMMARY
[0004] The present application provides a hot plug control system, a hot plug control method and a computing system to at least solve the problem that the slave node of the whole-cabinet cannot be hot-plugged in the related art.
[0005] The present application provides a hot plug control system, comprising: a first controller and a second controller;
[0006] The first controller is arranged on the adapter board, and the first controller is used to connect the central processor of the master node and the first device of the slave node; the second controller is arranged on the slave node;
[0007] The first pin of the first controller is connected with the hot plug control pin of the central processor, the second pin of the first controller is connected with the hot plug signal input device of the slave node, the third pin of the first controller is connected with the control end of the corresponding hot plug indication device of the slave node, the fourth pin of the first controller is connected with the second controller, and the second controller is further connected with the first device of the slave node.
[0008] The present application further provides a hot plug control method applied to the first controller, the first controller is arranged on the adapter board, and the first controller is used to connect the central processor of the master node and the first device of the slave node; the first controller is further connected with the second controller of the slave node;
[0009] The hot plug control method comprises:
[0010] After identifying the input signal of the hot plug signal input device of the slave node, a hot plug request signal of the slave node is sent to the central processor;
[0011] After receiving the hot plug control signal sent by the central processor, the hot plug control signal is forwarded to the second controller to enable the second controller to control the power on and off of the slave node.
[0012] The application also provides a computing system, comprising a host node and a slave node.
[0013] The host node is provided with a central processor and a conversion board, and the conversion board is provided with a first controller, which is used to connect the central processor and the first device of the slave node.
[0014] The slave node is provided with a second controller and the first device.
[0015] The first pin of the first controller is connected with the hot plug control pin of the central processor, the second pin of the first controller is connected with the hot plug signal input device of the slave node, the third pin of the first controller is connected with the control end of the corresponding hot plug indication device of the slave node, the fourth pin of the first controller is connected with the second controller, and the second controller is also connected with the first device of the slave node.
[0016] According to the application, the first pin of the first controller is connected with the hot plug control pin of the central processor, the fourth pin of the first controller is connected with the second controller, and the second controller is connected with the first device of the slave node, so that the hot plug control signal of the central processor is converted into the power on and off control signal of the first device of the slave node, and a bridge is built for the hot plug control of the central processor of the host node on the slave node. In addition, the second pin of the first controller is connected with the hot plug signal input device of the slave node, and the third pin of the first controller is connected with the control end of the corresponding hot plug indication device of the slave node, so that the response to the hot plug request of the slave node and the display of the hot plug state of the slave node are realized, to facilitate the replacement of the slave node by the staff. It can be seen that the hot plug control of the slave node of the whole cabinet is realized without too many changes to the original hardware architecture of the whole cabinet, and the replacement of the slave node in the whole cabinet is facilitated without affecting the normal work of other nodes in the whole cabinet. BRIEF DESCRIPTION OF DRAWINGS
[0017] In order to more clearly illustrate the embodiments of the application, the drawings needed in the embodiments will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the application, and other drawings can be obtained by those skilled in the art without creative labor.
[0018] Figure 1 A structural schematic diagram of a hot plug control system provided by the embodiments of the application is shown in the figure.
[0019] Figure 2 A structural schematic diagram of a mainboard provided for an embodiment of the present application is shown in FIG. 1.
[0020] Figure 3 A structural schematic diagram of a conversion board provided for an embodiment of the present application is shown in FIG. 2.
[0021] Figure 4 A structural schematic diagram of a slave node provided for an embodiment of the present application is shown in FIG. 3.
[0022] In the figures, 100 is a mainboard; 200 is a conversion board, and 201 is a first controller; 300 is a slave node, and 301 is a second controller. DETAILED DESCRIPTION
[0023] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the accompanying drawings. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, any other embodiments obtained by those skilled in the art without creative work fall within the protection scope of the present application.
[0024] It should be noted that, in the description of the present application, the terms "comprise", "contain" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device comprising a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such process, method, article or device. The terms "first", "second" and the like in the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence.
[0025] In order for those skilled in the art to better understand the technical solutions of the present application, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0026] Some key terms used in the embodiments of the present application will be explained first.
[0027] In a whole-cabinet server, a small number of master nodes and a larger number of slave nodes are usually included. When a slave node fails or needs to be replaced with a hardware resource configuration of the whole-cabinet, if hot plugging of the slave node can be realized, the normal work of other nodes in the whole-cabinet will not be affected. Since the slave node is often also an independent system, which may include an accelerator for expanding computing resources, a storage resource for expanding storage resources, or a network card and a switch controller for expanding network communication resources, the hot plugging control of the slave node cannot be performed by using the scheme for hot plugging control of a single card in the related art.
[0028] To achieve hot-swapping control of slave nodes in a server rack, the hot-swapping control system provided in this embodiment of the invention is based on a first controller located on an adapter board and a second controller located on the slave node. The first pin of the first controller is connected to the hot-swapping control pin of the central processing unit (CPU), the fourth pin of the first controller is connected to the second controller, and the second controller is connected to the first device of the slave node. This converts the CPU's hot-swapping control signal into a power-on / off control signal for the first device in the slave node, thus establishing a bridge for the CPU of the host node to control the hot-swapping of the slave node. Furthermore, the second pin of the first controller is connected to the hot-swapping signal input device of the slave node, and the third pin of the first controller is connected to the control terminal of the corresponding hot-swapping indicator device of the slave node. This enables the response to hot-swapping requests from the slave node and the display of the slave node's hot-swapping status, facilitating the replacement of slave nodes by operators. Therefore, this invention achieves hot-swapping control of slave nodes in a server rack without requiring significant modifications to the original hardware architecture of the rack, facilitating the replacement of slave nodes without affecting the normal operation of other nodes in the rack.
[0029] Figure 1 This is a schematic diagram of a hot-swap control system provided in an embodiment of the present invention; Figure 2 This is a schematic diagram of a motherboard structure provided in an embodiment of the present invention; Figure 3 This is a schematic diagram of the structure of an adapter plate provided in an embodiment of the present invention; Figure 4 This is a schematic diagram of a slave node structure provided in an embodiment of the present invention.
[0030] like Figure 1 As shown, the hot-swap control system provided in this embodiment of the invention may include: a first controller 201 and a second controller 301; the first controller 201 is disposed on the adapter board 200, and is used to connect the central processing unit of the host node and the first device of the slave node 300; the second controller 301 is disposed on the slave node 300; the first pin of the first controller 201 is connected to the hot-swap control pin of the central processing unit, the second pin of the first controller 201 is connected to the hot-swap signal input device of the slave node 300, the third pin of the first controller 201 is connected to the control terminal of the corresponding hot-swap indicator device of the slave node 300, the fourth pin of the first controller 201 is connected to the second controller 301, and the second controller 301 is also connected to the first device of the slave node 300 (e.g., Figure 1 The first device 0 to the first device m are connected as shown.
[0031] In the rack, a master node can connect to one or more slave nodes 300. The master node includes a motherboard 100, which houses a central processing unit (CPU). An adapter board 200, typically located within the master node, connects the motherboard 100 and the slave nodes 300. The adapter board 200 includes a controller for signal conversion and expansion between the motherboard 100 and the slave nodes 300. In this embodiment, the first controller 201 can be this adapter board or another controller on the adapter board 200. The first controller 201 can be a complex programmable logic device (CPLD).
[0032] The slave node 300 can be a compute node, storage node, or switching node, etc. The second controller 301 can be the status management controller or power-on / off management controller of the slave node 300, or it can be another controller among the slave nodes 300. The second controller 301 can also be a CPLD.
[0033] There are two main requirements for hot-swapping the slave node 300: first, hot-swapping the slave node 300 should not trigger alarms in the entire rack system and should not affect the normal operation of other nodes in the rack; second, the slave node 300 should be able to start normally, be recognized by the system, and be put into normal operation after hot-swapping. To meet the hot-swapping requirements of the slave node 300, it is necessary to establish a hot-swapping management system for the slave node 300 on the motherboard 100, control the power-on and power-off sequence of the devices on the slave node 300, and coordinate with personnel to connect or disconnect the slave node 300 from the host node.
[0034] In this embodiment of the invention, a two-level hot-swap control architecture is constructed by a first controller 201 and a second controller 301. The first controller 201 is used to build a bridge for hot-swap management between the motherboard 100 and the slave node 300, and the second controller 301 is used to control the power-on and power-off of the devices on the slave node 300 according to the control signal of the first controller 201.
[0035] like Figure 2 As shown, the motherboard 100 is equipped with a second connector (such as...). Figure 2 The second connectors 0 to 11 are shown. The external port of the second connector is called the first port.
[0036] like Figure 3 As shown, the adapter board 200 is provided with a first connector (such as...). Figure 3 The first connectors shown are 0 to n. The first connector can be connected to the second connector via a board connector or a cable.
[0037] If both the first connector and the second connector are high-speed serial computer expansion bus (Peripheral Component Interconnect Express, PCIe) connectors, then the first port is a PCIe port.
[0038] like Figure 3 As shown, the adapter board 200 is also equipped with a slave node connector (such as...). Figure 3 The slave node connectors shown (0 to n) are used to connect slave nodes 0 to n.
[0039] like Figure 4 As shown, a third connector is provided on the slave node 300 for connection to the slave node 300 connector via a cable. The slave node 300 also includes one or more first devices (such as...). Figure 4 The first device shown is from 0 to m. The first device can be a PCIe device.
[0040] When hot-plug control of slave node 300 is required, the operator can input a hot-plug request to the master node through the hot-plug signal input device of slave node 300. The hot-plug signal input device of slave node 300 can be connected to the second pin of the first controller 201 through the third connector of slave node 300 and the slave node 300 connector of adapter board 200.
[0041] To enable the central processing unit on the motherboard 100 to manage the hot-plugging of the slave node 300, the first pin of the first controller 201 is connected to the hot-plugging control pin of the central processing unit, which is used for the first controller 201 to interact with the central processing unit on the hot-plugging information of the slave node 300.
[0042] To enable the first controller 201 to control the hot-plugging of the slave node 300, the fourth pin of the first controller 201 is connected to the second controller 301 of the slave node 300 to send a hot-plugging control signal to the second controller 301 so that the second controller 301 controls the power-on and power-off of the device (first device) on the slave node 300.
[0043] To instruct staff to correctly connect and disconnect the slave node 300 from the master node, the third pin of the first controller 201 is connected to the control terminal of the hot-plug indicator device corresponding to the slave node 300, so as to control the hot-plug indicator device to indicate the hot-plug status of the slave node 300.
[0044] In this embodiment of the invention, the hot-plug indicator can be an indicator light located on the slave node 300, and different display states of the indicator light correspond to different hot-plug states of the slave node 300. Specifically, different hot-plug states of the slave node 300 can be indicated by different colors or flashing states of the indicator light, or multiple indicator lights can be set to execute different hot-plug states of the slave node 300.
[0045] Hot-swap indicators can also be other types of devices, such as buzzers, voice announcers, etc.
[0046] The hot-swap signal input device can be a key circuit, equipped with keys for receiving hot-insert or hot-pull-out commands from the operator.
[0047] The hot-swap control system provided in this embodiment of the invention is based on a first controller 201 located on an adapter board 200 and a second controller 301 located on a slave node 300. The first pin of the first controller 201 is connected to the hot-swap control pin of the central processing unit (CPU), the fourth pin of the first controller 201 is connected to the second controller 301, and the second controller 301 is connected to the first device of the slave node 300. This enables the CPU's hot-swap control signal to be converted into a power-on / off control signal for the first device in the slave node 300, thus establishing a bridge for the CPU of the host node to perform hot-swap control on the slave node 300. In addition, the second pin of the first controller 201 is connected to the hot-swap signal input device of the slave node 300, and the third pin of the first controller 201 is connected to the control terminal of the corresponding hot-swap indicator device of the slave node 300, enabling the response to the hot-swap request of the slave node 300 and the display of the hot-swap status of the slave node 300, so that the operator can replace the slave node 300. As can be seen, the present invention achieves hot-swappable control of the slave node 300 of the entire rack without making too many changes to the original hardware architecture of the rack, which makes it easy to replace the slave node 300 in the rack without affecting the normal operation of other nodes in the rack.
[0048] In this embodiment of the invention, the first pin of the first controller 201 is connected to the hot-plug control pin of the central processing unit, which may include: the fifth pin of the first controller 201 is connected to the hot-plug interrupt signal pin of the central processing unit, and the sixth pin of the first controller 201 is connected to the hot-plug control output pin of the central processing unit.
[0049] The hot-plug interrupt signal pin of the central processing unit is used to respond to the hot-plug request signal of the slave node 300 sent by the first controller 201, and the hot-plug control output pin of the central processing unit is used to perform hot-plug control on the slave node 300.
[0050] In this embodiment of the invention, the hot-plug interrupt signal pin of the central processing unit and the hot-plug control output pin of the central processing unit can be implemented using a set of virtual pin ports (VPPs).
[0051] Since the central processing unit has a limited number of pins, the motherboard 100 may include a first bus expander. Then, multiple sixth pins of the first controller 201 are connected to the second end of the first bus expander, and the first end of the first bus expander is connected to the hot-swap control output pin of the central processing unit.
[0052] like Figure 2 As shown, the first end of the first bus expander is connected to a set of hot-swappable control output pins of the central processing unit 0, and the second end is divided into multiple channels (such as...). Figure 2 As shown, C0, C1, and C2) connect to multiple sets of second connectors (such as... Figure 2 The second connectors shown are 0 to 11. Different second connectors correspond to different first ports, and different second connectors have address identifiers.
[0053] The first bus expander can be used to expand a set of hot-plug control output pins of the central processing unit 0 into multiple hot-plug control output signals (such as...). Figure 2 The VPP0, VPP1, and VPP2 shown are output through multiple second connectors. The first bus expander can be an integrated circuit bus switch (I2C switch). The hot-plug control output signal of the central processing unit is switched through the I2C switch and connected to different second connectors of the motherboard 100. Each second connector has a set of hot-plug control output signals, which may include a hot-plug data signal (VPP_DATA) and a hot-plug clock signal (VPP_CLK).
[0054] The hot-plug interrupt signal pin of the central processing unit can be referred to as the VPP_ALERT pin.
[0055] In this embodiment of the invention, the fifth pin of the first controller 201 can be connected to the hot-swap interrupt signal pin of the central processing unit via a sideband connector, and can be connected via, for example... Figure 3 The first sideband connector on the adapter board 200 shown and as Figure 2 The second sideband connector on the motherboard 100 shown is used to transmit the hot-plug interrupt signal (VPP_ALERT).
[0056] In this embodiment of the invention, the first controller may include multiple first signal extenders, each first signal extender corresponding to a set of sixth pins. Each first signal extender corresponds one-to-one with a first connector, which is used to connect to the first device of the slave node 300. The set of sixth pins includes a hot-swappable data signal pin and a hot-swappable clock signal pin. That is, the first signal extender can be implemented using the hardware circuitry of the first controller 201 to transmit power-on / off control signals, slave node indicator lights, slave node presence signals, and slave node hot-swappable button signals between the central processing unit and the slave node 300. The first signal extender may be a PCA9555.
[0057] Because the first signal extender uses hardware, its address can only be configured through hardware pull-up / pull-down circuits and cannot be changed after configuration, which limits the wiring methods between the master node and slave node 300.
[0058] In some alternative embodiments of the present invention, the first controller 201 may also transmit hot-plug signals between the central processing unit and the slave node 300 by simulating a first signal extender; one first signal extender corresponds to a set of sixth pins, and multiple signal extension addresses of the first signal extender correspond one-to-one with the first connector, which is used to connect the first device; the set of sixth pins includes a hot-plug data signal pin and a hot-plug clock signal pin. The first controller 201 and the central processing unit can then follow the communication rules of the first signal extender (such as PCA9555) to transmit power-on / off control signals, slave node indicator lights, slave node presence signals, and slave node hot-plug button signals.
[0059] Based on this, the operating system (OS) receives the slave node presence signal and the slave node hot-plug button signal through the hot-plug interrupt signal pin, and determines the PCIe port to be hot-maintained through the hot-plug control output pin.
[0060] The operating system outputs power-on / off control signals and lamp-on signals to the slave node through the hot-swap control output pin. After parsing the hot-swap control signals, the first controller 201 uses the second controller 301 to control the slave node 300 to start the power-on / off process and to control the hot-swap indicator device of the slave node 300 to indicate the hot-swap process.
[0061] In the host node, the first port of the second connector and the hot-plug control output signal of the central processing unit, the address identifier of the first port, and the address identifier of the central processing unit can have a one-to-one correspondence, and are stored in the first controller 201 in the form of a table. Table 1 is an address identifier table maintained in the first controller 201.
[0062] Table 1
[0063]
[0064] CPU 0 corresponds to 12 first ports (CPU0 PCIe port 0 to CPU1 PCIe port 11), whose addresses are shown in Table 1 (PCIe port addresses). The addresses of its corresponding first bus expanders are shown in Table 1 (PCA9555 addresses). CPU 1 corresponds to 12 first ports (CPU0 PCIe port 1 to CPU1 PCIe port 11), whose addresses are shown in Table 1 (PCIe port addresses). The addresses of its corresponding first bus expanders are shown in Table 1 (PCA9555 addresses).
[0065] like Figure 3 As shown, the first signal extender 0 in the first controller 201 is used to interact with the first connector 0 to receive the address identifier of the central processing unit 0 / the address identifier of the first port 0 (CPU_ADDR_0 / VPP_0_ADDR[3:0]), the hot-plug data signal 0 / hot-plug clock signal 0 (VPP_DATA / CLK_0), and to interact with the slave node connector 0 to receive the power-on / off control signal of the slave node 0, the LED signal of the slave node 0, the presence signal of the slave node 0, and the hot-plug button signal of the slave node 0. Furthermore, the high-speed signal 0 (PCIe_x16_0) of the slave node connector 0 is connected to the motherboard 100 through the first connector 0. The first signal extender n in the first controller 201 is used to interact with the first connector n to receive the address identifier of the central processing unit n / the address identifier of the first port n (CPU_ADDR_n / VPP_n_ADDR[3:n]), the hot-plug data signal n / the hot-plug clock signal n (VPP_DATA / CLK_n), and to interact with the slave node connector n to receive the power-on / off control signal of the slave node n, the LED signal of the slave node n, the presence signal of the slave node n, and the hot-plug button signal of the slave node n. In addition, the high-speed signal n (PCIe_x16_n) of the slave node connector n is connected to the motherboard 100 through the first connector n.
[0066] In addition, slave node 0 sends a power-on completion signal (Power Good 0) to the first controller 201 via slave node connector 0. Slave node n sends a power-on completion signal (Power Good n) to the first controller 201 via slave node connector n. The first controller 201 is also connected to the hot-swap interrupt signal pins of the central processing unit 0 and the central processing unit 1 on the motherboard 100 via the second sideband connector.
[0067] In practical applications, the hot-plug interrupt signal is sent from the first controller 201 to the central processing unit. When the first controller 201 receives the hot-plug request from the slave node 300, it first looks up the address identifier of the central processing unit and the address identifier of the first port corresponding to the slave node 300, and then uses the corresponding hot-plug interrupt signal of the central processing unit to trigger the hot-plug process. Subsequently, the first controller 201 uses the corresponding hot-plug control output signal to communicate with the central processing unit to complete the hot-plug maintenance.
[0068] For the hot-insertion control of the slave node 300, the first controller 201 can send a hot-insertion request signal of the slave node 300 to the central processing unit through the fifth pin after recognizing the first input signal of the hot-insertion signal input device of the slave node 300, and after receiving the hot-insertion control signal sent by the central processing unit through the sixth pin, forward the hot-insertion control signal to the second controller 301 so that the second controller 301 controls the slave node 300 to power on.
[0069] Specifically, in the hot-plug process of slave node 300, after slave node 300 is inserted into the rack via cable, the first controller 201 recognizes that slave node 300 is in place and that the power-on completion signal Power Good=0, and controls the hot-plug indicator device to display the status (e.g., an orange light). After recognizing the corresponding hot-plug button signal on the hot-plug signal input device, the first controller 201 determines that the hot-plug process is in progress based on the slave node 300's Power Good=0. The first controller 201 notifies the operating system to query and initiate the hot-plug process via the hot-plug interrupt signal (VPP_ALERT) pin. The central processing unit running the operating system sends the corresponding slave node power-on control signal and light-on signal via the hot-plug control output pin. The first controller 201 parses the hot-plug control signal, sends an light-on signal to slave node 300, causing the indicator light on slave node 300 to flash orange, and simultaneously sends the slave node power-on control signal. After receiving the slave node power-on control signal from the first controller 201, the second controller 301 of the slave node 300 controls the slave node 300 to power on according to the timing requirements, and de-resets the first device. The operating system reloads the drivers for each first device. After the slave node 300 has finished powering on, it sends a power-on completion signal "Power Good=1" to the first controller 201. The first controller 201 then controls the indicator light on the slave node 300 to turn green, indicating that the hot-insertion process is complete.
[0070] For the hot-plug control of the slave node 300, the first controller 201 can be used to send a hot-plug request signal of the slave node 300 to the central processing unit through the fifth pin after recognizing the second input signal of the hot-plug signal input device of the slave node 300, and after receiving the hot-plug control signal sent by the central processing unit through the sixth pin, forward the hot-plug control signal to the second controller 301 so that the second controller 301 controls the slave node 300 to power down, and after the slave node is powered down, controls the hot-plug indicator device corresponding to the slave node 300 to display the signal that the slave node is powered down.
[0071] Specifically, after the slave node 300 is successfully powered on and initialized, the first controller 201 detects the slave node presence signal and the power-on completion signal PowerGood=1 of the slave node 300. The first controller 201 controls the indicator light on the slave node 300 to turn green, indicating that the slave node 300 is in normal working condition. After detecting the corresponding hot-plug button signal of the hot-plug signal input device of the slave node 300, the first controller 201 determines that a hot-plug process is initiated based on the power-on completion signal PowerGood=1 of the slave node 300. The first controller 201 notifies the operating system to query and initiate the hot-plug process through the hot-plug interrupt signal (VPP_ALERT) pin. The central processing unit runs the operating system to unload the first device of the slave node 300 and sends a slave node power-off control signal and an indicator light signal through the hot-plug control output pin of the central processing unit. The first controller 201 parses the hot-plug control signal and sends an indicator light signal to the slave node 300, causing the indicator light on the slave node 300 to flash orange. Simultaneously, the first controller 201 sends a slave node power-down control signal to the second controller 301. Upon receiving the slave node power-down control signal from the first controller 201, the second controller 301 triggers the first device to enter a reset state and controls the slave node 300 to power down according to the timing requirements. After power-down, it sends a power-on preparation complete signal (Power Good=0) from the slave node 300 to the first controller 201. Upon recognizing the power-on preparation complete signal (Power Good=0) from the slave node 300, the first controller 201 sends an indicator light signal, causing the indicator light on the slave node 300 to turn orange, indicating to the operator that the slave node 300 can be removed.
[0072] This invention also provides a computing system, which may include: a host node and a slave node; the host node is provided with a central processing unit and an adapter board, the adapter board is provided with a first controller, the first controller is used to connect the central processing unit and a first device of the slave node; the slave node is provided with a second controller and a first device; a first pin of the first controller is connected to a hot-plug control pin of the central processing unit, a second pin of the first controller is connected to a hot-plug signal input device of the slave node, a third pin of the first controller is connected to the control terminal of a corresponding hot-plug indicator device of the slave node, a fourth pin of the first controller is connected to the second controller, and the second controller is also connected to the first device of the slave node.
[0073] For a description of the features in the embodiment corresponding to the computing system, please refer to the relevant description in the embodiment corresponding to the hot-swap control system, which will not be repeated here.
[0074] This invention also provides a hot-plug control method applied to a first controller, which is located on an adapter board and connects the central processing unit of a host node and a first device of a slave node; the first controller is also connected to a second controller of the slave node. The hot-plug control method provided by this invention may include: after recognizing an input signal from a hot-plug signal input device of the slave node, sending a hot-plug request signal from the slave node to the central processing unit; and after receiving a hot-plug control signal from the central processing unit, forwarding the hot-plug control signal to the second controller so that the second controller controls the power-on and power-off of the slave node.
[0075] For a description of the features in the embodiment corresponding to the hot-swap control method, please refer to the relevant description of the embodiment corresponding to the hot-swap control system, which will not be repeated here.
[0076] Embodiments of the present invention also provide a hot-swap control device applied to a first controller. The first controller is disposed on an adapter board and is used to connect the central processing unit of the host node and a first device of the slave node; the first controller is also connected to a second controller of the slave node. The hot-swap control device provided in the embodiments of the present invention may include: an identification module, used to send a hot-swap request signal of the slave node to the central processing unit after identifying the input signal of the hot-swap signal input device of the slave node; and a control module, used to forward the hot-swap control signal to the second controller after receiving the hot-swap control signal sent by the central processing unit, so that the second controller controls the power-on and power-off of the slave node.
[0077] For a description of the features in the embodiment corresponding to the hot-swap control method, please refer to the relevant description of the embodiment corresponding to the hot-swap control system, which will not be repeated here.
[0078] Embodiments of the present invention also provide an electronic device, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the steps in any of the above embodiments of the hot-plug control method.
[0079] Embodiments of the present invention also provide a computer-readable storage medium storing a computer program, wherein the computer program is configured to execute the steps in any of the above-described hot-plug control method embodiments when it is run.
[0080] In one exemplary embodiment, the aforementioned computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard disk, magnetic disk, or optical disk.
[0081] Embodiments of the present invention also provide a computer program product, which includes a computer program that, when executed by a processor, implements the steps in any of the above-described hot-plug control method embodiments.
[0082] Embodiments of the present invention also provide another computer program product, including a non-volatile computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps in any of the above-described hot-plug control method embodiments.
[0083] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.
[0084] The hot-swap control system, hot-swap control method, and computing system provided by this invention have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this invention. The descriptions of the embodiments above are only for the purpose of helping to understand the method and core ideas of this invention. It should be noted that those skilled in the art can make various improvements and modifications to this invention without departing from the principles of this invention, and these improvements and modifications also fall within the protection scope of the claims of this invention.
Claims
1. A hot-swap control system, characterized in that, include: First controller and second controller; The first controller is located on the adapter board and is used to connect the central processing unit of the host node and the first device of the slave node. The second controller is located at the slave node; The first pin of the first controller is connected to the hot-plug control pin of the central processing unit, the second pin of the first controller is connected to the hot-plug signal input device of the slave node, the third pin of the first controller is connected to the control terminal of the hot-plug indicator device corresponding to the slave node, the fourth pin of the first controller is connected to the second controller, and the second controller is also connected to the first device of the slave node.
2. The hot-swap control system according to claim 1, characterized in that, The first pin of the first controller is connected to the hot-swap control pin of the central processing unit, including: The fifth pin of the first controller is connected to the hot-plug interrupt signal pin of the central processing unit, and the sixth pin of the first controller is connected to the hot-plug control output pin of the central processing unit.
3. The hot-swap control system according to claim 2, characterized in that, The plurality of sixth pins of the first controller are connected to the second end of the first bus expander, and the first end of the first bus expander is connected to the hot-swap control output pin of the central processing unit.
4. The hot-swap control system according to claim 3, characterized in that, The first controller is used to simulate a first signal extender to transmit hot-plug signals between the central processing unit and the slave node; One of the first signal extenders corresponds to a set of the sixth pins, and the multiple signal extension addresses of the first signal extender correspond one-to-one with the first connector, which is used to connect the first device. The sixth pin group includes a hot-swappable data signal pin and a hot-swappable clock signal pin.
5. The hot-swap control system according to claim 2, characterized in that, The fifth pin of the first controller is connected to the hot-swap interrupt signal pin of the central processing unit via a sideband connector.
6. The hot-swap control system according to claim 2, characterized in that, The first controller is configured to send a hot-plug request signal of the slave node to the central processing unit via the fifth pin after recognizing the first input signal of the hot-plug signal input device of the slave node, and after receiving the hot-plug control signal sent by the central processing unit from the sixth pin, forward the hot-plug control signal to the second controller so that the second controller controls the slave node to power on.
7. The hot-swap control system according to claim 2, characterized in that, The first controller is configured to send a hot-plug request signal of the slave node to the central processing unit via the fifth pin after recognizing the second input signal of the hot-plug signal input device of the slave node, and after receiving the hot-plug control signal sent by the central processing unit via the sixth pin, forward the hot-plug control signal to the second controller so that the second controller controls the slave node to power down, and after the slave node is powered down, controls the hot-plug indicator device corresponding to the slave node to display the signal that the slave node is powered down.
8. The hot-swap control system according to claim 1, characterized in that, The hot-plug indicator is an indicator light located on the slave node, and different display states of the indicator light correspond to different hot-plug states of the slave node.
9. A hot-swap control method, characterized in that, It is applied to a first controller, which is located on an adapter board and is used to connect the central processing unit of the host node and the first device of the slave node; The first controller is also connected to the second controller of the slave node; Hot-swap control methods include: After recognizing the input signal of the hot-plug signal input device of the slave node, the hot-plug request signal of the slave node is sent to the central processing unit. After receiving the hot-plug control signal sent by the central processing unit, the hot-plug control signal is forwarded to the second controller so that the second controller controls the power-on and power-off of the slave node.
10. A computing system, characterized in that, include: Master node and slave node; The host node is provided with a central processing unit and an adapter board. The adapter board is provided with a first controller, which is used to connect the central processing unit and a first device of the slave node. The slave node is equipped with a second controller and a first device; The first pin of the first controller is connected to the hot-plug control pin of the central processing unit, the second pin of the first controller is connected to the hot-plug signal input device of the slave node, the third pin of the first controller is connected to the control terminal of the hot-plug indicator device corresponding to the slave node, the fourth pin of the first controller is connected to the second controller, and the second controller is also connected to the first device of the slave node.