A control method and device of a PCIe external interface card, a medium, and a server

By receiving BIOS operating status information through a programmable logic controller (PLC), the system controls the prompt module of the PCIe external interface card to provide operating process prompts, thus resolving the identifier allocation vulnerability caused by hot-swapping during BIOS operation and improving computer reliability.

CN115794715BActive Publication Date: 2025-11-18ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211520210.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-30
Publication Date
2025-11-18
Estimated Expiration
2042-11-30

AI Technical Summary

Technical Problem

In computer systems, hot-swapping of PCIe external interface cards can easily lead to identifier allocation vulnerabilities during BIOS operation, affecting the normal operation of the computer. Furthermore, staff cannot determine the BIOS operating status based on existing information to perform hot-swapping.

Method used

The programmable logic controller receives the BIOS running status information of the main processor, uses a preset interface to control the prompt module on the PCIe external interface card to provide running process prompts, and executes corresponding functions after the BIOS completes its operation, including power-on process prompts for the power control module.

Benefits of technology

It improves the reliability of computer operation and allows the BIOS operating status to be determined without adding physical connections, thus enabling safe hot-swapping of PCIe external interface cards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115794715B_ABST
    Figure CN115794715B_ABST
Patent Text Reader

Abstract

The application discloses a control method and device of a PCIe external interface card, a medium and a server, relates to the field of computers, and receives information indicating that a BIOS is in a running process or information indicating that the BIOS is in a running completion process. When the information indicating that the BIOS is in the running process is received, a preset existing interface on a programmable logic controller is used to control a prompt module on the PCIe external interface card to perform a running process prompt. When the information indicating that the BIOS is in the running completion process is received, the preset existing interface on the programmable logic controller is used to control the prompt module on the PCIe external interface card to perform a function corresponding to the preset existing interface. A worker can know the running condition of the BIOS without additional physical connection, and then knows whether the PCIe external interface card can be hot plugged, thereby improving the reliability of computer work.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computers, and in particular to a control method, apparatus, and medium for a PCIe external interface card. This invention also relates to a server. Background Technology

[0002] To improve the performance of the main processor in data storage and retrieval tasks, a PCIe (peripheral component interconnect express, high-speed serial computer expansion bus standard) external interface card is inserted between the computer and peripheral terminals. Since hot maintenance is often required during the use of the main processor and peripheral terminals, the PCIe external interface card must be hot-swappable.

[0003] After a computer boots up, the main processor first runs the BIOS (Basic Input Output System). Since the BIOS stores the computer's most important basic input / output programs, power-on self-test (POST) programs, and system startup programs, it provides the lowest-level and most direct hardware settings and control. Therefore, the main processor runs the BIOS first after booting to control peripheral devices via PCIe external interface cards. During BIOS operation, it assigns identifiers to each peripheral device. If a PCIe external interface card is hot-swapped during this process, the BIOS will miss assigning an identifier to that peripheral device, and the main processor will lack information about it, thus affecting the computer's normal operation. Therefore, PCIe external interface cards cannot be hot-swapped during BIOS operation; they can only be hot-swapped after the BIOS has finished running. However, operators cannot obtain information about the BIOS operation from the output of the PCIe external interface card, which may lead to situations where PCIe external interface cards are hot-swapped during BIOS operation. Summary of the Invention

[0004] The purpose of this invention is to provide a control method, device, and medium for a PCIe external interface card. Another purpose of this invention is to provide a server. By receiving information from the main processor indicating that the BIOS is in operation or has completed operation, when receiving information indicating that the BIOS is in operation, the system controls a prompting module on the PCIe external interface card to provide operation process prompts through a preset existing interface on the programmable logic controller (PLC); when receiving information indicating that the BIOS has completed operation, the system controls the prompting module on the PCIe external interface card to execute the function corresponding to the preset existing interface through the preset existing interface on the PLC. Operators can determine the BIOS operation status without adding additional physical connections, and thus determine whether the PCIe external interface card can be hot-swapped, improving the reliability of computer operation.

[0005] To address the aforementioned technical problems, this invention provides a control method for a PCIe external interface card, applied to a programmable logic controller (PLC), wherein the PLC is connected to the PCIe external interface card. The method includes:

[0006] Receive BIOS running status information sent by the main processor, wherein the running status information is information indicating that the BIOS is in the process of running or information indicating that the BIOS has completed running;

[0007] When the running status information indicates that the BIOS is in the process of running, the prompt module on the PCIe external interface card is controlled through the preset existing interface on the programmable logic controller to provide running process prompts.

[0008] When the running status information indicates that the BIOS has completed running, the prompt module on the PCIe external interface card is controlled by the preset existing interface on the programmable logic controller to execute the function corresponding to the preset existing interface. The function corresponding to the preset existing interface is the function executed when the BIOS has completed running.

[0009] Preferably, when the running status information indicates that the BIOS is in operation, the prompting module on the PCIe external interface card is controlled through a preset existing interface on the programmable logic controller to provide running status prompts, including:

[0010] When the running status information indicates that the BIOS is in the process of running, the power control module on the PCIe external interface card is controlled through the power control interface on the programmable logic controller to provide running status prompts.

[0011] When the running status information indicates that the BIOS has completed its operation, the prompt module on the PCIe external interface card is controlled by the preset existing interface on the programmable logic controller to execute the function corresponding to the preset existing interface. The function corresponding to the preset existing interface is the function executed after the BIOS has completed its operation, including:

[0012] When the running status information indicates that the BIOS is in the running completed state, the power control module on the PCIe external interface card is controlled by the power control interface on the programmable logic controller to execute the power-on process prompt of the PCIe external interface card. The power-on process prompt includes the hot-insertion process and hot-insertion completion of the PCIe external interface card.

[0013] The prompts during the running process are different from those during the power-on process.

[0014] Preferably, the power control module is a power indicator light.

[0015] Preferably, the power control module on the PCIe external interface card is controlled via the power control interface on the programmable logic controller to execute the power-on process prompt of the PCIe external interface card, including:

[0016] When the power-on process is indicated as the hot-insertion process of the PCIe external interface card, the power indicator light will indicate the first power-on process of the PCIe external interface card.

[0017] When the power-on process indicates that the hot-insertion of the PCIe external interface card is complete, the power indicator light will indicate the second power-on process of the PCIe external interface card.

[0018] The prompts for the first power-on process are different from those for the second power-on process.

[0019] Preferably, the first power-on process indicator is flashing, the second power-on process indicator is constantly lit, and the operation process indicator is off.

[0020] Preferably, the first power-on process prompt is a flashing at a first preset frequency, the second power-on process prompt is a constant light, and the operation process prompt is a flashing at a second preset frequency, wherein the first preset frequency and the second preset frequency are different.

[0021] Preferably, the programmable logic controller is a CPLD.

[0022] To address the aforementioned technical problems, the present invention also provides a control device for a PCIe external interface card, comprising:

[0023] Memory, used to store computer programs;

[0024] A programmable logic controller (PLC) is used to implement the control method of the PCIe external interface card when executing the computer program.

[0025] To address the aforementioned technical problems, the present invention also provides a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps of the control method for the PCIe external interface card.

[0026] To address the aforementioned technical problems, the present invention also provides a server, including the control device for the aforementioned PCIe external interface card.

[0027] This invention provides a control method, device, medium, and server for a PCIe external interface card. By receiving information from the main processor indicating that the BIOS is running or has completed its operation, the method controls a prompt module on the PCIe external interface card to provide running status prompts via a preset interface on the programmable logic controller (PLC). Conversely, by receiving information indicating that the BIOS has completed its operation, the method controls the prompt module on the PCIe external interface card to execute the function corresponding to the preset interface. This allows operators to determine the BIOS's operational status and whether the PCIe external interface card can be hot-swapped without adding additional physical wiring, thus improving the reliability of computer operation. Attached Figure Description

[0028] To more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the prior art and embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0029] Figure 1 A flowchart illustrating a control method for a PCIe external interface card provided by the present invention;

[0030] Figure 2 This is a schematic diagram of the structure of a control device for a PCIe external interface card provided by the present invention;

[0031] Figure 3 This is a schematic diagram of the control device for another PCIe external interface card provided by the present invention. Detailed Implementation

[0032] The core of this invention is to provide a control method, device, and medium for a PCIe external interface card; another core aspect is to provide a server. By receiving information from the main processor indicating that the BIOS is in operation or has completed operation, when receiving information indicating that the BIOS is in operation, the system controls a prompting module on the PCIe external interface card to provide operation process prompts through a preset existing interface on the programmable logic controller (PLC). When receiving information indicating that the BIOS has completed operation, the system controls the prompting module on the PCIe external interface card to execute the function corresponding to the preset existing interface through the PLC. This allows operators to determine the BIOS's operating status without adding additional physical connections, thereby determining whether the PCIe external interface card can be hot-swapped, improving the reliability of computer operation.

[0033] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0034] This invention provides a control method for a PCIe external interface card, applied to a programmable logic controller (PLC). The PLC is connected to the PCIe external interface card. Please refer to [reference needed]. Figure 1 , Figure 1 This is a flowchart illustrating a control method for a PCIe external interface card provided by the present invention. The method includes:

[0035] S11: Receive the BIOS running status information sent by the main processor. The running status information is either information indicating that the BIOS is in the process of running or information indicating that the BIOS has completed running.

[0036] When the running status information indicates that the BIOS is in the process of running, proceed to S12;

[0037] S12: The prompting module on the PCIe external interface card is controlled through the preset existing interface on the programmable logic controller to provide prompts during the operation process;

[0038] When the running status information indicates that the BIOS has completed its operation, proceed to S13;

[0039] S13: Control the prompt module on the PCIe external interface card to execute the function corresponding to the preset existing interface through the preset existing interface on the programmable logic controller. The function corresponding to the preset existing interface is the function executed by the BIOS after it has finished running.

[0040] PCIe external interface cards, also known as HBA (Host Bus Adapter) cards, are essential functional components of server and storage control systems. PCIe external interface cards transform the x86 system bus (referring to a series of backward compatible CPU instruction set architectures based on the Intel 8086) into an external component interconnect bus, capable of connecting to data center FC (Fibre Channel) switches, etc. Some self-developed system software in storage control systems requires that the BDF (Bus, Device, Function, a unique identifier corresponding to each function on the PCIe bus) number of each PCIe peripheral terminal be fixed. During BIOS operation, in the PCIe peripheral terminal scanning and enumeration phase, pre-set identifiers are assigned to each PCIe peripheral terminal. If a PCIe external interface card is plugged in or unplugged during BIOS operation, the BIOS will miss this PCIe peripheral terminal. When entering the Linux system, firstly, the system will not have information about this PCIe peripheral terminal; secondly, even if it is manually plugged in or unplugged, the Linux system will obtain a different BDF number than the preset one.

[0041] This invention is implemented on a programmable logic controller (PLC). Unlike general digital chips, PLCs have their internal digital circuitry planned and determined at the factory, and some types even allow for modifications after planning. General digital chips, however, have their internal circuitry predetermined at the factory and cannot be changed afterward. Therefore, the functionality of this invention can be directly achieved by modifying the PLC. The type of PLC is not limited; any PLC that meets the requirements is acceptable.

[0042] The computer's main processor sends control information to the programmable logic controller (PLC). The PLC then communicates with the PCIe external interface card via an input / output interface. In this embodiment, the input / output interface between the PLC and the PCIe external interface card is multiplexed. The multiplexed interface, which is a pre-defined interface controlled by a prompt module located on the PCIe external interface card, not only prompts the BIOS running status sent by the main processor but also performs its original functions after the BIOS has finished running. In this embodiment, the multiplexed interface is a pre-defined interface, and the type of this pre-defined interface is not limited, as long as it can achieve the above functions.

[0043] This invention provides a control method for a PCIe external interface card. By receiving information from the main processor indicating that the BIOS is running or has completed its operation, the method controls a prompting module on the PCIe external interface card to provide running status prompts via a preset interface on the programmable logic controller (PLC). Conversely, by receiving information indicating that the BIOS has completed its operation, the method controls the prompting module on the PCIe external interface card to execute the function corresponding to the preset interface. This allows operators to determine the BIOS's operational status without adding additional physical wiring, thus enabling hot-swapping of the PCIe external interface card and improving the reliability of computer operation.

[0044] Based on the above embodiments:

[0045] In a preferred embodiment, when the running status information indicates that the BIOS is in operation, the prompting module on the PCIe external interface card is controlled via a preset existing interface on the programmable logic controller to provide running status prompts, including:

[0046] When the running status information indicates that the BIOS is in the process of running, the power control module on the PCIe external interface card is controlled through the power control interface on the programmable logic controller to provide running status prompts.

[0047] When the running status information indicates that the BIOS has completed its operation, the prompt module on the PCIe external interface card is controlled by the preset existing interface on the programmable logic controller to execute the function corresponding to the preset existing interface. The function corresponding to the preset existing interface is the function executed after the BIOS has completed its operation, including:

[0048] When the running status information indicates that the BIOS is in the running state, the power control module on the PCIe external interface card is controlled through the power control interface on the programmable logic controller to execute the power-on process prompt of the PCIe external interface card. The power-on process prompt includes the hot-insertion process and hot-insertion completion of the PCIe external interface card.

[0049] The prompts during operation are different from those during power-on.

[0050] Generally, the main processor is equipped with one or more SMBUS (System Management Bus) interfaces. These SMBUS interfaces, connected to an external programmable logic controller, bring out the signals from the control interfaces (power enable control interface, reset control interface, presence signal interface, button indicator control interface, power control interface, and notification button interface) of each PCIe external interface card. In practical applications, these multiple control interfaces are brought out according to the usage environment, and rarely are all of them used.

[0051] The interfaces on the programmable logic controller (PLC) include a power enable control interface, a reset control interface, an in-position signal interface, a button / indicator control interface, a power control interface, and a notification button interface. These are all extended from the main processor via an external PLC. After entering the Linux system, the power control module controlled by the power control interface basically meets the needs of guiding customers and maintenance personnel for plugging and unplugging; only the control logic of the BIOS operation process needs to be added. If an interface is directly brought out from the PLC or the main processor to represent the BIOS operation process, and the PCIe external interface card uses this interface to control the power control module together with the power control interface, additional physical signals from the PCIe external interface card are required. Since PCIe external interface cards are based on a gold-finger protocol, signals cannot be arbitrarily added, making this solution essentially impractical.

[0052] This embodiment selects a power control interface for multiplexing. Using Verilog (Verilog HDL, a hardware description language) logic design, the programmable logic controller (PLC) internally receives signals indicating the BIOS's running status from the main processor and controls the power control module located on the PCIe external interface card. Specifically, during BIOS operation, the PLC receives a "BIOS running" signal from the main processor on the motherboard. When the "BIOS running" signal is 0, indicating BIOS is running, the PLC internally connects the PCIe external interface card's power control interface to the logic module with a "value = 0, not pluggable" setting. When the "BIOS running complete" signal is 1, indicating BIOS completion and entry into the Linux operating system, the PLC internally connects the PCIe external interface card's power control interface to the corresponding output of the logic module indicating the power-on process. This achieves both notification of the BIOS's running status from the main processor and notification of the power-on process after BIOS completion, as the power-on process notification includes the hot-plugging process and hot-plugging completion. The type of power control module is not limited; it can be a power indicator light or other modules capable of outputting notification information. There are no restrictions on the specific content of the prompts during operation and power-on.

[0053] In this embodiment, the reused power control interface controls the power control module on the PCIe external interface card to provide operation status prompts when the running status information indicates that the BIOS is in operation. When the running status information indicates that the BIOS has completed operation, the power control module on the PCIe external interface card is controlled by the power control interface on the programmable logic controller to perform power-on process prompts for the PCIe external interface card. This achieves the goal of using the power control module to prompt the BIOS operation status without affecting the original function of the power control module. Furthermore, it does not rely on circuitry, thus saving material usage and reducing PCB layout and routing space.

[0054] In a preferred embodiment, the power control module is a power indicator light.

[0055] In this embodiment, a power indicator light is selected as the power control module. Different prompts can be given by changing the color or lighting frequency of the power indicator light.

[0056] The device selected in this embodiment is easy to implement, has low cost, long service life, significant effect, and low power consumption.

[0057] In a preferred embodiment, the power control module on the PCIe external interface card is controlled via the power control interface on the programmable logic controller to execute the power-on process prompts for the PCIe external interface card, including:

[0058] When the power-on process is indicated as the hot-insertion process of the PCIe external interface card, the power indicator light will indicate the first power-on process of the PCIe external interface card.

[0059] When the power-on process indicates that the hot-insertion of the PCIe external interface card is complete, the power indicator light will indicate the second power-on process of the PCIe external interface card.

[0060] The prompts for the first power-on process are different from those for the second power-on process.

[0061] When the power control module functions as a power indicator, it can provide different prompts for different stages of the power-on process. For example, when the power-on process prompts "Hot-insertion of the PCIe external interface card," the Linux system's handling of this event mainly involves the Linux kernel powering on the PCIe external interface card, resetting it, allocating resources, loading drivers, etc. When the power-on process prompts "Hot-insertion of the PCIe external interface card complete," the power supply to the PCIe external interface card controlled by the Linux kernel is turned on, the hot-insertion operation is complete (mainly involving Linux driver loading, resource acquisition, etc.), and the peripheral terminal connected to the PCIe external interface card is successfully connected to the system. The specific content of the first and second power-on process prompts is not limited, as long as they are distinguishable.

[0062] This embodiment provides two power-on process prompts. By providing different prompts for different power-on processes, the staff's understanding of the power-on process is enhanced.

[0063] In a preferred embodiment, the first power-on prompt is flashing, the second power-on prompt is constantly lit, and the operation prompt is off.

[0064] This embodiment provides specific prompts for the first power-on process, the second power-on process, and the operation process. In addition, there may be other prompts, as long as they achieve the purpose.

[0065] The prompting method in this embodiment is easy to implement and convenient for staff to observe.

[0066] In a preferred embodiment, the first power-on process prompt is a flashing of a first preset frequency, the second power-on process prompt is a constant light, and the operation process prompt is a flashing of a second preset frequency. The first preset frequency and the second preset frequency are different.

[0067] This embodiment provides another first power-on process prompt, a second power-on process prompt, and an operation process prompt.

[0068] The prompting method in this embodiment is easy to implement and the prompts are quite obvious, making it easy for staff to observe.

[0069] As a preferred embodiment, the programmable logic controller is a CPLD (Complex Programmable Logic Device, a digital integrated circuit in which the user constructs logic functions according to their own needs).

[0070] A CPLD is a digital integrated circuit whose logic functions are constructed by the user according to their own needs. Its basic design method is to use an integrated development software platform to generate corresponding target files using schematic diagrams, hardware description languages, etc., and then transfer the code to the target chip via a download cable ("in-system" programming) to realize the designed digital system.

[0071] The CPLD in this embodiment features flexible programming, high integration, short design and development cycle, wide applicability, advanced development tools, low design and manufacturing costs, low hardware experience requirements for designers, no need for testing of standard products, strong confidentiality, and affordable price, enabling large-scale circuit design.

[0072] The present invention also provides a control device for a PCIe external interface card, comprising:

[0073] Memory 1 is used to store computer programs;

[0074] Programmable logic controller 2, used to implement the control method of PCIe external interface card when executing computer programs.

[0075] A programmable logic controller (PLC) 2 is a microprocessor-based digital control system used for automation control. It can load control instructions into memory for storage and execution at any time. It employs a programmable memory 1, which stores instructions for performing logical operations, sequential control, timing, counting, and arithmetic operations. Through digital or analog inputs and outputs, it controls various types of mechanical equipment or production processes.

[0076] Please refer to Figure 2 , Figure 3 , Figure 2 This is a schematic diagram of the control device for a PCIe external interface card provided by the present invention, wherein the main processor 21 controls the power indicator light 24 in the PCIe external interface card 23 through the interface of the programmable logic controller 22 to provide prompts; Figure 3 This is a schematic diagram of the control device for another PCIe external interface card provided by the present invention.

[0077] This invention provides a control device for a PCIe external interface card. It receives information from the main processor indicating that the BIOS is running or has completed its operation. Upon receiving information indicating the BIOS is running, it controls a prompt module on the PCIe external interface card to provide running status prompts via a preset interface on the programmable logic controller (PLC). Upon receiving information indicating the BIOS has completed its operation, it controls the prompt module on the PCIe external interface card to execute the function corresponding to the preset interface. This allows operators to determine the BIOS's operational status without adding additional physical wiring, thus enabling hot-swapping of the PCIe external interface card and improving the reliability of computer operation.

[0078] The specific implementation is as described above, and it has the same effect as the control method for the PCIe external interface card mentioned above.

[0079] The present invention also provides a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps of a control method for a PCIe external interface card.

[0080] It is understood that if the methods in the above embodiments are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and executes all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0081] The specific implementation is as described above, and it has the same effect as the control method for the PCIe external interface card mentioned above.

[0082] The present invention also provides a server, including a control device for a PCIe external interface card.

[0083] The server sends information indicating that the BIOS is running or has completed its operation to the control device of the PCIe external interface card via the main processor. When the control device receives information indicating that the BIOS is running, it controls the prompt module on the PCIe external interface card through a preset interface to provide operation prompts. When it receives information indicating that the BIOS has completed its operation, it controls the prompt module on the PCIe external interface card through a preset interface to execute the function corresponding to that preset interface. This allows operators to determine the BIOS status without adding additional physical connections, thus determining whether the PCIe external interface card can be hot-swapped, improving the reliability of computer operation.

[0084] The specific implementation is as described above, and it has the same effect as the control method for the PCIe external interface card mentioned above.

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

[0086] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

Claims

1. A control method for a PCIe external interface card, characterized in that, Applied to a programmable logic controller (PLC) connected to a PCIe external interface card, the method includes: Receive BIOS running status information sent by the main processor, wherein the running status information is information indicating that the BIOS is in the process of running or information indicating that the BIOS has completed running; When the running status information indicates that the BIOS is in the process of running, the prompt module on the PCIe external interface card is controlled through the preset existing interface on the programmable logic controller to provide running process prompts. When the running status information indicates that the BIOS is in the process of completing its operation, the prompt module on the PCIe external interface card is controlled by the preset existing interface on the programmable logic controller to execute the function corresponding to the preset existing interface. The function corresponding to the preset existing interface is the function executed when the BIOS is in the process of completing its operation. Specifically, when the running status information indicates that the BIOS is in operation, the prompting module on the PCIe external interface card is controlled through a preset existing interface on the programmable logic controller to provide running process prompts, including: When the running status information indicates that the BIOS is in the process of running, the power control module on the PCIe external interface card is controlled through the power control interface on the programmable logic controller to provide running status prompts. When the running status information indicates that the BIOS has completed its operation, the prompt module on the PCIe external interface card is controlled by the preset existing interface on the programmable logic controller to execute the function corresponding to the preset existing interface. The function corresponding to the preset existing interface is the function executed after the BIOS has completed its operation, including: When the running status information indicates that the BIOS is in the running completed state, the power control module on the PCIe external interface card is controlled by the power control interface on the programmable logic controller to execute the power-on process prompt of the PCIe external interface card. The power-on process prompt includes the hot-insertion process and hot-insertion completion of the PCIe external interface card. The prompts during the running process are different from those during the power-on process.

2. The control method for a PCIe external interface card as described in claim 1, characterized in that, The power control module is a power indicator light.

3. The control method for a PCIe external interface card as described in claim 2, characterized in that, The power control module on the PCIe external interface card is controlled via the power control interface on the programmable logic controller to execute the power-on process prompts for the PCIe external interface card, including: When the power-on process is indicated as the hot-insertion process of the PCIe external interface card, the power indicator light will indicate the first power-on process of the PCIe external interface card. When the power-on process indicates that the hot-insertion of the PCIe external interface card is complete, the power indicator light will indicate the second power-on process of the PCIe external interface card. The prompts for the first power-on process are different from those for the second power-on process.

4. The control method for a PCIe external interface card as described in claim 3, characterized in that, The first power-on process indicator is flashing, the second power-on process indicator is constantly lit, and the operation process indicator is off.

5. The control method for a PCIe external interface card as described in claim 3, characterized in that, The first power-on process prompt is a flashing at a first preset frequency, the second power-on process prompt is a constant light, and the operation process prompt is a flashing at a second preset frequency. The first preset frequency and the second preset frequency are different.

6. The control method for a PCIe external interface card as described in any one of claims 1 to 5, characterized in that, The programmable logic controller is a CPLD.

7. A control device for a PCIe external interface card, characterized in that, include: Memory, used to store computer programs; A programmable logic controller (PLC) is used to implement the steps of the control method for a PCIe external interface card as described in any one of claims 1 to 6 when executing the computer program.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the control method for the PCIe external interface card as described in any one of claims 1 to 6.

9. A server, characterized in that, Includes the control device for the PCIe external interface card as described in claim 7.

Citation Information

Patent Citations

  • Method and mainboard for achieving PCIE (peripheral component interface express) equipment hot-plug function through BIOS (basic input / output system)

    CN107133185A