CN111008106B - Server monitoring management method and device, electronic equipment and storage medium - Google Patents
Server monitoring management method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN111008106B CN111008106B CN201911207156.6A CN201911207156A CN111008106B CN 111008106 B CN111008106 B CN 111008106B CN 201911207156 A CN201911207156 A CN 201911207156A CN 111008106 B CN111008106 B CN 111008106B
- Authority
- CN
- China
- Prior art keywords
- function
- preset
- bmc
- library
- project
- 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
Links
- 238000012544 monitoring process Methods 0.000 title claims abstract description 45
- 238000007726 management method Methods 0.000 title claims abstract description 42
- 230000006870 function Effects 0.000 claims abstract description 426
- 238000000034 method Methods 0.000 claims abstract description 23
- 238000004590 computer program Methods 0.000 claims description 13
- 238000004806 packaging method and process Methods 0.000 claims description 4
- 230000000007 visual effect Effects 0.000 claims description 4
- 238000012423 maintenance Methods 0.000 abstract description 7
- 238000005516 engineering process Methods 0.000 description 9
- 238000004891 communication Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000006872 improvement Effects 0.000 description 3
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3089—Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents
- G06F11/3093—Configuration details thereof, e.g. installation, enabling, spatial arrangement of the probes
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The application discloses a server monitoring management method, a device, equipment and a medium, wherein a BMC (baseboard management controller) image file is loaded after a BMC is powered on and started; the BMC mirror image file comprises a public function library and a project special function library; storing the addresses of all the public function functions in the public function library into a preset function table based on the BMC mirror image file; loading a corresponding project special function library according to the type of the server; searching whether a special function which is the same as a preset function in a preset function table exists in the project special function library or not; if so, updating the calling address corresponding to the current preset function to the calling address of the current special function to obtain an updated function table, realizing initialization of the BMC, and monitoring and managing the server by using the initialized BMC. According to the method and the system, a user does not need to develop the BMC independently for different server models, a large amount of repeated work is avoided, the working efficiency is improved, and the later maintenance cost is reduced.
Description
Technical Field
The present application relates to the field of server technologies, and in particular, to a server monitoring management method and apparatus, an electronic device, and a computer-readable storage medium.
Background
As the user demands for server performance increase, the number of different server computing nodes demanded by the user increases. The number of popular servers, whether they are classified by architecture or performance, is hundreds, and as CPUs are upgraded, new types of servers developed for different CPUs are increasing. However, no matter which server is used, the BMC is arranged inside the server to monitor and control the whole system, and a user can manage the server better.
The BMC as an internal monitoring system is usually developed or maintained according to the type of its server, and how to efficiently develop a correspondingly adapted BMC firmware according to different models of the server is a problem to be solved by those skilled in the art.
Disclosure of Invention
The application aims to provide a server monitoring management method and device, an electronic device and a computer readable storage medium, so that a large amount of repeated work is avoided, the work efficiency is improved, and the later maintenance cost is reduced.
In order to achieve the above object, the present application provides a server monitoring management method, including:
loading a BMC mirror image file after the BMC is powered on and started; the BMC mirror image file comprises a public function library and a project special function library;
initializing a preset function table based on the BMC mirror image file, and saving call addresses of all public function functions in the public function library into the preset function table;
determining a currently running server machine type, and loading a corresponding project special function library according to the server machine type;
searching whether a special function which is the same as a preset function in the preset function table exists in the project special function library or not;
if so, updating the call address corresponding to the current preset function to the call address of the current special function to obtain an updated function table, and implementing initialization of the BMC so as to monitor and manage the server by using the initialized BMC.
Optionally, the searching whether a dedicated function that is the same as a preset function in the preset function table exists in the project-specific function library includes:
searching whether a corresponding special function exists in the project special function library according to the identification information of the preset function; the identification information includes a function name and/or a function ID number.
Optionally, the searching whether a dedicated function that is the same as a preset function in the preset function table exists in the project-specific function library includes:
reading a special function table provided by the project special function library through a preset interface;
and matching the special function table with the preset function table, and determining whether a special function which is the same as the preset function in the preset function table exists in the project special function library according to a matching result.
Optionally, after searching whether a dedicated function that is the same as a preset function in the preset function table exists in the project-specific function library, the method further includes:
if different special function functions which cannot be matched with the preset function exist in the project special function library, the different special function functions which are not successfully matched and the corresponding calling addresses are additionally recorded into the preset function table.
Optionally, the method further includes:
and packaging a universal unified interface for the updated function table so that an application program can call the function in the updated function table based on the unified interface.
Optionally, after the updating the call address corresponding to the current preset function to the call address of the current dedicated function to obtain the updated function table, the method further includes:
displaying the updated function table by using a visual interface; the updated function table comprises function names/function ID numbers, calling addresses and address loading sources; the address load source comprises the public function library or the project-specific function library.
In order to achieve the above object, the present application provides a server monitoring management apparatus, including:
the file acquisition module is used for loading a BMC (baseboard management controller) image file after the BMC is powered on and started; the BMC mirror image file comprises a public function library and a project special function library;
the address storage module is used for initializing a preset function table based on the BMC mirror image file and storing call addresses of all public function functions in the public function library into the preset function table;
the project loading module is used for determining the current running server model and loading the corresponding project special function library according to the server model;
the function searching module is used for searching whether a special function which is the same as the preset function in the preset function table exists in the project special function library or not;
and the address updating module is used for updating the calling address corresponding to the current preset function into the calling address of the current special function if the special function which is the same as the preset function exists in the project special function library, so as to obtain an updated function table, realize the initialization of the BMC, and monitor and manage the server by using the initialized BMC.
Optionally, the function searching module is specifically configured to search whether a corresponding dedicated function exists in the project dedicated function library according to the identification information of the preset function; the identification information includes a function name and/or a function ID number.
Optionally, the method further includes:
and the supplementary entry module is used for complementarily entering different special function functions which are not successfully matched and corresponding calling addresses into the preset function table if different special function functions which cannot be matched with the preset function exist in the project special function library.
To achieve the above object, the present application provides an electronic device including:
a memory for storing a computer program;
a processor for implementing the steps of any of the server monitoring management methods disclosed in the foregoing when executing the computer program.
To achieve the above object, the present application provides a computer-readable storage medium, on which a computer program is stored, the computer program, when being executed by a processor, implementing the steps of any one of the server monitoring management methods disclosed in the foregoing.
According to the scheme, the server monitoring and management method provided by the application comprises the following steps: loading a BMC mirror image file after the BMC is powered on and started; the BMC mirror image file comprises a public function library and a project special function library; initializing a preset function table based on the BMC mirror image file, and saving call addresses of all public function functions in the public function library into the preset function table; determining a currently running server machine type, and loading a corresponding project special function library according to the server machine type; searching whether a special function which is the same as a preset function in the preset function table exists in the project special function library or not; if so, updating the call address corresponding to the current preset function to the call address of the current special function to obtain an updated function table, and implementing initialization of the BMC so as to monitor and manage the server by using the initialized BMC. According to the method, the public function library of the BMC and the project-specific function libraries corresponding to different server models are packaged into the BMC mirror image file, after the BMC is powered on and started, the public function and the project-specific function libraries corresponding to current server models can be loaded according to the BMC mirror image file to load different model codes, so that server monitoring management is achieved based on the initialized BMC after loading, a user does not need to develop the BMC for different server models independently, a large amount of repeated work is avoided, the working efficiency is improved, and the later maintenance cost is reduced.
The application also discloses a server monitoring management device, an electronic device and a computer readable storage medium, and the technical effects can be realized.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a server monitoring management method disclosed in an embodiment of the present application;
fig. 2 is a schematic diagram of a specific server monitoring management method disclosed in an embodiment of the present application;
fig. 3 is a structural diagram of a server monitoring management apparatus according to an embodiment of the present application;
fig. 4 is a block diagram of an electronic device disclosed in an embodiment of the present application;
fig. 5 is a block diagram of another electronic device disclosed in the embodiments of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
The embodiment of the application discloses a server monitoring management method, which avoids a large amount of repeated work, improves the working efficiency and reduces the later maintenance cost.
Referring to fig. 1, a server monitoring management method disclosed in the embodiment of the present application includes:
s101: loading a BMC mirror image file after the BMC is powered on and started; the BMC mirror image file comprises a public function library and a project special function library;
in the embodiment of the application, after the BMC is powered on and started, the mirror image file of the BMC is loaded. The BMC image file comprises a public function library and a project special function library. The public function library can store function functions corresponding to the unified basic functions of the BMC, and particularly can store function call addresses of the function functions. The project-specific function library may store function functions of specific functions corresponding to different models, that is, may include some special function functions or user-customized function functions.
S102: initializing a preset function table based on the BMC mirror image file, and storing call addresses of all public function functions in the public function library into the preset function table;
after the BMC image file is obtained, initializing a preset function table based on the image file. It is understood that the preset function table is a table for recording function functions required by the BMC and corresponding call addresses. When initializing the preset function table based on the BMC image file, firstly, obtaining call addresses of all public function functions in a public function library of the BMC image file, and correspondingly recording the call addresses into the preset function table.
S103: determining a currently running server machine type, and loading a corresponding project special function library according to the server machine type;
specifically, in this step, a server model corresponding to the currently running server may be identified according to model information such as a state parameter of the server, and a project-specific function library corresponding to the current server model may be determined from the BMC image file.
S104: searching whether a special function which is the same as a preset function in the preset function table exists in the project special function library or not; if yes, go to step S105;
as a possible implementation manner, the process of searching whether the dedicated function identical to the preset function in the preset function table exists in the item-specific function library may specifically include: searching whether a corresponding special function exists in the project special function library according to the identification information of the preset function; the identification information comprises a function name and/or a function ID number, the dynamic library function in the Linux system can be called in the step, and whether the corresponding special function exists in the project special function library or not is searched according to the identification information of the preset function. The identification information may include, but is not limited to, a function name, a function ID number.
As another possible implementation manner, the process of searching whether the dedicated function identical to the preset function in the preset function table exists in the item-specific function library may specifically include: reading a special function table provided by the project special function library through a preset interface; and matching the special function table with the preset function table, and determining whether a special function which is the same as the preset function in the preset function table exists in the project special function library according to a matching result. That is, in this embodiment, the dedicated function table provided by the dedicated function library through the preset interface may be read, and then, whether the dedicated function that is the same as the preset function exists in the project dedicated function library is found through matching of the dedicated function table and the preset function table.
S105: and updating the calling address corresponding to the current preset function into the calling address of the current special function to obtain an updated function table, and realizing initialization of the BMC so as to monitor and manage the server by using the initialized BMC.
If the preset function which is the same as the identification information of the special function is found in the preset function table, the calling address corresponding to the preset function is updated to the calling address of the current special function, namely the calling address of the current special function is used for replacing the original calling address of the preset function, so that the updating of the function table is realized, the initialization of the BMC is completed, and then the user can realize the monitoring and management of the server based on the initialized BMC.
In addition, after checking whether the preset function table has the preset function which is the same as the identification information, if the special function which cannot be successfully matched with any preset function exists in the special function, the function corresponding to the special function is represented and not recorded in the preset function table, and is specific to the project, and at the moment, the special function and the corresponding calling address can be additionally recorded into the preset function table, so that the further improvement of the function table is realized.
As a preferred implementation manner, after obtaining the updated function table, the embodiment of the application may further encapsulate a general unified interface for the updated function table, so that the application calls the function in the updated function table based on the unified interface, and unification of the code is achieved.
It can be understood that, in a specific implementation manner, after the updated function table is obtained, the updated function table may also be displayed by using a visual interface in the embodiment of the present application; the content displayed by the updated function table may include, but is not limited to, identification information of the function, such as a function name and/or a function ID number, a call address of the function, and an address loading source of the call address; specifically, the address loading source includes a public function library or a project-specific function library, and the user can determine the source of each function based on the updated function table, thereby realizing the queryability and traceability of the function.
According to the scheme, the server monitoring and management method provided by the application comprises the following steps: when the BMC is powered on and started, acquiring a BMC image file; the BMC mirror image file comprises a public function library and a project special function library; initializing a preset function table based on the BMC mirror image file, and saving call addresses of all public function functions in the public function library into the preset function table; determining a currently running server type, and loading a corresponding project special function library according to the server type; searching whether a special function which is the same as a preset function in the preset function table exists in the project special function library or not; if so, updating the call address corresponding to the current preset function to the call address of the current special function to obtain an updated function table, and implementing initialization of the BMC so as to monitor and manage the server by using the initialized BMC. According to the method, the public function library of the BMC and the project-specific function libraries corresponding to different server models are packaged into the BMC mirror image file, after the BMC is powered on and started, the public function and the project-specific function libraries corresponding to current server models can be loaded according to the BMC mirror image file to load different model codes, so that server monitoring management is achieved based on the initialized BMC after loading, a user does not need to develop the BMC for different server models independently, a large amount of repeated work is avoided, the working efficiency is improved, and the later maintenance cost is reduced.
The following describes a server monitoring management method provided in the embodiment of the present application through a specific implementation scenario. In the traditional related technology, although the overall architecture and internal hardware of the server are greatly different, as the BMC of the internal monitoring system, the BMC of the same platform is not greatly different, and the functions of most versatility are the same, and the BMCs corresponding to different server models are usually developed and maintained by different developers, which generates a large amount of repeated work and causes personnel waste.
In view of the above problems, referring to fig. 2, an embodiment of the present application may specifically provide a universal function interface library, a common function implementation library, and a project function library, where the project function library is a hardware project model adaptation part, and includes hardware functions of each project and some customized functions, and a relevant developer needs to perform corresponding targeted development according to a hardware model; the public function realization library comprises a common public function realization function; the universal function interface library is a function program which integrates the project function library and the public function realization library and provides a uniform function interface for the outside. And after the BMC is electrified and started, corresponding function calling addresses in all the public function realization libraries are stored in the table, and the currently running server model is further identified so as to load the project function library corresponding to the current server model. And searching whether a special function corresponding to the function in the function table exists in the project function library, and if so, modifying the address corresponding to the function in the function table into a calling address corresponding to the special function. Because the universal function interface library provides a uniform function interface to the outside, the corresponding function can be automatically called by calling the calling address of the corresponding function in the function table through the interface.
The embodiment of the application utilizes a uniform mirror image file to adapt to all server models, so that the stability, controllability and usability of the server are effectively improved; and the cost of later maintenance is obviously reduced through a modularized and generalized mode, and the performance of the whole server is improved.
In the following, a server monitoring and managing apparatus provided by an embodiment of the present application is introduced, and a server monitoring and managing apparatus described below and a server monitoring and managing method described above may be referred to each other.
Referring to fig. 3, a server monitoring management apparatus according to an embodiment of the present application includes:
the file acquisition module 201 is used for loading a BMC (baseboard management controller) image file after the BMC is powered on and started; the BMC mirror image file comprises a public function library and a project special function library;
an address saving module 202, configured to initialize a preset function table based on the BMC image file, and save call addresses of all public function functions in the public function library in the preset function table;
the project loading module 203 is used for determining a currently running server model and loading the corresponding project special function library according to the server model;
a function searching module 204, configured to search whether a special function that is the same as a preset function in the preset function table exists in the project special function library;
an address updating module 205, configured to update the call address corresponding to the current preset function to the call address of the current special function if a special function that is the same as the preset function exists in the project-specific function library, to obtain an updated function table, and implement initialization of the BMC, so as to perform server monitoring management by using the initialized BMC.
For the specific implementation process of the modules 201 to 205, reference may be made to the corresponding content disclosed in the foregoing embodiments, and details are not repeated here.
On the basis of the foregoing embodiment, as a preferred implementation manner, the function lookup module provided in the embodiment of the present application may specifically include:
the first searching unit is used for searching whether a corresponding special function exists in the project special function library according to the identification information of the preset function; the identification information includes a function name and/or a function ID number.
On the basis of the foregoing embodiment, as a preferred implementation manner, the function lookup module provided in the embodiment of the present application may specifically include:
a function table reading unit, configured to read, through a preset interface, a special function table provided by the project special function library;
and the function table matching unit is used for matching the special function table with the preset function table and determining whether a special function which is the same as the preset function in the preset function table exists in the project special function library or not according to a matching result.
On the basis of the foregoing embodiment, as a preferred implementation manner, the server monitoring management apparatus provided in the embodiment of the present application may further include:
and the supplementary entry module is used for complementarily entering different special function functions which are not successfully matched and corresponding calling addresses into the preset function table if different special function functions which cannot be matched with the preset function exist in the project special function library.
On the basis of the foregoing embodiment, as a preferred implementation manner, the server monitoring management apparatus provided in the embodiment of the present application may further include:
and the interface packaging module is used for packaging a universal unified interface for the updated function table so that the application program calls the function in the updated function table based on the unified interface.
On the basis of the foregoing embodiment, as a preferred implementation manner, the server monitoring management apparatus provided in the embodiment of the present application may further include:
the function display module is used for displaying the updated function table by utilizing a visual interface after the updated function table is obtained; the updated function table comprises function names/function ID numbers, calling addresses and address loading sources; the address load source comprises the public function library or the project-specific function library.
The present application further provides an electronic device, and as shown in fig. 4, an electronic device provided in an embodiment of the present application includes:
a memory 100 for storing a computer program;
the processor 200, when executing the computer program, may implement the steps provided by the above embodiments.
Specifically, the memory 100 includes a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer-readable instructions, and the internal memory provides an environment for the operating system and the computer-readable instructions in the non-volatile storage medium to run. The processor 200 may be a Central Processing Unit (CPU), a controller, a microcontroller, a microprocessor or other data Processing chip in some embodiments, and provides computing and controlling capability for the electronic device, and when executing the computer program stored in the memory 100, the steps of the server monitoring and managing method disclosed in any of the foregoing embodiments may be implemented.
On the basis of the above embodiment, as a preferred implementation, referring to fig. 5, the electronic device further includes:
and an input interface 300 connected to the processor 200, for acquiring computer programs, parameters and instructions imported from the outside, and storing the computer programs, parameters and instructions into the memory 100 under the control of the processor 200. The input interface 300 may be connected to an input device for receiving parameters or instructions manually input by a user. The input device may be a touch layer covered on a display screen, or a button, a track ball or a touch pad arranged on a terminal shell, or a keyboard, a touch pad or a mouse, etc.
And a display unit 400 connected to the processor 200 for displaying data processed by the processor 200 and for displaying a visualized user interface. The display unit 400 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch panel, or the like.
And a network port 500 connected to the processor 200 for performing communication connection with each external terminal device. The communication technology adopted by the communication connection can be a wired communication technology or a wireless communication technology, such as a mobile high definition link (MHL) technology, a Universal Serial Bus (USB), a High Definition Multimedia Interface (HDMI), a wireless fidelity (WiFi), a bluetooth communication technology, a low power consumption bluetooth communication technology, an ieee802.11 s-based communication technology, and the like.
While FIG. 5 shows only an electronic device having the assembly 100 and 500, those skilled in the art will appreciate that the configuration shown in FIG. 5 does not constitute a limitation of the electronic device, and may include fewer or more components than shown, or some components may be combined, or a different arrangement of components.
The present application also provides a computer-readable storage medium, which may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk. The storage medium stores thereon a computer program which, when executed by a processor, implements the steps of the server monitoring management method disclosed in any one of the foregoing embodiments.
According to the method and the system, the public function library of the BMC and the project-specific function library corresponding to different server models are packaged into a BMC mirror image file, after the BMC is powered on and started, the public function and the project-specific function library corresponding to the current server model can be loaded according to the BMC mirror image file to load different model codes, so that server monitoring management is achieved based on the initialized BMC after loading, a user does not need to develop the BMC for different server models independently, a large amount of repeated work is avoided, the working efficiency is improved, and the later maintenance cost is reduced.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the system disclosed by the embodiment, the description is relatively simple because the system corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Claims (10)
1. A server monitoring management method is characterized by comprising the following steps:
loading a BMC mirror image file after the BMC is powered on and started; the BMC mirror image file comprises a public function library and a project special function library;
initializing a preset function table based on the BMC mirror image file, and saving call addresses of all public function functions in the public function library into the preset function table;
determining a currently running server machine type, and loading a corresponding project special function library according to the server machine type;
searching whether a special function which is the same as a preset function in the preset function table exists in the project special function library or not;
if so, updating the call address corresponding to the current preset function to the call address of the current special function to obtain an updated function table, and implementing initialization of the BMC so as to monitor and manage the server by using the initialized BMC.
2. The server monitoring management method according to claim 1, wherein the searching whether the dedicated function library for the item has the same dedicated function as the preset function in the preset function table includes:
searching whether a corresponding special function exists in the project special function library according to the identification information of the preset function; the identification information includes a function name and/or a function ID number.
3. The server monitoring management method according to claim 1, wherein the searching whether the dedicated function library for the item has the same dedicated function as the preset function in the preset function table includes:
reading a special function table provided by the project special function library through a preset interface;
and matching the special function table with the preset function table, and determining whether a special function which is the same as the preset function in the preset function table exists in the project special function library according to a matching result.
4. The server monitoring management method according to claim 1, wherein after searching whether a dedicated function that is the same as the preset function in the preset function table exists in the project-specific function library, the method further comprises:
if different special function functions which cannot be matched with the preset function exist in the project special function library, the different special function functions which are not successfully matched and the corresponding calling addresses are additionally recorded into the preset function table.
5. The server monitoring management method according to claim 1, further comprising:
and packaging a universal unified interface for the updated function table so that an application program can call the function in the updated function table based on the unified interface.
6. The server monitoring and management method according to any one of claims 1 to 5, wherein after the updating the call address corresponding to the current preset function to the call address of the current dedicated function to obtain the updated function table, the method further comprises:
displaying the updated function table by using a visual interface; the updated function table comprises function names/function ID numbers, calling addresses and address loading sources; the address load source comprises the public function library or the project-specific function library.
7. A server monitoring management apparatus, comprising:
the file acquisition module is used for loading a BMC (baseboard management controller) image file after the BMC is powered on and started; the BMC mirror image file comprises a public function library and a project special function library;
the address storage module is used for initializing a preset function table based on the BMC mirror image file and storing call addresses of all public function functions in the public function library into the preset function table;
the project loading module is used for determining the currently running server model and loading the corresponding project special function library according to the server model;
the function searching module is used for searching whether a special function which is the same as the preset function in the preset function table exists in the project special function library or not;
and the address updating module is used for updating the calling address corresponding to the current preset function into the calling address of the current special function if the special function which is the same as the preset function exists in the project special function library, so as to obtain an updated function table, realize the initialization of the BMC, and monitor and manage the server by using the initialized BMC.
8. The server monitoring and management device according to claim 7, wherein the function lookup module is specifically configured to lookup whether a corresponding dedicated function exists in the project-specific function library according to the identification information of the preset function; the identification information includes a function name and/or a function ID number.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the server monitoring management method according to any one of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the server monitoring management method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911207156.6A CN111008106B (en) | 2019-11-29 | 2019-11-29 | Server monitoring management method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911207156.6A CN111008106B (en) | 2019-11-29 | 2019-11-29 | Server monitoring management method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111008106A CN111008106A (en) | 2020-04-14 |
CN111008106B true CN111008106B (en) | 2022-08-05 |
Family
ID=70113523
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911207156.6A Active CN111008106B (en) | 2019-11-29 | 2019-11-29 | Server monitoring management method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111008106B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111949296A (en) * | 2020-08-07 | 2020-11-17 | 北京字节跳动网络技术有限公司 | Data updating method and device |
CN112596804B (en) * | 2020-11-20 | 2022-07-22 | 珠海读书郎网络教育有限公司 | Function configuration method and system |
CN114020607B (en) * | 2021-10-26 | 2024-02-13 | 苏州浪潮智能科技有限公司 | BMC debugging method and device and computer equipment |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109446087A (en) * | 2018-10-29 | 2019-03-08 | 深圳市元征科技股份有限公司 | A kind of method of information diagnosis, system and associated component |
CN110018944A (en) * | 2019-04-15 | 2019-07-16 | 苏州浪潮智能科技有限公司 | Server sensor configuration method, system and equipment and storage medium |
CN110399267B (en) * | 2019-07-24 | 2022-11-25 | 苏州浪潮智能科技有限公司 | PCIE (peripheral component interface express) equipment monitoring method, system and equipment of server and readable storage medium |
-
2019
- 2019-11-29 CN CN201911207156.6A patent/CN111008106B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN111008106A (en) | 2020-04-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111008106B (en) | Server monitoring management method and device, electronic equipment and storage medium | |
TWI581188B (en) | The way to load the driver and the embedded device | |
JP6195182B2 (en) | Application scenario identification method, power consumption management method, apparatus, and terminal device | |
CN107018022B (en) | Software upgrading processing method and device and terminal | |
CN105453037A (en) | Maintaining known dependencies for updates | |
CN111797157B (en) | Data processing method, system, electronic equipment and storage medium | |
CN110990019A (en) | Java class analysis method and device, storage medium and electronic equipment | |
CN112256348B (en) | Cloud service platform creation method and system, electronic equipment and storage medium | |
CN111949529B (en) | System debugging method, device, computer equipment and storage medium | |
CN111130891A (en) | Server management device and method, electronic equipment and storage medium | |
CN115967618A (en) | Multi-project BMC (baseboard management controller) sensor configuration management method and device | |
CN104267872A (en) | Application program APP information display method and device and mobile terminal | |
CN104699503A (en) | Method and device for replacing function execution logic in Android system | |
CN109683967A (en) | Firmware supports method, apparatus, mobile terminal and readable storage medium storing program for executing | |
CN113672263A (en) | Firmware parameter update control method and device and electronic equipment | |
CN115291946A (en) | Hongmong system transplanting method, device, electronic equipment and readable medium | |
CN113411225B (en) | QGA service management method, device, equipment and medium based on cloud host | |
CN114127685B (en) | Electronic apparatus and control method thereof | |
CN116643778B (en) | Application program optimization method and electronic equipment | |
US20120222023A1 (en) | Automatic runtime dependency lookup | |
CN117369840A (en) | Method for constructing embedded operating system based on customized software source | |
CN111782717A (en) | Data processing method and system, electronic equipment and storage medium | |
CN112069189A (en) | Method and system for updating multi-level mapping table, terminal device and storage medium | |
CN109976754B (en) | Information display method and terminal thereof | |
US20040153580A1 (en) | Component based operation system dynamic device drive method |
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 |