CN107491316A - Extended method, device and the electronic equipment of baseboard management controller - Google Patents

Extended method, device and the electronic equipment of baseboard management controller Download PDF

Info

Publication number
CN107491316A
CN107491316A CN201710780197.9A CN201710780197A CN107491316A CN 107491316 A CN107491316 A CN 107491316A CN 201710780197 A CN201710780197 A CN 201710780197A CN 107491316 A CN107491316 A CN 107491316A
Authority
CN
China
Prior art keywords
management controller
objective function
baseboard management
information
function
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
Application number
CN201710780197.9A
Other languages
Chinese (zh)
Other versions
CN107491316B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201710780197.9A priority Critical patent/CN107491316B/en
Publication of CN107491316A publication Critical patent/CN107491316A/en
Application granted granted Critical
Publication of CN107491316B publication Critical patent/CN107491316B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44568Immediately runnable code

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

This application provides a kind of extended method of baseboard management controller, device and electronic equipment, customization function i.e. objective function is needed for user, the application can be pre-created the program codes file for realizing the objective function, so, detecting the control instruction for realizing objective function of baseboard management controller generation, the object invocation information of the objective function will be obtained, so as to utilize the object invocation information, transfer the program codes file created, perform the program codes file, you can realize the objective function.It can be seen that, the application is that the extension of user's customization function is realized on existing baseboard management controller, is verified without developing new baseboard management controller, and to it, the expansion efficiency of baseboard management controller is improved, so as to shorten the delivery time of corresponding electronic equipment.

Description

Extended method, device and the electronic equipment of baseboard management controller
Technical field
Present application relates generally to communication technical field, more particularly to a kind of extension side of baseboard management controller Method, device and electronic equipment.
Background technology
At present, in the larger electronic equipment of the calculating such as such as server and treating capacity and in, it will usually including two pieces or more Mainboard, so as to increase the processing of server and computing capability.Wherein, a substrate management control would generally be set on each mainboard Device (Baseboard Management Controller, BMC) processed, for monitoring the work of device in mainboard and electronic equipment Make state, assist manager to realize the management to electronic equipment.
Based on this, in face of user to the increasing customized demand of electronic equipment, to obtain the electricity with personalized function Sub- equipment is typically to build new baseboard management controller in the prior art to realize new function, and the base that corresponding adjustment is new Communication between board management controller and original baseboard management controller, ensure that New function normally performs in the electronic device.
It can be seen that in the expansion scheme of existing this baseboard management controller, for each increased New function, not only need The new baseboard management controller of plenty of time structure is divided, electronic equipment exploitation and experiment complexity is also add, reduces The expansion efficiency of baseboard management controller.
The content of the invention
In view of this, this application provides a kind of extended method of baseboard management controller, device and electronic equipment, Having realizes the extension of user's customization function on baseboard management controller, without developing new baseboard management controller, and to it Verified, improve the expansion efficiency of baseboard management controller, so as to shorten the delivery time of corresponding electronic equipment.
In order to realize foregoing invention purpose, this application provides following technical scheme:
A kind of extended method of baseboard management controller, methods described include:
The control instruction for realizing objective function of baseboard management controller generation is detected, obtains the mesh of the objective function Mark recalls information;
Using the object invocation information, the program codes file created for objective function is called;
Perform the program codes file.
Preferably, methods described also includes:
Receive the program codes file created for objective function;
According to default storage location information, the program codes file is loaded into the baseboard management controller In the internal memory of place electronic equipment;
Using the storage location information, it is determined that calling the object invocation information of the targeted degree code file.
Preferably, methods described also includes:
The functionality controls for the objective function are created in the baseboard management controller, and in the substrate management control The operation interface of device processed exports function control button corresponding with the functionality controls;
Correspondingly, the control instruction for realizing objective function for detecting baseboard management controller generation, including:
The trigger action for the function control button is detected, the control instruction of the objective function is realized in generation.
Preferably, it is described to utilize the object invocation information, call the program codes text created for objective function Part, including:
Storage location information corresponding with the object invocation information is obtained, or the parsing object invocation packet contains Storage location information;
According to storage location information, the program codes for calling the internal memory of the electronic equipment to load.
Preferably, the object invocation information can include original equipment manufacturer's OEM orders, or funcall please Ask;
The object invocation information for obtaining the objective function, including:
The OEM orders for realizing the objective function are created, or for calling the targeted degree code text of the objective function The funcall request of part.
A kind of expanding unit of baseboard management controller, described device include:
Information acquisition module, for detecting the control instruction for realizing objective function of baseboard management controller generation, obtain Obtain the object invocation information of the objective function;
Calling module, for utilizing the object invocation information, call the program codes created for objective function File;
Execution module, for performing the program codes file.
Preferably, described device also includes:
File reception module, for receiving the program codes file for being directed to objective function and creating;
File load module, for according to default storage location information, the program codes file to be loaded into In the internal memory of electronic equipment where the baseboard management controller;
Information determination module, for utilizing the storage location information, it is determined that calling the targeted degree code file Object invocation information.
Preferably, described device also includes:
Creation module, for the functionality controls in baseboard management controller establishment for the objective function, and The operation interface of the baseboard management controller exports function control button corresponding with the functionality controls;
Correspondingly, described information obtains module and included:
Generation unit, the trigger action of the functionality controls button is directed to for detecting, the target work(is realized in generation The control instruction of energy.
Preferably, the calling module includes:
First information obtaining unit, for obtaining storage location information corresponding with the object invocation information;
First resolution unit, the storage location information contained for parsing the object invocation packet;
Call unit, for according to storage location information, the target program for calling the internal memory of the electronic equipment to load Code.
A kind of electronic equipment, the electronic equipment include:
At least one communication interface;
At least one baseboard management controller;
Memory, for storing the program for the extended method for realizing baseboard management controller as described above;
Processor, for loading and performing the program of the memory storage, including:
The control instruction for realizing objective function of baseboard management controller generation is detected, obtains the mesh of the objective function Mark recalls information;
Using the object invocation information, the program codes file created for objective function is called;
Perform the program codes file.
As can be seen here, compared with prior art, this application provides a kind of extended method of baseboard management controller, device And electronic equipment, customization function i.e. objective function is needed for user, the application can be pre-created and realize the objective function Program codes file, so, the control instruction for realizing objective function of baseboard management controller generation is being detected, will obtained The object invocation information of the objective function is obtained, so as to utilize the object invocation information, transfers the program codes text created Part, perform the program codes file, you can realize the objective function.It can be seen that the application is controlled in existing substrate management The extension of user's customization function is realized on device, verifies, improves without developing new baseboard management controller, and to it The expansion efficiency of baseboard management controller, so as to shorten the delivery time of corresponding electronic equipment.
Brief description of the drawings
, below will be to embodiment or existing in order to illustrate more clearly of the embodiment of the present application or technical scheme of the prior art There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this The embodiment of application, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis The accompanying drawing of offer obtains other accompanying drawings.
Fig. 1 is a kind of flow chart of the extended method for baseboard management controller that the embodiment of the present application provides;
Fig. 2 is the flow chart of the extended method for another baseboard management controller that the embodiment of the present application provides;
Fig. 3 is the schematic diagram of the extended method for another baseboard management controller that the embodiment of the present application provides;
Fig. 4 is a kind of structure chart of the expanding unit for baseboard management controller that the embodiment of the present application provides;
Fig. 5 is the structure chart of the expanding unit for another baseboard management controller that the embodiment of the present application provides;
Fig. 6 is the structure chart of the expanding unit for another baseboard management controller that the embodiment of the present application provides;
Fig. 7 is the hardware structure diagram for a kind of electronic equipment that the embodiment of the present application provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is carried out clear, complete Site preparation describes, it is clear that described embodiment is only some embodiments of the present application, rather than whole embodiments.It is based on Embodiment in the application, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of the application protection.
In order that the above-mentioned purpose of the application, feature and advantage can be more obvious understandable, below in conjunction with the accompanying drawings and specifically Embodiment, the technical scheme in the embodiment of the present application is clearly and completely described, it is clear that implementation disclosed below Example is only some embodiments of the present application, and not all embodiments.Based on the embodiment in the application, those skilled in the art The every other embodiment that member is obtained, belong to the scope of the application protection.
Term " comprising " and " having " in the description and claims of this application and above-mentioned accompanying drawing and they Any deformation, it is intended that cover it is non-exclusive include, so as to a series of process comprising units, method, apparatus, product or set It is standby to be not necessarily limited to those modules or unit, but may include not list clearly or for these processes, method, product or The intrinsic other modules of equipment or unit
Reference picture 1, a kind of flow chart of the extended method of the baseboard management controller provided for the embodiment of the present application, the party Method can include:
Step S101, the control instruction for realizing objective function of baseboard management controller generation is detected, obtains the target The object invocation information of function;
In the embodiment of the present application, when needing baseboard management controller to realize new function, programming personnel would generally pin Corresponding program's code file is write to the function, obtains corresponding functional module, establishes original basic management controller with being somebody's turn to do Incidence relation between functional module, by calling and performing the functional module so that the baseboard management controller is realized corresponding Function.
Based on this, the present embodiment can be objective function for expanded function, create corresponding function and create control, and Display function button corresponding with function establishment control in corresponding control interface, so, when user needs electronic equipment real The now objective function, can click on the function button, and generation realizes the control instruction of the objective function, electronic equipment is learnt use Family is wished after realizing the objective function, will obtain the object invocation information of the objective function.
Optionally, the object invocation information that the application obtains can be OEM (Original Equipment Manufacturer, original equipment manufacturer) order or funcall request, the application contains to the object invocation packet Content and its output form do not limit.
In the alternative embodiment, if after electronic equipment detects the control instruction for realizing objective function, reality can be created The now OEM orders of the objective function;Or create the funcall of the program codes file for calling the objective function Request.It can be seen that the establishment that the above-mentioned control instruction of the present embodiment may be considered for creating Function Extension order instructs, the application Generating mode and output form to the control instruction do not limit.
Step S102, using the object invocation information, call the program codes file created for objective function;
Analyze as described above, the object invocation information of acquisition is to be directed to objective function, can carry the target work(as needed The relevant information of energy, the storage location information of such as objective function, identification information, the application are not limited this.
Optionally, the application is at least one expanded function, it is determined that corresponding program's code file is (such as the function Executable file) after, can create or specify can call the recalls information of the program's code file, can be an order, One request signal or other etc., the embodiment of the present application is not limited this.
In actual applications, each recalls information and the incidence relation of the program's code file of each expanded function can be established, Specifically can be by the way of mapping table, or set the 3rd identification information to represent each expanded function and respective calls information Between incidence relation, the application do not limited the representation of the incidence relation between each expanded function and respective calls information It is fixed.
Step S103, perform the program codes file.
Optionally, for the storage that prestores each expanded function program's code file, can realize respective extension function Executable file.Wherein, executable file refers to the file that load and execution can be carried out by operating system, in different operations Under system environments, the presentation mode of executable program can be different.
Certainly, said procedure code file can also be source program, and now, step S103 can include the source journey to acquisition Sequence is compiled, executable file corresponding to generation, by performing the executable file, realizes corresponding expanded function.
In summary, when the functional customized demand of user, that is, when needing to carry out Function Extension to electronic equipment, the application is simultaneously The function (being designated as objective function) that extension will not be directed to makes new baseboard management controller, but realizes the target work(in establishment After the program codes file of energy, the targeted degree code file is directly called by original baseboard management controller so that Original baseboard management controller can also realize the objective function, specifically, detecting baseboard management controller generation The control instruction of objective function is realized, obtains the object invocation information of the objective function, so as to utilize the object invocation information, is adjusted Simultaneously performance objective program's code file is taken, realizes the objective function.It can be seen that this baseboard management controller that the application provides Expansion scheme, the communication between the baseboard management controller and other basic managements control can't be impacted or changed, Also avoid the need for verifying the communication process, improve the expansion efficiency of baseboard management controller, it is corresponding so as to shorten The delivery time of electronic equipment.
Reference picture 2, the flow chart of the extended method of another baseboard management controller provided for the embodiment of the present application should Method can include:
Step S201, receive the program codes file created for objective function;
In actual applications, on realizing that the program's code file of objective function can be completed by professional programmer, then It is loaded into the electronic equipment of the present embodiment, it is seen then that the application can be customized to electronic functionalities according to user and required, determine pin Which or multiple baseboard management controllers of electronic equipment are extended, loading is objective function wound for each expanded function After the program's code file built, a pair Function Extension for each baseboard management controller determined is realized according to the method for the present embodiment.
Wherein, how the application is to determine which baseboard management controller to realize the method for a certain expanded function does not limit to It is fixed, it can be determined based on the function that baseboard management controller currently has, it is of course also possible to arbitrarily select a substrate management to control Device simultaneously carries out Function Extension to it, and the present embodiment is no longer described in detail one by one herein.
Step S202, according to default storage location information, program codes file is loaded into substrate management control In the internal memory of electronic equipment where device;
It should be noted that because the method for developing functions to each baseboard management controller is identical, the application only with Illustrated exemplified by the Function Extension of one baseboard management controller.
In the present embodiment practical application, it can be divided according to the function of baseboard management controller storage region, or other It is required that determining the position that each program code file can be deposited, that is, determine to need program code text corresponding to expanded function The storage location information of part, so, can be according to the storage location information, by the program after program's code file is received Code file is loaded into the internal memory of electronic equipment.
Optionally, program's code file can be put into the Flash pre-defined or EMMC (Embedded by the present embodiment Multi Media Card) chip region, so, when need certain baseboard management controller in the electronic equipment realize extension Function, directly it can transfer corresponding program's code file from the region.
It should be noted that each expanded function that the application will realize to electronic equipment to baseboard management controller is corresponding The storage mode of program's code file do not limit.
Step S203, using the storage location information, determine the OEM orders of invocation target program code file;
The application can be directed to each expanded function, and the mode of its corresponding program's code file is called in setting, such as logical Cross it is specific transfer instruction or request etc. recalls information, transfer corresponding program's code file etc., the present embodiment is with recalls information To be illustrated exemplified by OEM orders.
In actual applications, in order to ensure the accurate calling to program codes file, the present embodiment can be based on each The storage location information of program's code file, the information that its OEM order includes is determined, the OEM orders of determination can such as included The storage location information of transferred program's code file, but it is not limited to a kind of this implementation.
Step S204, the functionality controls for objective function are created in baseboard management controller, and in the substrate management control The operation interface of device processed exports function control button corresponding with the functionality controls;
In the practical application of the present embodiment, the function of selecting baseboard management controller extension in order to facilitate user is realized, It is generally necessary to the operation interface of the baseboard management controller exports corresponding function control button, so as to obtain user to the function control After button processed is directly operated, electronic equipment operates according to the user detected, performs corresponding operation to realize the extension Function.
Wherein, for each function control button, it will usually functionality controls corresponding to setting.Therefore, the application it is determined that After the expanded function of baseboard management controller, functionality controls corresponding with the expanded function can be set, to trigger the function After control, the expanded function is realized.
Step S205, detects the trigger action for the function control button, and generation realizes that the control of objective function refers to Order;
In the embodiment of the present application, when user needs electronic equipment to realize certain expanded function (being above-mentioned objective function), The recalls information of the program's code file of the generation calling expanded function will be needed, on the other hand, the present embodiment can use instruction to touch The mode of hair is realized, that is to say, that using the above-mentioned control for expanded function generation, generation creates the control of the recalls information System instruction.For example user is triggered or clicked on to function control button corresponding to the expanded function, its control will detect this The control instruction of the expanded function is realized in operation, generation, it may also be said to is the control instruction for the OEM orders for creating objective function.
Step S206, create the OEM orders for realizing objective function;
Analyze as described above, when needing electronic equipment to realize objective function, user directly can enter to function control button Row operation, generate and the recalls information of program codes file of the objective function is called for creating (the present embodiment is ordered with OEM Exemplified by order) control instruction so that electronic equipment according to the control instruction, creates the recalls information, such as to should target work( The OEM orders of energy.
Step S207, the target storage position information that the OEM orders include is parsed, and believed according to the target storage position Breath, the program codes file for calling the internal memory of electronic equipment to load;
Step S208, perform the program codes file.
As can be seen here, in the embodiment of the present application, can be true when needing to be extended the existing function of electronic equipment Surely the program's code file for each function of extending, and the recalls information of the program's code file is called, and in existing substrate Increase generation is used for the control for creating the control instruction of the recalls information in Management Controller, so, when the control detects use The input operation at family, corresponding control instruction is generated, so that baseboard management controller transfers reality by the recalls information of establishment The now program's code file of the function and execution, the Function Extension to existing baseboard management controller is realized, without structure New baseboard management controller realizes the function of extension, also just saves the basic management controller and other substrate pipes newly built The authentication time of controller is managed, shortens the delivery time of electronic equipment, and saved the development cost of electronic equipment.
The description of Function Extension scheme based on the above-mentioned baseboard management controller provided the application, it is actual in the application In, the customization proposed in face of nowadays user for existing electronic equipment requires, that is, requires that existing electronic equipment has The function that user needs, and to be often existing electronic equipment do not have the function, this just needs the base to existing electronic equipment Board management controller is modified, often increase the electronic equipment delivery time, and can increase baseboard management controller exploitation and The complexity of checking.
On the other hand, the application, which can not have to the new baseboard management controller of exploitation, meets that (i.e. existing electronics is set for the customization requirement Standby Function Extension), the corresponding functional module of functional development for needing to extend can be directed to, and be added to existing substrate On Management Controller, such as when needing electronic equipment to realize the function, existing baseboard management controller can be utilized to call should The Implement of Function Module function, so there is no need to the requirement of the customization for different user, all exploitation and overall checking substrate pipe Controller is managed, greatlys save the time.Wherein, the customization for user requires the functional module of exploitation, and it can realize phase Answer the program's code file of expanded function.
Specifically, the schematic flow sheet with reference to shown in Fig. 3, certain extension is created in the increase of certain existing baseboard management controller The functionality controls of function, after detecting user to the operation of button corresponding to the control, order will be created (i.e. in above-described embodiment Control instruction), create the OEM orders of the functional module and data sequence of the expanded function of exploitation, and by the expanded function Functional module and data sequence (being corresponding program's code file) are placed into the predefined position in electronic equipment flash memory, and It is loaded into the internal memory of electronic equipment, completes the establishment to the OEM orders, so, in actual applications, can be directly by this The program's code file of the OEM command calls expanded function, that is, corresponding functional module and data sequence are transferred, so as to realize The expanded function, meet the customization requirement of user, form simply, without carrying out the complicated exploitation of baseboard management controller and entirety Checking, shorten the delivery time of the electronic equipment of customization.
Reference picture 4, a kind of structure chart of the expanding unit of the baseboard management controller provided for the embodiment of the present application, the dress Putting to include:
Information acquisition module 41, for detecting the control instruction for realizing objective function of baseboard management controller generation, Obtain the object invocation information of the objective function;
With reference to the description of above method embodiment appropriate section, the control instruction, which may be considered, creates object invocation letter The instruction of breath, and the object invocation information can be specific instruction or the request of the program codes file of invocation target function Etc. information.
Calling module 42, for utilizing the object invocation information, call the program codes created for objective function File;
In the embodiment of the present application, for different expanded functions, corresponding functional module can be set, that is, set and realize The program's code file of the expanded function, and be loaded into the internal memory of electronic equipment, so, any expanded function is directed to when obtaining After the object invocation information of (i.e. above-mentioned objective function), corresponding program's code file will be transferred from internal memory accordingly, thus New baseboard management controller need not be developed and realize the expanded function.
Execution module 43, for performing the program codes file.
For the function of electronic equipment, realized by executable file corresponding to execution, therefore, the present embodiment After the program codes file for obtaining the objective function, the program codes file, now, the target program can be performed Code file can be the executable file or source program of the objective function, and the application is not limited this.
Optionally, as shown in figure 5, on the basis of above-described embodiment, the expanding unit that the application provides can also include:
File reception module 44, for receiving the program codes file for being directed to objective function and creating;
In the present embodiment, program codes file can be obtained by other professional programmers, then be transferred to this electricity Sub- equipment, so that this electronic equipment realizes the Function Extension to original basic management controller accordingly.As can be seen here, receive Program codes file can change according to the function difference of this extension, and the application does not limit its particular content.
File load module 45, for according to default storage location information, the program codes file to be loaded into In the internal memory of electronic equipment where the baseboard management controller;
In actual applications, for the program's code file of each function, can be stored in the internal memory of electronic equipment, this Sample, when needing to realize this functionally, corresponding program's code file can be transferred and performed, the application is to each program code text The storage mode of part does not limit.
Wherein, realize any function program's code file can include the realization of corresponding program code and its calling should Data of function etc..
Information determination module 46, for utilizing storage location information, it is determined that calling the mesh of the targeted degree code file Mark recalls information.
It can be seen that the corresponding relation that the embodiment of the present application can be established between each program's code file and each recalls information, with Guarantee passes through object invocation information, can accurately obtain corresponding program's code file, and for the foundation side of each corresponding relation Representation, the application do not limit this method in other words.For example it can be believed by the storage location of each program's code file Breath, determines its one-to-one recalls information, now, the recalls information can include the storage location information, or can wrap Containing the mark that can uniquely represent the storage location information, so as to the program code text for calling the storage location information to deposit accordingly Part.
Wherein, above-mentioned object invocation information can be OEM orders or SNability request message etc..
As another embodiment of the application, as shown in fig. 6, above-mentioned expanding unit can also include:
Creation module 47, for creating the functionality controls for the objective function in the baseboard management controller, and Function control button corresponding with the functionality controls is exported in the operation interface of the baseboard management controller.
Correspondingly, information acquisition module 41 can include:
Generation unit 411, the trigger action of the functionality controls button is directed to for detecting, the target is realized in generation The control instruction of function;
Acquiring unit 412, for based on the control instruction, obtaining the recalls information for realizing objective function.
It can be seen that in the embodiment of the present application, baseboard management controller has the ability for creating recalls information, that is to say, that existing Some baseboard management controllers have the ability for creating the OEM orders for realizing expanded function or function request, can specifically pass through Control instruction is generated to express the ability, the i.e. control instruction based on generation, creates OEM orders or the function for realizing expanded function The recalls informations such as request.
As another embodiment of the application, above-mentioned calling module 42 can include:
First information obtaining unit, for obtaining storage location information corresponding with the object invocation information;
First resolution unit, the storage location information contained for parsing the object invocation packet;
Call unit, for according to storage location information, the target program for calling the internal memory of the electronic equipment to load Code.
It should be noted that calling module 42 can be as needed, selection comprising above-mentioned first information obtaining unit and/or First resolution unit, the application are not construed as limiting to this.
To sum up, in the embodiment of the present application, customization function i.e. objective function is needed for user, realization can be pre-created The program codes file of the objective function, so, objective function is realized detect baseboard management controller generation Control instruction, the object invocation information of the objective function will be obtained, so as to utilize the object invocation information, transfer the mesh created Program's code file is marked, performs the program codes file, you can realize the objective function.It can be seen that the application is existing The extension of user's customization function is realized on baseboard management controller, is entered without developing new baseboard management controller, and to it Row checking, the expansion efficiency of baseboard management controller is improved, so as to shorten the delivery time of corresponding electronic equipment.
Said apparatus embodiment mainly realizes the expansion scheme of baseboard management controller from virtual functions angle, description Virtual bench, the hardware configuration of the electronic equipment of the expansion scheme will be realized from hardware point of view description below.
Reference picture 7, the hardware structure diagram of a kind of electronic equipment provided for the embodiment of the present application, the electronic equipment can be Server, industrial computer or user terminal etc., the application are not limited the product type of the electronic equipment, in the present embodiment, The electronic equipment can include:
At least one communication interface 71, in the embodiment of the present application, it can determine that communication connects according to different communication modes The structure and type of mouth 71, the wireless communication interface as corresponding to communication, USB etc. is wired corresponding to wired communication mode Communication interface etc..
At least one baseboard management controller 72;
To analyze as described above, baseboard management controller would be normally located on each mainboard of electronic equipment, therefore, the substrate The quantity of Management Controller can determine according to the quantity for the mainboard that electronic equipment includes, but be not limited thereto.And in reality In, baseboard management controller generally has the ability of the order or the request that create New function.
Memory 73, for storing the program for the extended method for realizing aforesaid substrate Management Controller;
In the embodiment of the present application, memory 73 can include the volatile memory in computer-readable medium, with The form, such as read-only storage (ROM) or flash memory (flash RAM) such as machine access memory (RAM) and/or Nonvolatile memory Deng.
Processor 74, for loading and performing the program of the storage of memory 73, including:
The control instruction for realizing objective function of baseboard management controller generation is detected, obtains the mesh of the objective function Mark recalls information;
Using the object invocation information, the program codes file created for objective function is called;
Perform the program codes file.
Optionally, processor 74 can also carry out the program for realizing following steps:
Receive the program codes file created for objective function;
According to default storage location information, the program codes file is loaded into the baseboard management controller In the internal memory of place electronic equipment;
Using the storage location information, it is determined that calling the object invocation information of the targeted degree code file.
On the basis of above-mentioned alternative embodiment, processor 74 can also carry out the program for realizing following steps:
The functionality controls for the objective function are created in the baseboard management controller, and in the substrate management control The operation interface of device processed exports function control button corresponding with the functionality controls;
The trigger action for the function control button is detected, the control instruction of the objective function is realized in generation;
Based on the control instruction, the object invocation information of objective function is obtained;
Storage location information corresponding with the object invocation information is obtained, or the parsing object invocation packet contains Storage location information;
According to storage location information, the program codes for calling the internal memory of the electronic equipment to load.
Wherein, object invocation information can include original equipment manufacturer's OEM orders, or funcall request, therefore, In actual applications, after control instruction is generated, the OEM orders for realizing the objective function can be created, or for calling State the funcall request of the targeted degree code file of objective function.
In the embodiment of the present application, the above-mentioned processor of electronic equipment can be central processor CPU, or specific collection Into circuit ASIC (Application Specific Integrated Circuit), or it is arranged to implement the application One or more integrated circuits of embodiment.
Optionally, on the basis of above-described embodiment, electronic equipment can also include display screen, realize that each part coupling connects Communication bus connect etc., it is not limited to several parts listed above, according to the electronic equipment of different product type itself Inherent function, can also include the part for realizing the inherent function, and the embodiment of the present application will not enumerate herein.
To sum up, the electronic equipment that the embodiment of the present application provides realizes on the basis of existing baseboard management controller Function Extension, without developing new baseboard management controller for expanded function, exploitation and verification process are avoided complicated, have contracted The short delivery time of corresponding electronic equipment.
The embodiment of the present application additionally provides a kind of storage medium, and the extension of aforesaid substrate Management Controller is realized for storing The program of method.
In addition, it is necessary to explanation, in the various embodiments described above, such as first, second or the like relational terms are only Only be used for operating an operation, unit or module with another, unit or module make a distinction, and not necessarily require or secretly Show any this actual relation or order between these units, operation or module be present.Moreover, term " comprising ", " bag Containing " or any other variant thereof is intended to cover non-exclusive inclusion, so that process, method including a series of elements Or system not only includes those key elements, but also the other element including being not expressly set out, or also include to be this Process, method or the intrinsic key element of system.In the absence of more restrictions, limited by sentence "including a ..." Key element, it is not excluded that other identical element in the process including the key element, method or system also be present.
Each embodiment is described by the way of progressive in this specification, what each embodiment stressed be and other The difference of embodiment, between each embodiment identical similar portion mutually referring to.For device disclosed in embodiment For electronic equipment, due to its with embodiment disclosed in method it is corresponding, so description is fairly simple, related part is referring to side Method part illustrates.
The foregoing description of the disclosed embodiments, professional and technical personnel in the field are enable to realize or using the application. A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein General Principle can be realized in other embodiments in the case where not departing from spirit herein or scope.Therefore, the application The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one The most wide scope caused.

Claims (10)

1. a kind of extended method of baseboard management controller, it is characterised in that methods described includes:
The control instruction for realizing objective function of baseboard management controller generation is detected, the target for obtaining the objective function is adjusted Use information;
Using the object invocation information, the program codes file created for objective function is called;
Perform the program codes file.
2. according to the method for claim 1, it is characterised in that methods described also includes:
Receive the program codes file created for objective function;
According to default storage location information, the program codes file is loaded into where the baseboard management controller In the internal memory of electronic equipment;
Using the storage location information, it is determined that calling the object invocation information of the targeted degree code file.
3. according to the method for claim 2, it is characterised in that methods described also includes:
The functionality controls for the objective function are created in the baseboard management controller, and in the baseboard management controller Operation interface export corresponding with functionality controls function control button;
Correspondingly, the control instruction for realizing objective function for detecting baseboard management controller generation, including:
The trigger action for the function control button is detected, the control instruction of the objective function is realized in generation.
4. according to the method for claim 2, it is characterised in that described to utilize the object invocation information, calling is directed to mesh The program codes file that function creates is marked, including:
Corresponding with object invocation information storage location information is obtained, or parse that the object invocation packet contains deposit Store up positional information;
According to storage location information, the program codes for calling the internal memory of the electronic equipment to load.
5. according to the method for claim 1, it is characterised in that the object invocation information can include original device and manufacture Business's OEM orders, or funcall request;
The object invocation information for obtaining the objective function, including:
Create and realize the OEM orders of the objective function, or for calling the targeted degree code file of the objective function Funcall is asked.
6. a kind of expanding unit of baseboard management controller, it is characterised in that described device includes:
Information acquisition module, for detecting the control instruction for realizing objective function of baseboard management controller generation, obtain institute State the object invocation information of objective function;
Calling module, for utilizing the object invocation information, call the program codes file created for objective function;
Execution module, for performing the program codes file.
7. device according to claim 6, it is characterised in that described device also includes:
File reception module, for receiving the program codes file for being directed to objective function and creating;
File load module, for according to default storage location information, the program codes file being loaded into described In the internal memory of electronic equipment where baseboard management controller;
Information determination module, for utilizing the storage location information, it is determined that calling the target of the targeted degree code file Recalls information.
8. device according to claim 7, it is characterised in that described device also includes:
Creation module, for creating the functionality controls for the objective function in the baseboard management controller, and described The operation interface of baseboard management controller exports function control button corresponding with the functionality controls;
Correspondingly, described information obtains module and included:
Generation unit, the trigger action of the functionality controls button is directed to for detecting, the objective function is realized in generation Control instruction.
9. device according to claim 7, it is characterised in that the calling module includes:
First information obtaining unit, for obtaining storage location information corresponding with the object invocation information;
First resolution unit, the storage location information contained for parsing the object invocation packet;
Call unit, for according to storage location information, the program codes for calling the internal memory of the electronic equipment to load.
10. a kind of electronic equipment, it is characterised in that the electronic equipment includes:
At least one communication interface;
At least one baseboard management controller;
Memory, the extended method that baseboard management controller as described in claim 1-5 any one is realized for storing Program;
Processor, for loading and performing the program of the memory storage, including:
The control instruction for realizing objective function of baseboard management controller generation is detected, the target for obtaining the objective function is adjusted Use information;
Using the object invocation information, the program codes file created for objective function is called;
Perform the program codes file.
CN201710780197.9A 2017-09-01 2017-09-01 Expansion method and device of baseboard management controller and electronic equipment Active CN107491316B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710780197.9A CN107491316B (en) 2017-09-01 2017-09-01 Expansion method and device of baseboard management controller and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710780197.9A CN107491316B (en) 2017-09-01 2017-09-01 Expansion method and device of baseboard management controller and electronic equipment

Publications (2)

Publication Number Publication Date
CN107491316A true CN107491316A (en) 2017-12-19
CN107491316B CN107491316B (en) 2021-07-16

Family

ID=60651043

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710780197.9A Active CN107491316B (en) 2017-09-01 2017-09-01 Expansion method and device of baseboard management controller and electronic equipment

Country Status (1)

Country Link
CN (1) CN107491316B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109840414A (en) * 2018-12-13 2019-06-04 北京华胜天成信息技术发展有限公司 Safety protecting method, device and the electronic equipment of baseboard management controller
CN111538488A (en) * 2020-04-17 2020-08-14 荏原冷热系统(中国)有限公司 Method and device for generating single-chip microcomputer driving program
CN114090131A (en) * 2021-11-26 2022-02-25 联想(北京)有限公司 Starting method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070169088A1 (en) * 2006-01-13 2007-07-19 Dell Products, L.P. Automatic firmware corruption recovery and update
CN201515381U (en) * 2009-10-28 2010-06-23 浪潮电子信息产业股份有限公司 Novel server management monitoring system
CN102298416A (en) * 2010-06-23 2011-12-28 英业达股份有限公司 Server system
CN102789388A (en) * 2012-06-14 2012-11-21 曙光信息产业(北京)有限公司 Method and system for adding network card function to MIPS frame server based on BMC
CN106909362A (en) * 2015-12-23 2017-06-30 研祥智能科技股份有限公司 The method and apparatus that the method and apparatus of BMC firmwares generation, BMC systems start

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070169088A1 (en) * 2006-01-13 2007-07-19 Dell Products, L.P. Automatic firmware corruption recovery and update
CN201515381U (en) * 2009-10-28 2010-06-23 浪潮电子信息产业股份有限公司 Novel server management monitoring system
CN102298416A (en) * 2010-06-23 2011-12-28 英业达股份有限公司 Server system
CN102789388A (en) * 2012-06-14 2012-11-21 曙光信息产业(北京)有限公司 Method and system for adding network card function to MIPS frame server based on BMC
CN106909362A (en) * 2015-12-23 2017-06-30 研祥智能科技股份有限公司 The method and apparatus that the method and apparatus of BMC firmwares generation, BMC systems start

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109840414A (en) * 2018-12-13 2019-06-04 北京华胜天成信息技术发展有限公司 Safety protecting method, device and the electronic equipment of baseboard management controller
CN111538488A (en) * 2020-04-17 2020-08-14 荏原冷热系统(中国)有限公司 Method and device for generating single-chip microcomputer driving program
CN114090131A (en) * 2021-11-26 2022-02-25 联想(北京)有限公司 Starting method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN107491316B (en) 2021-07-16

Similar Documents

Publication Publication Date Title
CN108462760B (en) Electronic device, automatic cluster access domain name generation method and storage medium
CN107608693B (en) Version upgrading method and terminal equipment
CN108345512A (en) Data verification method, server and storage medium
CN107870976A (en) Resume identification device, method and computer-readable recording medium
CN101393524A (en) Firmware update method and system using the same
CN103677872B (en) A kind of information processing method, device and electronic equipment
CN107958365B (en) Material information changing method and device, storage medium and electronic equipment
CN107491316A (en) Extended method, device and the electronic equipment of baseboard management controller
CN106873970A (en) The installation method and device of a kind of operating system
CN108121560A (en) Difference bag upgrade method, device, terminal and computer readable storage medium
CN108243254B (en) Electronic device, method for releasing application upgrading version and storage medium
CN102830988A (en) Firmware updating method and related computer system
CN112306473B (en) Program interface parameter transmission method, system and related equipment
JP2014217186A (en) Electronic equipment, verification method and verification program
CN112965721A (en) Android-based project compiling method and device, computer equipment and storage medium
CN110806891B (en) Method and device for generating software version of embedded device
CN111858383A (en) Mobile APP data point burying method and system, terminal equipment and storage medium
CN104461603A (en) Information processing method and electronic equipment
CN107533468A (en) For cloud and the scalability bundle of suite of devices
CN105630558B (en) A kind of upgrade method and electronic equipment
CN106951288B (en) Development and application method and device of hot upgrade resource
CN108762637A (en) Control method, apparatus and system
CN108984238A (en) Gesture processing method, device and the electronic equipment of application program
CN103326892A (en) Web interface operation method and device
TWI690820B (en) System for using embedded browser module to manage certificate and method thereof

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