CN109491947A - A kind of PCIE add-on card heat removes the sending method and relevant apparatus of information - Google Patents
A kind of PCIE add-on card heat removes the sending method and relevant apparatus of information Download PDFInfo
- Publication number
- CN109491947A CN109491947A CN201811353691.8A CN201811353691A CN109491947A CN 109491947 A CN109491947 A CN 109491947A CN 201811353691 A CN201811353691 A CN 201811353691A CN 109491947 A CN109491947 A CN 109491947A
- Authority
- CN
- China
- Prior art keywords
- heat
- information
- card
- pcie
- removes
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4063—Device-to-bus coupling
- G06F13/4068—Electrical coupling
- G06F13/4081—Live connection to bus, e.g. hot-plugging
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
A kind of PCIE add-on card heat provided herein removes the sending method of information, comprising: the heat for judging whether there is the PCIE add-on card removes operation;Operation information is removed if so, generating the heat and removing the corresponding heat of operation;The heat is removed into operation information using ASL file in BIOS and is sent to BMC.After the application detects that the heat of PCIE add-on card removes operation, it first generates the corresponding heat of the operation and removes operation information, and then heat is directly directly removed into operation information using ASL file in BIOS and is sent to BMC, without using other applications etc., solve compatibility issue of the unused application program under different operating system.The application also provides transmission system, a kind of computer readable storage medium and a kind of server of a kind of PCIE add-on card heat removal information, beneficial effect having the same.
Description
Technical field
This application involves server field, in particular to a kind of PCIE add-on card heat removes the sending method of information, sends
System, a kind of computer readable storage medium and a kind of server.
Background technique
It is higher and higher to the stability and reliability requirement of server with the development of computer technology, server
Often providing PCIE expansion card warm connection function can remove under an operating system so that PCIE expansion card is when something goes wrong
Then the PCIE expansion card adds a new PCIE expansion card, online replacement is not shut down in realization.The movement is because being transported in operating system
It is done when row, referred to as PCIe card hot plug, including heat removes and heat removes.
For server administrators, it is desirable to be able to the PCIe card information on server is obtained and check in real time, in order to pipe
Reason.Traditional collection implementation method is that server startup stage BIOS scans all PCIe cards, obtains the information of PCIe card, then
It is sent to BMC by the interface such as KCS etc. of BIOS and BMC, user obtains PCIe card on server by the interface that BMC is provided again
Information.
Existing PCIe card hot plug realizes usually by being completed by pcie hot plug driver under operating system, however
Supported that operating system is limited by system, different operating system needs to develop the application program under respective operations system, can not do
It is compatible with to unified.
Summary of the invention
The purpose of the application is to provide sending method, the transmission system, Yi Zhongji of a kind of PCIE add-on card heat removal information
Calculation machine readable storage medium storing program for executing and a kind of server solve the problems, such as the poor compatibility of existing PCIe card hot plug information transmission.
In order to solve the above technical problems, the application provides a kind of sending method of PCIE add-on card heat removal information, specifically
Technical solution is as follows:
The heat for judging whether there is the PCIE add-on card removes operation;
Operation information is removed if so, generating the heat and removing the corresponding heat of operation;
The heat is removed into operation information using ASL file in BIOS and is sent to BMC.
Wherein, the heat removal operation information is sent to BMC using ASL file in BIOS includes:
ASL file routine is executed using SCI, and the heat removal operation information is sent to BMC using ASL file in BIOS.
Wherein, after the heat removal operation information being sent to BMC using ASL file in BIOS, further includes:
BMC removes operation information according to the heat and updates PCIE device information.
Wherein, the heat for judging whether there is the PCIE add-on card removes operation and includes:
Operation is removed using the heat that ASL file judges whether there is the PCIE add-on card.
The application also provides a kind of transmission system of PCIE add-on card heat removal information, comprising:
Detection module, the heat for judging whether there is the PCIE add-on card remove operation;
Generation module when being judged as YES for the detection module, generates the corresponding heat of the heat removal operation and removes behaviour
Make information;
Sending module is sent to BMC for the heat to be removed operation information using ASL file in BIOS.
Wherein, the sending module utilizes ASL file in BIOS will particularly for using SCI execution ASL file routine
The heat removes the module that operation information is sent to BMC.
Wherein, further includes:
Update module updates PCIE device information for removing operation information according to the heat.
Wherein, detection module is removed particularly for the heat for judging whether there is the PCIE add-on card using ASL file
The module of operation.
The application also provides a kind of computer readable storage medium, is stored thereon with computer program, the computer journey
The step of sending method as described above is realized when sequence is executed by processor.
The application also provides a kind of server, including memory and processor, has computer program in the memory,
The step of processor realizes method as described above when calling the computer program in the memory.
A kind of PCIE add-on card heat provided herein removes the sending method of information, comprising: judges whether there is institute
The heat for stating PCIE add-on card removes operation;Operation information is removed if so, generating the heat and removing the corresponding heat of operation;Utilize BIOS
The heat is removed operation information and is sent to BMC by middle ASL file.After the application detects that the heat of PCIE add-on card removes operation,
It first generates the corresponding heat of the operation and removes operation information, and then heat is directly directly removed into operation letter using ASL file in BIOS
Breath is sent to BMC, without using other applications etc., solves compatibility of the unused application program under different operating system
Property problem.The application also provides a kind of transmission system of PCIE add-on card heat removal information, a kind of computer readable storage medium
With a kind of server, beneficial effect having the same, details are not described herein again.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart of the sending method of PCIE add-on card heat removal information provided by the embodiment of the present application;
Fig. 2 is a kind of transmission system structure signal of PCIE add-on card heat removal information provided by the embodiment of the present application
Figure.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application
In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is
Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art
Every other embodiment obtained without making creative work, shall fall in the protection scope of this application.
S101: detect whether that the heat there are the PCIE add-on card removes operation;
This step is intended to detect whether that the heat there are PCIE add-on card removes operation.It is understood that PCIE add-on card
Heat to remove operation be the trigger condition for sending heat and removing information, i.e., must detect that heat removes the transmittable heat in operation rear and removes
Information.Herein for how to detect whether that the heat removal operation there are PCIE add-on card is not construed as limiting.For example, can be with scanning system
The state of middle PCIE device simultaneously compares with last scanning result, to judge whether there is new PCIE add-on card access;Or
Person the power on signal of the port where the PCIE add-on card such as detects when PCIE add-on card heat removes.Certainly, also
There can be other detection modes, a different citing limits herein.
Particularly, other operations of operation association can also be removed to heat, such as can to exist by the way that BIOS is arranged
The heat of PCIE add-on card executes setting when removing operation and interrupts, and also implies that hot removal has occurred when there is the setting and interrupt in this way
Operation.
Preferably, can use SCI, (System Control Interrupt, a kind of interruption, operating system is in the interruption
The relevant interface for calling BIOS to provide after generation), SCI is the interruption of OS (operating system, operating system) rank, is
What ACPI was defined, it is exclusively used in an IRQ (Interrupt Request, interrupt requests) for ACPI power management, needs OS branch
It holds.After SCI pin triggering, CPU go to execute some be placed on Interrupt Descriptor Table (IDT, Interrupt Descriptor Table,
For be associated with interrupt and corresponding treatment process) in formula, typically be directed toward driving formula (ACPI.sys), ACPI
Driver is notified that relevant driving formula (ACPI EC Driver), then obtains a code with BIOS, then OS can be gone
Execute corresponding ASL file.Behaviour is removed using the heat that ASL file judges whether there is the PCIE add-on card at this point, being equivalent to
Make.Specifically, ASL file can be modified, the detection function that detection PCIE add-on card heat removes operation is made it have, is equivalent to one
A ASL script.
S102: it generates heat and removes operation information;
After this step is intended to detect that the heat of PCIE add-on card removes operation in S101, generates corresponding heat and remove operation letter
Breath.The purpose that heat removes operation information is to enable BMC update the PCIE device information, therefore it should include BMC that heat, which removes operation information,
Required information.The particular content for removing operation information for the heat herein is not construed as limiting, and usually may include PCIE external
Card information, port information etc., wherein the external card information of PCIE is that heat removes required information in operation information, and other information is not made
It limits.
It should be noted that the external card information of port information described above, PCIE is already present in system
Information, and the generation heat in this step removes operation information and refers to obtaining these information in fact and integrate.
Preferably, when using SCI, this step can also be realized by ASL file, i.e., it is external to read PCIE by ASL file
Card information etc. simultaneously generates heat removal operation information.
S103: the heat is removed into operation information using ASL file in BIOS and is sent to BMC.
This step, which is intended to that heat is removed operation information using ASL file, is sent to BMC.ASL file refers to ACPI
Source Language file, becomes AML after compiler is compiled, is then executed by operating system.The prior art
In, obtained the external card information of PCIE by application program and sent to BMC, however due to needed under different operating system using
Unused application program, compatibility are poor.And ASL file is then the file in BIOS, and there is no for different operation system
It unites incompatible problem.In this step, only the code portions of ASL file need to be allocated as accordingly to modify, allow to move heat
Except information is sent to BMC.In other words, in this step, ASL file is equivalent to ASL script.
Further, by being utilized in BIOS to the description of SCI it is found that can use SCI and execute ASL file routine in S101
Heat is removed operation information and is sent to BMC by ASL file.
After the embodiment of the present application detects that the heat of PCIE add-on card removes operation, first generates the corresponding heat of the operation and remove behaviour
Make information, and then heat is directly directly removed into operation information using ASL file in BIOS and is sent to BMC, is answered without using other
With program etc., solve compatibility issue of the unused application program under different operating system.
Based on the above embodiment, as preferred embodiment, the heat is removed into operation information using ASL file in BIOS
After being sent to BMC, further includes:
BMC removes operation information according to the heat and updates PCIE device information.
After BMC, which receives heat, removes operation information, that is, the PCIE device information itself stored is updated, guarantees that itself is deposited
The PCIE device information of storage is up-to-date information.BMC can be including CPU, memory, hard with the information of various parts in management server
Disk, fan etc., BMC update the PCIE device information of itself, are conducive to the management for the PCIE device reinforced, guarantee server
It operates normally.
Based on the above embodiment, as preferred embodiment, below from the angle of BIOS to above-described embodiment outside PCIE
It connects before card heat removal operates and the whole process after heat removal operates occurs and make clearer explanation:
For BIOS, it can be configured, such as trigger SCI when setting PCIE add-on card heat removal.At this time
The ASL file in BIOS can be modified, and ASL file is reported into ACPITABLE, finally starts and enters operating system.
This is because BIOS can be loaded into packet in RAM (i.e. memory) in the ACPITABLE in BIOS ROM in start process, then
OS can find ACPITABLE and load and execution.The purpose of modification ASL file is that ASL file is enabled to remove with PCIE add-on card heat
The read functions of information generate heat and remove the function of operation information and heat is removed the function that operation information is sent to BMC.When
So, to put it simply, ASL file can also be sent directly to BMC after obtaining heat and removing the content for including in operation information, this
Sample need to only have " reading " and " transmission " two functions.
After launching into operating system, PCIE add-on card heat occurs at this time and removes operation, since BIOS is set in advance
It sets and triggers SCI when PCIE add-on card heat removes, therefore directly trigger SCI.The modified ASL text in BIOS is executed in SCI
Part realizes that obtaining heat removes operation information and be sent to BMC.The present embodiment is any using journey without developing in an operating system
Sequence, without considering incompatibility problem caused by application program.
The transmission system for removing information to a kind of PCIE add-on card heat provided by the embodiments of the present application below is introduced, under
The transmission system of text description can correspond to each other reference with a kind of sending method of above-described PCIE add-on card heat removal information.
Fig. 2 is a kind of transmission system structure signal of PCIE add-on card heat removal information provided by the embodiment of the present application
Figure, the transmission system include:
Detection module 100, for detecting whether the heat there are the PCIE add-on card removes operation;
Generation module 200 when being judged as YES for the detection module 100, generates heat and removes operation information;
Sending module 300 is sent to BMC for the heat to be removed operation information using ASL file in BIOS.
Based on the above embodiment, as preferred embodiment, the sending module 300 is executed particularly for using SCI
The heat is removed the module that operation information is sent to BMC using ASL file in BIOS by ASL file routine.
Based on the above embodiment, as preferred embodiment, the transmission system can also include:
Update module updates PCIE device information for removing operation information according to the heat.
Based on the above embodiment, as preferred embodiment, detection module 100 is specifically as follows for utilizing ASL file
Detect whether that there are the modules that the heat of the PCIE add-on card removes operation.
Present invention also provides a kind of computer readable storage mediums, have computer program thereon, the computer program
It is performed and the step of a kind of PCIE add-on card heat provided by above-described embodiment removes the sending method of information may be implemented.It should
Storage medium may include: USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory
The various media that can store program code such as (Random Access Memory, RAM), magnetic or disk.
Present invention also provides a kind of servers, may include memory and processor, have calculating in the memory
Machine program when the processor calls the computer program in the memory, may be implemented one provided by above-described embodiment
The step of kind PCIE add-on card heat removes the sending method of information.Certain server can also include various network interfaces,
The components such as power supply.
Each embodiment is described in a progressive manner in specification, the highlights of each of the examples are with other realities
The difference of example is applied, the same or similar parts in each embodiment may refer to each other.For embodiment provide system and
Speech, since it is corresponding with the method that embodiment provides, so being described relatively simple, related place is referring to method part illustration
?.
Specific examples are used herein to illustrate the principle and implementation manner of the present application, and above embodiments are said
It is bright to be merely used to help understand the present processes and its core concept.It should be pointed out that for the ordinary skill of the art
For personnel, under the premise of not departing from the application principle, can also to the application, some improvement and modification can also be carried out, these improvement
It is also fallen into the protection scope of the claim of this application with modification.
It should also be noted that, in the present specification, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that
A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or
The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged
Except there is also other identical elements in the process, method, article or apparatus that includes the element.
Claims (10)
1. the sending method that a kind of PCIE add-on card heat removes information characterized by comprising
The heat for judging whether there is the PCIE add-on card removes operation;
Operation information is removed if so, generating the heat and removing the corresponding heat of operation;
The heat is removed into operation information using ASL file in BIOS and is sent to BMC.
2. sending method according to claim 1, which is characterized in that the heat is removed behaviour using ASL file in BIOS
Being sent to BMC as information includes:
The heat removal operation information is sent to BMC by the ASL file executed in the BIOS when triggering SCI.
3. sending method according to claim 1, which is characterized in that the heat is removed behaviour using ASL file in BIOS
After BMC is sent to as information, further includes:
The BMC removes operation information according to the heat and updates PCIE device information.
4. sending method according to claim 1, which is characterized in that the heat for judging whether there is the PCIE add-on card is moved
Except operation includes:
Operation is removed using the heat that the ASL file judges whether there is the PCIE add-on card.
5. the transmission system that a kind of PCIE add-on card heat removes information characterized by comprising
Detection module, the heat for judging whether there is the PCIE add-on card remove operation;
Generation module when being judged as YES for the detection module, generates the corresponding heat of the hot removal operation and removes to operate and believe
Breath;
Sending module is sent to BMC for the heat to be removed operation information using ASL file in BIOS.
6. transmission system according to claim 5, which is characterized in that the sending module is particularly in triggering SCI
The heat is removed the module that operation information is sent to BMC by the ASL file in BIOS described in Shi Zhihang.
7. transmission system according to claim 5, which is characterized in that further include:
Update module updates PCIE device information for removing operation information according to the heat.
8. transmission system according to claim 5, which is characterized in that detection module is particularly for literary using the ASL
The heat that part judges whether there is the PCIE add-on card removes the module of operation.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt
The step of processor realizes sending method according to any one of claims 1-4 when executing.
10. a kind of server, which is characterized in that including memory and processor, have computer program, institute in the memory
It states when processor calls the computer program in the memory and realizes sending method according to any one of claims 1-4
Step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811353691.8A CN109491947B (en) | 2018-11-14 | 2018-11-14 | Method and related device for sending heat removal information of PCIE (peripheral component interface express) external card |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811353691.8A CN109491947B (en) | 2018-11-14 | 2018-11-14 | Method and related device for sending heat removal information of PCIE (peripheral component interface express) external card |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109491947A true CN109491947A (en) | 2019-03-19 |
CN109491947B CN109491947B (en) | 2021-12-03 |
Family
ID=65695971
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811353691.8A Active CN109491947B (en) | 2018-11-14 | 2018-11-14 | Method and related device for sending heat removal information of PCIE (peripheral component interface express) external card |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109491947B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113064646A (en) * | 2021-03-24 | 2021-07-02 | 山东英信计算机技术有限公司 | BIOS starting method, system and related device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107678997A (en) * | 2017-09-27 | 2018-02-09 | 郑州云海信息技术有限公司 | Hot-plug method, system, device and the readable storage medium storing program for executing of PCIE plug-in cards |
CN107735769A (en) * | 2015-06-26 | 2018-02-23 | 英特尔公司 | Firmware dependent event notifies |
US20180129574A1 (en) * | 2016-01-08 | 2018-05-10 | Huawei Technologies Co., Ltd. | Central Processing Unit CPU Hot-Remove Method and Apparatus, and Central Processing Unit CPU Hot-Add Method and Apparatus |
CN108304044A (en) * | 2018-02-28 | 2018-07-20 | 郑州云海信息技术有限公司 | A kind of setting method and system of NVME hard disk hot-plugs |
CN108319539A (en) * | 2018-02-28 | 2018-07-24 | 郑州云海信息技术有限公司 | A kind of method and system generating GPU card slot position information |
-
2018
- 2018-11-14 CN CN201811353691.8A patent/CN109491947B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107735769A (en) * | 2015-06-26 | 2018-02-23 | 英特尔公司 | Firmware dependent event notifies |
US20180129574A1 (en) * | 2016-01-08 | 2018-05-10 | Huawei Technologies Co., Ltd. | Central Processing Unit CPU Hot-Remove Method and Apparatus, and Central Processing Unit CPU Hot-Add Method and Apparatus |
CN107678997A (en) * | 2017-09-27 | 2018-02-09 | 郑州云海信息技术有限公司 | Hot-plug method, system, device and the readable storage medium storing program for executing of PCIE plug-in cards |
CN108304044A (en) * | 2018-02-28 | 2018-07-20 | 郑州云海信息技术有限公司 | A kind of setting method and system of NVME hard disk hot-plugs |
CN108319539A (en) * | 2018-02-28 | 2018-07-24 | 郑州云海信息技术有限公司 | A kind of method and system generating GPU card slot position information |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113064646A (en) * | 2021-03-24 | 2021-07-02 | 山东英信计算机技术有限公司 | BIOS starting method, system and related device |
Also Published As
Publication number | Publication date |
---|---|
CN109491947B (en) | 2021-12-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10353779B2 (en) | Systems and methods for detection of firmware image corruption and initiation of recovery | |
JP6530774B2 (en) | Hardware failure recovery system | |
US8001368B2 (en) | Hot-pluggable information processing device and setting method | |
US8751783B2 (en) | Booting computing devices with EFI aware operating systems | |
US8468389B2 (en) | Firmware recovery system and method of baseboard management controller of computing device | |
CN110083494B (en) | Method and apparatus for managing hardware errors in a multi-core environment | |
US10387261B2 (en) | System and method to capture stored data following system crash | |
CN102439565B (en) | Method and device for starting recovery | |
CN100407151C (en) | System and method for managing multiple hot plug operations | |
US20150186161A1 (en) | Platform system, method for changing support hardware configuration of universal extensible firmware interface basic input output system and computer program product | |
US7962736B1 (en) | Interactive pre-OS firmware update with repeated disabling of interrupts | |
CN105723348A (en) | Detection of unauthorized memory modification and access using transactional memory | |
JP2012508932A (en) | Manage cache data and metadata | |
CN105607972B (en) | A kind of method and device repaired extremely | |
CN114222975A (en) | Data preservation using memory aperture flush sequence | |
CN101295253B (en) | Method for updating firmware | |
EP2280348B1 (en) | Method and system for saving operational state of running applications when unexpected shutdown events occur | |
WO2020015116A1 (en) | Database monitoring method and terminal device | |
US7849300B2 (en) | Method for changing booting sources of a computer system and a related backup/restore method thereof | |
CN109491947A (en) | A kind of PCIE add-on card heat removes the sending method and relevant apparatus of information | |
CN113064745A (en) | Method, device and medium for reporting error information | |
US8694989B1 (en) | Virtual installation environment | |
KR20050120856A (en) | A method for upgrading and restoring embeded systems by using usb memory device | |
WO2023279875A1 (en) | Bootloader startup procedure monitoring method and apparatus, embedded device, and storage medium | |
CN109508312A (en) | A kind of sending method and relevant apparatus of PCIE add-on card heat addition information |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |