CN115687210A - Method, system and equipment for self-adapting access of external plug-in card and readable storage medium - Google Patents
Method, system and equipment for self-adapting access of external plug-in card and readable storage medium Download PDFInfo
- Publication number
- CN115687210A CN115687210A CN202211172045.8A CN202211172045A CN115687210A CN 115687210 A CN115687210 A CN 115687210A CN 202211172045 A CN202211172045 A CN 202211172045A CN 115687210 A CN115687210 A CN 115687210A
- Authority
- CN
- China
- Prior art keywords
- card
- access
- voltage
- bmc
- control module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 230000001276 controlling effect Effects 0.000 claims description 17
- 230000003044 adaptive effect Effects 0.000 claims description 13
- 238000004590 computer program Methods 0.000 claims description 11
- 238000004891 communication Methods 0.000 claims description 8
- 230000001105 regulatory effect Effects 0.000 claims description 6
- 238000001514 detection method Methods 0.000 claims description 5
- 238000007405 data analysis Methods 0.000 claims description 3
- 230000004044 response Effects 0.000 claims description 3
- 238000013461 design Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 7
- 230000005540 biological transmission Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 238000012356 Product development Methods 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Landscapes
- Power Sources (AREA)
Abstract
The invention belongs to the field of computers, and particularly relates to an external card access self-adaption method, a system, equipment and a readable storage medium, wherein the method comprises the following steps: connecting the access lines of all the external plug-in cards to the control module; analyzing the access line of each external plug-in card through the control module and acquiring a key signal in the access line; and the BMC which sends the key signal controls the access of the equipment connected with the external plug-in card corresponding to the key signal based on the key signal. The invention provides an external plug-in card access self-adaptive method, which can detect the power-on voltage of the accessed external plug-in card equipment, and adjust the power supply of different external plug-in card equipment in time according to the access voltage of different external plug-in card equipment, thereby effectively solving the problem of non-uniform power-on standard of the existing external plug-in card.
Description
Technical Field
The invention belongs to the field of computers, and particularly relates to an external card access self-adaption method, system, equipment and a readable storage medium.
Background
The existing system does not know which manufacturer's card is used by a client after being sold, or the existing system selects to match cards of a plurality of manufacturers because of system diversity, so that the existing system may need to redesign a mainboard or a system board card because of different pull-up voltages used by the manufacturers, and additional cost of manpower resources and expenses are needed from the design to the subsequent function verification and signal quality verification, so that the cost and expense of a company are greatly influenced, the product development cycle of the client is also influenced, not only many product lines need to be promoted to a service end, but also the time delay of product volume production is greatly influenced, but the multi-node system also has the same problem, the voltage used under the initial design of the system can be clearly defined before the design, but the mainboard or the system card of other systems can be often used to cause the limitation of the diversity of the system because of the voltage is defined in order to shorten the development time subsequently.
Disclosure of Invention
In order to solve the above problems, the present invention provides an external card access adaptive method, which includes:
connecting the access lines of all the external plug-in cards to a control module;
analyzing the access line of each external plug-in card through the control module and acquiring a key signal in the access line;
and the BMC which sends the key signal controls the access of the equipment connected with the external plug-in card corresponding to the key signal based on the key signal.
In some embodiments of the present invention, connecting the access lines of all add-in cards to the control module comprises:
and connecting the access line of the external plug-in card and the server to the control module in a bypass detection connection mode.
In some embodiments of the present invention, parsing the access line of each add-in card and acquiring critical signals in the access line by the control module comprises:
and analyzing pull-up voltage data of the external plug-in card in the access line based on the communication protocol of the access line through the control module.
In some embodiments of the invention, the method further comprises:
and responding to the fact that the BMC acquires pull-up voltage data of the control module, converting the pull-up voltage data into corresponding regulating and controlling signals according to a preset strategy, and sending the regulating and controlling signals to corresponding voltage converters.
In some embodiments of the present invention, converting the pull-up voltage data into a corresponding regulation signal according to a predetermined strategy comprises:
and calculating the resistance value of the regulation and control resistor of the voltage converter based on the pull-up voltage of the common external plug-in card equipment and the input voltage of the voltage converter, and converting the resistance value into a corresponding regulation and control signal.
In some embodiments of the invention, sending the regulation signal to a corresponding voltage converter comprises:
adding a multiplexer between the BMC and the corresponding voltage converters, and controlling the switching of the multiplexer through the BMC;
responding to the corresponding external card access, controlling the multiplexer to connect the voltage converter corresponding to the external card with the BMC through the BMC, and sending the regulation signal to the voltage converter.
In some embodiments of the invention, the method further comprises:
and responding to the received regulation and control signal sent by the BMC, decrypting the regulation and control signal, analyzing corresponding regulation and control data, and adjusting the resistance value of an adjustable resistor in the voltage converter based on the regulation and control data.
In another aspect of the present invention, an add-in card access adaptive system is further provided, including:
the connection module is used for connecting the access lines of all the external plug-in cards to the control module;
the data analysis module is configured to analyze the access line of each external plug-in card through the control module and acquire a key signal in the access line;
and the equipment access control module is configured to control the access of the equipment connected with the external plug-in card corresponding to the key signal through the BMC based on the key signal.
Yet another aspect of the present invention also provides a computer apparatus, including:
at least one processor; and
a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of the method of any one of the above embodiments.
Yet another aspect of the present invention also provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the method in any one of the above-mentioned embodiments.
The invention provides an external plug-in card access self-adaptive method, which can detect the power-on voltage of the accessed external plug-in card equipment, and adjust the power supply of different external plug-in card equipment in time according to the access voltage of different external plug-in card equipment, thereby effectively solving the problem of non-uniform power-on standard of the existing external plug-in card.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a method for accessing an adaptive method by an add-in card according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an add-in card access adaptive system according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a computer device according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present invention;
fig. 5 is a schematic circuit diagram of a part of an external card access adaptive method according to an embodiment of the present invention;
fig. 6 is a schematic circuit diagram of a part of an external card access adaptive method according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a part of circuit connection of an add-in card access adaptive method according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
The invention aims to solve the problem that equipment is burnt out when the power supply voltage of the external equipment is inconsistent with the voltage supported by the interface on the server hardware system after the external equipment is connected to a computer or a server.
In the field of servers, in a traditional hardware design, all I2C links of PCIe slots are connected with a device at a mainboard end, signal lines of other nodes are connected to a device at the mainboard end, which needs to judge a Signal, PCH and CPU are taken as examples, in the traditional server, I2C signals of PCIe slots are connected to CPU, pull-up voltages are PWR0 and PWR1 respectively, PWR0 and PWR1 can only fix a voltage value, for example, when the voltage is 5V, only 5V can be used, when 1.8V can be used in a circuit design, node signals 0-Signal 4 are connected to PCH for judging some information or transmitting some information, corresponding pull-up voltages are PWR2 and PWR3 respectively, when the old design is carried out, the mainboard can only select one voltage to carry out design, for example, when the old design is carried out on the mainboard is carried out, when the voltage is changed and not used, PCIe card is not matched with a voltage scheme 8230, when the voltage is changed or a user burns a PCIe card, the problem that a new Node is not matched with a new Node design is caused, and the problem that the Node is not matched with a leakage voltage is caused, and the new Node is not only a Node is needed to be newly developed, and the Node is not wasted.
As shown in fig. 1, to solve the above problem, the present invention provides an external card access adaptive method, which includes:
s1, connecting access lines of all the external plug-in cards to a control module;
s2, analyzing the access line of each external plug-in card through the control module and acquiring a key signal in the access line;
and S3, controlling the access of the equipment connected with the external plug-in card corresponding to the key signal by the BMC based on the key signal.
In the embodiment of the present invention, in step S1, the add-in card generally refers to an expansion device that implements different functions on the server, including a PCIE expansion device on the server and various expansion nodes on the server, and in the embodiment of the present invention, reference may be made to fig. 5, where fig. 5 is a schematic circuit connection diagram of an adaptive access method of the PCEI add-in card and the expansion nodes. The figure includes two kinds of devices, one of which is a PCIE add-on Card, such as PCIE Card a and PCIE Card B in the figure, and I2C lines of the two devices are connected to a control module implemented by an NCD9830 chip; another is that extension nodes externally connected to the server, such as Node _ a and Node _ B in the figure, connect the wires of PCH (not shown in the figure regardless of the embodiment of the present invention) originally accessed to the server on Node _ a and Node _ B to NCD 9830. In some embodiments of the present invention, the access line of the add-in card refers to a signal line or a corresponding transmission bus on the add-in card, which is connected to a connection device of the add-in card, for transmitting a power voltage on the corresponding add-in card.
In step S2, the key signal is a pull-up voltage signal of the add-out card. The control module is used for externally inserting the card, and for the PCIE type externally inserted card, the pull-up voltage of the corresponding PCIE externally inserted card is obtained through an I2C signal circuit of the corresponding PCIE externally inserted card. And for the extension node of the server, acquiring the power-on voltage of the accessed corresponding node through the voltage data on the signal line of the corresponding extension node.
In step S3, after the power-on voltage of the corresponding external device is obtained, the control module sends the power-on voltage information to the BMC of the server, and the BMC regulates and controls a power supply module of an access slot (PCIE slot) or an interface of the corresponding external card according to the power-on voltage, so as to regulate the voltage to a voltage required by the operation of the external device. As shown in fig. 5, the voltages of the PCIE add-in card include: 1.8V or 3.3V or 5V, the power-on voltage of the extension node comprises: 3.3V or 5V or 12V. The external card devices produced by different manufacturers have different voltages.
In some embodiments of the present invention, connecting the access lines of all add-in cards to the control module comprises:
and connecting the access line of the external plug-in card and the server to the control module in a bypass detection connection mode.
In this embodiment, as shown in fig. 5, the control module and the access lines of different external cards are all connected in a bypass connection manner, for example, the connection between the PCIE external device and the CPU is an I2C bus in the figure, the control module is only in circuit connection with the I2C bus, and does not participate in data transmission between the PCIE external device and the CPU, and only electric signals generated by the PCIE external device are collected and analyzed to obtain the power-on voltage of the PCIE external device. Similarly, the control module only realizes circuit connection on a connection signal wire of the external expansion node and the server, does not participate in the communication between the external expansion node and the server, and only analyzes and collects the pull-up voltage of the external expansion node.
In some embodiments of the present invention, parsing the access line of each add-in card and acquiring critical signals in the access line by the control module comprises:
and analyzing pull-up voltage data of the external plug-in card in the access line based on the communication protocol of the access line through the control module.
In this embodiment, if the external card device connected to the control module is a bus-type device, such as the PCIE-type external device in fig. 5, the communication between the PCIE-type external device and the CPU uses an I2C bus, and the control module needs to detect voltage information about the external device on the I2C bus.
In some embodiments of the invention, the method further comprises:
and responding to the fact that the BMC acquires pull-up voltage data of the control module, converting the pull-up voltage data into corresponding regulating and controlling signals according to a preset strategy, and sending the regulating and controlling signals to corresponding voltage converters.
In this embodiment, as shown in fig. 5, NCD _ CH0 to NCD _ 7 in fig. 5 are configured to detect a voltage value of a corresponding external card device, further perform analog-to-digital conversion on the voltage value, convert the voltage value into a corresponding digital signal, connect to a BMC through an I2C communication bus established between a control module and the BMC, send voltage information of the external device corresponding to a slot or a node to the BMC, the BMC calculates a control signal to be sent to the voltage converter according to the received voltage information, and finally sends the control signal to the voltage converter through an SPI bus. In some embodiments of the present invention, converting the pull-up voltage data into a corresponding regulation signal according to a predetermined strategy comprises:
and calculating the resistance value of the regulation and control resistor of the voltage converter based on the pull-up voltage of the common external plug-in card equipment and the input voltage of the voltage converter, and converting the resistance value into a corresponding regulation and control signal. In this embodiment, the pull-up voltage of a common external plug-in card device includes the following: 1.8V, 3.3V,5V or 12V, after the corresponding pull-up voltage is determined, the resistance value which should be set by the corresponding voltage converter is calculated by the BMC according to the adjustment mode of the specific voltage converter, and then the resistance value is sent to the corresponding voltage converter through the SPI bus.
Specifically, referring to fig. 5, assuming that PWR =3.3v, PWR1=0v, PWR2=5v, and PWR3=0v, the NCD9830 will convert the read voltage into a digital signal and temporarily store the digital signal in the buffer, and convert the digital signal into an I2C transmission format to wait for the BMC to acquire the voltage data through the I2C signal.
When the BMC is in the standby state (SPL _ S3= low), the read NCD9830 acquires NCD _ CH0= NCD _ CH1= PWR0=3.3v, NCD _ch2= ch3= NCD _pwr1=0v, NCD _ch4= NCD _ch5= PWR2=5v, NCD _ch6= NCD _ch7= PWR3=, and it is known that the pull-up voltage of each signal in the standby state is as above, because the output of the LDO voltage converter behind the digital potentiometer (voltage converter) is output, the pull-up voltage of each signal is as aboveThen, since PWR0=3.3v, the bmc controls the SPI multiplexer to switch to the corresponding channel MUX _ CH0 through the GPIO pin, and sets the first set of digital potentiometers to 01011100, PWR0_r1=64.06ohm, PWR0_r2= 35.94ohm. Similarly, when NCD _ CH5= PWR2=5V, the BMC controls the SPI multiplexer to switch the channel to MUX _ CH2 via the SPI bus, and sets the first set of digital potentiometers to 00111101, PWR0_r5=76.17ohm, PWR0_r6=23.83ohm, thenSimilarly, when NCD _ CH5= PWR2=5V, the BMC controls the SPI multiplexer to switch the channel to MUX _ CH2 via the SPI bus, setting the first set of digital potentiometers to: 00111101, PWR0_R5 =76.17Ohm, PWR0_R6 =23.83Ohm, then
When the system is turned on (SPL _ S3= high), the BMC reads the state of the NCD9830 again, confirms the current status of all voltages, and obtains the pull-up voltage of each node or I2C again, assuming the obtained voltages: NCD _ CH0= NCD _ CH1= PWR0=3.3V; NCD _ CH2= NCD _ CH3= NCD _ PWR1=1.8V; NCD _ CH4= NCD _ CH5= PWR2=5V; NCD _ CH6= NCD _ CH7= PWR3=0.9V; the BMC controls the SPI multiplexer to switch to a corresponding channel through the GPIO pin, outputs a corresponding protocol through the SPI bus after switching to the corresponding channel, sets the digital potentiometer to be a corresponding resistor, decrypts the corresponding SPI information after the digital potentiometer receives the information, and sets the corresponding resistor to be a corresponding resistance through the WIPER REGISTER.
When the system is turned on (SPL _ S3= high), the BMC reads the state of the NCD9830 again, confirms the current status of all voltages, and obtains the pull-up voltage of each node or I2C again, assuming that the obtained voltages are: NCD _ CH0= NCD _ CH1= PWR0=3.3V;
NCD_CH2=NCD_CH3=NCD_PWR1=1.8V;
NCD_CH4=NCD_CH5=PWR2=5V;
NCD _ CH6= NCD _ CH7= PWR3=0.9V, the BMC controls the SPI multiplexer to switch to the corresponding channel through the GPIO pin, switches to the corresponding channel, outputs the corresponding protocol using the SPI bus to set the digital potentiometer to the corresponding resistor, and sets the subsequent corresponding resistor to the corresponding resistance through the wideband REGISTER after the digital potentiometer receives the decryption of the corresponding SPI information. The following table is a list of commonly used voltages and corresponding resistances:
Vout | R1 | R2 | digital potentiometer |
1.8v | 33.98OHM | 66.02OHM | 10101001 |
2.5v | 52.34OHM | 47.66OHM | 01111010 |
3.3v | 64.06OHM | 35.94OHM | 01011100 |
5.0v | 76.17OHM | 23.83OHM | 00111101 |
12v | 90.23OHM | 9.77OHM | 00011001 |
In some embodiments of the invention, sending the regulation signal to the corresponding voltage converter comprises:
adding a multiplexer between the BMC and the corresponding voltage converters, and controlling the switching of the multiplexer through the BMC;
in response to the corresponding external card access, controlling the multiplexer to connect the voltage converter corresponding to the external card with the BMC through the BMC, and sending the regulation signal to the voltage converter.
In the present embodiment, the multiplexer is an SPI multiplexer, such as the SPI MUX in fig. 6, and the voltage converter is a Digital Potentiometer also called Digital Potentiometer in fig. 6, wherein 4 multiplexers are shown in the figure. BMC can not regulate and control a plurality of digital potentiometers through a SPI circuit simultaneously, consequently adopt SPI MUX to realize the multiplexing of BMC's SPI circuit in this embodiment. And the BMC sends the regulation and control signal of the corresponding voltage conversion to the corresponding voltage converter through the SPI MUX.
In some embodiments of the invention, the method further comprises:
and responding to the received regulation and control signal sent by the BMC, decrypting the regulation and control signal, analyzing corresponding regulation and control data, and adjusting the resistance value of an adjustable resistor in the voltage converter based on the regulation and control data.
In this embodiment, the control signal sent by the BMC to the corresponding voltage converter may be encrypted, the voltage converter receives the corresponding control signal to decrypt the received SPI-type control information, and sets the resistance value of the corresponding control varistor to a target value through the wideband REGISTER using the decrypted control data.
The invention provides an external plug-in card access self-adaptive method, which can detect the power-on voltage of the accessed external plug-in card equipment, and adjust the power supply of different external plug-in card equipment in time according to the access voltage of different external plug-in card equipment, thereby effectively solving the problem of non-uniform power-on standard of the existing external plug-in card.
The embodiment is as follows:
referring to fig. 5-7, in this embodiment, a line is pulled to a control module (NCD 9830) one more line in the old hardware design, the NCD9830 is a chip of which an ADC is converted into an I2C, which can determine how much the pull-up voltage level of the inserted signal is, after the BMC reads the pull-up voltage level of the NCD9830, the BMC is connected to the SPI multiplexer through the SPI interface to switch a channel to the digital potentiometer, which can control the voltage output of the following linear regulator through the resistance of the SPI control resistor, and the output voltage is controlled by the BMC to achieve the idea of automatically switching the pull-up voltage.
When the system is in standby, CH 0-CH 7 connected to NCD9830 determines the current voltage, and if PWR0=3.3v, PWR1=0v, PWR2=5v, and PWR3=0v, NCD9830 converts the read voltage into a digital signal and temporarily stores the digital signal in a buffer, and converts the digital signal into an I2C transmission format to wait for the BMC to acquire voltage data through an I2C signal.
When the BMC is in the standby state (SPL _ S3= low potential), the read NCD9830 acquires: NCD _ CH0= NCD _ CH1= PWR0=3.3v, NCD _ CH2= ch3=ncd _pwr1=0v, NCD _ CH4=ncd _ CH5=pwr2=5v, NCD _ CH6=ncd _ch7=pwr3=0v, and it was found that the pull-up voltage of each signal in the standby state was as above, and the output of the LDO voltage converter after the digital potentiometer was used to obtain the pull-up voltage of each signal as above, and the output of the LDO voltage converter after the digital potentiometer was used to output the signal voltage converterThen, since PWR0=3.3v, the bmc controls the SPI multiplexer to switch to the corresponding channel MUX _ CH0 through the GPIO pin, and sets the first set of digital potentiometers to 01011100, PWR0_r1=64.06ohm, PWR0_r2= -35.94ohm, thenSimilarly, when NCD _ CH5= PWR2=5V, the BMC controls the SPI multiplexer to switch the channel to MUX _ CH2 via the SPI bus, and sets the first set of digital potentiometers to 00111101, PWR0_r5=76.17ohm, PWR0_r6=23.83ohm, then
When the system is turned on (SPL _ S3= high), the BMC reads the status of the NCD9830 again, confirms the current status of all voltages, and obtains the pull-up voltage of each node or I2C again, assuming the obtained voltages: NCD _ CH0= NCD _ CH1= PWR0=3.3V;
NCD_CH2=NCD_CH3=NCD_PWR1=1.8V;
NCD_CH4=NCD_CH5=PWR2=5;
NCD _ CH6= NCD _ CH7= PWR3=0.9V, the BMC controls the SPI multiplexer to switch to the corresponding channel through the GPIO pin, and sets the digital potentiometer to the corresponding resistance by outputting the corresponding protocol through the SPI bus after switching to the corresponding channel, and the digital potentiometer receives the decryption of the corresponding SPI information and sets the corresponding resistance through the wideband REGISTER.
As shown in fig. 2, another aspect of the present invention further provides an add-in card access adaptive system, including:
the connection module 1 is used for connecting the access lines of all the external plug-in cards to the control module;
the data analysis module 2 is configured to analyze the access line of each external card through the control module and acquire a key signal in the access line;
and the device access control module 3 is configured to configure a BMC for sending the key signal, and control access of the device connected to the external card corresponding to the key signal based on the key signal through the BMC.
As shown in fig. 3, another aspect of the present invention also provides a computer device, including:
at least one processor 21; and
a memory 22, said memory 22 storing computer instructions 23 executable on said processor 21, said instructions 23 when executed by said processor 21 implementing an add-card access adaptation method comprising:
connecting the access lines of all the external plug-in cards to a control module;
analyzing the access line of each external plug-in card through the control module and acquiring a key signal in the access line;
and the BMC sending the key signal controls the access of the equipment connected with the external plug-in card corresponding to the key signal based on the key signal.
In some embodiments of the present invention, connecting the access lines of all add-in cards to the control module comprises:
and connecting the access line of the external plug-in card and the server to the control module in a bypass detection connection mode.
In some embodiments of the present invention, parsing the access line of each add-in card and acquiring a critical signal in the access line by the control module comprises:
and analyzing pull-up voltage data of the external plug-in card in the access line based on the communication protocol of the access line through the control module.
In some embodiments of the invention, the method further comprises:
and responding to the fact that the BMC acquires pull-up voltage data of the control module, converting the pull-up voltage data into corresponding regulation and control signals according to a preset strategy, and sending the regulation and control signals to corresponding voltage converters.
In some embodiments of the present invention, converting the pull-up voltage data into a corresponding regulation signal according to a predetermined strategy comprises:
and calculating the resistance value of the regulation and control resistor of the voltage converter based on the pull-up voltage of the common external plug-in card equipment and the input voltage of the voltage converter, and converting the resistance value into a corresponding regulation and control signal.
In some embodiments of the invention, sending the regulation signal to the corresponding voltage converter comprises:
adding a multiplexer between the BMC and the corresponding voltage converters, and controlling the switching of the multiplexer through the BMC;
in response to the corresponding external card access, controlling the multiplexer to connect the voltage converter corresponding to the external card with the BMC through the BMC, and sending the regulation signal to the voltage converter.
In some embodiments of the invention, the method further comprises:
and responding to the received regulation and control signal sent by the BMC, decrypting the regulation and control signal, analyzing corresponding regulation and control data, and adjusting the resistance value of an adjustable resistor in the voltage converter based on the regulation and control data.
As shown in fig. 4, a further aspect of the present invention also provides a computer-readable storage medium 401, where the computer-readable storage medium 401 stores a computer program 402, and when executed by a processor, the computer program 402 implements an external card access adaptive method, including:
connecting the access lines of all the external plug-in cards to the control module;
analyzing the access line of each external plug-in card through the control module and acquiring a key signal in the access line;
and the BMC which sends the key signal controls the access of the equipment connected with the external plug-in card corresponding to the key signal based on the key signal.
In some embodiments of the present invention, connecting the access lines of all add-in cards to the control module comprises:
and connecting the access line of the external plug-in card and the server to the control module in a bypass detection connection mode.
In some embodiments of the present invention, parsing the access line of each add-in card and acquiring critical signals in the access line by the control module comprises:
and analyzing pull-up voltage data of the external plug-in card in the access line based on the communication protocol of the access line through the control module.
In some embodiments of the invention, the method further comprises:
and responding to the fact that the BMC acquires pull-up voltage data of the control module, converting the pull-up voltage data into corresponding regulation and control signals according to a preset strategy, and sending the regulation and control signals to corresponding voltage converters.
In some embodiments of the present invention, converting the pull-up voltage data into a corresponding regulation signal according to a predetermined strategy comprises:
and calculating the resistance value of the regulation and control resistor of the voltage converter based on the pull-up voltage of the common external plug-in card equipment and the input voltage of the voltage converter, and converting the resistance value into a corresponding regulation and control signal.
In some embodiments of the invention, sending the regulation signal to the corresponding voltage converter comprises:
adding a multiplexer between the BMC and a plurality of corresponding voltage converters, and controlling the switching of the multiplexer through the BMC;
responding to the corresponding external card access, controlling the multiplexer to connect the voltage converter corresponding to the external card with the BMC through the BMC, and sending the regulation signal to the voltage converter.
In some embodiments of the invention, the method further comprises:
and responding to the received regulation and control signal sent by the BMC, decrypting the regulation and control signal, analyzing corresponding regulation and control data, and adjusting the resistance value of an adjustable resistor in the voltage converter based on the regulation and control data.
Finally, it should be noted that, as will be understood by those skilled in the art, all or part of the processes of the methods of the above embodiments may be implemented by a computer program, which may be stored in a computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a Random Access Memory (RAM). Embodiments of the computer program may achieve the same or similar effects as any of the preceding method embodiments to which it corresponds.
In addition, the apparatuses, devices and the like disclosed in the embodiments of the present invention may be various electronic terminal devices, such as a mobile phone, a Personal Digital Assistant (PDA), a tablet computer (PAD), a smart television and the like, or may be a large terminal device, such as a server and the like, and therefore the scope of protection disclosed in the embodiments of the present invention should not be limited to a specific type of apparatus, device. The client disclosed by the embodiment of the invention can be applied to any one of the electronic terminal devices in the form of electronic hardware, computer software or a combination of the electronic hardware and the computer software.
Furthermore, the method disclosed according to an embodiment of the present invention may also be implemented as a computer program executed by a CPU, which may be stored in a computer-readable storage medium. The computer program, when executed by the CPU, performs the above-described functions defined in the method disclosed in the embodiments of the present invention.
Further, the above method steps and system elements may also be implemented using a controller and a computer readable storage medium for storing a computer program for causing the controller to implement the functions of the above steps or elements.
Further, it should be appreciated that the computer-readable storage media (e.g., memory) described herein can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. By way of example, and not limitation, nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which can act as external cache memory. By way of example and not limitation, RAM may be available in a variety of forms such as synchronous RAM (DRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchlink DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The storage devices of the disclosed aspects are intended to comprise, without being limited to, these and other suitable types of memory.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments of the present invention.
Claims (10)
1. An adaptive method for external card access, comprising:
connecting the access lines of the plurality of external plug-in cards to the control module;
analyzing the access line of each of the plurality of add-in cards through the control module and acquiring a key signal in the access line;
and the BMC which sends the key signal controls the access of the equipment connected with the external plug-in card corresponding to the key signal based on the key signal.
2. The method of claim 1, wherein said connecting the access lines of the plurality of add-in cards to the control module comprises:
and connecting the access line of the external plug-in card and the server to the control module in a bypass detection connection mode.
3. The method of claim 1, wherein parsing the access line of each of the plurality of add-in cards and obtaining critical signals in an access line by the control module comprises:
and analyzing pull-up voltage data of the external plug-in card in the access line based on the communication protocol of the access line through the control module.
4. The method of claim 3, further comprising:
and responding to the fact that the BMC acquires pull-up voltage data of the control module, converting the pull-up voltage data into corresponding regulating and controlling signals according to a preset strategy, and sending the regulating and controlling signals to corresponding voltage converters.
5. The method of claim 4, wherein converting the pull-up voltage data into corresponding regulation signals according to a predetermined strategy comprises:
and calculating the resistance value of the regulation and control resistor of the voltage converter based on the pull-up voltage of the common external plug-in card equipment and the input voltage of the voltage converter, and converting the resistance value into a corresponding regulation and control signal.
6. The method of claim 4, wherein sending the regulation signal to a corresponding voltage converter comprises:
adding a multiplexer between the BMC and the corresponding voltage converters, and controlling the switching of the multiplexer through the BMC;
in response to the corresponding external card access, controlling the multiplexer to connect the voltage converter corresponding to the external card with the BMC through the BMC, and sending the regulation signal to the voltage converter.
7. The method of claim 4, further comprising:
and responding to the received regulation and control signal sent by the BMC, decrypting the regulation and control signal, analyzing corresponding regulation and control data, and adjusting the resistance value of an adjustable resistor in the voltage converter based on the regulation and control data.
8. An adaptive system for external card access, comprising:
a connection module configured to connect access lines of the plurality of add-in cards to the control module;
the data analysis module is configured to analyze the access line of each external plug-in card through the control module and acquire a key signal in the access line;
and the equipment access control module is configured to control the access of the equipment connected with the external plug-in card corresponding to the key signal through the BMC based on the key signal, wherein the BMC is used for sending the key signal.
9. A computer device, comprising:
at least one processor; and
a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of the method of any one of claims 1 to 7.
10. A computer-readable storage medium, storing a computer program which, when executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211172045.8A CN115687210A (en) | 2022-09-26 | 2022-09-26 | Method, system and equipment for self-adapting access of external plug-in card and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211172045.8A CN115687210A (en) | 2022-09-26 | 2022-09-26 | Method, system and equipment for self-adapting access of external plug-in card and readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115687210A true CN115687210A (en) | 2023-02-03 |
Family
ID=85062789
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211172045.8A Pending CN115687210A (en) | 2022-09-26 | 2022-09-26 | Method, system and equipment for self-adapting access of external plug-in card and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115687210A (en) |
-
2022
- 2022-09-26 CN CN202211172045.8A patent/CN115687210A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3149601B1 (en) | Systems for setting the address of a module | |
DE112009000147T5 (en) | Mobile device that allows UART and USB communication using the same connector, and methods of operating the same | |
US10347347B1 (en) | Link training mechanism by controlling delay in data path | |
JP7145786B2 (en) | signal transmission circuit, signal transmission system | |
US20100188917A1 (en) | Setting Memory Device Termination in a Memory Device and Memory Controller Interface in a Communication Bus | |
CN115687210A (en) | Method, system and equipment for self-adapting access of external plug-in card and readable storage medium | |
US10169281B2 (en) | Switch system and operation method thereof | |
US20190078940A1 (en) | Temperature sensing circuit | |
CN109696250B (en) | Temperature sensing circuit and semiconductor device having the same | |
US10969807B2 (en) | In-line power conditioning for multi-drop data bus | |
CN113645088B (en) | Automatic regulation method, system, device and medium for network card NCSI signal | |
US9454162B2 (en) | Calibration circuit and semiconductor device including the same | |
CN110750478A (en) | Multi-serial port communication method and system | |
CN114063758B (en) | Current value obtaining method, device and medium | |
CN107155359A (en) | Method, user equipment and the external equipment of multiplexing peripheral interface | |
CN115348656A (en) | MiFi device, power adjusting method thereof, electronic device and system | |
CN107357547B (en) | Audio control method, audio control device and audio equipment | |
CN109298944B (en) | Server pressure adjusting method and device, computer device and storage medium | |
CN108337054B (en) | Power calibration method, system, computer device and storage medium | |
CN106068503B (en) | The method of setup module address | |
CN112860388A (en) | Regulation and control strategy updating method and related equipment | |
CN115684765A (en) | Signal testing and optimizing device and method | |
CN212083943U (en) | Voltage automatic regulating circuit and system | |
CN113295957B (en) | Test control device, method and micro control unit | |
CN116401199B (en) | Signal conversion circuit, transmission method, device, electronic apparatus, and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |