An adapter card and a server

By designing an adapter card including slots, controllers and signal converters in the server, the problem that the adapter card in the prior art does not support hot swap is solved, and the board is stable hot swap is realized, and the operating costs are reduced.

CN115422109BActive Publication Date: 2025-06-27INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211156925.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-22
Publication Date
2025-06-27
Estimated Expiration
2042-09-22

AI Technical Summary

Technical Problem

The existing hot-swap technology does not support hot-swap of forwarding cards in servers, and the method of using CPLD requires software development and increased capital investment, which increases operating costs.

Method used

An adapter card is designed, including a slot, a controller and a signal converter. The signal is sent to the CPU through the signal converter. The CPU generates a control signal to control the slot to power on or off, realizing the hot plug and unplug of the board.

Benefits of technology

There is no need for CPLD intervention, which avoids the problems of software development and over-resources, reduces operating costs, and realizes stable hot plugging of boards and cards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115422109B_ABST
    Figure CN115422109B_ABST
Patent Text Reader

Abstract

The present invention discloses an adapter card and a server, which are applied to the field of servers, and include a slot, a controller and a signal converter; when the board is inserted and removed, the signal converter will send a first signal to the CPU on the main board of the server, and after receiving the first signal, the CPU will determine whether to power on or off the board through the signal converter and generate a control signal to send to the signal converter, and the signal converter forwards the control signal to the controller so that the controller controls the slot to power on or off according to the control signal, realizing hot plugging and unplugging of the board. During use, there is no need for a CPLD to intervene and no software development is required, reducing operating costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of servers, and particularly to an adapter card and a server. Background Art

[0002] In recent years, with the development of new technologies such as cloud computing, big data, and artificial intelligence, the computing power demand for server systems has been increasing, and it is hoped that the server has a relatively stable and uninterrupted computing power output. Hot-plug, also known as hot swap technology, allows a board to be inserted or removed without disconnecting the system's AC power supply, enabling the server system to operate in an uninterrupted state and improving the reliability of the server system. However, existing hot-plug technologies are all based on the design of system boards, and only PCI-E boards can be directly inserted into the slots on the motherboard. Adapter cards commonly used on servers do not support hot plug. At the same time, the currently disclosed hot-plug control technology uses a method of monitoring with a hot-plug control chip and a CPLD. The control chip can control the power-on and power-off of the slot, and the CPLD is mainly used to monitor the data changes during the hot-plug process. However, using the CPLD method involves software development by software personnel, which brings development difficulties. On the other hand, the CPLD resources are excessive, increasing the project's capital investment and maintenance costs. Summary of the Invention

[0003] The object of the present invention is to provide an adapter card and a server that achieve hot plug of the board. During use, there is no need for CPLD intervention and software development, reducing operating costs.

[0004] To solve the above technical problems, the present invention provides an adapter card, including a slot, a controller, and a signal converter;

[0005] The signal converter is respectively connected to the slot, the controller, and the CPU on the motherboard of the server;

[0006] The signal converter is used to send a first signal to the CPU when the board is inserted into the slot and when the board is removed from the slot;

[0007] The CPU is used to determine to power on or power off the board when receiving the first signal and generate a control signal to send to the signal converter;

[0008] The controller is used to control the power on or power off of the slot according to the control signal sent by the signal converter.

[0009] Preferably, it further includes a first power supply and a first resistor;

[0010] The first end of the first resistor is connected to the first power supply, and the second end of the first resistor is respectively connected to the first port of the signal converter and the slot;

[0011] The signal converter is specifically configured to send a first signal to the CPU when the board is inserted into the slot and when the board is pulled out of the slot;

[0012] The CPU is further configured to determine the in-position state of the board according to the first port of the signal converter, and the in-position state includes in-position and not in-position.

[0013] Preferably, it further includes a connector, a second power supply, a second resistor, and a third resistor;

[0014] The first end of the connector is connected to the first end of the second resistor, and the common connection end is connected to the second port of the signal converter. The second end of the second resistor is connected to the second power supply. The second end of the connector is connected to the first end of the third resistor, and the second end of the third resistor is grounded;

[0015] The connector is configured to connect the first end and the second end when the board is inserted, and the connector is configured to disconnect the first end and the second end when the board is pulled out;

[0016] The signal converter is further configured to send a first signal to the CPU when the first end and the second end of the connector are connected and when the first end and the second end of the connector are disconnected;

[0017] The CPU is further configured to determine whether the board is successfully connected according to the second port.

[0018] Preferably, it further includes a third power supply and a first controllable switch;

[0019] The first end of the first controllable switch is connected to the third power supply, the second end of the first controllable switch is connected to the first power input end of the slot, the control end of the first controllable switch is connected to the first output end of the controller, and the first input end of the controller is connected to the first end of the connector;

[0020] The controller is configured to control the first controllable switch to conduct when the first end and the second end of the connector are connected, and control the first controllable switch to turn off when the first end and the second end of the connector are disconnected.

[0021] Preferably, it further includes a filter;

[0022] The first end of the filter is connected to the first end of the connector, and the second end of the filter is connected to the second port of the signal converter;

[0023] The filter is used to filter the signal output from the first end of the connector.

[0024] Preferably, it further includes a button, a fourth power supply and a fourth resistor;

[0025] The first end of the button is grounded, the second end of the button is respectively connected to the first end of the fourth resistor and the second input end of the controller, the second end of the fourth resistor is connected to the fourth power supply, the second input end of the controller is connected to the second output end, and the second output end of the controller is connected to the third port of the signal converter;

[0026] The signal converter is further configured to send a first signal to the CPU when the button is pressed;

[0027] The CPU is further configured to determine whether to supply power to the slot according to the third port of the signal converter.

[0028] Preferably, it further includes a fifth power supply, a sixth power supply, a second controllable switch and a third controllable switch;

[0029] The first end of the second controllable switch is connected to the fifth power supply, the second end of the second controllable switch is connected to the second power input end of the slot, the first end of the third controllable switch is connected to the sixth power supply, the second end of the third controllable switch is connected to the third power input end of the slot, and the control ends of the second controllable switch and the third controllable switch are both connected to the controller;

[0030] The CPU is specifically configured to send a power-on control signal to the controller when the board is in place, the board is successfully connected and the button is pressed; and send a power-off control signal to the signal converter when the board is not in place, the board is not successfully connected and the button is pressed;

[0031] The controller is specifically configured to control the second controllable switch and the third controllable switch to conduct when receiving the power-on control signal sent from the fourth port of the signal converter; and control the second controllable switch and the third controllable switch to turn off when receiving the power-off control signal.

[0032] Preferably, it further includes a seventh power supply, a first indicator light, a second indicator light, a fifth resistor and a sixth resistor;

[0033] The seventh power supply is respectively connected to the first ends of the first indicating lamp and the second indicating lamp. The second end of the first indicating lamp is connected to the first end of the fifth resistor. The second end of the second indicating lamp is connected to the first end of the sixth resistor. The second end of the fifth resistor is connected to the fifth port of the signal converter. The second end of the sixth resistor is connected to the sixth port of the signal converter;

[0034] The CPU is further configured to control the first indicating lamp to perform a first indication and control the second indicating lamp to perform a second indication through the fifth port and the sixth port of the signal converter when both the second controllable switch and the third controllable switch are turned on; control the first indicating lamp to perform a third indication and control the second indicating lamp to perform a fourth indication when both the second controllable switch and the third controllable switch are turned off.

[0035] Preferably, both the first indicating lamp and the second indicating lamp are light-emitting diodes.

[0036] To solve the above technical problems, the present invention further provides a server including the above-mentioned adapter card.

[0037] The present application provides an adapter card and a server, which are applied to the field of servers and include a slot, a controller and a signal converter; when a board is inserted and removed, the signal converter will send a first signal to the CPU on the main board of the server. After receiving the first signal, the CPU will determine whether to power on or off the board through the signal converter and generate a control signal to send to the signal converter. The signal converter forwards the control signal to the controller so that the controller can control the slot to power on or off according to the control signal, realizing hot plugging of the board. During use, there is no need for a CPLD to intervene and no software development is required, reducing operating costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the prior art and the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0039] Figure 1 FIG. is a schematic structural diagram of an adapter card provided by the present invention;

[0040] Figure 2 FIG. is a schematic structural diagram of another adapter card provided by the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0041] The core of the present invention is to provide an adapter card and a server, which realize the hot pluggability of the board card. During use, there is no need for a CPLD to intervene and no software development is required, reducing the operating cost.

[0042] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0043] Figure 1 The following is a schematic structural diagram of an adapter card provided by the present invention. The adapter card includes a slot 1, a controller 2, and a signal converter 3;

[0044] The signal converter 3 is respectively connected to the slot 1, the controller 2, and the CPU on the main board of the server;

[0045] The signal converter 3 is used to send a first signal to the CPU when the board card is inserted into the slot 1 and when the board card is pulled out of the slot 1;

[0046] The CPU is used to determine to power on or power off the board card when receiving the first signal, and generate a control signal to send to the signal converter 3;

[0047] The controller 2 is used to control the power on or power off of the slot 1 according to the control signal sent by the signal converter 3.

[0048] Considering that the currently disclosed hot pluggability control technology uses the method of hot pluggability control chip and CPLD monitoring. Among them, the control chip can control the power on and power off of the slot 1, and the CPLD is mainly used to monitor the data changes during the hot pluggability process. However, using the CPLD method will, on the one hand, involve the development of software personnel, bringing development difficulties; on the other hand, the CPLD resources are excessive, which will increase the capital investment of the project and increase the maintenance cost.

[0049] The main board on the server is provided with a CPU and a connector. The adapter card is provided with a gold finger, a slot 1, a controller 2, and a signal converter 3. The gold finger is connected to the connector, the gold finger is connected to the signal converter 3, the signal converter 3 is connected to the controller 2, the controller 2 is connected to the slot 1, and the board card is plugged into the slot 1.

[0050] The signal converter 3 is used to detect slot 1. When a board is inserted into or removed from slot 1, the signal converter 3 will send a first signal to prompt the CPU that there is a change in the position of the board on slot 1. After receiving the first signal, the CPU will determine whether the board is inserted into or removed from slot 1, and then determine whether to power on or off the board, and then generate a corresponding control signal and send it to the signal converter 3. The signal converter 3 forwards the control signal to the controller 2, and the controller 2 then powers on or off slot 1. This method realizes the hot pluggability of the board.

[0051] This application provides an adapter card, which is applied to the server field, and includes slot 1, controller 2 and signal converter 3. When the board is inserted and removed, the signal converter 3 will send a first signal to the CPU on the main board of the server. After receiving the first signal, the CPU will determine whether to power on or off the board through the signal converter 3, and generate a control signal and send it to the signal converter 3. The signal converter 3 forwards the control signal to the controller 2 so that the controller 2 can control slot 1 to power on or off according to the control signal, realizing the hot pluggability of the board. During the use process, there is no need for CPLD intervention and no software development is required, reducing the operating cost.

[0052] Based on the above embodiments:

[0053] Figure 2 This is a schematic structural diagram of another adapter card provided by the present invention.

[0054] As a preferred embodiment, it further includes a first power supply P1 and a first resistor R1;

[0055] The first end of the first resistor R1 is connected to the first power supply P1, and the second end of the first resistor R1 is respectively connected to the first port of the signal converter 3 and slot 1;

[0056] The signal converter 3 is specifically used to send a first signal to the CPU when the board is inserted into slot 1 and when the board is removed from slot 1;

[0057] The CPU is further used to determine the in-position state of the board according to the first port of the signal converter 3, and the in-position state includes in-position and not in-position.

[0058] It should be noted that the signal converter 3 is a PCA9555 IO expansion chip. When the data on the signal converter 3 changes, such as the change of high and low levels, the alarm signal ALERT of the signal converter 3 always sends a negative pulse signal to the CPU, and this negative pulse signal is the first signal. The alarm signal is default high level. The CPU and the signal converter 3 are transmitted through the I2C bus, and the signal converter 3 converts the I2C signal into an IO output mode. The first port of the signal converter 3 is the PRSNT_N port, the second port is the MRL_N port, the third port is the BUTTON_N port, the fourth port is the PWREN_N port, the fifth port is the PWRLED port, and the sixth port is the ATNLED port.

[0059] Due to the setting of the first power supply P1 and the first resistor R1, when there is no board inserted into slot 1, the presence signal PRSNT_N is in a high level state, and when there is a board inserted into slot 1, the presence signal PRSNT_N is in a low level state. The first port of the signal converter 3 accesses the presence signal. Therefore, when the board is inserted into or removed from slot 1, the level of the first port will change from high to low or from low to high. At this time, the alarm signal will send a negative pulse signal to the CPU, and at this time, the CPU will determine the level state of the first port, and then determine whether the board is present, and record the current state into the register.

[0060] By setting the first power supply P1 and the pull-up resistor the first resistor R1, the detection of the board presence state is realized.

[0061] As a preferred embodiment, it further includes a connector J1, a second power supply P2, a second resistor R2 and a third resistor R3;

[0062] The first end of the connector J1 is connected to the first end of the second resistor R2, and the common connection end is connected to the second port of the signal converter 3. The second end of the second resistor R2 is connected to the second power supply P2. The second end of the connector J1 is connected to the first end of the third resistor R3, and the second end of the third resistor R3 is grounded;

[0063] The connector J1 is used to connect the first end and the second end when the board is inserted, and the connector J1 is used to disconnect the first end and the second end when the board is removed;

[0064] The signal converter 3 is also used to send the first signal to the CPU when the first end and the second end of the connector J1 are connected and when the first end and the second end of the connector J1 are disconnected;

[0065] The CPU is also used to determine whether the board is successfully connected according to the second port.

[0066] The first end and the second end of the connector J1 are connected when the board is inserted to determine that the board is successfully connected, and the first end and the second end of the connector J1 are disconnected when the board is removed. By setting the second power supply P2 and the second resistor R2, the MRL is at a low level when the first end and the second end of the connector J1 are connected, and at a high level when they are disconnected. When the high and low levels change, the signal converter 3 sends a first signal to the CPU, and at this time the CPU determines the level states of the first port and the second port. If both the first port and the second port are at a low level, it proves that the board is inserted into the slot 1 and connected successfully. If both the first port and the second port are at a high level, it proves that the board is not inserted into the slot 1, and the current state is saved to the register.

[0067] By setting the second power supply P2, the second resistor R2 and the third resistor R3, the detection of whether the board is successfully connected is realized.

[0068] As a preferred embodiment, it further includes a third power supply P3 and a first controllable switch S1;

[0069] The first end of the first controllable switch S1 is connected to the third power supply P3, the second end of the first controllable switch S1 is connected to the input end of the first power supply P1 of the slot 1, the control end of the first controllable switch S1 is connected to the first output end of the controller 2, and the first input end of the controller 2 is connected to the first end of the connector J1;

[0070] The controller 2 is used to control the first controllable switch S1 to conduct when the first end and the second end of the connector J1 are connected, and to control the first controllable switch S1 to turn off when the first end and the second end of the connector J1 are disconnected.

[0071] When the first end and the second end of the connector J1 are successfully connected, the signal is converted from a low level to a high level through an inverter and is input into the AUXON port of the controller 2. The high level drives the first controllable switch S1 to conduct, and P3 is a 3.3V power supply to supply power to the slot 1.

[0072] When the first end and the second end of the connector J1 are disconnected, the signal is converted from a high level to a low level through an inverter and is input into the AUXON port of the controller 2. The first controllable switch S1 is turned off, and P3 is a 3.3V power supply to stop supplying power to the slot 1.

[0073] When the board is inserted into the slot 1 and connected successfully, the controller 2 controls the 3.3V first power supply P1 to supply power to the slot 1. When the board is removed, the controller 2 controls the first power supply P1 to stop supplying power to the slot 1.

[0074] As a preferred embodiment, it further includes a filter 4;

[0075] The first end of the filter 4 is connected to the first end of the connector J1, and the second end of the filter 4 is connected to the second port of the signal converter 3;

[0076] The filter 4 is used to filter the signal output from the first end of the connector J1.

[0077] Considering that when the first end and the second end of the connector J1 are connected or disconnected, the generated MRL signal will fluctuate, the filter 4 is set to filter out the jitter and convert the MRL signal into a more stable MRL_N signal.

[0078] By setting the filter 4, the signal is processed so that the subsequent signal converter 3 can process the signal.

[0079] As a preferred embodiment, it further includes a button Button, a fourth power supply P4 and a fourth resistor R4;

[0080] The first end of the button Button is grounded, the second end of the button Button is respectively connected to the first end of the fourth resistor R4 and the second input end of the controller 2, the second end of the fourth resistor R4 is connected to the fourth power supply P4, the second input end of the controller 2 is connected to the second output end, and the second output end of the controller 2 is connected to the third port of the signal converter 3;

[0081] The signal converter 3 is further used to send a first signal to the CPU when the button Button is pressed;

[0082] The CPU is further used to determine whether to supply power to the slot 1 according to the third port of the signal converter 3.

[0083] Considering that the board is inserted into slot 1 and the first end and the second end of the connector are connected, at this time the board is successfully connected. When power supply is required, press the button Button; when the board is pulled out of slot 1 and the first end and the second end of the connector are disconnected, at this time the board is successfully pulled out. When power supply needs to be stopped, press the button Button. Due to the setting of the fourth power supply P4 and the fourth resistor R4, when the button Button is not pressed, ATN_N is at a high level, which is input into the INPUT port of the controller 2 and then output from the OUTPUT port of the controller 2 to the BUTTON_N port; when the button Button is pressed, ATN_N is at a low level, which is input into the INPUT port of the controller 2 and then output from the OUTPUT port of the controller 2 to the BUTTON_N port. When the button Button is pressed, the signal input into the BUTTON_N port realizes the change of high and low levels. The signal converter 3 will send the first signal to the CPU. At this time, the CPU will determine the level states of the first port, the second port and the third port of the signal converter 3. If the first port, the second port and the third port are all at a low level, then power supply needs to be provided for the board at this time; if the first port, the second port and the third port are all at a high level, then power supply needs to be cut off for the board at this time.

[0084] As a preferred embodiment, it further includes a fifth power supply P5, a sixth power supply P6, a second controllable switch S2 and a third controllable switch S3;

[0085] The first end of the second controllable switch S2 is connected to the fifth power supply P5, the second end of the second controllable switch S2 is connected to the input terminal of the second power supply P2 of the slot 1, the first end of the third controllable switch S3 is connected to the sixth power supply P6, the second end of the third controllable switch S3 is connected to the input terminal of the third power supply P3 of the slot 1, and the control terminals of the second controllable switch S2 and the third controllable switch S3 are both connected to the controller 2;

[0086] The CPU is specifically used to send a power-on control signal to the controller 2 when the board is in place, the board is successfully connected and the button Button is pressed; to send a power-off control signal to the signal converter 3 when the board is not in place, the board is not successfully connected and the button Button is pressed;

[0087] The controller 2 is specifically used to control the second controllable switch S2 and the third controllable switch S3 to conduct when receiving the power-on control signal sent by the fourth port of the signal converter 3; to control the second controllable switch S2 and the third controllable switch S3 to turn off when receiving the power-off control signal.

[0088] When power supply to the board is required, the CPU sends a signal to the signal converter 3. The signal converter 3 converts the I2C signal into an IO signal and outputs it to the PWREN port of the controller 2 through the PWREN_N port. The high level drives the second controllable switch S2 and the third controllable switch S3 to conduct. At this time, the 12V fifth power supply P5 and the 3.3V sixth power supply P6 supply power to the slot 1, and at this time, the hot insertion of the board is successful.

[0089] When power supply to the board is not required, the CPU sends a signal to the signal converter 3. The signal converter 3 converts the I2C signal into an IO signal and outputs it to the PWREN port of the controller 2 through the PWREN_N port. The low level makes the second controllable switch S2 and the third controllable switch S3 conduct. At this time, the 12V fifth power supply P5 and the 3.3V sixth power supply P6 no longer supply power to the slot 1, and at this time, the hot removal of the board is successful.

[0090] As a preferred embodiment, it further includes a seventh power supply P7, a first indicator light D1, a second indicator light D2, a fifth resistor R5 and a sixth resistor R6;

[0091] The seventh power supply P7 is respectively connected to the first ends of the first indicator light D1 and the second indicator light D2. The second end of the first indicator light D1 is connected to the first end of the fifth resistor R5. The second end of the second indicator light D2 is connected to the first end of the sixth resistor R6. The second end of the fifth resistor R5 is connected to the fifth port of the signal converter 3. The second end of the sixth resistor R6 is connected to the sixth port of the signal converter 3;

[0092] The CPU is further configured to control the first indicator light D1 to give a first prompt and control the second indicator light D2 to give a second prompt through the fifth port and the sixth port of the signal converter 3 when both the second controllable switch S2 and the third controllable switch S3 are conducting; control the first indicator light D1 to give a third prompt and control the second indicator light D2 to give a fourth prompt when both the second controllable switch S2 and the third controllable switch S3 are off.

[0093] Considering that the user cannot understand the current power supply state of the slot 1 during the use process, the present application provides the first indicator light D1 and the second indicator light D2.

[0094] Specifically, when the board is inserted or removed, both the first indicator light D1 and the second indicator light D2 are turned off; when the board is successfully connected or unsuccessfully connected, both the first indicator light D1 and the second indicator light D2 are turned off; when the fifth power supply P5 and the sixth power supply P6 supply power to slot 1, the CPU sends a signal to the signal converter 3. At this time, the signal converter 3 will control the PWRLED port to drive the first indicator light D1 to light up, and drive the second indicator light D2 to light up through the ATNLED port. After the first indicator light D1 and the second indicator light D2 flash for two seconds, the first indicator light D1 remains on and the second indicator light D2 goes off. When the fifth power supply P5 and the sixth power supply P6 stop supplying power to slot 1, the CPU sends a signal to the signal converter 3. At this time, the signal converter 3 will control the PWRLED port to drive the first indicator light D1 to light up, and drive the second indicator light D2 to light up through the ATNLED port. After the first indicator light D1 and the second indicator light D2 flash for two seconds, the first indicator light D1 goes off and the second indicator light D2 goes off.

[0095] In addition, the first indicator light D1 provided in this application is a green light, and the second indicator light D2 is a yellow light. The specific colors are not limited too much here in this application.

[0096] As a preferred embodiment, both the first indicator light D1 and the second indicator light D2 are light-emitting diodes.

[0097] Considering that the first indicator light D1 and the second indicator light D2 need to give corresponding prompts under the control of the signal converter 3, light-emitting diodes are set as the first indicator light D1 and the second indicator light D2.

[0098] Specifically, the first ends of the first indicator light D1 and the second indicator light D2 are the anodes of the light-emitting diodes, and the second ends of the first indicator light D1 and the second indicator light D2 are the cathodes of the light-emitting diodes.

[0099] In summary, the process of the adapter card provided in this application to achieve hot insertion is as follows:

[0100] When the board is inserted into slot 1, the level of the first port of the signal converter 3 changes from high to low. The signal converter 3 sends a first signal to the CPU. After the CPU determines that the first port of the board is at a low level, it saves the current state to the register. After the board is successfully inserted, the first end and the second end of the connector J1 are connected, and the level of the first port of the signal converter 3 changes from high to low. The signal converter 3 sends a first signal to the CPU. After the CPU determines that the first port and the second port of the board are at a low level, it saves the current state to the register. At the same time, the low-level signal passing through the inverter becomes a high-level signal, and the controller 2 drives the first controllable switch S1 to conduct at this time to provide 3.3V power supply for slot 1. When the user determines that power needs to be supplied to the board and presses the button, the level of the third port of the signal converter 3 changes from high to low at this time. The signal converter 3 sends a first signal to the CPU. After the CPU determines that the first port, the second port, and the third port of the board are at a low level, it saves the current state to the register. The CPU sends a power supply signal to the signal converter 3. At this time, the signal output from the fourth port of the signal converter 3 is converted into a high-level signal through the inverter to drive the second controllable switch S2 and the third controllable switch S3 to conduct, and the 12V and 3.3V power supplies supply power to slot 1. At the same time, the CPU controls the yellow light and the green light to flash for two seconds through the signal converter 3, and then the yellow light goes out and the green light remains on. Thus, the hot insertion of the board is realized.

[0101] The process of realizing hot insertion by the adapter card provided in this application is as follows:

[0102] When there is a board card on slot 1 and the user determines that they need to stop powering the board card, they press the button. At this time, the level at the third port of the signal converter 3 changes from high to low. The signal converter 3 sends a first signal to the CPU. After the CPU determines that the first port, the second port, and the third port of the board card are at low level, it saves the current state to the register. The CPU sends a power supply signal to the signal converter 3. At this time, the signal output from the fourth port of the signal converter 3 is converted to a low level by the inverter to drive the second controllable switch S2 and the third controllable switch S3 to turn off, and the 12V and 3.3V power supplies stop powering slot 1. At the same time, the CPU controls the yellow light and the green light to flash for two seconds through the signal converter 3, and then the yellow light goes out and the green light goes out. After the board card is successfully removed, the first end and the second end of the connector J1 are disconnected, and the level at the first port of the signal converter 3 changes from low to high. The signal converter 3 sends a first signal to the CPU. After the CPU determines that the second port of the board card is at high level, it saves the current state to the register. At the same time, the high-level signal of the inverter becomes low level, and the controller 2 controls the first controllable switch S1 to turn off at this time to stop providing 3.3V power supply to slot 1. When the board card is removed from slot 1, the level at the first port of the signal converter 3 changes from high to low. The signal converter 3 sends a first signal to the CPU. After the CPU determines that the first port of the board card is at high level, it saves the current state to the register. Thus, hot plugging of the board card is realized.

[0103] The present application also provides a server, including the above-mentioned adapter card.

[0104] For the introduction of the server provided by the present application, please refer to the above-mentioned embodiments and will not be elaborated here.

[0105] In this specification, the various embodiments are described in a progressive manner. The key point of each embodiment is to illustrate the differences from other embodiments. The same or similar parts among the various embodiments can be referred to each other. For the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the description of the method part.

[0106] It should also be noted that in this specification, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the phrase "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or device comprising the said element.

[0107] The foregoing description of the disclosed embodiments enables those skilled in the art to practice or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. An adapter card, characterized in that, It includes a slot, a controller and a signal converter; The signal converter is respectively connected to the slot, the controller and the CPU on the motherboard of the server; The signal converter is used to send a first signal to the CPU when the board is inserted into the slot and when the board is pulled out of the slot; The CPU is used to determine to power on or power off the board when receiving the first signal, and generate a control signal to send to the signal converter; The controller is used to control the slot to power on or power off according to the control signal sent by the signal converter; It also includes a first power supply and a first resistor; The first end of the first resistor is connected to the first power supply, and the second end of the first resistor is respectively connected to the first port of the signal converter and the slot; The signal converter is specifically used to send a first signal to the CPU when the board is inserted into the slot and when the board is pulled out of the slot; The CPU is also used to determine the in-position state of the board according to the first port of the signal converter, and the in-position state includes in-position and not in-position; It also includes a connector, a second power supply, a second resistor and a third resistor; The first end of the connector is connected to the first end of the second resistor, and the common connection end is connected to the second port of the signal converter. The second end of the second resistor is connected to the second power supply. The second end of the connector is connected to the first end of the third resistor, and the second end of the third resistor is grounded; The connector is used to connect the first end and the second end when the board is inserted, and the connector is used to disconnect the first end and the second end when the board is pulled out; The signal converter is also used to send a first signal to the CPU when the first end and the second end of the connector are connected and when the first end and the second end of the connector are disconnected; The CPU is also used to determine whether the board is successfully connected according to the second port; It also includes a third power supply and a first controllable switch; The first end of the first controllable switch is connected to the third power supply, the second end of the first controllable switch is connected to the first power input end of the slot, the control end of the first controllable switch is connected to the first output end of the controller, and the first input end of the controller is connected to the first end of the connector; The controller is used to control the first controllable switch to conduct when the first end and the second end of the connector are connected, and control the first controllable switch to turn off when the first end and the second end of the connector are disconnected.

2. The adapter card according to claim 1, wherein, It also includes a filter; The first end of the filter is connected to the first end of the connector, and the second end of the filter is connected to the second port of the signal converter; The filter is used to filter the signal output from the first end of the connector.

3. The adapter card according to claim 1, characterized in that It also includes a button, a fourth power supply and a fourth resistor; The first end of the button is grounded. The second end of the button is respectively connected to the first end of the fourth resistor and the second input end of the controller. The second end of the fourth resistor is connected to the fourth power supply. The second input end of the controller is connected to the second output end. The second output end of the controller is connected to the third port of the signal converter; The signal converter is further configured to send a first signal to the CPU when the button is pressed; The CPU is further configured to determine whether to supply power to the slot according to the third port of the signal converter.

4. The adapter card according to any one of claims 1 to 3, characterized in that It further includes a fifth power supply, a sixth power supply, a second controllable switch, and a third controllable switch; The first end of the second controllable switch is connected to the fifth power supply. The second end of the second controllable switch is connected to the second power input end of the slot. The first end of the third controllable switch is connected to the sixth power supply. The second end of the third controllable switch is connected to the third power input end of the slot. The control ends of the second controllable switch and the third controllable switch are both connected to the controller; The CPU is specifically configured to send a power-on control signal to the controller when the board is in place, the board is successfully connected, and the button is pressed; and send a power-off control signal to the signal converter when the board is not in place, the board is not successfully connected, and the button is pressed; The controller is specifically configured to control the second controllable switch and the third controllable switch to conduct when receiving the power-on control signal sent by the fourth port of the signal converter; and control the second controllable switch and the third controllable switch to turn off when receiving the power-off control signal.

5. The adapter card according to claim 4, wherein It further includes a seventh power supply, a first indicator light, a second indicator light, a fifth resistor, and a sixth resistor; The seventh power supply is respectively connected to the first ends of the first indicator light and the second indicator light. The second end of the first indicator light is connected to the first end of the fifth resistor. The second end of the second indicator light is connected to the first end of the sixth resistor. The second end of the fifth resistor is connected to the fifth port of the signal converter. The second end of the sixth resistor is connected to the sixth port of the signal converter; The CPU is further configured to control the first indicator light to give a first prompt and control the second indicator light to give a second prompt through the fifth port and the sixth port of the signal converter when both the second controllable switch and the third controllable switch are conducting; and control the first indicator light to give a third prompt and control the second indicator light to give a fourth prompt when both the second controllable switch and the third controllable switch are turned off.

6. The adapter card according to claim 5, characterized in that, Both the first indicator light and the second indicator light are light-emitting diodes.

7. A server, characterized in that, It includes the adapter card according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Industrial robot controller hardware platform with bus compatibility

    CN110262346A

  • Discharge control circuit, board card and computer equipment

    CN214896522U