CN103412769B - External card parameter configuration, equipment and system - Google Patents

External card parameter configuration, equipment and system Download PDF

Info

Publication number
CN103412769B
CN103412769B CN201310316442.2A CN201310316442A CN103412769B CN 103412769 B CN103412769 B CN 103412769B CN 201310316442 A CN201310316442 A CN 201310316442A CN 103412769 B CN103412769 B CN 103412769B
Authority
CN
China
Prior art keywords
parameter
card
add
configuration file
bios
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.)
Active
Application number
CN201310316442.2A
Other languages
Chinese (zh)
Other versions
CN103412769A (en
Inventor
陈刚
陶林
李羿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
XFusion Digital Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310316442.2A priority Critical patent/CN103412769B/en
Publication of CN103412769A publication Critical patent/CN103412769A/en
Application granted granted Critical
Publication of CN103412769B publication Critical patent/CN103412769B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of external card parameter configuration, equipment and system.Methods described includes:Baseboard management controller BMC receives the add-on card parameter-configuring request that basic input-output system BIOS is sent;By the parameter current configuration file of add-on card compared with default parameters configuration file;And in the case of the parameter current configuration file and default parameters configuration file difference, the parameter current configuration file is sent to the BIOS, to cause the BIOS automatically updating and configuring according to the parameter of parameter current configuration file completion add-on card.The embodiment of the present invention, parameter current configuration file can be sent to by BIOS by BMC, so as to support BIOS to carry out automatic, unified renewal and configuration to the parameter of add-on card, improve the efficiency and accuracy of configuration add-on card parameter.

Description

External card parameter configuration, equipment and system
Technical field
The present invention relates to field of computer technology, more particularly to a kind of external card parameter configuration, equipment and system.
Background technology
Add-on card refers to third party's network interface card, the RAID in addition to the card that veneer such as computer motherboard carries in itself herein (Redundant Array of Independent Disks, redundant arrays of inexpensive disks)Card and PCIE(Peripheral Component Interconnect Express, Peripheral Component Interconnect high-speed interface)Buckle etc..The function of add-on card is typically logical Its configuration parameter is crossed to realize, such as the function of network interface card passes through MAC(Media Access Control, media access control)Ground The configuration parameters such as location, network startup function are realized.In server system environment, the configuration parameter of add-on card need according to Family needs or concrete application scene often modification or upgrading.
Generally, the manufacturer of add-on card provides traditional parameter codes to BIOS(Basic Input Output System, Basic input output system).Traditional parameter codes of add-on card include OPROM(Option ROM, the read-only storage of selectivity Device)File or EFI(Extensible Firmware Interface, Extensible Firmware Interface)Driving.Wherein, OPROM is The binary file for the device drives that third party manufacturer provides, so-called OPROM codes generally refer to BIOS in the process of running Above-mentioned binary file is carried out to decompress caused code.In fact, BIOS only needs to copy OPROM to specific memory area thereofs Domain, OPROM will automatically be decompressed in BIOS runnings and be obtained OPROM codes.Wherein, OPROM can be stored in add-on card EPROM(Erasable Programmable Read Only Memory, Erasable Programmable Read Only Memory EPROM)In.BIOS It is one group and is cured in computer a ROM on mainboard(Read Only Memory, read-only storage)Program on chip, it Self-check program and system self-triggered program, menu journey after the most important program of input and output substantially of in store computer, start Sequence, its major function are to provide the bottom, most direct hardware setting, control and access for computer.By in BIOS generations The binary object file of add-on card configuration parameter is integrated in code, in BIOS startup stages, is initialised in video card, lights screen Afterwards, shortcut is pressed by user, into corresponding BIOS menu interfaces, is checked by BIOS menu interfaces, changes matching somebody with somebody for add-on card Put.Such as the BIOS menu interfaces of Broadcom network interface cards can be entered by " ctrl+s " shortcut.But this method is needed to BIOS There is the people necessarily understood to operate;Also, if more machines need to change, or need to change multiple configuration items, every Machine will manual operations, modification efficiency is low and easy error;Because the hot key of different types of add-on card may be different, or There is the situation that button is not responding to, user may cannot be introduced into configuration interface, so as to cause parameter correctly to configure.
In addition, user can change the configuration file of add-on card manufacturer offer according to demand, then will be supporting with configuration file Write with a brush dipped in Chinese ink instrument and amended configuration file copies OS to(Operating System, operating system)Under environment, with order Capable mode completes the configuration of parameter.But this method, which relies on manufacturer, to be provided and write with a brush dipped in Chinese ink instrument, when there is multiple add-on card undated parameters Shi Rongyi obscures;Due to different external connection card configuration parameter order may it is different, it is necessary to user understand input order and The corresponding relation of parameter;Furthermore, it is desirable to install OS in advance, then make single board starting to being updated under OS environment, after having updated Needing to restart OS once can just come into force.
In summary, prior art needs human configuration add-on card parameter by BIOS menu interfaces, by writing with a brush dipped in Chinese ink instrument Add-on card parameter is configured under OS environment with the mode of order line to rely on instrument of writing with a brush dipped in Chinese ink, easily obscure and need to restart OS, it is therefore, existing The process efficiency of some configuration add-on card parameters is low and easy error.
The content of the invention
Technical problem
In view of this, the technical problem to be solved in the present invention is:The process efficiency for configuring add-on card parameter is low and error-prone.
Technical scheme
In order to solve the above-mentioned technical problem, according to one embodiment of the invention, there is provided a kind of add-on card parameter configuration side Method, including:Baseboard management controller BMC receives the add-on card parameter-configuring request that basic input-output system BIOS is sent;
By the parameter current configuration file of add-on card compared with default parameters configuration file;And
In the case of the parameter current configuration file and default parameters configuration file difference, the parameter current is matched somebody with somebody Put file and be sent to the BIOS, to cause the BIOS according to the parameter of parameter current configuration file completion add-on card Automatically update and configure.
It is described by the current of add-on card in a kind of possible implementation for above-mentioned external card parameter configuration Before parameter configuration files are compared with default parameters configuration file, including:The BMC receives what remote subscriber interface was sent The parameter current configuration file, parameter current configuration file life after the remote subscriber interface batch modification by user Into.
It is described by the current of add-on card in a kind of possible implementation for above-mentioned external card parameter configuration Before parameter configuration files are compared with default parameters configuration file, in addition to:The BMC receives the institute that the BIOS is sent Default parameters configuration file is stated, and the default parameters configuration file is stored in nonvolatile memory NVRAM, the acquiescence Parameter configuration files are read by the BIOS from the Erasable Programmable Read Only Memory EPROM EPROM of each add-on card.
For above-mentioned external card parameter configuration, in a kind of possible implementation, the BIOS works as according to described Preceding parameter configuration files complete automatically updating and configuring for the parameter of add-on card, including:The BIOS parses the parameter current Configuration file, analysis result is stored to chained list, the analysis result includes the identification information for needing to change the add-on card of parameter And its corresponding configuration parameter information;The BIOS is carrying out the process of Peripheral Component Interconnect high-speed interface PCIE device scanning In, the initial parameter codes of each add-on card are copied into region of memory, the memory field is determined according to the identification information Position to be updated in domain, using the identification information in the chained list described in corresponding configuration parameter information substitution it is to be updated The parameter codes of position, obtain the current parameter codes of each add-on card;And the BIOS calls the ginseng of each add-on card The entrance function of number code, to perform the current parameter codes of each add-on card.
For above-mentioned external card parameter configuration, in a kind of possible implementation, the ginseng of each add-on card Number code is that selective read-only storage OPROM codes or Extensible Firmware Interface EFI drive code.
In order to solve the above-mentioned technical problem, according to another embodiment of the present invention, there is provided a kind of add-on card parameter configuration Equipment, including:
Receiving unit, for receiving the add-on card parameter-configuring request of basic input-output system BIOS transmission;
Processing unit, it is connected with the receiving unit, the parameter current configuration file for comparing add-on card is joined with acquiescence Number configuration file;And
Transmitting element, it is connected with the processing unit, for being configured in the parameter current configuration file and default parameters In the case of file difference, the parameter current configuration file is sent to the BIOS, to cause the BIOS according to Parameter current configuration file completes automatically updating and configuring for the parameter of add-on card.
For above-mentioned add-on card parameter configuration equipment, in a kind of possible implementation, the receiving unit is additionally operable to The parameter current configuration file that remote subscriber interface is sent is received, the parameter current configuration file is by user described remote Generated after journey user interface batch modification.
For above-mentioned add-on card parameter configuration equipment, in a kind of possible implementation, the receiving unit is additionally operable to The default parameters configuration file that the BIOS is sent is received, the processing unit is additionally operable to the default parameters configuring text Part is stored in nonvolatile memory NVRAM, and the default parameters configuration file is by the BIOS from the erasable of each add-on card Except being read in programmable read only memory EPROM.
In order to solve the above-mentioned technical problem, according to still another embodiment of the invention, there is provided a kind of add-on card parameter configuration System, including:
BMC, using the add-on card parameter configuration equipment of any one structure in the embodiment of the present invention;
BIOS, automatically updating and configuring for the parameter according to parameter current configuration file completion add-on card;With And
Remote subscriber interface, for the batch modification according to user to add-on card parameter, generate parameter current configuration file.
For above-mentioned add-on card parameter configuring system, in a kind of possible implementation, the BIOS includes:Parsing is single Member, it is connected with the transmitting element, for parsing the parameter current configuration file, analysis result is stored to chained list, it is described Analysis result includes needing to change the identification information of the add-on card of parameter and its corresponding configuration parameter information;Updating block, with The resolution unit connection, will be each outer during being scanned in progress Peripheral Component Interconnect high-speed interface PCIE device The initial parameter codes for connecing card copy to region of memory, are determined according to the identification information to be updated in the region of memory Position, using the parameter generation of identification information position to be updated described in corresponding configuration parameter information substitution in the chained list Code, obtains the current parameter codes of each add-on card;And execution unit, it is connected with the updating block, it is each for calling The entrance function of the parameter codes of individual add-on card, to perform the current parameter codes of each add-on card.
To above-mentioned add-on card parameter configuring system, in a kind of possible implementation, the parameter of each add-on card Code is that selective read-only storage OPROM codes or Extensible Firmware Interface EFI drive code
Beneficial effect
In the present invention, the add-on card parameter-configuring request that BIOS sends is received by BMC, and by the current ginseng of add-on card Number configuration file is compared with default parameters configuration file, in the parameter current configuration file and default parameters configuration file In the case of difference, the parameter current configuration file is sent to the BIOS, to cause the BIOS according to described current Parameter configuration files complete automatically updating and configuring for the parameter of add-on card.Add-on card parameter configuration according to embodiments of the present invention Method, parameter current configuration file can be sent to by BIOS by BMC, so as to support BIOS to carry out certainly the parameter of add-on card Dynamic, unified renewal and configuration, improve the efficiency and accuracy of configuration add-on card parameter.In addition, user can remotely use On the interface of family change add-on card parameter, due to user interface when add-on card parameter change it is less demanding to user, grasp Make it is simple and convenient, it is not error-prone, be further ensured that the correct configuration of add-on card parameter.
Brief description of the drawings
Comprising in the description and the Figure of description of a part for constitution instruction and specification together illustrate this Exemplary embodiment, feature and the aspect of invention, and for explaining the principle of the present invention.
Fig. 1 shows the flow chart of external card parameter configuration according to an embodiment of the invention;
Fig. 2 a show the flow chart of external card parameter configuration according to another embodiment of the present invention;
Fig. 2 b show the signal of configuration file transmission in external card parameter configuration according to another embodiment of the present invention Figure;
Fig. 3 shows the structured flowchart of add-on card parameter configuration equipment according to an embodiment of the invention;
Fig. 4 shows the structured flowchart of add-on card parameter configuring system according to an embodiment of the invention;And
Fig. 5 shows the structured flowchart of the add-on card parameter configuration equipment according to further embodiment of this invention.
Embodiment
Describe various exemplary embodiments, feature and the aspect of the present invention in detail below with reference to accompanying drawing.It is identical in accompanying drawing Reference represent the same or analogous element of function.Although the various aspects of embodiment are shown in the drawings, remove Non-specifically point out, it is not necessary to accompanying drawing drawn to scale.
Special word " exemplary " is meant " being used as example, embodiment or illustrative " herein.Here as " exemplary " Illustrated any embodiment should not necessarily be construed as preferred or advantageous over other embodiments.
In addition, in order to better illustrate the present invention, numerous details is given in embodiment below. It will be appreciated by those skilled in the art that without these details, the present invention can equally be implemented.In other example, It is not described in detail for known method, means, element and circuit, in order to highlight the purport of the present invention.
Embodiment 1
Fig. 1 shows the flow chart of external card parameter configuration according to an embodiment of the invention.As shown in figure 1, this is outer Card method for parameter configuration is connect to may comprise steps of:
Step S101, BMC(Baseboard Management Controller, baseboard management controller)Receive BIOS The add-on card parameter-configuring request of transmission;
Step S102, by the parameter current configuration file of add-on card compared with default parameters configuration file, described Step S103 is performed in the case of parameter current configuration file and default parameters configuration file difference, otherwise system can be according to silent Other processing can also be carried out by recognizing configuration and continuing startup;
Step S103, the parameter current configuration file is sent to the BIOS, to cause the BIOS according to Parameter current configuration file completes automatically updating and configuring for the parameter of add-on card.
In the embodiment of the present invention, interacting between BMC and BIOS can pass through IPMI(Intelligent Platform Management Interface, IPMI)Order to realize.Wherein, IPMI is mainly used for remotely managing Manage server hardware, record hardware various event logs, by significant event report to remote supervisory and control(ling) equipment.IPMI core It is a special integrated circuit BMC, BMC is typically mounted on mainboard.All IPMI functions can be by sending to BMC IPMI orders are completed.BMC can connect various sensors, and these sensors are distributed on all parts of server, and BMC leads to Cross these sensor management server hardwares.In the embodiment of the present invention, BMC can obtain BIOS transmissions by receiving IPMI orders Add-on card parameter-configuring request, by the parameter current configuration file of add-on card compared with default parameters configuration file after, , can be by IPMI orders by parameter current configuration file if parameter current configuration file is different from default parameters configuration file BIOS is sent to, automatically updates and matches somebody with somebody to allow BIOS to complete according to parameter current configuration file the parameter of add-on card Put.
Parameter current configuration file can be sent to BIOS by the present embodiment by BMC, so as to support BIOS to add-on card Parameter carry out automatic, unified renewal and configuration, improve the efficiency and accuracy of configuration add-on card parameter.
Embodiment 2
Fig. 2 a show the flow chart of external card parameter configuration according to another embodiment of the present invention.In Fig. 2 a with Fig. 1 The identical step of label has identical function, for simplicity, omits the detailed description to these steps.Also, such as Fig. 2 a Shown, the main distinction of method and method shown in Fig. 1 is shown in Fig. 2 a, before step S102, the add-on card parameter configuration Method can also include:
Step S201, described BMC receives the parameter current configuration file that remote subscriber interface is sent, wherein, it is described Parameter current configuration file is generated by user after the remote subscriber interface batch modification.
Specifically, as shown in Figure 2 b, to show to match somebody with somebody in external card parameter configuration according to another embodiment of the present invention The schematic diagram of file transmission is put, user, with postponing, can generate parameter current by remote subscriber interface batch modification add-on card Configuration file, and the current parameter configuration files are sent to BMC, it is stored in BMC NVRAM(Non-Volatile Random Access Memory, nonvolatile memory)In.
By taking network interface card as an example, it is assumed that the identification information of network interface card is in a certain server:VID(Vendor Identity, equipment Manufacturer numbers)And DID(Device Identity, device numbering).When user is needed in the network card configuration parameter OEMELX_PFType parameters are revised as " iSCSI ", and the OEMELX_MinBandwidth parameters in configuration parameter are revised as " 50 ", then the parameter current configuration file generated afterwards by remote subscriber interface modification can be following form:
{
#NIC
netcard=VID:DID
#CMD
set netport0/pf2OEMELX_PFType=iSCSI
set netport0/pf0OEMELX_MinBandwidth=50
}
Wherein, single file " { " represents that the configuration file of network interface card starts, single file " } " represents that the configuration file of network interface card terminates, and represents One information for throwing the net card.Single " # " represents annotation, and normal project is:#NIC, #CMD.netcard=VID:DID represents network interface card mark Know information, the identification information of the network interface card include but is not limited to VID and DID any one or it is multiple.#CMD " set Netport0/pf2OEMELX_PFType=iSCSI " and " set netport0/pf0OEMELX_MinBandwidth=50 " The order that can recognize that for standard network interface card, represent network card configuration parameter information.The configuration file supports null, but wardrobe are without space.
Further, before step S102, can also include:
Step S202, the BMC receives the default parameters configuration file that the BIOS is sent, and by the acquiescence Parameter configuration files are stored in nonvolatile memory NVRAM, wherein, the default parameters configuration file is by the BIOS from each Read in the Erasable Programmable Read Only Memory EPROM EPROM of individual add-on card.
Specifically, in first time system starting process, BIOS can read the default parameters of add-on card, then pass through hair Send IPMI orders that the default parameters of add-on card is transmitted into BMC in the form of default parameters configuration file, and be stored in BMC's In NVRAM.In addition, after each BIOS have modified the configuration parameter of add-on card, newest parameter configuration files can be sent out BMC is given, the default parameters configuration file as the add-on card.
After BIOS sends the IPMI orders for carrying add-on card parameter-configuring request to BMC, if overtime BIOS is not received The response that BMC is returned, can be handled by default parameters configuration file.Wherein, BMC is needed parameter current configuration file and acquiescence Parameter configuration files are compared, if it is different, parameter current configuration file is sent to BIOS by BMC, if identical, BIOS is then It can continue to start according to default parameters configuration file.
Wherein, step S201 and step S202 can also first carry out step 202, then perform step in no particular order 201。
Yet further, in step 103, the BIOS completes the parameter of add-on card according to the parameter current configuration file Automatically update and configuration includes:
Step S203, described BIOS parsings parameter current configuration file, and analysis result is stored to chained list, the parsing As a result include needing to change the identification information of the add-on card of parameter and its corresponding configuration parameter information;
Specifically, after BIOS receives the parameter current configuration file that BMC is sent, the BIOS will be parsed line by line to deserve Preceding parameter configuration files, and analysis result is stored in CARD_INFO structures and PciExecuteCommand functions, its In, CARD_INFO structures are the chained list of the identification information of storage add-on card, and PciExecuteCommand functions are for complete Into the function of configuration parameter order, the configuration parameter information of add-on card can be called.
For example, the CARD_INFO structures are:
typedef struct{
UINT16 VID;
UINT16 DID;
}CARD_INFO;
PciExecuteCommand Function Formats are:
PciExecuteCommand(
IN PCI_COMMAND_LINE_PROTOCOL *This,
IN EFI_DEVICE_PATH_PROTOCOL *DevicePath,
IN CHAR8 *Command,
IN BOOLEAN Commit,
IN PCI_COMMAND_LINE_PROTOCOL_EXECUTE_CALLBACK CallBack
)
Wherein, This is a sensing add-on card Parameter Configuration process PCI_COMMAND_LINE_PROTOCOL entity The pointer of example.DevicePath is one and points to the pointer for needing configuration parameter add-on card.Command is one and is used to point to Storage needs the pointer of the add-on card configuration parameter of configuration parameter.Commit is that BIOS sets before OPROM is loaded, is used for The mark of log-in command, the mark are to judge the matching of card, if need to carry out parameter configuration, when this is masked as very When, order is immediately performed.CallBack be BIOS registration a callback function function, if configuration parameter order send into Work(, this function will be called to return to implementing result.
Step S204, described BIOS, will be each during the scanning of Peripheral Component Interconnect high-speed interface PCIE device is carried out The initial parameter codes of individual add-on card copy to region of memory, determine to treat in the region of memory according to the identification information More new position, using the ginseng of identification information position to be updated described in corresponding configuration parameter information substitution in the chained list Number code, obtains the current parameter codes of each add-on card;
Wherein, the initial parameter codes of add-on card can include OPROM codes or EFI driving codes.
Specifically, the OPROM codes or EFI of each add-on card are driven generation by BIOS when carrying out PCIE device scanning Code copy one section of region of memory to, according in CARD_INFO structures on the VID for the add-on card for needing configuration parameter:DID With its configuration parameter information, and determine the position to be updated in the region of memory.If point to the add-on card mark of configuration parameter When the pointer position of knowledge information is identical with the pointer position for pointing to the add-on card configuration parameter, then matching is completed, and sets Commit marks It is true.Then new parameter codes are substituted institute by BIOS by the function PciExecuteCommand of call configuration option order The parameter codes of position to be updated are stated, complete to need the parameter renewal of the add-on card of configuration parameter.
Step S205, described BIOS calls the entrance function of the parameter codes of each add-on card, to perform each add-on card Current parameter codes.
Specifically, the BIOS calls OPROM the or EFI Driver Entry functions of each add-on card, each external to perform The current parameter codes of card, BIOS give control to the OPROM or EFI performing environments driven, completed in the process of running Parameter automatically configures.When add-on card parameter configuration is completed, the PciExecuteCommand functions return to configuration result to institute BIOS is stated, and control is returned BIOS by the performing environment of OPROM or EFI drivings, and system continues to start.
Parameter current configuration file can be sent to by BIOS by BMC in the present embodiment, so as to support BIOS to external The parameter of card carries out automatic, unified renewal and configuration, improves the efficiency and accuracy of configuration add-on card parameter.In addition, with Family can change the parameter of add-on card on remote subscriber interface, due to user interface when add-on card parameter is changed to Family is less demanding, simple to operate, not error-prone, is further ensured that the correct configuration of add-on card parameter.
Embodiment 3
Fig. 3 shows the structured flowchart of add-on card parameter configuration equipment according to an embodiment of the invention, as shown in figure 3, should Add-on card parameter configuration equipment can include:Receiving unit 301, processing unit 302 and transmitting element 303.Wherein, receive single Member 301 is used for the add-on card parameter-configuring request for receiving basic input-output system BIOS transmission.Processing unit 302 is single with receiving Member 301 connects, for comparing the parameter current configuration file and default parameters configuration file of add-on card.Transmitting element 303 and place Reason unit 302 connects, described in the case of the parameter current configuration file and default parameters configuration file difference, inciting somebody to action Parameter current configuration file is sent to the BIOS, make it that the BIOS is external according to parameter current configuration file completion The parameter of card automatically updating and configuring.
Specifically, the receiving unit 301 of add-on card parameter configuration equipment, processing unit 302 and transmitting element 303 can be with It is arranged in BMC, interacting between BMC and BIOS can be realized by IPMI orders.Receiving unit 301 can pass through reception IPMI orders obtain the add-on card parameter-configuring request that BIOS is sent, and are matched somebody with somebody the parameter current of add-on card by processing unit 302 File is put compared with default parameters configuration file, if parameter current configuration file is different from default parameters configuration file, Parameter current configuration file is sent to by BIOS by transmitting element 303IPMI orders, to allow BIOS according to current ginseng Number configuration file completes automatically updating and configuring for the parameter of add-on card.
In a kind of possible implementation, receiving unit 301 can be also used for receiving the institute that remote subscriber interface is sent Parameter current configuration file is stated, wherein, the parameter current configuration file is by user in the remote subscriber interface batch modification After generate.Specifically it is referred to above-mentioned external card parameter configuration embodiment and Fig. 2 a associated description.
In a kind of possible implementation, receiving unit 301 can be also used for receiving the described silent of the BIOS transmissions Recognize parameter configuration files, processing unit 302 is additionally operable to the default parameters configuration file being stored in nonvolatile memory NVRAM, Erasable Programmable Read Only Memory EPROM EPROM of the default parameters configuration file by the BIOS from each add-on card Middle reading.Specifically it is referred to above-mentioned external card parameter configuration embodiment and Fig. 2 a associated description.
Parameter current configuration file, can be sent to by the add-on card parameter configuration equipment of the present embodiment by transmitting element BIOS, so as to support BIOS to carry out automatic, unified renewal and configuration to the parameter of add-on card, improve configuration add-on card parameter Efficiency and accuracy.
Embodiment 4
Fig. 4 shows the structured flowchart of add-on card parameter configuring system according to an embodiment of the invention, as shown in figure 4, should Add-on card parameter configuring system can include remote subscriber interface 401, BMC402 and BIOS403.
Wherein, BMC402 can use the add-on card parameter configuration of any one structure in the above embodiment of the present invention to set It is standby.Remote subscriber interface 401 is used for the batch modification according to user to add-on card parameter, generates parameter current configuration file.
Specifically, after the BMC402 of the embodiment of the present invention receives the parameter-configuring request that BIOS403 is sent, it can compare and connect The default configuration file that the current configuration parameters file and BIOS403 that the remote subscriber interface 401 received is sent are sent, if two Person is different, and the current configuration parameters file is sent into BIOS403.BIOS403 is complete according to the parameter current configuration file Parameter into add-on card automatically updating and configures.Wherein, BIOS403 can include resolution unit 404, updating block 405 with And execution unit 406.
Has speech, resolution unit 404 is connected with add-on card parameter configuration equipment 402, is matched somebody with somebody for parsing the parameter current Put file, analysis result stored to chained list, the analysis result include need change parameter add-on card identification information and Its corresponding configuration parameter information.Updating block 405, it is connected with resolution unit 404, for carrying out Peripheral Component Interconnect at a high speed During interface PCIE device scans, the initial parameter codes of each add-on card are copied into region of memory, according to described Identification information determines the position to be updated in the region of memory, the corresponding configuration in the chained list using the identification information Parameter information substitutes the parameter codes of the position to be updated, obtains the current parameter codes of each add-on card.Execution unit 406, it is connected with updating block 405, the entrance function of the parameter codes for calling each add-on card, to perform each add-on card Current parameter codes.Resolution unit 404, updating block 405 and execution unit 406 perform the tool of add-on card parameter configuration Body ground process, may refer to above-mentioned external card parameter configuration embodiment and Fig. 2 a associated description.
The system of the present embodiment add-on card parameter configuration, can ought by the transmitting element of add-on card parameter configuration equipment Preceding parameter configuration files are sent to BIOS, so as to support BIOS to carry out automatic, unified renewal and configuration to the parameter of add-on card, Improve the efficiency and accuracy of configuration add-on card parameter.In addition, user can change add-on card on remote subscriber interface Parameter, due to user interface when add-on card parameter is changed it is less demanding to user, it is simple to operate, it is not error-prone, It is further ensured that the correct configuration of add-on card parameter.
Embodiment 5
Fig. 5 shows the structured flowchart of the add-on card parameter configuration equipment according to further embodiment of this invention.The add-on card Parameter configuration equipment can be host server, personal computer PC or the portable portable meter for possessing computing capability Calculation machine or terminal etc..The specific embodiment of the invention is not limited the specific implementation of calculate node.
As shown in figure 5, add-on card parameter configuration equipment 1100 includes processor(processor)1110th, communication interface (Communications Interface)1120th, memory(memory array)1130 and bus 1140.Wherein, processor 1110th, communication interface 1120 and memory 1130 complete mutual communication by bus 1140.
Communication interface 1120 is used to communicate with network element, and wherein network element is included such as Virtual Machine Manager center, shared storage.
Processor 1110 is used for configuration processor.Processor 1110 is probably a central processor CPU, or special collection Into circuit ASIC(Application Specific Integrated Circuit), or be arranged to implement the present invention One or more integrated circuits of embodiment.
Memory 1130 is used to deposit program and/or data.Memory 1130 may include high-speed RAM memory, also may be used Nonvolatile memory can also be included(non-volatile memory), a for example, at least magnetic disk storage.Memory 1130 It can also be memory array.Memory 1130 is also possible to by piecemeal, and described piece can be combined into virtually by certain rule Volume.
In a kind of possible embodiment, said procedure can be the program code for including computer-managed instruction.It is described Program is particularly used in:
Receive the add-on card parameter-configuring request that basic input-output system BIOS is sent;
By the parameter current configuration file of add-on card compared with default parameters configuration file;And
In the case of the parameter current configuration file and default parameters configuration file difference, the parameter current is matched somebody with somebody Put file and be sent to the BIOS, to cause the BIOS according to the parameter of parameter current configuration file completion add-on card Automatically update and configure.
Parameter current configuration file, can be sent to by the add-on card parameter configuration equipment of the above embodiment of the present invention BIOS, so as to support BIOS to carry out automatic, unified renewal and configuration to the parameter of add-on card, improve configuration add-on card parameter Efficiency and accuracy.
Those of ordinary skill in the art are it is to be appreciated that each exemplary cell and algorithm in embodiment described herein Step, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions actually with hardware also It is software form to realize, application-specific and design constraint depending on technical scheme.Professional and technical personnel can be directed to It is specific to realize described function using different methods is selected, but this realization is it is not considered that beyond model of the invention Enclose.
If in the form of computer software come realize the function and as independent production marketing or in use, if To a certain extent it is believed that all or part of technical scheme(Such as the part to be contributed to prior art)It is Embody in form of a computer software product.The computer software product is generally stored inside computer-readable storage medium In, including some instructions are causing computer equipment(Can be personal computer, server or network equipment etc.)Perform The all or part of step of various embodiments of the present invention method.And foregoing storage medium includes USB flash disk, mobile hard disk, read-only storage Device(ROM, Read-Only Memory), random access memory(RAM, Random Access Memory), magnetic disc or light Disk etc. is various can be with the medium of store program codes.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.

Claims (9)

  1. A kind of 1. external card parameter configuration, it is characterised in that including:
    Baseboard management controller BMC receives the add-on card parameter-configuring request that basic input-output system BIOS is sent;
    By the parameter current configuration file of add-on card compared with default parameters configuration file;And
    In the case of the parameter current configuration file and default parameters configuration file difference, the parameter current is configured into text Part is sent to the BIOS, to cause the BIOS according to the automatic of the parameter of parameter current configuration file completion add-on card Renewal and configuration;
    The BIOS completes automatically updating and configuring for the parameter of add-on card according to the parameter current configuration file, including:
    The BIOS parses the parameter current configuration file, and analysis result is stored to chained list, and the analysis result includes needing Change the identification information of the add-on card of parameter and its corresponding configuration parameter information;
    The BIOS is during the scanning of Peripheral Component Interconnect high-speed interface PCIE device is carried out, by the initial of each add-on card Parameter codes copy to region of memory, the position to be updated in the region of memory is determined according to the identification information, use The parameter codes of identification information position to be updated described in corresponding configuration parameter information substitution in the chained list, obtain each The current parameter codes of individual add-on card;And
    The BIOS calls the entrance function of the parameter codes of each add-on card, to perform the current parameter generation of each add-on card Code.
  2. 2. external card parameter configuration according to claim 1, it is characterised in that the parameter current by add-on card Before configuration file is compared with default parameters configuration file, including:
    The BMC receives the parameter current configuration file that remote subscriber interface is sent, the parameter current configuration file by User generates after the remote subscriber interface batch modification.
  3. 3. external card parameter configuration according to claim 1 or 2, it is characterised in that described by the current of add-on card Before parameter configuration files are compared with default parameters configuration file, in addition to:
    The BMC receives the default parameters configuration file that the BIOS is sent, and the default parameters configuration file is protected Nonvolatile memory NVRAM be present, the default parameters configuration file can from the erasable of each add-on card by the BIOS Read in program read-only memory EPROM.
  4. 4. external card parameter configuration according to claim 1, it is characterised in that the parameter generation of each add-on card Code drives code for selective read-only storage OPROM codes or Extensible Firmware Interface EFI.
  5. A kind of 5. add-on card parameter configuration equipment, it is characterised in that including:
    Receiving unit, for receiving the add-on card parameter-configuring request of basic input-output system BIOS transmission;
    Processing unit, it is connected with the receiving unit, the parameter current configuration file for comparing add-on card is matched somebody with somebody with default parameters Put file;And
    Transmitting element, it is connected with the processing unit, in the parameter current configuration file and default parameters configuration file In the case of difference, the parameter current configuration file is sent to the BIOS, to cause the BIOS according to described current Parameter configuration files complete automatically updating and configuring for the parameter of add-on card;
    Wherein, the BIOS includes:
    Resolution unit, be connected with the transmitting element, for parsing the parameter current configuration file, by analysis result store to Chained list, the analysis result include needing to change the identification information of the add-on card of parameter and its corresponding configuration parameter information;
    Updating block, it is connected with the resolution unit, for carrying out the scanning of Peripheral Component Interconnect high-speed interface PCIE device During, the initial parameter codes of each add-on card are copied into region of memory, determined according to the identification information in described The position to be updated in region is deposited, is treated using the identification information in the chained list described in corresponding configuration parameter information substitution The parameter codes of more new position, obtain the current parameter codes of each add-on card;And
    Execution unit, it is connected with the updating block, the entrance function of the parameter codes for calling each add-on card, to perform The current parameter codes of each add-on card.
  6. 6. add-on card parameter configuration equipment according to claim 5, it is characterised in that the receiving unit is additionally operable to receive The parameter current configuration file that remote subscriber interface is sent, the parameter current configuration file is by user in the long-range use Generated after the batch modification of family interface.
  7. 7. add-on card parameter configuration equipment according to claim 5, it is characterised in that the receiving unit is additionally operable to receive The default parameters configuration file that the BIOS is sent, the processing unit are additionally operable to protect the default parameters configuration file Nonvolatile memory NVRAM be present, the default parameters configuration file can from the erasable of each add-on card by the BIOS Read in program read-only memory EPROM.
  8. A kind of 8. add-on card parameter configuring system, it is characterised in that including:
    BMC, using the add-on card parameter configuration equipment any one of claim 5-7;
    BIOS, automatically updating and configuring for the parameter according to parameter current configuration file completion add-on card;And
    Remote subscriber interface, for the batch modification according to user to add-on card parameter, generate parameter current configuration file.
  9. 9. add-on card parameter configuring system according to claim 8, it is characterised in that the parameter generation of each add-on card Code drives code for selective read-only storage OPROM codes or Extensible Firmware Interface EFI.
CN201310316442.2A 2013-07-25 2013-07-25 External card parameter configuration, equipment and system Active CN103412769B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310316442.2A CN103412769B (en) 2013-07-25 2013-07-25 External card parameter configuration, equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310316442.2A CN103412769B (en) 2013-07-25 2013-07-25 External card parameter configuration, equipment and system

Publications (2)

Publication Number Publication Date
CN103412769A CN103412769A (en) 2013-11-27
CN103412769B true CN103412769B (en) 2017-11-21

Family

ID=49605782

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310316442.2A Active CN103412769B (en) 2013-07-25 2013-07-25 External card parameter configuration, equipment and system

Country Status (1)

Country Link
CN (1) CN103412769B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210342281A1 (en) 2016-09-14 2021-11-04 Samsung Electronics Co., Ltd. Self-configuring baseboard management controller (bmc)
US11860808B2 (en) 2016-07-26 2024-01-02 Samsung Electronics Co., Ltd. System and method for supporting multi-path and/or multi-mode NVMe over fabrics devices

Families Citing this family (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103645915A (en) * 2013-11-29 2014-03-19 杭州华为数字技术有限公司 Setting method and device of RAS configuration
CN103970542B (en) * 2014-05-21 2017-07-21 华为技术有限公司 A kind of method and apparatus for configuring onboard firmware
CN104598283A (en) * 2015-02-06 2015-05-06 浪潮电子信息产业股份有限公司 Method for realizing single-architecture multi-structure BMC firmware program
CN106155725A (en) * 2015-04-16 2016-11-23 联想(上海)信息技术有限公司 Encryption chip firmware update, device and electronic equipment
US11983138B2 (en) 2015-07-26 2024-05-14 Samsung Electronics Co., Ltd. Self-configuring SSD multi-protocol support in host-less environment
CN106557340B (en) * 2015-09-29 2022-11-15 中兴通讯股份有限公司 Configuration method and device
US10346041B2 (en) * 2016-09-14 2019-07-09 Samsung Electronics Co., Ltd. Method for using BMC as proxy NVMeoF discovery controller to provide NVM subsystems to host
CN108121548A (en) * 2016-11-29 2018-06-05 英业达科技有限公司 Mainboard and its setting update method
CN107046560A (en) * 2016-12-27 2017-08-15 郑州云海信息技术有限公司 A kind of computer system configurations centralized management system and method
CN107220191B (en) * 2017-05-27 2020-10-20 苏州浪潮智能科技有限公司 Storage device port configuration method and device
CN109086173B (en) * 2017-06-13 2022-08-16 龙芯中科技术股份有限公司 Equipment test method and device of operating system and storage medium
CN107357525A (en) * 2017-06-30 2017-11-17 联想(北京)有限公司 Configure the method and electronic equipment of the disk array of electronic equipment
CN107222357B (en) * 2017-08-03 2021-02-09 苏州浪潮智能科技有限公司 Device and method for configuring network card
CN108196798B (en) * 2018-01-31 2021-03-23 新华三信息技术有限公司 RAID control card configuration method and device
CN108733403B (en) * 2018-05-21 2022-04-08 新华三信息技术有限公司 BIOS setting method and device
CN108829451A (en) * 2018-06-26 2018-11-16 郑州云海信息技术有限公司 BMC configures update method, device, baseboard management controller and storage medium
CN108958820A (en) * 2018-06-29 2018-12-07 深圳市同泰怡信息技术有限公司 A kind of method, system and medium for modifying BIOS setup
CN109388442A (en) * 2018-10-31 2019-02-26 郑州云海信息技术有限公司 A kind of method, apparatus and computer equipment of batch configuration BMC user
CN109471679A (en) * 2018-11-19 2019-03-15 郑州云海信息技术有限公司 The method that a kind of pair of PCIE exchange chip configuration file is configured
CN109358885A (en) * 2018-12-03 2019-02-19 郑州云海信息技术有限公司 A kind of update method of start-up picture, system, device and readable storage medium storing program for executing
CN109597653A (en) * 2018-12-04 2019-04-09 郑州云海信息技术有限公司 Method, BIOS and the BMC of BIOS and BMC command interaction
CN109947447A (en) * 2019-02-25 2019-06-28 南京百敖软件有限公司 A kind of server sensor monitoring online updating method
CN112130928A (en) * 2020-09-22 2020-12-25 上海茂声智能科技有限公司 Automatic searching method, device, equipment and storage medium for Linux system sound card
CN113010217B (en) * 2021-03-18 2023-04-07 山东英信计算机技术有限公司 BIOS parameter setting method and device, electronic equipment and storage medium
CN113204383B (en) * 2021-05-14 2023-04-14 山东英信计算机技术有限公司 Method, device and system for storing BMC configuration parameters and storage medium
CN113407469B (en) * 2021-06-10 2023-04-07 浙江华创视讯科技有限公司 Parameter configuration method and device, storage medium and electronic device
CN114201234A (en) * 2021-12-13 2022-03-18 曙光信息产业股份有限公司 File processing method, device, system, equipment and storage medium
CN114302427A (en) * 2021-12-23 2022-04-08 锐凌无线通讯科技(深圳)有限公司 Configuration parameter updating method and device and related equipment
CN114327733B (en) * 2021-12-31 2024-06-18 中科可控信息产业有限公司 Dynamic updating method, device, equipment and medium for starting-up interactive interface
CN115080132A (en) * 2022-06-28 2022-09-20 西安易朴通讯技术有限公司 Information processing method, information processing apparatus, server, and storage medium
TWI822536B (en) * 2022-12-28 2023-11-11 神雲科技股份有限公司 Firmware automatic configuration method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183972A (en) * 2007-11-16 2008-05-21 中兴通讯股份有限公司 Method for remote control startup of server
CN102455926A (en) * 2010-10-25 2012-05-16 英业达股份有限公司 Method for updating configuration file by virtue of BIOS (Basic Input/Output System)
CN102541606A (en) * 2011-12-31 2012-07-04 曙光信息产业股份有限公司 Method and device for remote management of BIOS (basic input/output system) configuration based on UEFI (unified extensible firmware interface
CN102792270A (en) * 2010-03-15 2012-11-21 思科技术公司 BIOS parameter virtualization via BIOS configuration profiles
CN102866927A (en) * 2012-09-03 2013-01-09 曙光信息产业(北京)有限公司 Method and device for collocating basic input/output system, and method for managing basic input/output system
CN102880519A (en) * 2012-08-24 2013-01-16 曙光信息产业(北京)有限公司 Basic input output system (BIOS) configuration batch modification method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100561923C (en) * 2006-02-28 2009-11-18 联想(北京)有限公司 A kind of system and method for BIOS refreshing and upgrading
US8078865B2 (en) * 2007-11-20 2011-12-13 Dell Products L.P. Systems and methods for configuring out-of-band bios settings
CN102799506A (en) * 2012-06-29 2012-11-28 浪潮电子信息产业股份有限公司 Method for positioning fault memory
CN102831022B (en) * 2012-07-27 2015-08-26 曙光信息产业(北京)有限公司 The method and apparatus of amendment system configuration

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183972A (en) * 2007-11-16 2008-05-21 中兴通讯股份有限公司 Method for remote control startup of server
CN102792270A (en) * 2010-03-15 2012-11-21 思科技术公司 BIOS parameter virtualization via BIOS configuration profiles
CN102455926A (en) * 2010-10-25 2012-05-16 英业达股份有限公司 Method for updating configuration file by virtue of BIOS (Basic Input/Output System)
CN102541606A (en) * 2011-12-31 2012-07-04 曙光信息产业股份有限公司 Method and device for remote management of BIOS (basic input/output system) configuration based on UEFI (unified extensible firmware interface
CN102880519A (en) * 2012-08-24 2013-01-16 曙光信息产业(北京)有限公司 Basic input output system (BIOS) configuration batch modification method
CN102866927A (en) * 2012-09-03 2013-01-09 曙光信息产业(北京)有限公司 Method and device for collocating basic input/output system, and method for managing basic input/output system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11860808B2 (en) 2016-07-26 2024-01-02 Samsung Electronics Co., Ltd. System and method for supporting multi-path and/or multi-mode NVMe over fabrics devices
US20210342281A1 (en) 2016-09-14 2021-11-04 Samsung Electronics Co., Ltd. Self-configuring baseboard management controller (bmc)

Also Published As

Publication number Publication date
CN103412769A (en) 2013-11-27

Similar Documents

Publication Publication Date Title
CN103412769B (en) External card parameter configuration, equipment and system
US10990415B2 (en) Disk management method and apparatus in ARM device and ARM device
US20080005415A1 (en) Disabling a Universal Serial Bus Port
US10831897B2 (en) Selective enforcement of secure boot database entries in an information handling system
US20170031694A1 (en) System and method for remote system configuration managment
CN114003538B (en) Identification method of intelligent network card and intelligent network card
WO2020019490A1 (en) Interface testing method, electronic device and storage medium
CN103699372A (en) Booting a computer system from central storage
CN104932926A (en) System and method for achieving dynamic matching of equipment and drives in intelligent operation system platform
US20080270780A1 (en) Design structure for disabling a universal serial bus port
US10067771B2 (en) Systems and methods for configuring bootable network target for boot in a single reboot
WO2016062146A1 (en) Serial number information update method, device and terminal
WO2015188586A1 (en) Data transmission method, electronic equipment, usb equipment and storage medium
US10146963B2 (en) Systems and methods for dynamic external input/output port screening
CN113626276B (en) Method, system, terminal and storage medium for identifying type of server HBA card
US10628151B2 (en) Systems and methods for usage driven determination of update criticality
US11340882B2 (en) Systems and methods for enforcing update policies while applying updates from bootable image file
US10437768B2 (en) Method and host node for configuring a remote node and a host node
US12118363B2 (en) Coordinated boot synchronization and startup of information handling system subsystems
CN109408124A (en) Store equipment and preparation method thereof, operating system double mode bootstrap technique and device
CN114968386A (en) Equipment information management method, device and equipment of electronic equipment
JP5489278B2 (en) Information processing apparatus and activation method thereof
CN108052337A (en) A kind of firmware upgrade method and device of eMMC production tools
CN112654964A (en) Brush machine control method, brush machine control device and terminal equipment
CN110119624A (en) A kind of security measure method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20211222

Address after: 450046 Floor 9, building 1, Zhengshang Boya Plaza, Longzihu wisdom Island, Zhengdong New Area, Zhengzhou City, Henan Province

Patentee after: xFusion Digital Technologies Co., Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right